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