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 0.36 Sat. Jan. 26, 2008
26 Moose::Meta::Attribute
27 - role type tests now support when roles are
28 applied to non-Moose classes (found by ash)
29 - added tests for this (thanks to ash)
30 - couple extra tests to boost code coverage
32 * Moose::Meta::Method::Constructor
33 - improved fix for handling Class::MOP attributes
37 - handled the add_attribute($attribute_meta_object)
41 0.35 Tues. Jan. 22, 2008
42 * Moose::Meta::Method::Constructor
43 - fix to make sure even Class::MOP attributes
44 are handled correctly (Thanks to Dave Rolsky)
45 - added test for this (also Dave Rolsky)
48 - improved error message on _apply_all_roles,
49 you should now use Moose::Util::apply_all_roles
50 and you shouldnt have been using a _ prefixed
51 method in the first place ;)
53 0.34 Mon. Jan. 21, 2008
54 ~~~ more misc. doc. fixes ~~~
55 ~~ updated copyright dates ~~
57 Moose is now a postmodern object system :)
58 - (see the POD for details)
60 * <<Role System Refactoring>>
61 - this release contains a major reworking and
62 cleanup of the role system
63 - 100% backwards compat.
64 - Role application now restructured into seperate
65 classes based on type of applicants
66 - Role summation (combining of more than one role)
67 is much cleaner and anon-classes are no longer
69 - new Composite role metaclass
70 - runtime application of roles to instances
71 is now more efficient and re-uses generated
72 classes when applicable
74 * <<New Role composition features>>
75 - methods can now be excluded from a given role
77 - methods can now be aliased to another name (and
78 still retain the original as well)
80 * Moose::Util::TypeConstraints::OptimizedConstraints
81 - added this module (see above)
84 - fixed the &_process_attribute method to be called
85 by &add_attribute, so that the API is now correct
87 * Moose::Meta::Method::Accessor
88 - fixed bug when passing a list of values to
89 an accessor would get (incorrectly) ignored.
90 Thanks to Sartak for finding this ;)
91 - added tests for this (Sartak again)
93 * Moose::Meta::Method::Accessor
94 Moose::Meta::Method::Constructor
95 Moose::Meta::Attribute
96 Moose::Meta::TypeConstraint
97 Moose::Meta::TypeCoercion
98 - lots of cleanup of such things as:
100 - type constraint handling
101 - error handling/messages
102 (thanks to nothingmuch)
104 * Moose::Meta::TypeConstraint::Parameterizable
105 - added this module to support the refactor
106 in Moose::Meta::TypeConstraint::Parameterized
108 * Moose::Meta::TypeConstraint::Parameterized
109 - refactored how these types are handled so they
110 are more generic and not confined to ArrayRef
114 - shortened some file names for better VMS support (RT #32381)
116 0.33 Fri. Dec. 14, 2007
117 !! Moose now loads 2 x faster !!
118 !! with new Class::MOP 0.49 !!
120 ++ new oose.pm module to make command line
121 Moose-ness easier (see POD docs for more)
125 - several tweaks to take advantage of the
126 new method map caching in Class::MOP
128 * Moose::Meta::TypeConstraint::Parameterized
129 - allow subtypes of ArrayRef and HashRef to
130 be used as a container (sartak)
131 - added tests for this
132 - basic support for coercion to ArrayRef and
133 HashRef for containers (sartak)
134 - added tests for this
136 * Moose::Meta::TypeCoercion
137 - coercions will now create subtypes as needed
138 so you can now add coercions to parameterized
139 types without having to explictly define them
140 - added tests for this
142 * Moose::Meta::Method::Accessor
143 - allow subclasses to decide whether we need
144 to copy the value into a new variable (sartak)
146 0.32 Tues. Dec. 4, 2007
147 * Moose::Util::TypeConstraints
148 - fixing how subtype aliases of unions work
149 they should inherit the parent's coercion
150 - added tests for this
151 - you can now define multiple coercions on
152 a single type at different times instead of
153 having to do it all in one place
154 - added tests for this
156 * Moose::Meta::TypeConstraint
157 - there is now a default constraint of sub { 1 }
158 instead of Moose::Util::TypeConstraints setting
161 * Moose::Meta::TypeCoercion
162 * Moose::Meta::TypeCoercion::Union
163 - added the &has_coercion_for_type and
164 &add_type_coercions methods to support the
165 new features above (although you cannot add
166 more type coercions for Union types)
168 0.31 Mon. Nov. 26, 2007
169 * Moose::Meta::Attribute
170 - made the +attr syntax handle extending types with
171 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
172 now works if the original foo is an ArrayRef.
173 - added tests for this.
174 - delegation now works even if the attribute does not
175 have a reader method using the get_read_method_ref
176 method from Class::MOP::Attribute.
177 - added tests for this
178 - added docs for this
180 * Moose::Util::TypeConstraints
181 - passing no "additional attribute info" to
182 &find_or_create_type_constraint will no longer
183 attempt to create an __ANON__ type for you,
184 instead it will just return undef.
185 - added docs for this
187 0.30 Fri. Nov. 23, 2007
188 * Moose::Meta::Method::Constructor
189 -builder related bug in inlined constructor. (groditi)
191 * Moose::Meta::Method::Accessor
192 - genereate unnecessary calls to predicates and refactor
193 code generation for runtime speed (groditi)
195 * Moose::Util::TypeConstraints
196 - fix ClassName constraint to introspect symbol table (mst)
197 - added more tests for this (mst)
198 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
200 - added tests for this
203 - adding the link to Recipie 11 (written by Sartak)
204 - adding test for SYNOPSIS code
207 - New tests for builder bug. Upon instantiation, if an
208 attribute had a builder, no value and was not lazy the
209 builder default was not getting run, oops. (groditi)
211 0.29 Tues. Nov. 13, 2007
212 * Moose::Meta::Attribute
213 - Fix error message on missing builder method (groditi)
215 * Moose::Meta::Method::Accessor
216 - Fix error message on missing builder method (groditi)
219 - Add test to check for the correct error message when
220 builder method is missing (groditi)
222 0.28 Tues. Nov. 13, 2007
223 - 0.27 packaged incorrectly (groditi)
225 0.27 Tues. Nov. 13, 2007
226 * Moose::Meta::Attribute
227 - Added support for the new builder option (groditi)
228 - Added support for lazy_build option (groditi)
229 - Changed slot initialization for predicate changes (groditi)
231 * Moose::Meta::Method::Accessor
232 - Added support for lazy_build option (groditi)
233 - Fix inline methods to work with corrected predicate
236 * Moose::Meta::Method::Constructor
237 - Added support for lazy_build option (groditi)
240 - tests for builder and lazy_build (groditi)
242 * fixing some misc. bits in the docs that
243 got mentioned on CPAN Forum & perlmonks
246 - fixed how required methods are handled
247 when they encounter overriden or modified
248 methods from a class (thanks to confound).
249 - added tests for this
251 * Moose::Util::TypeConstraint
252 - fixed the type notation parser so that
253 the | always creates a union and so is
254 no longer a valid type char (thanks to
255 konobi, mugwump and #moose for working
257 - added more tests for this
259 0.26 Thurs. Sept. 27, 2007
262 * Parameterized Types
263 We now support parameterized collection types, such as:
264 ArrayRef[Int] # array or integers
265 HashRef[Object] # a hash with object values
266 They can also be nested:
267 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
268 And work with the type unions as well:
269 ArrayRef[Int | Str] # array of integers of strings
271 * Better Framework Extendability
272 Moose.pm is now "extendable" such that it is now much
273 easier to extend the framework and add your own keywords
274 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
275 section of the Moose.pm docs.
278 In an effort to begin documenting some of the various
279 details of Moose as well as some common idioms, we have
280 created Moose::Cookbook::Snacks as a place to find
281 small (easily digestable) nuggets of Moose code.
284 ~ Several doc updates/cleanup thanks to castaway ~
286 - converted build system to use Module::Install instead of
287 Module::Build (thanks to jrockway)
290 - added all the meta classes to the immutable list and
291 set it to inline the accessors
292 - fix import to allow Sub::Exporter like { into => }
293 and { into_level => } (perigrin)
294 - exposed and documented init_meta() to allow better
295 embedding and extending of Moose (perigrin)
298 - complete re-organization of the test suite
299 - added some new tests as well
300 - finally re-enabled the Moose::POOP test since
301 the new version of DBM::Deep now works again
305 - fixed very odd and very nasty recursion bug with
307 - added tests for this (eilara)
309 * Moose::Meta::Attribute
310 Moose::Meta::Method::Constructor
311 Moose::Meta::Method::Accessor
312 - fixed issue with overload::Overloaded getting called
313 on non-blessed items. (RT #29269)
314 - added tests for this
316 * Moose::Meta::Method::Accessor
317 - fixed issue with generated accessor code making
318 assumptions about hash based classes (thanks to dexter)
320 * Moose::Coookbook::Snacks
321 - these are bits of documentation, not quite as big as
322 Recipes but which have no clear place in the module docs.
323 So they are Snacks! (horray for castaway++)
325 * Moose::Cookbook::Recipe4
326 - updated it to use the new ArrayRef[MyType] construct
327 - updated the accompanying test as well
329 +++ Major Refactor of the Type Constraint system +++
330 +++ with new features added as well +++
332 * Moose::Util::TypeConstraint
333 - no longer uses package variable to keep track of
334 the type constraints, now uses the an instance of
335 Moose::Meta::TypeConstraint::Registry to do it
336 - added more sophisticated type notation parsing
338 - added tests for this
340 * Moose::Meta::TypeConstraint
341 - some minor adjustments to make subclassing easier
342 - added the package_defined_in attribute so that we
343 can track where the type constraints are created
345 * Moose::Meta::TypeConstraint::Union
346 - this is now been refactored to be a subclass of
347 Moose::Meta::TypeConstraint
349 * Moose::Meta::TypeCoercion::Union
350 - this has been added to service the newly refactored
351 Moose::Meta::TypeConstraint::Union and is itself
352 a subclass of Moose::Meta::TypeCoercion
354 * Moose::Meta::TypeConstraint::Parameterized
355 - added this module (taken from MooseX::AttributeHelpers)
356 to help construct nested collection types
357 - added tests for this
359 * Moose::Meta::TypeConstraint::Registry
360 - added this class to keep track of type constraints
362 0.25 Mon. Aug. 13, 2007
364 - Documentation update to reference Moose::Util::TypeConstraints
365 under 'isa' in 'has' for how to define a new type
368 * Moose::Meta::Attribute
369 - required attributes now will no longer accept undef
370 from the constructor, even if there is a default and lazy
371 - added tests for this
372 - default subroutines must return a value which passes the
374 - added tests for this
376 * Moose::Meta::Attribute
377 * Moose::Meta::Method::Constructor
378 * Moose::Meta::Method::Accessor
379 - type-constraint tests now handle overloaded objects correctly
381 - added tests for this (thanks to EvanCarroll)
383 * Moose::Meta::TypeConstraint::Union
384 - added (has_)hand_optimized_constraint to this class so that
385 it behaves as the regular Moose::Meta::TypeConstraint does.
388 - large refactoring of this code
389 - added several more tests
390 - tests for subtle conflict resolition issues
391 added, but not currently running
394 * Moose::Cookbook::Recipe7
395 - added new recipe for augment/inner functionality
397 - added test for this
400 - a formal definition of roles (still in progress)
403 - utilities for easier working with Moose classes
404 - added tests for these
407 - This contains Moose specific test functions
408 - added tests for these
410 0.24 Tues. July 3, 2007
411 ~ Some doc updates/cleanup ~
413 * Moose::Meta::Attribute
414 - added support for roles to be given as parameters
415 to the 'handles' option.
416 - added tests and docs for this
417 - the has '+foo' attribute form now accepts changes to
418 the lazy option, and the addition of a handles option
419 (but not changing the handles option)
420 - added tests and docs for this
423 - required methods are now fetched using find_method_by_name
424 so that required methods can come from superclasses
425 - adjusted tests for this
427 0.23 Mon. June 18, 2007
428 * Moose::Meta::Method::Constructor
429 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
431 - Modify make_immutable to work with the new Class::MOP immutable
432 mechanism + POD + very basic test (groditi)
433 * Moose::Meta::Attribute
434 - Fix handles to use goto() so that caller() comes out properly on
435 the other side (perigrin)
437 0.22 Thurs. May 31, 2007
438 * Moose::Util::TypeConstraints
439 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
440 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
441 prototypes for functions
442 - added the ClassName type constraint, this checks for strings
443 which will respond true to ->isa(UNIVERSAL).
444 - added tests and docs for this
445 - subtyping just in name now works correctly by making the
446 default for where be { 1 }
447 - added test for this
449 * Moose::Meta::Method::Accessor
450 - coerce and lazy now work together correctly, thanks to
451 merlyn for finding this bug
452 - tests added for this
453 - fix reader presedence bug in Moose::Meta::Attribute + tests
456 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
457 a HASH-ref and missed. This produces better error messages then
458 having it die cause undef is not a HASH.
459 - added tests for this
461 0.21 Thursday, May 2nd, 2007
463 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
464 - modified unimport to remove super and inner along with the rest
465 - altered unimport tests to handle this
468 - altered super export to populate SUPER_SLOT
471 - altered augment and override modifier application to use *_SLOT
472 - modified tests for these to unimport one test class each to test
475 - fixed issue where custom attribute metaclasses
476 where not handled correctly in roles
477 - added tests for this
480 - fixed issue where extending metaclasses with
481 roles would blow up. Thanks to Aankhen`` for
482 finding this insidious error, and it's solution.
484 ~~ lots of spelling and grammer fixes in the docs,
485 many many thanks to rlb3 and Aankhen for these :)
487 0.20 Friday, April 6th, 2007
488 >> I messed up the SKIP logic in one test
489 so this release is just to fix that.
492 - 'has' now also accepts an ARRAY ref
493 to create multiple attrs (see docs)
494 (thanks to konobi for this)
495 - added tests and docs
497 0.19 Thurs. April 5th, 2007
498 ~~ More documentation updates ~~
500 * Moose::Util::TypeConstraints
501 - 'type' now supports messages as well
502 thanks to phaylon for finding this
503 - added tests for this
504 - added &list_all_type_constraints and
505 &list_all_builtin_type_constraints
506 functions to facilitate introspection.
508 * Moose::Meta::Attribute
509 - fixed regexp 'handles' declarations
510 to build the list of delegated methods
511 correctly (and not override important
512 things like &new) thanks to ashleyb
514 - added tests and docs for this
515 - added the 'documentation' attributes
516 so that you can actually document your
517 attributes and inspect them through the
519 - added tests and docs for this
522 - when loading custom attribute metaclasses
523 it will first look in for the class in the
524 Moose::Meta::Attribute::Custom::$name, and
525 then default to just loading $name.
526 - added tests and docs for this
528 * Moose::Meta::TypeConstraint
529 - type constraints now stringify to their names.
530 - added test for this
533 - added tests to assure we work with Module::Refresh
534 - added stricter test skip logic in the Moose POOP
535 test, ask Rob Kinyon why.
536 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
538 0.18 Sat. March 10, 2007
539 ~~ Many, many documentation updates ~~
542 - We now use Class::MOP::load_class to
544 - added tests to show types and subtypes
545 working with Declare::Constraints::Simple
546 and Test::Deep as constraint engines.
549 !! You must have Class::MOP 0.37_001 !!
550 !! for this developer release to work !!
552 This release was primarily adding the immutable
553 feature to Moose. An immutable class is one which
554 you promise not to alter. When you set the class
555 as immutable it will perform various bits of
556 memoization and inline certain part of the code
557 (constructors, destructors and accessors). This
558 minimizes (and in some cases totally eliminates)
559 one of Moose's biggest performance hits. This
560 feature is not on by default, and is 100% optional.
561 It has several configurable bits as well, so you
562 can pick and choose to your specific needs.
564 The changes involved in this were fairly wide and
565 highly specific, but 100% backwards compatible, so
566 I am not going to enumerate them here. If you are
567 truely interested in what was changed, please do
570 0.17 Tues. Nov. 14, 2006
571 * Moose::Meta::Method::Accessor
572 - bugfix for read-only accessors which
573 are have a type constraint and lazy.
574 Thanks to chansen for finding it.
576 0.16 Tues. Nov. 14, 2006
578 There are some speed improvements in this release,
579 but they are only the begining, so stay tuned.
582 - BUILDALL and DEMOLISHALL no longer get
583 called unless they actually need to be.
584 This gave us a signifigant speed boost
585 for the cases when there is no BUILD or
586 DEMOLISH method present.
588 * Moose::Util::TypeConstraints
589 * Moose::Meta::TypeConstraint
590 - added an 'optimize_as' option to the
591 type constraint, which allows for a
592 hand optimized version of the type
593 constraint to be used when possible.
594 - Any internally created type constraints
595 now provide an optimized version as well.
597 0.15 Sun. Nov. 5, 2006
599 This version of Moose *must* have Class::MOP 0.36 in order
600 to work correctly. A number of small internal tweaks have
601 been made in order to be compatible with that release.
603 * Moose::Util::TypeConstraints
604 - added &unimport so that you can clean out
605 your class namespace of these exported
609 - fixed minor issue which occasionally
610 comes up during global destruction
612 - moved Moose::Meta::Method::Overriden into
616 - moved Moose::Meta::Role::Method into
619 * Moose::Meta::Attribute
620 - changed how we do type checks so that
621 we reduce the overall cost, but still
624 - moved accessor generation methods to
625 Moose::Meta::Method::Accessor to
626 conform to the API changes from
629 * Moose::Meta::TypeConstraint
630 - changed how constraints are compiled
631 so that we do less recursion and more
632 iteration. This makes the type check
634 - moved Moose::Meta::TypeConstraint::Union
637 * Moose::Meta::Method::Accessor
638 - created this from methods formerly found in
639 Moose::Meta::Attribute
641 * Moose::Meta::Role::Method
642 - moved this from Moose::Meta::Role
644 * Moose::Meta::Method::Overriden
645 - moved this from Moose::Meta::Class
647 * Moose::Meta::TypeConstraint::Union
648 - moved this from Moose::Meta::TypeConstraint
650 0.14 Mon. Oct. 9, 2006
652 * Moose::Meta::Attribute
653 - fixed lazy attributes which were not getting
654 checked with the type constraint (thanks ashley)
655 - added tests for this
656 - removed the over-enthusiastic DWIMery of the
657 automatic ArrayRef and HashRef defaults, it
658 broke predicates in an ugly way.
659 - removed tests for this
661 0.13 Sat. Sept. 30, 2006
663 This version of Moose *must* have Class::MOP 0.35 in order
664 to work correctly. A number of small internal tweaks have
665 been made in order to be compatible with that release.
668 - Removed the use of UNIVERSAL::require to be a better
669 symbol table citizen and remove a dependency
670 (thanks Adam Kennedy)
672 **~~ removed experimental & undocumented feature ~~**
673 - commented out the 'method' and 'self' keywords, see the
674 comments for more info.
677 - added a FAQ and WTF files to document frequently
678 asked questions and common problems
680 * Moose::Util::TypeConstraints
681 - added GlobRef and FileHandle type constraint
682 - added tests for this
684 * Moose::Meta::Attribute
685 - if your attribute 'isa' ArrayRef of HashRef, and you have
686 not explicitly set a default, then make the default DWIM.
687 This will also work for subtypes of ArrayRef and HashRef
689 - you can now auto-deref subtypes of ArrayRef or HashRef too.
690 - new test added for this (thanks to ashley)
693 - added basic support for runtime role composition
694 but this is still *highly experimental*, so feedback
695 is much appreciated :)
696 - added tests for this
698 * Moose::Meta::TypeConstraint
699 - the type constraint now handles the coercion process
700 through delegation, this is to support the coercion
703 * Moose::Meta::TypeConstraint::Union
704 - it is now possible for coercions to be performed
706 - added tests for this (thanks to konobi)
708 * Moose::Meta::TypeCoercion
709 - properly capturing error when type constraint
713 - Scalar::Util 1.18 is bad on Win32, so temporarily
714 only require version 1.17 for Win32 and cygwin.
715 (thanks Adam Kennedy)
717 0.12 Sat. Sept. 1, 2006
719 - Recipe5 (subtypes & coercion) has been written
722 - fixed "bad meta" error message to be more descriptive
723 - fixed &unimport to not remove the &inner and &super
724 keywords because we need to localize them.
725 - fixed number of spelling/grammer issues, thanks Theory :)
727 **~~ experimental & undocumented feature ~~**
728 - added the method and self keywords, they are basically
729 just sugar, and they may not stay around.
732 - added &dump method to easily Data::Dumper
735 * Moose::Meta::TypeConstraint
736 - added the &is_a_type_of method to check both the current
737 and the subtype of a method (similar to &isa with classes)
740 - this is now a subclass of Class::MOP::Module, and no longer
741 creates the _role_meta ugliness of before.
742 - fixed tests to reflect this change
744 0.11 Wed. July 12, 2006
746 - added an &unimport method to remove all the keywords
747 that Moose will import, simply add 'no Moose' to the
748 bottom of your class file.
751 - fixed some test failures caused by a forgotten test
754 0.10 Thurs. July 6, 2006
756 - improved error message when loading modules so
757 it is less confusing when you load a role.
758 - added &calculate_all_roles method to
759 Moose::Meta::Class and Moose::Meta::Role
762 This module has been tested against Class::MOP 0.30
763 but it does not yet utilize the optimizations
764 it makes available. Stay tuned for that ;)
766 0.09_03 Fri. June 23, 2006
767 ++ DEVELOPER RELEASE ++
769 - 'use strict' and 'use warnings' are no longer
770 needed in Moose classes, Moose itself will
771 turn them on for you.
772 - added tests for this
773 - moved code from exported subs to private methods
774 in Moose::Meta::Class
777 - as with Moose, strict and warnings are
778 automatically turned on for you.
779 - added tests for this
782 - now handles an edge case for override errors
783 - added tests for this
784 - added some more edge case tests
786 0.09_02 Tues. May 16, 2006
787 ++ DEVELOPER RELEASE ++
789 - added prototypes to the exported subs
793 - added prototypes to the exported subs
796 * Moose::Util::TypeConstraints
797 - cleaned up prototypes for the subs
800 0.09_01 Fri. May 12, 2006
801 ++ DEVELOPER RELEASE ++
802 - This release works in combination with
803 Class::MOP 0.29_01, it is a developer
804 release because it uses the a new
805 instance sub-protocol and a fairly
806 complete Role implementation. It has
807 not yet been optimized, so it slower
808 the the previous CPAN version. This
809 release also lacks good updated docs,
810 the official release will have updated docs.
813 - refactored the keyword exports
814 - 'with' now checks Role validaity and
815 accepts more than one Role at a time
816 - 'extends' makes metaclass adjustments as
817 needed to ensure metaclass compatability
820 - refactored the keyword exports
821 - 'with' now checks Role validaity and
822 accepts more than one Role at a time
824 * Moose::Util::TypeConstraints
825 - added the 'enum' keyword for simple
826 string enumerations which can be used as
828 - see example of usage in t/202_example.t
831 - more careful checking of params to new()
834 - much work done on the role composition
835 - many new tests for conflict detection
836 and composition edge cases
837 - not enough documentation, I suggest
840 * Moose::Meta::Instance
841 - added new Instance metaclass to support
842 the new Class::MOP instance protocol
845 - some small changes to support the new
847 - some small additions to support Roles
849 * Moose::Meta::Attribute
850 - some improvements to the accessor generation code
852 - some small changes to support the new
854 - (still somewhat) experimental delegation support
855 with the 'handles' option
856 - added several tests for this
857 - no docs for this yet
859 0.05 Thurs. April 27, 2006
861 - keywords are now exported with Sub::Exporter
862 thanks to chansen for this commit
863 - has keyword now takes a 'metaclass' option
864 to support custom attribute meta-classes
865 on a per-attribute basis
866 - added tests for this
867 - the 'has' keyword not accepts inherited slot
868 specifications (has '+foo'). This is still an
869 experimental feature and probably not finished
870 see t/038_attribute_inherited_slot_specs.t for
871 more details, or ask about it on #moose
872 - added tests for this
875 - keywords are now exported with Sub::Exporter
877 * Moose::Utils::TypeConstraints
878 - reorganized the type constraint hierarchy, thanks
879 to nothingmuch and chansen for his help and advice
881 - added some tests for this
882 - keywords are now exported with Sub::Exporter
883 thanks to chansen for this commit
886 - due to changes in Class::MOP, we had to change
887 construct_instance (for the better)
889 * Moose::Meta::Attribute
890 - due to changes in Class::MOP, we had to add the
891 initialize_instance_slot method (it's a good thing)
893 * Moose::Meta::TypeConstraint
894 - added type constraint unions
895 - added tests for this
896 - added the is_subtype_of predicate method
897 - added tests for this
899 0.04 Sun. April 16th, 2006
901 - Roles can now consume other roles
902 - added tests for this
903 - Roles can specify required methods now with
904 the requires() keyword
905 - added tests for this
908 - ripped out much of it's guts ,.. much cleaner now
909 - added required methods and correct handling of
910 them in apply() for both classes and roles
911 - added tests for this
912 - no longer adds a does() method to consuming classes
913 it relys on the one in Moose::Object
914 - added roles attribute and some methods to support
915 roles consuming roles
917 * Moose::Meta::Attribute
918 - added support for triggers on attributes
919 - added tests for this
920 - added support for does option on an attribute
921 - added tests for this
924 - added support for attribute triggers in the
926 - added tests for this
929 - Moose no longer creates a subtype for your class
930 if a subtype of the same name already exists, this
931 should DWIM in 99.9999% of all cases
933 * Moose::Util::TypeConstraints
934 - fixed bug where incorrect subtype conflicts were
936 - added test for this
939 - this class can now be extended with 'use base' if
940 you need it, it properly loads the metaclass class now
941 - added test for this
943 0.03_02 Wed. April 12, 2006
945 - you must now explictly use Moose::Util::TypeConstraints
946 it no longer gets exported for you automatically
949 - new() now accepts hash-refs as well as key/value lists
950 - added does() method to check for Roles
951 - added tests for this
954 - added roles attribute along with the add_role() and
956 - added tests for this
959 - now adds a does() method to consuming classes
960 which tests the class's hierarchy for roles
961 - added tests for this
963 0.03_01 Mon. April 10, 2006
965 - added new Role recipe (no content yet, only code)
968 - added 'with' keyword for Role support
969 - added test and docs for this
970 - fixed subtype quoting bug
971 - added test for this
975 - added test and docs
977 * Moose::Util::TypeConstraints
978 - added the message keyword to add custom
979 error messages to type constraints
982 - the meta role to support Moose::Role
983 - added tests and docs
986 - moved a number of things from Moose.pm
987 to here, they should have been here
990 * Moose::Meta::Attribute
991 - moved the attribute option macros here
992 instead of putting them in Moose.pm
994 * Moose::Meta::TypeConstraint
995 - added the message attributes and the
997 - added tests and docs for this
999 0.03 Thurs. March 30, 2006
1001 - added the Moose::Cookbook with 5 recipes,
1002 describing all the stuff Moose can do.
1005 - fixed an issue with &extends super class loading
1006 it now captures errors and deals with inline
1007 packages correctly (bug found by mst, solution
1009 - added super/override & inner/augment features
1010 - added tests and docs for these
1013 - BUILDALL now takes a reference of the %params
1014 that are passed to &new, and passes that to
1017 * Moose::Util::TypeConstraints
1018 - Type constraints now survive runtime reloading
1019 - added test for this
1021 * Moose::Meta::Class
1022 - fixed the way attribute defaults are handled
1023 during instance construction (bug found by chansen)
1025 * Moose::Meta::Attribute
1026 - read-only attributes now actually enforce their
1027 read-only-ness (this corrected in Class::MOP as
1030 0.02 Tues. March 21, 2006
1032 - many more tests, fixing some bugs and
1034 - &extends now loads the base module with
1036 - added UNIVERSAL::require to the
1039 - each new Moose class will also create
1040 and register a subtype of Object which
1041 correspond to the new Moose class.
1042 - the 'isa' option in &has now only
1043 accepts strings, and will DWIM in
1046 * Moose::Util::TypeConstraints
1047 - added type coercion features
1048 - added tests for this
1049 - added support for this in attributes
1050 and instance construction
1052 - type construction no longer creates a
1053 function, it registers the type instead.
1054 - added several functions to get the
1058 - BUILDALL and DEMOLISHALL were broken
1059 because of a mis-named hash key, Whoops :)
1061 * Moose::Meta::Attribute
1062 - adding support for coercion in the
1063 autogenerated accessors
1065 * Moose::Meta::Class
1066 - adding support for coercion in the
1067 instance construction
1069 * Moose::Meta::TypeConstraint
1070 * Moose::Meta::TypeCoercion
1071 - type constraints and coercions are now
1072 full fledges meta-objects
1074 0.01 Wed. March 15, 2006
1075 - Moooooooooooooooooose!!!