Commit | Line | Data |
e522431d |
1 | Revision history for Perl extension Moose |
2 | |
5af6a16d |
3 | 0.27 |
4 | * fixing some misc. bits in the docs that |
5 | got mentioned on CPAN Forum |
e7f8d0c2 |
6 | |
7 | * Moose::Meta::Role |
8 | - fixed how required methods are handled |
9 | when they encounter overriden or modified |
10 | methods from a class (thanks to confound). |
11 | - added tests for this |
5af6a16d |
12 | |
3796382a |
13 | * Moose::Util::TypeConstraint |
14 | - fixed the type notation parser so that |
15 | the | always creates a union and so is |
16 | no longer a valid type char (thanks to |
17 | konobi, mugwump and #moose for working |
18 | this one out.) |
19 | - added more tests for this |
20 | |
77a18c28 |
21 | 0.26 Thurs. Sept. 27, 2007 |
22 | == New Features == |
23 | |
24 | * Parameterized Types |
25 | We now support parameterized collection types, such as: |
26 | ArrayRef[Int] # array or integers |
27 | HashRef[Object] # a hash with object values |
28 | They can also be nested: |
29 | ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values |
30 | And work with the type unions as well: |
31 | ArrayRef[Int | Str] # array of integers of strings |
32 | |
33 | * Better Framework Extendability |
34 | Moose.pm is now "extendable" such that it is now much |
35 | easier to extend the framework and add your own keywords |
36 | and customizations. See the "EXTENDING AND EMBEDDING MOOSE" |
37 | section of the Moose.pm docs. |
38 | |
39 | * Moose Snacks! |
40 | In an effort to begin documenting some of the various |
41 | details of Moose as well as some common idioms, we have |
42 | created Moose::Cookbook::Snacks as a place to find |
43 | small (easily digestable) nuggets of Moose code. |
44 | |
45 | ==== |
fb697a87 |
46 | ~ Several doc updates/cleanup thanks to castaway ~ |
e46f5cc2 |
47 | |
48 | - converted build system to use Module::Install instead of |
49 | Module::Build (thanks to jrockway) |
fb697a87 |
50 | |
d67145ed |
51 | * Moose |
52 | - added all the meta classes to the immutable list and |
53 | set it to inline the accessors |
9bcfbab1 |
54 | - fix import to allow Sub::Exporter like { into => } |
e59a5c29 |
55 | and { into_level => } (perigrin) |
9bcfbab1 |
56 | - exposed and documented init_meta() to allow better |
e59a5c29 |
57 | embedding and extending of Moose (perigrin) |
58 | |
59 | * t/ |
60 | - complete re-organization of the test suite |
b468a3d3 |
61 | - added some new tests as well |
77a18c28 |
62 | - finally re-enabled the Moose::POOP test since |
63 | the new version of DBM::Deep now works again |
64 | (thanks rob) |
b468a3d3 |
65 | |
66 | * Moose::Meta::Class |
67 | - fixed very odd and very nasty recursion bug with |
68 | inner/augment (mst) |
69 | - added tests for this (eilara) |
d67145ed |
70 | |
3726f905 |
71 | * Moose::Meta::Attribute |
72 | Moose::Meta::Method::Constructor |
73 | Moose::Meta::Method::Accessor |
74 | - fixed issue with overload::Overloaded getting called |
f1917f58 |
75 | on non-blessed items. (RT #29269) |
3726f905 |
76 | - added tests for this |
77 | |
3ccdc84a |
78 | * Moose::Meta::Method::Accessor |
79 | - fixed issue with generated accessor code making |
80 | assumptions about hash based classes (thanks to dexter) |
81 | |
3726f905 |
82 | * Moose::Coookbook::Snacks |
83 | - these are bits of documentation, not quite as big as |
84 | Recipes but which have no clear place in the module docs. |
85 | So they are Snacks! (horray for castaway++) |
86 | |
07cde929 |
87 | * Moose::Cookbook::Recipe4 |
88 | - updated it to use the new ArrayRef[MyType] construct |
89 | - updated the accompanying test as well |
90 | |
3726f905 |
91 | +++ Major Refactor of the Type Constraint system +++ |
92 | +++ with new features added as well +++ |
93 | |
22aed3c0 |
94 | * Moose::Util::TypeConstraint |
95 | - no longer uses package variable to keep track of |
96 | the type constraints, now uses the an instance of |
97 | Moose::Meta::TypeConstraint::Registry to do it |
f1917f58 |
98 | - added more sophisticated type notation parsing |
99 | (thanks to mugwump) |
100 | - added tests for this |
22aed3c0 |
101 | |
d67145ed |
102 | * Moose::Meta::TypeConstraint |
103 | - some minor adjustments to make subclassing easier |
22aed3c0 |
104 | - added the package_defined_in attribute so that we |
105 | can track where the type constraints are created |
d67145ed |
106 | |
107 | * Moose::Meta::TypeConstraint::Union |
3726f905 |
108 | - this is now been refactored to be a subclass of |
109 | Moose::Meta::TypeConstraint |
110 | |
111 | * Moose::Meta::TypeCoercion::Union |
112 | - this has been added to service the newly refactored |
113 | Moose::Meta::TypeConstraint::Union and is itself |
114 | a subclass of Moose::Meta::TypeCoercion |
d67145ed |
115 | |
0fbd4b0a |
116 | * Moose::Meta::TypeConstraint::Parameterized |
d67145ed |
117 | - added this module (taken from MooseX::AttributeHelpers) |
118 | to help construct nested collection types |
119 | - added tests for this |
18ea2bcc |
120 | |
22aed3c0 |
121 | * Moose::Meta::TypeConstraint::Registry |
122 | - added this class to keep track of type constraints |
d67145ed |
123 | |
887169d7 |
124 | 0.25 Mon. Aug. 13, 2007 |
8eca434b |
125 | * Moose |
126 | - Documentation update to reference Moose::Util::TypeConstraints |
127 | under 'isa' in 'has' for how to define a new type |
128 | (thanks to shlomif). |
129 | |
ab859145 |
130 | * Moose::Meta::Attribute |
131 | - required attributes now will no longer accept undef |
132 | from the constructor, even if there is a default and lazy |
133 | - added tests for this |
7a5ebc40 |
134 | - default subroutines must return a value which passes the |
135 | type constraint |
136 | - added tests for this |
a909a4df |
137 | |
138 | * Moose::Meta::Attribute |
139 | * Moose::Meta::Method::Constructor |
140 | * Moose::Meta::Method::Accessor |
141 | - type-constraint tests now handle overloaded objects correctly |
142 | in the error message |
143 | - added tests for this (thanks to EvanCarroll) |
ab859145 |
144 | |
8eca434b |
145 | * Moose::Meta::TypeConstraint::Union |
146 | - added (has_)hand_optimized_constraint to this class so that |
147 | it behaves as the regular Moose::Meta::TypeConstraint does. |
148 | |
5868294f |
149 | * Moose::Meta::Role |
887169d7 |
150 | - large refactoring of this code |
24a8fe99 |
151 | - added several more tests |
7125b244 |
152 | - tests for subtle conflict resolition issues |
153 | added, but not currently running |
154 | (thanks to kolibre) |
155 | |
156 | * Moose::Cookbook::Recipe7 |
887169d7 |
157 | - added new recipe for augment/inner functionality |
158 | (still in progress) |
7125b244 |
159 | - added test for this |
5868294f |
160 | |
24a8fe99 |
161 | * Moose::Spec::Role |
7125b244 |
162 | - a formal definition of roles (still in progress) |
24a8fe99 |
163 | |
9a641848 |
164 | * Moose::Util |
887169d7 |
165 | - utilities for easier working with Moose classes |
7125b244 |
166 | - added tests for these |
9a641848 |
167 | |
168 | * Test::Moose |
887169d7 |
169 | - This contains Moose specific test functions |
7125b244 |
170 | - added tests for these |
9a641848 |
171 | |
6b4c1bdd |
172 | 0.24 Tues. July 3, 2007 |
173 | ~ Some doc updates/cleanup ~ |
c84f324f |
174 | |
175 | * Moose::Meta::Attribute |
176 | - added support for roles to be given as parameters |
177 | to the 'handles' option. |
178 | - added tests and docs for this |
83cc9094 |
179 | - the has '+foo' attribute form now accepts changes to |
180 | the lazy option, and the addition of a handles option |
181 | (but not changing the handles option) |
182 | - added tests and docs for this |
c84f324f |
183 | |
1db8ecc7 |
184 | * Moose::Meta::Role |
185 | - required methods are now fetched using find_method_by_name |
186 | so that required methods can come from superclasses |
187 | - adjusted tests for this |
188 | |
81941e9b |
189 | 0.23 Mon. June 18, 2007 |
73b84d2e |
190 | * Moose::Meta::Method::Constructor |
191 | - fix inlined constructor for hierarchy with multiple BUILD methods (mst) |
ac2dc464 |
192 | * Moose::Meta::Class |
193 | - Modify make_immutable to work with the new Class::MOP immutable |
194 | mechanism + POD + very basic test (groditi) |
cbe25729 |
195 | * Moose::Meta::Attribute |
196 | - Fix handles to use goto() so that caller() comes out properly on |
197 | the other side (perigrin) |
ac2dc464 |
198 | |
db53853c |
199 | 0.22 Thurs. May 31, 2007 |
3969267d |
200 | * Moose::Util::TypeConstraints |
db53853c |
201 | - fix for prototype undeclared issue when Moose::Util::TypeConstraints |
202 | loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring |
203 | prototypes for functions |
9af1d28b |
204 | - added the ClassName type constraint, this checks for strings |
205 | which will respond true to ->isa(UNIVERSAL). |
206 | - added tests and docs for this |
86629f93 |
207 | - subtyping just in name now works correctly by making the |
208 | default for where be { 1 } |
209 | - added test for this |
3969267d |
210 | |
d7611a4a |
211 | * Moose::Meta::Method::Accessor |
212 | - coerce and lazy now work together correctly, thanks to |
213 | merlyn for finding this bug |
214 | - tests added for this |
df492bba |
215 | - fix reader presedence bug in Moose::Meta::Attribute + tests |
d7611a4a |
216 | |
86629f93 |
217 | * Moose::Object |
218 | - Foo->new(undef) now gets ignored, it is assumed you meant to pass |
219 | a HASH-ref and missed. This produces better error messages then |
220 | having it die cause undef is not a HASH. |
221 | - added tests for this |
222 | |
74a0a945 |
223 | 0.21 Thursday, May 2nd, 2007 |
52c7c330 |
224 | * Moose |
225 | - added SUPER_SLOT and INNER_SLOT class hashes to support unimport |
226 | - modified unimport to remove super and inner along with the rest |
227 | - altered unimport tests to handle this |
228 | |
229 | * Moose::Role |
230 | - altered super export to populate SUPER_SLOT |
231 | |
232 | * Moose::Meta::Class |
233 | - altered augment and override modifier application to use *_SLOT |
234 | - modified tests for these to unimport one test class each to test |
235 | |
492d4d76 |
236 | * Moose::Meta::Role |
237 | - fixed issue where custom attribute metaclasses |
238 | where not handled correctly in roles |
239 | - added tests for this |
5cb193ed |
240 | |
241 | * Moose::Meta::Class |
242 | - fixed issue where extending metaclasses with |
243 | roles would blow up. Thanks to Aankhen`` for |
244 | finding this insidious error, and it's solution. |
b7c751dc |
245 | |
0305961b |
246 | ~~ lots of spelling and grammer fixes in the docs, |
247 | many many thanks to rlb3 and Aankhen for these :) |
492d4d76 |
248 | |
e518dfb4 |
249 | 0.20 Friday, April 6th, 2007 |
a60285b3 |
250 | >> I messed up the SKIP logic in one test |
251 | so this release is just to fix that. |
252 | |
93c435b3 |
253 | * Moose |
254 | - 'has' now also accepts an ARRAY ref |
255 | to create multiple attrs (see docs) |
256 | (thanks to konobi for this) |
257 | - added tests and docs |
258 | |
cd7eeaf5 |
259 | 0.19 Thurs. April 5th, 2007 |
260 | ~~ More documentation updates ~~ |
261 | |
c899258b |
262 | * Moose::Util::TypeConstraints |
c1935ade |
263 | - 'type' now supports messages as well |
ddbdc0cb |
264 | thanks to phaylon for finding this |
c899258b |
265 | - added tests for this |
c1935ade |
266 | - added &list_all_type_constraints and |
267 | &list_all_builtin_type_constraints |
943596a6 |
268 | functions to facilitate introspection. |
d022f632 |
269 | |
270 | * Moose::Meta::Attribute |
271 | - fixed regexp 'handles' declarations |
272 | to build the list of delegated methods |
273 | correctly (and not override important |
ddbdc0cb |
274 | things like &new) thanks to ashleyb |
275 | for finding this |
276 | - added tests and docs for this |
c1935ade |
277 | - added the 'documentation' attributes |
ddbdc0cb |
278 | so that you can actually document your |
279 | attributes and inspect them through the |
280 | meta-object. |
d022f632 |
281 | - added tests and docs for this |
282 | |
c1935ade |
283 | * Moose::Meta::Class |
284 | - when loading custom attribute metaclasses |
285 | it will first look in for the class in the |
286 | Moose::Meta::Attribute::Custom::$name, and |
287 | then default to just loading $name. |
288 | - added tests and docs for this |
289 | |
900466d6 |
290 | * Moose::Meta::TypeConstraint |
291 | - type constraints now stringify to their names. |
292 | - added test for this |
293 | |
d022f632 |
294 | * misc. |
ddbdc0cb |
295 | - added tests to assure we work with Module::Refresh |
296 | - added stricter test skip logic in the Moose POOP |
297 | test, ask Rob Kinyon why. |
298 | - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;) |
c899258b |
299 | |
af5199c6 |
300 | 0.18 Sat. March 10, 2007 |
301 | ~~ Many, many documentation updates ~~ |
ddbdc0cb |
302 | |
303 | * misc. |
304 | - We now use Class::MOP::load_class to |
305 | load all classes. |
306 | - added tests to show types and subtypes |
307 | working with Declare::Constraints::Simple |
308 | and Test::Deep as constraint engines. |
b77fdbed |
309 | |
587ae0d2 |
310 | 0.18_001 |
d01f1dab |
311 | !! You must have Class::MOP 0.37_001 !! |
312 | !! for this developer release to work !! |
313 | |
734d1752 |
314 | This release was primarily adding the immutable |
315 | feature to Moose. An immutable class is one which |
316 | you promise not to alter. When you set the class |
317 | as immutable it will perform various bits of |
318 | memoization and inline certain part of the code |
319 | (constructors, destructors and accessors). This |
320 | minimizes (and in some cases totally eliminates) |
321 | one of Moose's biggest performance hits. This |
322 | feature is not on by default, and is 100% optional. |
323 | It has several configurable bits as well, so you |
324 | can pick and choose to your specific needs. |
325 | |
326 | The changes involved in this were fairly wide and |
327 | highly specific, but 100% backwards compatible, so |
328 | I am not going to enumerate them here. If you are |
329 | truely interested in what was changed, please do |
330 | a diff :) |
587ae0d2 |
331 | |
332 | 0.17 Tues. Nov. 14, 2006 |
333 | * Moose::Meta::Method::Accessor |
334 | - bugfix for read-only accessors which |
335 | are have a type constraint and lazy. |
336 | Thanks to chansen for finding it. |
337 | |
338 | 0.16 Tues. Nov. 14, 2006 |
339 | ++ NOTE ++ |
340 | There are some speed improvements in this release, |
341 | but they are only the begining, so stay tuned. |
342 | |
343 | * Moose::Object |
344 | - BUILDALL and DEMOLISHALL no longer get |
345 | called unless they actually need to be. |
346 | This gave us a signifigant speed boost |
347 | for the cases when there is no BUILD or |
348 | DEMOLISH method present. |
349 | |
350 | * Moose::Util::TypeConstraints |
351 | * Moose::Meta::TypeConstraint |
352 | - added an 'optimize_as' option to the |
353 | type constraint, which allows for a |
354 | hand optimized version of the type |
355 | constraint to be used when possible. |
356 | - Any internally created type constraints |
357 | now provide an optimized version as well. |
358 | |
ecb59493 |
359 | 0.15 Sun. Nov. 5, 2006 |
946289d1 |
360 | ++ NOTE ++ |
361 | This version of Moose *must* have Class::MOP 0.36 in order |
362 | to work correctly. A number of small internal tweaks have |
363 | been made in order to be compatible with that release. |
571dd39f |
364 | |
365 | * Moose::Util::TypeConstraints |
366 | - added &unimport so that you can clean out |
367 | your class namespace of these exported |
368 | keywords |
369 | |
37ee30c9 |
370 | * Moose::Meta::Class |
371 | - fixed minor issue which occasionally |
372 | comes up during global destruction |
373 | (thanks omega) |
946289d1 |
374 | - moved Moose::Meta::Method::Overriden into |
375 | its own file. |
376 | |
377 | * Moose::Meta::Role |
378 | - moved Moose::Meta::Role::Method into |
379 | its own file. |
380 | |
43123819 |
381 | * Moose::Meta::Attribute |
382 | - changed how we do type checks so that |
7623f774 |
383 | we reduce the overall cost, but still |
384 | retain correctness. |
946289d1 |
385 | *** API CHANGE *** |
386 | - moved accessor generation methods to |
387 | Moose::Meta::Method::Accessor to |
388 | conform to the API changes from |
389 | Class::MOP 0.36 |
43123819 |
390 | |
391 | * Moose::Meta::TypeConstraint |
392 | - changed how constraints are compiled |
393 | so that we do less recursion and more |
394 | iteration. This makes the type check |
395 | faster :) |
946289d1 |
396 | - moved Moose::Meta::TypeConstraint::Union |
397 | into its own file |
398 | |
399 | * Moose::Meta::Method::Accessor |
400 | - created this from methods formerly found in |
401 | Moose::Meta::Attribute |
402 | |
403 | * Moose::Meta::Role::Method |
404 | - moved this from Moose::Meta::Role |
405 | |
406 | * Moose::Meta::Method::Overriden |
407 | - moved this from Moose::Meta::Class |
408 | |
409 | * Moose::Meta::TypeConstraint::Union |
410 | - moved this from Moose::Meta::TypeConstraint |
37ee30c9 |
411 | |
3ec7b7a3 |
412 | 0.14 Mon. Oct. 9, 2006 |
4fd69d6c |
413 | |
414 | * Moose::Meta::Attribute |
415 | - fixed lazy attributes which were not getting |
416 | checked with the type constraint (thanks ashley) |
417 | - added tests for this |
3ec7b7a3 |
418 | - removed the over-enthusiastic DWIMery of the |
419 | automatic ArrayRef and HashRef defaults, it |
420 | broke predicates in an ugly way. |
421 | - removed tests for this |
4fd69d6c |
422 | |
c0c41f76 |
423 | 0.13 Sat. Sept. 30, 2006 |
093b12c2 |
424 | ++ NOTE ++ |
425 | This version of Moose *must* have Class::MOP 0.35 in order |
426 | to work correctly. A number of small internal tweaks have |
427 | been made in order to be compatible with that release. |
428 | |
3c2bc5e2 |
429 | * Moose |
430 | - Removed the use of UNIVERSAL::require to be a better |
093b12c2 |
431 | symbol table citizen and remove a dependency |
432 | (thanks Adam Kennedy) |
3c2bc5e2 |
433 | |
2a0f3bd3 |
434 | **~~ removed experimental & undocumented feature ~~** |
435 | - commented out the 'method' and 'self' keywords, see the |
436 | comments for more info. |
437 | |
e95c7c42 |
438 | * Moose::Cookbook |
439 | - added a FAQ and WTF files to document frequently |
440 | asked questions and common problems |
b805c70c |
441 | |
3f7376b0 |
442 | * Moose::Util::TypeConstraints |
0a5bd159 |
443 | - added GlobRef and FileHandle type constraint |
3f7376b0 |
444 | - added tests for this |
445 | |
446 | * Moose::Meta::Attribute |
447 | - if your attribute 'isa' ArrayRef of HashRef, and you have |
448 | not explicitly set a default, then make the default DWIM. |
94b8bbb8 |
449 | This will also work for subtypes of ArrayRef and HashRef |
450 | as well. |
451 | - you can now auto-deref subtypes of ArrayRef or HashRef too. |
452 | - new test added for this (thanks to ashley) |
3f7376b0 |
453 | |
b805c70c |
454 | * Moose::Meta::Role |
455 | - added basic support for runtime role composition |
0a5bd159 |
456 | but this is still *highly experimental*, so feedback |
457 | is much appreciated :) |
b805c70c |
458 | - added tests for this |
e95c7c42 |
459 | |
0a5bd159 |
460 | * Moose::Meta::TypeConstraint |
461 | - the type constraint now handles the coercion process |
462 | through delegation, this is to support the coercion |
463 | of unions |
464 | |
465 | * Moose::Meta::TypeConstraint::Union |
466 | - it is now possible for coercions to be performed |
467 | on a type union |
468 | - added tests for this (thanks to konobi) |
469 | |
e95c7c42 |
470 | * Moose::Meta::TypeCoercion |
471 | - properly capturing error when type constraint |
472 | is not found |
473 | |
3c2bc5e2 |
474 | * Build.PL |
475 | - Scalar::Util 1.18 is bad on Win32, so temporarily |
476 | only require version 1.17 for Win32 and cygwin. |
093b12c2 |
477 | (thanks Adam Kennedy) |
3c2bc5e2 |
478 | |
40e89659 |
479 | 0.12 Sat. Sept. 1, 2006 |
2bdd01cd |
480 | * Moose::Cookbook |
481 | - Recipe5 (subtypes & coercion) has been written |
482 | |
483 | * Moose |
3279ab4a |
484 | - fixed "bad meta" error message to be more descriptive |
485 | - fixed &unimport to not remove the &inner and &super |
486 | keywords because we need to localize them. |
68efb014 |
487 | - fixed number of spelling/grammer issues, thanks Theory :) |
0558683c |
488 | |
489 | **~~ experimental & undocumented feature ~~** |
68efb014 |
490 | - added the method and self keywords, they are basically |
491 | just sugar, and they may not stay around. |
f742dfef |
492 | |
493 | * Moose::Object |
68efb014 |
494 | - added &dump method to easily Data::Dumper |
495 | an object |
b26e162e |
496 | |
497 | * Moose::Meta::TypeConstraint |
498 | - added the &is_a_type_of method to check both the current |
499 | and the subtype of a method (similar to &isa with classes) |
f008ac1f |
500 | |
68efb014 |
501 | * Moose::Meta::Role |
502 | - this is now a subclass of Class::MOP::Module, and no longer |
503 | creates the _role_meta ugliness of before. |
504 | - fixed tests to reflect this change |
505 | |
8c835eba |
506 | 0.11 Wed. July 12, 2006 |
31f8ec72 |
507 | * Moose |
508 | - added an &unimport method to remove all the keywords |
8c835eba |
509 | that Moose will import, simply add 'no Moose' to the |
510 | bottom of your class file. |
31f8ec72 |
511 | |
512 | * t/ |
513 | - fixed some test failures caused by a forgotten test |
514 | dependency. |
515 | |
864cd714 |
516 | 0.10 Thurs. July 6, 2006 |
01a8e221 |
517 | * Moose |
518 | - improved error message when loading modules so |
519 | it is less confusing when you load a role. |
2b14ac61 |
520 | - added &calculate_all_roles method to |
521 | Moose::Meta::Class and Moose::Meta::Role |
522 | |
523 | NOTE: |
524 | This module has been tested against Class::MOP 0.30 |
525 | but it does not yet utilize the optimizations |
526 | it makes available. Stay tuned for that ;) |
527 | |
2b14ac61 |
528 | 0.09_03 Fri. June 23, 2006 |
715ea0b7 |
529 | ++ DEVELOPER RELEASE ++ |
4276ccb4 |
530 | * Moose |
531 | - 'use strict' and 'use warnings' are no longer |
532 | needed in Moose classes, Moose itself will |
533 | turn them on for you. |
534 | - added tests for this |
1341f10c |
535 | - moved code from exported subs to private methods |
536 | in Moose::Meta::Class |
4276ccb4 |
537 | |
538 | * Moose::Role |
539 | - as with Moose, strict and warnings are |
540 | automatically turned on for you. |
541 | - added tests for this |
e39d707f |
542 | |
543 | * Moose::Meta::Role |
544 | - now handles an edge case for override errors |
545 | - added tests for this |
b7f2d25b |
546 | - added some more edge case tests |
1341f10c |
547 | |
43d599e5 |
548 | 0.09_02 Tues. May 16, 2006 |
715ea0b7 |
549 | ++ DEVELOPER RELEASE ++ |
2c0cbef7 |
550 | * Moose |
551 | - added prototypes to the exported subs |
43d599e5 |
552 | - updated docs |
2c0cbef7 |
553 | |
554 | * Moose::Role |
555 | - added prototypes to the exported subs |
43d599e5 |
556 | - updated docs |
2c0cbef7 |
557 | |
558 | * Moose::Util::TypeConstraints |
559 | - cleaned up prototypes for the subs |
43d599e5 |
560 | - updated docs |
2c0cbef7 |
561 | |
72c4f6d1 |
562 | 0.09_01 Fri. May 12, 2006 |
563 | ++ DEVELOPER RELEASE ++ |
564 | - This release works in combination with |
565 | Class::MOP 0.29_01, it is a developer |
566 | release because it uses the a new |
567 | instance sub-protocol and a fairly |
568 | complete Role implementation. It has |
569 | not yet been optimized, so it slower |
570 | the the previous CPAN version. This |
571 | release also lacks good updated docs, |
572 | the official release will have updated docs. |
573 | |
98aae381 |
574 | * Moose |
575 | - refactored the keyword exports |
db1ab48d |
576 | - 'with' now checks Role validaity and |
577 | accepts more than one Role at a time |
98aae381 |
578 | - 'extends' makes metaclass adjustments as |
579 | needed to ensure metaclass compatability |
580 | |
72c4f6d1 |
581 | * Moose::Role |
582 | - refactored the keyword exports |
583 | - 'with' now checks Role validaity and |
584 | accepts more than one Role at a time |
585 | |
98aae381 |
586 | * Moose::Util::TypeConstraints |
587 | - added the 'enum' keyword for simple |
588 | string enumerations which can be used as |
589 | type constraints |
db1ab48d |
590 | - see example of usage in t/202_example.t |
98aae381 |
591 | |
592 | * Moose::Object |
593 | - more careful checking of params to new() |
594 | |
72c4f6d1 |
595 | * Moose::Meta::Role |
596 | - much work done on the role composition |
597 | - many new tests for conflict detection |
598 | and composition edge cases |
599 | - not enough documentation, I suggest |
600 | looking at the tests |
601 | |
98aae381 |
602 | * Moose::Meta::Instance |
603 | - added new Instance metaclass to support |
604 | the new Class::MOP instance protocol |
605 | |
606 | * Moose::Meta::Class |
607 | - some small changes to support the new |
608 | instance protocol |
72c4f6d1 |
609 | - some small additions to support Roles |
98aae381 |
610 | |
611 | * Moose::Meta::Attribute |
612 | - some improvements to the accessor generation code |
613 | by nothingmuch |
614 | - some small changes to support the new |
615 | instance protocol |
616 | - (still somewhat) experimental delegation support |
617 | with the 'handles' option |
618 | - added several tests for this |
db1ab48d |
619 | - no docs for this yet |
98aae381 |
620 | |
35c8b8f2 |
621 | 0.05 Thurs. April 27, 2006 |
2d562421 |
622 | * Moose |
623 | - keywords are now exported with Sub::Exporter |
624 | thanks to chansen for this commit |
590868a3 |
625 | - has keyword now takes a 'metaclass' option |
626 | to support custom attribute meta-classes |
627 | on a per-attribute basis |
daea75c9 |
628 | - added tests for this |
629 | - the 'has' keyword not accepts inherited slot |
630 | specifications (has '+foo'). This is still an |
631 | experimental feature and probably not finished |
632 | see t/038_attribute_inherited_slot_specs.t for |
633 | more details, or ask about it on #moose |
fcb7afc2 |
634 | - added tests for this |
2d562421 |
635 | |
636 | * Moose::Role |
637 | - keywords are now exported with Sub::Exporter |
638 | |
5204cd52 |
639 | * Moose::Utils::TypeConstraints |
cce8198b |
640 | - reorganized the type constraint hierarchy, thanks |
641 | to nothingmuch and chansen for his help and advice |
642 | on this |
643 | - added some tests for this |
7eaef7ad |
644 | - keywords are now exported with Sub::Exporter |
35c8b8f2 |
645 | thanks to chansen for this commit |
5204cd52 |
646 | |
d500266f |
647 | * Moose::Meta::Class |
648 | - due to changes in Class::MOP, we had to change |
649 | construct_instance (for the better) |
650 | |
651 | * Moose::Meta::Attribute |
652 | - due to changes in Class::MOP, we had to add the |
653 | initialize_instance_slot method (it's a good thing) |
c07af9d2 |
654 | |
cce8198b |
655 | * Moose::Meta::TypeConstraint |
c07af9d2 |
656 | - added type constraint unions |
657 | - added tests for this |
cce8198b |
658 | - added the is_subtype_of predicate method |
659 | - added tests for this |
d500266f |
660 | |
02a0fb52 |
661 | 0.04 Sun. April 16th, 2006 |
1331430a |
662 | * Moose::Role |
663 | - Roles can now consume other roles |
664 | - added tests for this |
665 | - Roles can specify required methods now with |
666 | the requires() keyword |
667 | - added tests for this |
668 | |
bdabd620 |
669 | * Moose::Meta::Role |
670 | - ripped out much of it's guts ,.. much cleaner now |
1331430a |
671 | - added required methods and correct handling of |
fa1be058 |
672 | them in apply() for both classes and roles |
673 | - added tests for this |
1331430a |
674 | - no longer adds a does() method to consuming classes |
675 | it relys on the one in Moose::Object |
676 | - added roles attribute and some methods to support |
677 | roles consuming roles |
8c9d74e7 |
678 | |
679 | * Moose::Meta::Attribute |
680 | - added support for triggers on attributes |
681 | - added tests for this |
02a0fb52 |
682 | - added support for does option on an attribute |
683 | - added tests for this |
8c9d74e7 |
684 | |
685 | * Moose::Meta::Class |
686 | - added support for attribute triggers in the |
687 | object construction |
688 | - added tests for this |
256903b6 |
689 | |
690 | * Moose |
691 | - Moose no longer creates a subtype for your class |
692 | if a subtype of the same name already exists, this |
693 | should DWIM in 99.9999% of all cases |
694 | |
695 | * Moose::Util::TypeConstraints |
696 | - fixed bug where incorrect subtype conflicts were |
697 | being reported |
8c9d74e7 |
698 | - added test for this |
699 | |
700 | * Moose::Object |
701 | - this class can now be extended with 'use base' if |
702 | you need it, it properly loads the metaclass class now |
703 | - added test for this |
bdabd620 |
704 | |
0677220d |
705 | 0.03_02 Wed. April 12, 2006 |
05d9eaf6 |
706 | * Moose |
707 | - you must now explictly use Moose::Util::TypeConstraints |
708 | it no longer gets exported for you automatically |
709 | |
710 | * Moose::Object |
711 | - new() now accepts hash-refs as well as key/value lists |
0677220d |
712 | - added does() method to check for Roles |
713 | - added tests for this |
05d9eaf6 |
714 | |
0677220d |
715 | * Moose::Meta::Class |
716 | - added roles attribute along with the add_role() and |
717 | does_role() methods |
718 | - added tests for this |
719 | |
720 | * Moose::Meta::Role |
721 | - now adds a does() method to consuming classes |
722 | which tests the class's hierarchy for roles |
723 | - added tests for this |
724 | |
725 | 0.03_01 Mon. April 10, 2006 |
e9ec68d6 |
726 | * Moose::Cookbook |
76d37e5a |
727 | - added new Role recipe (no content yet, only code) |
e9ec68d6 |
728 | |
729 | * Moose |
730 | - added 'with' keyword for Role support |
731 | - added test and docs for this |
732 | - fixed subtype quoting bug |
733 | - added test for this |
734 | |
735 | * Moose::Role |
736 | - Roles for Moose |
737 | - added test and docs |
76d37e5a |
738 | |
739 | * Moose::Util::TypeConstraints |
740 | - added the message keyword to add custom |
741 | error messages to type constraints |
e9ec68d6 |
742 | |
743 | * Moose::Meta::Role |
744 | - the meta role to support Moose::Role |
745 | - added tests and docs |
746 | |
747 | * Moose::Meta::Class |
748 | - moved a number of things from Moose.pm |
749 | to here, they should have been here |
750 | in the first place |
751 | |
752 | * Moose::Meta::Attribute |
753 | - moved the attribute option macros here |
754 | instead of putting them in Moose.pm |
e185c027 |
755 | |
76d37e5a |
756 | * Moose::Meta::TypeConstraint |
757 | - added the message attributes and the |
758 | validate method |
759 | - added tests and docs for this |
760 | |
0ac928d2 |
761 | 0.03 Thurs. March 30, 2006 |
e9bb8a31 |
762 | * Moose::Cookbook |
763 | - added the Moose::Cookbook with 5 recipes, |
764 | describing all the stuff Moose can do. |
765 | |
d7f17ebb |
766 | * Moose |
767 | - fixed an issue with &extends super class loading |
768 | it now captures errors and deals with inline |
769 | packages correctly (bug found by mst, solution |
770 | stolen from alias) |
159da176 |
771 | - added super/override & inner/augment features |
772 | - added tests and docs for these |
d7f17ebb |
773 | |
774 | * Moose::Object |
775 | - BUILDALL now takes a reference of the %params |
776 | that are passed to &new, and passes that to |
777 | each BUILD as well. |
471c4f09 |
778 | |
779 | * Moose::Util::TypeConstraints |
780 | - Type constraints now survive runtime reloading |
781 | - added test for this |
d7f17ebb |
782 | |
8339fae2 |
783 | * Moose::Meta::Class |
784 | - fixed the way attribute defaults are handled |
785 | during instance construction (bug found by chansen) |
786 | |
d7f17ebb |
787 | * Moose::Meta::Attribute |
788 | - read-only attributes now actually enforce their |
9deed647 |
789 | read-only-ness (this corrected in Class::MOP as |
790 | well) |
d7f17ebb |
791 | |
076c81ed |
792 | 0.02 Tues. March 21, 2006 |
fc5609d2 |
793 | * Moose |
b841b2a3 |
794 | - many more tests, fixing some bugs and |
795 | edge cases |
b841b2a3 |
796 | - &extends now loads the base module with |
797 | UNIVERSAL::require |
798 | - added UNIVERSAL::require to the |
799 | dependencies list |
6ba6d68c |
800 | ** API CHANGES ** |
b841b2a3 |
801 | - each new Moose class will also create |
802 | and register a subtype of Object which |
803 | correspond to the new Moose class. |
b841b2a3 |
804 | - the 'isa' option in &has now only |
805 | accepts strings, and will DWIM in |
806 | almost all cases |
807 | |
808 | * Moose::Util::TypeConstraints |
809 | - added type coercion features |
810 | - added tests for this |
811 | - added support for this in attributes |
812 | and instance construction |
6ba6d68c |
813 | ** API CHANGES ** |
b841b2a3 |
814 | - type construction no longer creates a |
815 | function, it registers the type instead. |
816 | - added several functions to get the |
817 | registered types |
6ba6d68c |
818 | |
819 | * Moose::Object |
820 | - BUILDALL and DEMOLISHALL were broken |
821 | because of a mis-named hash key, Whoops :) |
b841b2a3 |
822 | |
823 | * Moose::Meta::Attribute |
824 | - adding support for coercion in the |
825 | autogenerated accessors |
826 | |
827 | * Moose::Meta::Class |
828 | - adding support for coercion in the |
6ba6d68c |
829 | instance construction |
830 | |
831 | * Moose::Meta::TypeConstraint |
832 | * Moose::Meta::TypeCoercion |
833 | - type constraints and coercions are now |
834 | full fledges meta-objects |
fc5609d2 |
835 | |
e522431d |
836 | 0.01 Wed. March 15, 2006 |
900466d6 |
837 | - Moooooooooooooooooose!!! |