Commit | Line | Data |
e522431d |
1 | Revision history for Perl extension Moose |
2 | |
c14746bc |
3 | 0.37 Thurs. Fri. 14, 2008 |
688fcdda |
4 | * Moose |
5 | - fixed some details in Moose::init_meta |
6 | and its superclass handling (thanks thepler) |
7 | - added tests for this (thanks thepler) |
a28fe77b |
8 | - 'has' now dies if you don't pass in name |
9 | value pairs |
2a5e59d0 |
10 | - added the 'make_immutable' keyword as a shortcut |
9df136d0 |
11 | to make_immutable |
688fcdda |
12 | |
13 | * Moose::Meta::Class |
14 | Moose::Meta::Method::Constructor |
15 | Moose::Meta::Attribute |
649b9340 |
16 | - making (init_arg => undef) work here too |
17 | (thanks to nothingmuch) |
be771c43 |
18 | |
19 | * Moose::Meta::Attribute |
20 | Moose::Meta::Method::Constructor |
21 | Moose::Meta::Method::Accessor |
5fec9b97 |
22 | - make lazy attributes respect attr initializers (rjbs) |
be771c43 |
23 | - added tests for this |
688fcdda |
24 | |
25 | * Moose::Util::TypeConstraints |
26 | Moose::Util::TypeConstraints::OptimizedConstraints |
c14746bc |
27 | Moose::Meta::TypeConstraints |
688fcdda |
28 | Moose::Meta::Attribute |
29 | Moose::Meta::Method::Constructor |
30 | Moose::Meta::Method::Accessor |
649b9340 |
31 | - making type errors use the |
32 | assigned message (thanks to Sartak) |
33 | - added tests for this |
34 | |
35 | * Moose::Meta::Method::Destructor |
36 | - making sure DESTROY gets inlined properly |
37 | with successive DEMOLISH calls (thanks to manito) |
688fcdda |
38 | |
ab76842e |
39 | * Moose::Meta::Attribute |
40 | Moose::Meta::Method::Accessor |
41 | - fixed handling of undef with type constraints |
42 | (thanks to Ernesto) |
43 | - added tests for this |
c14746bc |
44 | |
45 | * Moose::Util |
46 | - added &get_all_init_args and &get_all_attribute_values |
47 | (thanks to Sartak and nothingmuch) |
ab76842e |
48 | |
e472c9a5 |
49 | 0.36 Sat. Jan. 26, 2008 |
238b424d |
50 | * Moose::Role |
51 | Moose::Meta::Attribute |
52 | - role type tests now support when roles are |
53 | applied to non-Moose classes (found by ash) |
54 | - added tests for this (thanks to ash) |
e472c9a5 |
55 | - couple extra tests to boost code coverage |
238b424d |
56 | |
57 | * Moose::Meta::Method::Constructor |
58 | - improved fix for handling Class::MOP attributes |
59 | - added test for this |
60 | |
61 | * Moose::Meta::Class |
62 | - handled the add_attribute($attribute_meta_object) |
63 | case correctly |
64 | - added test for this |
65 | |
3285fae9 |
66 | 0.35 Tues. Jan. 22, 2008 |
45fd4af3 |
67 | * Moose::Meta::Method::Constructor |
68 | - fix to make sure even Class::MOP attributes |
472b7401 |
69 | are handled correctly (Thanks to Dave Rolsky) |
c3b35392 |
70 | - added test for this (also Dave Rolsky) |
4498537c |
71 | |
72 | * Moose::Meta::Class |
73 | - improved error message on _apply_all_roles, |
74 | you should now use Moose::Util::apply_all_roles |
75 | and you shouldnt have been using a _ prefixed |
76 | method in the first place ;) |
45fd4af3 |
77 | |
fe05ce9c |
78 | 0.34 Mon. Jan. 21, 2008 |
778db3ac |
79 | ~~~ more misc. doc. fixes ~~~ |
80 | ~~ updated copyright dates ~~ |
9b28d20b |
81 | |
82 | Moose is now a postmodern object system :) |
8bdc7f13 |
83 | - (see the POD for details) |
ccf49e80 |
84 | |
85 | * <<Role System Refactoring>> |
86 | - this release contains a major reworking and |
87 | cleanup of the role system |
9b28d20b |
88 | - 100% backwards compat. |
89 | - Role application now restructured into seperate |
90 | classes based on type of applicants |
91 | - Role summation (combining of more than one role) |
ccf49e80 |
92 | is much cleaner and anon-classes are no longer |
9b28d20b |
93 | used in this process |
ccf49e80 |
94 | - new Composite role metaclass |
9b28d20b |
95 | - runtime application of roles to instances |
96 | is now more efficient and re-uses generated |
97 | classes when applicable |
ccf49e80 |
98 | |
9b28d20b |
99 | * <<New Role composition features>> |
ccf49e80 |
100 | - methods can now be excluded from a given role |
9b28d20b |
101 | during composition |
ccf49e80 |
102 | - methods can now be aliased to another name (and |
103 | still retain the original as well) |
4734114b |
104 | |
105 | * Moose::Util::TypeConstraints::OptimizedConstraints |
106 | - added this module (see above) |
107 | |
d7d8a8c7 |
108 | * Moose::Meta::Class |
109 | - fixed the &_process_attribute method to be called |
4734114b |
110 | by &add_attribute, so that the API is now correct |
111 | |
e7c06c1e |
112 | * Moose::Meta::Method::Accessor |
4734114b |
113 | - fixed bug when passing a list of values to |
e7c06c1e |
114 | an accessor would get (incorrectly) ignored. |
115 | Thanks to Sartak for finding this ;) |
116 | - added tests for this (Sartak again) |
32dd4a95 |
117 | |
a4e516f6 |
118 | * Moose::Meta::Method::Accessor |
119 | Moose::Meta::Method::Constructor |
28412c0b |
120 | Moose::Meta::Attribute |
ccf49e80 |
121 | Moose::Meta::TypeConstraint |
122 | Moose::Meta::TypeCoercion |
123 | - lots of cleanup of such things as: |
28412c0b |
124 | - generated methods |
125 | - type constraint handling |
ccf49e80 |
126 | - error handling/messages |
127 | (thanks to nothingmuch) |
a4e516f6 |
128 | |
4734114b |
129 | * Moose::Meta::TypeConstraint::Parameterizable |
130 | - added this module to support the refactor |
131 | in Moose::Meta::TypeConstraint::Parameterized |
132 | |
133 | * Moose::Meta::TypeConstraint::Parameterized |
134 | - refactored how these types are handled so they |
135 | are more generic and not confined to ArrayRef |
136 | and HashRef only |
a4e516f6 |
137 | |
2de7e794 |
138 | * t/ |
139 | - shortened some file names for better VMS support (RT #32381) |
140 | |
25374f01 |
141 | 0.33 Fri. Dec. 14, 2007 |
32dd4a95 |
142 | !! Moose now loads 2 x faster !! |
143 | !! with new Class::MOP 0.49 !! |
25374f01 |
144 | |
f7865ec8 |
145 | ++ new oose.pm module to make command line |
25374f01 |
146 | Moose-ness easier (see POD docs for more) |
4734114b |
147 | |
25374f01 |
148 | * Moose::Meta::Class |
149 | * Moose::Meta::Role |
4734114b |
150 | - several tweaks to take advantage of the |
25374f01 |
151 | new method map caching in Class::MOP |
152 | |
39aba5c9 |
153 | * Moose::Meta::TypeConstraint::Parameterized |
154 | - allow subtypes of ArrayRef and HashRef to |
acb8a5db |
155 | be used as a container (sartak) |
4734114b |
156 | - added tests for this |
acb8a5db |
157 | - basic support for coercion to ArrayRef and |
158 | HashRef for containers (sartak) |
4734114b |
159 | - added tests for this |
160 | |
25374f01 |
161 | * Moose::Meta::TypeCoercion |
162 | - coercions will now create subtypes as needed |
163 | so you can now add coercions to parameterized |
164 | types without having to explictly define them |
165 | - added tests for this |
166 | |
ac211120 |
167 | * Moose::Meta::Method::Accessor |
168 | - allow subclasses to decide whether we need |
169 | to copy the value into a new variable (sartak) |
39aba5c9 |
170 | |
dc26a424 |
171 | 0.32 Tues. Dec. 4, 2007 |
8de73ff1 |
172 | * Moose::Util::TypeConstraints |
173 | - fixing how subtype aliases of unions work |
174 | they should inherit the parent's coercion |
175 | - added tests for this |
4734114b |
176 | - you can now define multiple coercions on |
41e007e4 |
177 | a single type at different times instead of |
178 | having to do it all in one place |
179 | - added tests for this |
4734114b |
180 | |
8de73ff1 |
181 | * Moose::Meta::TypeConstraint |
182 | - there is now a default constraint of sub { 1 } |
183 | instead of Moose::Util::TypeConstraints setting |
184 | this for us |
185 | |
4734114b |
186 | * Moose::Meta::TypeCoercion |
187 | * Moose::Meta::TypeCoercion::Union |
188 | - added the &has_coercion_for_type and |
189 | &add_type_coercions methods to support the |
41e007e4 |
190 | new features above (although you cannot add |
191 | more type coercions for Union types) |
192 | |
ffcb48b4 |
193 | 0.31 Mon. Nov. 26, 2007 |
f3c4e20e |
194 | * Moose::Meta::Attribute |
4734114b |
195 | - made the +attr syntax handle extending types with |
f3c4e20e |
196 | parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')" |
197 | now works if the original foo is an ArrayRef. |
198 | - added tests for this. |
199 | - delegation now works even if the attribute does not |
200 | have a reader method using the get_read_method_ref |
4734114b |
201 | method from Class::MOP::Attribute. |
f3c4e20e |
202 | - added tests for this |
203 | - added docs for this |
4734114b |
204 | |
f3c4e20e |
205 | * Moose::Util::TypeConstraints |
4734114b |
206 | - passing no "additional attribute info" to |
207 | &find_or_create_type_constraint will no longer |
208 | attempt to create an __ANON__ type for you, |
f3c4e20e |
209 | instead it will just return undef. |
210 | - added docs for this |
211 | |
1edfdf1c |
212 | 0.30 Fri. Nov. 23, 2007 |
ca168e89 |
213 | * Moose::Meta::Method::Constructor |
214 | -builder related bug in inlined constructor. (groditi) |
215 | |
3822d5ee |
216 | * Moose::Meta::Method::Accessor |
217 | - genereate unnecessary calls to predicates and refactor |
218 | code generation for runtime speed (groditi) |
219 | |
5d776bdf |
220 | * Moose::Util::TypeConstraints |
0e0709ea |
221 | - fix ClassName constraint to introspect symbol table (mst) |
a0f8153d |
222 | - added more tests for this (mst) |
223 | - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ... |
224 | with work correctly. |
225 | - added tests for this |
5d776bdf |
226 | |
1edfdf1c |
227 | * Moose::Cookbook |
228 | - adding the link to Recipie 11 (written by Sartak) |
229 | - adding test for SYNOPSIS code |
230 | |
4734114b |
231 | * t/ |
ca168e89 |
232 | - New tests for builder bug. Upon instantiation, if an |
233 | attribute had a builder, no value and was not lazy the |
234 | builder default was not getting run, oops. (groditi) |
235 | |
b97b9655 |
236 | 0.29 Tues. Nov. 13, 2007 |
0b26305c |
237 | * Moose::Meta::Attribute |
5d776bdf |
238 | - Fix error message on missing builder method (groditi) |
0b26305c |
239 | |
240 | * Moose::Meta::Method::Accessor |
5d776bdf |
241 | - Fix error message on missing builder method (groditi) |
0b26305c |
242 | |
4734114b |
243 | * t/ |
5d776bdf |
244 | - Add test to check for the correct error message when |
245 | builder method is missing (groditi) |
0b26305c |
246 | |
98c4c382 |
247 | 0.28 Tues. Nov. 13, 2007 |
4734114b |
248 | - 0.27 packaged incorrectly (groditi) |
98c4c382 |
249 | |
e134cd19 |
250 | 0.27 Tues. Nov. 13, 2007 |
26fbace8 |
251 | * Moose::Meta::Attribute |
252 | - Added support for the new builder option (groditi) |
6af1a927 |
253 | - Added support for lazy_build option (groditi) |
1ed0b94f |
254 | - Changed slot initialization for predicate changes (groditi) |
26fbace8 |
255 | |
256 | * Moose::Meta::Method::Accessor |
6af1a927 |
257 | - Added support for lazy_build option (groditi) |
4734114b |
258 | - Fix inline methods to work with corrected predicate |
28669f89 |
259 | behavior (groditi) |
26fbace8 |
260 | |
7a5b07b3 |
261 | * Moose::Meta::Method::Constructor |
262 | - Added support for lazy_build option (groditi) |
263 | |
26fbace8 |
264 | * t/ |
28669f89 |
265 | - tests for builder and lazy_build (groditi) |
26fbace8 |
266 | |
4734114b |
267 | * fixing some misc. bits in the docs that |
28669f89 |
268 | got mentioned on CPAN Forum & perlmonks |
4734114b |
269 | |
e7f8d0c2 |
270 | * Moose::Meta::Role |
4734114b |
271 | - fixed how required methods are handled |
e7f8d0c2 |
272 | when they encounter overriden or modified |
273 | methods from a class (thanks to confound). |
274 | - added tests for this |
5af6a16d |
275 | |
3796382a |
276 | * Moose::Util::TypeConstraint |
4734114b |
277 | - fixed the type notation parser so that |
278 | the | always creates a union and so is |
279 | no longer a valid type char (thanks to |
280 | konobi, mugwump and #moose for working |
3796382a |
281 | this one out.) |
282 | - added more tests for this |
283 | |
77a18c28 |
284 | 0.26 Thurs. Sept. 27, 2007 |
285 | == New Features == |
4734114b |
286 | |
77a18c28 |
287 | * Parameterized Types |
4734114b |
288 | We now support parameterized collection types, such as: |
77a18c28 |
289 | ArrayRef[Int] # array or integers |
290 | HashRef[Object] # a hash with object values |
291 | They can also be nested: |
292 | ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values |
293 | And work with the type unions as well: |
294 | ArrayRef[Int | Str] # array of integers of strings |
4734114b |
295 | |
77a18c28 |
296 | * Better Framework Extendability |
4734114b |
297 | Moose.pm is now "extendable" such that it is now much |
298 | easier to extend the framework and add your own keywords |
77a18c28 |
299 | and customizations. See the "EXTENDING AND EMBEDDING MOOSE" |
300 | section of the Moose.pm docs. |
4734114b |
301 | |
77a18c28 |
302 | * Moose Snacks! |
4734114b |
303 | In an effort to begin documenting some of the various |
304 | details of Moose as well as some common idioms, we have |
305 | created Moose::Cookbook::Snacks as a place to find |
77a18c28 |
306 | small (easily digestable) nuggets of Moose code. |
4734114b |
307 | |
77a18c28 |
308 | ==== |
fb697a87 |
309 | ~ Several doc updates/cleanup thanks to castaway ~ |
4734114b |
310 | |
311 | - converted build system to use Module::Install instead of |
e46f5cc2 |
312 | Module::Build (thanks to jrockway) |
fb697a87 |
313 | |
d67145ed |
314 | * Moose |
4734114b |
315 | - added all the meta classes to the immutable list and |
d67145ed |
316 | set it to inline the accessors |
4734114b |
317 | - fix import to allow Sub::Exporter like { into => } |
e59a5c29 |
318 | and { into_level => } (perigrin) |
4734114b |
319 | - exposed and documented init_meta() to allow better |
e59a5c29 |
320 | embedding and extending of Moose (perigrin) |
4734114b |
321 | |
e59a5c29 |
322 | * t/ |
323 | - complete re-organization of the test suite |
4734114b |
324 | - added some new tests as well |
77a18c28 |
325 | - finally re-enabled the Moose::POOP test since |
326 | the new version of DBM::Deep now works again |
327 | (thanks rob) |
b468a3d3 |
328 | |
329 | * Moose::Meta::Class |
4734114b |
330 | - fixed very odd and very nasty recursion bug with |
b468a3d3 |
331 | inner/augment (mst) |
332 | - added tests for this (eilara) |
d67145ed |
333 | |
3726f905 |
334 | * Moose::Meta::Attribute |
335 | Moose::Meta::Method::Constructor |
336 | Moose::Meta::Method::Accessor |
4734114b |
337 | - fixed issue with overload::Overloaded getting called |
f1917f58 |
338 | on non-blessed items. (RT #29269) |
3726f905 |
339 | - added tests for this |
4734114b |
340 | |
3ccdc84a |
341 | * Moose::Meta::Method::Accessor |
4734114b |
342 | - fixed issue with generated accessor code making |
3ccdc84a |
343 | assumptions about hash based classes (thanks to dexter) |
4734114b |
344 | |
3726f905 |
345 | * Moose::Coookbook::Snacks |
4734114b |
346 | - these are bits of documentation, not quite as big as |
347 | Recipes but which have no clear place in the module docs. |
3726f905 |
348 | So they are Snacks! (horray for castaway++) |
349 | |
07cde929 |
350 | * Moose::Cookbook::Recipe4 |
351 | - updated it to use the new ArrayRef[MyType] construct |
352 | - updated the accompanying test as well |
353 | |
3726f905 |
354 | +++ Major Refactor of the Type Constraint system +++ |
355 | +++ with new features added as well +++ |
356 | |
22aed3c0 |
357 | * Moose::Util::TypeConstraint |
4734114b |
358 | - no longer uses package variable to keep track of |
22aed3c0 |
359 | the type constraints, now uses the an instance of |
360 | Moose::Meta::TypeConstraint::Registry to do it |
f1917f58 |
361 | - added more sophisticated type notation parsing |
362 | (thanks to mugwump) |
363 | - added tests for this |
22aed3c0 |
364 | |
d67145ed |
365 | * Moose::Meta::TypeConstraint |
366 | - some minor adjustments to make subclassing easier |
4734114b |
367 | - added the package_defined_in attribute so that we |
22aed3c0 |
368 | can track where the type constraints are created |
4734114b |
369 | |
d67145ed |
370 | * Moose::Meta::TypeConstraint::Union |
4734114b |
371 | - this is now been refactored to be a subclass of |
3726f905 |
372 | Moose::Meta::TypeConstraint |
4734114b |
373 | |
3726f905 |
374 | * Moose::Meta::TypeCoercion::Union |
375 | - this has been added to service the newly refactored |
4734114b |
376 | Moose::Meta::TypeConstraint::Union and is itself |
3726f905 |
377 | a subclass of Moose::Meta::TypeCoercion |
4734114b |
378 | |
0fbd4b0a |
379 | * Moose::Meta::TypeConstraint::Parameterized |
d67145ed |
380 | - added this module (taken from MooseX::AttributeHelpers) |
381 | to help construct nested collection types |
382 | - added tests for this |
4734114b |
383 | |
22aed3c0 |
384 | * Moose::Meta::TypeConstraint::Registry |
385 | - added this class to keep track of type constraints |
d67145ed |
386 | |
887169d7 |
387 | 0.25 Mon. Aug. 13, 2007 |
8eca434b |
388 | * Moose |
4734114b |
389 | - Documentation update to reference Moose::Util::TypeConstraints |
390 | under 'isa' in 'has' for how to define a new type |
8eca434b |
391 | (thanks to shlomif). |
392 | |
ab859145 |
393 | * Moose::Meta::Attribute |
4734114b |
394 | - required attributes now will no longer accept undef |
ab859145 |
395 | from the constructor, even if there is a default and lazy |
396 | - added tests for this |
4734114b |
397 | - default subroutines must return a value which passes the |
7a5ebc40 |
398 | type constraint |
399 | - added tests for this |
4734114b |
400 | |
a909a4df |
401 | * Moose::Meta::Attribute |
402 | * Moose::Meta::Method::Constructor |
4734114b |
403 | * Moose::Meta::Method::Accessor |
a909a4df |
404 | - type-constraint tests now handle overloaded objects correctly |
405 | in the error message |
4734114b |
406 | - added tests for this (thanks to EvanCarroll) |
ab859145 |
407 | |
8eca434b |
408 | * Moose::Meta::TypeConstraint::Union |
4734114b |
409 | - added (has_)hand_optimized_constraint to this class so that |
8eca434b |
410 | it behaves as the regular Moose::Meta::TypeConstraint does. |
411 | |
5868294f |
412 | * Moose::Meta::Role |
887169d7 |
413 | - large refactoring of this code |
4734114b |
414 | - added several more tests |
415 | - tests for subtle conflict resolition issues |
7125b244 |
416 | added, but not currently running |
417 | (thanks to kolibre) |
418 | |
4734114b |
419 | * Moose::Cookbook::Recipe7 |
420 | - added new recipe for augment/inner functionality |
887169d7 |
421 | (still in progress) |
7125b244 |
422 | - added test for this |
5868294f |
423 | |
24a8fe99 |
424 | * Moose::Spec::Role |
7125b244 |
425 | - a formal definition of roles (still in progress) |
24a8fe99 |
426 | |
9a641848 |
427 | * Moose::Util |
887169d7 |
428 | - utilities for easier working with Moose classes |
7125b244 |
429 | - added tests for these |
9a641848 |
430 | |
431 | * Test::Moose |
887169d7 |
432 | - This contains Moose specific test functions |
7125b244 |
433 | - added tests for these |
9a641848 |
434 | |
6b4c1bdd |
435 | 0.24 Tues. July 3, 2007 |
436 | ~ Some doc updates/cleanup ~ |
c84f324f |
437 | |
438 | * Moose::Meta::Attribute |
4734114b |
439 | - added support for roles to be given as parameters |
c84f324f |
440 | to the 'handles' option. |
441 | - added tests and docs for this |
4734114b |
442 | - the has '+foo' attribute form now accepts changes to |
83cc9094 |
443 | the lazy option, and the addition of a handles option |
444 | (but not changing the handles option) |
445 | - added tests and docs for this |
c84f324f |
446 | |
1db8ecc7 |
447 | * Moose::Meta::Role |
448 | - required methods are now fetched using find_method_by_name |
449 | so that required methods can come from superclasses |
450 | - adjusted tests for this |
451 | |
81941e9b |
452 | 0.23 Mon. June 18, 2007 |
73b84d2e |
453 | * Moose::Meta::Method::Constructor |
454 | - fix inlined constructor for hierarchy with multiple BUILD methods (mst) |
ac2dc464 |
455 | * Moose::Meta::Class |
456 | - Modify make_immutable to work with the new Class::MOP immutable |
457 | mechanism + POD + very basic test (groditi) |
cbe25729 |
458 | * Moose::Meta::Attribute |
4734114b |
459 | - Fix handles to use goto() so that caller() comes out properly on |
cbe25729 |
460 | the other side (perigrin) |
ac2dc464 |
461 | |
db53853c |
462 | 0.22 Thurs. May 31, 2007 |
3969267d |
463 | * Moose::Util::TypeConstraints |
4734114b |
464 | - fix for prototype undeclared issue when Moose::Util::TypeConstraints |
db53853c |
465 | loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring |
466 | prototypes for functions |
4734114b |
467 | - added the ClassName type constraint, this checks for strings |
468 | which will respond true to ->isa(UNIVERSAL). |
9af1d28b |
469 | - added tests and docs for this |
4734114b |
470 | - subtyping just in name now works correctly by making the |
86629f93 |
471 | default for where be { 1 } |
4734114b |
472 | - added test for this |
3969267d |
473 | |
d7611a4a |
474 | * Moose::Meta::Method::Accessor |
4734114b |
475 | - coerce and lazy now work together correctly, thanks to |
d7611a4a |
476 | merlyn for finding this bug |
477 | - tests added for this |
df492bba |
478 | - fix reader presedence bug in Moose::Meta::Attribute + tests |
d7611a4a |
479 | |
86629f93 |
480 | * Moose::Object |
481 | - Foo->new(undef) now gets ignored, it is assumed you meant to pass |
4734114b |
482 | a HASH-ref and missed. This produces better error messages then |
86629f93 |
483 | having it die cause undef is not a HASH. |
484 | - added tests for this |
485 | |
74a0a945 |
486 | 0.21 Thursday, May 2nd, 2007 |
52c7c330 |
487 | * Moose |
488 | - added SUPER_SLOT and INNER_SLOT class hashes to support unimport |
489 | - modified unimport to remove super and inner along with the rest |
490 | - altered unimport tests to handle this |
491 | |
492 | * Moose::Role |
493 | - altered super export to populate SUPER_SLOT |
494 | |
495 | * Moose::Meta::Class |
496 | - altered augment and override modifier application to use *_SLOT |
497 | - modified tests for these to unimport one test class each to test |
498 | |
492d4d76 |
499 | * Moose::Meta::Role |
500 | - fixed issue where custom attribute metaclasses |
501 | where not handled correctly in roles |
502 | - added tests for this |
4734114b |
503 | |
5cb193ed |
504 | * Moose::Meta::Class |
4734114b |
505 | - fixed issue where extending metaclasses with |
5cb193ed |
506 | roles would blow up. Thanks to Aankhen`` for |
507 | finding this insidious error, and it's solution. |
4734114b |
508 | |
509 | ~~ lots of spelling and grammer fixes in the docs, |
0305961b |
510 | many many thanks to rlb3 and Aankhen for these :) |
492d4d76 |
511 | |
e518dfb4 |
512 | 0.20 Friday, April 6th, 2007 |
a60285b3 |
513 | >> I messed up the SKIP logic in one test |
514 | so this release is just to fix that. |
515 | |
93c435b3 |
516 | * Moose |
517 | - 'has' now also accepts an ARRAY ref |
518 | to create multiple attrs (see docs) |
519 | (thanks to konobi for this) |
4734114b |
520 | - added tests and docs |
93c435b3 |
521 | |
cd7eeaf5 |
522 | 0.19 Thurs. April 5th, 2007 |
523 | ~~ More documentation updates ~~ |
524 | |
c899258b |
525 | * Moose::Util::TypeConstraints |
c1935ade |
526 | - 'type' now supports messages as well |
ddbdc0cb |
527 | thanks to phaylon for finding this |
c899258b |
528 | - added tests for this |
4734114b |
529 | - added &list_all_type_constraints and |
c1935ade |
530 | &list_all_builtin_type_constraints |
943596a6 |
531 | functions to facilitate introspection. |
4734114b |
532 | |
d022f632 |
533 | * Moose::Meta::Attribute |
4734114b |
534 | - fixed regexp 'handles' declarations |
d022f632 |
535 | to build the list of delegated methods |
4734114b |
536 | correctly (and not override important |
537 | things like &new) thanks to ashleyb |
ddbdc0cb |
538 | for finding this |
539 | - added tests and docs for this |
c1935ade |
540 | - added the 'documentation' attributes |
4734114b |
541 | so that you can actually document your |
542 | attributes and inspect them through the |
ddbdc0cb |
543 | meta-object. |
d022f632 |
544 | - added tests and docs for this |
545 | |
c1935ade |
546 | * Moose::Meta::Class |
547 | - when loading custom attribute metaclasses |
4734114b |
548 | it will first look in for the class in the |
549 | Moose::Meta::Attribute::Custom::$name, and |
c1935ade |
550 | then default to just loading $name. |
551 | - added tests and docs for this |
552 | |
900466d6 |
553 | * Moose::Meta::TypeConstraint |
554 | - type constraints now stringify to their names. |
555 | - added test for this |
556 | |
d022f632 |
557 | * misc. |
4734114b |
558 | - added tests to assure we work with Module::Refresh |
559 | - added stricter test skip logic in the Moose POOP |
ddbdc0cb |
560 | test, ask Rob Kinyon why. |
561 | - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;) |
c899258b |
562 | |
af5199c6 |
563 | 0.18 Sat. March 10, 2007 |
564 | ~~ Many, many documentation updates ~~ |
ddbdc0cb |
565 | |
566 | * misc. |
4734114b |
567 | - We now use Class::MOP::load_class to |
568 | load all classes. |
569 | - added tests to show types and subtypes |
ddbdc0cb |
570 | working with Declare::Constraints::Simple |
571 | and Test::Deep as constraint engines. |
b77fdbed |
572 | |
587ae0d2 |
573 | 0.18_001 |
d01f1dab |
574 | !! You must have Class::MOP 0.37_001 !! |
575 | !! for this developer release to work !! |
576 | |
734d1752 |
577 | This release was primarily adding the immutable |
4734114b |
578 | feature to Moose. An immutable class is one which |
579 | you promise not to alter. When you set the class |
580 | as immutable it will perform various bits of |
734d1752 |
581 | memoization and inline certain part of the code |
4734114b |
582 | (constructors, destructors and accessors). This |
734d1752 |
583 | minimizes (and in some cases totally eliminates) |
4734114b |
584 | one of Moose's biggest performance hits. This |
734d1752 |
585 | feature is not on by default, and is 100% optional. |
4734114b |
586 | It has several configurable bits as well, so you |
734d1752 |
587 | can pick and choose to your specific needs. |
4734114b |
588 | |
589 | The changes involved in this were fairly wide and |
590 | highly specific, but 100% backwards compatible, so |
591 | I am not going to enumerate them here. If you are |
592 | truely interested in what was changed, please do |
734d1752 |
593 | a diff :) |
587ae0d2 |
594 | |
595 | 0.17 Tues. Nov. 14, 2006 |
596 | * Moose::Meta::Method::Accessor |
4734114b |
597 | - bugfix for read-only accessors which |
587ae0d2 |
598 | are have a type constraint and lazy. |
599 | Thanks to chansen for finding it. |
600 | |
601 | 0.16 Tues. Nov. 14, 2006 |
602 | ++ NOTE ++ |
4734114b |
603 | There are some speed improvements in this release, |
587ae0d2 |
604 | but they are only the begining, so stay tuned. |
4734114b |
605 | |
587ae0d2 |
606 | * Moose::Object |
4734114b |
607 | - BUILDALL and DEMOLISHALL no longer get |
587ae0d2 |
608 | called unless they actually need to be. |
609 | This gave us a signifigant speed boost |
4734114b |
610 | for the cases when there is no BUILD or |
587ae0d2 |
611 | DEMOLISH method present. |
4734114b |
612 | |
587ae0d2 |
613 | * Moose::Util::TypeConstraints |
614 | * Moose::Meta::TypeConstraint |
4734114b |
615 | - added an 'optimize_as' option to the |
587ae0d2 |
616 | type constraint, which allows for a |
4734114b |
617 | hand optimized version of the type |
587ae0d2 |
618 | constraint to be used when possible. |
619 | - Any internally created type constraints |
620 | now provide an optimized version as well. |
621 | |
ecb59493 |
622 | 0.15 Sun. Nov. 5, 2006 |
946289d1 |
623 | ++ NOTE ++ |
4734114b |
624 | This version of Moose *must* have Class::MOP 0.36 in order |
625 | to work correctly. A number of small internal tweaks have |
946289d1 |
626 | been made in order to be compatible with that release. |
571dd39f |
627 | |
628 | * Moose::Util::TypeConstraints |
4734114b |
629 | - added &unimport so that you can clean out |
630 | your class namespace of these exported |
571dd39f |
631 | keywords |
4734114b |
632 | |
37ee30c9 |
633 | * Moose::Meta::Class |
4734114b |
634 | - fixed minor issue which occasionally |
635 | comes up during global destruction |
37ee30c9 |
636 | (thanks omega) |
4734114b |
637 | - moved Moose::Meta::Method::Overriden into |
946289d1 |
638 | its own file. |
4734114b |
639 | |
640 | * Moose::Meta::Role |
641 | - moved Moose::Meta::Role::Method into |
946289d1 |
642 | its own file. |
4734114b |
643 | |
43123819 |
644 | * Moose::Meta::Attribute |
4734114b |
645 | - changed how we do type checks so that |
646 | we reduce the overall cost, but still |
7623f774 |
647 | retain correctness. |
946289d1 |
648 | *** API CHANGE *** |
4734114b |
649 | - moved accessor generation methods to |
650 | Moose::Meta::Method::Accessor to |
651 | conform to the API changes from |
946289d1 |
652 | Class::MOP 0.36 |
4734114b |
653 | |
43123819 |
654 | * Moose::Meta::TypeConstraint |
655 | - changed how constraints are compiled |
656 | so that we do less recursion and more |
4734114b |
657 | iteration. This makes the type check |
43123819 |
658 | faster :) |
946289d1 |
659 | - moved Moose::Meta::TypeConstraint::Union |
660 | into its own file |
4734114b |
661 | |
946289d1 |
662 | * Moose::Meta::Method::Accessor |
4734114b |
663 | - created this from methods formerly found in |
946289d1 |
664 | Moose::Meta::Attribute |
4734114b |
665 | |
946289d1 |
666 | * Moose::Meta::Role::Method |
667 | - moved this from Moose::Meta::Role |
4734114b |
668 | |
946289d1 |
669 | * Moose::Meta::Method::Overriden |
670 | - moved this from Moose::Meta::Class |
4734114b |
671 | |
946289d1 |
672 | * Moose::Meta::TypeConstraint::Union |
673 | - moved this from Moose::Meta::TypeConstraint |
37ee30c9 |
674 | |
3ec7b7a3 |
675 | 0.14 Mon. Oct. 9, 2006 |
4fd69d6c |
676 | |
677 | * Moose::Meta::Attribute |
4734114b |
678 | - fixed lazy attributes which were not getting |
4fd69d6c |
679 | checked with the type constraint (thanks ashley) |
680 | - added tests for this |
4734114b |
681 | - removed the over-enthusiastic DWIMery of the |
682 | automatic ArrayRef and HashRef defaults, it |
3ec7b7a3 |
683 | broke predicates in an ugly way. |
684 | - removed tests for this |
4fd69d6c |
685 | |
c0c41f76 |
686 | 0.13 Sat. Sept. 30, 2006 |
093b12c2 |
687 | ++ NOTE ++ |
4734114b |
688 | This version of Moose *must* have Class::MOP 0.35 in order |
689 | to work correctly. A number of small internal tweaks have |
093b12c2 |
690 | been made in order to be compatible with that release. |
691 | |
3c2bc5e2 |
692 | * Moose |
693 | - Removed the use of UNIVERSAL::require to be a better |
4734114b |
694 | symbol table citizen and remove a dependency |
093b12c2 |
695 | (thanks Adam Kennedy) |
3c2bc5e2 |
696 | |
2a0f3bd3 |
697 | **~~ removed experimental & undocumented feature ~~** |
4734114b |
698 | - commented out the 'method' and 'self' keywords, see the |
2a0f3bd3 |
699 | comments for more info. |
700 | |
e95c7c42 |
701 | * Moose::Cookbook |
4734114b |
702 | - added a FAQ and WTF files to document frequently |
e95c7c42 |
703 | asked questions and common problems |
4734114b |
704 | |
3f7376b0 |
705 | * Moose::Util::TypeConstraints |
0a5bd159 |
706 | - added GlobRef and FileHandle type constraint |
3f7376b0 |
707 | - added tests for this |
4734114b |
708 | |
3f7376b0 |
709 | * Moose::Meta::Attribute |
710 | - if your attribute 'isa' ArrayRef of HashRef, and you have |
711 | not explicitly set a default, then make the default DWIM. |
4734114b |
712 | This will also work for subtypes of ArrayRef and HashRef |
94b8bbb8 |
713 | as well. |
714 | - you can now auto-deref subtypes of ArrayRef or HashRef too. |
715 | - new test added for this (thanks to ashley) |
4734114b |
716 | |
b805c70c |
717 | * Moose::Meta::Role |
718 | - added basic support for runtime role composition |
4734114b |
719 | but this is still *highly experimental*, so feedback |
0a5bd159 |
720 | is much appreciated :) |
b805c70c |
721 | - added tests for this |
e95c7c42 |
722 | |
0a5bd159 |
723 | * Moose::Meta::TypeConstraint |
724 | - the type constraint now handles the coercion process |
4734114b |
725 | through delegation, this is to support the coercion |
0a5bd159 |
726 | of unions |
4734114b |
727 | |
0a5bd159 |
728 | * Moose::Meta::TypeConstraint::Union |
4734114b |
729 | - it is now possible for coercions to be performed |
0a5bd159 |
730 | on a type union |
731 | - added tests for this (thanks to konobi) |
732 | |
e95c7c42 |
733 | * Moose::Meta::TypeCoercion |
4734114b |
734 | - properly capturing error when type constraint |
e95c7c42 |
735 | is not found |
736 | |
3c2bc5e2 |
737 | * Build.PL |
738 | - Scalar::Util 1.18 is bad on Win32, so temporarily |
739 | only require version 1.17 for Win32 and cygwin. |
4734114b |
740 | (thanks Adam Kennedy) |
3c2bc5e2 |
741 | |
40e89659 |
742 | 0.12 Sat. Sept. 1, 2006 |
2bdd01cd |
743 | * Moose::Cookbook |
744 | - Recipe5 (subtypes & coercion) has been written |
4734114b |
745 | |
2bdd01cd |
746 | * Moose |
4734114b |
747 | - fixed "bad meta" error message to be more descriptive |
748 | - fixed &unimport to not remove the &inner and &super |
3279ab4a |
749 | keywords because we need to localize them. |
68efb014 |
750 | - fixed number of spelling/grammer issues, thanks Theory :) |
4734114b |
751 | |
0558683c |
752 | **~~ experimental & undocumented feature ~~** |
4734114b |
753 | - added the method and self keywords, they are basically |
68efb014 |
754 | just sugar, and they may not stay around. |
4734114b |
755 | |
f742dfef |
756 | * Moose::Object |
4734114b |
757 | - added &dump method to easily Data::Dumper |
68efb014 |
758 | an object |
4734114b |
759 | |
b26e162e |
760 | * Moose::Meta::TypeConstraint |
761 | - added the &is_a_type_of method to check both the current |
762 | and the subtype of a method (similar to &isa with classes) |
f008ac1f |
763 | |
68efb014 |
764 | * Moose::Meta::Role |
765 | - this is now a subclass of Class::MOP::Module, and no longer |
4734114b |
766 | creates the _role_meta ugliness of before. |
68efb014 |
767 | - fixed tests to reflect this change |
4734114b |
768 | |
8c835eba |
769 | 0.11 Wed. July 12, 2006 |
31f8ec72 |
770 | * Moose |
771 | - added an &unimport method to remove all the keywords |
4734114b |
772 | that Moose will import, simply add 'no Moose' to the |
773 | bottom of your class file. |
774 | |
31f8ec72 |
775 | * t/ |
4734114b |
776 | - fixed some test failures caused by a forgotten test |
31f8ec72 |
777 | dependency. |
778 | |
864cd714 |
779 | 0.10 Thurs. July 6, 2006 |
01a8e221 |
780 | * Moose |
781 | - improved error message when loading modules so |
782 | it is less confusing when you load a role. |
4734114b |
783 | - added &calculate_all_roles method to |
2b14ac61 |
784 | Moose::Meta::Class and Moose::Meta::Role |
4734114b |
785 | |
2b14ac61 |
786 | NOTE: |
787 | This module has been tested against Class::MOP 0.30 |
4734114b |
788 | but it does not yet utilize the optimizations |
2b14ac61 |
789 | it makes available. Stay tuned for that ;) |
4734114b |
790 | |
2b14ac61 |
791 | 0.09_03 Fri. June 23, 2006 |
715ea0b7 |
792 | ++ DEVELOPER RELEASE ++ |
4276ccb4 |
793 | * Moose |
794 | - 'use strict' and 'use warnings' are no longer |
4734114b |
795 | needed in Moose classes, Moose itself will |
4276ccb4 |
796 | turn them on for you. |
797 | - added tests for this |
1341f10c |
798 | - moved code from exported subs to private methods |
799 | in Moose::Meta::Class |
4734114b |
800 | |
4276ccb4 |
801 | * Moose::Role |
4734114b |
802 | - as with Moose, strict and warnings are |
4276ccb4 |
803 | automatically turned on for you. |
4734114b |
804 | - added tests for this |
805 | |
e39d707f |
806 | * Moose::Meta::Role |
807 | - now handles an edge case for override errors |
808 | - added tests for this |
b7f2d25b |
809 | - added some more edge case tests |
1341f10c |
810 | |
43d599e5 |
811 | 0.09_02 Tues. May 16, 2006 |
715ea0b7 |
812 | ++ DEVELOPER RELEASE ++ |
2c0cbef7 |
813 | * Moose |
814 | - added prototypes to the exported subs |
43d599e5 |
815 | - updated docs |
4734114b |
816 | |
2c0cbef7 |
817 | * Moose::Role |
4734114b |
818 | - added prototypes to the exported subs |
43d599e5 |
819 | - updated docs |
4734114b |
820 | |
2c0cbef7 |
821 | * Moose::Util::TypeConstraints |
4734114b |
822 | - cleaned up prototypes for the subs |
823 | - updated docs |
2c0cbef7 |
824 | |
72c4f6d1 |
825 | 0.09_01 Fri. May 12, 2006 |
826 | ++ DEVELOPER RELEASE ++ |
4734114b |
827 | - This release works in combination with |
828 | Class::MOP 0.29_01, it is a developer |
829 | release because it uses the a new |
72c4f6d1 |
830 | instance sub-protocol and a fairly |
4734114b |
831 | complete Role implementation. It has |
72c4f6d1 |
832 | not yet been optimized, so it slower |
4734114b |
833 | the the previous CPAN version. This |
834 | release also lacks good updated docs, |
72c4f6d1 |
835 | the official release will have updated docs. |
836 | |
4734114b |
837 | * Moose |
98aae381 |
838 | - refactored the keyword exports |
4734114b |
839 | - 'with' now checks Role validaity and |
db1ab48d |
840 | accepts more than one Role at a time |
4734114b |
841 | - 'extends' makes metaclass adjustments as |
98aae381 |
842 | needed to ensure metaclass compatability |
4734114b |
843 | |
72c4f6d1 |
844 | * Moose::Role |
845 | - refactored the keyword exports |
4734114b |
846 | - 'with' now checks Role validaity and |
72c4f6d1 |
847 | accepts more than one Role at a time |
4734114b |
848 | |
98aae381 |
849 | * Moose::Util::TypeConstraints |
4734114b |
850 | - added the 'enum' keyword for simple |
851 | string enumerations which can be used as |
98aae381 |
852 | type constraints |
db1ab48d |
853 | - see example of usage in t/202_example.t |
4734114b |
854 | |
98aae381 |
855 | * Moose::Object |
856 | - more careful checking of params to new() |
4734114b |
857 | |
72c4f6d1 |
858 | * Moose::Meta::Role |
859 | - much work done on the role composition |
4734114b |
860 | - many new tests for conflict detection |
72c4f6d1 |
861 | and composition edge cases |
4734114b |
862 | - not enough documentation, I suggest |
863 | looking at the tests |
864 | |
98aae381 |
865 | * Moose::Meta::Instance |
4734114b |
866 | - added new Instance metaclass to support |
98aae381 |
867 | the new Class::MOP instance protocol |
4734114b |
868 | |
98aae381 |
869 | * Moose::Meta::Class |
4734114b |
870 | - some small changes to support the new |
98aae381 |
871 | instance protocol |
72c4f6d1 |
872 | - some small additions to support Roles |
4734114b |
873 | |
98aae381 |
874 | * Moose::Meta::Attribute |
875 | - some improvements to the accessor generation code |
876 | by nothingmuch |
4734114b |
877 | - some small changes to support the new |
98aae381 |
878 | instance protocol |
4734114b |
879 | - (still somewhat) experimental delegation support |
98aae381 |
880 | with the 'handles' option |
881 | - added several tests for this |
db1ab48d |
882 | - no docs for this yet |
98aae381 |
883 | |
35c8b8f2 |
884 | 0.05 Thurs. April 27, 2006 |
2d562421 |
885 | * Moose |
886 | - keywords are now exported with Sub::Exporter |
887 | thanks to chansen for this commit |
4734114b |
888 | - has keyword now takes a 'metaclass' option |
889 | to support custom attribute meta-classes |
590868a3 |
890 | on a per-attribute basis |
4734114b |
891 | - added tests for this |
daea75c9 |
892 | - the 'has' keyword not accepts inherited slot |
4734114b |
893 | specifications (has '+foo'). This is still an |
daea75c9 |
894 | experimental feature and probably not finished |
4734114b |
895 | see t/038_attribute_inherited_slot_specs.t for |
daea75c9 |
896 | more details, or ask about it on #moose |
fcb7afc2 |
897 | - added tests for this |
4734114b |
898 | |
2d562421 |
899 | * Moose::Role |
900 | - keywords are now exported with Sub::Exporter |
901 | |
5204cd52 |
902 | * Moose::Utils::TypeConstraints |
cce8198b |
903 | - reorganized the type constraint hierarchy, thanks |
4734114b |
904 | to nothingmuch and chansen for his help and advice |
cce8198b |
905 | on this |
906 | - added some tests for this |
7eaef7ad |
907 | - keywords are now exported with Sub::Exporter |
35c8b8f2 |
908 | thanks to chansen for this commit |
5204cd52 |
909 | |
d500266f |
910 | * Moose::Meta::Class |
911 | - due to changes in Class::MOP, we had to change |
912 | construct_instance (for the better) |
4734114b |
913 | |
d500266f |
914 | * Moose::Meta::Attribute |
4734114b |
915 | - due to changes in Class::MOP, we had to add the |
d500266f |
916 | initialize_instance_slot method (it's a good thing) |
4734114b |
917 | |
cce8198b |
918 | * Moose::Meta::TypeConstraint |
4734114b |
919 | - added type constraint unions |
c07af9d2 |
920 | - added tests for this |
cce8198b |
921 | - added the is_subtype_of predicate method |
922 | - added tests for this |
d500266f |
923 | |
02a0fb52 |
924 | 0.04 Sun. April 16th, 2006 |
1331430a |
925 | * Moose::Role |
926 | - Roles can now consume other roles |
927 | - added tests for this |
4734114b |
928 | - Roles can specify required methods now with |
1331430a |
929 | the requires() keyword |
930 | - added tests for this |
931 | |
bdabd620 |
932 | * Moose::Meta::Role |
933 | - ripped out much of it's guts ,.. much cleaner now |
4734114b |
934 | - added required methods and correct handling of |
fa1be058 |
935 | them in apply() for both classes and roles |
936 | - added tests for this |
4734114b |
937 | - no longer adds a does() method to consuming classes |
1331430a |
938 | it relys on the one in Moose::Object |
4734114b |
939 | - added roles attribute and some methods to support |
1331430a |
940 | roles consuming roles |
8c9d74e7 |
941 | |
942 | * Moose::Meta::Attribute |
943 | - added support for triggers on attributes |
944 | - added tests for this |
4734114b |
945 | - added support for does option on an attribute |
02a0fb52 |
946 | - added tests for this |
4734114b |
947 | |
8c9d74e7 |
948 | * Moose::Meta::Class |
4734114b |
949 | - added support for attribute triggers in the |
8c9d74e7 |
950 | object construction |
951 | - added tests for this |
4734114b |
952 | |
256903b6 |
953 | * Moose |
4734114b |
954 | - Moose no longer creates a subtype for your class |
955 | if a subtype of the same name already exists, this |
256903b6 |
956 | should DWIM in 99.9999% of all cases |
4734114b |
957 | |
256903b6 |
958 | * Moose::Util::TypeConstraints |
4734114b |
959 | - fixed bug where incorrect subtype conflicts were |
256903b6 |
960 | being reported |
8c9d74e7 |
961 | - added test for this |
4734114b |
962 | |
8c9d74e7 |
963 | * Moose::Object |
964 | - this class can now be extended with 'use base' if |
965 | you need it, it properly loads the metaclass class now |
966 | - added test for this |
bdabd620 |
967 | |
0677220d |
968 | 0.03_02 Wed. April 12, 2006 |
05d9eaf6 |
969 | * Moose |
970 | - you must now explictly use Moose::Util::TypeConstraints |
971 | it no longer gets exported for you automatically |
4734114b |
972 | |
05d9eaf6 |
973 | * Moose::Object |
974 | - new() now accepts hash-refs as well as key/value lists |
0677220d |
975 | - added does() method to check for Roles |
976 | - added tests for this |
05d9eaf6 |
977 | |
0677220d |
978 | * Moose::Meta::Class |
4734114b |
979 | - added roles attribute along with the add_role() and |
0677220d |
980 | does_role() methods |
4734114b |
981 | - added tests for this |
0677220d |
982 | |
983 | * Moose::Meta::Role |
4734114b |
984 | - now adds a does() method to consuming classes |
0677220d |
985 | which tests the class's hierarchy for roles |
986 | - added tests for this |
987 | |
988 | 0.03_01 Mon. April 10, 2006 |
e9ec68d6 |
989 | * Moose::Cookbook |
76d37e5a |
990 | - added new Role recipe (no content yet, only code) |
4734114b |
991 | |
e9ec68d6 |
992 | * Moose |
993 | - added 'with' keyword for Role support |
994 | - added test and docs for this |
995 | - fixed subtype quoting bug |
4734114b |
996 | - added test for this |
e9ec68d6 |
997 | |
998 | * Moose::Role |
999 | - Roles for Moose |
1000 | - added test and docs |
76d37e5a |
1001 | |
1002 | * Moose::Util::TypeConstraints |
1003 | - added the message keyword to add custom |
4734114b |
1004 | error messages to type constraints |
1005 | |
e9ec68d6 |
1006 | * Moose::Meta::Role |
1007 | - the meta role to support Moose::Role |
1008 | - added tests and docs |
4734114b |
1009 | |
e9ec68d6 |
1010 | * Moose::Meta::Class |
4734114b |
1011 | - moved a number of things from Moose.pm |
1012 | to here, they should have been here |
e9ec68d6 |
1013 | in the first place |
1014 | |
1015 | * Moose::Meta::Attribute |
1016 | - moved the attribute option macros here |
1017 | instead of putting them in Moose.pm |
e185c027 |
1018 | |
76d37e5a |
1019 | * Moose::Meta::TypeConstraint |
4734114b |
1020 | - added the message attributes and the |
76d37e5a |
1021 | validate method |
1022 | - added tests and docs for this |
1023 | |
0ac928d2 |
1024 | 0.03 Thurs. March 30, 2006 |
e9bb8a31 |
1025 | * Moose::Cookbook |
4734114b |
1026 | - added the Moose::Cookbook with 5 recipes, |
e9bb8a31 |
1027 | describing all the stuff Moose can do. |
1028 | |
d7f17ebb |
1029 | * Moose |
1030 | - fixed an issue with &extends super class loading |
4734114b |
1031 | it now captures errors and deals with inline |
1032 | packages correctly (bug found by mst, solution |
d7f17ebb |
1033 | stolen from alias) |
159da176 |
1034 | - added super/override & inner/augment features |
1035 | - added tests and docs for these |
4734114b |
1036 | |
d7f17ebb |
1037 | * Moose::Object |
4734114b |
1038 | - BUILDALL now takes a reference of the %params |
1039 | that are passed to &new, and passes that to |
d7f17ebb |
1040 | each BUILD as well. |
4734114b |
1041 | |
471c4f09 |
1042 | * Moose::Util::TypeConstraints |
1043 | - Type constraints now survive runtime reloading |
1044 | - added test for this |
d7f17ebb |
1045 | |
8339fae2 |
1046 | * Moose::Meta::Class |
4734114b |
1047 | - fixed the way attribute defaults are handled |
8339fae2 |
1048 | during instance construction (bug found by chansen) |
1049 | |
d7f17ebb |
1050 | * Moose::Meta::Attribute |
1051 | - read-only attributes now actually enforce their |
4734114b |
1052 | read-only-ness (this corrected in Class::MOP as |
9deed647 |
1053 | well) |
d7f17ebb |
1054 | |
076c81ed |
1055 | 0.02 Tues. March 21, 2006 |
fc5609d2 |
1056 | * Moose |
4734114b |
1057 | - many more tests, fixing some bugs and |
b841b2a3 |
1058 | edge cases |
b841b2a3 |
1059 | - &extends now loads the base module with |
4734114b |
1060 | UNIVERSAL::require |
1061 | - added UNIVERSAL::require to the |
b841b2a3 |
1062 | dependencies list |
6ba6d68c |
1063 | ** API CHANGES ** |
4734114b |
1064 | - each new Moose class will also create |
1065 | and register a subtype of Object which |
1066 | correspond to the new Moose class. |
1067 | - the 'isa' option in &has now only |
1068 | accepts strings, and will DWIM in |
b841b2a3 |
1069 | almost all cases |
4734114b |
1070 | |
b841b2a3 |
1071 | * Moose::Util::TypeConstraints |
1072 | - added type coercion features |
1073 | - added tests for this |
4734114b |
1074 | - added support for this in attributes |
b841b2a3 |
1075 | and instance construction |
6ba6d68c |
1076 | ** API CHANGES ** |
4734114b |
1077 | - type construction no longer creates a |
b841b2a3 |
1078 | function, it registers the type instead. |
4734114b |
1079 | - added several functions to get the |
1080 | registered types |
6ba6d68c |
1081 | |
1082 | * Moose::Object |
4734114b |
1083 | - BUILDALL and DEMOLISHALL were broken |
6ba6d68c |
1084 | because of a mis-named hash key, Whoops :) |
4734114b |
1085 | |
b841b2a3 |
1086 | * Moose::Meta::Attribute |
1087 | - adding support for coercion in the |
1088 | autogenerated accessors |
4734114b |
1089 | |
b841b2a3 |
1090 | * Moose::Meta::Class |
1091 | - adding support for coercion in the |
4734114b |
1092 | instance construction |
6ba6d68c |
1093 | |
1094 | * Moose::Meta::TypeConstraint |
1095 | * Moose::Meta::TypeCoercion |
4734114b |
1096 | - type constraints and coercions are now |
6ba6d68c |
1097 | full fledges meta-objects |
fc5609d2 |
1098 | |
e522431d |
1099 | 0.01 Wed. March 15, 2006 |
900466d6 |
1100 | - Moooooooooooooooooose!!! |