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