1 Revision history for Perl extension Moose
4 ~~~ more misc. doc. fixes ~~~
5 ~~ updated copyright dates ~~
7 Moose is now a postmodern object system :)
8 - (see the POD for details)
10 * <<Role System Refactoring>>
11 - this release contains a major reworking and
12 cleanup of the role system
13 - 100% backwards compat.
14 - Role application now restructured into seperate
15 classes based on type of applicants
16 - Role summation (combining of more than one role)
17 is much cleaner and anon-classes are no longer
19 - new Composite role metaclass
20 - runtime application of roles to instances
21 is now more efficient and re-uses generated
22 classes when applicable
24 * <<New Role composition features>>
25 - methods can now be excluded from a given role
27 - methods can now be aliased to another name (and
28 still retain the original as well)
32 - now uses the Moose::Util::apply_all_roles to deal
36 - added the &apply_all_roles function
39 - fixed the &_process_attribute method to be called
40 by &add_attribute, so that the API is now correct
42 * Moose::Meta::Method::Accessor
43 - fixed bug when passing a list of values to
44 an accessor would get (incorrectly) ignored.
45 Thanks to Sartak for finding this ;)
46 - added tests for this (Sartak again)
48 * Moose::Meta::Method::Accessor
49 Moose::Meta::Method::Constructor
50 Moose::Meta::Attribute
51 Moose::Meta::TypeConstraint
52 Moose::Meta::TypeCoercion
53 - lots of cleanup of such things as:
55 - type constraint handling
56 - error handling/messages
57 (thanks to nothingmuch)
59 * Moose::Util::TypeConstraints
60 - all optimized type constraint subs are now
61 pulled from the Moose::Util::TypeConstraints::OptimizedConstraints
62 module (thanks to nothingmuch)
64 * Moose::Util::TypeConstraints::OptimizedConstraints
65 - added this module (see above)
67 0.33 Fri. Dec. 14, 2007
68 !! Moose now loads 2 x faster !!
69 !! with new Class::MOP 0.49 !!
71 ++ new oose.pm module to make command line
72 Moose-ness easier (see POD docs for more)
76 - several tweaks to take advantage of the
77 new method map caching in Class::MOP
79 * Moose::Meta::TypeConstraint::Parameterized
80 - allow subtypes of ArrayRef and HashRef to
81 be used as a container (sartak)
82 - added tests for this
83 - basic support for coercion to ArrayRef and
84 HashRef for containers (sartak)
85 - added tests for this
87 * Moose::Meta::TypeCoercion
88 - coercions will now create subtypes as needed
89 so you can now add coercions to parameterized
90 types without having to explictly define them
91 - added tests for this
93 * Moose::Meta::Method::Accessor
94 - allow subclasses to decide whether we need
95 to copy the value into a new variable (sartak)
97 0.32 Tues. Dec. 4, 2007
98 * Moose::Util::TypeConstraints
99 - fixing how subtype aliases of unions work
100 they should inherit the parent's coercion
101 - added tests for this
102 - you can now define multiple coercions on
103 a single type at different times instead of
104 having to do it all in one place
105 - added tests for this
107 * Moose::Meta::TypeConstraint
108 - there is now a default constraint of sub { 1 }
109 instead of Moose::Util::TypeConstraints setting
112 * Moose::Meta::TypeCoercion
113 * Moose::Meta::TypeCoercion::Union
114 - added the &has_coercion_for_type and
115 &add_type_coercions methods to support the
116 new features above (although you cannot add
117 more type coercions for Union types)
119 0.31 Mon. Nov. 26, 2007
120 * Moose::Meta::Attribute
121 - made the +attr syntax handle extending types with
122 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
123 now works if the original foo is an ArrayRef.
124 - added tests for this.
125 - delegation now works even if the attribute does not
126 have a reader method using the get_read_method_ref
127 method from Class::MOP::Attribute.
128 - added tests for this
129 - added docs for this
131 * Moose::Util::TypeConstraints
132 - passing no "additional attribute info" to
133 &find_or_create_type_constraint will no longer
134 attempt to create an __ANON__ type for you,
135 instead it will just return undef.
136 - added docs for this
138 0.30 Fri. Nov. 23, 2007
139 * Moose::Meta::Method::Constructor
140 -builder related bug in inlined constructor. (groditi)
142 * Moose::Meta::Method::Accessor
143 - genereate unnecessary calls to predicates and refactor
144 code generation for runtime speed (groditi)
146 * Moose::Util::TypeConstraints
147 - fix ClassName constraint to introspect symbol table (mst)
148 - added more tests for this (mst)
149 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
151 - added tests for this
154 - adding the link to Recipie 11 (written by Sartak)
155 - adding test for SYNOPSIS code
158 - New tests for builder bug. Upon instantiation, if an
159 attribute had a builder, no value and was not lazy the
160 builder default was not getting run, oops. (groditi)
162 0.29 Tues. Nov. 13, 2007
163 * Moose::Meta::Attribute
164 - Fix error message on missing builder method (groditi)
166 * Moose::Meta::Method::Accessor
167 - Fix error message on missing builder method (groditi)
170 - Add test to check for the correct error message when
171 builder method is missing (groditi)
173 0.28 Tues. Nov. 13, 2007
174 - 0.27 packaged incorrectly (groditi)
176 0.27 Tues. Nov. 13, 2007
177 * Moose::Meta::Attribute
178 - Added support for the new builder option (groditi)
179 - Added support for lazy_build option (groditi)
180 - Changed slot initialization for predicate changes (groditi)
182 * Moose::Meta::Method::Accessor
183 - Added support for lazy_build option (groditi)
184 - Fix inline methods to work with corrected predicate
187 * Moose::Meta::Method::Constructor
188 - Added support for lazy_build option (groditi)
191 - tests for builder and lazy_build (groditi)
193 * fixing some misc. bits in the docs that
194 got mentioned on CPAN Forum & perlmonks
197 - fixed how required methods are handled
198 when they encounter overriden or modified
199 methods from a class (thanks to confound).
200 - added tests for this
202 * Moose::Util::TypeConstraint
203 - fixed the type notation parser so that
204 the | always creates a union and so is
205 no longer a valid type char (thanks to
206 konobi, mugwump and #moose for working
208 - added more tests for this
210 0.26 Thurs. Sept. 27, 2007
213 * Parameterized Types
214 We now support parameterized collection types, such as:
215 ArrayRef[Int] # array or integers
216 HashRef[Object] # a hash with object values
217 They can also be nested:
218 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
219 And work with the type unions as well:
220 ArrayRef[Int | Str] # array of integers of strings
222 * Better Framework Extendability
223 Moose.pm is now "extendable" such that it is now much
224 easier to extend the framework and add your own keywords
225 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
226 section of the Moose.pm docs.
229 In an effort to begin documenting some of the various
230 details of Moose as well as some common idioms, we have
231 created Moose::Cookbook::Snacks as a place to find
232 small (easily digestable) nuggets of Moose code.
235 ~ Several doc updates/cleanup thanks to castaway ~
237 - converted build system to use Module::Install instead of
238 Module::Build (thanks to jrockway)
241 - added all the meta classes to the immutable list and
242 set it to inline the accessors
243 - fix import to allow Sub::Exporter like { into => }
244 and { into_level => } (perigrin)
245 - exposed and documented init_meta() to allow better
246 embedding and extending of Moose (perigrin)
249 - complete re-organization of the test suite
250 - added some new tests as well
251 - finally re-enabled the Moose::POOP test since
252 the new version of DBM::Deep now works again
256 - fixed very odd and very nasty recursion bug with
258 - added tests for this (eilara)
260 * Moose::Meta::Attribute
261 Moose::Meta::Method::Constructor
262 Moose::Meta::Method::Accessor
263 - fixed issue with overload::Overloaded getting called
264 on non-blessed items. (RT #29269)
265 - added tests for this
267 * Moose::Meta::Method::Accessor
268 - fixed issue with generated accessor code making
269 assumptions about hash based classes (thanks to dexter)
271 * Moose::Coookbook::Snacks
272 - these are bits of documentation, not quite as big as
273 Recipes but which have no clear place in the module docs.
274 So they are Snacks! (horray for castaway++)
276 * Moose::Cookbook::Recipe4
277 - updated it to use the new ArrayRef[MyType] construct
278 - updated the accompanying test as well
280 +++ Major Refactor of the Type Constraint system +++
281 +++ with new features added as well +++
283 * Moose::Util::TypeConstraint
284 - no longer uses package variable to keep track of
285 the type constraints, now uses the an instance of
286 Moose::Meta::TypeConstraint::Registry to do it
287 - added more sophisticated type notation parsing
289 - added tests for this
291 * Moose::Meta::TypeConstraint
292 - some minor adjustments to make subclassing easier
293 - added the package_defined_in attribute so that we
294 can track where the type constraints are created
296 * Moose::Meta::TypeConstraint::Union
297 - this is now been refactored to be a subclass of
298 Moose::Meta::TypeConstraint
300 * Moose::Meta::TypeCoercion::Union
301 - this has been added to service the newly refactored
302 Moose::Meta::TypeConstraint::Union and is itself
303 a subclass of Moose::Meta::TypeCoercion
305 * Moose::Meta::TypeConstraint::Parameterized
306 - added this module (taken from MooseX::AttributeHelpers)
307 to help construct nested collection types
308 - added tests for this
310 * Moose::Meta::TypeConstraint::Registry
311 - added this class to keep track of type constraints
313 0.25 Mon. Aug. 13, 2007
315 - Documentation update to reference Moose::Util::TypeConstraints
316 under 'isa' in 'has' for how to define a new type
319 * Moose::Meta::Attribute
320 - required attributes now will no longer accept undef
321 from the constructor, even if there is a default and lazy
322 - added tests for this
323 - default subroutines must return a value which passes the
325 - added tests for this
327 * Moose::Meta::Attribute
328 * Moose::Meta::Method::Constructor
329 * Moose::Meta::Method::Accessor
330 - type-constraint tests now handle overloaded objects correctly
332 - added tests for this (thanks to EvanCarroll)
334 * Moose::Meta::TypeConstraint::Union
335 - added (has_)hand_optimized_constraint to this class so that
336 it behaves as the regular Moose::Meta::TypeConstraint does.
339 - large refactoring of this code
340 - added several more tests
341 - tests for subtle conflict resolition issues
342 added, but not currently running
345 * Moose::Cookbook::Recipe7
346 - added new recipe for augment/inner functionality
348 - added test for this
351 - a formal definition of roles (still in progress)
354 - utilities for easier working with Moose classes
355 - added tests for these
358 - This contains Moose specific test functions
359 - added tests for these
361 0.24 Tues. July 3, 2007
362 ~ Some doc updates/cleanup ~
364 * Moose::Meta::Attribute
365 - added support for roles to be given as parameters
366 to the 'handles' option.
367 - added tests and docs for this
368 - the has '+foo' attribute form now accepts changes to
369 the lazy option, and the addition of a handles option
370 (but not changing the handles option)
371 - added tests and docs for this
374 - required methods are now fetched using find_method_by_name
375 so that required methods can come from superclasses
376 - adjusted tests for this
378 0.23 Mon. June 18, 2007
379 * Moose::Meta::Method::Constructor
380 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
382 - Modify make_immutable to work with the new Class::MOP immutable
383 mechanism + POD + very basic test (groditi)
384 * Moose::Meta::Attribute
385 - Fix handles to use goto() so that caller() comes out properly on
386 the other side (perigrin)
388 0.22 Thurs. May 31, 2007
389 * Moose::Util::TypeConstraints
390 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
391 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
392 prototypes for functions
393 - added the ClassName type constraint, this checks for strings
394 which will respond true to ->isa(UNIVERSAL).
395 - added tests and docs for this
396 - subtyping just in name now works correctly by making the
397 default for where be { 1 }
398 - added test for this
400 * Moose::Meta::Method::Accessor
401 - coerce and lazy now work together correctly, thanks to
402 merlyn for finding this bug
403 - tests added for this
404 - fix reader presedence bug in Moose::Meta::Attribute + tests
407 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
408 a HASH-ref and missed. This produces better error messages then
409 having it die cause undef is not a HASH.
410 - added tests for this
412 0.21 Thursday, May 2nd, 2007
414 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
415 - modified unimport to remove super and inner along with the rest
416 - altered unimport tests to handle this
419 - altered super export to populate SUPER_SLOT
422 - altered augment and override modifier application to use *_SLOT
423 - modified tests for these to unimport one test class each to test
426 - fixed issue where custom attribute metaclasses
427 where not handled correctly in roles
428 - added tests for this
431 - fixed issue where extending metaclasses with
432 roles would blow up. Thanks to Aankhen`` for
433 finding this insidious error, and it's solution.
435 ~~ lots of spelling and grammer fixes in the docs,
436 many many thanks to rlb3 and Aankhen for these :)
438 0.20 Friday, April 6th, 2007
439 >> I messed up the SKIP logic in one test
440 so this release is just to fix that.
443 - 'has' now also accepts an ARRAY ref
444 to create multiple attrs (see docs)
445 (thanks to konobi for this)
446 - added tests and docs
448 0.19 Thurs. April 5th, 2007
449 ~~ More documentation updates ~~
451 * Moose::Util::TypeConstraints
452 - 'type' now supports messages as well
453 thanks to phaylon for finding this
454 - added tests for this
455 - added &list_all_type_constraints and
456 &list_all_builtin_type_constraints
457 functions to facilitate introspection.
459 * Moose::Meta::Attribute
460 - fixed regexp 'handles' declarations
461 to build the list of delegated methods
462 correctly (and not override important
463 things like &new) thanks to ashleyb
465 - added tests and docs for this
466 - added the 'documentation' attributes
467 so that you can actually document your
468 attributes and inspect them through the
470 - added tests and docs for this
473 - when loading custom attribute metaclasses
474 it will first look in for the class in the
475 Moose::Meta::Attribute::Custom::$name, and
476 then default to just loading $name.
477 - added tests and docs for this
479 * Moose::Meta::TypeConstraint
480 - type constraints now stringify to their names.
481 - added test for this
484 - added tests to assure we work with Module::Refresh
485 - added stricter test skip logic in the Moose POOP
486 test, ask Rob Kinyon why.
487 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
489 0.18 Sat. March 10, 2007
490 ~~ Many, many documentation updates ~~
493 - We now use Class::MOP::load_class to
495 - added tests to show types and subtypes
496 working with Declare::Constraints::Simple
497 and Test::Deep as constraint engines.
500 !! You must have Class::MOP 0.37_001 !!
501 !! for this developer release to work !!
503 This release was primarily adding the immutable
504 feature to Moose. An immutable class is one which
505 you promise not to alter. When you set the class
506 as immutable it will perform various bits of
507 memoization and inline certain part of the code
508 (constructors, destructors and accessors). This
509 minimizes (and in some cases totally eliminates)
510 one of Moose's biggest performance hits. This
511 feature is not on by default, and is 100% optional.
512 It has several configurable bits as well, so you
513 can pick and choose to your specific needs.
515 The changes involved in this were fairly wide and
516 highly specific, but 100% backwards compatible, so
517 I am not going to enumerate them here. If you are
518 truely interested in what was changed, please do
521 0.17 Tues. Nov. 14, 2006
522 * Moose::Meta::Method::Accessor
523 - bugfix for read-only accessors which
524 are have a type constraint and lazy.
525 Thanks to chansen for finding it.
527 0.16 Tues. Nov. 14, 2006
529 There are some speed improvements in this release,
530 but they are only the begining, so stay tuned.
533 - BUILDALL and DEMOLISHALL no longer get
534 called unless they actually need to be.
535 This gave us a signifigant speed boost
536 for the cases when there is no BUILD or
537 DEMOLISH method present.
539 * Moose::Util::TypeConstraints
540 * Moose::Meta::TypeConstraint
541 - added an 'optimize_as' option to the
542 type constraint, which allows for a
543 hand optimized version of the type
544 constraint to be used when possible.
545 - Any internally created type constraints
546 now provide an optimized version as well.
548 0.15 Sun. Nov. 5, 2006
550 This version of Moose *must* have Class::MOP 0.36 in order
551 to work correctly. A number of small internal tweaks have
552 been made in order to be compatible with that release.
554 * Moose::Util::TypeConstraints
555 - added &unimport so that you can clean out
556 your class namespace of these exported
560 - fixed minor issue which occasionally
561 comes up during global destruction
563 - moved Moose::Meta::Method::Overriden into
567 - moved Moose::Meta::Role::Method into
570 * Moose::Meta::Attribute
571 - changed how we do type checks so that
572 we reduce the overall cost, but still
575 - moved accessor generation methods to
576 Moose::Meta::Method::Accessor to
577 conform to the API changes from
580 * Moose::Meta::TypeConstraint
581 - changed how constraints are compiled
582 so that we do less recursion and more
583 iteration. This makes the type check
585 - moved Moose::Meta::TypeConstraint::Union
588 * Moose::Meta::Method::Accessor
589 - created this from methods formerly found in
590 Moose::Meta::Attribute
592 * Moose::Meta::Role::Method
593 - moved this from Moose::Meta::Role
595 * Moose::Meta::Method::Overriden
596 - moved this from Moose::Meta::Class
598 * Moose::Meta::TypeConstraint::Union
599 - moved this from Moose::Meta::TypeConstraint
601 0.14 Mon. Oct. 9, 2006
603 * Moose::Meta::Attribute
604 - fixed lazy attributes which were not getting
605 checked with the type constraint (thanks ashley)
606 - added tests for this
607 - removed the over-enthusiastic DWIMery of the
608 automatic ArrayRef and HashRef defaults, it
609 broke predicates in an ugly way.
610 - removed tests for this
612 0.13 Sat. Sept. 30, 2006
614 This version of Moose *must* have Class::MOP 0.35 in order
615 to work correctly. A number of small internal tweaks have
616 been made in order to be compatible with that release.
619 - Removed the use of UNIVERSAL::require to be a better
620 symbol table citizen and remove a dependency
621 (thanks Adam Kennedy)
623 **~~ removed experimental & undocumented feature ~~**
624 - commented out the 'method' and 'self' keywords, see the
625 comments for more info.
628 - added a FAQ and WTF files to document frequently
629 asked questions and common problems
631 * Moose::Util::TypeConstraints
632 - added GlobRef and FileHandle type constraint
633 - added tests for this
635 * Moose::Meta::Attribute
636 - if your attribute 'isa' ArrayRef of HashRef, and you have
637 not explicitly set a default, then make the default DWIM.
638 This will also work for subtypes of ArrayRef and HashRef
640 - you can now auto-deref subtypes of ArrayRef or HashRef too.
641 - new test added for this (thanks to ashley)
644 - added basic support for runtime role composition
645 but this is still *highly experimental*, so feedback
646 is much appreciated :)
647 - added tests for this
649 * Moose::Meta::TypeConstraint
650 - the type constraint now handles the coercion process
651 through delegation, this is to support the coercion
654 * Moose::Meta::TypeConstraint::Union
655 - it is now possible for coercions to be performed
657 - added tests for this (thanks to konobi)
659 * Moose::Meta::TypeCoercion
660 - properly capturing error when type constraint
664 - Scalar::Util 1.18 is bad on Win32, so temporarily
665 only require version 1.17 for Win32 and cygwin.
666 (thanks Adam Kennedy)
668 0.12 Sat. Sept. 1, 2006
670 - Recipe5 (subtypes & coercion) has been written
673 - fixed "bad meta" error message to be more descriptive
674 - fixed &unimport to not remove the &inner and &super
675 keywords because we need to localize them.
676 - fixed number of spelling/grammer issues, thanks Theory :)
678 **~~ experimental & undocumented feature ~~**
679 - added the method and self keywords, they are basically
680 just sugar, and they may not stay around.
683 - added &dump method to easily Data::Dumper
686 * Moose::Meta::TypeConstraint
687 - added the &is_a_type_of method to check both the current
688 and the subtype of a method (similar to &isa with classes)
691 - this is now a subclass of Class::MOP::Module, and no longer
692 creates the _role_meta ugliness of before.
693 - fixed tests to reflect this change
695 0.11 Wed. July 12, 2006
697 - added an &unimport method to remove all the keywords
698 that Moose will import, simply add 'no Moose' to the
699 bottom of your class file.
702 - fixed some test failures caused by a forgotten test
705 0.10 Thurs. July 6, 2006
707 - improved error message when loading modules so
708 it is less confusing when you load a role.
709 - added &calculate_all_roles method to
710 Moose::Meta::Class and Moose::Meta::Role
713 This module has been tested against Class::MOP 0.30
714 but it does not yet utilize the optimizations
715 it makes available. Stay tuned for that ;)
717 0.09_03 Fri. June 23, 2006
718 ++ DEVELOPER RELEASE ++
720 - 'use strict' and 'use warnings' are no longer
721 needed in Moose classes, Moose itself will
722 turn them on for you.
723 - added tests for this
724 - moved code from exported subs to private methods
725 in Moose::Meta::Class
728 - as with Moose, strict and warnings are
729 automatically turned on for you.
730 - added tests for this
733 - now handles an edge case for override errors
734 - added tests for this
735 - added some more edge case tests
737 0.09_02 Tues. May 16, 2006
738 ++ DEVELOPER RELEASE ++
740 - added prototypes to the exported subs
744 - added prototypes to the exported subs
747 * Moose::Util::TypeConstraints
748 - cleaned up prototypes for the subs
751 0.09_01 Fri. May 12, 2006
752 ++ DEVELOPER RELEASE ++
753 - This release works in combination with
754 Class::MOP 0.29_01, it is a developer
755 release because it uses the a new
756 instance sub-protocol and a fairly
757 complete Role implementation. It has
758 not yet been optimized, so it slower
759 the the previous CPAN version. This
760 release also lacks good updated docs,
761 the official release will have updated docs.
764 - refactored the keyword exports
765 - 'with' now checks Role validaity and
766 accepts more than one Role at a time
767 - 'extends' makes metaclass adjustments as
768 needed to ensure metaclass compatability
771 - refactored the keyword exports
772 - 'with' now checks Role validaity and
773 accepts more than one Role at a time
775 * Moose::Util::TypeConstraints
776 - added the 'enum' keyword for simple
777 string enumerations which can be used as
779 - see example of usage in t/202_example.t
782 - more careful checking of params to new()
785 - much work done on the role composition
786 - many new tests for conflict detection
787 and composition edge cases
788 - not enough documentation, I suggest
791 * Moose::Meta::Instance
792 - added new Instance metaclass to support
793 the new Class::MOP instance protocol
796 - some small changes to support the new
798 - some small additions to support Roles
800 * Moose::Meta::Attribute
801 - some improvements to the accessor generation code
803 - some small changes to support the new
805 - (still somewhat) experimental delegation support
806 with the 'handles' option
807 - added several tests for this
808 - no docs for this yet
810 0.05 Thurs. April 27, 2006
812 - keywords are now exported with Sub::Exporter
813 thanks to chansen for this commit
814 - has keyword now takes a 'metaclass' option
815 to support custom attribute meta-classes
816 on a per-attribute basis
817 - added tests for this
818 - the 'has' keyword not accepts inherited slot
819 specifications (has '+foo'). This is still an
820 experimental feature and probably not finished
821 see t/038_attribute_inherited_slot_specs.t for
822 more details, or ask about it on #moose
823 - added tests for this
826 - keywords are now exported with Sub::Exporter
828 * Moose::Utils::TypeConstraints
829 - reorganized the type constraint hierarchy, thanks
830 to nothingmuch and chansen for his help and advice
832 - added some tests for this
833 - keywords are now exported with Sub::Exporter
834 thanks to chansen for this commit
837 - due to changes in Class::MOP, we had to change
838 construct_instance (for the better)
840 * Moose::Meta::Attribute
841 - due to changes in Class::MOP, we had to add the
842 initialize_instance_slot method (it's a good thing)
844 * Moose::Meta::TypeConstraint
845 - added type constraint unions
846 - added tests for this
847 - added the is_subtype_of predicate method
848 - added tests for this
850 0.04 Sun. April 16th, 2006
852 - Roles can now consume other roles
853 - added tests for this
854 - Roles can specify required methods now with
855 the requires() keyword
856 - added tests for this
859 - ripped out much of it's guts ,.. much cleaner now
860 - added required methods and correct handling of
861 them in apply() for both classes and roles
862 - added tests for this
863 - no longer adds a does() method to consuming classes
864 it relys on the one in Moose::Object
865 - added roles attribute and some methods to support
866 roles consuming roles
868 * Moose::Meta::Attribute
869 - added support for triggers on attributes
870 - added tests for this
871 - added support for does option on an attribute
872 - added tests for this
875 - added support for attribute triggers in the
877 - added tests for this
880 - Moose no longer creates a subtype for your class
881 if a subtype of the same name already exists, this
882 should DWIM in 99.9999% of all cases
884 * Moose::Util::TypeConstraints
885 - fixed bug where incorrect subtype conflicts were
887 - added test for this
890 - this class can now be extended with 'use base' if
891 you need it, it properly loads the metaclass class now
892 - added test for this
894 0.03_02 Wed. April 12, 2006
896 - you must now explictly use Moose::Util::TypeConstraints
897 it no longer gets exported for you automatically
900 - new() now accepts hash-refs as well as key/value lists
901 - added does() method to check for Roles
902 - added tests for this
905 - added roles attribute along with the add_role() and
907 - added tests for this
910 - now adds a does() method to consuming classes
911 which tests the class's hierarchy for roles
912 - added tests for this
914 0.03_01 Mon. April 10, 2006
916 - added new Role recipe (no content yet, only code)
919 - added 'with' keyword for Role support
920 - added test and docs for this
921 - fixed subtype quoting bug
922 - added test for this
926 - added test and docs
928 * Moose::Util::TypeConstraints
929 - added the message keyword to add custom
930 error messages to type constraints
933 - the meta role to support Moose::Role
934 - added tests and docs
937 - moved a number of things from Moose.pm
938 to here, they should have been here
941 * Moose::Meta::Attribute
942 - moved the attribute option macros here
943 instead of putting them in Moose.pm
945 * Moose::Meta::TypeConstraint
946 - added the message attributes and the
948 - added tests and docs for this
950 0.03 Thurs. March 30, 2006
952 - added the Moose::Cookbook with 5 recipes,
953 describing all the stuff Moose can do.
956 - fixed an issue with &extends super class loading
957 it now captures errors and deals with inline
958 packages correctly (bug found by mst, solution
960 - added super/override & inner/augment features
961 - added tests and docs for these
964 - BUILDALL now takes a reference of the %params
965 that are passed to &new, and passes that to
968 * Moose::Util::TypeConstraints
969 - Type constraints now survive runtime reloading
970 - added test for this
973 - fixed the way attribute defaults are handled
974 during instance construction (bug found by chansen)
976 * Moose::Meta::Attribute
977 - read-only attributes now actually enforce their
978 read-only-ness (this corrected in Class::MOP as
981 0.02 Tues. March 21, 2006
983 - many more tests, fixing some bugs and
985 - &extends now loads the base module with
987 - added UNIVERSAL::require to the
990 - each new Moose class will also create
991 and register a subtype of Object which
992 correspond to the new Moose class.
993 - the 'isa' option in &has now only
994 accepts strings, and will DWIM in
997 * Moose::Util::TypeConstraints
998 - added type coercion features
999 - added tests for this
1000 - added support for this in attributes
1001 and instance construction
1003 - type construction no longer creates a
1004 function, it registers the type instead.
1005 - added several functions to get the
1009 - BUILDALL and DEMOLISHALL were broken
1010 because of a mis-named hash key, Whoops :)
1012 * Moose::Meta::Attribute
1013 - adding support for coercion in the
1014 autogenerated accessors
1016 * Moose::Meta::Class
1017 - adding support for coercion in the
1018 instance construction
1020 * Moose::Meta::TypeConstraint
1021 * Moose::Meta::TypeCoercion
1022 - type constraints and coercions are now
1023 full fledges meta-objects
1025 0.01 Wed. March 15, 2006
1026 - Moooooooooooooooooose!!!