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