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