1 Revision history for Perl extension Moose
3 0.37 Thurs. Fri. 14, 2008
5 - fixed some details in Moose::init_meta
6 and its superclass handling (thanks thepler)
7 - added tests for this (thanks thepler)
8 - 'has' now dies if you don't pass in name
10 - added the 'make_immutable' keyword as a shortcut
14 Moose::Meta::Method::Constructor
15 Moose::Meta::Attribute
16 - making (init_arg => undef) work here too
17 (thanks to nothingmuch)
19 * Moose::Meta::Attribute
20 Moose::Meta::Method::Constructor
21 Moose::Meta::Method::Accessor
22 - make lazy attributes respect attr initializers (rjbs)
23 - added tests for this
25 * Moose::Util::TypeConstraints
26 Moose::Util::TypeConstraints::OptimizedConstraints
27 Moose::Meta::TypeConstraints
28 Moose::Meta::Attribute
29 Moose::Meta::Method::Constructor
30 Moose::Meta::Method::Accessor
31 - making type errors use the
32 assigned message (thanks to Sartak)
33 - added tests for this
35 * Moose::Meta::Method::Destructor
36 - making sure DESTROY gets inlined properly
37 with successive DEMOLISH calls (thanks to manito)
39 * Moose::Meta::Attribute
40 Moose::Meta::Method::Accessor
41 - fixed handling of undef with type constraints
43 - added tests for this
46 - added &get_all_init_args and &get_all_attribute_values
47 (thanks to Sartak and nothingmuch)
49 0.36 Sat. Jan. 26, 2008
51 Moose::Meta::Attribute
52 - role type tests now support when roles are
53 applied to non-Moose classes (found by ash)
54 - added tests for this (thanks to ash)
55 - couple extra tests to boost code coverage
57 * Moose::Meta::Method::Constructor
58 - improved fix for handling Class::MOP attributes
62 - handled the add_attribute($attribute_meta_object)
66 0.35 Tues. Jan. 22, 2008
67 * Moose::Meta::Method::Constructor
68 - fix to make sure even Class::MOP attributes
69 are handled correctly (Thanks to Dave Rolsky)
70 - added test for this (also Dave Rolsky)
73 - improved error message on _apply_all_roles,
74 you should now use Moose::Util::apply_all_roles
75 and you shouldnt have been using a _ prefixed
76 method in the first place ;)
78 0.34 Mon. Jan. 21, 2008
79 ~~~ more misc. doc. fixes ~~~
80 ~~ updated copyright dates ~~
82 Moose is now a postmodern object system :)
83 - (see the POD for details)
85 * <<Role System Refactoring>>
86 - this release contains a major reworking and
87 cleanup of the role system
88 - 100% backwards compat.
89 - Role application now restructured into seperate
90 classes based on type of applicants
91 - Role summation (combining of more than one role)
92 is much cleaner and anon-classes are no longer
94 - new Composite role metaclass
95 - runtime application of roles to instances
96 is now more efficient and re-uses generated
97 classes when applicable
99 * <<New Role composition features>>
100 - methods can now be excluded from a given role
102 - methods can now be aliased to another name (and
103 still retain the original as well)
105 * Moose::Util::TypeConstraints::OptimizedConstraints
106 - added this module (see above)
109 - fixed the &_process_attribute method to be called
110 by &add_attribute, so that the API is now correct
112 * Moose::Meta::Method::Accessor
113 - fixed bug when passing a list of values to
114 an accessor would get (incorrectly) ignored.
115 Thanks to Sartak for finding this ;)
116 - added tests for this (Sartak again)
118 * Moose::Meta::Method::Accessor
119 Moose::Meta::Method::Constructor
120 Moose::Meta::Attribute
121 Moose::Meta::TypeConstraint
122 Moose::Meta::TypeCoercion
123 - lots of cleanup of such things as:
125 - type constraint handling
126 - error handling/messages
127 (thanks to nothingmuch)
129 * Moose::Meta::TypeConstraint::Parameterizable
130 - added this module to support the refactor
131 in Moose::Meta::TypeConstraint::Parameterized
133 * Moose::Meta::TypeConstraint::Parameterized
134 - refactored how these types are handled so they
135 are more generic and not confined to ArrayRef
139 - shortened some file names for better VMS support (RT #32381)
141 0.33 Fri. Dec. 14, 2007
142 !! Moose now loads 2 x faster !!
143 !! with new Class::MOP 0.49 !!
145 ++ new oose.pm module to make command line
146 Moose-ness easier (see POD docs for more)
150 - several tweaks to take advantage of the
151 new method map caching in Class::MOP
153 * Moose::Meta::TypeConstraint::Parameterized
154 - allow subtypes of ArrayRef and HashRef to
155 be used as a container (sartak)
156 - added tests for this
157 - basic support for coercion to ArrayRef and
158 HashRef for containers (sartak)
159 - added tests for this
161 * Moose::Meta::TypeCoercion
162 - coercions will now create subtypes as needed
163 so you can now add coercions to parameterized
164 types without having to explictly define them
165 - added tests for this
167 * Moose::Meta::Method::Accessor
168 - allow subclasses to decide whether we need
169 to copy the value into a new variable (sartak)
171 0.32 Tues. Dec. 4, 2007
172 * Moose::Util::TypeConstraints
173 - fixing how subtype aliases of unions work
174 they should inherit the parent's coercion
175 - added tests for this
176 - you can now define multiple coercions on
177 a single type at different times instead of
178 having to do it all in one place
179 - added tests for this
181 * Moose::Meta::TypeConstraint
182 - there is now a default constraint of sub { 1 }
183 instead of Moose::Util::TypeConstraints setting
186 * Moose::Meta::TypeCoercion
187 * Moose::Meta::TypeCoercion::Union
188 - added the &has_coercion_for_type and
189 &add_type_coercions methods to support the
190 new features above (although you cannot add
191 more type coercions for Union types)
193 0.31 Mon. Nov. 26, 2007
194 * Moose::Meta::Attribute
195 - made the +attr syntax handle extending types with
196 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
197 now works if the original foo is an ArrayRef.
198 - added tests for this.
199 - delegation now works even if the attribute does not
200 have a reader method using the get_read_method_ref
201 method from Class::MOP::Attribute.
202 - added tests for this
203 - added docs for this
205 * Moose::Util::TypeConstraints
206 - passing no "additional attribute info" to
207 &find_or_create_type_constraint will no longer
208 attempt to create an __ANON__ type for you,
209 instead it will just return undef.
210 - added docs for this
212 0.30 Fri. Nov. 23, 2007
213 * Moose::Meta::Method::Constructor
214 -builder related bug in inlined constructor. (groditi)
216 * Moose::Meta::Method::Accessor
217 - genereate unnecessary calls to predicates and refactor
218 code generation for runtime speed (groditi)
220 * Moose::Util::TypeConstraints
221 - fix ClassName constraint to introspect symbol table (mst)
222 - added more tests for this (mst)
223 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
225 - added tests for this
228 - adding the link to Recipie 11 (written by Sartak)
229 - adding test for SYNOPSIS code
232 - New tests for builder bug. Upon instantiation, if an
233 attribute had a builder, no value and was not lazy the
234 builder default was not getting run, oops. (groditi)
236 0.29 Tues. Nov. 13, 2007
237 * Moose::Meta::Attribute
238 - Fix error message on missing builder method (groditi)
240 * Moose::Meta::Method::Accessor
241 - Fix error message on missing builder method (groditi)
244 - Add test to check for the correct error message when
245 builder method is missing (groditi)
247 0.28 Tues. Nov. 13, 2007
248 - 0.27 packaged incorrectly (groditi)
250 0.27 Tues. Nov. 13, 2007
251 * Moose::Meta::Attribute
252 - Added support for the new builder option (groditi)
253 - Added support for lazy_build option (groditi)
254 - Changed slot initialization for predicate changes (groditi)
256 * Moose::Meta::Method::Accessor
257 - Added support for lazy_build option (groditi)
258 - Fix inline methods to work with corrected predicate
261 * Moose::Meta::Method::Constructor
262 - Added support for lazy_build option (groditi)
265 - tests for builder and lazy_build (groditi)
267 * fixing some misc. bits in the docs that
268 got mentioned on CPAN Forum & perlmonks
271 - fixed how required methods are handled
272 when they encounter overriden or modified
273 methods from a class (thanks to confound).
274 - added tests for this
276 * Moose::Util::TypeConstraint
277 - fixed the type notation parser so that
278 the | always creates a union and so is
279 no longer a valid type char (thanks to
280 konobi, mugwump and #moose for working
282 - added more tests for this
284 0.26 Thurs. Sept. 27, 2007
287 * Parameterized Types
288 We now support parameterized collection types, such as:
289 ArrayRef[Int] # array or integers
290 HashRef[Object] # a hash with object values
291 They can also be nested:
292 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
293 And work with the type unions as well:
294 ArrayRef[Int | Str] # array of integers of strings
296 * Better Framework Extendability
297 Moose.pm is now "extendable" such that it is now much
298 easier to extend the framework and add your own keywords
299 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
300 section of the Moose.pm docs.
303 In an effort to begin documenting some of the various
304 details of Moose as well as some common idioms, we have
305 created Moose::Cookbook::Snacks as a place to find
306 small (easily digestable) nuggets of Moose code.
309 ~ Several doc updates/cleanup thanks to castaway ~
311 - converted build system to use Module::Install instead of
312 Module::Build (thanks to jrockway)
315 - added all the meta classes to the immutable list and
316 set it to inline the accessors
317 - fix import to allow Sub::Exporter like { into => }
318 and { into_level => } (perigrin)
319 - exposed and documented init_meta() to allow better
320 embedding and extending of Moose (perigrin)
323 - complete re-organization of the test suite
324 - added some new tests as well
325 - finally re-enabled the Moose::POOP test since
326 the new version of DBM::Deep now works again
330 - fixed very odd and very nasty recursion bug with
332 - added tests for this (eilara)
334 * Moose::Meta::Attribute
335 Moose::Meta::Method::Constructor
336 Moose::Meta::Method::Accessor
337 - fixed issue with overload::Overloaded getting called
338 on non-blessed items. (RT #29269)
339 - added tests for this
341 * Moose::Meta::Method::Accessor
342 - fixed issue with generated accessor code making
343 assumptions about hash based classes (thanks to dexter)
345 * Moose::Coookbook::Snacks
346 - these are bits of documentation, not quite as big as
347 Recipes but which have no clear place in the module docs.
348 So they are Snacks! (horray for castaway++)
350 * Moose::Cookbook::Recipe4
351 - updated it to use the new ArrayRef[MyType] construct
352 - updated the accompanying test as well
354 +++ Major Refactor of the Type Constraint system +++
355 +++ with new features added as well +++
357 * Moose::Util::TypeConstraint
358 - no longer uses package variable to keep track of
359 the type constraints, now uses the an instance of
360 Moose::Meta::TypeConstraint::Registry to do it
361 - added more sophisticated type notation parsing
363 - added tests for this
365 * Moose::Meta::TypeConstraint
366 - some minor adjustments to make subclassing easier
367 - added the package_defined_in attribute so that we
368 can track where the type constraints are created
370 * Moose::Meta::TypeConstraint::Union
371 - this is now been refactored to be a subclass of
372 Moose::Meta::TypeConstraint
374 * Moose::Meta::TypeCoercion::Union
375 - this has been added to service the newly refactored
376 Moose::Meta::TypeConstraint::Union and is itself
377 a subclass of Moose::Meta::TypeCoercion
379 * Moose::Meta::TypeConstraint::Parameterized
380 - added this module (taken from MooseX::AttributeHelpers)
381 to help construct nested collection types
382 - added tests for this
384 * Moose::Meta::TypeConstraint::Registry
385 - added this class to keep track of type constraints
387 0.25 Mon. Aug. 13, 2007
389 - Documentation update to reference Moose::Util::TypeConstraints
390 under 'isa' in 'has' for how to define a new type
393 * Moose::Meta::Attribute
394 - required attributes now will no longer accept undef
395 from the constructor, even if there is a default and lazy
396 - added tests for this
397 - default subroutines must return a value which passes the
399 - added tests for this
401 * Moose::Meta::Attribute
402 * Moose::Meta::Method::Constructor
403 * Moose::Meta::Method::Accessor
404 - type-constraint tests now handle overloaded objects correctly
406 - added tests for this (thanks to EvanCarroll)
408 * Moose::Meta::TypeConstraint::Union
409 - added (has_)hand_optimized_constraint to this class so that
410 it behaves as the regular Moose::Meta::TypeConstraint does.
413 - large refactoring of this code
414 - added several more tests
415 - tests for subtle conflict resolition issues
416 added, but not currently running
419 * Moose::Cookbook::Recipe7
420 - added new recipe for augment/inner functionality
422 - added test for this
425 - a formal definition of roles (still in progress)
428 - utilities for easier working with Moose classes
429 - added tests for these
432 - This contains Moose specific test functions
433 - added tests for these
435 0.24 Tues. July 3, 2007
436 ~ Some doc updates/cleanup ~
438 * Moose::Meta::Attribute
439 - added support for roles to be given as parameters
440 to the 'handles' option.
441 - added tests and docs for this
442 - the has '+foo' attribute form now accepts changes to
443 the lazy option, and the addition of a handles option
444 (but not changing the handles option)
445 - added tests and docs for this
448 - required methods are now fetched using find_method_by_name
449 so that required methods can come from superclasses
450 - adjusted tests for this
452 0.23 Mon. June 18, 2007
453 * Moose::Meta::Method::Constructor
454 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
456 - Modify make_immutable to work with the new Class::MOP immutable
457 mechanism + POD + very basic test (groditi)
458 * Moose::Meta::Attribute
459 - Fix handles to use goto() so that caller() comes out properly on
460 the other side (perigrin)
462 0.22 Thurs. May 31, 2007
463 * Moose::Util::TypeConstraints
464 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
465 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
466 prototypes for functions
467 - added the ClassName type constraint, this checks for strings
468 which will respond true to ->isa(UNIVERSAL).
469 - added tests and docs for this
470 - subtyping just in name now works correctly by making the
471 default for where be { 1 }
472 - added test for this
474 * Moose::Meta::Method::Accessor
475 - coerce and lazy now work together correctly, thanks to
476 merlyn for finding this bug
477 - tests added for this
478 - fix reader presedence bug in Moose::Meta::Attribute + tests
481 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
482 a HASH-ref and missed. This produces better error messages then
483 having it die cause undef is not a HASH.
484 - added tests for this
486 0.21 Thursday, May 2nd, 2007
488 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
489 - modified unimport to remove super and inner along with the rest
490 - altered unimport tests to handle this
493 - altered super export to populate SUPER_SLOT
496 - altered augment and override modifier application to use *_SLOT
497 - modified tests for these to unimport one test class each to test
500 - fixed issue where custom attribute metaclasses
501 where not handled correctly in roles
502 - added tests for this
505 - fixed issue where extending metaclasses with
506 roles would blow up. Thanks to Aankhen`` for
507 finding this insidious error, and it's solution.
509 ~~ lots of spelling and grammer fixes in the docs,
510 many many thanks to rlb3 and Aankhen for these :)
512 0.20 Friday, April 6th, 2007
513 >> I messed up the SKIP logic in one test
514 so this release is just to fix that.
517 - 'has' now also accepts an ARRAY ref
518 to create multiple attrs (see docs)
519 (thanks to konobi for this)
520 - added tests and docs
522 0.19 Thurs. April 5th, 2007
523 ~~ More documentation updates ~~
525 * Moose::Util::TypeConstraints
526 - 'type' now supports messages as well
527 thanks to phaylon for finding this
528 - added tests for this
529 - added &list_all_type_constraints and
530 &list_all_builtin_type_constraints
531 functions to facilitate introspection.
533 * Moose::Meta::Attribute
534 - fixed regexp 'handles' declarations
535 to build the list of delegated methods
536 correctly (and not override important
537 things like &new) thanks to ashleyb
539 - added tests and docs for this
540 - added the 'documentation' attributes
541 so that you can actually document your
542 attributes and inspect them through the
544 - added tests and docs for this
547 - when loading custom attribute metaclasses
548 it will first look in for the class in the
549 Moose::Meta::Attribute::Custom::$name, and
550 then default to just loading $name.
551 - added tests and docs for this
553 * Moose::Meta::TypeConstraint
554 - type constraints now stringify to their names.
555 - added test for this
558 - added tests to assure we work with Module::Refresh
559 - added stricter test skip logic in the Moose POOP
560 test, ask Rob Kinyon why.
561 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
563 0.18 Sat. March 10, 2007
564 ~~ Many, many documentation updates ~~
567 - We now use Class::MOP::load_class to
569 - added tests to show types and subtypes
570 working with Declare::Constraints::Simple
571 and Test::Deep as constraint engines.
574 !! You must have Class::MOP 0.37_001 !!
575 !! for this developer release to work !!
577 This release was primarily adding the immutable
578 feature to Moose. An immutable class is one which
579 you promise not to alter. When you set the class
580 as immutable it will perform various bits of
581 memoization and inline certain part of the code
582 (constructors, destructors and accessors). This
583 minimizes (and in some cases totally eliminates)
584 one of Moose's biggest performance hits. This
585 feature is not on by default, and is 100% optional.
586 It has several configurable bits as well, so you
587 can pick and choose to your specific needs.
589 The changes involved in this were fairly wide and
590 highly specific, but 100% backwards compatible, so
591 I am not going to enumerate them here. If you are
592 truely interested in what was changed, please do
595 0.17 Tues. Nov. 14, 2006
596 * Moose::Meta::Method::Accessor
597 - bugfix for read-only accessors which
598 are have a type constraint and lazy.
599 Thanks to chansen for finding it.
601 0.16 Tues. Nov. 14, 2006
603 There are some speed improvements in this release,
604 but they are only the begining, so stay tuned.
607 - BUILDALL and DEMOLISHALL no longer get
608 called unless they actually need to be.
609 This gave us a signifigant speed boost
610 for the cases when there is no BUILD or
611 DEMOLISH method present.
613 * Moose::Util::TypeConstraints
614 * Moose::Meta::TypeConstraint
615 - added an 'optimize_as' option to the
616 type constraint, which allows for a
617 hand optimized version of the type
618 constraint to be used when possible.
619 - Any internally created type constraints
620 now provide an optimized version as well.
622 0.15 Sun. Nov. 5, 2006
624 This version of Moose *must* have Class::MOP 0.36 in order
625 to work correctly. A number of small internal tweaks have
626 been made in order to be compatible with that release.
628 * Moose::Util::TypeConstraints
629 - added &unimport so that you can clean out
630 your class namespace of these exported
634 - fixed minor issue which occasionally
635 comes up during global destruction
637 - moved Moose::Meta::Method::Overriden into
641 - moved Moose::Meta::Role::Method into
644 * Moose::Meta::Attribute
645 - changed how we do type checks so that
646 we reduce the overall cost, but still
649 - moved accessor generation methods to
650 Moose::Meta::Method::Accessor to
651 conform to the API changes from
654 * Moose::Meta::TypeConstraint
655 - changed how constraints are compiled
656 so that we do less recursion and more
657 iteration. This makes the type check
659 - moved Moose::Meta::TypeConstraint::Union
662 * Moose::Meta::Method::Accessor
663 - created this from methods formerly found in
664 Moose::Meta::Attribute
666 * Moose::Meta::Role::Method
667 - moved this from Moose::Meta::Role
669 * Moose::Meta::Method::Overriden
670 - moved this from Moose::Meta::Class
672 * Moose::Meta::TypeConstraint::Union
673 - moved this from Moose::Meta::TypeConstraint
675 0.14 Mon. Oct. 9, 2006
677 * Moose::Meta::Attribute
678 - fixed lazy attributes which were not getting
679 checked with the type constraint (thanks ashley)
680 - added tests for this
681 - removed the over-enthusiastic DWIMery of the
682 automatic ArrayRef and HashRef defaults, it
683 broke predicates in an ugly way.
684 - removed tests for this
686 0.13 Sat. Sept. 30, 2006
688 This version of Moose *must* have Class::MOP 0.35 in order
689 to work correctly. A number of small internal tweaks have
690 been made in order to be compatible with that release.
693 - Removed the use of UNIVERSAL::require to be a better
694 symbol table citizen and remove a dependency
695 (thanks Adam Kennedy)
697 **~~ removed experimental & undocumented feature ~~**
698 - commented out the 'method' and 'self' keywords, see the
699 comments for more info.
702 - added a FAQ and WTF files to document frequently
703 asked questions and common problems
705 * Moose::Util::TypeConstraints
706 - added GlobRef and FileHandle type constraint
707 - added tests for this
709 * Moose::Meta::Attribute
710 - if your attribute 'isa' ArrayRef of HashRef, and you have
711 not explicitly set a default, then make the default DWIM.
712 This will also work for subtypes of ArrayRef and HashRef
714 - you can now auto-deref subtypes of ArrayRef or HashRef too.
715 - new test added for this (thanks to ashley)
718 - added basic support for runtime role composition
719 but this is still *highly experimental*, so feedback
720 is much appreciated :)
721 - added tests for this
723 * Moose::Meta::TypeConstraint
724 - the type constraint now handles the coercion process
725 through delegation, this is to support the coercion
728 * Moose::Meta::TypeConstraint::Union
729 - it is now possible for coercions to be performed
731 - added tests for this (thanks to konobi)
733 * Moose::Meta::TypeCoercion
734 - properly capturing error when type constraint
738 - Scalar::Util 1.18 is bad on Win32, so temporarily
739 only require version 1.17 for Win32 and cygwin.
740 (thanks Adam Kennedy)
742 0.12 Sat. Sept. 1, 2006
744 - Recipe5 (subtypes & coercion) has been written
747 - fixed "bad meta" error message to be more descriptive
748 - fixed &unimport to not remove the &inner and &super
749 keywords because we need to localize them.
750 - fixed number of spelling/grammer issues, thanks Theory :)
752 **~~ experimental & undocumented feature ~~**
753 - added the method and self keywords, they are basically
754 just sugar, and they may not stay around.
757 - added &dump method to easily Data::Dumper
760 * Moose::Meta::TypeConstraint
761 - added the &is_a_type_of method to check both the current
762 and the subtype of a method (similar to &isa with classes)
765 - this is now a subclass of Class::MOP::Module, and no longer
766 creates the _role_meta ugliness of before.
767 - fixed tests to reflect this change
769 0.11 Wed. July 12, 2006
771 - added an &unimport method to remove all the keywords
772 that Moose will import, simply add 'no Moose' to the
773 bottom of your class file.
776 - fixed some test failures caused by a forgotten test
779 0.10 Thurs. July 6, 2006
781 - improved error message when loading modules so
782 it is less confusing when you load a role.
783 - added &calculate_all_roles method to
784 Moose::Meta::Class and Moose::Meta::Role
787 This module has been tested against Class::MOP 0.30
788 but it does not yet utilize the optimizations
789 it makes available. Stay tuned for that ;)
791 0.09_03 Fri. June 23, 2006
792 ++ DEVELOPER RELEASE ++
794 - 'use strict' and 'use warnings' are no longer
795 needed in Moose classes, Moose itself will
796 turn them on for you.
797 - added tests for this
798 - moved code from exported subs to private methods
799 in Moose::Meta::Class
802 - as with Moose, strict and warnings are
803 automatically turned on for you.
804 - added tests for this
807 - now handles an edge case for override errors
808 - added tests for this
809 - added some more edge case tests
811 0.09_02 Tues. May 16, 2006
812 ++ DEVELOPER RELEASE ++
814 - added prototypes to the exported subs
818 - added prototypes to the exported subs
821 * Moose::Util::TypeConstraints
822 - cleaned up prototypes for the subs
825 0.09_01 Fri. May 12, 2006
826 ++ DEVELOPER RELEASE ++
827 - This release works in combination with
828 Class::MOP 0.29_01, it is a developer
829 release because it uses the a new
830 instance sub-protocol and a fairly
831 complete Role implementation. It has
832 not yet been optimized, so it slower
833 the the previous CPAN version. This
834 release also lacks good updated docs,
835 the official release will have updated docs.
838 - refactored the keyword exports
839 - 'with' now checks Role validaity and
840 accepts more than one Role at a time
841 - 'extends' makes metaclass adjustments as
842 needed to ensure metaclass compatability
845 - refactored the keyword exports
846 - 'with' now checks Role validaity and
847 accepts more than one Role at a time
849 * Moose::Util::TypeConstraints
850 - added the 'enum' keyword for simple
851 string enumerations which can be used as
853 - see example of usage in t/202_example.t
856 - more careful checking of params to new()
859 - much work done on the role composition
860 - many new tests for conflict detection
861 and composition edge cases
862 - not enough documentation, I suggest
865 * Moose::Meta::Instance
866 - added new Instance metaclass to support
867 the new Class::MOP instance protocol
870 - some small changes to support the new
872 - some small additions to support Roles
874 * Moose::Meta::Attribute
875 - some improvements to the accessor generation code
877 - some small changes to support the new
879 - (still somewhat) experimental delegation support
880 with the 'handles' option
881 - added several tests for this
882 - no docs for this yet
884 0.05 Thurs. April 27, 2006
886 - keywords are now exported with Sub::Exporter
887 thanks to chansen for this commit
888 - has keyword now takes a 'metaclass' option
889 to support custom attribute meta-classes
890 on a per-attribute basis
891 - added tests for this
892 - the 'has' keyword not accepts inherited slot
893 specifications (has '+foo'). This is still an
894 experimental feature and probably not finished
895 see t/038_attribute_inherited_slot_specs.t for
896 more details, or ask about it on #moose
897 - added tests for this
900 - keywords are now exported with Sub::Exporter
902 * Moose::Utils::TypeConstraints
903 - reorganized the type constraint hierarchy, thanks
904 to nothingmuch and chansen for his help and advice
906 - added some tests for this
907 - keywords are now exported with Sub::Exporter
908 thanks to chansen for this commit
911 - due to changes in Class::MOP, we had to change
912 construct_instance (for the better)
914 * Moose::Meta::Attribute
915 - due to changes in Class::MOP, we had to add the
916 initialize_instance_slot method (it's a good thing)
918 * Moose::Meta::TypeConstraint
919 - added type constraint unions
920 - added tests for this
921 - added the is_subtype_of predicate method
922 - added tests for this
924 0.04 Sun. April 16th, 2006
926 - Roles can now consume other roles
927 - added tests for this
928 - Roles can specify required methods now with
929 the requires() keyword
930 - added tests for this
933 - ripped out much of it's guts ,.. much cleaner now
934 - added required methods and correct handling of
935 them in apply() for both classes and roles
936 - added tests for this
937 - no longer adds a does() method to consuming classes
938 it relys on the one in Moose::Object
939 - added roles attribute and some methods to support
940 roles consuming roles
942 * Moose::Meta::Attribute
943 - added support for triggers on attributes
944 - added tests for this
945 - added support for does option on an attribute
946 - added tests for this
949 - added support for attribute triggers in the
951 - added tests for this
954 - Moose no longer creates a subtype for your class
955 if a subtype of the same name already exists, this
956 should DWIM in 99.9999% of all cases
958 * Moose::Util::TypeConstraints
959 - fixed bug where incorrect subtype conflicts were
961 - added test for this
964 - this class can now be extended with 'use base' if
965 you need it, it properly loads the metaclass class now
966 - added test for this
968 0.03_02 Wed. April 12, 2006
970 - you must now explictly use Moose::Util::TypeConstraints
971 it no longer gets exported for you automatically
974 - new() now accepts hash-refs as well as key/value lists
975 - added does() method to check for Roles
976 - added tests for this
979 - added roles attribute along with the add_role() and
981 - added tests for this
984 - now adds a does() method to consuming classes
985 which tests the class's hierarchy for roles
986 - added tests for this
988 0.03_01 Mon. April 10, 2006
990 - added new Role recipe (no content yet, only code)
993 - added 'with' keyword for Role support
994 - added test and docs for this
995 - fixed subtype quoting bug
996 - added test for this
1000 - added test and docs
1002 * Moose::Util::TypeConstraints
1003 - added the message keyword to add custom
1004 error messages to type constraints
1007 - the meta role to support Moose::Role
1008 - added tests and docs
1010 * Moose::Meta::Class
1011 - moved a number of things from Moose.pm
1012 to here, they should have been here
1015 * Moose::Meta::Attribute
1016 - moved the attribute option macros here
1017 instead of putting them in Moose.pm
1019 * Moose::Meta::TypeConstraint
1020 - added the message attributes and the
1022 - added tests and docs for this
1024 0.03 Thurs. March 30, 2006
1026 - added the Moose::Cookbook with 5 recipes,
1027 describing all the stuff Moose can do.
1030 - fixed an issue with &extends super class loading
1031 it now captures errors and deals with inline
1032 packages correctly (bug found by mst, solution
1034 - added super/override & inner/augment features
1035 - added tests and docs for these
1038 - BUILDALL now takes a reference of the %params
1039 that are passed to &new, and passes that to
1042 * Moose::Util::TypeConstraints
1043 - Type constraints now survive runtime reloading
1044 - added test for this
1046 * Moose::Meta::Class
1047 - fixed the way attribute defaults are handled
1048 during instance construction (bug found by chansen)
1050 * Moose::Meta::Attribute
1051 - read-only attributes now actually enforce their
1052 read-only-ness (this corrected in Class::MOP as
1055 0.02 Tues. March 21, 2006
1057 - many more tests, fixing some bugs and
1059 - &extends now loads the base module with
1061 - added UNIVERSAL::require to the
1064 - each new Moose class will also create
1065 and register a subtype of Object which
1066 correspond to the new Moose class.
1067 - the 'isa' option in &has now only
1068 accepts strings, and will DWIM in
1071 * Moose::Util::TypeConstraints
1072 - added type coercion features
1073 - added tests for this
1074 - added support for this in attributes
1075 and instance construction
1077 - type construction no longer creates a
1078 function, it registers the type instead.
1079 - added several functions to get the
1083 - BUILDALL and DEMOLISHALL were broken
1084 because of a mis-named hash key, Whoops :)
1086 * Moose::Meta::Attribute
1087 - adding support for coercion in the
1088 autogenerated accessors
1090 * Moose::Meta::Class
1091 - adding support for coercion in the
1092 instance construction
1094 * Moose::Meta::TypeConstraint
1095 * Moose::Meta::TypeCoercion
1096 - type constraints and coercions are now
1097 full fledges meta-objects
1099 0.01 Wed. March 15, 2006
1100 - Moooooooooooooooooose!!!