1 Revision history for Perl extension Moose
4 * Moose::Meta::Attribute
5 - fixed initializer to correctly do
6 type checking and coercion in the
11 - fixed some finicky tests (thanks to konobi)
13 0.37 Thurs. Fri. 14, 2008
15 - fixed some details in Moose::init_meta
16 and its superclass handling (thanks thepler)
17 - added tests for this (thanks thepler)
18 - 'has' now dies if you don't pass in name
20 - added the 'make_immutable' keyword as a shortcut
24 Moose::Meta::Method::Constructor
25 Moose::Meta::Attribute
26 - making (init_arg => undef) work here too
27 (thanks to nothingmuch)
29 * Moose::Meta::Attribute
30 Moose::Meta::Method::Constructor
31 Moose::Meta::Method::Accessor
32 - make lazy attributes respect attr initializers (rjbs)
33 - added tests for this
35 * Moose::Util::TypeConstraints
36 Moose::Util::TypeConstraints::OptimizedConstraints
37 Moose::Meta::TypeConstraints
38 Moose::Meta::Attribute
39 Moose::Meta::Method::Constructor
40 Moose::Meta::Method::Accessor
41 - making type errors use the
42 assigned message (thanks to Sartak)
43 - added tests for this
45 * Moose::Meta::Method::Destructor
46 - making sure DESTROY gets inlined properly
47 with successive DEMOLISH calls (thanks to manito)
49 * Moose::Meta::Attribute
50 Moose::Meta::Method::Accessor
51 - fixed handling of undef with type constraints
53 - added tests for this
56 - added &get_all_init_args and &get_all_attribute_values
57 (thanks to Sartak and nothingmuch)
59 0.36 Sat. Jan. 26, 2008
61 Moose::Meta::Attribute
62 - role type tests now support when roles are
63 applied to non-Moose classes (found by ash)
64 - added tests for this (thanks to ash)
65 - couple extra tests to boost code coverage
67 * Moose::Meta::Method::Constructor
68 - improved fix for handling Class::MOP attributes
72 - handled the add_attribute($attribute_meta_object)
76 0.35 Tues. Jan. 22, 2008
77 * Moose::Meta::Method::Constructor
78 - fix to make sure even Class::MOP attributes
79 are handled correctly (Thanks to Dave Rolsky)
80 - added test for this (also Dave Rolsky)
83 - improved error message on _apply_all_roles,
84 you should now use Moose::Util::apply_all_roles
85 and you shouldnt have been using a _ prefixed
86 method in the first place ;)
88 0.34 Mon. Jan. 21, 2008
89 ~~~ more misc. doc. fixes ~~~
90 ~~ updated copyright dates ~~
92 Moose is now a postmodern object system :)
93 - (see the POD for details)
95 * <<Role System Refactoring>>
96 - this release contains a major reworking and
97 cleanup of the role system
98 - 100% backwards compat.
99 - Role application now restructured into seperate
100 classes based on type of applicants
101 - Role summation (combining of more than one role)
102 is much cleaner and anon-classes are no longer
104 - new Composite role metaclass
105 - runtime application of roles to instances
106 is now more efficient and re-uses generated
107 classes when applicable
109 * <<New Role composition features>>
110 - methods can now be excluded from a given role
112 - methods can now be aliased to another name (and
113 still retain the original as well)
115 * Moose::Util::TypeConstraints::OptimizedConstraints
116 - added this module (see above)
119 - fixed the &_process_attribute method to be called
120 by &add_attribute, so that the API is now correct
122 * Moose::Meta::Method::Accessor
123 - fixed bug when passing a list of values to
124 an accessor would get (incorrectly) ignored.
125 Thanks to Sartak for finding this ;)
126 - added tests for this (Sartak again)
128 * Moose::Meta::Method::Accessor
129 Moose::Meta::Method::Constructor
130 Moose::Meta::Attribute
131 Moose::Meta::TypeConstraint
132 Moose::Meta::TypeCoercion
133 - lots of cleanup of such things as:
135 - type constraint handling
136 - error handling/messages
137 (thanks to nothingmuch)
139 * Moose::Meta::TypeConstraint::Parameterizable
140 - added this module to support the refactor
141 in Moose::Meta::TypeConstraint::Parameterized
143 * Moose::Meta::TypeConstraint::Parameterized
144 - refactored how these types are handled so they
145 are more generic and not confined to ArrayRef
149 - shortened some file names for better VMS support (RT #32381)
151 0.33 Fri. Dec. 14, 2007
152 !! Moose now loads 2 x faster !!
153 !! with new Class::MOP 0.49 !!
155 ++ new oose.pm module to make command line
156 Moose-ness easier (see POD docs for more)
160 - several tweaks to take advantage of the
161 new method map caching in Class::MOP
163 * Moose::Meta::TypeConstraint::Parameterized
164 - allow subtypes of ArrayRef and HashRef to
165 be used as a container (sartak)
166 - added tests for this
167 - basic support for coercion to ArrayRef and
168 HashRef for containers (sartak)
169 - added tests for this
171 * Moose::Meta::TypeCoercion
172 - coercions will now create subtypes as needed
173 so you can now add coercions to parameterized
174 types without having to explictly define them
175 - added tests for this
177 * Moose::Meta::Method::Accessor
178 - allow subclasses to decide whether we need
179 to copy the value into a new variable (sartak)
181 0.32 Tues. Dec. 4, 2007
182 * Moose::Util::TypeConstraints
183 - fixing how subtype aliases of unions work
184 they should inherit the parent's coercion
185 - added tests for this
186 - you can now define multiple coercions on
187 a single type at different times instead of
188 having to do it all in one place
189 - added tests for this
191 * Moose::Meta::TypeConstraint
192 - there is now a default constraint of sub { 1 }
193 instead of Moose::Util::TypeConstraints setting
196 * Moose::Meta::TypeCoercion
197 * Moose::Meta::TypeCoercion::Union
198 - added the &has_coercion_for_type and
199 &add_type_coercions methods to support the
200 new features above (although you cannot add
201 more type coercions for Union types)
203 0.31 Mon. Nov. 26, 2007
204 * Moose::Meta::Attribute
205 - made the +attr syntax handle extending types with
206 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
207 now works if the original foo is an ArrayRef.
208 - added tests for this.
209 - delegation now works even if the attribute does not
210 have a reader method using the get_read_method_ref
211 method from Class::MOP::Attribute.
212 - added tests for this
213 - added docs for this
215 * Moose::Util::TypeConstraints
216 - passing no "additional attribute info" to
217 &find_or_create_type_constraint will no longer
218 attempt to create an __ANON__ type for you,
219 instead it will just return undef.
220 - added docs for this
222 0.30 Fri. Nov. 23, 2007
223 * Moose::Meta::Method::Constructor
224 -builder related bug in inlined constructor. (groditi)
226 * Moose::Meta::Method::Accessor
227 - genereate unnecessary calls to predicates and refactor
228 code generation for runtime speed (groditi)
230 * Moose::Util::TypeConstraints
231 - fix ClassName constraint to introspect symbol table (mst)
232 - added more tests for this (mst)
233 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
235 - added tests for this
238 - adding the link to Recipie 11 (written by Sartak)
239 - adding test for SYNOPSIS code
242 - New tests for builder bug. Upon instantiation, if an
243 attribute had a builder, no value and was not lazy the
244 builder default was not getting run, oops. (groditi)
246 0.29 Tues. Nov. 13, 2007
247 * Moose::Meta::Attribute
248 - Fix error message on missing builder method (groditi)
250 * Moose::Meta::Method::Accessor
251 - Fix error message on missing builder method (groditi)
254 - Add test to check for the correct error message when
255 builder method is missing (groditi)
257 0.28 Tues. Nov. 13, 2007
258 - 0.27 packaged incorrectly (groditi)
260 0.27 Tues. Nov. 13, 2007
261 * Moose::Meta::Attribute
262 - Added support for the new builder option (groditi)
263 - Added support for lazy_build option (groditi)
264 - Changed slot initialization for predicate changes (groditi)
266 * Moose::Meta::Method::Accessor
267 - Added support for lazy_build option (groditi)
268 - Fix inline methods to work with corrected predicate
271 * Moose::Meta::Method::Constructor
272 - Added support for lazy_build option (groditi)
275 - tests for builder and lazy_build (groditi)
277 * fixing some misc. bits in the docs that
278 got mentioned on CPAN Forum & perlmonks
281 - fixed how required methods are handled
282 when they encounter overriden or modified
283 methods from a class (thanks to confound).
284 - added tests for this
286 * Moose::Util::TypeConstraint
287 - fixed the type notation parser so that
288 the | always creates a union and so is
289 no longer a valid type char (thanks to
290 konobi, mugwump and #moose for working
292 - added more tests for this
294 0.26 Thurs. Sept. 27, 2007
297 * Parameterized Types
298 We now support parameterized collection types, such as:
299 ArrayRef[Int] # array or integers
300 HashRef[Object] # a hash with object values
301 They can also be nested:
302 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
303 And work with the type unions as well:
304 ArrayRef[Int | Str] # array of integers of strings
306 * Better Framework Extendability
307 Moose.pm is now "extendable" such that it is now much
308 easier to extend the framework and add your own keywords
309 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
310 section of the Moose.pm docs.
313 In an effort to begin documenting some of the various
314 details of Moose as well as some common idioms, we have
315 created Moose::Cookbook::Snacks as a place to find
316 small (easily digestable) nuggets of Moose code.
319 ~ Several doc updates/cleanup thanks to castaway ~
321 - converted build system to use Module::Install instead of
322 Module::Build (thanks to jrockway)
325 - added all the meta classes to the immutable list and
326 set it to inline the accessors
327 - fix import to allow Sub::Exporter like { into => }
328 and { into_level => } (perigrin)
329 - exposed and documented init_meta() to allow better
330 embedding and extending of Moose (perigrin)
333 - complete re-organization of the test suite
334 - added some new tests as well
335 - finally re-enabled the Moose::POOP test since
336 the new version of DBM::Deep now works again
340 - fixed very odd and very nasty recursion bug with
342 - added tests for this (eilara)
344 * Moose::Meta::Attribute
345 Moose::Meta::Method::Constructor
346 Moose::Meta::Method::Accessor
347 - fixed issue with overload::Overloaded getting called
348 on non-blessed items. (RT #29269)
349 - added tests for this
351 * Moose::Meta::Method::Accessor
352 - fixed issue with generated accessor code making
353 assumptions about hash based classes (thanks to dexter)
355 * Moose::Coookbook::Snacks
356 - these are bits of documentation, not quite as big as
357 Recipes but which have no clear place in the module docs.
358 So they are Snacks! (horray for castaway++)
360 * Moose::Cookbook::Recipe4
361 - updated it to use the new ArrayRef[MyType] construct
362 - updated the accompanying test as well
364 +++ Major Refactor of the Type Constraint system +++
365 +++ with new features added as well +++
367 * Moose::Util::TypeConstraint
368 - no longer uses package variable to keep track of
369 the type constraints, now uses the an instance of
370 Moose::Meta::TypeConstraint::Registry to do it
371 - added more sophisticated type notation parsing
373 - added tests for this
375 * Moose::Meta::TypeConstraint
376 - some minor adjustments to make subclassing easier
377 - added the package_defined_in attribute so that we
378 can track where the type constraints are created
380 * Moose::Meta::TypeConstraint::Union
381 - this is now been refactored to be a subclass of
382 Moose::Meta::TypeConstraint
384 * Moose::Meta::TypeCoercion::Union
385 - this has been added to service the newly refactored
386 Moose::Meta::TypeConstraint::Union and is itself
387 a subclass of Moose::Meta::TypeCoercion
389 * Moose::Meta::TypeConstraint::Parameterized
390 - added this module (taken from MooseX::AttributeHelpers)
391 to help construct nested collection types
392 - added tests for this
394 * Moose::Meta::TypeConstraint::Registry
395 - added this class to keep track of type constraints
397 0.25 Mon. Aug. 13, 2007
399 - Documentation update to reference Moose::Util::TypeConstraints
400 under 'isa' in 'has' for how to define a new type
403 * Moose::Meta::Attribute
404 - required attributes now will no longer accept undef
405 from the constructor, even if there is a default and lazy
406 - added tests for this
407 - default subroutines must return a value which passes the
409 - added tests for this
411 * Moose::Meta::Attribute
412 * Moose::Meta::Method::Constructor
413 * Moose::Meta::Method::Accessor
414 - type-constraint tests now handle overloaded objects correctly
416 - added tests for this (thanks to EvanCarroll)
418 * Moose::Meta::TypeConstraint::Union
419 - added (has_)hand_optimized_constraint to this class so that
420 it behaves as the regular Moose::Meta::TypeConstraint does.
423 - large refactoring of this code
424 - added several more tests
425 - tests for subtle conflict resolition issues
426 added, but not currently running
429 * Moose::Cookbook::Recipe7
430 - added new recipe for augment/inner functionality
432 - added test for this
435 - a formal definition of roles (still in progress)
438 - utilities for easier working with Moose classes
439 - added tests for these
442 - This contains Moose specific test functions
443 - added tests for these
445 0.24 Tues. July 3, 2007
446 ~ Some doc updates/cleanup ~
448 * Moose::Meta::Attribute
449 - added support for roles to be given as parameters
450 to the 'handles' option.
451 - added tests and docs for this
452 - the has '+foo' attribute form now accepts changes to
453 the lazy option, and the addition of a handles option
454 (but not changing the handles option)
455 - added tests and docs for this
458 - required methods are now fetched using find_method_by_name
459 so that required methods can come from superclasses
460 - adjusted tests for this
462 0.23 Mon. June 18, 2007
463 * Moose::Meta::Method::Constructor
464 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
466 - Modify make_immutable to work with the new Class::MOP immutable
467 mechanism + POD + very basic test (groditi)
468 * Moose::Meta::Attribute
469 - Fix handles to use goto() so that caller() comes out properly on
470 the other side (perigrin)
472 0.22 Thurs. May 31, 2007
473 * Moose::Util::TypeConstraints
474 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
475 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
476 prototypes for functions
477 - added the ClassName type constraint, this checks for strings
478 which will respond true to ->isa(UNIVERSAL).
479 - added tests and docs for this
480 - subtyping just in name now works correctly by making the
481 default for where be { 1 }
482 - added test for this
484 * Moose::Meta::Method::Accessor
485 - coerce and lazy now work together correctly, thanks to
486 merlyn for finding this bug
487 - tests added for this
488 - fix reader presedence bug in Moose::Meta::Attribute + tests
491 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
492 a HASH-ref and missed. This produces better error messages then
493 having it die cause undef is not a HASH.
494 - added tests for this
496 0.21 Thursday, May 2nd, 2007
498 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
499 - modified unimport to remove super and inner along with the rest
500 - altered unimport tests to handle this
503 - altered super export to populate SUPER_SLOT
506 - altered augment and override modifier application to use *_SLOT
507 - modified tests for these to unimport one test class each to test
510 - fixed issue where custom attribute metaclasses
511 where not handled correctly in roles
512 - added tests for this
515 - fixed issue where extending metaclasses with
516 roles would blow up. Thanks to Aankhen`` for
517 finding this insidious error, and it's solution.
519 ~~ lots of spelling and grammer fixes in the docs,
520 many many thanks to rlb3 and Aankhen for these :)
522 0.20 Friday, April 6th, 2007
523 >> I messed up the SKIP logic in one test
524 so this release is just to fix that.
527 - 'has' now also accepts an ARRAY ref
528 to create multiple attrs (see docs)
529 (thanks to konobi for this)
530 - added tests and docs
532 0.19 Thurs. April 5th, 2007
533 ~~ More documentation updates ~~
535 * Moose::Util::TypeConstraints
536 - 'type' now supports messages as well
537 thanks to phaylon for finding this
538 - added tests for this
539 - added &list_all_type_constraints and
540 &list_all_builtin_type_constraints
541 functions to facilitate introspection.
543 * Moose::Meta::Attribute
544 - fixed regexp 'handles' declarations
545 to build the list of delegated methods
546 correctly (and not override important
547 things like &new) thanks to ashleyb
549 - added tests and docs for this
550 - added the 'documentation' attributes
551 so that you can actually document your
552 attributes and inspect them through the
554 - added tests and docs for this
557 - when loading custom attribute metaclasses
558 it will first look in for the class in the
559 Moose::Meta::Attribute::Custom::$name, and
560 then default to just loading $name.
561 - added tests and docs for this
563 * Moose::Meta::TypeConstraint
564 - type constraints now stringify to their names.
565 - added test for this
568 - added tests to assure we work with Module::Refresh
569 - added stricter test skip logic in the Moose POOP
570 test, ask Rob Kinyon why.
571 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
573 0.18 Sat. March 10, 2007
574 ~~ Many, many documentation updates ~~
577 - We now use Class::MOP::load_class to
579 - added tests to show types and subtypes
580 working with Declare::Constraints::Simple
581 and Test::Deep as constraint engines.
584 !! You must have Class::MOP 0.37_001 !!
585 !! for this developer release to work !!
587 This release was primarily adding the immutable
588 feature to Moose. An immutable class is one which
589 you promise not to alter. When you set the class
590 as immutable it will perform various bits of
591 memoization and inline certain part of the code
592 (constructors, destructors and accessors). This
593 minimizes (and in some cases totally eliminates)
594 one of Moose's biggest performance hits. This
595 feature is not on by default, and is 100% optional.
596 It has several configurable bits as well, so you
597 can pick and choose to your specific needs.
599 The changes involved in this were fairly wide and
600 highly specific, but 100% backwards compatible, so
601 I am not going to enumerate them here. If you are
602 truely interested in what was changed, please do
605 0.17 Tues. Nov. 14, 2006
606 * Moose::Meta::Method::Accessor
607 - bugfix for read-only accessors which
608 are have a type constraint and lazy.
609 Thanks to chansen for finding it.
611 0.16 Tues. Nov. 14, 2006
613 There are some speed improvements in this release,
614 but they are only the begining, so stay tuned.
617 - BUILDALL and DEMOLISHALL no longer get
618 called unless they actually need to be.
619 This gave us a signifigant speed boost
620 for the cases when there is no BUILD or
621 DEMOLISH method present.
623 * Moose::Util::TypeConstraints
624 * Moose::Meta::TypeConstraint
625 - added an 'optimize_as' option to the
626 type constraint, which allows for a
627 hand optimized version of the type
628 constraint to be used when possible.
629 - Any internally created type constraints
630 now provide an optimized version as well.
632 0.15 Sun. Nov. 5, 2006
634 This version of Moose *must* have Class::MOP 0.36 in order
635 to work correctly. A number of small internal tweaks have
636 been made in order to be compatible with that release.
638 * Moose::Util::TypeConstraints
639 - added &unimport so that you can clean out
640 your class namespace of these exported
644 - fixed minor issue which occasionally
645 comes up during global destruction
647 - moved Moose::Meta::Method::Overriden into
651 - moved Moose::Meta::Role::Method into
654 * Moose::Meta::Attribute
655 - changed how we do type checks so that
656 we reduce the overall cost, but still
659 - moved accessor generation methods to
660 Moose::Meta::Method::Accessor to
661 conform to the API changes from
664 * Moose::Meta::TypeConstraint
665 - changed how constraints are compiled
666 so that we do less recursion and more
667 iteration. This makes the type check
669 - moved Moose::Meta::TypeConstraint::Union
672 * Moose::Meta::Method::Accessor
673 - created this from methods formerly found in
674 Moose::Meta::Attribute
676 * Moose::Meta::Role::Method
677 - moved this from Moose::Meta::Role
679 * Moose::Meta::Method::Overriden
680 - moved this from Moose::Meta::Class
682 * Moose::Meta::TypeConstraint::Union
683 - moved this from Moose::Meta::TypeConstraint
685 0.14 Mon. Oct. 9, 2006
687 * Moose::Meta::Attribute
688 - fixed lazy attributes which were not getting
689 checked with the type constraint (thanks ashley)
690 - added tests for this
691 - removed the over-enthusiastic DWIMery of the
692 automatic ArrayRef and HashRef defaults, it
693 broke predicates in an ugly way.
694 - removed tests for this
696 0.13 Sat. Sept. 30, 2006
698 This version of Moose *must* have Class::MOP 0.35 in order
699 to work correctly. A number of small internal tweaks have
700 been made in order to be compatible with that release.
703 - Removed the use of UNIVERSAL::require to be a better
704 symbol table citizen and remove a dependency
705 (thanks Adam Kennedy)
707 **~~ removed experimental & undocumented feature ~~**
708 - commented out the 'method' and 'self' keywords, see the
709 comments for more info.
712 - added a FAQ and WTF files to document frequently
713 asked questions and common problems
715 * Moose::Util::TypeConstraints
716 - added GlobRef and FileHandle type constraint
717 - added tests for this
719 * Moose::Meta::Attribute
720 - if your attribute 'isa' ArrayRef of HashRef, and you have
721 not explicitly set a default, then make the default DWIM.
722 This will also work for subtypes of ArrayRef and HashRef
724 - you can now auto-deref subtypes of ArrayRef or HashRef too.
725 - new test added for this (thanks to ashley)
728 - added basic support for runtime role composition
729 but this is still *highly experimental*, so feedback
730 is much appreciated :)
731 - added tests for this
733 * Moose::Meta::TypeConstraint
734 - the type constraint now handles the coercion process
735 through delegation, this is to support the coercion
738 * Moose::Meta::TypeConstraint::Union
739 - it is now possible for coercions to be performed
741 - added tests for this (thanks to konobi)
743 * Moose::Meta::TypeCoercion
744 - properly capturing error when type constraint
748 - Scalar::Util 1.18 is bad on Win32, so temporarily
749 only require version 1.17 for Win32 and cygwin.
750 (thanks Adam Kennedy)
752 0.12 Sat. Sept. 1, 2006
754 - Recipe5 (subtypes & coercion) has been written
757 - fixed "bad meta" error message to be more descriptive
758 - fixed &unimport to not remove the &inner and &super
759 keywords because we need to localize them.
760 - fixed number of spelling/grammer issues, thanks Theory :)
762 **~~ experimental & undocumented feature ~~**
763 - added the method and self keywords, they are basically
764 just sugar, and they may not stay around.
767 - added &dump method to easily Data::Dumper
770 * Moose::Meta::TypeConstraint
771 - added the &is_a_type_of method to check both the current
772 and the subtype of a method (similar to &isa with classes)
775 - this is now a subclass of Class::MOP::Module, and no longer
776 creates the _role_meta ugliness of before.
777 - fixed tests to reflect this change
779 0.11 Wed. July 12, 2006
781 - added an &unimport method to remove all the keywords
782 that Moose will import, simply add 'no Moose' to the
783 bottom of your class file.
786 - fixed some test failures caused by a forgotten test
789 0.10 Thurs. July 6, 2006
791 - improved error message when loading modules so
792 it is less confusing when you load a role.
793 - added &calculate_all_roles method to
794 Moose::Meta::Class and Moose::Meta::Role
797 This module has been tested against Class::MOP 0.30
798 but it does not yet utilize the optimizations
799 it makes available. Stay tuned for that ;)
801 0.09_03 Fri. June 23, 2006
802 ++ DEVELOPER RELEASE ++
804 - 'use strict' and 'use warnings' are no longer
805 needed in Moose classes, Moose itself will
806 turn them on for you.
807 - added tests for this
808 - moved code from exported subs to private methods
809 in Moose::Meta::Class
812 - as with Moose, strict and warnings are
813 automatically turned on for you.
814 - added tests for this
817 - now handles an edge case for override errors
818 - added tests for this
819 - added some more edge case tests
821 0.09_02 Tues. May 16, 2006
822 ++ DEVELOPER RELEASE ++
824 - added prototypes to the exported subs
828 - added prototypes to the exported subs
831 * Moose::Util::TypeConstraints
832 - cleaned up prototypes for the subs
835 0.09_01 Fri. May 12, 2006
836 ++ DEVELOPER RELEASE ++
837 - This release works in combination with
838 Class::MOP 0.29_01, it is a developer
839 release because it uses the a new
840 instance sub-protocol and a fairly
841 complete Role implementation. It has
842 not yet been optimized, so it slower
843 the the previous CPAN version. This
844 release also lacks good updated docs,
845 the official release will have updated docs.
848 - refactored the keyword exports
849 - 'with' now checks Role validaity and
850 accepts more than one Role at a time
851 - 'extends' makes metaclass adjustments as
852 needed to ensure metaclass compatability
855 - refactored the keyword exports
856 - 'with' now checks Role validaity and
857 accepts more than one Role at a time
859 * Moose::Util::TypeConstraints
860 - added the 'enum' keyword for simple
861 string enumerations which can be used as
863 - see example of usage in t/202_example.t
866 - more careful checking of params to new()
869 - much work done on the role composition
870 - many new tests for conflict detection
871 and composition edge cases
872 - not enough documentation, I suggest
875 * Moose::Meta::Instance
876 - added new Instance metaclass to support
877 the new Class::MOP instance protocol
880 - some small changes to support the new
882 - some small additions to support Roles
884 * Moose::Meta::Attribute
885 - some improvements to the accessor generation code
887 - some small changes to support the new
889 - (still somewhat) experimental delegation support
890 with the 'handles' option
891 - added several tests for this
892 - no docs for this yet
894 0.05 Thurs. April 27, 2006
896 - keywords are now exported with Sub::Exporter
897 thanks to chansen for this commit
898 - has keyword now takes a 'metaclass' option
899 to support custom attribute meta-classes
900 on a per-attribute basis
901 - added tests for this
902 - the 'has' keyword not accepts inherited slot
903 specifications (has '+foo'). This is still an
904 experimental feature and probably not finished
905 see t/038_attribute_inherited_slot_specs.t for
906 more details, or ask about it on #moose
907 - added tests for this
910 - keywords are now exported with Sub::Exporter
912 * Moose::Utils::TypeConstraints
913 - reorganized the type constraint hierarchy, thanks
914 to nothingmuch and chansen for his help and advice
916 - added some tests for this
917 - keywords are now exported with Sub::Exporter
918 thanks to chansen for this commit
921 - due to changes in Class::MOP, we had to change
922 construct_instance (for the better)
924 * Moose::Meta::Attribute
925 - due to changes in Class::MOP, we had to add the
926 initialize_instance_slot method (it's a good thing)
928 * Moose::Meta::TypeConstraint
929 - added type constraint unions
930 - added tests for this
931 - added the is_subtype_of predicate method
932 - added tests for this
934 0.04 Sun. April 16th, 2006
936 - Roles can now consume other roles
937 - added tests for this
938 - Roles can specify required methods now with
939 the requires() keyword
940 - added tests for this
943 - ripped out much of it's guts ,.. much cleaner now
944 - added required methods and correct handling of
945 them in apply() for both classes and roles
946 - added tests for this
947 - no longer adds a does() method to consuming classes
948 it relys on the one in Moose::Object
949 - added roles attribute and some methods to support
950 roles consuming roles
952 * Moose::Meta::Attribute
953 - added support for triggers on attributes
954 - added tests for this
955 - added support for does option on an attribute
956 - added tests for this
959 - added support for attribute triggers in the
961 - added tests for this
964 - Moose no longer creates a subtype for your class
965 if a subtype of the same name already exists, this
966 should DWIM in 99.9999% of all cases
968 * Moose::Util::TypeConstraints
969 - fixed bug where incorrect subtype conflicts were
971 - added test for this
974 - this class can now be extended with 'use base' if
975 you need it, it properly loads the metaclass class now
976 - added test for this
978 0.03_02 Wed. April 12, 2006
980 - you must now explictly use Moose::Util::TypeConstraints
981 it no longer gets exported for you automatically
984 - new() now accepts hash-refs as well as key/value lists
985 - added does() method to check for Roles
986 - added tests for this
989 - added roles attribute along with the add_role() and
991 - added tests for this
994 - now adds a does() method to consuming classes
995 which tests the class's hierarchy for roles
996 - added tests for this
998 0.03_01 Mon. April 10, 2006
1000 - added new Role recipe (no content yet, only code)
1003 - added 'with' keyword for Role support
1004 - added test and docs for this
1005 - fixed subtype quoting bug
1006 - added test for this
1010 - added test and docs
1012 * Moose::Util::TypeConstraints
1013 - added the message keyword to add custom
1014 error messages to type constraints
1017 - the meta role to support Moose::Role
1018 - added tests and docs
1020 * Moose::Meta::Class
1021 - moved a number of things from Moose.pm
1022 to here, they should have been here
1025 * Moose::Meta::Attribute
1026 - moved the attribute option macros here
1027 instead of putting them in Moose.pm
1029 * Moose::Meta::TypeConstraint
1030 - added the message attributes and the
1032 - added tests and docs for this
1034 0.03 Thurs. March 30, 2006
1036 - added the Moose::Cookbook with 5 recipes,
1037 describing all the stuff Moose can do.
1040 - fixed an issue with &extends super class loading
1041 it now captures errors and deals with inline
1042 packages correctly (bug found by mst, solution
1044 - added super/override & inner/augment features
1045 - added tests and docs for these
1048 - BUILDALL now takes a reference of the %params
1049 that are passed to &new, and passes that to
1052 * Moose::Util::TypeConstraints
1053 - Type constraints now survive runtime reloading
1054 - added test for this
1056 * Moose::Meta::Class
1057 - fixed the way attribute defaults are handled
1058 during instance construction (bug found by chansen)
1060 * Moose::Meta::Attribute
1061 - read-only attributes now actually enforce their
1062 read-only-ness (this corrected in Class::MOP as
1065 0.02 Tues. March 21, 2006
1067 - many more tests, fixing some bugs and
1069 - &extends now loads the base module with
1071 - added UNIVERSAL::require to the
1074 - each new Moose class will also create
1075 and register a subtype of Object which
1076 correspond to the new Moose class.
1077 - the 'isa' option in &has now only
1078 accepts strings, and will DWIM in
1081 * Moose::Util::TypeConstraints
1082 - added type coercion features
1083 - added tests for this
1084 - added support for this in attributes
1085 and instance construction
1087 - type construction no longer creates a
1088 function, it registers the type instead.
1089 - added several functions to get the
1093 - BUILDALL and DEMOLISHALL were broken
1094 because of a mis-named hash key, Whoops :)
1096 * Moose::Meta::Attribute
1097 - adding support for coercion in the
1098 autogenerated accessors
1100 * Moose::Meta::Class
1101 - adding support for coercion in the
1102 instance construction
1104 * Moose::Meta::TypeConstraint
1105 * Moose::Meta::TypeCoercion
1106 - type constraints and coercions are now
1107 full fledges meta-objects
1109 0.01 Wed. March 15, 2006
1110 - Moooooooooooooooooose!!!