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 - added the perl -Moose=+Class::Name feature to allow
14 monkeypatching of classes in one liners
17 - fixing the 'apply_all_roles' keyword so that it will not
18 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
21 - added ->create method which now supports roles (thanks to jrockway)
22 - added tests for this
23 - added ->create_anon_class which now supports roles and caching of
24 the results (thanks to jrockway)
25 - added tests for this
27 * Moose::Util::TypeConstraints
28 - class_type now accepts an optional second argument for a
29 custom message. POD anotated accordingly (groditi)
30 - added tests for this
31 - it is now possible to make anon-enums by passing 'enum' an
32 ARRAY ref instead of the $name => @values. Everything else
34 - added tests for this
37 - making test for using '+name' on attributes consumed
38 from a role, it works and makes sense too.
40 * Moose::Meta::Attribute
41 - fix handles so that it doesn't return nothing
42 when the method cannot be found, not sure why
43 it ever did this originally, this means we now
44 have slightly better support for AUTOLOADed
46 - added more delegation tests
49 - localizing the Data::Dumper configurations so
50 that it does not pollute others (RT #33509)
52 0.38 Fri. Feb. 15, 2008
53 * Moose::Meta::Attribute
54 - fixed initializer to correctly do
55 type checking and coercion in the
57 - added tests for this
60 - fixed some finicky tests (thanks to konobi)
62 0.37 Thurs. Feb. 14, 2008
64 - fixed some details in Moose::init_meta
65 and its superclass handling (thanks thepler)
66 - added tests for this (thanks thepler)
67 - 'has' now dies if you don't pass in name
69 - added the 'make_immutable' keyword as a shortcut
73 Moose::Meta::Method::Constructor
74 Moose::Meta::Attribute
75 - making (init_arg => undef) work here too
76 (thanks to nothingmuch)
78 * Moose::Meta::Attribute
79 Moose::Meta::Method::Constructor
80 Moose::Meta::Method::Accessor
81 - make lazy attributes respect attr initializers (rjbs)
82 - added tests for this
84 * Moose::Util::TypeConstraints
85 Moose::Util::TypeConstraints::OptimizedConstraints
86 Moose::Meta::TypeConstraints
87 Moose::Meta::Attribute
88 Moose::Meta::Method::Constructor
89 Moose::Meta::Method::Accessor
90 - making type errors use the
91 assigned message (thanks to Sartak)
92 - added tests for this
94 * Moose::Meta::Method::Destructor
95 - making sure DESTROY gets inlined properly
96 with successive DEMOLISH calls (thanks to manito)
98 * Moose::Meta::Attribute
99 Moose::Meta::Method::Accessor
100 - fixed handling of undef with type constraints
102 - added tests for this
105 - added &get_all_init_args and &get_all_attribute_values
106 (thanks to Sartak and nothingmuch)
108 0.36 Sat. Jan. 26, 2008
110 Moose::Meta::Attribute
111 - role type tests now support when roles are
112 applied to non-Moose classes (found by ash)
113 - added tests for this (thanks to ash)
114 - couple extra tests to boost code coverage
116 * Moose::Meta::Method::Constructor
117 - improved fix for handling Class::MOP attributes
118 - added test for this
121 - handled the add_attribute($attribute_meta_object)
123 - added test for this
125 0.35 Tues. Jan. 22, 2008
126 * Moose::Meta::Method::Constructor
127 - fix to make sure even Class::MOP attributes
128 are handled correctly (Thanks to Dave Rolsky)
129 - added test for this (also Dave Rolsky)
132 - improved error message on _apply_all_roles,
133 you should now use Moose::Util::apply_all_roles
134 and you shouldnt have been using a _ prefixed
135 method in the first place ;)
137 0.34 Mon. Jan. 21, 2008
138 ~~~ more misc. doc. fixes ~~~
139 ~~ updated copyright dates ~~
141 Moose is now a postmodern object system :)
142 - (see the POD for details)
144 * <<Role System Refactoring>>
145 - this release contains a major reworking and
146 cleanup of the role system
147 - 100% backwards compat.
148 - Role application now restructured into seperate
149 classes based on type of applicants
150 - Role summation (combining of more than one role)
151 is much cleaner and anon-classes are no longer
153 - new Composite role metaclass
154 - runtime application of roles to instances
155 is now more efficient and re-uses generated
156 classes when applicable
158 * <<New Role composition features>>
159 - methods can now be excluded from a given role
161 - methods can now be aliased to another name (and
162 still retain the original as well)
164 * Moose::Util::TypeConstraints::OptimizedConstraints
165 - added this module (see above)
168 - fixed the &_process_attribute method to be called
169 by &add_attribute, so that the API is now correct
171 * Moose::Meta::Method::Accessor
172 - fixed bug when passing a list of values to
173 an accessor would get (incorrectly) ignored.
174 Thanks to Sartak for finding this ;)
175 - added tests for this (Sartak again)
177 * Moose::Meta::Method::Accessor
178 Moose::Meta::Method::Constructor
179 Moose::Meta::Attribute
180 Moose::Meta::TypeConstraint
181 Moose::Meta::TypeCoercion
182 - lots of cleanup of such things as:
184 - type constraint handling
185 - error handling/messages
186 (thanks to nothingmuch)
188 * Moose::Meta::TypeConstraint::Parameterizable
189 - added this module to support the refactor
190 in Moose::Meta::TypeConstraint::Parameterized
192 * Moose::Meta::TypeConstraint::Parameterized
193 - refactored how these types are handled so they
194 are more generic and not confined to ArrayRef
198 - shortened some file names for better VMS support (RT #32381)
200 0.33 Fri. Dec. 14, 2007
201 !! Moose now loads 2 x faster !!
202 !! with new Class::MOP 0.49 !!
204 ++ new oose.pm module to make command line
205 Moose-ness easier (see POD docs for more)
209 - several tweaks to take advantage of the
210 new method map caching in Class::MOP
212 * Moose::Meta::TypeConstraint::Parameterized
213 - allow subtypes of ArrayRef and HashRef to
214 be used as a container (sartak)
215 - added tests for this
216 - basic support for coercion to ArrayRef and
217 HashRef for containers (sartak)
218 - added tests for this
220 * Moose::Meta::TypeCoercion
221 - coercions will now create subtypes as needed
222 so you can now add coercions to parameterized
223 types without having to explictly define them
224 - added tests for this
226 * Moose::Meta::Method::Accessor
227 - allow subclasses to decide whether we need
228 to copy the value into a new variable (sartak)
230 0.32 Tues. Dec. 4, 2007
231 * Moose::Util::TypeConstraints
232 - fixing how subtype aliases of unions work
233 they should inherit the parent's coercion
234 - added tests for this
235 - you can now define multiple coercions on
236 a single type at different times instead of
237 having to do it all in one place
238 - added tests for this
240 * Moose::Meta::TypeConstraint
241 - there is now a default constraint of sub { 1 }
242 instead of Moose::Util::TypeConstraints setting
245 * Moose::Meta::TypeCoercion
246 * Moose::Meta::TypeCoercion::Union
247 - added the &has_coercion_for_type and
248 &add_type_coercions methods to support the
249 new features above (although you cannot add
250 more type coercions for Union types)
252 0.31 Mon. Nov. 26, 2007
253 * Moose::Meta::Attribute
254 - made the +attr syntax handle extending types with
255 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
256 now works if the original foo is an ArrayRef.
257 - added tests for this.
258 - delegation now works even if the attribute does not
259 have a reader method using the get_read_method_ref
260 method from Class::MOP::Attribute.
261 - added tests for this
262 - added docs for this
264 * Moose::Util::TypeConstraints
265 - passing no "additional attribute info" to
266 &find_or_create_type_constraint will no longer
267 attempt to create an __ANON__ type for you,
268 instead it will just return undef.
269 - added docs for this
271 0.30 Fri. Nov. 23, 2007
272 * Moose::Meta::Method::Constructor
273 -builder related bug in inlined constructor. (groditi)
275 * Moose::Meta::Method::Accessor
276 - genereate unnecessary calls to predicates and refactor
277 code generation for runtime speed (groditi)
279 * Moose::Util::TypeConstraints
280 - fix ClassName constraint to introspect symbol table (mst)
281 - added more tests for this (mst)
282 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
284 - added tests for this
287 - adding the link to Recipie 11 (written by Sartak)
288 - adding test for SYNOPSIS code
291 - New tests for builder bug. Upon instantiation, if an
292 attribute had a builder, no value and was not lazy the
293 builder default was not getting run, oops. (groditi)
295 0.29 Tues. Nov. 13, 2007
296 * Moose::Meta::Attribute
297 - Fix error message on missing builder method (groditi)
299 * Moose::Meta::Method::Accessor
300 - Fix error message on missing builder method (groditi)
303 - Add test to check for the correct error message when
304 builder method is missing (groditi)
306 0.28 Tues. Nov. 13, 2007
307 - 0.27 packaged incorrectly (groditi)
309 0.27 Tues. Nov. 13, 2007
310 * Moose::Meta::Attribute
311 - Added support for the new builder option (groditi)
312 - Added support for lazy_build option (groditi)
313 - Changed slot initialization for predicate changes (groditi)
315 * Moose::Meta::Method::Accessor
316 - Added support for lazy_build option (groditi)
317 - Fix inline methods to work with corrected predicate
320 * Moose::Meta::Method::Constructor
321 - Added support for lazy_build option (groditi)
324 - tests for builder and lazy_build (groditi)
326 * fixing some misc. bits in the docs that
327 got mentioned on CPAN Forum & perlmonks
330 - fixed how required methods are handled
331 when they encounter overriden or modified
332 methods from a class (thanks to confound).
333 - added tests for this
335 * Moose::Util::TypeConstraint
336 - fixed the type notation parser so that
337 the | always creates a union and so is
338 no longer a valid type char (thanks to
339 konobi, mugwump and #moose for working
341 - added more tests for this
343 0.26 Thurs. Sept. 27, 2007
346 * Parameterized Types
347 We now support parameterized collection types, such as:
348 ArrayRef[Int] # array or integers
349 HashRef[Object] # a hash with object values
350 They can also be nested:
351 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
352 And work with the type unions as well:
353 ArrayRef[Int | Str] # array of integers of strings
355 * Better Framework Extendability
356 Moose.pm is now "extendable" such that it is now much
357 easier to extend the framework and add your own keywords
358 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
359 section of the Moose.pm docs.
362 In an effort to begin documenting some of the various
363 details of Moose as well as some common idioms, we have
364 created Moose::Cookbook::Snacks as a place to find
365 small (easily digestable) nuggets of Moose code.
368 ~ Several doc updates/cleanup thanks to castaway ~
370 - converted build system to use Module::Install instead of
371 Module::Build (thanks to jrockway)
374 - added all the meta classes to the immutable list and
375 set it to inline the accessors
376 - fix import to allow Sub::Exporter like { into => }
377 and { into_level => } (perigrin)
378 - exposed and documented init_meta() to allow better
379 embedding and extending of Moose (perigrin)
382 - complete re-organization of the test suite
383 - added some new tests as well
384 - finally re-enabled the Moose::POOP test since
385 the new version of DBM::Deep now works again
389 - fixed very odd and very nasty recursion bug with
391 - added tests for this (eilara)
393 * Moose::Meta::Attribute
394 Moose::Meta::Method::Constructor
395 Moose::Meta::Method::Accessor
396 - fixed issue with overload::Overloaded getting called
397 on non-blessed items. (RT #29269)
398 - added tests for this
400 * Moose::Meta::Method::Accessor
401 - fixed issue with generated accessor code making
402 assumptions about hash based classes (thanks to dexter)
404 * Moose::Coookbook::Snacks
405 - these are bits of documentation, not quite as big as
406 Recipes but which have no clear place in the module docs.
407 So they are Snacks! (horray for castaway++)
409 * Moose::Cookbook::Recipe4
410 - updated it to use the new ArrayRef[MyType] construct
411 - updated the accompanying test as well
413 +++ Major Refactor of the Type Constraint system +++
414 +++ with new features added as well +++
416 * Moose::Util::TypeConstraint
417 - no longer uses package variable to keep track of
418 the type constraints, now uses the an instance of
419 Moose::Meta::TypeConstraint::Registry to do it
420 - added more sophisticated type notation parsing
422 - added tests for this
424 * Moose::Meta::TypeConstraint
425 - some minor adjustments to make subclassing easier
426 - added the package_defined_in attribute so that we
427 can track where the type constraints are created
429 * Moose::Meta::TypeConstraint::Union
430 - this is now been refactored to be a subclass of
431 Moose::Meta::TypeConstraint
433 * Moose::Meta::TypeCoercion::Union
434 - this has been added to service the newly refactored
435 Moose::Meta::TypeConstraint::Union and is itself
436 a subclass of Moose::Meta::TypeCoercion
438 * Moose::Meta::TypeConstraint::Parameterized
439 - added this module (taken from MooseX::AttributeHelpers)
440 to help construct nested collection types
441 - added tests for this
443 * Moose::Meta::TypeConstraint::Registry
444 - added this class to keep track of type constraints
446 0.25 Mon. Aug. 13, 2007
448 - Documentation update to reference Moose::Util::TypeConstraints
449 under 'isa' in 'has' for how to define a new type
452 * Moose::Meta::Attribute
453 - required attributes now will no longer accept undef
454 from the constructor, even if there is a default and lazy
455 - added tests for this
456 - default subroutines must return a value which passes the
458 - added tests for this
460 * Moose::Meta::Attribute
461 * Moose::Meta::Method::Constructor
462 * Moose::Meta::Method::Accessor
463 - type-constraint tests now handle overloaded objects correctly
465 - added tests for this (thanks to EvanCarroll)
467 * Moose::Meta::TypeConstraint::Union
468 - added (has_)hand_optimized_constraint to this class so that
469 it behaves as the regular Moose::Meta::TypeConstraint does.
472 - large refactoring of this code
473 - added several more tests
474 - tests for subtle conflict resolition issues
475 added, but not currently running
478 * Moose::Cookbook::Recipe7
479 - added new recipe for augment/inner functionality
481 - added test for this
484 - a formal definition of roles (still in progress)
487 - utilities for easier working with Moose classes
488 - added tests for these
491 - This contains Moose specific test functions
492 - added tests for these
494 0.24 Tues. July 3, 2007
495 ~ Some doc updates/cleanup ~
497 * Moose::Meta::Attribute
498 - added support for roles to be given as parameters
499 to the 'handles' option.
500 - added tests and docs for this
501 - the has '+foo' attribute form now accepts changes to
502 the lazy option, and the addition of a handles option
503 (but not changing the handles option)
504 - added tests and docs for this
507 - required methods are now fetched using find_method_by_name
508 so that required methods can come from superclasses
509 - adjusted tests for this
511 0.23 Mon. June 18, 2007
512 * Moose::Meta::Method::Constructor
513 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
515 - Modify make_immutable to work with the new Class::MOP immutable
516 mechanism + POD + very basic test (groditi)
517 * Moose::Meta::Attribute
518 - Fix handles to use goto() so that caller() comes out properly on
519 the other side (perigrin)
521 0.22 Thurs. May 31, 2007
522 * Moose::Util::TypeConstraints
523 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
524 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
525 prototypes for functions
526 - added the ClassName type constraint, this checks for strings
527 which will respond true to ->isa(UNIVERSAL).
528 - added tests and docs for this
529 - subtyping just in name now works correctly by making the
530 default for where be { 1 }
531 - added test for this
533 * Moose::Meta::Method::Accessor
534 - coerce and lazy now work together correctly, thanks to
535 merlyn for finding this bug
536 - tests added for this
537 - fix reader presedence bug in Moose::Meta::Attribute + tests
540 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
541 a HASH-ref and missed. This produces better error messages then
542 having it die cause undef is not a HASH.
543 - added tests for this
545 0.21 Thursday, May 2nd, 2007
547 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
548 - modified unimport to remove super and inner along with the rest
549 - altered unimport tests to handle this
552 - altered super export to populate SUPER_SLOT
555 - altered augment and override modifier application to use *_SLOT
556 - modified tests for these to unimport one test class each to test
559 - fixed issue where custom attribute metaclasses
560 where not handled correctly in roles
561 - added tests for this
564 - fixed issue where extending metaclasses with
565 roles would blow up. Thanks to Aankhen`` for
566 finding this insidious error, and it's solution.
568 ~~ lots of spelling and grammer fixes in the docs,
569 many many thanks to rlb3 and Aankhen for these :)
571 0.20 Friday, April 6th, 2007
572 >> I messed up the SKIP logic in one test
573 so this release is just to fix that.
576 - 'has' now also accepts an ARRAY ref
577 to create multiple attrs (see docs)
578 (thanks to konobi for this)
579 - added tests and docs
581 0.19 Thurs. April 5th, 2007
582 ~~ More documentation updates ~~
584 * Moose::Util::TypeConstraints
585 - 'type' now supports messages as well
586 thanks to phaylon for finding this
587 - added tests for this
588 - added &list_all_type_constraints and
589 &list_all_builtin_type_constraints
590 functions to facilitate introspection.
592 * Moose::Meta::Attribute
593 - fixed regexp 'handles' declarations
594 to build the list of delegated methods
595 correctly (and not override important
596 things like &new) thanks to ashleyb
598 - added tests and docs for this
599 - added the 'documentation' attributes
600 so that you can actually document your
601 attributes and inspect them through the
603 - added tests and docs for this
606 - when loading custom attribute metaclasses
607 it will first look in for the class in the
608 Moose::Meta::Attribute::Custom::$name, and
609 then default to just loading $name.
610 - added tests and docs for this
612 * Moose::Meta::TypeConstraint
613 - type constraints now stringify to their names.
614 - added test for this
617 - added tests to assure we work with Module::Refresh
618 - added stricter test skip logic in the Moose POOP
619 test, ask Rob Kinyon why.
620 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
622 0.18 Sat. March 10, 2007
623 ~~ Many, many documentation updates ~~
626 - We now use Class::MOP::load_class to
628 - added tests to show types and subtypes
629 working with Declare::Constraints::Simple
630 and Test::Deep as constraint engines.
633 !! You must have Class::MOP 0.37_001 !!
634 !! for this developer release to work !!
636 This release was primarily adding the immutable
637 feature to Moose. An immutable class is one which
638 you promise not to alter. When you set the class
639 as immutable it will perform various bits of
640 memoization and inline certain part of the code
641 (constructors, destructors and accessors). This
642 minimizes (and in some cases totally eliminates)
643 one of Moose's biggest performance hits. This
644 feature is not on by default, and is 100% optional.
645 It has several configurable bits as well, so you
646 can pick and choose to your specific needs.
648 The changes involved in this were fairly wide and
649 highly specific, but 100% backwards compatible, so
650 I am not going to enumerate them here. If you are
651 truely interested in what was changed, please do
654 0.17 Tues. Nov. 14, 2006
655 * Moose::Meta::Method::Accessor
656 - bugfix for read-only accessors which
657 are have a type constraint and lazy.
658 Thanks to chansen for finding it.
660 0.16 Tues. Nov. 14, 2006
662 There are some speed improvements in this release,
663 but they are only the begining, so stay tuned.
666 - BUILDALL and DEMOLISHALL no longer get
667 called unless they actually need to be.
668 This gave us a signifigant speed boost
669 for the cases when there is no BUILD or
670 DEMOLISH method present.
672 * Moose::Util::TypeConstraints
673 * Moose::Meta::TypeConstraint
674 - added an 'optimize_as' option to the
675 type constraint, which allows for a
676 hand optimized version of the type
677 constraint to be used when possible.
678 - Any internally created type constraints
679 now provide an optimized version as well.
681 0.15 Sun. Nov. 5, 2006
683 This version of Moose *must* have Class::MOP 0.36 in order
684 to work correctly. A number of small internal tweaks have
685 been made in order to be compatible with that release.
687 * Moose::Util::TypeConstraints
688 - added &unimport so that you can clean out
689 your class namespace of these exported
693 - fixed minor issue which occasionally
694 comes up during global destruction
696 - moved Moose::Meta::Method::Overriden into
700 - moved Moose::Meta::Role::Method into
703 * Moose::Meta::Attribute
704 - changed how we do type checks so that
705 we reduce the overall cost, but still
708 - moved accessor generation methods to
709 Moose::Meta::Method::Accessor to
710 conform to the API changes from
713 * Moose::Meta::TypeConstraint
714 - changed how constraints are compiled
715 so that we do less recursion and more
716 iteration. This makes the type check
718 - moved Moose::Meta::TypeConstraint::Union
721 * Moose::Meta::Method::Accessor
722 - created this from methods formerly found in
723 Moose::Meta::Attribute
725 * Moose::Meta::Role::Method
726 - moved this from Moose::Meta::Role
728 * Moose::Meta::Method::Overriden
729 - moved this from Moose::Meta::Class
731 * Moose::Meta::TypeConstraint::Union
732 - moved this from Moose::Meta::TypeConstraint
734 0.14 Mon. Oct. 9, 2006
736 * Moose::Meta::Attribute
737 - fixed lazy attributes which were not getting
738 checked with the type constraint (thanks ashley)
739 - added tests for this
740 - removed the over-enthusiastic DWIMery of the
741 automatic ArrayRef and HashRef defaults, it
742 broke predicates in an ugly way.
743 - removed tests for this
745 0.13 Sat. Sept. 30, 2006
747 This version of Moose *must* have Class::MOP 0.35 in order
748 to work correctly. A number of small internal tweaks have
749 been made in order to be compatible with that release.
752 - Removed the use of UNIVERSAL::require to be a better
753 symbol table citizen and remove a dependency
754 (thanks Adam Kennedy)
756 **~~ removed experimental & undocumented feature ~~**
757 - commented out the 'method' and 'self' keywords, see the
758 comments for more info.
761 - added a FAQ and WTF files to document frequently
762 asked questions and common problems
764 * Moose::Util::TypeConstraints
765 - added GlobRef and FileHandle type constraint
766 - added tests for this
768 * Moose::Meta::Attribute
769 - if your attribute 'isa' ArrayRef of HashRef, and you have
770 not explicitly set a default, then make the default DWIM.
771 This will also work for subtypes of ArrayRef and HashRef
773 - you can now auto-deref subtypes of ArrayRef or HashRef too.
774 - new test added for this (thanks to ashley)
777 - added basic support for runtime role composition
778 but this is still *highly experimental*, so feedback
779 is much appreciated :)
780 - added tests for this
782 * Moose::Meta::TypeConstraint
783 - the type constraint now handles the coercion process
784 through delegation, this is to support the coercion
787 * Moose::Meta::TypeConstraint::Union
788 - it is now possible for coercions to be performed
790 - added tests for this (thanks to konobi)
792 * Moose::Meta::TypeCoercion
793 - properly capturing error when type constraint
797 - Scalar::Util 1.18 is bad on Win32, so temporarily
798 only require version 1.17 for Win32 and cygwin.
799 (thanks Adam Kennedy)
801 0.12 Sat. Sept. 1, 2006
803 - Recipe5 (subtypes & coercion) has been written
806 - fixed "bad meta" error message to be more descriptive
807 - fixed &unimport to not remove the &inner and &super
808 keywords because we need to localize them.
809 - fixed number of spelling/grammer issues, thanks Theory :)
811 **~~ experimental & undocumented feature ~~**
812 - added the method and self keywords, they are basically
813 just sugar, and they may not stay around.
816 - added &dump method to easily Data::Dumper
819 * Moose::Meta::TypeConstraint
820 - added the &is_a_type_of method to check both the current
821 and the subtype of a method (similar to &isa with classes)
824 - this is now a subclass of Class::MOP::Module, and no longer
825 creates the _role_meta ugliness of before.
826 - fixed tests to reflect this change
828 0.11 Wed. July 12, 2006
830 - added an &unimport method to remove all the keywords
831 that Moose will import, simply add 'no Moose' to the
832 bottom of your class file.
835 - fixed some test failures caused by a forgotten test
838 0.10 Thurs. July 6, 2006
840 - improved error message when loading modules so
841 it is less confusing when you load a role.
842 - added &calculate_all_roles method to
843 Moose::Meta::Class and Moose::Meta::Role
846 This module has been tested against Class::MOP 0.30
847 but it does not yet utilize the optimizations
848 it makes available. Stay tuned for that ;)
850 0.09_03 Fri. June 23, 2006
851 ++ DEVELOPER RELEASE ++
853 - 'use strict' and 'use warnings' are no longer
854 needed in Moose classes, Moose itself will
855 turn them on for you.
856 - added tests for this
857 - moved code from exported subs to private methods
858 in Moose::Meta::Class
861 - as with Moose, strict and warnings are
862 automatically turned on for you.
863 - added tests for this
866 - now handles an edge case for override errors
867 - added tests for this
868 - added some more edge case tests
870 0.09_02 Tues. May 16, 2006
871 ++ DEVELOPER RELEASE ++
873 - added prototypes to the exported subs
877 - added prototypes to the exported subs
880 * Moose::Util::TypeConstraints
881 - cleaned up prototypes for the subs
884 0.09_01 Fri. May 12, 2006
885 ++ DEVELOPER RELEASE ++
886 - This release works in combination with
887 Class::MOP 0.29_01, it is a developer
888 release because it uses the a new
889 instance sub-protocol and a fairly
890 complete Role implementation. It has
891 not yet been optimized, so it slower
892 the the previous CPAN version. This
893 release also lacks good updated docs,
894 the official release will have updated docs.
897 - refactored the keyword exports
898 - 'with' now checks Role validaity and
899 accepts more than one Role at a time
900 - 'extends' makes metaclass adjustments as
901 needed to ensure metaclass compatability
904 - refactored the keyword exports
905 - 'with' now checks Role validaity and
906 accepts more than one Role at a time
908 * Moose::Util::TypeConstraints
909 - added the 'enum' keyword for simple
910 string enumerations which can be used as
912 - see example of usage in t/202_example.t
915 - more careful checking of params to new()
918 - much work done on the role composition
919 - many new tests for conflict detection
920 and composition edge cases
921 - not enough documentation, I suggest
924 * Moose::Meta::Instance
925 - added new Instance metaclass to support
926 the new Class::MOP instance protocol
929 - some small changes to support the new
931 - some small additions to support Roles
933 * Moose::Meta::Attribute
934 - some improvements to the accessor generation code
936 - some small changes to support the new
938 - (still somewhat) experimental delegation support
939 with the 'handles' option
940 - added several tests for this
941 - no docs for this yet
943 0.05 Thurs. April 27, 2006
945 - keywords are now exported with Sub::Exporter
946 thanks to chansen for this commit
947 - has keyword now takes a 'metaclass' option
948 to support custom attribute meta-classes
949 on a per-attribute basis
950 - added tests for this
951 - the 'has' keyword not accepts inherited slot
952 specifications (has '+foo'). This is still an
953 experimental feature and probably not finished
954 see t/038_attribute_inherited_slot_specs.t for
955 more details, or ask about it on #moose
956 - added tests for this
959 - keywords are now exported with Sub::Exporter
961 * Moose::Utils::TypeConstraints
962 - reorganized the type constraint hierarchy, thanks
963 to nothingmuch and chansen for his help and advice
965 - added some tests for this
966 - keywords are now exported with Sub::Exporter
967 thanks to chansen for this commit
970 - due to changes in Class::MOP, we had to change
971 construct_instance (for the better)
973 * Moose::Meta::Attribute
974 - due to changes in Class::MOP, we had to add the
975 initialize_instance_slot method (it's a good thing)
977 * Moose::Meta::TypeConstraint
978 - added type constraint unions
979 - added tests for this
980 - added the is_subtype_of predicate method
981 - added tests for this
983 0.04 Sun. April 16th, 2006
985 - Roles can now consume other roles
986 - added tests for this
987 - Roles can specify required methods now with
988 the requires() keyword
989 - added tests for this
992 - ripped out much of it's guts ,.. much cleaner now
993 - added required methods and correct handling of
994 them in apply() for both classes and roles
995 - added tests for this
996 - no longer adds a does() method to consuming classes
997 it relys on the one in Moose::Object
998 - added roles attribute and some methods to support
999 roles consuming roles
1001 * Moose::Meta::Attribute
1002 - added support for triggers on attributes
1003 - added tests for this
1004 - added support for does option on an attribute
1005 - added tests for this
1007 * Moose::Meta::Class
1008 - added support for attribute triggers in the
1010 - added tests for this
1013 - Moose no longer creates a subtype for your class
1014 if a subtype of the same name already exists, this
1015 should DWIM in 99.9999% of all cases
1017 * Moose::Util::TypeConstraints
1018 - fixed bug where incorrect subtype conflicts were
1020 - added test for this
1023 - this class can now be extended with 'use base' if
1024 you need it, it properly loads the metaclass class now
1025 - added test for this
1027 0.03_02 Wed. April 12, 2006
1029 - you must now explictly use Moose::Util::TypeConstraints
1030 it no longer gets exported for you automatically
1033 - new() now accepts hash-refs as well as key/value lists
1034 - added does() method to check for Roles
1035 - added tests for this
1037 * Moose::Meta::Class
1038 - added roles attribute along with the add_role() and
1040 - added tests for this
1043 - now adds a does() method to consuming classes
1044 which tests the class's hierarchy for roles
1045 - added tests for this
1047 0.03_01 Mon. April 10, 2006
1049 - added new Role recipe (no content yet, only code)
1052 - added 'with' keyword for Role support
1053 - added test and docs for this
1054 - fixed subtype quoting bug
1055 - added test for this
1059 - added test and docs
1061 * Moose::Util::TypeConstraints
1062 - added the message keyword to add custom
1063 error messages to type constraints
1066 - the meta role to support Moose::Role
1067 - added tests and docs
1069 * Moose::Meta::Class
1070 - moved a number of things from Moose.pm
1071 to here, they should have been here
1074 * Moose::Meta::Attribute
1075 - moved the attribute option macros here
1076 instead of putting them in Moose.pm
1078 * Moose::Meta::TypeConstraint
1079 - added the message attributes and the
1081 - added tests and docs for this
1083 0.03 Thurs. March 30, 2006
1085 - added the Moose::Cookbook with 5 recipes,
1086 describing all the stuff Moose can do.
1089 - fixed an issue with &extends super class loading
1090 it now captures errors and deals with inline
1091 packages correctly (bug found by mst, solution
1093 - added super/override & inner/augment features
1094 - added tests and docs for these
1097 - BUILDALL now takes a reference of the %params
1098 that are passed to &new, and passes that to
1101 * Moose::Util::TypeConstraints
1102 - Type constraints now survive runtime reloading
1103 - added test for this
1105 * Moose::Meta::Class
1106 - fixed the way attribute defaults are handled
1107 during instance construction (bug found by chansen)
1109 * Moose::Meta::Attribute
1110 - read-only attributes now actually enforce their
1111 read-only-ness (this corrected in Class::MOP as
1114 0.02 Tues. March 21, 2006
1116 - many more tests, fixing some bugs and
1118 - &extends now loads the base module with
1120 - added UNIVERSAL::require to the
1123 - each new Moose class will also create
1124 and register a subtype of Object which
1125 correspond to the new Moose class.
1126 - the 'isa' option in &has now only
1127 accepts strings, and will DWIM in
1130 * Moose::Util::TypeConstraints
1131 - added type coercion features
1132 - added tests for this
1133 - added support for this in attributes
1134 and instance construction
1136 - type construction no longer creates a
1137 function, it registers the type instead.
1138 - added several functions to get the
1142 - BUILDALL and DEMOLISHALL were broken
1143 because of a mis-named hash key, Whoops :)
1145 * Moose::Meta::Attribute
1146 - adding support for coercion in the
1147 autogenerated accessors
1149 * Moose::Meta::Class
1150 - adding support for coercion in the
1151 instance construction
1153 * Moose::Meta::TypeConstraint
1154 * Moose::Meta::TypeCoercion
1155 - type constraints and coercions are now
1156 full fledges meta-objects
1158 0.01 Wed. March 15, 2006
1159 - Moooooooooooooooooose!!!