1 Revision history for Perl extension Moose
5 - fixed some details in Moose::init_meta
6 and its superclass handling (thanks thepler)
7 - added tests for this (thanks thepler)
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::Attribute
28 Moose::Meta::Method::Constructor
29 Moose::Meta::Method::Accessor
30 - making type errors use the
31 assigned message (thanks to Sartak)
32 - added tests for this
34 * Moose::Meta::Method::Destructor
35 - making sure DESTROY gets inlined properly
36 with successive DEMOLISH calls (thanks to manito)
38 0.36 Sat. Jan. 26, 2008
40 Moose::Meta::Attribute
41 - role type tests now support when roles are
42 applied to non-Moose classes (found by ash)
43 - added tests for this (thanks to ash)
44 - couple extra tests to boost code coverage
46 * Moose::Meta::Method::Constructor
47 - improved fix for handling Class::MOP attributes
51 - handled the add_attribute($attribute_meta_object)
55 0.35 Tues. Jan. 22, 2008
56 * Moose::Meta::Method::Constructor
57 - fix to make sure even Class::MOP attributes
58 are handled correctly (Thanks to Dave Rolsky)
59 - added test for this (also Dave Rolsky)
62 - improved error message on _apply_all_roles,
63 you should now use Moose::Util::apply_all_roles
64 and you shouldnt have been using a _ prefixed
65 method in the first place ;)
67 0.34 Mon. Jan. 21, 2008
68 ~~~ more misc. doc. fixes ~~~
69 ~~ updated copyright dates ~~
71 Moose is now a postmodern object system :)
72 - (see the POD for details)
74 * <<Role System Refactoring>>
75 - this release contains a major reworking and
76 cleanup of the role system
77 - 100% backwards compat.
78 - Role application now restructured into seperate
79 classes based on type of applicants
80 - Role summation (combining of more than one role)
81 is much cleaner and anon-classes are no longer
83 - new Composite role metaclass
84 - runtime application of roles to instances
85 is now more efficient and re-uses generated
86 classes when applicable
88 * <<New Role composition features>>
89 - methods can now be excluded from a given role
91 - methods can now be aliased to another name (and
92 still retain the original as well)
94 * Moose::Util::TypeConstraints::OptimizedConstraints
95 - added this module (see above)
98 - fixed the &_process_attribute method to be called
99 by &add_attribute, so that the API is now correct
101 * Moose::Meta::Method::Accessor
102 - fixed bug when passing a list of values to
103 an accessor would get (incorrectly) ignored.
104 Thanks to Sartak for finding this ;)
105 - added tests for this (Sartak again)
107 * Moose::Meta::Method::Accessor
108 Moose::Meta::Method::Constructor
109 Moose::Meta::Attribute
110 Moose::Meta::TypeConstraint
111 Moose::Meta::TypeCoercion
112 - lots of cleanup of such things as:
114 - type constraint handling
115 - error handling/messages
116 (thanks to nothingmuch)
118 * Moose::Meta::TypeConstraint::Parameterizable
119 - added this module to support the refactor
120 in Moose::Meta::TypeConstraint::Parameterized
122 * Moose::Meta::TypeConstraint::Parameterized
123 - refactored how these types are handled so they
124 are more generic and not confined to ArrayRef
128 - shortened some file names for better VMS support (RT #32381)
130 0.33 Fri. Dec. 14, 2007
131 !! Moose now loads 2 x faster !!
132 !! with new Class::MOP 0.49 !!
134 ++ new oose.pm module to make command line
135 Moose-ness easier (see POD docs for more)
139 - several tweaks to take advantage of the
140 new method map caching in Class::MOP
142 * Moose::Meta::TypeConstraint::Parameterized
143 - allow subtypes of ArrayRef and HashRef to
144 be used as a container (sartak)
145 - added tests for this
146 - basic support for coercion to ArrayRef and
147 HashRef for containers (sartak)
148 - added tests for this
150 * Moose::Meta::TypeCoercion
151 - coercions will now create subtypes as needed
152 so you can now add coercions to parameterized
153 types without having to explictly define them
154 - added tests for this
156 * Moose::Meta::Method::Accessor
157 - allow subclasses to decide whether we need
158 to copy the value into a new variable (sartak)
160 0.32 Tues. Dec. 4, 2007
161 * Moose::Util::TypeConstraints
162 - fixing how subtype aliases of unions work
163 they should inherit the parent's coercion
164 - added tests for this
165 - you can now define multiple coercions on
166 a single type at different times instead of
167 having to do it all in one place
168 - added tests for this
170 * Moose::Meta::TypeConstraint
171 - there is now a default constraint of sub { 1 }
172 instead of Moose::Util::TypeConstraints setting
175 * Moose::Meta::TypeCoercion
176 * Moose::Meta::TypeCoercion::Union
177 - added the &has_coercion_for_type and
178 &add_type_coercions methods to support the
179 new features above (although you cannot add
180 more type coercions for Union types)
182 0.31 Mon. Nov. 26, 2007
183 * Moose::Meta::Attribute
184 - made the +attr syntax handle extending types with
185 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
186 now works if the original foo is an ArrayRef.
187 - added tests for this.
188 - delegation now works even if the attribute does not
189 have a reader method using the get_read_method_ref
190 method from Class::MOP::Attribute.
191 - added tests for this
192 - added docs for this
194 * Moose::Util::TypeConstraints
195 - passing no "additional attribute info" to
196 &find_or_create_type_constraint will no longer
197 attempt to create an __ANON__ type for you,
198 instead it will just return undef.
199 - added docs for this
201 0.30 Fri. Nov. 23, 2007
202 * Moose::Meta::Method::Constructor
203 -builder related bug in inlined constructor. (groditi)
205 * Moose::Meta::Method::Accessor
206 - genereate unnecessary calls to predicates and refactor
207 code generation for runtime speed (groditi)
209 * Moose::Util::TypeConstraints
210 - fix ClassName constraint to introspect symbol table (mst)
211 - added more tests for this (mst)
212 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
214 - added tests for this
217 - adding the link to Recipie 11 (written by Sartak)
218 - adding test for SYNOPSIS code
221 - New tests for builder bug. Upon instantiation, if an
222 attribute had a builder, no value and was not lazy the
223 builder default was not getting run, oops. (groditi)
225 0.29 Tues. Nov. 13, 2007
226 * Moose::Meta::Attribute
227 - Fix error message on missing builder method (groditi)
229 * Moose::Meta::Method::Accessor
230 - Fix error message on missing builder method (groditi)
233 - Add test to check for the correct error message when
234 builder method is missing (groditi)
236 0.28 Tues. Nov. 13, 2007
237 - 0.27 packaged incorrectly (groditi)
239 0.27 Tues. Nov. 13, 2007
240 * Moose::Meta::Attribute
241 - Added support for the new builder option (groditi)
242 - Added support for lazy_build option (groditi)
243 - Changed slot initialization for predicate changes (groditi)
245 * Moose::Meta::Method::Accessor
246 - Added support for lazy_build option (groditi)
247 - Fix inline methods to work with corrected predicate
250 * Moose::Meta::Method::Constructor
251 - Added support for lazy_build option (groditi)
254 - tests for builder and lazy_build (groditi)
256 * fixing some misc. bits in the docs that
257 got mentioned on CPAN Forum & perlmonks
260 - fixed how required methods are handled
261 when they encounter overriden or modified
262 methods from a class (thanks to confound).
263 - added tests for this
265 * Moose::Util::TypeConstraint
266 - fixed the type notation parser so that
267 the | always creates a union and so is
268 no longer a valid type char (thanks to
269 konobi, mugwump and #moose for working
271 - added more tests for this
273 0.26 Thurs. Sept. 27, 2007
276 * Parameterized Types
277 We now support parameterized collection types, such as:
278 ArrayRef[Int] # array or integers
279 HashRef[Object] # a hash with object values
280 They can also be nested:
281 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
282 And work with the type unions as well:
283 ArrayRef[Int | Str] # array of integers of strings
285 * Better Framework Extendability
286 Moose.pm is now "extendable" such that it is now much
287 easier to extend the framework and add your own keywords
288 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
289 section of the Moose.pm docs.
292 In an effort to begin documenting some of the various
293 details of Moose as well as some common idioms, we have
294 created Moose::Cookbook::Snacks as a place to find
295 small (easily digestable) nuggets of Moose code.
298 ~ Several doc updates/cleanup thanks to castaway ~
300 - converted build system to use Module::Install instead of
301 Module::Build (thanks to jrockway)
304 - added all the meta classes to the immutable list and
305 set it to inline the accessors
306 - fix import to allow Sub::Exporter like { into => }
307 and { into_level => } (perigrin)
308 - exposed and documented init_meta() to allow better
309 embedding and extending of Moose (perigrin)
312 - complete re-organization of the test suite
313 - added some new tests as well
314 - finally re-enabled the Moose::POOP test since
315 the new version of DBM::Deep now works again
319 - fixed very odd and very nasty recursion bug with
321 - added tests for this (eilara)
323 * Moose::Meta::Attribute
324 Moose::Meta::Method::Constructor
325 Moose::Meta::Method::Accessor
326 - fixed issue with overload::Overloaded getting called
327 on non-blessed items. (RT #29269)
328 - added tests for this
330 * Moose::Meta::Method::Accessor
331 - fixed issue with generated accessor code making
332 assumptions about hash based classes (thanks to dexter)
334 * Moose::Coookbook::Snacks
335 - these are bits of documentation, not quite as big as
336 Recipes but which have no clear place in the module docs.
337 So they are Snacks! (horray for castaway++)
339 * Moose::Cookbook::Recipe4
340 - updated it to use the new ArrayRef[MyType] construct
341 - updated the accompanying test as well
343 +++ Major Refactor of the Type Constraint system +++
344 +++ with new features added as well +++
346 * Moose::Util::TypeConstraint
347 - no longer uses package variable to keep track of
348 the type constraints, now uses the an instance of
349 Moose::Meta::TypeConstraint::Registry to do it
350 - added more sophisticated type notation parsing
352 - added tests for this
354 * Moose::Meta::TypeConstraint
355 - some minor adjustments to make subclassing easier
356 - added the package_defined_in attribute so that we
357 can track where the type constraints are created
359 * Moose::Meta::TypeConstraint::Union
360 - this is now been refactored to be a subclass of
361 Moose::Meta::TypeConstraint
363 * Moose::Meta::TypeCoercion::Union
364 - this has been added to service the newly refactored
365 Moose::Meta::TypeConstraint::Union and is itself
366 a subclass of Moose::Meta::TypeCoercion
368 * Moose::Meta::TypeConstraint::Parameterized
369 - added this module (taken from MooseX::AttributeHelpers)
370 to help construct nested collection types
371 - added tests for this
373 * Moose::Meta::TypeConstraint::Registry
374 - added this class to keep track of type constraints
376 0.25 Mon. Aug. 13, 2007
378 - Documentation update to reference Moose::Util::TypeConstraints
379 under 'isa' in 'has' for how to define a new type
382 * Moose::Meta::Attribute
383 - required attributes now will no longer accept undef
384 from the constructor, even if there is a default and lazy
385 - added tests for this
386 - default subroutines must return a value which passes the
388 - added tests for this
390 * Moose::Meta::Attribute
391 * Moose::Meta::Method::Constructor
392 * Moose::Meta::Method::Accessor
393 - type-constraint tests now handle overloaded objects correctly
395 - added tests for this (thanks to EvanCarroll)
397 * Moose::Meta::TypeConstraint::Union
398 - added (has_)hand_optimized_constraint to this class so that
399 it behaves as the regular Moose::Meta::TypeConstraint does.
402 - large refactoring of this code
403 - added several more tests
404 - tests for subtle conflict resolition issues
405 added, but not currently running
408 * Moose::Cookbook::Recipe7
409 - added new recipe for augment/inner functionality
411 - added test for this
414 - a formal definition of roles (still in progress)
417 - utilities for easier working with Moose classes
418 - added tests for these
421 - This contains Moose specific test functions
422 - added tests for these
424 0.24 Tues. July 3, 2007
425 ~ Some doc updates/cleanup ~
427 * Moose::Meta::Attribute
428 - added support for roles to be given as parameters
429 to the 'handles' option.
430 - added tests and docs for this
431 - the has '+foo' attribute form now accepts changes to
432 the lazy option, and the addition of a handles option
433 (but not changing the handles option)
434 - added tests and docs for this
437 - required methods are now fetched using find_method_by_name
438 so that required methods can come from superclasses
439 - adjusted tests for this
441 0.23 Mon. June 18, 2007
442 * Moose::Meta::Method::Constructor
443 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
445 - Modify make_immutable to work with the new Class::MOP immutable
446 mechanism + POD + very basic test (groditi)
447 * Moose::Meta::Attribute
448 - Fix handles to use goto() so that caller() comes out properly on
449 the other side (perigrin)
451 0.22 Thurs. May 31, 2007
452 * Moose::Util::TypeConstraints
453 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
454 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
455 prototypes for functions
456 - added the ClassName type constraint, this checks for strings
457 which will respond true to ->isa(UNIVERSAL).
458 - added tests and docs for this
459 - subtyping just in name now works correctly by making the
460 default for where be { 1 }
461 - added test for this
463 * Moose::Meta::Method::Accessor
464 - coerce and lazy now work together correctly, thanks to
465 merlyn for finding this bug
466 - tests added for this
467 - fix reader presedence bug in Moose::Meta::Attribute + tests
470 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
471 a HASH-ref and missed. This produces better error messages then
472 having it die cause undef is not a HASH.
473 - added tests for this
475 0.21 Thursday, May 2nd, 2007
477 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
478 - modified unimport to remove super and inner along with the rest
479 - altered unimport tests to handle this
482 - altered super export to populate SUPER_SLOT
485 - altered augment and override modifier application to use *_SLOT
486 - modified tests for these to unimport one test class each to test
489 - fixed issue where custom attribute metaclasses
490 where not handled correctly in roles
491 - added tests for this
494 - fixed issue where extending metaclasses with
495 roles would blow up. Thanks to Aankhen`` for
496 finding this insidious error, and it's solution.
498 ~~ lots of spelling and grammer fixes in the docs,
499 many many thanks to rlb3 and Aankhen for these :)
501 0.20 Friday, April 6th, 2007
502 >> I messed up the SKIP logic in one test
503 so this release is just to fix that.
506 - 'has' now also accepts an ARRAY ref
507 to create multiple attrs (see docs)
508 (thanks to konobi for this)
509 - added tests and docs
511 0.19 Thurs. April 5th, 2007
512 ~~ More documentation updates ~~
514 * Moose::Util::TypeConstraints
515 - 'type' now supports messages as well
516 thanks to phaylon for finding this
517 - added tests for this
518 - added &list_all_type_constraints and
519 &list_all_builtin_type_constraints
520 functions to facilitate introspection.
522 * Moose::Meta::Attribute
523 - fixed regexp 'handles' declarations
524 to build the list of delegated methods
525 correctly (and not override important
526 things like &new) thanks to ashleyb
528 - added tests and docs for this
529 - added the 'documentation' attributes
530 so that you can actually document your
531 attributes and inspect them through the
533 - added tests and docs for this
536 - when loading custom attribute metaclasses
537 it will first look in for the class in the
538 Moose::Meta::Attribute::Custom::$name, and
539 then default to just loading $name.
540 - added tests and docs for this
542 * Moose::Meta::TypeConstraint
543 - type constraints now stringify to their names.
544 - added test for this
547 - added tests to assure we work with Module::Refresh
548 - added stricter test skip logic in the Moose POOP
549 test, ask Rob Kinyon why.
550 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
552 0.18 Sat. March 10, 2007
553 ~~ Many, many documentation updates ~~
556 - We now use Class::MOP::load_class to
558 - added tests to show types and subtypes
559 working with Declare::Constraints::Simple
560 and Test::Deep as constraint engines.
563 !! You must have Class::MOP 0.37_001 !!
564 !! for this developer release to work !!
566 This release was primarily adding the immutable
567 feature to Moose. An immutable class is one which
568 you promise not to alter. When you set the class
569 as immutable it will perform various bits of
570 memoization and inline certain part of the code
571 (constructors, destructors and accessors). This
572 minimizes (and in some cases totally eliminates)
573 one of Moose's biggest performance hits. This
574 feature is not on by default, and is 100% optional.
575 It has several configurable bits as well, so you
576 can pick and choose to your specific needs.
578 The changes involved in this were fairly wide and
579 highly specific, but 100% backwards compatible, so
580 I am not going to enumerate them here. If you are
581 truely interested in what was changed, please do
584 0.17 Tues. Nov. 14, 2006
585 * Moose::Meta::Method::Accessor
586 - bugfix for read-only accessors which
587 are have a type constraint and lazy.
588 Thanks to chansen for finding it.
590 0.16 Tues. Nov. 14, 2006
592 There are some speed improvements in this release,
593 but they are only the begining, so stay tuned.
596 - BUILDALL and DEMOLISHALL no longer get
597 called unless they actually need to be.
598 This gave us a signifigant speed boost
599 for the cases when there is no BUILD or
600 DEMOLISH method present.
602 * Moose::Util::TypeConstraints
603 * Moose::Meta::TypeConstraint
604 - added an 'optimize_as' option to the
605 type constraint, which allows for a
606 hand optimized version of the type
607 constraint to be used when possible.
608 - Any internally created type constraints
609 now provide an optimized version as well.
611 0.15 Sun. Nov. 5, 2006
613 This version of Moose *must* have Class::MOP 0.36 in order
614 to work correctly. A number of small internal tweaks have
615 been made in order to be compatible with that release.
617 * Moose::Util::TypeConstraints
618 - added &unimport so that you can clean out
619 your class namespace of these exported
623 - fixed minor issue which occasionally
624 comes up during global destruction
626 - moved Moose::Meta::Method::Overriden into
630 - moved Moose::Meta::Role::Method into
633 * Moose::Meta::Attribute
634 - changed how we do type checks so that
635 we reduce the overall cost, but still
638 - moved accessor generation methods to
639 Moose::Meta::Method::Accessor to
640 conform to the API changes from
643 * Moose::Meta::TypeConstraint
644 - changed how constraints are compiled
645 so that we do less recursion and more
646 iteration. This makes the type check
648 - moved Moose::Meta::TypeConstraint::Union
651 * Moose::Meta::Method::Accessor
652 - created this from methods formerly found in
653 Moose::Meta::Attribute
655 * Moose::Meta::Role::Method
656 - moved this from Moose::Meta::Role
658 * Moose::Meta::Method::Overriden
659 - moved this from Moose::Meta::Class
661 * Moose::Meta::TypeConstraint::Union
662 - moved this from Moose::Meta::TypeConstraint
664 0.14 Mon. Oct. 9, 2006
666 * Moose::Meta::Attribute
667 - fixed lazy attributes which were not getting
668 checked with the type constraint (thanks ashley)
669 - added tests for this
670 - removed the over-enthusiastic DWIMery of the
671 automatic ArrayRef and HashRef defaults, it
672 broke predicates in an ugly way.
673 - removed tests for this
675 0.13 Sat. Sept. 30, 2006
677 This version of Moose *must* have Class::MOP 0.35 in order
678 to work correctly. A number of small internal tweaks have
679 been made in order to be compatible with that release.
682 - Removed the use of UNIVERSAL::require to be a better
683 symbol table citizen and remove a dependency
684 (thanks Adam Kennedy)
686 **~~ removed experimental & undocumented feature ~~**
687 - commented out the 'method' and 'self' keywords, see the
688 comments for more info.
691 - added a FAQ and WTF files to document frequently
692 asked questions and common problems
694 * Moose::Util::TypeConstraints
695 - added GlobRef and FileHandle type constraint
696 - added tests for this
698 * Moose::Meta::Attribute
699 - if your attribute 'isa' ArrayRef of HashRef, and you have
700 not explicitly set a default, then make the default DWIM.
701 This will also work for subtypes of ArrayRef and HashRef
703 - you can now auto-deref subtypes of ArrayRef or HashRef too.
704 - new test added for this (thanks to ashley)
707 - added basic support for runtime role composition
708 but this is still *highly experimental*, so feedback
709 is much appreciated :)
710 - added tests for this
712 * Moose::Meta::TypeConstraint
713 - the type constraint now handles the coercion process
714 through delegation, this is to support the coercion
717 * Moose::Meta::TypeConstraint::Union
718 - it is now possible for coercions to be performed
720 - added tests for this (thanks to konobi)
722 * Moose::Meta::TypeCoercion
723 - properly capturing error when type constraint
727 - Scalar::Util 1.18 is bad on Win32, so temporarily
728 only require version 1.17 for Win32 and cygwin.
729 (thanks Adam Kennedy)
731 0.12 Sat. Sept. 1, 2006
733 - Recipe5 (subtypes & coercion) has been written
736 - fixed "bad meta" error message to be more descriptive
737 - fixed &unimport to not remove the &inner and &super
738 keywords because we need to localize them.
739 - fixed number of spelling/grammer issues, thanks Theory :)
741 **~~ experimental & undocumented feature ~~**
742 - added the method and self keywords, they are basically
743 just sugar, and they may not stay around.
746 - added &dump method to easily Data::Dumper
749 * Moose::Meta::TypeConstraint
750 - added the &is_a_type_of method to check both the current
751 and the subtype of a method (similar to &isa with classes)
754 - this is now a subclass of Class::MOP::Module, and no longer
755 creates the _role_meta ugliness of before.
756 - fixed tests to reflect this change
758 0.11 Wed. July 12, 2006
760 - added an &unimport method to remove all the keywords
761 that Moose will import, simply add 'no Moose' to the
762 bottom of your class file.
765 - fixed some test failures caused by a forgotten test
768 0.10 Thurs. July 6, 2006
770 - improved error message when loading modules so
771 it is less confusing when you load a role.
772 - added &calculate_all_roles method to
773 Moose::Meta::Class and Moose::Meta::Role
776 This module has been tested against Class::MOP 0.30
777 but it does not yet utilize the optimizations
778 it makes available. Stay tuned for that ;)
780 0.09_03 Fri. June 23, 2006
781 ++ DEVELOPER RELEASE ++
783 - 'use strict' and 'use warnings' are no longer
784 needed in Moose classes, Moose itself will
785 turn them on for you.
786 - added tests for this
787 - moved code from exported subs to private methods
788 in Moose::Meta::Class
791 - as with Moose, strict and warnings are
792 automatically turned on for you.
793 - added tests for this
796 - now handles an edge case for override errors
797 - added tests for this
798 - added some more edge case tests
800 0.09_02 Tues. May 16, 2006
801 ++ DEVELOPER RELEASE ++
803 - added prototypes to the exported subs
807 - added prototypes to the exported subs
810 * Moose::Util::TypeConstraints
811 - cleaned up prototypes for the subs
814 0.09_01 Fri. May 12, 2006
815 ++ DEVELOPER RELEASE ++
816 - This release works in combination with
817 Class::MOP 0.29_01, it is a developer
818 release because it uses the a new
819 instance sub-protocol and a fairly
820 complete Role implementation. It has
821 not yet been optimized, so it slower
822 the the previous CPAN version. This
823 release also lacks good updated docs,
824 the official release will have updated docs.
827 - refactored the keyword exports
828 - 'with' now checks Role validaity and
829 accepts more than one Role at a time
830 - 'extends' makes metaclass adjustments as
831 needed to ensure metaclass compatability
834 - refactored the keyword exports
835 - 'with' now checks Role validaity and
836 accepts more than one Role at a time
838 * Moose::Util::TypeConstraints
839 - added the 'enum' keyword for simple
840 string enumerations which can be used as
842 - see example of usage in t/202_example.t
845 - more careful checking of params to new()
848 - much work done on the role composition
849 - many new tests for conflict detection
850 and composition edge cases
851 - not enough documentation, I suggest
854 * Moose::Meta::Instance
855 - added new Instance metaclass to support
856 the new Class::MOP instance protocol
859 - some small changes to support the new
861 - some small additions to support Roles
863 * Moose::Meta::Attribute
864 - some improvements to the accessor generation code
866 - some small changes to support the new
868 - (still somewhat) experimental delegation support
869 with the 'handles' option
870 - added several tests for this
871 - no docs for this yet
873 0.05 Thurs. April 27, 2006
875 - keywords are now exported with Sub::Exporter
876 thanks to chansen for this commit
877 - has keyword now takes a 'metaclass' option
878 to support custom attribute meta-classes
879 on a per-attribute basis
880 - added tests for this
881 - the 'has' keyword not accepts inherited slot
882 specifications (has '+foo'). This is still an
883 experimental feature and probably not finished
884 see t/038_attribute_inherited_slot_specs.t for
885 more details, or ask about it on #moose
886 - added tests for this
889 - keywords are now exported with Sub::Exporter
891 * Moose::Utils::TypeConstraints
892 - reorganized the type constraint hierarchy, thanks
893 to nothingmuch and chansen for his help and advice
895 - added some tests for this
896 - keywords are now exported with Sub::Exporter
897 thanks to chansen for this commit
900 - due to changes in Class::MOP, we had to change
901 construct_instance (for the better)
903 * Moose::Meta::Attribute
904 - due to changes in Class::MOP, we had to add the
905 initialize_instance_slot method (it's a good thing)
907 * Moose::Meta::TypeConstraint
908 - added type constraint unions
909 - added tests for this
910 - added the is_subtype_of predicate method
911 - added tests for this
913 0.04 Sun. April 16th, 2006
915 - Roles can now consume other roles
916 - added tests for this
917 - Roles can specify required methods now with
918 the requires() keyword
919 - added tests for this
922 - ripped out much of it's guts ,.. much cleaner now
923 - added required methods and correct handling of
924 them in apply() for both classes and roles
925 - added tests for this
926 - no longer adds a does() method to consuming classes
927 it relys on the one in Moose::Object
928 - added roles attribute and some methods to support
929 roles consuming roles
931 * Moose::Meta::Attribute
932 - added support for triggers on attributes
933 - added tests for this
934 - added support for does option on an attribute
935 - added tests for this
938 - added support for attribute triggers in the
940 - added tests for this
943 - Moose no longer creates a subtype for your class
944 if a subtype of the same name already exists, this
945 should DWIM in 99.9999% of all cases
947 * Moose::Util::TypeConstraints
948 - fixed bug where incorrect subtype conflicts were
950 - added test for this
953 - this class can now be extended with 'use base' if
954 you need it, it properly loads the metaclass class now
955 - added test for this
957 0.03_02 Wed. April 12, 2006
959 - you must now explictly use Moose::Util::TypeConstraints
960 it no longer gets exported for you automatically
963 - new() now accepts hash-refs as well as key/value lists
964 - added does() method to check for Roles
965 - added tests for this
968 - added roles attribute along with the add_role() and
970 - added tests for this
973 - now adds a does() method to consuming classes
974 which tests the class's hierarchy for roles
975 - added tests for this
977 0.03_01 Mon. April 10, 2006
979 - added new Role recipe (no content yet, only code)
982 - added 'with' keyword for Role support
983 - added test and docs for this
984 - fixed subtype quoting bug
985 - added test for this
989 - added test and docs
991 * Moose::Util::TypeConstraints
992 - added the message keyword to add custom
993 error messages to type constraints
996 - the meta role to support Moose::Role
997 - added tests and docs
1000 - moved a number of things from Moose.pm
1001 to here, they should have been here
1004 * Moose::Meta::Attribute
1005 - moved the attribute option macros here
1006 instead of putting them in Moose.pm
1008 * Moose::Meta::TypeConstraint
1009 - added the message attributes and the
1011 - added tests and docs for this
1013 0.03 Thurs. March 30, 2006
1015 - added the Moose::Cookbook with 5 recipes,
1016 describing all the stuff Moose can do.
1019 - fixed an issue with &extends super class loading
1020 it now captures errors and deals with inline
1021 packages correctly (bug found by mst, solution
1023 - added super/override & inner/augment features
1024 - added tests and docs for these
1027 - BUILDALL now takes a reference of the %params
1028 that are passed to &new, and passes that to
1031 * Moose::Util::TypeConstraints
1032 - Type constraints now survive runtime reloading
1033 - added test for this
1035 * Moose::Meta::Class
1036 - fixed the way attribute defaults are handled
1037 during instance construction (bug found by chansen)
1039 * Moose::Meta::Attribute
1040 - read-only attributes now actually enforce their
1041 read-only-ness (this corrected in Class::MOP as
1044 0.02 Tues. March 21, 2006
1046 - many more tests, fixing some bugs and
1048 - &extends now loads the base module with
1050 - added UNIVERSAL::require to the
1053 - each new Moose class will also create
1054 and register a subtype of Object which
1055 correspond to the new Moose class.
1056 - the 'isa' option in &has now only
1057 accepts strings, and will DWIM in
1060 * Moose::Util::TypeConstraints
1061 - added type coercion features
1062 - added tests for this
1063 - added support for this in attributes
1064 and instance construction
1066 - type construction no longer creates a
1067 function, it registers the type instead.
1068 - added several functions to get the
1072 - BUILDALL and DEMOLISHALL were broken
1073 because of a mis-named hash key, Whoops :)
1075 * Moose::Meta::Attribute
1076 - adding support for coercion in the
1077 autogenerated accessors
1079 * Moose::Meta::Class
1080 - adding support for coercion in the
1081 instance construction
1083 * Moose::Meta::TypeConstraint
1084 * Moose::Meta::TypeCoercion
1085 - type constraints and coercions are now
1086 full fledges meta-objects
1088 0.01 Wed. March 15, 2006
1089 - Moooooooooooooooooose!!!