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