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