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)
10 Moose::Meta::Method::Constructor
11 Moose::Meta::Attribute
12 - making (init_arg => undef) work here too
13 (thanks to nothingmuch)
15 * Moose::Util::TypeConstraints
16 Moose::Util::TypeConstraints::OptimizedConstraints
17 Moose::Meta::Attribute
18 Moose::Meta::Method::Constructor
19 Moose::Meta::Method::Accessor
20 - making type errors use the
21 assigned message (thanks to Sartak)
22 - added tests for this
24 * Moose::Meta::Method::Destructor
25 - making sure DESTROY gets inlined properly
26 with successive DEMOLISH calls (thanks to manito)
28 0.36 Sat. Jan. 26, 2008
30 Moose::Meta::Attribute
31 - role type tests now support when roles are
32 applied to non-Moose classes (found by ash)
33 - added tests for this (thanks to ash)
34 - couple extra tests to boost code coverage
36 * Moose::Meta::Method::Constructor
37 - improved fix for handling Class::MOP attributes
41 - handled the add_attribute($attribute_meta_object)
45 0.35 Tues. Jan. 22, 2008
46 * Moose::Meta::Method::Constructor
47 - fix to make sure even Class::MOP attributes
48 are handled correctly (Thanks to Dave Rolsky)
49 - added test for this (also Dave Rolsky)
52 - improved error message on _apply_all_roles,
53 you should now use Moose::Util::apply_all_roles
54 and you shouldnt have been using a _ prefixed
55 method in the first place ;)
57 0.34 Mon. Jan. 21, 2008
58 ~~~ more misc. doc. fixes ~~~
59 ~~ updated copyright dates ~~
61 Moose is now a postmodern object system :)
62 - (see the POD for details)
64 * <<Role System Refactoring>>
65 - this release contains a major reworking and
66 cleanup of the role system
67 - 100% backwards compat.
68 - Role application now restructured into seperate
69 classes based on type of applicants
70 - Role summation (combining of more than one role)
71 is much cleaner and anon-classes are no longer
73 - new Composite role metaclass
74 - runtime application of roles to instances
75 is now more efficient and re-uses generated
76 classes when applicable
78 * <<New Role composition features>>
79 - methods can now be excluded from a given role
81 - methods can now be aliased to another name (and
82 still retain the original as well)
84 * Moose::Util::TypeConstraints::OptimizedConstraints
85 - added this module (see above)
88 - fixed the &_process_attribute method to be called
89 by &add_attribute, so that the API is now correct
91 * Moose::Meta::Method::Accessor
92 - fixed bug when passing a list of values to
93 an accessor would get (incorrectly) ignored.
94 Thanks to Sartak for finding this ;)
95 - added tests for this (Sartak again)
97 * Moose::Meta::Method::Accessor
98 Moose::Meta::Method::Constructor
99 Moose::Meta::Attribute
100 Moose::Meta::TypeConstraint
101 Moose::Meta::TypeCoercion
102 - lots of cleanup of such things as:
104 - type constraint handling
105 - error handling/messages
106 (thanks to nothingmuch)
108 * Moose::Meta::TypeConstraint::Parameterizable
109 - added this module to support the refactor
110 in Moose::Meta::TypeConstraint::Parameterized
112 * Moose::Meta::TypeConstraint::Parameterized
113 - refactored how these types are handled so they
114 are more generic and not confined to ArrayRef
118 - shortened some file names for better VMS support (RT #32381)
120 0.33 Fri. Dec. 14, 2007
121 !! Moose now loads 2 x faster !!
122 !! with new Class::MOP 0.49 !!
124 ++ new oose.pm module to make command line
125 Moose-ness easier (see POD docs for more)
129 - several tweaks to take advantage of the
130 new method map caching in Class::MOP
132 * Moose::Meta::TypeConstraint::Parameterized
133 - allow subtypes of ArrayRef and HashRef to
134 be used as a container (sartak)
135 - added tests for this
136 - basic support for coercion to ArrayRef and
137 HashRef for containers (sartak)
138 - added tests for this
140 * Moose::Meta::TypeCoercion
141 - coercions will now create subtypes as needed
142 so you can now add coercions to parameterized
143 types without having to explictly define them
144 - added tests for this
146 * Moose::Meta::Method::Accessor
147 - allow subclasses to decide whether we need
148 to copy the value into a new variable (sartak)
150 0.32 Tues. Dec. 4, 2007
151 * Moose::Util::TypeConstraints
152 - fixing how subtype aliases of unions work
153 they should inherit the parent's coercion
154 - added tests for this
155 - you can now define multiple coercions on
156 a single type at different times instead of
157 having to do it all in one place
158 - added tests for this
160 * Moose::Meta::TypeConstraint
161 - there is now a default constraint of sub { 1 }
162 instead of Moose::Util::TypeConstraints setting
165 * Moose::Meta::TypeCoercion
166 * Moose::Meta::TypeCoercion::Union
167 - added the &has_coercion_for_type and
168 &add_type_coercions methods to support the
169 new features above (although you cannot add
170 more type coercions for Union types)
172 0.31 Mon. Nov. 26, 2007
173 * Moose::Meta::Attribute
174 - made the +attr syntax handle extending types with
175 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
176 now works if the original foo is an ArrayRef.
177 - added tests for this.
178 - delegation now works even if the attribute does not
179 have a reader method using the get_read_method_ref
180 method from Class::MOP::Attribute.
181 - added tests for this
182 - added docs for this
184 * Moose::Util::TypeConstraints
185 - passing no "additional attribute info" to
186 &find_or_create_type_constraint will no longer
187 attempt to create an __ANON__ type for you,
188 instead it will just return undef.
189 - added docs for this
191 0.30 Fri. Nov. 23, 2007
192 * Moose::Meta::Method::Constructor
193 -builder related bug in inlined constructor. (groditi)
195 * Moose::Meta::Method::Accessor
196 - genereate unnecessary calls to predicates and refactor
197 code generation for runtime speed (groditi)
199 * Moose::Util::TypeConstraints
200 - fix ClassName constraint to introspect symbol table (mst)
201 - added more tests for this (mst)
202 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
204 - added tests for this
207 - adding the link to Recipie 11 (written by Sartak)
208 - adding test for SYNOPSIS code
211 - New tests for builder bug. Upon instantiation, if an
212 attribute had a builder, no value and was not lazy the
213 builder default was not getting run, oops. (groditi)
215 0.29 Tues. Nov. 13, 2007
216 * Moose::Meta::Attribute
217 - Fix error message on missing builder method (groditi)
219 * Moose::Meta::Method::Accessor
220 - Fix error message on missing builder method (groditi)
223 - Add test to check for the correct error message when
224 builder method is missing (groditi)
226 0.28 Tues. Nov. 13, 2007
227 - 0.27 packaged incorrectly (groditi)
229 0.27 Tues. Nov. 13, 2007
230 * Moose::Meta::Attribute
231 - Added support for the new builder option (groditi)
232 - Added support for lazy_build option (groditi)
233 - Changed slot initialization for predicate changes (groditi)
235 * Moose::Meta::Method::Accessor
236 - Added support for lazy_build option (groditi)
237 - Fix inline methods to work with corrected predicate
240 * Moose::Meta::Method::Constructor
241 - Added support for lazy_build option (groditi)
244 - tests for builder and lazy_build (groditi)
246 * fixing some misc. bits in the docs that
247 got mentioned on CPAN Forum & perlmonks
250 - fixed how required methods are handled
251 when they encounter overriden or modified
252 methods from a class (thanks to confound).
253 - added tests for this
255 * Moose::Util::TypeConstraint
256 - fixed the type notation parser so that
257 the | always creates a union and so is
258 no longer a valid type char (thanks to
259 konobi, mugwump and #moose for working
261 - added more tests for this
263 0.26 Thurs. Sept. 27, 2007
266 * Parameterized Types
267 We now support parameterized collection types, such as:
268 ArrayRef[Int] # array or integers
269 HashRef[Object] # a hash with object values
270 They can also be nested:
271 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
272 And work with the type unions as well:
273 ArrayRef[Int | Str] # array of integers of strings
275 * Better Framework Extendability
276 Moose.pm is now "extendable" such that it is now much
277 easier to extend the framework and add your own keywords
278 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
279 section of the Moose.pm docs.
282 In an effort to begin documenting some of the various
283 details of Moose as well as some common idioms, we have
284 created Moose::Cookbook::Snacks as a place to find
285 small (easily digestable) nuggets of Moose code.
288 ~ Several doc updates/cleanup thanks to castaway ~
290 - converted build system to use Module::Install instead of
291 Module::Build (thanks to jrockway)
294 - added all the meta classes to the immutable list and
295 set it to inline the accessors
296 - fix import to allow Sub::Exporter like { into => }
297 and { into_level => } (perigrin)
298 - exposed and documented init_meta() to allow better
299 embedding and extending of Moose (perigrin)
302 - complete re-organization of the test suite
303 - added some new tests as well
304 - finally re-enabled the Moose::POOP test since
305 the new version of DBM::Deep now works again
309 - fixed very odd and very nasty recursion bug with
311 - added tests for this (eilara)
313 * Moose::Meta::Attribute
314 Moose::Meta::Method::Constructor
315 Moose::Meta::Method::Accessor
316 - fixed issue with overload::Overloaded getting called
317 on non-blessed items. (RT #29269)
318 - added tests for this
320 * Moose::Meta::Method::Accessor
321 - fixed issue with generated accessor code making
322 assumptions about hash based classes (thanks to dexter)
324 * Moose::Coookbook::Snacks
325 - these are bits of documentation, not quite as big as
326 Recipes but which have no clear place in the module docs.
327 So they are Snacks! (horray for castaway++)
329 * Moose::Cookbook::Recipe4
330 - updated it to use the new ArrayRef[MyType] construct
331 - updated the accompanying test as well
333 +++ Major Refactor of the Type Constraint system +++
334 +++ with new features added as well +++
336 * Moose::Util::TypeConstraint
337 - no longer uses package variable to keep track of
338 the type constraints, now uses the an instance of
339 Moose::Meta::TypeConstraint::Registry to do it
340 - added more sophisticated type notation parsing
342 - added tests for this
344 * Moose::Meta::TypeConstraint
345 - some minor adjustments to make subclassing easier
346 - added the package_defined_in attribute so that we
347 can track where the type constraints are created
349 * Moose::Meta::TypeConstraint::Union
350 - this is now been refactored to be a subclass of
351 Moose::Meta::TypeConstraint
353 * Moose::Meta::TypeCoercion::Union
354 - this has been added to service the newly refactored
355 Moose::Meta::TypeConstraint::Union and is itself
356 a subclass of Moose::Meta::TypeCoercion
358 * Moose::Meta::TypeConstraint::Parameterized
359 - added this module (taken from MooseX::AttributeHelpers)
360 to help construct nested collection types
361 - added tests for this
363 * Moose::Meta::TypeConstraint::Registry
364 - added this class to keep track of type constraints
366 0.25 Mon. Aug. 13, 2007
368 - Documentation update to reference Moose::Util::TypeConstraints
369 under 'isa' in 'has' for how to define a new type
372 * Moose::Meta::Attribute
373 - required attributes now will no longer accept undef
374 from the constructor, even if there is a default and lazy
375 - added tests for this
376 - default subroutines must return a value which passes the
378 - added tests for this
380 * Moose::Meta::Attribute
381 * Moose::Meta::Method::Constructor
382 * Moose::Meta::Method::Accessor
383 - type-constraint tests now handle overloaded objects correctly
385 - added tests for this (thanks to EvanCarroll)
387 * Moose::Meta::TypeConstraint::Union
388 - added (has_)hand_optimized_constraint to this class so that
389 it behaves as the regular Moose::Meta::TypeConstraint does.
392 - large refactoring of this code
393 - added several more tests
394 - tests for subtle conflict resolition issues
395 added, but not currently running
398 * Moose::Cookbook::Recipe7
399 - added new recipe for augment/inner functionality
401 - added test for this
404 - a formal definition of roles (still in progress)
407 - utilities for easier working with Moose classes
408 - added tests for these
411 - This contains Moose specific test functions
412 - added tests for these
414 0.24 Tues. July 3, 2007
415 ~ Some doc updates/cleanup ~
417 * Moose::Meta::Attribute
418 - added support for roles to be given as parameters
419 to the 'handles' option.
420 - added tests and docs for this
421 - the has '+foo' attribute form now accepts changes to
422 the lazy option, and the addition of a handles option
423 (but not changing the handles option)
424 - added tests and docs for this
427 - required methods are now fetched using find_method_by_name
428 so that required methods can come from superclasses
429 - adjusted tests for this
431 0.23 Mon. June 18, 2007
432 * Moose::Meta::Method::Constructor
433 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
435 - Modify make_immutable to work with the new Class::MOP immutable
436 mechanism + POD + very basic test (groditi)
437 * Moose::Meta::Attribute
438 - Fix handles to use goto() so that caller() comes out properly on
439 the other side (perigrin)
441 0.22 Thurs. May 31, 2007
442 * Moose::Util::TypeConstraints
443 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
444 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
445 prototypes for functions
446 - added the ClassName type constraint, this checks for strings
447 which will respond true to ->isa(UNIVERSAL).
448 - added tests and docs for this
449 - subtyping just in name now works correctly by making the
450 default for where be { 1 }
451 - added test for this
453 * Moose::Meta::Method::Accessor
454 - coerce and lazy now work together correctly, thanks to
455 merlyn for finding this bug
456 - tests added for this
457 - fix reader presedence bug in Moose::Meta::Attribute + tests
460 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
461 a HASH-ref and missed. This produces better error messages then
462 having it die cause undef is not a HASH.
463 - added tests for this
465 0.21 Thursday, May 2nd, 2007
467 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
468 - modified unimport to remove super and inner along with the rest
469 - altered unimport tests to handle this
472 - altered super export to populate SUPER_SLOT
475 - altered augment and override modifier application to use *_SLOT
476 - modified tests for these to unimport one test class each to test
479 - fixed issue where custom attribute metaclasses
480 where not handled correctly in roles
481 - added tests for this
484 - fixed issue where extending metaclasses with
485 roles would blow up. Thanks to Aankhen`` for
486 finding this insidious error, and it's solution.
488 ~~ lots of spelling and grammer fixes in the docs,
489 many many thanks to rlb3 and Aankhen for these :)
491 0.20 Friday, April 6th, 2007
492 >> I messed up the SKIP logic in one test
493 so this release is just to fix that.
496 - 'has' now also accepts an ARRAY ref
497 to create multiple attrs (see docs)
498 (thanks to konobi for this)
499 - added tests and docs
501 0.19 Thurs. April 5th, 2007
502 ~~ More documentation updates ~~
504 * Moose::Util::TypeConstraints
505 - 'type' now supports messages as well
506 thanks to phaylon for finding this
507 - added tests for this
508 - added &list_all_type_constraints and
509 &list_all_builtin_type_constraints
510 functions to facilitate introspection.
512 * Moose::Meta::Attribute
513 - fixed regexp 'handles' declarations
514 to build the list of delegated methods
515 correctly (and not override important
516 things like &new) thanks to ashleyb
518 - added tests and docs for this
519 - added the 'documentation' attributes
520 so that you can actually document your
521 attributes and inspect them through the
523 - added tests and docs for this
526 - when loading custom attribute metaclasses
527 it will first look in for the class in the
528 Moose::Meta::Attribute::Custom::$name, and
529 then default to just loading $name.
530 - added tests and docs for this
532 * Moose::Meta::TypeConstraint
533 - type constraints now stringify to their names.
534 - added test for this
537 - added tests to assure we work with Module::Refresh
538 - added stricter test skip logic in the Moose POOP
539 test, ask Rob Kinyon why.
540 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
542 0.18 Sat. March 10, 2007
543 ~~ Many, many documentation updates ~~
546 - We now use Class::MOP::load_class to
548 - added tests to show types and subtypes
549 working with Declare::Constraints::Simple
550 and Test::Deep as constraint engines.
553 !! You must have Class::MOP 0.37_001 !!
554 !! for this developer release to work !!
556 This release was primarily adding the immutable
557 feature to Moose. An immutable class is one which
558 you promise not to alter. When you set the class
559 as immutable it will perform various bits of
560 memoization and inline certain part of the code
561 (constructors, destructors and accessors). This
562 minimizes (and in some cases totally eliminates)
563 one of Moose's biggest performance hits. This
564 feature is not on by default, and is 100% optional.
565 It has several configurable bits as well, so you
566 can pick and choose to your specific needs.
568 The changes involved in this were fairly wide and
569 highly specific, but 100% backwards compatible, so
570 I am not going to enumerate them here. If you are
571 truely interested in what was changed, please do
574 0.17 Tues. Nov. 14, 2006
575 * Moose::Meta::Method::Accessor
576 - bugfix for read-only accessors which
577 are have a type constraint and lazy.
578 Thanks to chansen for finding it.
580 0.16 Tues. Nov. 14, 2006
582 There are some speed improvements in this release,
583 but they are only the begining, so stay tuned.
586 - BUILDALL and DEMOLISHALL no longer get
587 called unless they actually need to be.
588 This gave us a signifigant speed boost
589 for the cases when there is no BUILD or
590 DEMOLISH method present.
592 * Moose::Util::TypeConstraints
593 * Moose::Meta::TypeConstraint
594 - added an 'optimize_as' option to the
595 type constraint, which allows for a
596 hand optimized version of the type
597 constraint to be used when possible.
598 - Any internally created type constraints
599 now provide an optimized version as well.
601 0.15 Sun. Nov. 5, 2006
603 This version of Moose *must* have Class::MOP 0.36 in order
604 to work correctly. A number of small internal tweaks have
605 been made in order to be compatible with that release.
607 * Moose::Util::TypeConstraints
608 - added &unimport so that you can clean out
609 your class namespace of these exported
613 - fixed minor issue which occasionally
614 comes up during global destruction
616 - moved Moose::Meta::Method::Overriden into
620 - moved Moose::Meta::Role::Method into
623 * Moose::Meta::Attribute
624 - changed how we do type checks so that
625 we reduce the overall cost, but still
628 - moved accessor generation methods to
629 Moose::Meta::Method::Accessor to
630 conform to the API changes from
633 * Moose::Meta::TypeConstraint
634 - changed how constraints are compiled
635 so that we do less recursion and more
636 iteration. This makes the type check
638 - moved Moose::Meta::TypeConstraint::Union
641 * Moose::Meta::Method::Accessor
642 - created this from methods formerly found in
643 Moose::Meta::Attribute
645 * Moose::Meta::Role::Method
646 - moved this from Moose::Meta::Role
648 * Moose::Meta::Method::Overriden
649 - moved this from Moose::Meta::Class
651 * Moose::Meta::TypeConstraint::Union
652 - moved this from Moose::Meta::TypeConstraint
654 0.14 Mon. Oct. 9, 2006
656 * Moose::Meta::Attribute
657 - fixed lazy attributes which were not getting
658 checked with the type constraint (thanks ashley)
659 - added tests for this
660 - removed the over-enthusiastic DWIMery of the
661 automatic ArrayRef and HashRef defaults, it
662 broke predicates in an ugly way.
663 - removed tests for this
665 0.13 Sat. Sept. 30, 2006
667 This version of Moose *must* have Class::MOP 0.35 in order
668 to work correctly. A number of small internal tweaks have
669 been made in order to be compatible with that release.
672 - Removed the use of UNIVERSAL::require to be a better
673 symbol table citizen and remove a dependency
674 (thanks Adam Kennedy)
676 **~~ removed experimental & undocumented feature ~~**
677 - commented out the 'method' and 'self' keywords, see the
678 comments for more info.
681 - added a FAQ and WTF files to document frequently
682 asked questions and common problems
684 * Moose::Util::TypeConstraints
685 - added GlobRef and FileHandle type constraint
686 - added tests for this
688 * Moose::Meta::Attribute
689 - if your attribute 'isa' ArrayRef of HashRef, and you have
690 not explicitly set a default, then make the default DWIM.
691 This will also work for subtypes of ArrayRef and HashRef
693 - you can now auto-deref subtypes of ArrayRef or HashRef too.
694 - new test added for this (thanks to ashley)
697 - added basic support for runtime role composition
698 but this is still *highly experimental*, so feedback
699 is much appreciated :)
700 - added tests for this
702 * Moose::Meta::TypeConstraint
703 - the type constraint now handles the coercion process
704 through delegation, this is to support the coercion
707 * Moose::Meta::TypeConstraint::Union
708 - it is now possible for coercions to be performed
710 - added tests for this (thanks to konobi)
712 * Moose::Meta::TypeCoercion
713 - properly capturing error when type constraint
717 - Scalar::Util 1.18 is bad on Win32, so temporarily
718 only require version 1.17 for Win32 and cygwin.
719 (thanks Adam Kennedy)
721 0.12 Sat. Sept. 1, 2006
723 - Recipe5 (subtypes & coercion) has been written
726 - fixed "bad meta" error message to be more descriptive
727 - fixed &unimport to not remove the &inner and &super
728 keywords because we need to localize them.
729 - fixed number of spelling/grammer issues, thanks Theory :)
731 **~~ experimental & undocumented feature ~~**
732 - added the method and self keywords, they are basically
733 just sugar, and they may not stay around.
736 - added &dump method to easily Data::Dumper
739 * Moose::Meta::TypeConstraint
740 - added the &is_a_type_of method to check both the current
741 and the subtype of a method (similar to &isa with classes)
744 - this is now a subclass of Class::MOP::Module, and no longer
745 creates the _role_meta ugliness of before.
746 - fixed tests to reflect this change
748 0.11 Wed. July 12, 2006
750 - added an &unimport method to remove all the keywords
751 that Moose will import, simply add 'no Moose' to the
752 bottom of your class file.
755 - fixed some test failures caused by a forgotten test
758 0.10 Thurs. July 6, 2006
760 - improved error message when loading modules so
761 it is less confusing when you load a role.
762 - added &calculate_all_roles method to
763 Moose::Meta::Class and Moose::Meta::Role
766 This module has been tested against Class::MOP 0.30
767 but it does not yet utilize the optimizations
768 it makes available. Stay tuned for that ;)
770 0.09_03 Fri. June 23, 2006
771 ++ DEVELOPER RELEASE ++
773 - 'use strict' and 'use warnings' are no longer
774 needed in Moose classes, Moose itself will
775 turn them on for you.
776 - added tests for this
777 - moved code from exported subs to private methods
778 in Moose::Meta::Class
781 - as with Moose, strict and warnings are
782 automatically turned on for you.
783 - added tests for this
786 - now handles an edge case for override errors
787 - added tests for this
788 - added some more edge case tests
790 0.09_02 Tues. May 16, 2006
791 ++ DEVELOPER RELEASE ++
793 - added prototypes to the exported subs
797 - added prototypes to the exported subs
800 * Moose::Util::TypeConstraints
801 - cleaned up prototypes for the subs
804 0.09_01 Fri. May 12, 2006
805 ++ DEVELOPER RELEASE ++
806 - This release works in combination with
807 Class::MOP 0.29_01, it is a developer
808 release because it uses the a new
809 instance sub-protocol and a fairly
810 complete Role implementation. It has
811 not yet been optimized, so it slower
812 the the previous CPAN version. This
813 release also lacks good updated docs,
814 the official release will have updated docs.
817 - refactored the keyword exports
818 - 'with' now checks Role validaity and
819 accepts more than one Role at a time
820 - 'extends' makes metaclass adjustments as
821 needed to ensure metaclass compatability
824 - refactored the keyword exports
825 - 'with' now checks Role validaity and
826 accepts more than one Role at a time
828 * Moose::Util::TypeConstraints
829 - added the 'enum' keyword for simple
830 string enumerations which can be used as
832 - see example of usage in t/202_example.t
835 - more careful checking of params to new()
838 - much work done on the role composition
839 - many new tests for conflict detection
840 and composition edge cases
841 - not enough documentation, I suggest
844 * Moose::Meta::Instance
845 - added new Instance metaclass to support
846 the new Class::MOP instance protocol
849 - some small changes to support the new
851 - some small additions to support Roles
853 * Moose::Meta::Attribute
854 - some improvements to the accessor generation code
856 - some small changes to support the new
858 - (still somewhat) experimental delegation support
859 with the 'handles' option
860 - added several tests for this
861 - no docs for this yet
863 0.05 Thurs. April 27, 2006
865 - keywords are now exported with Sub::Exporter
866 thanks to chansen for this commit
867 - has keyword now takes a 'metaclass' option
868 to support custom attribute meta-classes
869 on a per-attribute basis
870 - added tests for this
871 - the 'has' keyword not accepts inherited slot
872 specifications (has '+foo'). This is still an
873 experimental feature and probably not finished
874 see t/038_attribute_inherited_slot_specs.t for
875 more details, or ask about it on #moose
876 - added tests for this
879 - keywords are now exported with Sub::Exporter
881 * Moose::Utils::TypeConstraints
882 - reorganized the type constraint hierarchy, thanks
883 to nothingmuch and chansen for his help and advice
885 - added some tests for this
886 - keywords are now exported with Sub::Exporter
887 thanks to chansen for this commit
890 - due to changes in Class::MOP, we had to change
891 construct_instance (for the better)
893 * Moose::Meta::Attribute
894 - due to changes in Class::MOP, we had to add the
895 initialize_instance_slot method (it's a good thing)
897 * Moose::Meta::TypeConstraint
898 - added type constraint unions
899 - added tests for this
900 - added the is_subtype_of predicate method
901 - added tests for this
903 0.04 Sun. April 16th, 2006
905 - Roles can now consume other roles
906 - added tests for this
907 - Roles can specify required methods now with
908 the requires() keyword
909 - added tests for this
912 - ripped out much of it's guts ,.. much cleaner now
913 - added required methods and correct handling of
914 them in apply() for both classes and roles
915 - added tests for this
916 - no longer adds a does() method to consuming classes
917 it relys on the one in Moose::Object
918 - added roles attribute and some methods to support
919 roles consuming roles
921 * Moose::Meta::Attribute
922 - added support for triggers on attributes
923 - added tests for this
924 - added support for does option on an attribute
925 - added tests for this
928 - added support for attribute triggers in the
930 - added tests for this
933 - Moose no longer creates a subtype for your class
934 if a subtype of the same name already exists, this
935 should DWIM in 99.9999% of all cases
937 * Moose::Util::TypeConstraints
938 - fixed bug where incorrect subtype conflicts were
940 - added test for this
943 - this class can now be extended with 'use base' if
944 you need it, it properly loads the metaclass class now
945 - added test for this
947 0.03_02 Wed. April 12, 2006
949 - you must now explictly use Moose::Util::TypeConstraints
950 it no longer gets exported for you automatically
953 - new() now accepts hash-refs as well as key/value lists
954 - added does() method to check for Roles
955 - added tests for this
958 - added roles attribute along with the add_role() and
960 - added tests for this
963 - now adds a does() method to consuming classes
964 which tests the class's hierarchy for roles
965 - added tests for this
967 0.03_01 Mon. April 10, 2006
969 - added new Role recipe (no content yet, only code)
972 - added 'with' keyword for Role support
973 - added test and docs for this
974 - fixed subtype quoting bug
975 - added test for this
979 - added test and docs
981 * Moose::Util::TypeConstraints
982 - added the message keyword to add custom
983 error messages to type constraints
986 - the meta role to support Moose::Role
987 - added tests and docs
990 - moved a number of things from Moose.pm
991 to here, they should have been here
994 * Moose::Meta::Attribute
995 - moved the attribute option macros here
996 instead of putting them in Moose.pm
998 * Moose::Meta::TypeConstraint
999 - added the message attributes and the
1001 - added tests and docs for this
1003 0.03 Thurs. March 30, 2006
1005 - added the Moose::Cookbook with 5 recipes,
1006 describing all the stuff Moose can do.
1009 - fixed an issue with &extends super class loading
1010 it now captures errors and deals with inline
1011 packages correctly (bug found by mst, solution
1013 - added super/override & inner/augment features
1014 - added tests and docs for these
1017 - BUILDALL now takes a reference of the %params
1018 that are passed to &new, and passes that to
1021 * Moose::Util::TypeConstraints
1022 - Type constraints now survive runtime reloading
1023 - added test for this
1025 * Moose::Meta::Class
1026 - fixed the way attribute defaults are handled
1027 during instance construction (bug found by chansen)
1029 * Moose::Meta::Attribute
1030 - read-only attributes now actually enforce their
1031 read-only-ness (this corrected in Class::MOP as
1034 0.02 Tues. March 21, 2006
1036 - many more tests, fixing some bugs and
1038 - &extends now loads the base module with
1040 - added UNIVERSAL::require to the
1043 - each new Moose class will also create
1044 and register a subtype of Object which
1045 correspond to the new Moose class.
1046 - the 'isa' option in &has now only
1047 accepts strings, and will DWIM in
1050 * Moose::Util::TypeConstraints
1051 - added type coercion features
1052 - added tests for this
1053 - added support for this in attributes
1054 and instance construction
1056 - type construction no longer creates a
1057 function, it registers the type instead.
1058 - added several functions to get the
1062 - BUILDALL and DEMOLISHALL were broken
1063 because of a mis-named hash key, Whoops :)
1065 * Moose::Meta::Attribute
1066 - adding support for coercion in the
1067 autogenerated accessors
1069 * Moose::Meta::Class
1070 - adding support for coercion in the
1071 instance construction
1073 * Moose::Meta::TypeConstraint
1074 * Moose::Meta::TypeCoercion
1075 - type constraints and coercions are now
1076 full fledges meta-objects
1078 0.01 Wed. March 15, 2006
1079 - Moooooooooooooooooose!!!