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