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