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