1 Revision history for Perl extension Moose
5 - documenting the use of '+name' with attributes
6 that come from recently composed roles. It makes
7 sense, people are using it, and so why not just
9 - fixing the 'extends' keyword so that it will not
10 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
13 - fixing the 'apply_all_roles' keyword so that it will not
14 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
16 * Moose::Util::TypeConstraints
17 - it is now possible to make anon-enums by passing 'enum' an
18 ARRAY ref instead of the $name => @values. Everything else
20 - added tests for this
23 - making test for using '+name' on attributes consumed
24 from a role, it works and makes sense too.
26 * Moose::Meta::Attribute
27 - fix handles so that it doesn't return nothing
28 when the method cannot be found, not sure why
29 it ever did this originally, this means we now
30 have slightly better support for AUTOLOADed
32 - added more delegation tests
35 - localizing the Data::Dumper configurations so
36 that it does not pollute others (RT #33509)
38 0.38 Fri. Feb. 15, 2008
39 * Moose::Meta::Attribute
40 - fixed initializer to correctly do
41 type checking and coercion in the
43 - added tests for this
46 - fixed some finicky tests (thanks to konobi)
48 0.37 Thurs. Feb. 14, 2008
50 - fixed some details in Moose::init_meta
51 and its superclass handling (thanks thepler)
52 - added tests for this (thanks thepler)
53 - 'has' now dies if you don't pass in name
55 - added the 'make_immutable' keyword as a shortcut
59 Moose::Meta::Method::Constructor
60 Moose::Meta::Attribute
61 - making (init_arg => undef) work here too
62 (thanks to nothingmuch)
64 * Moose::Meta::Attribute
65 Moose::Meta::Method::Constructor
66 Moose::Meta::Method::Accessor
67 - make lazy attributes respect attr initializers (rjbs)
68 - added tests for this
70 * Moose::Util::TypeConstraints
71 Moose::Util::TypeConstraints::OptimizedConstraints
72 Moose::Meta::TypeConstraints
73 Moose::Meta::Attribute
74 Moose::Meta::Method::Constructor
75 Moose::Meta::Method::Accessor
76 - making type errors use the
77 assigned message (thanks to Sartak)
78 - added tests for this
80 * Moose::Meta::Method::Destructor
81 - making sure DESTROY gets inlined properly
82 with successive DEMOLISH calls (thanks to manito)
84 * Moose::Meta::Attribute
85 Moose::Meta::Method::Accessor
86 - fixed handling of undef with type constraints
88 - added tests for this
91 - added &get_all_init_args and &get_all_attribute_values
92 (thanks to Sartak and nothingmuch)
94 0.36 Sat. Jan. 26, 2008
96 Moose::Meta::Attribute
97 - role type tests now support when roles are
98 applied to non-Moose classes (found by ash)
99 - added tests for this (thanks to ash)
100 - couple extra tests to boost code coverage
102 * Moose::Meta::Method::Constructor
103 - improved fix for handling Class::MOP attributes
104 - added test for this
107 - handled the add_attribute($attribute_meta_object)
109 - added test for this
111 0.35 Tues. Jan. 22, 2008
112 * Moose::Meta::Method::Constructor
113 - fix to make sure even Class::MOP attributes
114 are handled correctly (Thanks to Dave Rolsky)
115 - added test for this (also Dave Rolsky)
118 - improved error message on _apply_all_roles,
119 you should now use Moose::Util::apply_all_roles
120 and you shouldnt have been using a _ prefixed
121 method in the first place ;)
123 0.34 Mon. Jan. 21, 2008
124 ~~~ more misc. doc. fixes ~~~
125 ~~ updated copyright dates ~~
127 Moose is now a postmodern object system :)
128 - (see the POD for details)
130 * <<Role System Refactoring>>
131 - this release contains a major reworking and
132 cleanup of the role system
133 - 100% backwards compat.
134 - Role application now restructured into seperate
135 classes based on type of applicants
136 - Role summation (combining of more than one role)
137 is much cleaner and anon-classes are no longer
139 - new Composite role metaclass
140 - runtime application of roles to instances
141 is now more efficient and re-uses generated
142 classes when applicable
144 * <<New Role composition features>>
145 - methods can now be excluded from a given role
147 - methods can now be aliased to another name (and
148 still retain the original as well)
150 * Moose::Util::TypeConstraints::OptimizedConstraints
151 - added this module (see above)
154 - fixed the &_process_attribute method to be called
155 by &add_attribute, so that the API is now correct
157 * Moose::Meta::Method::Accessor
158 - fixed bug when passing a list of values to
159 an accessor would get (incorrectly) ignored.
160 Thanks to Sartak for finding this ;)
161 - added tests for this (Sartak again)
163 * Moose::Meta::Method::Accessor
164 Moose::Meta::Method::Constructor
165 Moose::Meta::Attribute
166 Moose::Meta::TypeConstraint
167 Moose::Meta::TypeCoercion
168 - lots of cleanup of such things as:
170 - type constraint handling
171 - error handling/messages
172 (thanks to nothingmuch)
174 * Moose::Meta::TypeConstraint::Parameterizable
175 - added this module to support the refactor
176 in Moose::Meta::TypeConstraint::Parameterized
178 * Moose::Meta::TypeConstraint::Parameterized
179 - refactored how these types are handled so they
180 are more generic and not confined to ArrayRef
184 - shortened some file names for better VMS support (RT #32381)
186 0.33 Fri. Dec. 14, 2007
187 !! Moose now loads 2 x faster !!
188 !! with new Class::MOP 0.49 !!
190 ++ new oose.pm module to make command line
191 Moose-ness easier (see POD docs for more)
195 - several tweaks to take advantage of the
196 new method map caching in Class::MOP
198 * Moose::Meta::TypeConstraint::Parameterized
199 - allow subtypes of ArrayRef and HashRef to
200 be used as a container (sartak)
201 - added tests for this
202 - basic support for coercion to ArrayRef and
203 HashRef for containers (sartak)
204 - added tests for this
206 * Moose::Meta::TypeCoercion
207 - coercions will now create subtypes as needed
208 so you can now add coercions to parameterized
209 types without having to explictly define them
210 - added tests for this
212 * Moose::Meta::Method::Accessor
213 - allow subclasses to decide whether we need
214 to copy the value into a new variable (sartak)
216 0.32 Tues. Dec. 4, 2007
217 * Moose::Util::TypeConstraints
218 - fixing how subtype aliases of unions work
219 they should inherit the parent's coercion
220 - added tests for this
221 - you can now define multiple coercions on
222 a single type at different times instead of
223 having to do it all in one place
224 - added tests for this
226 * Moose::Meta::TypeConstraint
227 - there is now a default constraint of sub { 1 }
228 instead of Moose::Util::TypeConstraints setting
231 * Moose::Meta::TypeCoercion
232 * Moose::Meta::TypeCoercion::Union
233 - added the &has_coercion_for_type and
234 &add_type_coercions methods to support the
235 new features above (although you cannot add
236 more type coercions for Union types)
238 0.31 Mon. Nov. 26, 2007
239 * Moose::Meta::Attribute
240 - made the +attr syntax handle extending types with
241 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
242 now works if the original foo is an ArrayRef.
243 - added tests for this.
244 - delegation now works even if the attribute does not
245 have a reader method using the get_read_method_ref
246 method from Class::MOP::Attribute.
247 - added tests for this
248 - added docs for this
250 * Moose::Util::TypeConstraints
251 - passing no "additional attribute info" to
252 &find_or_create_type_constraint will no longer
253 attempt to create an __ANON__ type for you,
254 instead it will just return undef.
255 - added docs for this
257 0.30 Fri. Nov. 23, 2007
258 * Moose::Meta::Method::Constructor
259 -builder related bug in inlined constructor. (groditi)
261 * Moose::Meta::Method::Accessor
262 - genereate unnecessary calls to predicates and refactor
263 code generation for runtime speed (groditi)
265 * Moose::Util::TypeConstraints
266 - fix ClassName constraint to introspect symbol table (mst)
267 - added more tests for this (mst)
268 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
270 - added tests for this
273 - adding the link to Recipie 11 (written by Sartak)
274 - adding test for SYNOPSIS code
277 - New tests for builder bug. Upon instantiation, if an
278 attribute had a builder, no value and was not lazy the
279 builder default was not getting run, oops. (groditi)
281 0.29 Tues. Nov. 13, 2007
282 * Moose::Meta::Attribute
283 - Fix error message on missing builder method (groditi)
285 * Moose::Meta::Method::Accessor
286 - Fix error message on missing builder method (groditi)
289 - Add test to check for the correct error message when
290 builder method is missing (groditi)
292 0.28 Tues. Nov. 13, 2007
293 - 0.27 packaged incorrectly (groditi)
295 0.27 Tues. Nov. 13, 2007
296 * Moose::Meta::Attribute
297 - Added support for the new builder option (groditi)
298 - Added support for lazy_build option (groditi)
299 - Changed slot initialization for predicate changes (groditi)
301 * Moose::Meta::Method::Accessor
302 - Added support for lazy_build option (groditi)
303 - Fix inline methods to work with corrected predicate
306 * Moose::Meta::Method::Constructor
307 - Added support for lazy_build option (groditi)
310 - tests for builder and lazy_build (groditi)
312 * fixing some misc. bits in the docs that
313 got mentioned on CPAN Forum & perlmonks
316 - fixed how required methods are handled
317 when they encounter overriden or modified
318 methods from a class (thanks to confound).
319 - added tests for this
321 * Moose::Util::TypeConstraint
322 - fixed the type notation parser so that
323 the | always creates a union and so is
324 no longer a valid type char (thanks to
325 konobi, mugwump and #moose for working
327 - added more tests for this
329 0.26 Thurs. Sept. 27, 2007
332 * Parameterized Types
333 We now support parameterized collection types, such as:
334 ArrayRef[Int] # array or integers
335 HashRef[Object] # a hash with object values
336 They can also be nested:
337 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
338 And work with the type unions as well:
339 ArrayRef[Int | Str] # array of integers of strings
341 * Better Framework Extendability
342 Moose.pm is now "extendable" such that it is now much
343 easier to extend the framework and add your own keywords
344 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
345 section of the Moose.pm docs.
348 In an effort to begin documenting some of the various
349 details of Moose as well as some common idioms, we have
350 created Moose::Cookbook::Snacks as a place to find
351 small (easily digestable) nuggets of Moose code.
354 ~ Several doc updates/cleanup thanks to castaway ~
356 - converted build system to use Module::Install instead of
357 Module::Build (thanks to jrockway)
360 - added all the meta classes to the immutable list and
361 set it to inline the accessors
362 - fix import to allow Sub::Exporter like { into => }
363 and { into_level => } (perigrin)
364 - exposed and documented init_meta() to allow better
365 embedding and extending of Moose (perigrin)
368 - complete re-organization of the test suite
369 - added some new tests as well
370 - finally re-enabled the Moose::POOP test since
371 the new version of DBM::Deep now works again
375 - fixed very odd and very nasty recursion bug with
377 - added tests for this (eilara)
379 * Moose::Meta::Attribute
380 Moose::Meta::Method::Constructor
381 Moose::Meta::Method::Accessor
382 - fixed issue with overload::Overloaded getting called
383 on non-blessed items. (RT #29269)
384 - added tests for this
386 * Moose::Meta::Method::Accessor
387 - fixed issue with generated accessor code making
388 assumptions about hash based classes (thanks to dexter)
390 * Moose::Coookbook::Snacks
391 - these are bits of documentation, not quite as big as
392 Recipes but which have no clear place in the module docs.
393 So they are Snacks! (horray for castaway++)
395 * Moose::Cookbook::Recipe4
396 - updated it to use the new ArrayRef[MyType] construct
397 - updated the accompanying test as well
399 +++ Major Refactor of the Type Constraint system +++
400 +++ with new features added as well +++
402 * Moose::Util::TypeConstraint
403 - no longer uses package variable to keep track of
404 the type constraints, now uses the an instance of
405 Moose::Meta::TypeConstraint::Registry to do it
406 - added more sophisticated type notation parsing
408 - added tests for this
410 * Moose::Meta::TypeConstraint
411 - some minor adjustments to make subclassing easier
412 - added the package_defined_in attribute so that we
413 can track where the type constraints are created
415 * Moose::Meta::TypeConstraint::Union
416 - this is now been refactored to be a subclass of
417 Moose::Meta::TypeConstraint
419 * Moose::Meta::TypeCoercion::Union
420 - this has been added to service the newly refactored
421 Moose::Meta::TypeConstraint::Union and is itself
422 a subclass of Moose::Meta::TypeCoercion
424 * Moose::Meta::TypeConstraint::Parameterized
425 - added this module (taken from MooseX::AttributeHelpers)
426 to help construct nested collection types
427 - added tests for this
429 * Moose::Meta::TypeConstraint::Registry
430 - added this class to keep track of type constraints
432 0.25 Mon. Aug. 13, 2007
434 - Documentation update to reference Moose::Util::TypeConstraints
435 under 'isa' in 'has' for how to define a new type
438 * Moose::Meta::Attribute
439 - required attributes now will no longer accept undef
440 from the constructor, even if there is a default and lazy
441 - added tests for this
442 - default subroutines must return a value which passes the
444 - added tests for this
446 * Moose::Meta::Attribute
447 * Moose::Meta::Method::Constructor
448 * Moose::Meta::Method::Accessor
449 - type-constraint tests now handle overloaded objects correctly
451 - added tests for this (thanks to EvanCarroll)
453 * Moose::Meta::TypeConstraint::Union
454 - added (has_)hand_optimized_constraint to this class so that
455 it behaves as the regular Moose::Meta::TypeConstraint does.
458 - large refactoring of this code
459 - added several more tests
460 - tests for subtle conflict resolition issues
461 added, but not currently running
464 * Moose::Cookbook::Recipe7
465 - added new recipe for augment/inner functionality
467 - added test for this
470 - a formal definition of roles (still in progress)
473 - utilities for easier working with Moose classes
474 - added tests for these
477 - This contains Moose specific test functions
478 - added tests for these
480 0.24 Tues. July 3, 2007
481 ~ Some doc updates/cleanup ~
483 * Moose::Meta::Attribute
484 - added support for roles to be given as parameters
485 to the 'handles' option.
486 - added tests and docs for this
487 - the has '+foo' attribute form now accepts changes to
488 the lazy option, and the addition of a handles option
489 (but not changing the handles option)
490 - added tests and docs for this
493 - required methods are now fetched using find_method_by_name
494 so that required methods can come from superclasses
495 - adjusted tests for this
497 0.23 Mon. June 18, 2007
498 * Moose::Meta::Method::Constructor
499 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
501 - Modify make_immutable to work with the new Class::MOP immutable
502 mechanism + POD + very basic test (groditi)
503 * Moose::Meta::Attribute
504 - Fix handles to use goto() so that caller() comes out properly on
505 the other side (perigrin)
507 0.22 Thurs. May 31, 2007
508 * Moose::Util::TypeConstraints
509 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
510 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
511 prototypes for functions
512 - added the ClassName type constraint, this checks for strings
513 which will respond true to ->isa(UNIVERSAL).
514 - added tests and docs for this
515 - subtyping just in name now works correctly by making the
516 default for where be { 1 }
517 - added test for this
519 * Moose::Meta::Method::Accessor
520 - coerce and lazy now work together correctly, thanks to
521 merlyn for finding this bug
522 - tests added for this
523 - fix reader presedence bug in Moose::Meta::Attribute + tests
526 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
527 a HASH-ref and missed. This produces better error messages then
528 having it die cause undef is not a HASH.
529 - added tests for this
531 0.21 Thursday, May 2nd, 2007
533 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
534 - modified unimport to remove super and inner along with the rest
535 - altered unimport tests to handle this
538 - altered super export to populate SUPER_SLOT
541 - altered augment and override modifier application to use *_SLOT
542 - modified tests for these to unimport one test class each to test
545 - fixed issue where custom attribute metaclasses
546 where not handled correctly in roles
547 - added tests for this
550 - fixed issue where extending metaclasses with
551 roles would blow up. Thanks to Aankhen`` for
552 finding this insidious error, and it's solution.
554 ~~ lots of spelling and grammer fixes in the docs,
555 many many thanks to rlb3 and Aankhen for these :)
557 0.20 Friday, April 6th, 2007
558 >> I messed up the SKIP logic in one test
559 so this release is just to fix that.
562 - 'has' now also accepts an ARRAY ref
563 to create multiple attrs (see docs)
564 (thanks to konobi for this)
565 - added tests and docs
567 0.19 Thurs. April 5th, 2007
568 ~~ More documentation updates ~~
570 * Moose::Util::TypeConstraints
571 - 'type' now supports messages as well
572 thanks to phaylon for finding this
573 - added tests for this
574 - added &list_all_type_constraints and
575 &list_all_builtin_type_constraints
576 functions to facilitate introspection.
578 * Moose::Meta::Attribute
579 - fixed regexp 'handles' declarations
580 to build the list of delegated methods
581 correctly (and not override important
582 things like &new) thanks to ashleyb
584 - added tests and docs for this
585 - added the 'documentation' attributes
586 so that you can actually document your
587 attributes and inspect them through the
589 - added tests and docs for this
592 - when loading custom attribute metaclasses
593 it will first look in for the class in the
594 Moose::Meta::Attribute::Custom::$name, and
595 then default to just loading $name.
596 - added tests and docs for this
598 * Moose::Meta::TypeConstraint
599 - type constraints now stringify to their names.
600 - added test for this
603 - added tests to assure we work with Module::Refresh
604 - added stricter test skip logic in the Moose POOP
605 test, ask Rob Kinyon why.
606 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
608 0.18 Sat. March 10, 2007
609 ~~ Many, many documentation updates ~~
612 - We now use Class::MOP::load_class to
614 - added tests to show types and subtypes
615 working with Declare::Constraints::Simple
616 and Test::Deep as constraint engines.
619 !! You must have Class::MOP 0.37_001 !!
620 !! for this developer release to work !!
622 This release was primarily adding the immutable
623 feature to Moose. An immutable class is one which
624 you promise not to alter. When you set the class
625 as immutable it will perform various bits of
626 memoization and inline certain part of the code
627 (constructors, destructors and accessors). This
628 minimizes (and in some cases totally eliminates)
629 one of Moose's biggest performance hits. This
630 feature is not on by default, and is 100% optional.
631 It has several configurable bits as well, so you
632 can pick and choose to your specific needs.
634 The changes involved in this were fairly wide and
635 highly specific, but 100% backwards compatible, so
636 I am not going to enumerate them here. If you are
637 truely interested in what was changed, please do
640 0.17 Tues. Nov. 14, 2006
641 * Moose::Meta::Method::Accessor
642 - bugfix for read-only accessors which
643 are have a type constraint and lazy.
644 Thanks to chansen for finding it.
646 0.16 Tues. Nov. 14, 2006
648 There are some speed improvements in this release,
649 but they are only the begining, so stay tuned.
652 - BUILDALL and DEMOLISHALL no longer get
653 called unless they actually need to be.
654 This gave us a signifigant speed boost
655 for the cases when there is no BUILD or
656 DEMOLISH method present.
658 * Moose::Util::TypeConstraints
659 * Moose::Meta::TypeConstraint
660 - added an 'optimize_as' option to the
661 type constraint, which allows for a
662 hand optimized version of the type
663 constraint to be used when possible.
664 - Any internally created type constraints
665 now provide an optimized version as well.
667 0.15 Sun. Nov. 5, 2006
669 This version of Moose *must* have Class::MOP 0.36 in order
670 to work correctly. A number of small internal tweaks have
671 been made in order to be compatible with that release.
673 * Moose::Util::TypeConstraints
674 - added &unimport so that you can clean out
675 your class namespace of these exported
679 - fixed minor issue which occasionally
680 comes up during global destruction
682 - moved Moose::Meta::Method::Overriden into
686 - moved Moose::Meta::Role::Method into
689 * Moose::Meta::Attribute
690 - changed how we do type checks so that
691 we reduce the overall cost, but still
694 - moved accessor generation methods to
695 Moose::Meta::Method::Accessor to
696 conform to the API changes from
699 * Moose::Meta::TypeConstraint
700 - changed how constraints are compiled
701 so that we do less recursion and more
702 iteration. This makes the type check
704 - moved Moose::Meta::TypeConstraint::Union
707 * Moose::Meta::Method::Accessor
708 - created this from methods formerly found in
709 Moose::Meta::Attribute
711 * Moose::Meta::Role::Method
712 - moved this from Moose::Meta::Role
714 * Moose::Meta::Method::Overriden
715 - moved this from Moose::Meta::Class
717 * Moose::Meta::TypeConstraint::Union
718 - moved this from Moose::Meta::TypeConstraint
720 0.14 Mon. Oct. 9, 2006
722 * Moose::Meta::Attribute
723 - fixed lazy attributes which were not getting
724 checked with the type constraint (thanks ashley)
725 - added tests for this
726 - removed the over-enthusiastic DWIMery of the
727 automatic ArrayRef and HashRef defaults, it
728 broke predicates in an ugly way.
729 - removed tests for this
731 0.13 Sat. Sept. 30, 2006
733 This version of Moose *must* have Class::MOP 0.35 in order
734 to work correctly. A number of small internal tweaks have
735 been made in order to be compatible with that release.
738 - Removed the use of UNIVERSAL::require to be a better
739 symbol table citizen and remove a dependency
740 (thanks Adam Kennedy)
742 **~~ removed experimental & undocumented feature ~~**
743 - commented out the 'method' and 'self' keywords, see the
744 comments for more info.
747 - added a FAQ and WTF files to document frequently
748 asked questions and common problems
750 * Moose::Util::TypeConstraints
751 - added GlobRef and FileHandle type constraint
752 - added tests for this
754 * Moose::Meta::Attribute
755 - if your attribute 'isa' ArrayRef of HashRef, and you have
756 not explicitly set a default, then make the default DWIM.
757 This will also work for subtypes of ArrayRef and HashRef
759 - you can now auto-deref subtypes of ArrayRef or HashRef too.
760 - new test added for this (thanks to ashley)
763 - added basic support for runtime role composition
764 but this is still *highly experimental*, so feedback
765 is much appreciated :)
766 - added tests for this
768 * Moose::Meta::TypeConstraint
769 - the type constraint now handles the coercion process
770 through delegation, this is to support the coercion
773 * Moose::Meta::TypeConstraint::Union
774 - it is now possible for coercions to be performed
776 - added tests for this (thanks to konobi)
778 * Moose::Meta::TypeCoercion
779 - properly capturing error when type constraint
783 - Scalar::Util 1.18 is bad on Win32, so temporarily
784 only require version 1.17 for Win32 and cygwin.
785 (thanks Adam Kennedy)
787 0.12 Sat. Sept. 1, 2006
789 - Recipe5 (subtypes & coercion) has been written
792 - fixed "bad meta" error message to be more descriptive
793 - fixed &unimport to not remove the &inner and &super
794 keywords because we need to localize them.
795 - fixed number of spelling/grammer issues, thanks Theory :)
797 **~~ experimental & undocumented feature ~~**
798 - added the method and self keywords, they are basically
799 just sugar, and they may not stay around.
802 - added &dump method to easily Data::Dumper
805 * Moose::Meta::TypeConstraint
806 - added the &is_a_type_of method to check both the current
807 and the subtype of a method (similar to &isa with classes)
810 - this is now a subclass of Class::MOP::Module, and no longer
811 creates the _role_meta ugliness of before.
812 - fixed tests to reflect this change
814 0.11 Wed. July 12, 2006
816 - added an &unimport method to remove all the keywords
817 that Moose will import, simply add 'no Moose' to the
818 bottom of your class file.
821 - fixed some test failures caused by a forgotten test
824 0.10 Thurs. July 6, 2006
826 - improved error message when loading modules so
827 it is less confusing when you load a role.
828 - added &calculate_all_roles method to
829 Moose::Meta::Class and Moose::Meta::Role
832 This module has been tested against Class::MOP 0.30
833 but it does not yet utilize the optimizations
834 it makes available. Stay tuned for that ;)
836 0.09_03 Fri. June 23, 2006
837 ++ DEVELOPER RELEASE ++
839 - 'use strict' and 'use warnings' are no longer
840 needed in Moose classes, Moose itself will
841 turn them on for you.
842 - added tests for this
843 - moved code from exported subs to private methods
844 in Moose::Meta::Class
847 - as with Moose, strict and warnings are
848 automatically turned on for you.
849 - added tests for this
852 - now handles an edge case for override errors
853 - added tests for this
854 - added some more edge case tests
856 0.09_02 Tues. May 16, 2006
857 ++ DEVELOPER RELEASE ++
859 - added prototypes to the exported subs
863 - added prototypes to the exported subs
866 * Moose::Util::TypeConstraints
867 - cleaned up prototypes for the subs
870 0.09_01 Fri. May 12, 2006
871 ++ DEVELOPER RELEASE ++
872 - This release works in combination with
873 Class::MOP 0.29_01, it is a developer
874 release because it uses the a new
875 instance sub-protocol and a fairly
876 complete Role implementation. It has
877 not yet been optimized, so it slower
878 the the previous CPAN version. This
879 release also lacks good updated docs,
880 the official release will have updated docs.
883 - refactored the keyword exports
884 - 'with' now checks Role validaity and
885 accepts more than one Role at a time
886 - 'extends' makes metaclass adjustments as
887 needed to ensure metaclass compatability
890 - refactored the keyword exports
891 - 'with' now checks Role validaity and
892 accepts more than one Role at a time
894 * Moose::Util::TypeConstraints
895 - added the 'enum' keyword for simple
896 string enumerations which can be used as
898 - see example of usage in t/202_example.t
901 - more careful checking of params to new()
904 - much work done on the role composition
905 - many new tests for conflict detection
906 and composition edge cases
907 - not enough documentation, I suggest
910 * Moose::Meta::Instance
911 - added new Instance metaclass to support
912 the new Class::MOP instance protocol
915 - some small changes to support the new
917 - some small additions to support Roles
919 * Moose::Meta::Attribute
920 - some improvements to the accessor generation code
922 - some small changes to support the new
924 - (still somewhat) experimental delegation support
925 with the 'handles' option
926 - added several tests for this
927 - no docs for this yet
929 0.05 Thurs. April 27, 2006
931 - keywords are now exported with Sub::Exporter
932 thanks to chansen for this commit
933 - has keyword now takes a 'metaclass' option
934 to support custom attribute meta-classes
935 on a per-attribute basis
936 - added tests for this
937 - the 'has' keyword not accepts inherited slot
938 specifications (has '+foo'). This is still an
939 experimental feature and probably not finished
940 see t/038_attribute_inherited_slot_specs.t for
941 more details, or ask about it on #moose
942 - added tests for this
945 - keywords are now exported with Sub::Exporter
947 * Moose::Utils::TypeConstraints
948 - reorganized the type constraint hierarchy, thanks
949 to nothingmuch and chansen for his help and advice
951 - added some tests for this
952 - keywords are now exported with Sub::Exporter
953 thanks to chansen for this commit
956 - due to changes in Class::MOP, we had to change
957 construct_instance (for the better)
959 * Moose::Meta::Attribute
960 - due to changes in Class::MOP, we had to add the
961 initialize_instance_slot method (it's a good thing)
963 * Moose::Meta::TypeConstraint
964 - added type constraint unions
965 - added tests for this
966 - added the is_subtype_of predicate method
967 - added tests for this
969 0.04 Sun. April 16th, 2006
971 - Roles can now consume other roles
972 - added tests for this
973 - Roles can specify required methods now with
974 the requires() keyword
975 - added tests for this
978 - ripped out much of it's guts ,.. much cleaner now
979 - added required methods and correct handling of
980 them in apply() for both classes and roles
981 - added tests for this
982 - no longer adds a does() method to consuming classes
983 it relys on the one in Moose::Object
984 - added roles attribute and some methods to support
985 roles consuming roles
987 * Moose::Meta::Attribute
988 - added support for triggers on attributes
989 - added tests for this
990 - added support for does option on an attribute
991 - added tests for this
994 - added support for attribute triggers in the
996 - added tests for this
999 - Moose no longer creates a subtype for your class
1000 if a subtype of the same name already exists, this
1001 should DWIM in 99.9999% of all cases
1003 * Moose::Util::TypeConstraints
1004 - fixed bug where incorrect subtype conflicts were
1006 - added test for this
1009 - this class can now be extended with 'use base' if
1010 you need it, it properly loads the metaclass class now
1011 - added test for this
1013 0.03_02 Wed. April 12, 2006
1015 - you must now explictly use Moose::Util::TypeConstraints
1016 it no longer gets exported for you automatically
1019 - new() now accepts hash-refs as well as key/value lists
1020 - added does() method to check for Roles
1021 - added tests for this
1023 * Moose::Meta::Class
1024 - added roles attribute along with the add_role() and
1026 - added tests for this
1029 - now adds a does() method to consuming classes
1030 which tests the class's hierarchy for roles
1031 - added tests for this
1033 0.03_01 Mon. April 10, 2006
1035 - added new Role recipe (no content yet, only code)
1038 - added 'with' keyword for Role support
1039 - added test and docs for this
1040 - fixed subtype quoting bug
1041 - added test for this
1045 - added test and docs
1047 * Moose::Util::TypeConstraints
1048 - added the message keyword to add custom
1049 error messages to type constraints
1052 - the meta role to support Moose::Role
1053 - added tests and docs
1055 * Moose::Meta::Class
1056 - moved a number of things from Moose.pm
1057 to here, they should have been here
1060 * Moose::Meta::Attribute
1061 - moved the attribute option macros here
1062 instead of putting them in Moose.pm
1064 * Moose::Meta::TypeConstraint
1065 - added the message attributes and the
1067 - added tests and docs for this
1069 0.03 Thurs. March 30, 2006
1071 - added the Moose::Cookbook with 5 recipes,
1072 describing all the stuff Moose can do.
1075 - fixed an issue with &extends super class loading
1076 it now captures errors and deals with inline
1077 packages correctly (bug found by mst, solution
1079 - added super/override & inner/augment features
1080 - added tests and docs for these
1083 - BUILDALL now takes a reference of the %params
1084 that are passed to &new, and passes that to
1087 * Moose::Util::TypeConstraints
1088 - Type constraints now survive runtime reloading
1089 - added test for this
1091 * Moose::Meta::Class
1092 - fixed the way attribute defaults are handled
1093 during instance construction (bug found by chansen)
1095 * Moose::Meta::Attribute
1096 - read-only attributes now actually enforce their
1097 read-only-ness (this corrected in Class::MOP as
1100 0.02 Tues. March 21, 2006
1102 - many more tests, fixing some bugs and
1104 - &extends now loads the base module with
1106 - added UNIVERSAL::require to the
1109 - each new Moose class will also create
1110 and register a subtype of Object which
1111 correspond to the new Moose class.
1112 - the 'isa' option in &has now only
1113 accepts strings, and will DWIM in
1116 * Moose::Util::TypeConstraints
1117 - added type coercion features
1118 - added tests for this
1119 - added support for this in attributes
1120 and instance construction
1122 - type construction no longer creates a
1123 function, it registers the type instead.
1124 - added several functions to get the
1128 - BUILDALL and DEMOLISHALL were broken
1129 because of a mis-named hash key, Whoops :)
1131 * Moose::Meta::Attribute
1132 - adding support for coercion in the
1133 autogenerated accessors
1135 * Moose::Meta::Class
1136 - adding support for coercion in the
1137 instance construction
1139 * Moose::Meta::TypeConstraint
1140 * Moose::Meta::TypeCoercion
1141 - type constraints and coercions are now
1142 full fledges meta-objects
1144 0.01 Wed. March 15, 2006
1145 - Moooooooooooooooooose!!!