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