1 Revision history for Perl extension Moose
5 - fixed some details in Moose::init_meta
6 and its superclass handling (thanks thepler)
7 - added tests for this (thanks thepler)
8 - 'has' now dies if you don't pass in name
10 - added the 'make_immutable' keyword as a shortcut
11 to __PACKAGE__->meta->make_immutable
14 Moose::Meta::Method::Constructor
15 Moose::Meta::Attribute
16 - making (init_arg => undef) work here too
17 (thanks to nothingmuch)
18 - make lazy attributes respect attr initializers (rjbs)
20 * Moose::Util::TypeConstraints
21 Moose::Util::TypeConstraints::OptimizedConstraints
22 Moose::Meta::Attribute
23 Moose::Meta::Method::Constructor
24 Moose::Meta::Method::Accessor
25 - making type errors use the
26 assigned message (thanks to Sartak)
27 - added tests for this
29 * Moose::Meta::Method::Destructor
30 - making sure DESTROY gets inlined properly
31 with successive DEMOLISH calls (thanks to manito)
33 0.36 Sat. Jan. 26, 2008
35 Moose::Meta::Attribute
36 - role type tests now support when roles are
37 applied to non-Moose classes (found by ash)
38 - added tests for this (thanks to ash)
39 - couple extra tests to boost code coverage
41 * Moose::Meta::Method::Constructor
42 - improved fix for handling Class::MOP attributes
46 - handled the add_attribute($attribute_meta_object)
50 0.35 Tues. Jan. 22, 2008
51 * Moose::Meta::Method::Constructor
52 - fix to make sure even Class::MOP attributes
53 are handled correctly (Thanks to Dave Rolsky)
54 - added test for this (also Dave Rolsky)
57 - improved error message on _apply_all_roles,
58 you should now use Moose::Util::apply_all_roles
59 and you shouldnt have been using a _ prefixed
60 method in the first place ;)
62 0.34 Mon. Jan. 21, 2008
63 ~~~ more misc. doc. fixes ~~~
64 ~~ updated copyright dates ~~
66 Moose is now a postmodern object system :)
67 - (see the POD for details)
69 * <<Role System Refactoring>>
70 - this release contains a major reworking and
71 cleanup of the role system
72 - 100% backwards compat.
73 - Role application now restructured into seperate
74 classes based on type of applicants
75 - Role summation (combining of more than one role)
76 is much cleaner and anon-classes are no longer
78 - new Composite role metaclass
79 - runtime application of roles to instances
80 is now more efficient and re-uses generated
81 classes when applicable
83 * <<New Role composition features>>
84 - methods can now be excluded from a given role
86 - methods can now be aliased to another name (and
87 still retain the original as well)
89 * Moose::Util::TypeConstraints::OptimizedConstraints
90 - added this module (see above)
93 - fixed the &_process_attribute method to be called
94 by &add_attribute, so that the API is now correct
96 * Moose::Meta::Method::Accessor
97 - fixed bug when passing a list of values to
98 an accessor would get (incorrectly) ignored.
99 Thanks to Sartak for finding this ;)
100 - added tests for this (Sartak again)
102 * Moose::Meta::Method::Accessor
103 Moose::Meta::Method::Constructor
104 Moose::Meta::Attribute
105 Moose::Meta::TypeConstraint
106 Moose::Meta::TypeCoercion
107 - lots of cleanup of such things as:
109 - type constraint handling
110 - error handling/messages
111 (thanks to nothingmuch)
113 * Moose::Meta::TypeConstraint::Parameterizable
114 - added this module to support the refactor
115 in Moose::Meta::TypeConstraint::Parameterized
117 * Moose::Meta::TypeConstraint::Parameterized
118 - refactored how these types are handled so they
119 are more generic and not confined to ArrayRef
123 - shortened some file names for better VMS support (RT #32381)
125 0.33 Fri. Dec. 14, 2007
126 !! Moose now loads 2 x faster !!
127 !! with new Class::MOP 0.49 !!
129 ++ new oose.pm module to make command line
130 Moose-ness easier (see POD docs for more)
134 - several tweaks to take advantage of the
135 new method map caching in Class::MOP
137 * Moose::Meta::TypeConstraint::Parameterized
138 - allow subtypes of ArrayRef and HashRef to
139 be used as a container (sartak)
140 - added tests for this
141 - basic support for coercion to ArrayRef and
142 HashRef for containers (sartak)
143 - added tests for this
145 * Moose::Meta::TypeCoercion
146 - coercions will now create subtypes as needed
147 so you can now add coercions to parameterized
148 types without having to explictly define them
149 - added tests for this
151 * Moose::Meta::Method::Accessor
152 - allow subclasses to decide whether we need
153 to copy the value into a new variable (sartak)
155 0.32 Tues. Dec. 4, 2007
156 * Moose::Util::TypeConstraints
157 - fixing how subtype aliases of unions work
158 they should inherit the parent's coercion
159 - added tests for this
160 - you can now define multiple coercions on
161 a single type at different times instead of
162 having to do it all in one place
163 - added tests for this
165 * Moose::Meta::TypeConstraint
166 - there is now a default constraint of sub { 1 }
167 instead of Moose::Util::TypeConstraints setting
170 * Moose::Meta::TypeCoercion
171 * Moose::Meta::TypeCoercion::Union
172 - added the &has_coercion_for_type and
173 &add_type_coercions methods to support the
174 new features above (although you cannot add
175 more type coercions for Union types)
177 0.31 Mon. Nov. 26, 2007
178 * Moose::Meta::Attribute
179 - made the +attr syntax handle extending types with
180 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
181 now works if the original foo is an ArrayRef.
182 - added tests for this.
183 - delegation now works even if the attribute does not
184 have a reader method using the get_read_method_ref
185 method from Class::MOP::Attribute.
186 - added tests for this
187 - added docs for this
189 * Moose::Util::TypeConstraints
190 - passing no "additional attribute info" to
191 &find_or_create_type_constraint will no longer
192 attempt to create an __ANON__ type for you,
193 instead it will just return undef.
194 - added docs for this
196 0.30 Fri. Nov. 23, 2007
197 * Moose::Meta::Method::Constructor
198 -builder related bug in inlined constructor. (groditi)
200 * Moose::Meta::Method::Accessor
201 - genereate unnecessary calls to predicates and refactor
202 code generation for runtime speed (groditi)
204 * Moose::Util::TypeConstraints
205 - fix ClassName constraint to introspect symbol table (mst)
206 - added more tests for this (mst)
207 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
209 - added tests for this
212 - adding the link to Recipie 11 (written by Sartak)
213 - adding test for SYNOPSIS code
216 - New tests for builder bug. Upon instantiation, if an
217 attribute had a builder, no value and was not lazy the
218 builder default was not getting run, oops. (groditi)
220 0.29 Tues. Nov. 13, 2007
221 * Moose::Meta::Attribute
222 - Fix error message on missing builder method (groditi)
224 * Moose::Meta::Method::Accessor
225 - Fix error message on missing builder method (groditi)
228 - Add test to check for the correct error message when
229 builder method is missing (groditi)
231 0.28 Tues. Nov. 13, 2007
232 - 0.27 packaged incorrectly (groditi)
234 0.27 Tues. Nov. 13, 2007
235 * Moose::Meta::Attribute
236 - Added support for the new builder option (groditi)
237 - Added support for lazy_build option (groditi)
238 - Changed slot initialization for predicate changes (groditi)
240 * Moose::Meta::Method::Accessor
241 - Added support for lazy_build option (groditi)
242 - Fix inline methods to work with corrected predicate
245 * Moose::Meta::Method::Constructor
246 - Added support for lazy_build option (groditi)
249 - tests for builder and lazy_build (groditi)
251 * fixing some misc. bits in the docs that
252 got mentioned on CPAN Forum & perlmonks
255 - fixed how required methods are handled
256 when they encounter overriden or modified
257 methods from a class (thanks to confound).
258 - added tests for this
260 * Moose::Util::TypeConstraint
261 - fixed the type notation parser so that
262 the | always creates a union and so is
263 no longer a valid type char (thanks to
264 konobi, mugwump and #moose for working
266 - added more tests for this
268 0.26 Thurs. Sept. 27, 2007
271 * Parameterized Types
272 We now support parameterized collection types, such as:
273 ArrayRef[Int] # array or integers
274 HashRef[Object] # a hash with object values
275 They can also be nested:
276 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
277 And work with the type unions as well:
278 ArrayRef[Int | Str] # array of integers of strings
280 * Better Framework Extendability
281 Moose.pm is now "extendable" such that it is now much
282 easier to extend the framework and add your own keywords
283 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
284 section of the Moose.pm docs.
287 In an effort to begin documenting some of the various
288 details of Moose as well as some common idioms, we have
289 created Moose::Cookbook::Snacks as a place to find
290 small (easily digestable) nuggets of Moose code.
293 ~ Several doc updates/cleanup thanks to castaway ~
295 - converted build system to use Module::Install instead of
296 Module::Build (thanks to jrockway)
299 - added all the meta classes to the immutable list and
300 set it to inline the accessors
301 - fix import to allow Sub::Exporter like { into => }
302 and { into_level => } (perigrin)
303 - exposed and documented init_meta() to allow better
304 embedding and extending of Moose (perigrin)
307 - complete re-organization of the test suite
308 - added some new tests as well
309 - finally re-enabled the Moose::POOP test since
310 the new version of DBM::Deep now works again
314 - fixed very odd and very nasty recursion bug with
316 - added tests for this (eilara)
318 * Moose::Meta::Attribute
319 Moose::Meta::Method::Constructor
320 Moose::Meta::Method::Accessor
321 - fixed issue with overload::Overloaded getting called
322 on non-blessed items. (RT #29269)
323 - added tests for this
325 * Moose::Meta::Method::Accessor
326 - fixed issue with generated accessor code making
327 assumptions about hash based classes (thanks to dexter)
329 * Moose::Coookbook::Snacks
330 - these are bits of documentation, not quite as big as
331 Recipes but which have no clear place in the module docs.
332 So they are Snacks! (horray for castaway++)
334 * Moose::Cookbook::Recipe4
335 - updated it to use the new ArrayRef[MyType] construct
336 - updated the accompanying test as well
338 +++ Major Refactor of the Type Constraint system +++
339 +++ with new features added as well +++
341 * Moose::Util::TypeConstraint
342 - no longer uses package variable to keep track of
343 the type constraints, now uses the an instance of
344 Moose::Meta::TypeConstraint::Registry to do it
345 - added more sophisticated type notation parsing
347 - added tests for this
349 * Moose::Meta::TypeConstraint
350 - some minor adjustments to make subclassing easier
351 - added the package_defined_in attribute so that we
352 can track where the type constraints are created
354 * Moose::Meta::TypeConstraint::Union
355 - this is now been refactored to be a subclass of
356 Moose::Meta::TypeConstraint
358 * Moose::Meta::TypeCoercion::Union
359 - this has been added to service the newly refactored
360 Moose::Meta::TypeConstraint::Union and is itself
361 a subclass of Moose::Meta::TypeCoercion
363 * Moose::Meta::TypeConstraint::Parameterized
364 - added this module (taken from MooseX::AttributeHelpers)
365 to help construct nested collection types
366 - added tests for this
368 * Moose::Meta::TypeConstraint::Registry
369 - added this class to keep track of type constraints
371 0.25 Mon. Aug. 13, 2007
373 - Documentation update to reference Moose::Util::TypeConstraints
374 under 'isa' in 'has' for how to define a new type
377 * Moose::Meta::Attribute
378 - required attributes now will no longer accept undef
379 from the constructor, even if there is a default and lazy
380 - added tests for this
381 - default subroutines must return a value which passes the
383 - added tests for this
385 * Moose::Meta::Attribute
386 * Moose::Meta::Method::Constructor
387 * Moose::Meta::Method::Accessor
388 - type-constraint tests now handle overloaded objects correctly
390 - added tests for this (thanks to EvanCarroll)
392 * Moose::Meta::TypeConstraint::Union
393 - added (has_)hand_optimized_constraint to this class so that
394 it behaves as the regular Moose::Meta::TypeConstraint does.
397 - large refactoring of this code
398 - added several more tests
399 - tests for subtle conflict resolition issues
400 added, but not currently running
403 * Moose::Cookbook::Recipe7
404 - added new recipe for augment/inner functionality
406 - added test for this
409 - a formal definition of roles (still in progress)
412 - utilities for easier working with Moose classes
413 - added tests for these
416 - This contains Moose specific test functions
417 - added tests for these
419 0.24 Tues. July 3, 2007
420 ~ Some doc updates/cleanup ~
422 * Moose::Meta::Attribute
423 - added support for roles to be given as parameters
424 to the 'handles' option.
425 - added tests and docs for this
426 - the has '+foo' attribute form now accepts changes to
427 the lazy option, and the addition of a handles option
428 (but not changing the handles option)
429 - added tests and docs for this
432 - required methods are now fetched using find_method_by_name
433 so that required methods can come from superclasses
434 - adjusted tests for this
436 0.23 Mon. June 18, 2007
437 * Moose::Meta::Method::Constructor
438 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
440 - Modify make_immutable to work with the new Class::MOP immutable
441 mechanism + POD + very basic test (groditi)
442 * Moose::Meta::Attribute
443 - Fix handles to use goto() so that caller() comes out properly on
444 the other side (perigrin)
446 0.22 Thurs. May 31, 2007
447 * Moose::Util::TypeConstraints
448 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
449 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
450 prototypes for functions
451 - added the ClassName type constraint, this checks for strings
452 which will respond true to ->isa(UNIVERSAL).
453 - added tests and docs for this
454 - subtyping just in name now works correctly by making the
455 default for where be { 1 }
456 - added test for this
458 * Moose::Meta::Method::Accessor
459 - coerce and lazy now work together correctly, thanks to
460 merlyn for finding this bug
461 - tests added for this
462 - fix reader presedence bug in Moose::Meta::Attribute + tests
465 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
466 a HASH-ref and missed. This produces better error messages then
467 having it die cause undef is not a HASH.
468 - added tests for this
470 0.21 Thursday, May 2nd, 2007
472 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
473 - modified unimport to remove super and inner along with the rest
474 - altered unimport tests to handle this
477 - altered super export to populate SUPER_SLOT
480 - altered augment and override modifier application to use *_SLOT
481 - modified tests for these to unimport one test class each to test
484 - fixed issue where custom attribute metaclasses
485 where not handled correctly in roles
486 - added tests for this
489 - fixed issue where extending metaclasses with
490 roles would blow up. Thanks to Aankhen`` for
491 finding this insidious error, and it's solution.
493 ~~ lots of spelling and grammer fixes in the docs,
494 many many thanks to rlb3 and Aankhen for these :)
496 0.20 Friday, April 6th, 2007
497 >> I messed up the SKIP logic in one test
498 so this release is just to fix that.
501 - 'has' now also accepts an ARRAY ref
502 to create multiple attrs (see docs)
503 (thanks to konobi for this)
504 - added tests and docs
506 0.19 Thurs. April 5th, 2007
507 ~~ More documentation updates ~~
509 * Moose::Util::TypeConstraints
510 - 'type' now supports messages as well
511 thanks to phaylon for finding this
512 - added tests for this
513 - added &list_all_type_constraints and
514 &list_all_builtin_type_constraints
515 functions to facilitate introspection.
517 * Moose::Meta::Attribute
518 - fixed regexp 'handles' declarations
519 to build the list of delegated methods
520 correctly (and not override important
521 things like &new) thanks to ashleyb
523 - added tests and docs for this
524 - added the 'documentation' attributes
525 so that you can actually document your
526 attributes and inspect them through the
528 - added tests and docs for this
531 - when loading custom attribute metaclasses
532 it will first look in for the class in the
533 Moose::Meta::Attribute::Custom::$name, and
534 then default to just loading $name.
535 - added tests and docs for this
537 * Moose::Meta::TypeConstraint
538 - type constraints now stringify to their names.
539 - added test for this
542 - added tests to assure we work with Module::Refresh
543 - added stricter test skip logic in the Moose POOP
544 test, ask Rob Kinyon why.
545 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
547 0.18 Sat. March 10, 2007
548 ~~ Many, many documentation updates ~~
551 - We now use Class::MOP::load_class to
553 - added tests to show types and subtypes
554 working with Declare::Constraints::Simple
555 and Test::Deep as constraint engines.
558 !! You must have Class::MOP 0.37_001 !!
559 !! for this developer release to work !!
561 This release was primarily adding the immutable
562 feature to Moose. An immutable class is one which
563 you promise not to alter. When you set the class
564 as immutable it will perform various bits of
565 memoization and inline certain part of the code
566 (constructors, destructors and accessors). This
567 minimizes (and in some cases totally eliminates)
568 one of Moose's biggest performance hits. This
569 feature is not on by default, and is 100% optional.
570 It has several configurable bits as well, so you
571 can pick and choose to your specific needs.
573 The changes involved in this were fairly wide and
574 highly specific, but 100% backwards compatible, so
575 I am not going to enumerate them here. If you are
576 truely interested in what was changed, please do
579 0.17 Tues. Nov. 14, 2006
580 * Moose::Meta::Method::Accessor
581 - bugfix for read-only accessors which
582 are have a type constraint and lazy.
583 Thanks to chansen for finding it.
585 0.16 Tues. Nov. 14, 2006
587 There are some speed improvements in this release,
588 but they are only the begining, so stay tuned.
591 - BUILDALL and DEMOLISHALL no longer get
592 called unless they actually need to be.
593 This gave us a signifigant speed boost
594 for the cases when there is no BUILD or
595 DEMOLISH method present.
597 * Moose::Util::TypeConstraints
598 * Moose::Meta::TypeConstraint
599 - added an 'optimize_as' option to the
600 type constraint, which allows for a
601 hand optimized version of the type
602 constraint to be used when possible.
603 - Any internally created type constraints
604 now provide an optimized version as well.
606 0.15 Sun. Nov. 5, 2006
608 This version of Moose *must* have Class::MOP 0.36 in order
609 to work correctly. A number of small internal tweaks have
610 been made in order to be compatible with that release.
612 * Moose::Util::TypeConstraints
613 - added &unimport so that you can clean out
614 your class namespace of these exported
618 - fixed minor issue which occasionally
619 comes up during global destruction
621 - moved Moose::Meta::Method::Overriden into
625 - moved Moose::Meta::Role::Method into
628 * Moose::Meta::Attribute
629 - changed how we do type checks so that
630 we reduce the overall cost, but still
633 - moved accessor generation methods to
634 Moose::Meta::Method::Accessor to
635 conform to the API changes from
638 * Moose::Meta::TypeConstraint
639 - changed how constraints are compiled
640 so that we do less recursion and more
641 iteration. This makes the type check
643 - moved Moose::Meta::TypeConstraint::Union
646 * Moose::Meta::Method::Accessor
647 - created this from methods formerly found in
648 Moose::Meta::Attribute
650 * Moose::Meta::Role::Method
651 - moved this from Moose::Meta::Role
653 * Moose::Meta::Method::Overriden
654 - moved this from Moose::Meta::Class
656 * Moose::Meta::TypeConstraint::Union
657 - moved this from Moose::Meta::TypeConstraint
659 0.14 Mon. Oct. 9, 2006
661 * Moose::Meta::Attribute
662 - fixed lazy attributes which were not getting
663 checked with the type constraint (thanks ashley)
664 - added tests for this
665 - removed the over-enthusiastic DWIMery of the
666 automatic ArrayRef and HashRef defaults, it
667 broke predicates in an ugly way.
668 - removed tests for this
670 0.13 Sat. Sept. 30, 2006
672 This version of Moose *must* have Class::MOP 0.35 in order
673 to work correctly. A number of small internal tweaks have
674 been made in order to be compatible with that release.
677 - Removed the use of UNIVERSAL::require to be a better
678 symbol table citizen and remove a dependency
679 (thanks Adam Kennedy)
681 **~~ removed experimental & undocumented feature ~~**
682 - commented out the 'method' and 'self' keywords, see the
683 comments for more info.
686 - added a FAQ and WTF files to document frequently
687 asked questions and common problems
689 * Moose::Util::TypeConstraints
690 - added GlobRef and FileHandle type constraint
691 - added tests for this
693 * Moose::Meta::Attribute
694 - if your attribute 'isa' ArrayRef of HashRef, and you have
695 not explicitly set a default, then make the default DWIM.
696 This will also work for subtypes of ArrayRef and HashRef
698 - you can now auto-deref subtypes of ArrayRef or HashRef too.
699 - new test added for this (thanks to ashley)
702 - added basic support for runtime role composition
703 but this is still *highly experimental*, so feedback
704 is much appreciated :)
705 - added tests for this
707 * Moose::Meta::TypeConstraint
708 - the type constraint now handles the coercion process
709 through delegation, this is to support the coercion
712 * Moose::Meta::TypeConstraint::Union
713 - it is now possible for coercions to be performed
715 - added tests for this (thanks to konobi)
717 * Moose::Meta::TypeCoercion
718 - properly capturing error when type constraint
722 - Scalar::Util 1.18 is bad on Win32, so temporarily
723 only require version 1.17 for Win32 and cygwin.
724 (thanks Adam Kennedy)
726 0.12 Sat. Sept. 1, 2006
728 - Recipe5 (subtypes & coercion) has been written
731 - fixed "bad meta" error message to be more descriptive
732 - fixed &unimport to not remove the &inner and &super
733 keywords because we need to localize them.
734 - fixed number of spelling/grammer issues, thanks Theory :)
736 **~~ experimental & undocumented feature ~~**
737 - added the method and self keywords, they are basically
738 just sugar, and they may not stay around.
741 - added &dump method to easily Data::Dumper
744 * Moose::Meta::TypeConstraint
745 - added the &is_a_type_of method to check both the current
746 and the subtype of a method (similar to &isa with classes)
749 - this is now a subclass of Class::MOP::Module, and no longer
750 creates the _role_meta ugliness of before.
751 - fixed tests to reflect this change
753 0.11 Wed. July 12, 2006
755 - added an &unimport method to remove all the keywords
756 that Moose will import, simply add 'no Moose' to the
757 bottom of your class file.
760 - fixed some test failures caused by a forgotten test
763 0.10 Thurs. July 6, 2006
765 - improved error message when loading modules so
766 it is less confusing when you load a role.
767 - added &calculate_all_roles method to
768 Moose::Meta::Class and Moose::Meta::Role
771 This module has been tested against Class::MOP 0.30
772 but it does not yet utilize the optimizations
773 it makes available. Stay tuned for that ;)
775 0.09_03 Fri. June 23, 2006
776 ++ DEVELOPER RELEASE ++
778 - 'use strict' and 'use warnings' are no longer
779 needed in Moose classes, Moose itself will
780 turn them on for you.
781 - added tests for this
782 - moved code from exported subs to private methods
783 in Moose::Meta::Class
786 - as with Moose, strict and warnings are
787 automatically turned on for you.
788 - added tests for this
791 - now handles an edge case for override errors
792 - added tests for this
793 - added some more edge case tests
795 0.09_02 Tues. May 16, 2006
796 ++ DEVELOPER RELEASE ++
798 - added prototypes to the exported subs
802 - added prototypes to the exported subs
805 * Moose::Util::TypeConstraints
806 - cleaned up prototypes for the subs
809 0.09_01 Fri. May 12, 2006
810 ++ DEVELOPER RELEASE ++
811 - This release works in combination with
812 Class::MOP 0.29_01, it is a developer
813 release because it uses the a new
814 instance sub-protocol and a fairly
815 complete Role implementation. It has
816 not yet been optimized, so it slower
817 the the previous CPAN version. This
818 release also lacks good updated docs,
819 the official release will have updated docs.
822 - refactored the keyword exports
823 - 'with' now checks Role validaity and
824 accepts more than one Role at a time
825 - 'extends' makes metaclass adjustments as
826 needed to ensure metaclass compatability
829 - refactored the keyword exports
830 - 'with' now checks Role validaity and
831 accepts more than one Role at a time
833 * Moose::Util::TypeConstraints
834 - added the 'enum' keyword for simple
835 string enumerations which can be used as
837 - see example of usage in t/202_example.t
840 - more careful checking of params to new()
843 - much work done on the role composition
844 - many new tests for conflict detection
845 and composition edge cases
846 - not enough documentation, I suggest
849 * Moose::Meta::Instance
850 - added new Instance metaclass to support
851 the new Class::MOP instance protocol
854 - some small changes to support the new
856 - some small additions to support Roles
858 * Moose::Meta::Attribute
859 - some improvements to the accessor generation code
861 - some small changes to support the new
863 - (still somewhat) experimental delegation support
864 with the 'handles' option
865 - added several tests for this
866 - no docs for this yet
868 0.05 Thurs. April 27, 2006
870 - keywords are now exported with Sub::Exporter
871 thanks to chansen for this commit
872 - has keyword now takes a 'metaclass' option
873 to support custom attribute meta-classes
874 on a per-attribute basis
875 - added tests for this
876 - the 'has' keyword not accepts inherited slot
877 specifications (has '+foo'). This is still an
878 experimental feature and probably not finished
879 see t/038_attribute_inherited_slot_specs.t for
880 more details, or ask about it on #moose
881 - added tests for this
884 - keywords are now exported with Sub::Exporter
886 * Moose::Utils::TypeConstraints
887 - reorganized the type constraint hierarchy, thanks
888 to nothingmuch and chansen for his help and advice
890 - added some tests for this
891 - keywords are now exported with Sub::Exporter
892 thanks to chansen for this commit
895 - due to changes in Class::MOP, we had to change
896 construct_instance (for the better)
898 * Moose::Meta::Attribute
899 - due to changes in Class::MOP, we had to add the
900 initialize_instance_slot method (it's a good thing)
902 * Moose::Meta::TypeConstraint
903 - added type constraint unions
904 - added tests for this
905 - added the is_subtype_of predicate method
906 - added tests for this
908 0.04 Sun. April 16th, 2006
910 - Roles can now consume other roles
911 - added tests for this
912 - Roles can specify required methods now with
913 the requires() keyword
914 - added tests for this
917 - ripped out much of it's guts ,.. much cleaner now
918 - added required methods and correct handling of
919 them in apply() for both classes and roles
920 - added tests for this
921 - no longer adds a does() method to consuming classes
922 it relys on the one in Moose::Object
923 - added roles attribute and some methods to support
924 roles consuming roles
926 * Moose::Meta::Attribute
927 - added support for triggers on attributes
928 - added tests for this
929 - added support for does option on an attribute
930 - added tests for this
933 - added support for attribute triggers in the
935 - added tests for this
938 - Moose no longer creates a subtype for your class
939 if a subtype of the same name already exists, this
940 should DWIM in 99.9999% of all cases
942 * Moose::Util::TypeConstraints
943 - fixed bug where incorrect subtype conflicts were
945 - added test for this
948 - this class can now be extended with 'use base' if
949 you need it, it properly loads the metaclass class now
950 - added test for this
952 0.03_02 Wed. April 12, 2006
954 - you must now explictly use Moose::Util::TypeConstraints
955 it no longer gets exported for you automatically
958 - new() now accepts hash-refs as well as key/value lists
959 - added does() method to check for Roles
960 - added tests for this
963 - added roles attribute along with the add_role() and
965 - added tests for this
968 - now adds a does() method to consuming classes
969 which tests the class's hierarchy for roles
970 - added tests for this
972 0.03_01 Mon. April 10, 2006
974 - added new Role recipe (no content yet, only code)
977 - added 'with' keyword for Role support
978 - added test and docs for this
979 - fixed subtype quoting bug
980 - added test for this
984 - added test and docs
986 * Moose::Util::TypeConstraints
987 - added the message keyword to add custom
988 error messages to type constraints
991 - the meta role to support Moose::Role
992 - added tests and docs
995 - moved a number of things from Moose.pm
996 to here, they should have been here
999 * Moose::Meta::Attribute
1000 - moved the attribute option macros here
1001 instead of putting them in Moose.pm
1003 * Moose::Meta::TypeConstraint
1004 - added the message attributes and the
1006 - added tests and docs for this
1008 0.03 Thurs. March 30, 2006
1010 - added the Moose::Cookbook with 5 recipes,
1011 describing all the stuff Moose can do.
1014 - fixed an issue with &extends super class loading
1015 it now captures errors and deals with inline
1016 packages correctly (bug found by mst, solution
1018 - added super/override & inner/augment features
1019 - added tests and docs for these
1022 - BUILDALL now takes a reference of the %params
1023 that are passed to &new, and passes that to
1026 * Moose::Util::TypeConstraints
1027 - Type constraints now survive runtime reloading
1028 - added test for this
1030 * Moose::Meta::Class
1031 - fixed the way attribute defaults are handled
1032 during instance construction (bug found by chansen)
1034 * Moose::Meta::Attribute
1035 - read-only attributes now actually enforce their
1036 read-only-ness (this corrected in Class::MOP as
1039 0.02 Tues. March 21, 2006
1041 - many more tests, fixing some bugs and
1043 - &extends now loads the base module with
1045 - added UNIVERSAL::require to the
1048 - each new Moose class will also create
1049 and register a subtype of Object which
1050 correspond to the new Moose class.
1051 - the 'isa' option in &has now only
1052 accepts strings, and will DWIM in
1055 * Moose::Util::TypeConstraints
1056 - added type coercion features
1057 - added tests for this
1058 - added support for this in attributes
1059 and instance construction
1061 - type construction no longer creates a
1062 function, it registers the type instead.
1063 - added several functions to get the
1067 - BUILDALL and DEMOLISHALL were broken
1068 because of a mis-named hash key, Whoops :)
1070 * Moose::Meta::Attribute
1071 - adding support for coercion in the
1072 autogenerated accessors
1074 * Moose::Meta::Class
1075 - adding support for coercion in the
1076 instance construction
1078 * Moose::Meta::TypeConstraint
1079 * Moose::Meta::TypeCoercion
1080 - type constraints and coercions are now
1081 full fledges meta-objects
1083 0.01 Wed. March 15, 2006
1084 - Moooooooooooooooooose!!!