1 Revision history for Perl extension Moose
5 - fixed some finicky tests (thanks to konobi)
7 0.37 Thurs. Fri. 14, 2008
9 - fixed some details in Moose::init_meta
10 and its superclass handling (thanks thepler)
11 - added tests for this (thanks thepler)
12 - 'has' now dies if you don't pass in name
14 - added the 'make_immutable' keyword as a shortcut
18 Moose::Meta::Method::Constructor
19 Moose::Meta::Attribute
20 - making (init_arg => undef) work here too
21 (thanks to nothingmuch)
23 * Moose::Meta::Attribute
24 Moose::Meta::Method::Constructor
25 Moose::Meta::Method::Accessor
26 - make lazy attributes respect attr initializers (rjbs)
27 - added tests for this
29 * Moose::Util::TypeConstraints
30 Moose::Util::TypeConstraints::OptimizedConstraints
31 Moose::Meta::TypeConstraints
32 Moose::Meta::Attribute
33 Moose::Meta::Method::Constructor
34 Moose::Meta::Method::Accessor
35 - making type errors use the
36 assigned message (thanks to Sartak)
37 - added tests for this
39 * Moose::Meta::Method::Destructor
40 - making sure DESTROY gets inlined properly
41 with successive DEMOLISH calls (thanks to manito)
43 * Moose::Meta::Attribute
44 Moose::Meta::Method::Accessor
45 - fixed handling of undef with type constraints
47 - added tests for this
50 - added &get_all_init_args and &get_all_attribute_values
51 (thanks to Sartak and nothingmuch)
53 0.36 Sat. Jan. 26, 2008
55 Moose::Meta::Attribute
56 - role type tests now support when roles are
57 applied to non-Moose classes (found by ash)
58 - added tests for this (thanks to ash)
59 - couple extra tests to boost code coverage
61 * Moose::Meta::Method::Constructor
62 - improved fix for handling Class::MOP attributes
66 - handled the add_attribute($attribute_meta_object)
70 0.35 Tues. Jan. 22, 2008
71 * Moose::Meta::Method::Constructor
72 - fix to make sure even Class::MOP attributes
73 are handled correctly (Thanks to Dave Rolsky)
74 - added test for this (also Dave Rolsky)
77 - improved error message on _apply_all_roles,
78 you should now use Moose::Util::apply_all_roles
79 and you shouldnt have been using a _ prefixed
80 method in the first place ;)
82 0.34 Mon. Jan. 21, 2008
83 ~~~ more misc. doc. fixes ~~~
84 ~~ updated copyright dates ~~
86 Moose is now a postmodern object system :)
87 - (see the POD for details)
89 * <<Role System Refactoring>>
90 - this release contains a major reworking and
91 cleanup of the role system
92 - 100% backwards compat.
93 - Role application now restructured into seperate
94 classes based on type of applicants
95 - Role summation (combining of more than one role)
96 is much cleaner and anon-classes are no longer
98 - new Composite role metaclass
99 - runtime application of roles to instances
100 is now more efficient and re-uses generated
101 classes when applicable
103 * <<New Role composition features>>
104 - methods can now be excluded from a given role
106 - methods can now be aliased to another name (and
107 still retain the original as well)
109 * Moose::Util::TypeConstraints::OptimizedConstraints
110 - added this module (see above)
113 - fixed the &_process_attribute method to be called
114 by &add_attribute, so that the API is now correct
116 * Moose::Meta::Method::Accessor
117 - fixed bug when passing a list of values to
118 an accessor would get (incorrectly) ignored.
119 Thanks to Sartak for finding this ;)
120 - added tests for this (Sartak again)
122 * Moose::Meta::Method::Accessor
123 Moose::Meta::Method::Constructor
124 Moose::Meta::Attribute
125 Moose::Meta::TypeConstraint
126 Moose::Meta::TypeCoercion
127 - lots of cleanup of such things as:
129 - type constraint handling
130 - error handling/messages
131 (thanks to nothingmuch)
133 * Moose::Meta::TypeConstraint::Parameterizable
134 - added this module to support the refactor
135 in Moose::Meta::TypeConstraint::Parameterized
137 * Moose::Meta::TypeConstraint::Parameterized
138 - refactored how these types are handled so they
139 are more generic and not confined to ArrayRef
143 - shortened some file names for better VMS support (RT #32381)
145 0.33 Fri. Dec. 14, 2007
146 !! Moose now loads 2 x faster !!
147 !! with new Class::MOP 0.49 !!
149 ++ new oose.pm module to make command line
150 Moose-ness easier (see POD docs for more)
154 - several tweaks to take advantage of the
155 new method map caching in Class::MOP
157 * Moose::Meta::TypeConstraint::Parameterized
158 - allow subtypes of ArrayRef and HashRef to
159 be used as a container (sartak)
160 - added tests for this
161 - basic support for coercion to ArrayRef and
162 HashRef for containers (sartak)
163 - added tests for this
165 * Moose::Meta::TypeCoercion
166 - coercions will now create subtypes as needed
167 so you can now add coercions to parameterized
168 types without having to explictly define them
169 - added tests for this
171 * Moose::Meta::Method::Accessor
172 - allow subclasses to decide whether we need
173 to copy the value into a new variable (sartak)
175 0.32 Tues. Dec. 4, 2007
176 * Moose::Util::TypeConstraints
177 - fixing how subtype aliases of unions work
178 they should inherit the parent's coercion
179 - added tests for this
180 - you can now define multiple coercions on
181 a single type at different times instead of
182 having to do it all in one place
183 - added tests for this
185 * Moose::Meta::TypeConstraint
186 - there is now a default constraint of sub { 1 }
187 instead of Moose::Util::TypeConstraints setting
190 * Moose::Meta::TypeCoercion
191 * Moose::Meta::TypeCoercion::Union
192 - added the &has_coercion_for_type and
193 &add_type_coercions methods to support the
194 new features above (although you cannot add
195 more type coercions for Union types)
197 0.31 Mon. Nov. 26, 2007
198 * Moose::Meta::Attribute
199 - made the +attr syntax handle extending types with
200 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
201 now works if the original foo is an ArrayRef.
202 - added tests for this.
203 - delegation now works even if the attribute does not
204 have a reader method using the get_read_method_ref
205 method from Class::MOP::Attribute.
206 - added tests for this
207 - added docs for this
209 * Moose::Util::TypeConstraints
210 - passing no "additional attribute info" to
211 &find_or_create_type_constraint will no longer
212 attempt to create an __ANON__ type for you,
213 instead it will just return undef.
214 - added docs for this
216 0.30 Fri. Nov. 23, 2007
217 * Moose::Meta::Method::Constructor
218 -builder related bug in inlined constructor. (groditi)
220 * Moose::Meta::Method::Accessor
221 - genereate unnecessary calls to predicates and refactor
222 code generation for runtime speed (groditi)
224 * Moose::Util::TypeConstraints
225 - fix ClassName constraint to introspect symbol table (mst)
226 - added more tests for this (mst)
227 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
229 - added tests for this
232 - adding the link to Recipie 11 (written by Sartak)
233 - adding test for SYNOPSIS code
236 - New tests for builder bug. Upon instantiation, if an
237 attribute had a builder, no value and was not lazy the
238 builder default was not getting run, oops. (groditi)
240 0.29 Tues. Nov. 13, 2007
241 * Moose::Meta::Attribute
242 - Fix error message on missing builder method (groditi)
244 * Moose::Meta::Method::Accessor
245 - Fix error message on missing builder method (groditi)
248 - Add test to check for the correct error message when
249 builder method is missing (groditi)
251 0.28 Tues. Nov. 13, 2007
252 - 0.27 packaged incorrectly (groditi)
254 0.27 Tues. Nov. 13, 2007
255 * Moose::Meta::Attribute
256 - Added support for the new builder option (groditi)
257 - Added support for lazy_build option (groditi)
258 - Changed slot initialization for predicate changes (groditi)
260 * Moose::Meta::Method::Accessor
261 - Added support for lazy_build option (groditi)
262 - Fix inline methods to work with corrected predicate
265 * Moose::Meta::Method::Constructor
266 - Added support for lazy_build option (groditi)
269 - tests for builder and lazy_build (groditi)
271 * fixing some misc. bits in the docs that
272 got mentioned on CPAN Forum & perlmonks
275 - fixed how required methods are handled
276 when they encounter overriden or modified
277 methods from a class (thanks to confound).
278 - added tests for this
280 * Moose::Util::TypeConstraint
281 - fixed the type notation parser so that
282 the | always creates a union and so is
283 no longer a valid type char (thanks to
284 konobi, mugwump and #moose for working
286 - added more tests for this
288 0.26 Thurs. Sept. 27, 2007
291 * Parameterized Types
292 We now support parameterized collection types, such as:
293 ArrayRef[Int] # array or integers
294 HashRef[Object] # a hash with object values
295 They can also be nested:
296 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
297 And work with the type unions as well:
298 ArrayRef[Int | Str] # array of integers of strings
300 * Better Framework Extendability
301 Moose.pm is now "extendable" such that it is now much
302 easier to extend the framework and add your own keywords
303 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
304 section of the Moose.pm docs.
307 In an effort to begin documenting some of the various
308 details of Moose as well as some common idioms, we have
309 created Moose::Cookbook::Snacks as a place to find
310 small (easily digestable) nuggets of Moose code.
313 ~ Several doc updates/cleanup thanks to castaway ~
315 - converted build system to use Module::Install instead of
316 Module::Build (thanks to jrockway)
319 - added all the meta classes to the immutable list and
320 set it to inline the accessors
321 - fix import to allow Sub::Exporter like { into => }
322 and { into_level => } (perigrin)
323 - exposed and documented init_meta() to allow better
324 embedding and extending of Moose (perigrin)
327 - complete re-organization of the test suite
328 - added some new tests as well
329 - finally re-enabled the Moose::POOP test since
330 the new version of DBM::Deep now works again
334 - fixed very odd and very nasty recursion bug with
336 - added tests for this (eilara)
338 * Moose::Meta::Attribute
339 Moose::Meta::Method::Constructor
340 Moose::Meta::Method::Accessor
341 - fixed issue with overload::Overloaded getting called
342 on non-blessed items. (RT #29269)
343 - added tests for this
345 * Moose::Meta::Method::Accessor
346 - fixed issue with generated accessor code making
347 assumptions about hash based classes (thanks to dexter)
349 * Moose::Coookbook::Snacks
350 - these are bits of documentation, not quite as big as
351 Recipes but which have no clear place in the module docs.
352 So they are Snacks! (horray for castaway++)
354 * Moose::Cookbook::Recipe4
355 - updated it to use the new ArrayRef[MyType] construct
356 - updated the accompanying test as well
358 +++ Major Refactor of the Type Constraint system +++
359 +++ with new features added as well +++
361 * Moose::Util::TypeConstraint
362 - no longer uses package variable to keep track of
363 the type constraints, now uses the an instance of
364 Moose::Meta::TypeConstraint::Registry to do it
365 - added more sophisticated type notation parsing
367 - added tests for this
369 * Moose::Meta::TypeConstraint
370 - some minor adjustments to make subclassing easier
371 - added the package_defined_in attribute so that we
372 can track where the type constraints are created
374 * Moose::Meta::TypeConstraint::Union
375 - this is now been refactored to be a subclass of
376 Moose::Meta::TypeConstraint
378 * Moose::Meta::TypeCoercion::Union
379 - this has been added to service the newly refactored
380 Moose::Meta::TypeConstraint::Union and is itself
381 a subclass of Moose::Meta::TypeCoercion
383 * Moose::Meta::TypeConstraint::Parameterized
384 - added this module (taken from MooseX::AttributeHelpers)
385 to help construct nested collection types
386 - added tests for this
388 * Moose::Meta::TypeConstraint::Registry
389 - added this class to keep track of type constraints
391 0.25 Mon. Aug. 13, 2007
393 - Documentation update to reference Moose::Util::TypeConstraints
394 under 'isa' in 'has' for how to define a new type
397 * Moose::Meta::Attribute
398 - required attributes now will no longer accept undef
399 from the constructor, even if there is a default and lazy
400 - added tests for this
401 - default subroutines must return a value which passes the
403 - added tests for this
405 * Moose::Meta::Attribute
406 * Moose::Meta::Method::Constructor
407 * Moose::Meta::Method::Accessor
408 - type-constraint tests now handle overloaded objects correctly
410 - added tests for this (thanks to EvanCarroll)
412 * Moose::Meta::TypeConstraint::Union
413 - added (has_)hand_optimized_constraint to this class so that
414 it behaves as the regular Moose::Meta::TypeConstraint does.
417 - large refactoring of this code
418 - added several more tests
419 - tests for subtle conflict resolition issues
420 added, but not currently running
423 * Moose::Cookbook::Recipe7
424 - added new recipe for augment/inner functionality
426 - added test for this
429 - a formal definition of roles (still in progress)
432 - utilities for easier working with Moose classes
433 - added tests for these
436 - This contains Moose specific test functions
437 - added tests for these
439 0.24 Tues. July 3, 2007
440 ~ Some doc updates/cleanup ~
442 * Moose::Meta::Attribute
443 - added support for roles to be given as parameters
444 to the 'handles' option.
445 - added tests and docs for this
446 - the has '+foo' attribute form now accepts changes to
447 the lazy option, and the addition of a handles option
448 (but not changing the handles option)
449 - added tests and docs for this
452 - required methods are now fetched using find_method_by_name
453 so that required methods can come from superclasses
454 - adjusted tests for this
456 0.23 Mon. June 18, 2007
457 * Moose::Meta::Method::Constructor
458 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
460 - Modify make_immutable to work with the new Class::MOP immutable
461 mechanism + POD + very basic test (groditi)
462 * Moose::Meta::Attribute
463 - Fix handles to use goto() so that caller() comes out properly on
464 the other side (perigrin)
466 0.22 Thurs. May 31, 2007
467 * Moose::Util::TypeConstraints
468 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
469 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
470 prototypes for functions
471 - added the ClassName type constraint, this checks for strings
472 which will respond true to ->isa(UNIVERSAL).
473 - added tests and docs for this
474 - subtyping just in name now works correctly by making the
475 default for where be { 1 }
476 - added test for this
478 * Moose::Meta::Method::Accessor
479 - coerce and lazy now work together correctly, thanks to
480 merlyn for finding this bug
481 - tests added for this
482 - fix reader presedence bug in Moose::Meta::Attribute + tests
485 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
486 a HASH-ref and missed. This produces better error messages then
487 having it die cause undef is not a HASH.
488 - added tests for this
490 0.21 Thursday, May 2nd, 2007
492 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
493 - modified unimport to remove super and inner along with the rest
494 - altered unimport tests to handle this
497 - altered super export to populate SUPER_SLOT
500 - altered augment and override modifier application to use *_SLOT
501 - modified tests for these to unimport one test class each to test
504 - fixed issue where custom attribute metaclasses
505 where not handled correctly in roles
506 - added tests for this
509 - fixed issue where extending metaclasses with
510 roles would blow up. Thanks to Aankhen`` for
511 finding this insidious error, and it's solution.
513 ~~ lots of spelling and grammer fixes in the docs,
514 many many thanks to rlb3 and Aankhen for these :)
516 0.20 Friday, April 6th, 2007
517 >> I messed up the SKIP logic in one test
518 so this release is just to fix that.
521 - 'has' now also accepts an ARRAY ref
522 to create multiple attrs (see docs)
523 (thanks to konobi for this)
524 - added tests and docs
526 0.19 Thurs. April 5th, 2007
527 ~~ More documentation updates ~~
529 * Moose::Util::TypeConstraints
530 - 'type' now supports messages as well
531 thanks to phaylon for finding this
532 - added tests for this
533 - added &list_all_type_constraints and
534 &list_all_builtin_type_constraints
535 functions to facilitate introspection.
537 * Moose::Meta::Attribute
538 - fixed regexp 'handles' declarations
539 to build the list of delegated methods
540 correctly (and not override important
541 things like &new) thanks to ashleyb
543 - added tests and docs for this
544 - added the 'documentation' attributes
545 so that you can actually document your
546 attributes and inspect them through the
548 - added tests and docs for this
551 - when loading custom attribute metaclasses
552 it will first look in for the class in the
553 Moose::Meta::Attribute::Custom::$name, and
554 then default to just loading $name.
555 - added tests and docs for this
557 * Moose::Meta::TypeConstraint
558 - type constraints now stringify to their names.
559 - added test for this
562 - added tests to assure we work with Module::Refresh
563 - added stricter test skip logic in the Moose POOP
564 test, ask Rob Kinyon why.
565 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
567 0.18 Sat. March 10, 2007
568 ~~ Many, many documentation updates ~~
571 - We now use Class::MOP::load_class to
573 - added tests to show types and subtypes
574 working with Declare::Constraints::Simple
575 and Test::Deep as constraint engines.
578 !! You must have Class::MOP 0.37_001 !!
579 !! for this developer release to work !!
581 This release was primarily adding the immutable
582 feature to Moose. An immutable class is one which
583 you promise not to alter. When you set the class
584 as immutable it will perform various bits of
585 memoization and inline certain part of the code
586 (constructors, destructors and accessors). This
587 minimizes (and in some cases totally eliminates)
588 one of Moose's biggest performance hits. This
589 feature is not on by default, and is 100% optional.
590 It has several configurable bits as well, so you
591 can pick and choose to your specific needs.
593 The changes involved in this were fairly wide and
594 highly specific, but 100% backwards compatible, so
595 I am not going to enumerate them here. If you are
596 truely interested in what was changed, please do
599 0.17 Tues. Nov. 14, 2006
600 * Moose::Meta::Method::Accessor
601 - bugfix for read-only accessors which
602 are have a type constraint and lazy.
603 Thanks to chansen for finding it.
605 0.16 Tues. Nov. 14, 2006
607 There are some speed improvements in this release,
608 but they are only the begining, so stay tuned.
611 - BUILDALL and DEMOLISHALL no longer get
612 called unless they actually need to be.
613 This gave us a signifigant speed boost
614 for the cases when there is no BUILD or
615 DEMOLISH method present.
617 * Moose::Util::TypeConstraints
618 * Moose::Meta::TypeConstraint
619 - added an 'optimize_as' option to the
620 type constraint, which allows for a
621 hand optimized version of the type
622 constraint to be used when possible.
623 - Any internally created type constraints
624 now provide an optimized version as well.
626 0.15 Sun. Nov. 5, 2006
628 This version of Moose *must* have Class::MOP 0.36 in order
629 to work correctly. A number of small internal tweaks have
630 been made in order to be compatible with that release.
632 * Moose::Util::TypeConstraints
633 - added &unimport so that you can clean out
634 your class namespace of these exported
638 - fixed minor issue which occasionally
639 comes up during global destruction
641 - moved Moose::Meta::Method::Overriden into
645 - moved Moose::Meta::Role::Method into
648 * Moose::Meta::Attribute
649 - changed how we do type checks so that
650 we reduce the overall cost, but still
653 - moved accessor generation methods to
654 Moose::Meta::Method::Accessor to
655 conform to the API changes from
658 * Moose::Meta::TypeConstraint
659 - changed how constraints are compiled
660 so that we do less recursion and more
661 iteration. This makes the type check
663 - moved Moose::Meta::TypeConstraint::Union
666 * Moose::Meta::Method::Accessor
667 - created this from methods formerly found in
668 Moose::Meta::Attribute
670 * Moose::Meta::Role::Method
671 - moved this from Moose::Meta::Role
673 * Moose::Meta::Method::Overriden
674 - moved this from Moose::Meta::Class
676 * Moose::Meta::TypeConstraint::Union
677 - moved this from Moose::Meta::TypeConstraint
679 0.14 Mon. Oct. 9, 2006
681 * Moose::Meta::Attribute
682 - fixed lazy attributes which were not getting
683 checked with the type constraint (thanks ashley)
684 - added tests for this
685 - removed the over-enthusiastic DWIMery of the
686 automatic ArrayRef and HashRef defaults, it
687 broke predicates in an ugly way.
688 - removed tests for this
690 0.13 Sat. Sept. 30, 2006
692 This version of Moose *must* have Class::MOP 0.35 in order
693 to work correctly. A number of small internal tweaks have
694 been made in order to be compatible with that release.
697 - Removed the use of UNIVERSAL::require to be a better
698 symbol table citizen and remove a dependency
699 (thanks Adam Kennedy)
701 **~~ removed experimental & undocumented feature ~~**
702 - commented out the 'method' and 'self' keywords, see the
703 comments for more info.
706 - added a FAQ and WTF files to document frequently
707 asked questions and common problems
709 * Moose::Util::TypeConstraints
710 - added GlobRef and FileHandle type constraint
711 - added tests for this
713 * Moose::Meta::Attribute
714 - if your attribute 'isa' ArrayRef of HashRef, and you have
715 not explicitly set a default, then make the default DWIM.
716 This will also work for subtypes of ArrayRef and HashRef
718 - you can now auto-deref subtypes of ArrayRef or HashRef too.
719 - new test added for this (thanks to ashley)
722 - added basic support for runtime role composition
723 but this is still *highly experimental*, so feedback
724 is much appreciated :)
725 - added tests for this
727 * Moose::Meta::TypeConstraint
728 - the type constraint now handles the coercion process
729 through delegation, this is to support the coercion
732 * Moose::Meta::TypeConstraint::Union
733 - it is now possible for coercions to be performed
735 - added tests for this (thanks to konobi)
737 * Moose::Meta::TypeCoercion
738 - properly capturing error when type constraint
742 - Scalar::Util 1.18 is bad on Win32, so temporarily
743 only require version 1.17 for Win32 and cygwin.
744 (thanks Adam Kennedy)
746 0.12 Sat. Sept. 1, 2006
748 - Recipe5 (subtypes & coercion) has been written
751 - fixed "bad meta" error message to be more descriptive
752 - fixed &unimport to not remove the &inner and &super
753 keywords because we need to localize them.
754 - fixed number of spelling/grammer issues, thanks Theory :)
756 **~~ experimental & undocumented feature ~~**
757 - added the method and self keywords, they are basically
758 just sugar, and they may not stay around.
761 - added &dump method to easily Data::Dumper
764 * Moose::Meta::TypeConstraint
765 - added the &is_a_type_of method to check both the current
766 and the subtype of a method (similar to &isa with classes)
769 - this is now a subclass of Class::MOP::Module, and no longer
770 creates the _role_meta ugliness of before.
771 - fixed tests to reflect this change
773 0.11 Wed. July 12, 2006
775 - added an &unimport method to remove all the keywords
776 that Moose will import, simply add 'no Moose' to the
777 bottom of your class file.
780 - fixed some test failures caused by a forgotten test
783 0.10 Thurs. July 6, 2006
785 - improved error message when loading modules so
786 it is less confusing when you load a role.
787 - added &calculate_all_roles method to
788 Moose::Meta::Class and Moose::Meta::Role
791 This module has been tested against Class::MOP 0.30
792 but it does not yet utilize the optimizations
793 it makes available. Stay tuned for that ;)
795 0.09_03 Fri. June 23, 2006
796 ++ DEVELOPER RELEASE ++
798 - 'use strict' and 'use warnings' are no longer
799 needed in Moose classes, Moose itself will
800 turn them on for you.
801 - added tests for this
802 - moved code from exported subs to private methods
803 in Moose::Meta::Class
806 - as with Moose, strict and warnings are
807 automatically turned on for you.
808 - added tests for this
811 - now handles an edge case for override errors
812 - added tests for this
813 - added some more edge case tests
815 0.09_02 Tues. May 16, 2006
816 ++ DEVELOPER RELEASE ++
818 - added prototypes to the exported subs
822 - added prototypes to the exported subs
825 * Moose::Util::TypeConstraints
826 - cleaned up prototypes for the subs
829 0.09_01 Fri. May 12, 2006
830 ++ DEVELOPER RELEASE ++
831 - This release works in combination with
832 Class::MOP 0.29_01, it is a developer
833 release because it uses the a new
834 instance sub-protocol and a fairly
835 complete Role implementation. It has
836 not yet been optimized, so it slower
837 the the previous CPAN version. This
838 release also lacks good updated docs,
839 the official release will have updated docs.
842 - refactored the keyword exports
843 - 'with' now checks Role validaity and
844 accepts more than one Role at a time
845 - 'extends' makes metaclass adjustments as
846 needed to ensure metaclass compatability
849 - refactored the keyword exports
850 - 'with' now checks Role validaity and
851 accepts more than one Role at a time
853 * Moose::Util::TypeConstraints
854 - added the 'enum' keyword for simple
855 string enumerations which can be used as
857 - see example of usage in t/202_example.t
860 - more careful checking of params to new()
863 - much work done on the role composition
864 - many new tests for conflict detection
865 and composition edge cases
866 - not enough documentation, I suggest
869 * Moose::Meta::Instance
870 - added new Instance metaclass to support
871 the new Class::MOP instance protocol
874 - some small changes to support the new
876 - some small additions to support Roles
878 * Moose::Meta::Attribute
879 - some improvements to the accessor generation code
881 - some small changes to support the new
883 - (still somewhat) experimental delegation support
884 with the 'handles' option
885 - added several tests for this
886 - no docs for this yet
888 0.05 Thurs. April 27, 2006
890 - keywords are now exported with Sub::Exporter
891 thanks to chansen for this commit
892 - has keyword now takes a 'metaclass' option
893 to support custom attribute meta-classes
894 on a per-attribute basis
895 - added tests for this
896 - the 'has' keyword not accepts inherited slot
897 specifications (has '+foo'). This is still an
898 experimental feature and probably not finished
899 see t/038_attribute_inherited_slot_specs.t for
900 more details, or ask about it on #moose
901 - added tests for this
904 - keywords are now exported with Sub::Exporter
906 * Moose::Utils::TypeConstraints
907 - reorganized the type constraint hierarchy, thanks
908 to nothingmuch and chansen for his help and advice
910 - added some tests for this
911 - keywords are now exported with Sub::Exporter
912 thanks to chansen for this commit
915 - due to changes in Class::MOP, we had to change
916 construct_instance (for the better)
918 * Moose::Meta::Attribute
919 - due to changes in Class::MOP, we had to add the
920 initialize_instance_slot method (it's a good thing)
922 * Moose::Meta::TypeConstraint
923 - added type constraint unions
924 - added tests for this
925 - added the is_subtype_of predicate method
926 - added tests for this
928 0.04 Sun. April 16th, 2006
930 - Roles can now consume other roles
931 - added tests for this
932 - Roles can specify required methods now with
933 the requires() keyword
934 - added tests for this
937 - ripped out much of it's guts ,.. much cleaner now
938 - added required methods and correct handling of
939 them in apply() for both classes and roles
940 - added tests for this
941 - no longer adds a does() method to consuming classes
942 it relys on the one in Moose::Object
943 - added roles attribute and some methods to support
944 roles consuming roles
946 * Moose::Meta::Attribute
947 - added support for triggers on attributes
948 - added tests for this
949 - added support for does option on an attribute
950 - added tests for this
953 - added support for attribute triggers in the
955 - added tests for this
958 - Moose no longer creates a subtype for your class
959 if a subtype of the same name already exists, this
960 should DWIM in 99.9999% of all cases
962 * Moose::Util::TypeConstraints
963 - fixed bug where incorrect subtype conflicts were
965 - added test for this
968 - this class can now be extended with 'use base' if
969 you need it, it properly loads the metaclass class now
970 - added test for this
972 0.03_02 Wed. April 12, 2006
974 - you must now explictly use Moose::Util::TypeConstraints
975 it no longer gets exported for you automatically
978 - new() now accepts hash-refs as well as key/value lists
979 - added does() method to check for Roles
980 - added tests for this
983 - added roles attribute along with the add_role() and
985 - added tests for this
988 - now adds a does() method to consuming classes
989 which tests the class's hierarchy for roles
990 - added tests for this
992 0.03_01 Mon. April 10, 2006
994 - added new Role recipe (no content yet, only code)
997 - added 'with' keyword for Role support
998 - added test and docs for this
999 - fixed subtype quoting bug
1000 - added test for this
1004 - added test and docs
1006 * Moose::Util::TypeConstraints
1007 - added the message keyword to add custom
1008 error messages to type constraints
1011 - the meta role to support Moose::Role
1012 - added tests and docs
1014 * Moose::Meta::Class
1015 - moved a number of things from Moose.pm
1016 to here, they should have been here
1019 * Moose::Meta::Attribute
1020 - moved the attribute option macros here
1021 instead of putting them in Moose.pm
1023 * Moose::Meta::TypeConstraint
1024 - added the message attributes and the
1026 - added tests and docs for this
1028 0.03 Thurs. March 30, 2006
1030 - added the Moose::Cookbook with 5 recipes,
1031 describing all the stuff Moose can do.
1034 - fixed an issue with &extends super class loading
1035 it now captures errors and deals with inline
1036 packages correctly (bug found by mst, solution
1038 - added super/override & inner/augment features
1039 - added tests and docs for these
1042 - BUILDALL now takes a reference of the %params
1043 that are passed to &new, and passes that to
1046 * Moose::Util::TypeConstraints
1047 - Type constraints now survive runtime reloading
1048 - added test for this
1050 * Moose::Meta::Class
1051 - fixed the way attribute defaults are handled
1052 during instance construction (bug found by chansen)
1054 * Moose::Meta::Attribute
1055 - read-only attributes now actually enforce their
1056 read-only-ness (this corrected in Class::MOP as
1059 0.02 Tues. March 21, 2006
1061 - many more tests, fixing some bugs and
1063 - &extends now loads the base module with
1065 - added UNIVERSAL::require to the
1068 - each new Moose class will also create
1069 and register a subtype of Object which
1070 correspond to the new Moose class.
1071 - the 'isa' option in &has now only
1072 accepts strings, and will DWIM in
1075 * Moose::Util::TypeConstraints
1076 - added type coercion features
1077 - added tests for this
1078 - added support for this in attributes
1079 and instance construction
1081 - type construction no longer creates a
1082 function, it registers the type instead.
1083 - added several functions to get the
1087 - BUILDALL and DEMOLISHALL were broken
1088 because of a mis-named hash key, Whoops :)
1090 * Moose::Meta::Attribute
1091 - adding support for coercion in the
1092 autogenerated accessors
1094 * Moose::Meta::Class
1095 - adding support for coercion in the
1096 instance construction
1098 * Moose::Meta::TypeConstraint
1099 * Moose::Meta::TypeCoercion
1100 - type constraints and coercions are now
1101 full fledges meta-objects
1103 0.01 Wed. March 15, 2006
1104 - Moooooooooooooooooose!!!