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