Commit | Line | Data |
e522431d |
1 | Revision history for Perl extension Moose |
2 | |
93cc8330 |
3 | 0.54 |
4 | |
6d20aa6d |
5 | 0.53 Thurs. July 3, 2008 |
6 | * Whoops, I guess I should run 'make manifest' before |
7 | actually releasing the module. No actual changes |
8 | in this release, except the fact that it includes |
9 | the changes that I didn't include in the last |
10 | release. (stevan--) |
03e7dbec |
11 | |
68b6146c |
12 | 0.52 Thurs. July 3, 2008 |
47b19570 |
13 | * Moose |
14 | - added "FEATURE REQUESTS" section to the Moose docs |
977a86ba |
15 | to properly direct people (stevan) (RT #34333) |
16 | - making 'extends' croak if it is passed a Role since |
17 | this is not ever something you want to do |
18 | (fixed by stevan, found by obra) |
19 | - added tests for this (stevan) |
19fabdd3 |
20 | |
68b6146c |
21 | * Moose::Object |
22 | - adding support for DOES (as in UNIVERSAL::DOES) |
23 | (nothingmuch) |
24 | - added test for this |
25 | |
26 | * Moose::Meta::Attribute |
27 | - added legal_options_for_inheritance (wreis) |
28 | - added tests for this (wreis) |
29 | |
30 | * Moose::Cookbook::Snacks::* |
31 | - removed some of the unfinished snacks that should |
32 | not have been released yet. Added some more examples |
33 | to the 'Keywords' snack. (stevan) |
34 | |
47b19570 |
35 | * Moose::Cookbook::Style |
36 | - added general Moose "style guide" of sorts to the |
37 | cookbook (nothingmuch) (RT #34335) |
19fabdd3 |
38 | |
977a86ba |
39 | * t/ |
40 | - added more BUILDARGS tests (stevan) |
41 | |
07b0f1a5 |
42 | 0.51 Thurs. Jun 26, 2008 |
d31f9614 |
43 | * Moose::Role |
0db4f1d7 |
44 | - add unimport so "no Moose::Role" actually does |
45 | something (sartak) |
46 | |
db9476b1 |
47 | * Moose::Meta::Role::Application::ToRole |
48 | - when RoleA did RoleB, and RoleA aliased a method from RoleB in |
49 | order to provide its own implementation, that method still got |
50 | added to the list of required methods for consumers of |
51 | RoleB. Now an aliased method is only added to the list of |
52 | required methods if the role doing the aliasing does not |
53 | provide its own implementation. See Recipe 11 for an example |
6164d955 |
54 | of all this. (Dave Rolsky) |
db9476b1 |
55 | - added tests for this |
0db4f1d7 |
56 | |
93e98578 |
57 | * Moose::Meta::Method::Constructor |
58 | - when a single argument that wasn't a hashref was provided to |
59 | an immutabilized constructor, the error message was very |
60 | unhelpful, as opposed to the non-immutable error. Reported by |
6164d955 |
61 | dew. (Dave Rolsky) |
62 | - added test for this (Dave Rolsky) |
d31f9614 |
63 | |
0db4f1d7 |
64 | * Moose::Meta::Attribute |
65 | - added support for meta_attr->does("ShortAlias") (sartak) |
66 | - added tests for this (sartak) |
17ee2ee0 |
67 | - moved the bulk of the `handles` handling to the new |
d3e7fe85 |
68 | install_delegation method (Stevan) |
0db4f1d7 |
69 | |
70 | * Moose::Object |
210caeb6 |
71 | - Added BUILDARGS, a new step in new() |
72 | |
0206f6d6 |
73 | * Moose::Meta::Role::Application::RoleSummation |
74 | - fix typos no one ever sees (sartak) |
0db4f1d7 |
75 | |
17ee2ee0 |
76 | * Moose::Util::TypeConstraints |
77 | * Moose::Meta::TypeConstraint |
78 | * Moose::Meta::TypeCoercion |
79 | - Attempt to work around the ??{ } vs. threads issue |
47b19570 |
80 | (not yet fixed) |
17ee2ee0 |
81 | - Some null_constraint optimizations |
82 | |
eaa35e6e |
83 | 0.50 Thurs. Jun 11, 2008 |
84 | - Fixed a version number issue by bumping all modules |
85 | to 0.50. |
86 | |
4cf89c74 |
87 | 0.49 Thurs. Jun 11, 2008 |
eaa35e6e |
88 | !! This version now approx. 20-25% !! |
89 | !! faster with new Class::MOP 0.59 !! |
90 | |
21f1e231 |
91 | * Moose::Meta::Attribute |
92 | - fixed how the is => (ro|rw) works with |
93 | custom defined reader, writer and accessor |
94 | options. |
95 | - added docs for this (TODO). |
96 | - added tests for this (Thanks to Penfold) |
97 | - added the custom attribute alias for regular |
98 | Moose attributes which is "Moose" |
09b8cb41 |
99 | - fix builder and default both being used |
100 | (groditi) |
21f1e231 |
101 | |
102 | * Moose |
103 | Moose::Meta::Class |
104 | Moose::Meta::Attribute |
105 | Moose::Meta::Role |
106 | Moose::Meta::Role::Composite |
107 | Moose::Util::TypeConstraints |
f93f7be9 |
108 | - switched usage of reftype to ref because |
109 | it is much faster |
110 | |
8371f6e1 |
111 | * Moose::Meta::Role |
112 | - changing add_package_symbol to use the new |
113 | HASH ref form |
114 | |
f93f7be9 |
115 | * Moose::Object |
116 | - fixed how DEMOLISHALL is called so that it |
117 | can be overrided in subclasses (thanks to Sartak) |
118 | - added test for this (thanks to Sartak) |
21f1e231 |
119 | |
e151db23 |
120 | * Moose::Util::TypeConstraints |
121 | - move the ClassName type check code to |
122 | Class::MOP::is_class_loaded (thanks to Sartak) |
123 | |
09b8cb41 |
124 | * Moose::Cookbook::Recipe11 |
125 | - add tests for this (thanks to tokuhirom) |
126 | |
695d1c68 |
127 | 0.48 Thurs. May 29, 2008 |
128 | (early morning release engineering)-- |
129 | |
130 | - fixing the version in Moose::Meta::Method::Destructor |
131 | which was causing the indexer to choke |
132 | |
2391ba89 |
133 | 0.47 Thurs. May 29, 2008 |
134 | (late night release engineering)-- |
135 | |
136 | - fixing the version is META.yml, no functional |
137 | changes in this release |
138 | |
bd364604 |
139 | 0.46 Wed. May 28, 2008 |
140 | !! This version now approx. 20-25% !! |
141 | !! faster with new Class::MOP 0.57 !! |
142 | |
143 | * Moose::Meta::Class |
144 | - some optimizations of the &initialize method |
145 | since it is called so often by &meta |
146 | |
0addec44 |
147 | * Moose::Meta::Class |
148 | Moose::Meta::Role |
149 | - now use the get_all_package_symbols from the |
150 | updated Class::MOP, test suite is now 10 seconds |
151 | faster |
d3308256 |
152 | |
153 | * Moose::Meta::Method::Destructor |
bd364604 |
154 | - is_needed can now also be called as a class |
155 | method for immutablization to check if the |
156 | destructor object even needs to be created |
157 | at all |
158 | |
159 | * Moose::Meta::Method::Destructor |
d3308256 |
160 | Moose::Meta::Method::Constructor |
161 | - added more descriptive error message to help |
162 | keep people from wasting time tracking an error |
163 | that is easily fixed by upgrading. |
0addec44 |
164 | |
c998012c |
165 | 0.45 Saturday, May 24, 2008 |
1b2aea39 |
166 | * Moose |
167 | - Because of work in Class::MOP 0.56, all |
168 | XS based functionality is now optional |
169 | and a Pure Perl version is supplied |
170 | - the CLASS_MOP_NO_XS environment variable |
171 | can now be used to force non-XS versions |
172 | to always be used |
173 | - several of the packages have been tweaked |
174 | to take care of this, mostly we added |
175 | support for the package_name and name |
176 | variables in all the Method metaclasses |
408f2665 |
177 | - before/around/after method modifiers now |
178 | support regexp matching of names |
179 | (thanks to Takatoshi Kitano) |
180 | - tests added for this |
088f372b |
181 | - NOTE: this only works for classes, it |
182 | is currently not supported in roles, |
183 | but, ... patches welcome |
b8926b8c |
184 | - All usage of Carp::confess have been replaced |
185 | by Carp::croak in the "keyword" functions since |
186 | the stack trace is usually not helpful |
187 | |
188 | * Moose::Role |
189 | - All usage of Carp::confess have been replaced |
190 | by Carp::croak in the "keyword" functions since |
191 | the stack trace is usually not helpful |
192 | - The 'has' keyword for roles now accepts the |
193 | same array ref form that Moose.pm does |
194 | (has [qw/foo bar/] => (is => 'rw', ...)) |
195 | - added test for this |
196 | |
0b7df53c |
197 | * Moose::Meta::Attribute |
198 | - trigger on a ro-attribute is no longer an |
199 | error, as it's useful to trigger off of the |
200 | constructor |
201 | |
8453c358 |
202 | * Moose::Meta::Class |
203 | - added same 'add_package_symbol' fix as in |
204 | Class::MOP 0.56 |
205 | |
206 | * Moose::Util |
207 | - does_role now handles non-Moose classes |
208 | more gracefully |
209 | - added tests for this |
408f2665 |
210 | - added the 'add_method_modifier' function |
211 | (thanks to Takatoshi Kitano) |
8453c358 |
212 | |
a84a89ba |
213 | * Moose::Util::TypeConstraints |
214 | - subtypes of parameterizable types now are |
215 | themselves parameterizable types |
216 | |
1b55c340 |
217 | * Moose::Meta::Method::Constructor |
218 | - fixed bug where trigger was not being |
219 | called by the inlined immutable |
220 | constructors |
221 | - added test for this (thanks to Caelum) |
222 | |
223 | * Moose::Meta::Role::Application::ToInstance |
224 | - now uses the metaclass of the instance |
225 | (if possible) to create the anon-class |
226 | (thanks Jonathan Rockway) |
227 | |
b8926b8c |
228 | * Moose::Cookbook::Recipe22 |
229 | - added the meta-attribute trait recipe |
230 | (thanks to Sartak) |
231 | |
1b55c340 |
232 | * t/ |
233 | - fixed hash-ordering test bug that was |
b8926b8c |
234 | causing occasional cpantester failures |
235 | - renamed the t/000_recipe/*.t tests to be |
236 | more descriptive (thanks to Sartak) |
1b55c340 |
237 | |
3a0c064a |
238 | 0.44 Sat. May 10, 2008 |
c0b37457 |
239 | * Moose |
3a0c064a |
240 | - made make_immutable warning cluck to |
ca0e380d |
241 | show where the error is (thanks mst) |
3a0c064a |
242 | |
243 | * Moose::Object |
244 | - BUILDALL and DEMOLISHALL now call |
245 | ->body when looping through the |
246 | methods, to avoid the overloaded |
247 | method call. |
ca0e380d |
248 | - fixed issue where DEMOLISHALL was |
249 | eating the $@ values, and so not |
250 | working correctly, it still kind of |
251 | eats them, but so does vanilla perl |
252 | - added tests for this |
3a0c064a |
253 | |
ceb8945d |
254 | * Moose::Cookbook::Recipe7 |
3a0c064a |
255 | - added new recipe for immutable |
256 | functionality (thanks Dave Rolsky) |
257 | |
ceb8945d |
258 | * Moose::Cookbook::Recipe9 |
3a0c064a |
259 | - added new recipe for builder and |
260 | lazy_build (thanks Dave Rolsky) |
261 | |
37332f31 |
262 | * Moose::Cookbook::Recipe11 |
3a0c064a |
263 | - added new recipe for method aliasing |
264 | and exclusion with Roles (thanks Dave Rolsky) |
265 | |
266 | * t/ |
ca0e380d |
267 | - fixed Win32 test failure (thanks spicyjack) |
ceb8945d |
268 | |
1a28289d |
269 | ~ removed Build.PL and Module::Build compat |
270 | since Module::Install has done that. |
271 | |
27cabcda |
272 | 0.43 Wed. April, 30, 2008 |
cbd141ca |
273 | * NOTE TO SELF: |
274 | drink more coffee before |
275 | doing release engineering |
276 | |
277 | - whoops, forgot to do the smolder tests, |
278 | and we broke some of the custom meta-attr |
279 | modules. This fixes that. |
280 | |
c93e8e7d |
281 | 0.42 Mon. April 28, 2008 |
282 | - some bad tests slipped by, nothing else |
283 | changed in this release (cpantesters++) |
284 | |
285 | - upped the Class::MOP dependency to 0.55 |
286 | since we have tests which need the C3 |
287 | support |
288 | |
a5e883ae |
289 | 0.41 Mon. April 28, 2008 |
004222dc |
290 | ~~ numerous documentation updates ~~ |
547dda77 |
291 | |
292 | - Changed all usage of die to Carp::croak for better |
293 | error reporting (initial patch by Tod Hagan) |
004222dc |
294 | |
c2922d69 |
295 | ** IMPORTANT NOTE ** |
296 | - the make_immutable keyword is now deprecated, don't |
297 | use it in any new code and please fix your old code |
298 | as well. There will be 2 releases, and then it will |
299 | be removed. |
300 | |
6c36eeaa |
301 | * Moose |
302 | Moose::Role |
303 | Moose::Meta::Class |
304 | - refactored the way inner and super work to avoid |
305 | any method/@ISA cache penalty (nothingmuch) |
306 | |
4078709c |
307 | * Moose::Meta::Class |
308 | - fixing &new_object to make sure trigger gets the |
309 | coerced value (spotted by Charles Alderman on the |
310 | mailing list) |
311 | - added test for this |
312 | |
51c107ef |
313 | * Moose::Meta::Method::Constructor |
314 | - immutable classes which had non-lazy attributes were calling |
315 | the default generating sub twice in the constructor. (bug |
316 | found by Jesse Luehrs, fixed by Dave Rolsky) |
317 | - added tests for this (Dave Rolsky) |
ae8d63f2 |
318 | - fix typo in initialize_body method (nothingmuch) |
319 | |
320 | * Moose::Meta::Method::Destructor |
321 | - fix typo in initialize_body method (nothingmuch) |
51c107ef |
322 | |
6c36eeaa |
323 | * Moose::Meta::Method::Overriden |
324 | Moose::Meta::Method::Augmented |
325 | - moved the logic for these into their own |
326 | classes (nothingmuch) |
327 | |
5e98d2b6 |
328 | * Moose::Meta::Attribute |
aed87761 |
329 | - inherited attributes may now be extended without |
2ea379cb |
330 | restriction on the type ('isa', 'does') (Sartak) |
cf12a691 |
331 | - added tests for this (Sartak) |
547dda77 |
332 | - when an attribute property is malformed (such as lazy without |
333 | a default), give the name of the attribute in the error |
334 | message (Sartak) |
88f23977 |
335 | - added the &applied_traits and &has_applied_traits methods |
336 | to allow introspection of traits |
337 | - added tests for this |
37905a64 |
338 | - moved 'trait' and 'metaclass' argument handling to here from |
339 | Moose::Meta::Class |
340 | - clone_and_inherit_options now handles 'trait' and 'metaclass' (has |
341 | '+foo' syntax) (nothingmuch) |
342 | - added tests for this (t0m) |
7c60f730 |
343 | |
344 | * Moose::Object |
345 | - localize $@ inside DEMOLISHALL to avoid it |
346 | eating $@ (found by Ernesto) |
347 | - added test for this (thanks to Ernesto) |
cf12a691 |
348 | |
ae8d63f2 |
349 | * Moose::Util::TypeConstraints |
350 | - &find_type_constraint now DWIMs when given an |
6c36eeaa |
351 | type constraint object or name (nothingmuch) |
37905a64 |
352 | - &find_or_create_type_constraint superseded with a number of more |
353 | specific functions: |
354 | - find_or_create_{isa,does}_type_constraint |
355 | - find_or_parse_type_constraint |
ae8d63f2 |
356 | |
357 | * Moose::Meta::TypeConstraint |
4078709c |
358 | Moose::Meta::TypeConstraint::Class |
37905a64 |
359 | Moose::Meta::TypeConstraint::Role |
4078709c |
360 | Moose::Meta::TypeConstraint::Enum |
361 | Moose::Meta::TypeConstraint::Union |
362 | Moose::Meta::TypeConstraint::Parameterized |
363 | - added the &equals method for comparing two type |
364 | constraints (nothingmuch) |
365 | - added tests for this (nothingmuch) |
366 | |
367 | * Moose::Meta::TypeConstraint |
ae8d63f2 |
368 | - add the &parents method, which is just an alias to &parent. |
37905a64 |
369 | Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch) |
ae8d63f2 |
370 | |
371 | * Moose::Meta::TypeConstraint::Class |
ae8d63f2 |
372 | - added the class attribute for introspection purposes |
373 | (nothingmuch) |
374 | - added tests for this |
4078709c |
375 | |
376 | * Moose::Meta::TypeConstraint::Enum |
6c36eeaa |
377 | Moose::Meta::TypeConstraint::Role |
37905a64 |
378 | - broke these out into their own classes (nothingmuch) |
ae8d63f2 |
379 | |
380 | * Moose::Cookbook::Recipe* |
381 | - fixed references to test file locations in the POD |
382 | and updated up some text for new Moose features |
37905a64 |
383 | (Sartak) |
384 | |
385 | * Moose::Util |
386 | - Added &resolve_metaclass_alias, a helper function for finding an actual |
387 | class for a short name (e.g. in the traits list) |
ae8d63f2 |
388 | |
52338af5 |
389 | 0.40 Fri. March 14, 2008 |
6e2840b7 |
390 | - I hate Pod::Coverage |
391 | |
e0328ed4 |
392 | 0.39 Fri. March 14, 2008 |
8d62bf6d |
393 | * Moose |
394 | - documenting the use of '+name' with attributes |
395 | that come from recently composed roles. It makes |
396 | sense, people are using it, and so why not just |
397 | officially support it. |
9c10b5ad |
398 | - fixing the 'extends' keyword so that it will not |
399 | trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763) |
94075501 |
400 | |
1321f087 |
401 | * oose |
402 | - added the perl -Moose=+Class::Name feature to allow |
403 | monkeypatching of classes in one liners |
404 | |
9c10b5ad |
405 | * Moose::Util |
406 | - fixing the 'apply_all_roles' keyword so that it will not |
407 | trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763) |
8d62bf6d |
408 | |
48045612 |
409 | * Moose::Meta::Class |
410 | - added ->create method which now supports roles (thanks to jrockway) |
411 | - added tests for this |
6d5cbd2b |
412 | - added ->create_anon_class which now supports roles and caching of |
413 | the results (thanks to jrockway) |
414 | - added tests for this |
81c3738f |
415 | - made ->does_role a little more forgiving when it is |
416 | checking a Class::MOP era metaclasses. |
48045612 |
417 | |
94075501 |
418 | * Moose::Meta::Role::Application::ToInstance |
419 | - it is now possible to pass extra params to be used when |
420 | a role is applied to an the instance (rebless_params) |
421 | - added tests for this |
422 | |
9f4334a1 |
423 | * Moose::Util::TypeConstraints |
4ab662d6 |
424 | - class_type now accepts an optional second argument for a |
425 | custom message. POD anotated accordingly (groditi) |
426 | - added tests for this |
9f4334a1 |
427 | - it is now possible to make anon-enums by passing 'enum' an |
428 | ARRAY ref instead of the $name => @values. Everything else |
429 | works as before. |
430 | - added tests for this |
431 | |
8d62bf6d |
432 | * t/ |
433 | - making test for using '+name' on attributes consumed |
434 | from a role, it works and makes sense too. |
435 | |
80d955e4 |
436 | * Moose::Meta::Attribute |
437 | - fix handles so that it doesn't return nothing |
438 | when the method cannot be found, not sure why |
f4f3e701 |
439 | it ever did this originally, this means we now |
440 | have slightly better support for AUTOLOADed |
441 | objects |
442 | - added more delegation tests |
587e457d |
443 | - adding ->does method to this so as to better |
444 | support traits and their introspection. |
445 | - added tests for this |
1a386a6c |
446 | |
447 | * Moose::Object |
448 | - localizing the Data::Dumper configurations so |
449 | that it does not pollute others (RT #33509) |
9b1aa0c3 |
450 | - made ->does a little more forgiving when it is |
451 | passed Class::MOP era metaclasses. |
80d955e4 |
452 | |
453 | 0.38 Fri. Feb. 15, 2008 |
c3b81505 |
454 | * Moose::Meta::Attribute |
455 | - fixed initializer to correctly do |
456 | type checking and coercion in the |
457 | callback |
458 | - added tests for this |
459 | |
1a740d8a |
460 | * t/ |
461 | - fixed some finicky tests (thanks to konobi) |
462 | |
80d955e4 |
463 | 0.37 Thurs. Feb. 14, 2008 |
688fcdda |
464 | * Moose |
465 | - fixed some details in Moose::init_meta |
466 | and its superclass handling (thanks thepler) |
467 | - added tests for this (thanks thepler) |
a28fe77b |
468 | - 'has' now dies if you don't pass in name |
469 | value pairs |
2a5e59d0 |
470 | - added the 'make_immutable' keyword as a shortcut |
9df136d0 |
471 | to make_immutable |
688fcdda |
472 | |
473 | * Moose::Meta::Class |
474 | Moose::Meta::Method::Constructor |
475 | Moose::Meta::Attribute |
649b9340 |
476 | - making (init_arg => undef) work here too |
477 | (thanks to nothingmuch) |
be771c43 |
478 | |
479 | * Moose::Meta::Attribute |
480 | Moose::Meta::Method::Constructor |
481 | Moose::Meta::Method::Accessor |
5fec9b97 |
482 | - make lazy attributes respect attr initializers (rjbs) |
be771c43 |
483 | - added tests for this |
688fcdda |
484 | |
485 | * Moose::Util::TypeConstraints |
486 | Moose::Util::TypeConstraints::OptimizedConstraints |
c14746bc |
487 | Moose::Meta::TypeConstraints |
688fcdda |
488 | Moose::Meta::Attribute |
489 | Moose::Meta::Method::Constructor |
490 | Moose::Meta::Method::Accessor |
649b9340 |
491 | - making type errors use the |
492 | assigned message (thanks to Sartak) |
493 | - added tests for this |
494 | |
495 | * Moose::Meta::Method::Destructor |
496 | - making sure DESTROY gets inlined properly |
497 | with successive DEMOLISH calls (thanks to manito) |
688fcdda |
498 | |
ab76842e |
499 | * Moose::Meta::Attribute |
500 | Moose::Meta::Method::Accessor |
501 | - fixed handling of undef with type constraints |
502 | (thanks to Ernesto) |
503 | - added tests for this |
c14746bc |
504 | |
505 | * Moose::Util |
506 | - added &get_all_init_args and &get_all_attribute_values |
507 | (thanks to Sartak and nothingmuch) |
ab76842e |
508 | |
e472c9a5 |
509 | 0.36 Sat. Jan. 26, 2008 |
238b424d |
510 | * Moose::Role |
511 | Moose::Meta::Attribute |
512 | - role type tests now support when roles are |
513 | applied to non-Moose classes (found by ash) |
514 | - added tests for this (thanks to ash) |
e472c9a5 |
515 | - couple extra tests to boost code coverage |
238b424d |
516 | |
517 | * Moose::Meta::Method::Constructor |
518 | - improved fix for handling Class::MOP attributes |
519 | - added test for this |
520 | |
521 | * Moose::Meta::Class |
522 | - handled the add_attribute($attribute_meta_object) |
523 | case correctly |
524 | - added test for this |
525 | |
3285fae9 |
526 | 0.35 Tues. Jan. 22, 2008 |
45fd4af3 |
527 | * Moose::Meta::Method::Constructor |
528 | - fix to make sure even Class::MOP attributes |
472b7401 |
529 | are handled correctly (Thanks to Dave Rolsky) |
c3b35392 |
530 | - added test for this (also Dave Rolsky) |
4498537c |
531 | |
532 | * Moose::Meta::Class |
533 | - improved error message on _apply_all_roles, |
534 | you should now use Moose::Util::apply_all_roles |
535 | and you shouldnt have been using a _ prefixed |
536 | method in the first place ;) |
45fd4af3 |
537 | |
fe05ce9c |
538 | 0.34 Mon. Jan. 21, 2008 |
778db3ac |
539 | ~~~ more misc. doc. fixes ~~~ |
540 | ~~ updated copyright dates ~~ |
9b28d20b |
541 | |
542 | Moose is now a postmodern object system :) |
8bdc7f13 |
543 | - (see the POD for details) |
ccf49e80 |
544 | |
545 | * <<Role System Refactoring>> |
546 | - this release contains a major reworking and |
547 | cleanup of the role system |
9b28d20b |
548 | - 100% backwards compat. |
549 | - Role application now restructured into seperate |
550 | classes based on type of applicants |
551 | - Role summation (combining of more than one role) |
ccf49e80 |
552 | is much cleaner and anon-classes are no longer |
9b28d20b |
553 | used in this process |
ccf49e80 |
554 | - new Composite role metaclass |
9b28d20b |
555 | - runtime application of roles to instances |
556 | is now more efficient and re-uses generated |
557 | classes when applicable |
ccf49e80 |
558 | |
9b28d20b |
559 | * <<New Role composition features>> |
ccf49e80 |
560 | - methods can now be excluded from a given role |
9b28d20b |
561 | during composition |
ccf49e80 |
562 | - methods can now be aliased to another name (and |
563 | still retain the original as well) |
4734114b |
564 | |
565 | * Moose::Util::TypeConstraints::OptimizedConstraints |
566 | - added this module (see above) |
567 | |
d7d8a8c7 |
568 | * Moose::Meta::Class |
569 | - fixed the &_process_attribute method to be called |
4734114b |
570 | by &add_attribute, so that the API is now correct |
571 | |
e7c06c1e |
572 | * Moose::Meta::Method::Accessor |
4734114b |
573 | - fixed bug when passing a list of values to |
e7c06c1e |
574 | an accessor would get (incorrectly) ignored. |
575 | Thanks to Sartak for finding this ;) |
576 | - added tests for this (Sartak again) |
32dd4a95 |
577 | |
a4e516f6 |
578 | * Moose::Meta::Method::Accessor |
579 | Moose::Meta::Method::Constructor |
28412c0b |
580 | Moose::Meta::Attribute |
ccf49e80 |
581 | Moose::Meta::TypeConstraint |
582 | Moose::Meta::TypeCoercion |
583 | - lots of cleanup of such things as: |
28412c0b |
584 | - generated methods |
585 | - type constraint handling |
ccf49e80 |
586 | - error handling/messages |
587 | (thanks to nothingmuch) |
a4e516f6 |
588 | |
4734114b |
589 | * Moose::Meta::TypeConstraint::Parameterizable |
590 | - added this module to support the refactor |
591 | in Moose::Meta::TypeConstraint::Parameterized |
592 | |
593 | * Moose::Meta::TypeConstraint::Parameterized |
594 | - refactored how these types are handled so they |
595 | are more generic and not confined to ArrayRef |
596 | and HashRef only |
a4e516f6 |
597 | |
2de7e794 |
598 | * t/ |
599 | - shortened some file names for better VMS support (RT #32381) |
600 | |
25374f01 |
601 | 0.33 Fri. Dec. 14, 2007 |
32dd4a95 |
602 | !! Moose now loads 2 x faster !! |
603 | !! with new Class::MOP 0.49 !! |
25374f01 |
604 | |
f7865ec8 |
605 | ++ new oose.pm module to make command line |
25374f01 |
606 | Moose-ness easier (see POD docs for more) |
4734114b |
607 | |
25374f01 |
608 | * Moose::Meta::Class |
609 | * Moose::Meta::Role |
4734114b |
610 | - several tweaks to take advantage of the |
25374f01 |
611 | new method map caching in Class::MOP |
612 | |
39aba5c9 |
613 | * Moose::Meta::TypeConstraint::Parameterized |
614 | - allow subtypes of ArrayRef and HashRef to |
acb8a5db |
615 | be used as a container (sartak) |
4734114b |
616 | - added tests for this |
acb8a5db |
617 | - basic support for coercion to ArrayRef and |
618 | HashRef for containers (sartak) |
4734114b |
619 | - added tests for this |
620 | |
25374f01 |
621 | * Moose::Meta::TypeCoercion |
622 | - coercions will now create subtypes as needed |
623 | so you can now add coercions to parameterized |
624 | types without having to explictly define them |
625 | - added tests for this |
626 | |
ac211120 |
627 | * Moose::Meta::Method::Accessor |
628 | - allow subclasses to decide whether we need |
629 | to copy the value into a new variable (sartak) |
39aba5c9 |
630 | |
dc26a424 |
631 | 0.32 Tues. Dec. 4, 2007 |
8de73ff1 |
632 | * Moose::Util::TypeConstraints |
633 | - fixing how subtype aliases of unions work |
634 | they should inherit the parent's coercion |
635 | - added tests for this |
4734114b |
636 | - you can now define multiple coercions on |
41e007e4 |
637 | a single type at different times instead of |
638 | having to do it all in one place |
639 | - added tests for this |
4734114b |
640 | |
8de73ff1 |
641 | * Moose::Meta::TypeConstraint |
642 | - there is now a default constraint of sub { 1 } |
643 | instead of Moose::Util::TypeConstraints setting |
644 | this for us |
645 | |
4734114b |
646 | * Moose::Meta::TypeCoercion |
647 | * Moose::Meta::TypeCoercion::Union |
648 | - added the &has_coercion_for_type and |
649 | &add_type_coercions methods to support the |
41e007e4 |
650 | new features above (although you cannot add |
651 | more type coercions for Union types) |
652 | |
ffcb48b4 |
653 | 0.31 Mon. Nov. 26, 2007 |
f3c4e20e |
654 | * Moose::Meta::Attribute |
4734114b |
655 | - made the +attr syntax handle extending types with |
f3c4e20e |
656 | parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')" |
657 | now works if the original foo is an ArrayRef. |
658 | - added tests for this. |
659 | - delegation now works even if the attribute does not |
660 | have a reader method using the get_read_method_ref |
4734114b |
661 | method from Class::MOP::Attribute. |
f3c4e20e |
662 | - added tests for this |
663 | - added docs for this |
4734114b |
664 | |
f3c4e20e |
665 | * Moose::Util::TypeConstraints |
4734114b |
666 | - passing no "additional attribute info" to |
667 | &find_or_create_type_constraint will no longer |
668 | attempt to create an __ANON__ type for you, |
f3c4e20e |
669 | instead it will just return undef. |
670 | - added docs for this |
671 | |
1edfdf1c |
672 | 0.30 Fri. Nov. 23, 2007 |
ca168e89 |
673 | * Moose::Meta::Method::Constructor |
674 | -builder related bug in inlined constructor. (groditi) |
675 | |
3822d5ee |
676 | * Moose::Meta::Method::Accessor |
677 | - genereate unnecessary calls to predicates and refactor |
678 | code generation for runtime speed (groditi) |
679 | |
5d776bdf |
680 | * Moose::Util::TypeConstraints |
0e0709ea |
681 | - fix ClassName constraint to introspect symbol table (mst) |
a0f8153d |
682 | - added more tests for this (mst) |
683 | - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ... |
684 | with work correctly. |
685 | - added tests for this |
5d776bdf |
686 | |
1edfdf1c |
687 | * Moose::Cookbook |
688 | - adding the link to Recipie 11 (written by Sartak) |
689 | - adding test for SYNOPSIS code |
690 | |
4734114b |
691 | * t/ |
ca168e89 |
692 | - New tests for builder bug. Upon instantiation, if an |
693 | attribute had a builder, no value and was not lazy the |
694 | builder default was not getting run, oops. (groditi) |
695 | |
b97b9655 |
696 | 0.29 Tues. Nov. 13, 2007 |
0b26305c |
697 | * Moose::Meta::Attribute |
5d776bdf |
698 | - Fix error message on missing builder method (groditi) |
0b26305c |
699 | |
700 | * Moose::Meta::Method::Accessor |
5d776bdf |
701 | - Fix error message on missing builder method (groditi) |
0b26305c |
702 | |
4734114b |
703 | * t/ |
5d776bdf |
704 | - Add test to check for the correct error message when |
705 | builder method is missing (groditi) |
0b26305c |
706 | |
98c4c382 |
707 | 0.28 Tues. Nov. 13, 2007 |
4734114b |
708 | - 0.27 packaged incorrectly (groditi) |
98c4c382 |
709 | |
e134cd19 |
710 | 0.27 Tues. Nov. 13, 2007 |
26fbace8 |
711 | * Moose::Meta::Attribute |
712 | - Added support for the new builder option (groditi) |
6af1a927 |
713 | - Added support for lazy_build option (groditi) |
1ed0b94f |
714 | - Changed slot initialization for predicate changes (groditi) |
26fbace8 |
715 | |
716 | * Moose::Meta::Method::Accessor |
6af1a927 |
717 | - Added support for lazy_build option (groditi) |
4734114b |
718 | - Fix inline methods to work with corrected predicate |
28669f89 |
719 | behavior (groditi) |
26fbace8 |
720 | |
7a5b07b3 |
721 | * Moose::Meta::Method::Constructor |
722 | - Added support for lazy_build option (groditi) |
723 | |
26fbace8 |
724 | * t/ |
28669f89 |
725 | - tests for builder and lazy_build (groditi) |
26fbace8 |
726 | |
4734114b |
727 | * fixing some misc. bits in the docs that |
28669f89 |
728 | got mentioned on CPAN Forum & perlmonks |
4734114b |
729 | |
e7f8d0c2 |
730 | * Moose::Meta::Role |
4734114b |
731 | - fixed how required methods are handled |
e7f8d0c2 |
732 | when they encounter overriden or modified |
733 | methods from a class (thanks to confound). |
734 | - added tests for this |
5af6a16d |
735 | |
3796382a |
736 | * Moose::Util::TypeConstraint |
4734114b |
737 | - fixed the type notation parser so that |
738 | the | always creates a union and so is |
739 | no longer a valid type char (thanks to |
740 | konobi, mugwump and #moose for working |
3796382a |
741 | this one out.) |
742 | - added more tests for this |
743 | |
77a18c28 |
744 | 0.26 Thurs. Sept. 27, 2007 |
745 | == New Features == |
4734114b |
746 | |
77a18c28 |
747 | * Parameterized Types |
4734114b |
748 | We now support parameterized collection types, such as: |
77a18c28 |
749 | ArrayRef[Int] # array or integers |
750 | HashRef[Object] # a hash with object values |
751 | They can also be nested: |
752 | ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values |
753 | And work with the type unions as well: |
754 | ArrayRef[Int | Str] # array of integers of strings |
4734114b |
755 | |
77a18c28 |
756 | * Better Framework Extendability |
4734114b |
757 | Moose.pm is now "extendable" such that it is now much |
758 | easier to extend the framework and add your own keywords |
77a18c28 |
759 | and customizations. See the "EXTENDING AND EMBEDDING MOOSE" |
760 | section of the Moose.pm docs. |
4734114b |
761 | |
77a18c28 |
762 | * Moose Snacks! |
4734114b |
763 | In an effort to begin documenting some of the various |
764 | details of Moose as well as some common idioms, we have |
765 | created Moose::Cookbook::Snacks as a place to find |
77a18c28 |
766 | small (easily digestable) nuggets of Moose code. |
4734114b |
767 | |
77a18c28 |
768 | ==== |
fb697a87 |
769 | ~ Several doc updates/cleanup thanks to castaway ~ |
4734114b |
770 | |
771 | - converted build system to use Module::Install instead of |
e46f5cc2 |
772 | Module::Build (thanks to jrockway) |
fb697a87 |
773 | |
d67145ed |
774 | * Moose |
4734114b |
775 | - added all the meta classes to the immutable list and |
d67145ed |
776 | set it to inline the accessors |
4734114b |
777 | - fix import to allow Sub::Exporter like { into => } |
e59a5c29 |
778 | and { into_level => } (perigrin) |
4734114b |
779 | - exposed and documented init_meta() to allow better |
e59a5c29 |
780 | embedding and extending of Moose (perigrin) |
4734114b |
781 | |
e59a5c29 |
782 | * t/ |
783 | - complete re-organization of the test suite |
4734114b |
784 | - added some new tests as well |
77a18c28 |
785 | - finally re-enabled the Moose::POOP test since |
786 | the new version of DBM::Deep now works again |
787 | (thanks rob) |
b468a3d3 |
788 | |
789 | * Moose::Meta::Class |
4734114b |
790 | - fixed very odd and very nasty recursion bug with |
b468a3d3 |
791 | inner/augment (mst) |
792 | - added tests for this (eilara) |
d67145ed |
793 | |
3726f905 |
794 | * Moose::Meta::Attribute |
795 | Moose::Meta::Method::Constructor |
796 | Moose::Meta::Method::Accessor |
4734114b |
797 | - fixed issue with overload::Overloaded getting called |
f1917f58 |
798 | on non-blessed items. (RT #29269) |
3726f905 |
799 | - added tests for this |
4734114b |
800 | |
3ccdc84a |
801 | * Moose::Meta::Method::Accessor |
4734114b |
802 | - fixed issue with generated accessor code making |
3ccdc84a |
803 | assumptions about hash based classes (thanks to dexter) |
4734114b |
804 | |
3726f905 |
805 | * Moose::Coookbook::Snacks |
4734114b |
806 | - these are bits of documentation, not quite as big as |
807 | Recipes but which have no clear place in the module docs. |
3726f905 |
808 | So they are Snacks! (horray for castaway++) |
809 | |
07cde929 |
810 | * Moose::Cookbook::Recipe4 |
811 | - updated it to use the new ArrayRef[MyType] construct |
812 | - updated the accompanying test as well |
813 | |
3726f905 |
814 | +++ Major Refactor of the Type Constraint system +++ |
815 | +++ with new features added as well +++ |
816 | |
22aed3c0 |
817 | * Moose::Util::TypeConstraint |
4734114b |
818 | - no longer uses package variable to keep track of |
22aed3c0 |
819 | the type constraints, now uses the an instance of |
820 | Moose::Meta::TypeConstraint::Registry to do it |
f1917f58 |
821 | - added more sophisticated type notation parsing |
822 | (thanks to mugwump) |
823 | - added tests for this |
22aed3c0 |
824 | |
d67145ed |
825 | * Moose::Meta::TypeConstraint |
826 | - some minor adjustments to make subclassing easier |
4734114b |
827 | - added the package_defined_in attribute so that we |
22aed3c0 |
828 | can track where the type constraints are created |
4734114b |
829 | |
d67145ed |
830 | * Moose::Meta::TypeConstraint::Union |
4734114b |
831 | - this is now been refactored to be a subclass of |
3726f905 |
832 | Moose::Meta::TypeConstraint |
4734114b |
833 | |
3726f905 |
834 | * Moose::Meta::TypeCoercion::Union |
835 | - this has been added to service the newly refactored |
4734114b |
836 | Moose::Meta::TypeConstraint::Union and is itself |
3726f905 |
837 | a subclass of Moose::Meta::TypeCoercion |
4734114b |
838 | |
0fbd4b0a |
839 | * Moose::Meta::TypeConstraint::Parameterized |
d67145ed |
840 | - added this module (taken from MooseX::AttributeHelpers) |
841 | to help construct nested collection types |
842 | - added tests for this |
4734114b |
843 | |
22aed3c0 |
844 | * Moose::Meta::TypeConstraint::Registry |
845 | - added this class to keep track of type constraints |
d67145ed |
846 | |
887169d7 |
847 | 0.25 Mon. Aug. 13, 2007 |
8eca434b |
848 | * Moose |
4734114b |
849 | - Documentation update to reference Moose::Util::TypeConstraints |
850 | under 'isa' in 'has' for how to define a new type |
8eca434b |
851 | (thanks to shlomif). |
852 | |
ab859145 |
853 | * Moose::Meta::Attribute |
4734114b |
854 | - required attributes now will no longer accept undef |
ab859145 |
855 | from the constructor, even if there is a default and lazy |
856 | - added tests for this |
4734114b |
857 | - default subroutines must return a value which passes the |
7a5ebc40 |
858 | type constraint |
859 | - added tests for this |
4734114b |
860 | |
a909a4df |
861 | * Moose::Meta::Attribute |
862 | * Moose::Meta::Method::Constructor |
4734114b |
863 | * Moose::Meta::Method::Accessor |
a909a4df |
864 | - type-constraint tests now handle overloaded objects correctly |
865 | in the error message |
4734114b |
866 | - added tests for this (thanks to EvanCarroll) |
ab859145 |
867 | |
8eca434b |
868 | * Moose::Meta::TypeConstraint::Union |
4734114b |
869 | - added (has_)hand_optimized_constraint to this class so that |
8eca434b |
870 | it behaves as the regular Moose::Meta::TypeConstraint does. |
871 | |
5868294f |
872 | * Moose::Meta::Role |
887169d7 |
873 | - large refactoring of this code |
4734114b |
874 | - added several more tests |
875 | - tests for subtle conflict resolition issues |
7125b244 |
876 | added, but not currently running |
877 | (thanks to kolibre) |
878 | |
4734114b |
879 | * Moose::Cookbook::Recipe7 |
880 | - added new recipe for augment/inner functionality |
887169d7 |
881 | (still in progress) |
7125b244 |
882 | - added test for this |
5868294f |
883 | |
24a8fe99 |
884 | * Moose::Spec::Role |
7125b244 |
885 | - a formal definition of roles (still in progress) |
24a8fe99 |
886 | |
9a641848 |
887 | * Moose::Util |
887169d7 |
888 | - utilities for easier working with Moose classes |
7125b244 |
889 | - added tests for these |
9a641848 |
890 | |
891 | * Test::Moose |
887169d7 |
892 | - This contains Moose specific test functions |
7125b244 |
893 | - added tests for these |
9a641848 |
894 | |
6b4c1bdd |
895 | 0.24 Tues. July 3, 2007 |
896 | ~ Some doc updates/cleanup ~ |
c84f324f |
897 | |
898 | * Moose::Meta::Attribute |
4734114b |
899 | - added support for roles to be given as parameters |
c84f324f |
900 | to the 'handles' option. |
901 | - added tests and docs for this |
4734114b |
902 | - the has '+foo' attribute form now accepts changes to |
83cc9094 |
903 | the lazy option, and the addition of a handles option |
904 | (but not changing the handles option) |
905 | - added tests and docs for this |
c84f324f |
906 | |
1db8ecc7 |
907 | * Moose::Meta::Role |
908 | - required methods are now fetched using find_method_by_name |
909 | so that required methods can come from superclasses |
910 | - adjusted tests for this |
911 | |
81941e9b |
912 | 0.23 Mon. June 18, 2007 |
73b84d2e |
913 | * Moose::Meta::Method::Constructor |
914 | - fix inlined constructor for hierarchy with multiple BUILD methods (mst) |
ac2dc464 |
915 | * Moose::Meta::Class |
916 | - Modify make_immutable to work with the new Class::MOP immutable |
917 | mechanism + POD + very basic test (groditi) |
cbe25729 |
918 | * Moose::Meta::Attribute |
4734114b |
919 | - Fix handles to use goto() so that caller() comes out properly on |
cbe25729 |
920 | the other side (perigrin) |
ac2dc464 |
921 | |
db53853c |
922 | 0.22 Thurs. May 31, 2007 |
3969267d |
923 | * Moose::Util::TypeConstraints |
4734114b |
924 | - fix for prototype undeclared issue when Moose::Util::TypeConstraints |
db53853c |
925 | loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring |
926 | prototypes for functions |
4734114b |
927 | - added the ClassName type constraint, this checks for strings |
928 | which will respond true to ->isa(UNIVERSAL). |
9af1d28b |
929 | - added tests and docs for this |
4734114b |
930 | - subtyping just in name now works correctly by making the |
86629f93 |
931 | default for where be { 1 } |
4734114b |
932 | - added test for this |
3969267d |
933 | |
d7611a4a |
934 | * Moose::Meta::Method::Accessor |
4734114b |
935 | - coerce and lazy now work together correctly, thanks to |
d7611a4a |
936 | merlyn for finding this bug |
937 | - tests added for this |
df492bba |
938 | - fix reader presedence bug in Moose::Meta::Attribute + tests |
d7611a4a |
939 | |
86629f93 |
940 | * Moose::Object |
941 | - Foo->new(undef) now gets ignored, it is assumed you meant to pass |
4734114b |
942 | a HASH-ref and missed. This produces better error messages then |
86629f93 |
943 | having it die cause undef is not a HASH. |
944 | - added tests for this |
945 | |
74a0a945 |
946 | 0.21 Thursday, May 2nd, 2007 |
52c7c330 |
947 | * Moose |
948 | - added SUPER_SLOT and INNER_SLOT class hashes to support unimport |
949 | - modified unimport to remove super and inner along with the rest |
950 | - altered unimport tests to handle this |
951 | |
952 | * Moose::Role |
953 | - altered super export to populate SUPER_SLOT |
954 | |
955 | * Moose::Meta::Class |
956 | - altered augment and override modifier application to use *_SLOT |
957 | - modified tests for these to unimport one test class each to test |
958 | |
492d4d76 |
959 | * Moose::Meta::Role |
960 | - fixed issue where custom attribute metaclasses |
961 | where not handled correctly in roles |
962 | - added tests for this |
4734114b |
963 | |
5cb193ed |
964 | * Moose::Meta::Class |
4734114b |
965 | - fixed issue where extending metaclasses with |
5cb193ed |
966 | roles would blow up. Thanks to Aankhen`` for |
967 | finding this insidious error, and it's solution. |
4734114b |
968 | |
969 | ~~ lots of spelling and grammer fixes in the docs, |
0305961b |
970 | many many thanks to rlb3 and Aankhen for these :) |
492d4d76 |
971 | |
e518dfb4 |
972 | 0.20 Friday, April 6th, 2007 |
a60285b3 |
973 | >> I messed up the SKIP logic in one test |
974 | so this release is just to fix that. |
975 | |
93c435b3 |
976 | * Moose |
977 | - 'has' now also accepts an ARRAY ref |
978 | to create multiple attrs (see docs) |
979 | (thanks to konobi for this) |
4734114b |
980 | - added tests and docs |
93c435b3 |
981 | |
cd7eeaf5 |
982 | 0.19 Thurs. April 5th, 2007 |
983 | ~~ More documentation updates ~~ |
984 | |
c899258b |
985 | * Moose::Util::TypeConstraints |
c1935ade |
986 | - 'type' now supports messages as well |
ddbdc0cb |
987 | thanks to phaylon for finding this |
c899258b |
988 | - added tests for this |
4734114b |
989 | - added &list_all_type_constraints and |
c1935ade |
990 | &list_all_builtin_type_constraints |
943596a6 |
991 | functions to facilitate introspection. |
4734114b |
992 | |
d022f632 |
993 | * Moose::Meta::Attribute |
4734114b |
994 | - fixed regexp 'handles' declarations |
d022f632 |
995 | to build the list of delegated methods |
4734114b |
996 | correctly (and not override important |
997 | things like &new) thanks to ashleyb |
ddbdc0cb |
998 | for finding this |
999 | - added tests and docs for this |
c1935ade |
1000 | - added the 'documentation' attributes |
4734114b |
1001 | so that you can actually document your |
1002 | attributes and inspect them through the |
ddbdc0cb |
1003 | meta-object. |
d022f632 |
1004 | - added tests and docs for this |
1005 | |
c1935ade |
1006 | * Moose::Meta::Class |
1007 | - when loading custom attribute metaclasses |
4734114b |
1008 | it will first look in for the class in the |
1009 | Moose::Meta::Attribute::Custom::$name, and |
c1935ade |
1010 | then default to just loading $name. |
1011 | - added tests and docs for this |
1012 | |
900466d6 |
1013 | * Moose::Meta::TypeConstraint |
1014 | - type constraints now stringify to their names. |
1015 | - added test for this |
1016 | |
d022f632 |
1017 | * misc. |
4734114b |
1018 | - added tests to assure we work with Module::Refresh |
1019 | - added stricter test skip logic in the Moose POOP |
ddbdc0cb |
1020 | test, ask Rob Kinyon why. |
1021 | - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;) |
c899258b |
1022 | |
af5199c6 |
1023 | 0.18 Sat. March 10, 2007 |
1024 | ~~ Many, many documentation updates ~~ |
ddbdc0cb |
1025 | |
1026 | * misc. |
4734114b |
1027 | - We now use Class::MOP::load_class to |
1028 | load all classes. |
1029 | - added tests to show types and subtypes |
ddbdc0cb |
1030 | working with Declare::Constraints::Simple |
1031 | and Test::Deep as constraint engines. |
b77fdbed |
1032 | |
587ae0d2 |
1033 | 0.18_001 |
d01f1dab |
1034 | !! You must have Class::MOP 0.37_001 !! |
1035 | !! for this developer release to work !! |
1036 | |
734d1752 |
1037 | This release was primarily adding the immutable |
4734114b |
1038 | feature to Moose. An immutable class is one which |
1039 | you promise not to alter. When you set the class |
1040 | as immutable it will perform various bits of |
734d1752 |
1041 | memoization and inline certain part of the code |
4734114b |
1042 | (constructors, destructors and accessors). This |
734d1752 |
1043 | minimizes (and in some cases totally eliminates) |
4734114b |
1044 | one of Moose's biggest performance hits. This |
734d1752 |
1045 | feature is not on by default, and is 100% optional. |
4734114b |
1046 | It has several configurable bits as well, so you |
734d1752 |
1047 | can pick and choose to your specific needs. |
4734114b |
1048 | |
1049 | The changes involved in this were fairly wide and |
1050 | highly specific, but 100% backwards compatible, so |
1051 | I am not going to enumerate them here. If you are |
1052 | truely interested in what was changed, please do |
734d1752 |
1053 | a diff :) |
587ae0d2 |
1054 | |
1055 | 0.17 Tues. Nov. 14, 2006 |
1056 | * Moose::Meta::Method::Accessor |
4734114b |
1057 | - bugfix for read-only accessors which |
587ae0d2 |
1058 | are have a type constraint and lazy. |
1059 | Thanks to chansen for finding it. |
1060 | |
1061 | 0.16 Tues. Nov. 14, 2006 |
1062 | ++ NOTE ++ |
4734114b |
1063 | There are some speed improvements in this release, |
587ae0d2 |
1064 | but they are only the begining, so stay tuned. |
4734114b |
1065 | |
587ae0d2 |
1066 | * Moose::Object |
4734114b |
1067 | - BUILDALL and DEMOLISHALL no longer get |
587ae0d2 |
1068 | called unless they actually need to be. |
1069 | This gave us a signifigant speed boost |
4734114b |
1070 | for the cases when there is no BUILD or |
587ae0d2 |
1071 | DEMOLISH method present. |
4734114b |
1072 | |
587ae0d2 |
1073 | * Moose::Util::TypeConstraints |
1074 | * Moose::Meta::TypeConstraint |
4734114b |
1075 | - added an 'optimize_as' option to the |
587ae0d2 |
1076 | type constraint, which allows for a |
4734114b |
1077 | hand optimized version of the type |
587ae0d2 |
1078 | constraint to be used when possible. |
1079 | - Any internally created type constraints |
1080 | now provide an optimized version as well. |
1081 | |
ecb59493 |
1082 | 0.15 Sun. Nov. 5, 2006 |
946289d1 |
1083 | ++ NOTE ++ |
4734114b |
1084 | This version of Moose *must* have Class::MOP 0.36 in order |
1085 | to work correctly. A number of small internal tweaks have |
946289d1 |
1086 | been made in order to be compatible with that release. |
571dd39f |
1087 | |
1088 | * Moose::Util::TypeConstraints |
4734114b |
1089 | - added &unimport so that you can clean out |
1090 | your class namespace of these exported |
571dd39f |
1091 | keywords |
4734114b |
1092 | |
37ee30c9 |
1093 | * Moose::Meta::Class |
4734114b |
1094 | - fixed minor issue which occasionally |
1095 | comes up during global destruction |
37ee30c9 |
1096 | (thanks omega) |
4734114b |
1097 | - moved Moose::Meta::Method::Overriden into |
946289d1 |
1098 | its own file. |
4734114b |
1099 | |
1100 | * Moose::Meta::Role |
1101 | - moved Moose::Meta::Role::Method into |
946289d1 |
1102 | its own file. |
4734114b |
1103 | |
43123819 |
1104 | * Moose::Meta::Attribute |
4734114b |
1105 | - changed how we do type checks so that |
1106 | we reduce the overall cost, but still |
7623f774 |
1107 | retain correctness. |
946289d1 |
1108 | *** API CHANGE *** |
4734114b |
1109 | - moved accessor generation methods to |
1110 | Moose::Meta::Method::Accessor to |
1111 | conform to the API changes from |
946289d1 |
1112 | Class::MOP 0.36 |
4734114b |
1113 | |
43123819 |
1114 | * Moose::Meta::TypeConstraint |
1115 | - changed how constraints are compiled |
1116 | so that we do less recursion and more |
4734114b |
1117 | iteration. This makes the type check |
43123819 |
1118 | faster :) |
946289d1 |
1119 | - moved Moose::Meta::TypeConstraint::Union |
1120 | into its own file |
4734114b |
1121 | |
946289d1 |
1122 | * Moose::Meta::Method::Accessor |
4734114b |
1123 | - created this from methods formerly found in |
946289d1 |
1124 | Moose::Meta::Attribute |
4734114b |
1125 | |
946289d1 |
1126 | * Moose::Meta::Role::Method |
1127 | - moved this from Moose::Meta::Role |
4734114b |
1128 | |
946289d1 |
1129 | * Moose::Meta::Method::Overriden |
1130 | - moved this from Moose::Meta::Class |
4734114b |
1131 | |
946289d1 |
1132 | * Moose::Meta::TypeConstraint::Union |
1133 | - moved this from Moose::Meta::TypeConstraint |
37ee30c9 |
1134 | |
3ec7b7a3 |
1135 | 0.14 Mon. Oct. 9, 2006 |
4fd69d6c |
1136 | |
1137 | * Moose::Meta::Attribute |
4734114b |
1138 | - fixed lazy attributes which were not getting |
4fd69d6c |
1139 | checked with the type constraint (thanks ashley) |
1140 | - added tests for this |
4734114b |
1141 | - removed the over-enthusiastic DWIMery of the |
1142 | automatic ArrayRef and HashRef defaults, it |
3ec7b7a3 |
1143 | broke predicates in an ugly way. |
1144 | - removed tests for this |
4fd69d6c |
1145 | |
c0c41f76 |
1146 | 0.13 Sat. Sept. 30, 2006 |
093b12c2 |
1147 | ++ NOTE ++ |
4734114b |
1148 | This version of Moose *must* have Class::MOP 0.35 in order |
1149 | to work correctly. A number of small internal tweaks have |
093b12c2 |
1150 | been made in order to be compatible with that release. |
1151 | |
3c2bc5e2 |
1152 | * Moose |
1153 | - Removed the use of UNIVERSAL::require to be a better |
4734114b |
1154 | symbol table citizen and remove a dependency |
093b12c2 |
1155 | (thanks Adam Kennedy) |
3c2bc5e2 |
1156 | |
2a0f3bd3 |
1157 | **~~ removed experimental & undocumented feature ~~** |
4734114b |
1158 | - commented out the 'method' and 'self' keywords, see the |
2a0f3bd3 |
1159 | comments for more info. |
1160 | |
e95c7c42 |
1161 | * Moose::Cookbook |
4734114b |
1162 | - added a FAQ and WTF files to document frequently |
e95c7c42 |
1163 | asked questions and common problems |
4734114b |
1164 | |
3f7376b0 |
1165 | * Moose::Util::TypeConstraints |
0a5bd159 |
1166 | - added GlobRef and FileHandle type constraint |
3f7376b0 |
1167 | - added tests for this |
4734114b |
1168 | |
3f7376b0 |
1169 | * Moose::Meta::Attribute |
1170 | - if your attribute 'isa' ArrayRef of HashRef, and you have |
1171 | not explicitly set a default, then make the default DWIM. |
4734114b |
1172 | This will also work for subtypes of ArrayRef and HashRef |
94b8bbb8 |
1173 | as well. |
1174 | - you can now auto-deref subtypes of ArrayRef or HashRef too. |
1175 | - new test added for this (thanks to ashley) |
4734114b |
1176 | |
b805c70c |
1177 | * Moose::Meta::Role |
1178 | - added basic support for runtime role composition |
4734114b |
1179 | but this is still *highly experimental*, so feedback |
0a5bd159 |
1180 | is much appreciated :) |
b805c70c |
1181 | - added tests for this |
e95c7c42 |
1182 | |
0a5bd159 |
1183 | * Moose::Meta::TypeConstraint |
1184 | - the type constraint now handles the coercion process |
4734114b |
1185 | through delegation, this is to support the coercion |
0a5bd159 |
1186 | of unions |
4734114b |
1187 | |
0a5bd159 |
1188 | * Moose::Meta::TypeConstraint::Union |
4734114b |
1189 | - it is now possible for coercions to be performed |
0a5bd159 |
1190 | on a type union |
1191 | - added tests for this (thanks to konobi) |
1192 | |
e95c7c42 |
1193 | * Moose::Meta::TypeCoercion |
4734114b |
1194 | - properly capturing error when type constraint |
e95c7c42 |
1195 | is not found |
1196 | |
3c2bc5e2 |
1197 | * Build.PL |
1198 | - Scalar::Util 1.18 is bad on Win32, so temporarily |
1199 | only require version 1.17 for Win32 and cygwin. |
4734114b |
1200 | (thanks Adam Kennedy) |
3c2bc5e2 |
1201 | |
40e89659 |
1202 | 0.12 Sat. Sept. 1, 2006 |
2bdd01cd |
1203 | * Moose::Cookbook |
1204 | - Recipe5 (subtypes & coercion) has been written |
4734114b |
1205 | |
2bdd01cd |
1206 | * Moose |
4734114b |
1207 | - fixed "bad meta" error message to be more descriptive |
1208 | - fixed &unimport to not remove the &inner and &super |
3279ab4a |
1209 | keywords because we need to localize them. |
68efb014 |
1210 | - fixed number of spelling/grammer issues, thanks Theory :) |
4734114b |
1211 | |
0558683c |
1212 | **~~ experimental & undocumented feature ~~** |
4734114b |
1213 | - added the method and self keywords, they are basically |
68efb014 |
1214 | just sugar, and they may not stay around. |
4734114b |
1215 | |
f742dfef |
1216 | * Moose::Object |
4734114b |
1217 | - added &dump method to easily Data::Dumper |
68efb014 |
1218 | an object |
4734114b |
1219 | |
b26e162e |
1220 | * Moose::Meta::TypeConstraint |
1221 | - added the &is_a_type_of method to check both the current |
1222 | and the subtype of a method (similar to &isa with classes) |
f008ac1f |
1223 | |
68efb014 |
1224 | * Moose::Meta::Role |
1225 | - this is now a subclass of Class::MOP::Module, and no longer |
4734114b |
1226 | creates the _role_meta ugliness of before. |
68efb014 |
1227 | - fixed tests to reflect this change |
4734114b |
1228 | |
8c835eba |
1229 | 0.11 Wed. July 12, 2006 |
31f8ec72 |
1230 | * Moose |
1231 | - added an &unimport method to remove all the keywords |
4734114b |
1232 | that Moose will import, simply add 'no Moose' to the |
1233 | bottom of your class file. |
1234 | |
31f8ec72 |
1235 | * t/ |
4734114b |
1236 | - fixed some test failures caused by a forgotten test |
31f8ec72 |
1237 | dependency. |
1238 | |
864cd714 |
1239 | 0.10 Thurs. July 6, 2006 |
01a8e221 |
1240 | * Moose |
1241 | - improved error message when loading modules so |
1242 | it is less confusing when you load a role. |
4734114b |
1243 | - added &calculate_all_roles method to |
2b14ac61 |
1244 | Moose::Meta::Class and Moose::Meta::Role |
4734114b |
1245 | |
2b14ac61 |
1246 | NOTE: |
1247 | This module has been tested against Class::MOP 0.30 |
4734114b |
1248 | but it does not yet utilize the optimizations |
2b14ac61 |
1249 | it makes available. Stay tuned for that ;) |
4734114b |
1250 | |
2b14ac61 |
1251 | 0.09_03 Fri. June 23, 2006 |
715ea0b7 |
1252 | ++ DEVELOPER RELEASE ++ |
4276ccb4 |
1253 | * Moose |
1254 | - 'use strict' and 'use warnings' are no longer |
4734114b |
1255 | needed in Moose classes, Moose itself will |
4276ccb4 |
1256 | turn them on for you. |
1257 | - added tests for this |
1341f10c |
1258 | - moved code from exported subs to private methods |
1259 | in Moose::Meta::Class |
4734114b |
1260 | |
4276ccb4 |
1261 | * Moose::Role |
4734114b |
1262 | - as with Moose, strict and warnings are |
4276ccb4 |
1263 | automatically turned on for you. |
4734114b |
1264 | - added tests for this |
1265 | |
e39d707f |
1266 | * Moose::Meta::Role |
1267 | - now handles an edge case for override errors |
1268 | - added tests for this |
b7f2d25b |
1269 | - added some more edge case tests |
1341f10c |
1270 | |
43d599e5 |
1271 | 0.09_02 Tues. May 16, 2006 |
715ea0b7 |
1272 | ++ DEVELOPER RELEASE ++ |
2c0cbef7 |
1273 | * Moose |
1274 | - added prototypes to the exported subs |
43d599e5 |
1275 | - updated docs |
4734114b |
1276 | |
2c0cbef7 |
1277 | * Moose::Role |
4734114b |
1278 | - added prototypes to the exported subs |
43d599e5 |
1279 | - updated docs |
4734114b |
1280 | |
2c0cbef7 |
1281 | * Moose::Util::TypeConstraints |
4734114b |
1282 | - cleaned up prototypes for the subs |
1283 | - updated docs |
2c0cbef7 |
1284 | |
72c4f6d1 |
1285 | 0.09_01 Fri. May 12, 2006 |
1286 | ++ DEVELOPER RELEASE ++ |
4734114b |
1287 | - This release works in combination with |
1288 | Class::MOP 0.29_01, it is a developer |
1289 | release because it uses the a new |
72c4f6d1 |
1290 | instance sub-protocol and a fairly |
4734114b |
1291 | complete Role implementation. It has |
72c4f6d1 |
1292 | not yet been optimized, so it slower |
4734114b |
1293 | the the previous CPAN version. This |
1294 | release also lacks good updated docs, |
72c4f6d1 |
1295 | the official release will have updated docs. |
1296 | |
4734114b |
1297 | * Moose |
98aae381 |
1298 | - refactored the keyword exports |
4734114b |
1299 | - 'with' now checks Role validaity and |
db1ab48d |
1300 | accepts more than one Role at a time |
4734114b |
1301 | - 'extends' makes metaclass adjustments as |
98aae381 |
1302 | needed to ensure metaclass compatability |
4734114b |
1303 | |
72c4f6d1 |
1304 | * Moose::Role |
1305 | - refactored the keyword exports |
4734114b |
1306 | - 'with' now checks Role validaity and |
72c4f6d1 |
1307 | accepts more than one Role at a time |
4734114b |
1308 | |
98aae381 |
1309 | * Moose::Util::TypeConstraints |
4734114b |
1310 | - added the 'enum' keyword for simple |
1311 | string enumerations which can be used as |
98aae381 |
1312 | type constraints |
db1ab48d |
1313 | - see example of usage in t/202_example.t |
4734114b |
1314 | |
98aae381 |
1315 | * Moose::Object |
1316 | - more careful checking of params to new() |
4734114b |
1317 | |
72c4f6d1 |
1318 | * Moose::Meta::Role |
1319 | - much work done on the role composition |
4734114b |
1320 | - many new tests for conflict detection |
72c4f6d1 |
1321 | and composition edge cases |
4734114b |
1322 | - not enough documentation, I suggest |
1323 | looking at the tests |
1324 | |
98aae381 |
1325 | * Moose::Meta::Instance |
4734114b |
1326 | - added new Instance metaclass to support |
98aae381 |
1327 | the new Class::MOP instance protocol |
4734114b |
1328 | |
98aae381 |
1329 | * Moose::Meta::Class |
4734114b |
1330 | - some small changes to support the new |
98aae381 |
1331 | instance protocol |
72c4f6d1 |
1332 | - some small additions to support Roles |
4734114b |
1333 | |
98aae381 |
1334 | * Moose::Meta::Attribute |
1335 | - some improvements to the accessor generation code |
1336 | by nothingmuch |
4734114b |
1337 | - some small changes to support the new |
98aae381 |
1338 | instance protocol |
4734114b |
1339 | - (still somewhat) experimental delegation support |
98aae381 |
1340 | with the 'handles' option |
1341 | - added several tests for this |
db1ab48d |
1342 | - no docs for this yet |
98aae381 |
1343 | |
35c8b8f2 |
1344 | 0.05 Thurs. April 27, 2006 |
2d562421 |
1345 | * Moose |
1346 | - keywords are now exported with Sub::Exporter |
1347 | thanks to chansen for this commit |
4734114b |
1348 | - has keyword now takes a 'metaclass' option |
1349 | to support custom attribute meta-classes |
590868a3 |
1350 | on a per-attribute basis |
4734114b |
1351 | - added tests for this |
daea75c9 |
1352 | - the 'has' keyword not accepts inherited slot |
4734114b |
1353 | specifications (has '+foo'). This is still an |
daea75c9 |
1354 | experimental feature and probably not finished |
4734114b |
1355 | see t/038_attribute_inherited_slot_specs.t for |
daea75c9 |
1356 | more details, or ask about it on #moose |
fcb7afc2 |
1357 | - added tests for this |
4734114b |
1358 | |
2d562421 |
1359 | * Moose::Role |
1360 | - keywords are now exported with Sub::Exporter |
1361 | |
5204cd52 |
1362 | * Moose::Utils::TypeConstraints |
cce8198b |
1363 | - reorganized the type constraint hierarchy, thanks |
4734114b |
1364 | to nothingmuch and chansen for his help and advice |
cce8198b |
1365 | on this |
1366 | - added some tests for this |
7eaef7ad |
1367 | - keywords are now exported with Sub::Exporter |
35c8b8f2 |
1368 | thanks to chansen for this commit |
5204cd52 |
1369 | |
d500266f |
1370 | * Moose::Meta::Class |
1371 | - due to changes in Class::MOP, we had to change |
1372 | construct_instance (for the better) |
4734114b |
1373 | |
d500266f |
1374 | * Moose::Meta::Attribute |
4734114b |
1375 | - due to changes in Class::MOP, we had to add the |
d500266f |
1376 | initialize_instance_slot method (it's a good thing) |
4734114b |
1377 | |
cce8198b |
1378 | * Moose::Meta::TypeConstraint |
4734114b |
1379 | - added type constraint unions |
c07af9d2 |
1380 | - added tests for this |
cce8198b |
1381 | - added the is_subtype_of predicate method |
1382 | - added tests for this |
d500266f |
1383 | |
02a0fb52 |
1384 | 0.04 Sun. April 16th, 2006 |
1331430a |
1385 | * Moose::Role |
1386 | - Roles can now consume other roles |
1387 | - added tests for this |
4734114b |
1388 | - Roles can specify required methods now with |
1331430a |
1389 | the requires() keyword |
1390 | - added tests for this |
1391 | |
bdabd620 |
1392 | * Moose::Meta::Role |
1393 | - ripped out much of it's guts ,.. much cleaner now |
4734114b |
1394 | - added required methods and correct handling of |
fa1be058 |
1395 | them in apply() for both classes and roles |
1396 | - added tests for this |
4734114b |
1397 | - no longer adds a does() method to consuming classes |
1331430a |
1398 | it relys on the one in Moose::Object |
4734114b |
1399 | - added roles attribute and some methods to support |
1331430a |
1400 | roles consuming roles |
8c9d74e7 |
1401 | |
1402 | * Moose::Meta::Attribute |
1403 | - added support for triggers on attributes |
1404 | - added tests for this |
4734114b |
1405 | - added support for does option on an attribute |
02a0fb52 |
1406 | - added tests for this |
4734114b |
1407 | |
8c9d74e7 |
1408 | * Moose::Meta::Class |
4734114b |
1409 | - added support for attribute triggers in the |
8c9d74e7 |
1410 | object construction |
1411 | - added tests for this |
4734114b |
1412 | |
256903b6 |
1413 | * Moose |
4734114b |
1414 | - Moose no longer creates a subtype for your class |
1415 | if a subtype of the same name already exists, this |
256903b6 |
1416 | should DWIM in 99.9999% of all cases |
4734114b |
1417 | |
256903b6 |
1418 | * Moose::Util::TypeConstraints |
4734114b |
1419 | - fixed bug where incorrect subtype conflicts were |
256903b6 |
1420 | being reported |
8c9d74e7 |
1421 | - added test for this |
4734114b |
1422 | |
8c9d74e7 |
1423 | * Moose::Object |
1424 | - this class can now be extended with 'use base' if |
1425 | you need it, it properly loads the metaclass class now |
1426 | - added test for this |
bdabd620 |
1427 | |
0677220d |
1428 | 0.03_02 Wed. April 12, 2006 |
05d9eaf6 |
1429 | * Moose |
1430 | - you must now explictly use Moose::Util::TypeConstraints |
1431 | it no longer gets exported for you automatically |
4734114b |
1432 | |
05d9eaf6 |
1433 | * Moose::Object |
1434 | - new() now accepts hash-refs as well as key/value lists |
0677220d |
1435 | - added does() method to check for Roles |
1436 | - added tests for this |
05d9eaf6 |
1437 | |
0677220d |
1438 | * Moose::Meta::Class |
4734114b |
1439 | - added roles attribute along with the add_role() and |
0677220d |
1440 | does_role() methods |
4734114b |
1441 | - added tests for this |
0677220d |
1442 | |
1443 | * Moose::Meta::Role |
4734114b |
1444 | - now adds a does() method to consuming classes |
0677220d |
1445 | which tests the class's hierarchy for roles |
1446 | - added tests for this |
1447 | |
1448 | 0.03_01 Mon. April 10, 2006 |
e9ec68d6 |
1449 | * Moose::Cookbook |
76d37e5a |
1450 | - added new Role recipe (no content yet, only code) |
4734114b |
1451 | |
e9ec68d6 |
1452 | * Moose |
1453 | - added 'with' keyword for Role support |
1454 | - added test and docs for this |
1455 | - fixed subtype quoting bug |
4734114b |
1456 | - added test for this |
e9ec68d6 |
1457 | |
1458 | * Moose::Role |
1459 | - Roles for Moose |
1460 | - added test and docs |
76d37e5a |
1461 | |
1462 | * Moose::Util::TypeConstraints |
1463 | - added the message keyword to add custom |
4734114b |
1464 | error messages to type constraints |
1465 | |
e9ec68d6 |
1466 | * Moose::Meta::Role |
1467 | - the meta role to support Moose::Role |
1468 | - added tests and docs |
4734114b |
1469 | |
e9ec68d6 |
1470 | * Moose::Meta::Class |
4734114b |
1471 | - moved a number of things from Moose.pm |
1472 | to here, they should have been here |
e9ec68d6 |
1473 | in the first place |
1474 | |
1475 | * Moose::Meta::Attribute |
1476 | - moved the attribute option macros here |
1477 | instead of putting them in Moose.pm |
e185c027 |
1478 | |
76d37e5a |
1479 | * Moose::Meta::TypeConstraint |
4734114b |
1480 | - added the message attributes and the |
76d37e5a |
1481 | validate method |
1482 | - added tests and docs for this |
1483 | |
0ac928d2 |
1484 | 0.03 Thurs. March 30, 2006 |
e9bb8a31 |
1485 | * Moose::Cookbook |
4734114b |
1486 | - added the Moose::Cookbook with 5 recipes, |
e9bb8a31 |
1487 | describing all the stuff Moose can do. |
1488 | |
d7f17ebb |
1489 | * Moose |
1490 | - fixed an issue with &extends super class loading |
4734114b |
1491 | it now captures errors and deals with inline |
1492 | packages correctly (bug found by mst, solution |
d7f17ebb |
1493 | stolen from alias) |
159da176 |
1494 | - added super/override & inner/augment features |
1495 | - added tests and docs for these |
4734114b |
1496 | |
d7f17ebb |
1497 | * Moose::Object |
4734114b |
1498 | - BUILDALL now takes a reference of the %params |
1499 | that are passed to &new, and passes that to |
d7f17ebb |
1500 | each BUILD as well. |
4734114b |
1501 | |
471c4f09 |
1502 | * Moose::Util::TypeConstraints |
1503 | - Type constraints now survive runtime reloading |
1504 | - added test for this |
d7f17ebb |
1505 | |
8339fae2 |
1506 | * Moose::Meta::Class |
4734114b |
1507 | - fixed the way attribute defaults are handled |
8339fae2 |
1508 | during instance construction (bug found by chansen) |
1509 | |
d7f17ebb |
1510 | * Moose::Meta::Attribute |
1511 | - read-only attributes now actually enforce their |
4734114b |
1512 | read-only-ness (this corrected in Class::MOP as |
9deed647 |
1513 | well) |
d7f17ebb |
1514 | |
076c81ed |
1515 | 0.02 Tues. March 21, 2006 |
fc5609d2 |
1516 | * Moose |
4734114b |
1517 | - many more tests, fixing some bugs and |
b841b2a3 |
1518 | edge cases |
b841b2a3 |
1519 | - &extends now loads the base module with |
4734114b |
1520 | UNIVERSAL::require |
1521 | - added UNIVERSAL::require to the |
b841b2a3 |
1522 | dependencies list |
6ba6d68c |
1523 | ** API CHANGES ** |
4734114b |
1524 | - each new Moose class will also create |
1525 | and register a subtype of Object which |
1526 | correspond to the new Moose class. |
1527 | - the 'isa' option in &has now only |
1528 | accepts strings, and will DWIM in |
b841b2a3 |
1529 | almost all cases |
4734114b |
1530 | |
b841b2a3 |
1531 | * Moose::Util::TypeConstraints |
1532 | - added type coercion features |
1533 | - added tests for this |
4734114b |
1534 | - added support for this in attributes |
b841b2a3 |
1535 | and instance construction |
6ba6d68c |
1536 | ** API CHANGES ** |
4734114b |
1537 | - type construction no longer creates a |
b841b2a3 |
1538 | function, it registers the type instead. |
4734114b |
1539 | - added several functions to get the |
1540 | registered types |
6ba6d68c |
1541 | |
1542 | * Moose::Object |
4734114b |
1543 | - BUILDALL and DEMOLISHALL were broken |
6ba6d68c |
1544 | because of a mis-named hash key, Whoops :) |
4734114b |
1545 | |
b841b2a3 |
1546 | * Moose::Meta::Attribute |
1547 | - adding support for coercion in the |
1548 | autogenerated accessors |
4734114b |
1549 | |
b841b2a3 |
1550 | * Moose::Meta::Class |
1551 | - adding support for coercion in the |
4734114b |
1552 | instance construction |
6ba6d68c |
1553 | |
1554 | * Moose::Meta::TypeConstraint |
1555 | * Moose::Meta::TypeCoercion |
4734114b |
1556 | - type constraints and coercions are now |
6ba6d68c |
1557 | full fledges meta-objects |
fc5609d2 |
1558 | |
e522431d |
1559 | 0.01 Wed. March 15, 2006 |
900466d6 |
1560 | - Moooooooooooooooooose!!! |