1 Revision history for Perl extension Moose
4 * Moose::Meta::Method::Constructor
5 - fix to make sure even Class::MOP attributes
6 are handled correctly (Thanks to Dave Rolsky)
7 - added test for this (also Dave Rolsky)
10 - improved error message on _apply_all_roles,
11 you should now use Moose::Util::apply_all_roles
12 and you shouldnt have been using a _ prefixed
13 method in the first place ;)
15 0.34 Mon. Jan. 21, 2008
16 ~~~ more misc. doc. fixes ~~~
17 ~~ updated copyright dates ~~
19 Moose is now a postmodern object system :)
20 - (see the POD for details)
22 * <<Role System Refactoring>>
23 - this release contains a major reworking and
24 cleanup of the role system
25 - 100% backwards compat.
26 - Role application now restructured into seperate
27 classes based on type of applicants
28 - Role summation (combining of more than one role)
29 is much cleaner and anon-classes are no longer
31 - new Composite role metaclass
32 - runtime application of roles to instances
33 is now more efficient and re-uses generated
34 classes when applicable
36 * <<New Role composition features>>
37 - methods can now be excluded from a given role
40 with 'My::Role' => { excludes => [qw/method1 method2/] };
42 - methods can now be aliased to another name (and
43 still retain the original as well)
47 method1 => method1_aliased
51 * <<New Attribute traits>>
52 - allows arbitrary roles to be applied to attribute metaobjects
53 to allow better combination of custom attribute features. Docs
54 are coming soon for this feature.
56 * <<New Maybe[$type] parameterized type>>
57 - added this new type which basically means the value is
58 of $type or it is undef
64 - now uses the Moose::Util::apply_all_roles to deal
68 - added the &apply_all_roles function
70 * Moose::Util::TypeConstraints
71 - all optimized type constraint subs are now
72 pulled from the Moose::Util::TypeConstraints::OptimizedConstraints
73 module (thanks to nothingmuch)
74 - improved support for the IO:: family of modules within the
75 FileHandle type constraint
77 * Moose::Util::TypeConstraints::OptimizedConstraints
78 - added this module (see above)
81 - fixed the &_process_attribute method to be called
82 by &add_attribute, so that the API is now correct
84 * Moose::Meta::Method::Accessor
85 - fixed bug when passing a list of values to
86 an accessor would get (incorrectly) ignored.
87 Thanks to Sartak for finding this ;)
88 - added tests for this (Sartak again)
90 * Moose::Meta::Method::Accessor
91 Moose::Meta::Method::Constructor
92 Moose::Meta::Attribute
93 Moose::Meta::TypeConstraint
94 Moose::Meta::TypeCoercion
95 - lots of cleanup of such things as:
97 - type constraint handling
98 - error handling/messages
99 (thanks to nothingmuch)
101 * Moose::Meta::TypeConstraint::Parameterizable
102 - added this module to support the refactor
103 in Moose::Meta::TypeConstraint::Parameterized
105 * Moose::Meta::TypeConstraint::Parameterized
106 - refactored how these types are handled so they
107 are more generic and not confined to ArrayRef
111 - shortened some file names for better VMS support (RT #32381)
113 0.33 Fri. Dec. 14, 2007
114 !! Moose now loads 2 x faster !!
115 !! with new Class::MOP 0.49 !!
117 ++ new oose.pm module to make command line
118 Moose-ness easier (see POD docs for more)
122 - several tweaks to take advantage of the
123 new method map caching in Class::MOP
125 * Moose::Meta::TypeConstraint::Parameterized
126 - allow subtypes of ArrayRef and HashRef to
127 be used as a container (sartak)
128 - added tests for this
129 - basic support for coercion to ArrayRef and
130 HashRef for containers (sartak)
131 - added tests for this
133 * Moose::Meta::TypeCoercion
134 - coercions will now create subtypes as needed
135 so you can now add coercions to parameterized
136 types without having to explictly define them
137 - added tests for this
139 * Moose::Meta::Method::Accessor
140 - allow subclasses to decide whether we need
141 to copy the value into a new variable (sartak)
143 0.32 Tues. Dec. 4, 2007
144 * Moose::Util::TypeConstraints
145 - fixing how subtype aliases of unions work
146 they should inherit the parent's coercion
147 - added tests for this
148 - you can now define multiple coercions on
149 a single type at different times instead of
150 having to do it all in one place
151 - added tests for this
153 * Moose::Meta::TypeConstraint
154 - there is now a default constraint of sub { 1 }
155 instead of Moose::Util::TypeConstraints setting
158 * Moose::Meta::TypeCoercion
159 * Moose::Meta::TypeCoercion::Union
160 - added the &has_coercion_for_type and
161 &add_type_coercions methods to support the
162 new features above (although you cannot add
163 more type coercions for Union types)
165 0.31 Mon. Nov. 26, 2007
166 * Moose::Meta::Attribute
167 - made the +attr syntax handle extending types with
168 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
169 now works if the original foo is an ArrayRef.
170 - added tests for this.
171 - delegation now works even if the attribute does not
172 have a reader method using the get_read_method_ref
173 method from Class::MOP::Attribute.
174 - added tests for this
175 - added docs for this
177 * Moose::Util::TypeConstraints
178 - passing no "additional attribute info" to
179 &find_or_create_type_constraint will no longer
180 attempt to create an __ANON__ type for you,
181 instead it will just return undef.
182 - added docs for this
184 0.30 Fri. Nov. 23, 2007
185 * Moose::Meta::Method::Constructor
186 -builder related bug in inlined constructor. (groditi)
188 * Moose::Meta::Method::Accessor
189 - genereate unnecessary calls to predicates and refactor
190 code generation for runtime speed (groditi)
192 * Moose::Util::TypeConstraints
193 - fix ClassName constraint to introspect symbol table (mst)
194 - added more tests for this (mst)
195 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
197 - added tests for this
200 - adding the link to Recipie 11 (written by Sartak)
201 - adding test for SYNOPSIS code
204 - New tests for builder bug. Upon instantiation, if an
205 attribute had a builder, no value and was not lazy the
206 builder default was not getting run, oops. (groditi)
208 0.29 Tues. Nov. 13, 2007
209 * Moose::Meta::Attribute
210 - Fix error message on missing builder method (groditi)
212 * Moose::Meta::Method::Accessor
213 - Fix error message on missing builder method (groditi)
216 - Add test to check for the correct error message when
217 builder method is missing (groditi)
219 0.28 Tues. Nov. 13, 2007
220 - 0.27 packaged incorrectly (groditi)
222 0.27 Tues. Nov. 13, 2007
223 * Moose::Meta::Attribute
224 - Added support for the new builder option (groditi)
225 - Added support for lazy_build option (groditi)
226 - Changed slot initialization for predicate changes (groditi)
228 * Moose::Meta::Method::Accessor
229 - Added support for lazy_build option (groditi)
230 - Fix inline methods to work with corrected predicate
233 * Moose::Meta::Method::Constructor
234 - Added support for lazy_build option (groditi)
237 - tests for builder and lazy_build (groditi)
239 * fixing some misc. bits in the docs that
240 got mentioned on CPAN Forum & perlmonks
243 - fixed how required methods are handled
244 when they encounter overriden or modified
245 methods from a class (thanks to confound).
246 - added tests for this
248 * Moose::Util::TypeConstraint
249 - fixed the type notation parser so that
250 the | always creates a union and so is
251 no longer a valid type char (thanks to
252 konobi, mugwump and #moose for working
254 - added more tests for this
256 0.26 Thurs. Sept. 27, 2007
259 * Parameterized Types
260 We now support parameterized collection types, such as:
261 ArrayRef[Int] # array or integers
262 HashRef[Object] # a hash with object values
263 They can also be nested:
264 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
265 And work with the type unions as well:
266 ArrayRef[Int | Str] # array of integers of strings
268 * Better Framework Extendability
269 Moose.pm is now "extendable" such that it is now much
270 easier to extend the framework and add your own keywords
271 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
272 section of the Moose.pm docs.
275 In an effort to begin documenting some of the various
276 details of Moose as well as some common idioms, we have
277 created Moose::Cookbook::Snacks as a place to find
278 small (easily digestable) nuggets of Moose code.
281 ~ Several doc updates/cleanup thanks to castaway ~
283 - converted build system to use Module::Install instead of
284 Module::Build (thanks to jrockway)
287 - added all the meta classes to the immutable list and
288 set it to inline the accessors
289 - fix import to allow Sub::Exporter like { into => }
290 and { into_level => } (perigrin)
291 - exposed and documented init_meta() to allow better
292 embedding and extending of Moose (perigrin)
295 - complete re-organization of the test suite
296 - added some new tests as well
297 - finally re-enabled the Moose::POOP test since
298 the new version of DBM::Deep now works again
302 - fixed very odd and very nasty recursion bug with
304 - added tests for this (eilara)
306 * Moose::Meta::Attribute
307 Moose::Meta::Method::Constructor
308 Moose::Meta::Method::Accessor
309 - fixed issue with overload::Overloaded getting called
310 on non-blessed items. (RT #29269)
311 - added tests for this
313 * Moose::Meta::Method::Accessor
314 - fixed issue with generated accessor code making
315 assumptions about hash based classes (thanks to dexter)
317 * Moose::Coookbook::Snacks
318 - these are bits of documentation, not quite as big as
319 Recipes but which have no clear place in the module docs.
320 So they are Snacks! (horray for castaway++)
322 * Moose::Cookbook::Recipe4
323 - updated it to use the new ArrayRef[MyType] construct
324 - updated the accompanying test as well
326 +++ Major Refactor of the Type Constraint system +++
327 +++ with new features added as well +++
329 * Moose::Util::TypeConstraint
330 - no longer uses package variable to keep track of
331 the type constraints, now uses the an instance of
332 Moose::Meta::TypeConstraint::Registry to do it
333 - added more sophisticated type notation parsing
335 - added tests for this
337 * Moose::Meta::TypeConstraint
338 - some minor adjustments to make subclassing easier
339 - added the package_defined_in attribute so that we
340 can track where the type constraints are created
342 * Moose::Meta::TypeConstraint::Union
343 - this is now been refactored to be a subclass of
344 Moose::Meta::TypeConstraint
346 * Moose::Meta::TypeCoercion::Union
347 - this has been added to service the newly refactored
348 Moose::Meta::TypeConstraint::Union and is itself
349 a subclass of Moose::Meta::TypeCoercion
351 * Moose::Meta::TypeConstraint::Parameterized
352 - added this module (taken from MooseX::AttributeHelpers)
353 to help construct nested collection types
354 - added tests for this
356 * Moose::Meta::TypeConstraint::Registry
357 - added this class to keep track of type constraints
359 0.25 Mon. Aug. 13, 2007
361 - Documentation update to reference Moose::Util::TypeConstraints
362 under 'isa' in 'has' for how to define a new type
365 * Moose::Meta::Attribute
366 - required attributes now will no longer accept undef
367 from the constructor, even if there is a default and lazy
368 - added tests for this
369 - default subroutines must return a value which passes the
371 - added tests for this
373 * Moose::Meta::Attribute
374 * Moose::Meta::Method::Constructor
375 * Moose::Meta::Method::Accessor
376 - type-constraint tests now handle overloaded objects correctly
378 - added tests for this (thanks to EvanCarroll)
380 * Moose::Meta::TypeConstraint::Union
381 - added (has_)hand_optimized_constraint to this class so that
382 it behaves as the regular Moose::Meta::TypeConstraint does.
385 - large refactoring of this code
386 - added several more tests
387 - tests for subtle conflict resolition issues
388 added, but not currently running
391 * Moose::Cookbook::Recipe7
392 - added new recipe for augment/inner functionality
394 - added test for this
397 - a formal definition of roles (still in progress)
400 - utilities for easier working with Moose classes
401 - added tests for these
404 - This contains Moose specific test functions
405 - added tests for these
407 0.24 Tues. July 3, 2007
408 ~ Some doc updates/cleanup ~
410 * Moose::Meta::Attribute
411 - added support for roles to be given as parameters
412 to the 'handles' option.
413 - added tests and docs for this
414 - the has '+foo' attribute form now accepts changes to
415 the lazy option, and the addition of a handles option
416 (but not changing the handles option)
417 - added tests and docs for this
420 - required methods are now fetched using find_method_by_name
421 so that required methods can come from superclasses
422 - adjusted tests for this
424 0.23 Mon. June 18, 2007
425 * Moose::Meta::Method::Constructor
426 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
428 - Modify make_immutable to work with the new Class::MOP immutable
429 mechanism + POD + very basic test (groditi)
430 * Moose::Meta::Attribute
431 - Fix handles to use goto() so that caller() comes out properly on
432 the other side (perigrin)
434 0.22 Thurs. May 31, 2007
435 * Moose::Util::TypeConstraints
436 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
437 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
438 prototypes for functions
439 - added the ClassName type constraint, this checks for strings
440 which will respond true to ->isa(UNIVERSAL).
441 - added tests and docs for this
442 - subtyping just in name now works correctly by making the
443 default for where be { 1 }
444 - added test for this
446 * Moose::Meta::Method::Accessor
447 - coerce and lazy now work together correctly, thanks to
448 merlyn for finding this bug
449 - tests added for this
450 - fix reader presedence bug in Moose::Meta::Attribute + tests
453 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
454 a HASH-ref and missed. This produces better error messages then
455 having it die cause undef is not a HASH.
456 - added tests for this
458 0.21 Thursday, May 2nd, 2007
460 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
461 - modified unimport to remove super and inner along with the rest
462 - altered unimport tests to handle this
465 - altered super export to populate SUPER_SLOT
468 - altered augment and override modifier application to use *_SLOT
469 - modified tests for these to unimport one test class each to test
472 - fixed issue where custom attribute metaclasses
473 where not handled correctly in roles
474 - added tests for this
477 - fixed issue where extending metaclasses with
478 roles would blow up. Thanks to Aankhen`` for
479 finding this insidious error, and it's solution.
481 ~~ lots of spelling and grammer fixes in the docs,
482 many many thanks to rlb3 and Aankhen for these :)
484 0.20 Friday, April 6th, 2007
485 >> I messed up the SKIP logic in one test
486 so this release is just to fix that.
489 - 'has' now also accepts an ARRAY ref
490 to create multiple attrs (see docs)
491 (thanks to konobi for this)
492 - added tests and docs
494 0.19 Thurs. April 5th, 2007
495 ~~ More documentation updates ~~
497 * Moose::Util::TypeConstraints
498 - 'type' now supports messages as well
499 thanks to phaylon for finding this
500 - added tests for this
501 - added &list_all_type_constraints and
502 &list_all_builtin_type_constraints
503 functions to facilitate introspection.
505 * Moose::Meta::Attribute
506 - fixed regexp 'handles' declarations
507 to build the list of delegated methods
508 correctly (and not override important
509 things like &new) thanks to ashleyb
511 - added tests and docs for this
512 - added the 'documentation' attributes
513 so that you can actually document your
514 attributes and inspect them through the
516 - added tests and docs for this
519 - when loading custom attribute metaclasses
520 it will first look in for the class in the
521 Moose::Meta::Attribute::Custom::$name, and
522 then default to just loading $name.
523 - added tests and docs for this
525 * Moose::Meta::TypeConstraint
526 - type constraints now stringify to their names.
527 - added test for this
530 - added tests to assure we work with Module::Refresh
531 - added stricter test skip logic in the Moose POOP
532 test, ask Rob Kinyon why.
533 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
535 0.18 Sat. March 10, 2007
536 ~~ Many, many documentation updates ~~
539 - We now use Class::MOP::load_class to
541 - added tests to show types and subtypes
542 working with Declare::Constraints::Simple
543 and Test::Deep as constraint engines.
546 !! You must have Class::MOP 0.37_001 !!
547 !! for this developer release to work !!
549 This release was primarily adding the immutable
550 feature to Moose. An immutable class is one which
551 you promise not to alter. When you set the class
552 as immutable it will perform various bits of
553 memoization and inline certain part of the code
554 (constructors, destructors and accessors). This
555 minimizes (and in some cases totally eliminates)
556 one of Moose's biggest performance hits. This
557 feature is not on by default, and is 100% optional.
558 It has several configurable bits as well, so you
559 can pick and choose to your specific needs.
561 The changes involved in this were fairly wide and
562 highly specific, but 100% backwards compatible, so
563 I am not going to enumerate them here. If you are
564 truely interested in what was changed, please do
567 0.17 Tues. Nov. 14, 2006
568 * Moose::Meta::Method::Accessor
569 - bugfix for read-only accessors which
570 are have a type constraint and lazy.
571 Thanks to chansen for finding it.
573 0.16 Tues. Nov. 14, 2006
575 There are some speed improvements in this release,
576 but they are only the begining, so stay tuned.
579 - BUILDALL and DEMOLISHALL no longer get
580 called unless they actually need to be.
581 This gave us a signifigant speed boost
582 for the cases when there is no BUILD or
583 DEMOLISH method present.
585 * Moose::Util::TypeConstraints
586 * Moose::Meta::TypeConstraint
587 - added an 'optimize_as' option to the
588 type constraint, which allows for a
589 hand optimized version of the type
590 constraint to be used when possible.
591 - Any internally created type constraints
592 now provide an optimized version as well.
594 0.15 Sun. Nov. 5, 2006
596 This version of Moose *must* have Class::MOP 0.36 in order
597 to work correctly. A number of small internal tweaks have
598 been made in order to be compatible with that release.
600 * Moose::Util::TypeConstraints
601 - added &unimport so that you can clean out
602 your class namespace of these exported
606 - fixed minor issue which occasionally
607 comes up during global destruction
609 - moved Moose::Meta::Method::Overriden into
613 - moved Moose::Meta::Role::Method into
616 * Moose::Meta::Attribute
617 - changed how we do type checks so that
618 we reduce the overall cost, but still
621 - moved accessor generation methods to
622 Moose::Meta::Method::Accessor to
623 conform to the API changes from
626 * Moose::Meta::TypeConstraint
627 - changed how constraints are compiled
628 so that we do less recursion and more
629 iteration. This makes the type check
631 - moved Moose::Meta::TypeConstraint::Union
634 * Moose::Meta::Method::Accessor
635 - created this from methods formerly found in
636 Moose::Meta::Attribute
638 * Moose::Meta::Role::Method
639 - moved this from Moose::Meta::Role
641 * Moose::Meta::Method::Overriden
642 - moved this from Moose::Meta::Class
644 * Moose::Meta::TypeConstraint::Union
645 - moved this from Moose::Meta::TypeConstraint
647 0.14 Mon. Oct. 9, 2006
649 * Moose::Meta::Attribute
650 - fixed lazy attributes which were not getting
651 checked with the type constraint (thanks ashley)
652 - added tests for this
653 - removed the over-enthusiastic DWIMery of the
654 automatic ArrayRef and HashRef defaults, it
655 broke predicates in an ugly way.
656 - removed tests for this
658 0.13 Sat. Sept. 30, 2006
660 This version of Moose *must* have Class::MOP 0.35 in order
661 to work correctly. A number of small internal tweaks have
662 been made in order to be compatible with that release.
665 - Removed the use of UNIVERSAL::require to be a better
666 symbol table citizen and remove a dependency
667 (thanks Adam Kennedy)
669 **~~ removed experimental & undocumented feature ~~**
670 - commented out the 'method' and 'self' keywords, see the
671 comments for more info.
674 - added a FAQ and WTF files to document frequently
675 asked questions and common problems
677 * Moose::Util::TypeConstraints
678 - added GlobRef and FileHandle type constraint
679 - added tests for this
681 * Moose::Meta::Attribute
682 - if your attribute 'isa' ArrayRef of HashRef, and you have
683 not explicitly set a default, then make the default DWIM.
684 This will also work for subtypes of ArrayRef and HashRef
686 - you can now auto-deref subtypes of ArrayRef or HashRef too.
687 - new test added for this (thanks to ashley)
690 - added basic support for runtime role composition
691 but this is still *highly experimental*, so feedback
692 is much appreciated :)
693 - added tests for this
695 * Moose::Meta::TypeConstraint
696 - the type constraint now handles the coercion process
697 through delegation, this is to support the coercion
700 * Moose::Meta::TypeConstraint::Union
701 - it is now possible for coercions to be performed
703 - added tests for this (thanks to konobi)
705 * Moose::Meta::TypeCoercion
706 - properly capturing error when type constraint
710 - Scalar::Util 1.18 is bad on Win32, so temporarily
711 only require version 1.17 for Win32 and cygwin.
712 (thanks Adam Kennedy)
714 0.12 Sat. Sept. 1, 2006
716 - Recipe5 (subtypes & coercion) has been written
719 - fixed "bad meta" error message to be more descriptive
720 - fixed &unimport to not remove the &inner and &super
721 keywords because we need to localize them.
722 - fixed number of spelling/grammer issues, thanks Theory :)
724 **~~ experimental & undocumented feature ~~**
725 - added the method and self keywords, they are basically
726 just sugar, and they may not stay around.
729 - added &dump method to easily Data::Dumper
732 * Moose::Meta::TypeConstraint
733 - added the &is_a_type_of method to check both the current
734 and the subtype of a method (similar to &isa with classes)
737 - this is now a subclass of Class::MOP::Module, and no longer
738 creates the _role_meta ugliness of before.
739 - fixed tests to reflect this change
741 0.11 Wed. July 12, 2006
743 - added an &unimport method to remove all the keywords
744 that Moose will import, simply add 'no Moose' to the
745 bottom of your class file.
748 - fixed some test failures caused by a forgotten test
751 0.10 Thurs. July 6, 2006
753 - improved error message when loading modules so
754 it is less confusing when you load a role.
755 - added &calculate_all_roles method to
756 Moose::Meta::Class and Moose::Meta::Role
759 This module has been tested against Class::MOP 0.30
760 but it does not yet utilize the optimizations
761 it makes available. Stay tuned for that ;)
763 0.09_03 Fri. June 23, 2006
764 ++ DEVELOPER RELEASE ++
766 - 'use strict' and 'use warnings' are no longer
767 needed in Moose classes, Moose itself will
768 turn them on for you.
769 - added tests for this
770 - moved code from exported subs to private methods
771 in Moose::Meta::Class
774 - as with Moose, strict and warnings are
775 automatically turned on for you.
776 - added tests for this
779 - now handles an edge case for override errors
780 - added tests for this
781 - added some more edge case tests
783 0.09_02 Tues. May 16, 2006
784 ++ DEVELOPER RELEASE ++
786 - added prototypes to the exported subs
790 - added prototypes to the exported subs
793 * Moose::Util::TypeConstraints
794 - cleaned up prototypes for the subs
797 0.09_01 Fri. May 12, 2006
798 ++ DEVELOPER RELEASE ++
799 - This release works in combination with
800 Class::MOP 0.29_01, it is a developer
801 release because it uses the a new
802 instance sub-protocol and a fairly
803 complete Role implementation. It has
804 not yet been optimized, so it slower
805 the the previous CPAN version. This
806 release also lacks good updated docs,
807 the official release will have updated docs.
810 - refactored the keyword exports
811 - 'with' now checks Role validaity and
812 accepts more than one Role at a time
813 - 'extends' makes metaclass adjustments as
814 needed to ensure metaclass compatability
817 - refactored the keyword exports
818 - 'with' now checks Role validaity and
819 accepts more than one Role at a time
821 * Moose::Util::TypeConstraints
822 - added the 'enum' keyword for simple
823 string enumerations which can be used as
825 - see example of usage in t/202_example.t
828 - more careful checking of params to new()
831 - much work done on the role composition
832 - many new tests for conflict detection
833 and composition edge cases
834 - not enough documentation, I suggest
837 * Moose::Meta::Instance
838 - added new Instance metaclass to support
839 the new Class::MOP instance protocol
842 - some small changes to support the new
844 - some small additions to support Roles
846 * Moose::Meta::Attribute
847 - some improvements to the accessor generation code
849 - some small changes to support the new
851 - (still somewhat) experimental delegation support
852 with the 'handles' option
853 - added several tests for this
854 - no docs for this yet
856 0.05 Thurs. April 27, 2006
858 - keywords are now exported with Sub::Exporter
859 thanks to chansen for this commit
860 - has keyword now takes a 'metaclass' option
861 to support custom attribute meta-classes
862 on a per-attribute basis
863 - added tests for this
864 - the 'has' keyword not accepts inherited slot
865 specifications (has '+foo'). This is still an
866 experimental feature and probably not finished
867 see t/038_attribute_inherited_slot_specs.t for
868 more details, or ask about it on #moose
869 - added tests for this
872 - keywords are now exported with Sub::Exporter
874 * Moose::Utils::TypeConstraints
875 - reorganized the type constraint hierarchy, thanks
876 to nothingmuch and chansen for his help and advice
878 - added some tests for this
879 - keywords are now exported with Sub::Exporter
880 thanks to chansen for this commit
883 - due to changes in Class::MOP, we had to change
884 construct_instance (for the better)
886 * Moose::Meta::Attribute
887 - due to changes in Class::MOP, we had to add the
888 initialize_instance_slot method (it's a good thing)
890 * Moose::Meta::TypeConstraint
891 - added type constraint unions
892 - added tests for this
893 - added the is_subtype_of predicate method
894 - added tests for this
896 0.04 Sun. April 16th, 2006
898 - Roles can now consume other roles
899 - added tests for this
900 - Roles can specify required methods now with
901 the requires() keyword
902 - added tests for this
905 - ripped out much of it's guts ,.. much cleaner now
906 - added required methods and correct handling of
907 them in apply() for both classes and roles
908 - added tests for this
909 - no longer adds a does() method to consuming classes
910 it relys on the one in Moose::Object
911 - added roles attribute and some methods to support
912 roles consuming roles
914 * Moose::Meta::Attribute
915 - added support for triggers on attributes
916 - added tests for this
917 - added support for does option on an attribute
918 - added tests for this
921 - added support for attribute triggers in the
923 - added tests for this
926 - Moose no longer creates a subtype for your class
927 if a subtype of the same name already exists, this
928 should DWIM in 99.9999% of all cases
930 * Moose::Util::TypeConstraints
931 - fixed bug where incorrect subtype conflicts were
933 - added test for this
936 - this class can now be extended with 'use base' if
937 you need it, it properly loads the metaclass class now
938 - added test for this
940 0.03_02 Wed. April 12, 2006
942 - you must now explictly use Moose::Util::TypeConstraints
943 it no longer gets exported for you automatically
946 - new() now accepts hash-refs as well as key/value lists
947 - added does() method to check for Roles
948 - added tests for this
951 - added roles attribute along with the add_role() and
953 - added tests for this
956 - now adds a does() method to consuming classes
957 which tests the class's hierarchy for roles
958 - added tests for this
960 0.03_01 Mon. April 10, 2006
962 - added new Role recipe (no content yet, only code)
965 - added 'with' keyword for Role support
966 - added test and docs for this
967 - fixed subtype quoting bug
968 - added test for this
972 - added test and docs
974 * Moose::Util::TypeConstraints
975 - added the message keyword to add custom
976 error messages to type constraints
979 - the meta role to support Moose::Role
980 - added tests and docs
983 - moved a number of things from Moose.pm
984 to here, they should have been here
987 * Moose::Meta::Attribute
988 - moved the attribute option macros here
989 instead of putting them in Moose.pm
991 * Moose::Meta::TypeConstraint
992 - added the message attributes and the
994 - added tests and docs for this
996 0.03 Thurs. March 30, 2006
998 - added the Moose::Cookbook with 5 recipes,
999 describing all the stuff Moose can do.
1002 - fixed an issue with &extends super class loading
1003 it now captures errors and deals with inline
1004 packages correctly (bug found by mst, solution
1006 - added super/override & inner/augment features
1007 - added tests and docs for these
1010 - BUILDALL now takes a reference of the %params
1011 that are passed to &new, and passes that to
1014 * Moose::Util::TypeConstraints
1015 - Type constraints now survive runtime reloading
1016 - added test for this
1018 * Moose::Meta::Class
1019 - fixed the way attribute defaults are handled
1020 during instance construction (bug found by chansen)
1022 * Moose::Meta::Attribute
1023 - read-only attributes now actually enforce their
1024 read-only-ness (this corrected in Class::MOP as
1027 0.02 Tues. March 21, 2006
1029 - many more tests, fixing some bugs and
1031 - &extends now loads the base module with
1033 - added UNIVERSAL::require to the
1036 - each new Moose class will also create
1037 and register a subtype of Object which
1038 correspond to the new Moose class.
1039 - the 'isa' option in &has now only
1040 accepts strings, and will DWIM in
1043 * Moose::Util::TypeConstraints
1044 - added type coercion features
1045 - added tests for this
1046 - added support for this in attributes
1047 and instance construction
1049 - type construction no longer creates a
1050 function, it registers the type instead.
1051 - added several functions to get the
1055 - BUILDALL and DEMOLISHALL were broken
1056 because of a mis-named hash key, Whoops :)
1058 * Moose::Meta::Attribute
1059 - adding support for coercion in the
1060 autogenerated accessors
1062 * Moose::Meta::Class
1063 - adding support for coercion in the
1064 instance construction
1066 * Moose::Meta::TypeConstraint
1067 * Moose::Meta::TypeCoercion
1068 - type constraints and coercions are now
1069 full fledges meta-objects
1071 0.01 Wed. March 15, 2006
1072 - Moooooooooooooooooose!!!