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