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