1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
6 * Stop the natatime method provided by the native Array trait from returning
7 an exhausted iterator when being called with a callback. (Florian Ragwitz)
9 * Make Moose::Meta::TypeConstraint::Class correctly reject RegexpRefs.
12 * Calling is_subtype_of on a Moose::Meta::TypeConstraint::Class with itself or
13 the class the TC represents as an argument incorrectly returned true. This
14 behavior is correct for is_type_of, not is_subtype_of. (Guillermo Roditi)
16 * Use File::Temp for temp files created during tests. Previously, files were
17 written to the t/ dir, which could cause problems of the user running the
18 tests did not have write access to that directory.. (Chris Weyl, Ævar
21 * Pass role arguments along when applying roles to instances. (doy, lsm)
23 1.01 Fri, Mar 26, 2010
27 * The handles option now also accepts a role type constraint in addition to a
28 plain role name. (Florian Ragwitz)
32 * Record the Sartak/doy debt properly in Changes (perigrin)
34 1.00 Tue, Mar 25, 2010
38 * Moose::Meta::Attribute::Native::Trait::Code no longer creates reader
39 methods by default. (Florian Ragwitz)
43 * Improve various parts of the documentation and fix many typos.
44 (Dave Rolsky, Mateu Hunter, Graham Knop, Robin V, Jay Hannah, Jesse Luehrs)
48 * Paid the $10 debt to doy from 0.80 Sat, Jun 6, 2009 (Sartak)
54 * New method find_type_for in Moose::Meta::TypeConstraint::Union, for finding
55 which member of the union a given value validates for. (Cory Watson)
59 * DEMOLISH methods in mutable subclasses of immutable classes are now called
60 properly (Chia-liang Kao, Jesse Luehrs)
64 * Added Moose::Manual::Support that defines the support, compatiblity, and
65 release policies for Moose. (Chris Prather)
67 0.98 Wed, Feb 10, 2010
71 * An internals change in 0.97 broke role application to an instance in some
72 cases. The bug occurred when two different roles were applied to different
73 instances of the same class. (Rafael Kitover)
80 * Calling ->reinitialize on a cached anonymous class effectively uncached
81 the metaclass object, causing the metaclass to go out of scope
82 unexpectedly. This could easily happen at a distance by applying a
83 metarole to an anonymous class. (Dave Rolsky).
89 * ScalarRef is now a parameterized type. You can now specify a type
90 constraint for whatever the reference points to. (Closes RT#50857)
91 (Michael G. Schwern, Florian Ragwitz)
95 * ScalarRef now accepts references to other references. (Closes RT#50934)
102 * Moose::Meta::Attribute::Native::Trait::Code now provides execute_method as
103 a delegation option. This allows the code reference to be called as a
104 method on the object. (Florian Ragwitz)
108 * Moose::Object::does no longer checks the entire inheritance tree, since
109 Moose::Meta::Class::does_role already does this. (doy)
111 * Moose::Util::add_method_modifier (and subsequently the sugar functions
112 Moose::before, Moose::after, and Moose::around) can now accept arrayrefs,
113 with the same behavior as lists. Types other than arrayref and regexp
114 result in an error. (Dylan Hardison)
116 0.94 Mon, Jan 18, 2010
120 * Please see the changes listed for 0.93_01 and Moose::Manual::Delta.
124 * Improved support for anonymous roles by changing various APIs to take
125 Moose::Meta::Role objects as well as role names. This included
127 - Moose::Meta::Class->does_role
128 - Moose::Meta::Role->does_role
129 - Moose::Util::does_role
130 - Moose::Util::apply_all_roles
131 - Moose::Util::ensure_all_roles
132 - Moose::Util::search_class_by_role
134 Requested by Shawn Moore. Addresses RT #51143 (and then some). (Dave Rolsky)
138 * Fix handling of non-alphanumeric attributes names like '@foo'. This should
139 work as long as the accessor method names are explicitly set to valid Perl
140 method names. Reported by Doug Treder. RT #53731. (Dave Rolsky)
143 0.93_03 Tue, Jan 5, 2010
147 * Portability fixes to our XS code so we compile with 5.8.8 and Visual
148 C++. Fixes RT #53391. Reported by Taro Nishino. (rafl)
151 0.93_02 Tue, Jan 5, 2010
155 * Depend on Class::MOP 0.97_01 so we can get useful results from CPAN
156 testers. (Dave Rolsky)
159 0.93_01 Mon, Jan 4, 2010
163 See Moose::Manual::Delta for more details on backwards compatiblity issues.
165 * Role attributes are now objects of the Moose::Meta::Role::Attribute
166 class. (Dave Rolsky).
168 * There were major changes to how metaroles are applied. We now distinguish
169 between metaroles for classes vs those for roles. See the
170 Moose::Util::MetaRole docs for details. (Dave Rolsky)
172 * The old MetaRole API has been deprecated, but will continue to
173 work. However, if you are applying an attribute metaclass role, this may
174 break because of the fact that roles now have an attribute metaclass
177 * Moose::Util::MetaRole::apply_metaclass_roles is now called
178 apply_metaroles. The old name is deprecated. Dave Rolsky>
180 * The unimport subs created by Moose::Exporter now clean up re-exported
181 functions like blessed and confess, unless the caller imported them from
182 somewhere else too. See Moose::Manua::Delta for backcompat details. (rafl)
184 [ENHANCEMENTS AND BUG FIXES]
186 * Changed the Str constraint to accept magic lvalue strings like one gets from
187 substr et al, again. (sorear)
189 * Sped up the type constraint parsing regex. (Sam Vilain)
191 * The Moose::Cookbook::Extending::Recipe2 recipe was broken. Fix suggested by
194 * Added Moose::Util::TypeConstraints exports when using oose.pm to allow
195 easier testing of TypeConstraints from the command line. (perigrin)
197 * Added a with_immutable test function to Test::Moose, to run a block of tests
198 with and without certain classes being immutable. (doy)
200 * We now use Module::Install extensions explicitly to avoid confusing errors
201 if they're not installed. We use Module::Install::AuthorRequires to stop
202 test extraction and general failures if you don't have the author side
203 dependencies installed.
205 * Fixed a grammar error in Moose::Cookbook::Basics::Recipe4. rt.cpan.org
206 #51791. (Amir E. Aharoni)
209 0.93 Thu, Nov 19, 2009
211 - Calling $object->new() is no longer deprecated, and no longer
215 - The get_attribute_map method is now deprecated. (Dave Rolsky)
217 * Moose::Meta::Method::Delegation
218 - Preserve variable aliasing in @_ for delegated methods, so that
219 altering @_ affects the passed value. (doy)
221 * Moose::Util::TypeConstraints
222 - Allow array refs for non-anonymous form of enum and duck_type, not
223 just anonymous. The non-arrayref forms may be removed in the
225 - Changed Str constraint to not accept globs (*STDIN or *FOO). (chansen)
226 - Properly document Int being a subtype of Str. (doy)
229 - Moose::Exporter using modules can now export their functions to the
230 main package. This applied to Moose and Moose::Role, among
231 others. (nothingmuch)
233 * Moose::Meta::Attribute
234 - Don't remove attribute accessors we never installed, during
235 remove_accessors. (doy)
237 * Moose::Meta::Attribute::Native::Trait::Array
238 - Don't bypass prototype checking when calling List::Util::first, to
239 avoid a segfault when it is called with a non-code argument. (doy)
241 * Moose::Meta::Attribute::Native::Trait::Code
242 - Fix passing arguments to code execute helpers. (doy)
244 0.92 Tue, Sep 22, 2009
245 * Moose::Util::TypeConstraints
246 - added the match_on_type operator (Stevan)
247 - added tests and docs for this (Stevan)
250 - Metaclass compat fixing should already happen recursively, there's no
251 need to explicitly walk up the inheritance tree. (doy)
253 * Moose::Meta::Attribute
254 - Add tests for set_raw_value and get_raw_value. (nothingmuch)
256 0.91 Thu, Sep 17, 2009
258 - Don't import any functions, in order to avoid polluting our namespace
259 with things that can look like methods (blessed, try, etc)
262 * Moose::Meta::Method::Constructor
263 - The generated code needs to called Scalar::Util::blessed by its
264 fully-qualified name or else Perl can interpret the call to blessed as
265 an indirect method call. This broke Search::GIN, which in turn broke
266 KiokuDB. (nothingmuch)
268 0.90 Tue, Sep 15, 2009
269 * Moose::Meta::Attribute::Native::Trait::Counter
270 * Moose::Meta::Attribute::Native::Trait::String
271 - For these two traits, an attribute which did not explicitly provide
272 methods to handles magically ended up delegating *all* the helper
273 methods. This has been removed. You must be explicit in your handles
274 declaration for all Native Traits. (Dave Rolsky)
277 - DEMOLISHALL behavior has changed. If any DEMOLISH method dies, we make
278 sure to rethrow its error message. However, we also localize $@ before
279 this so that if all the DEMOLISH methods success, the value of $@ will
280 be preserved. (nothingmuch and Dave Rolsky)
281 - We now also localize $? during object destruction. (nothingmuch and
283 - The handling of DEMOLISH methods was broken for immutablized classes,
284 which were not receiving the value of
285 Devel::GlobalDestruction::in_global_destruction.
286 - These two fixes address some of RT #48271, reported by Zefram.
287 - This is all now documented in Moose::Manual::Construction.
288 - Calling $object->new() is now deprecated. A warning will be
292 - Added more hooks to customize how roles are applied. The role
293 summation class, used to create composite roles, can now be changed
294 and/or have meta-roles applied to it. (rafl)
295 - The get_method_list method no longer explicitly excludes the "meta"
296 method. This was a hack that has been replaced by better hacks. (Dave
299 * Moose::Meta::Method::Delegation
300 - fixed delegated methods to make sure that any modifiers attached to
301 the accessor being delegated on will be called (Stevan)
302 - added tests for this (Stevan)
305 - Moose no longer warns when a class that is being made immutable has
306 mutable ancestors. While in theory this is a good thing to warn about,
307 we found so many exceptions to this that doing this properly became
310 0.89_02 Thu, Sep 10, 2009
311 * Moose::Meta::Attribute::Native
312 - Fix Hash, which still had 'empty' instead of 'is_empty'. (hdp)
314 * Moose::Meta::Attribute::Native::Trait::Array
315 - Added a number of functions from List::Util and List::MoreUtils,
316 including reduce, shuffle, uniq, and natatime. (doy)
319 - This module will now generate an init_meta method for your exporting
320 class if you pass it options for
321 Moose::Util::MetaRole::apply_metaclass_roles or
322 apply_base_class_roles. This eliminates a lot of repetitive
323 boilerplate for typical MooseX modules. (doy).
324 - Documented the with_meta feature, which is a replacement for
325 with_caller. This feature was added by josh a while ago.
326 - The with_caller feature is now deprecated, but will not issue a
327 warning yet. (Dave Rolsky)
328 - If you try to wrap/export a subroutine which doesn't actually exist,
329 Moose::Exporter will warn you about this. (doy)
331 * Moose::Meta::Role::Application::ToRole
332 - When a role aliased a method from another role, it was only getting
333 the new (aliased) name, not the original name. This differed from what
334 happens when a class aliases a role's methods. If you _only_ want the
335 aliased name, make sure to also exclue the original name. (Dave
338 0.89_01 Wed Sep 2, 2009
339 * Moose::Meta::Attribute
340 - Added the currying syntax for delegation from AttributeHelpers to the
341 existing delegation API. (hdp)
343 * Moose::Meta::Attribute::Native
344 - We have merged the functionality of MooseX::AttributeHelpers into the
345 Moose core with some API tweaks. You can continue to use
346 MooseX::AttributeHelpers, but it will not be maintained except
347 (perhaps) for critical bug fixes in the future. See
348 Moose::Manual::Delta for details. (hdp, jhannah, rbuels, Sartak,
351 * Moose::Error::Croak
352 * Moose::Error::Confess
353 - Clarify documentation on how to use different error-throwing
354 modules. (Curtis Jewell)
357 - Correct POD for builder to point to Recipe8, not 9. (gphat)
360 - When a nonexistent sub name is passed to as_is, with_caller, or
361 with_meta, throw a warning and skip the exporting, rather than
362 installing a broken sub. (doy)
365 - Moose now warns if you call C<make_immutable> for a class with mutable
368 0.89 Thu Aug 13, 2009
369 * Moose::Manual::Attributes
370 - Clarify "is", include discussion of "bare". (Sartak)
372 * Moose::Meta::Role::Method::Conflicting
373 * Moose::Meta::Role::Application::ToClass
374 - For the first set of roles involved in a conflict, report all
375 unresolved method conflicts, not just the first method. Fixes #47210
376 reported by Ovid. (Sartak)
378 * Moose::Meta::TypeConstraint
379 - Add assert_valid method to use a TypeConstraint for assertion (rjbs)
382 - Make "use Moose -metaclass => 'Foo'" do alias resolution, like -traits
384 - Allow specifying role options (alias, excludes, MXRP stuff) in the
385 arrayref passed to "use Moose -traits" (doy)
388 - Add functions meta_class_alias and meta_attribute_alias for creating
389 aliases for class and attribute metaclasses and metatraits. (doy)
391 * Moose::Meta::Attribute
392 * Moose::Meta::Method::Accessor
393 - A trigger now receives the old value as a second argument, if the
394 attribute had one. (Dave Rolsky)
396 * Moose::Meta::Method::Constructor
397 - Fix a bug with $obj->new when $obj has stringify overloading.
398 Reported by Andrew Suffield [rt.cpan.org #47882] (Sartak)
399 - However, we will probably deprecate $obj->new, so please don't start
400 using it for new code!
402 * Moose::Meta::Role::Application
403 * Moose::Meta::Role::Application::RoleSummation
404 - Rename alias and excludes to -alias and -excludes (but keep the old
405 names for now, for backcompat) (doy)
407 0.88 Fri Jul 24, 2009
408 * Moose::Manual::Contributing
409 - Re-write the Moose::Manual::Contributing document to reflect
410 the new layout and methods of work for the Git repository. All
411 work now should be done in topic branches and reviewed by a
412 core committer before being applied to master. All releases
413 are done by a cabal member and merged from master to
414 stable. This plan was devised by Yuval, blame him. (perigrin)
417 - Create metaclass attributes for the different role application
420 * Moose::Util::MetaRole
421 - Allow applying roles to a meta role's role application
424 * Moose::Meta::Attribute
425 - Add weak_ref to allowed options for "has '+foo'" (mst)
427 * Moose::Meta::Method::Accessor
428 - No longer uses inline_slot_access in accessors, to support
429 non-lvalue-based meta instances. (sorear)
432 * Moose::Meta::Method::Delegation
433 - Once again allow class names as well as objects for
434 delegation. This was changed in 0.86.
437 * Moose::Meta::Class::Immutable::Trait
438 - Fixes to work with the latest Class::MOP.
440 * Moose::Meta::Method::Delegation
441 - Delegation now dies with a more useful error message if the
442 attribute's accessor returns something defined but
445 0.85 Fri, Jun 26, 2009
446 * Moose::Meta::Attribute
447 - The warning for 'no associated methods' is now split out into
448 the _check_associated_methods method, so that extensions can
449 safely call 'after install_accessors => ...'. This fixes a
450 warning from MooseX::AttributeHelpers. (hdp)
452 0.84 Fri, Jun 26, 2009
454 - has now sets definition_context for attributes defined in
457 * Moose::Meta::Attribute
458 - When adding an attribute to a metaclass, if the attribute has
459 no associated methods, it will give a deprecation
461 - Methods generated by delegation were not being added to
462 associated_methods. (hdp)
463 - Attribute accessors (reader, writer, accessor, predicate,
464 clearer) now warn if they overwrite an existing method. (doy)
465 - Attribute constructors now warn very noisily about unknown (or
466 misspelled) arguments
468 * Moose::Util::TypeConstraints
469 - Deprecated the totally useless Role type name, which just
470 checked if $object->can('does'). Note that this is _not_ the
471 same as a type created by calling role_type('RoleName').
473 * Moose::Util::TypeConstraints
474 * Moose::Meta::TypeConstraint::DuckType
475 - Reify duck type from a regular subtype into an actual class
477 - Document this because Sartak did all my work for me
480 * Moose::Meta::Attribute
481 - Allow Moose::Meta::TypeConstraint::DuckType in handles, since
482 it is just a list of methods (Sartak)
485 - The get_*_method_modifiers methods would die if the role had
486 no modifiers of the given type (Robert Buels).
488 0.83 Tue, Jun 23, 2009
490 - Fix _construct_instance not setting the special __MOP__ object
491 key in instances of anon classes. (doy)
493 0.82 Sun, Jun 21, 2009
494 * Moose::Manual::Types
495 - Mention MooseX::Types early to avoid users falling down the
496 string parsing rathole (mst)
498 * Moose::Manual::MooseX
499 - Add warnings about class-level extensions and mention considering
500 using plain objects instead
502 0.81 Sun, Jun 7, 2009
503 * Bumped our Class::MOP prereq to the latest version (0.85), since
506 0.80 Sat, Jun 6, 2009
508 - Add FAQ about the coercion change from 0.76 because it came up
509 three times today (perigrin)
510 - Win doy $10 dollars because Sartak didn't think anybody
511 would document this fast enough (perigrin)
513 * Moose::Meta::Method::Destructor
514 - Inline a DESTROY method even if there are no DEMOLISH methods
515 to prevent unnecessary introspection in
516 Moose::Object::DEMOLISHALL
519 - A role's required methods are now represented by
520 Moose::Meta::Role::Method::Required objects. Conflicts are now
521 represented by Moose::Meta::Role::Method::Conflicting
522 objects. The benefit for end-users in that unresolved
523 conflicts generate different, more instructive, errors,
524 resolving Ovid's #44895. (Sartak)
527 - Improve the error message of "extends" as suggested by Adam
528 Kennedy and confound (Sartak)
529 - Link to Moose::Manual::Roles from Moose::Role as we now have
530 excellent documentation (Adam Kennedy)
533 - Update test suite for subname change in Class::MOP
535 - Add TODO test for infinite recursion in Moose::Meta::Class
538 0.79 Wed, May 13, 2009
540 - More fixes for Win32 problems. Reported by Robert Krimen.
543 - The DEMOLISHALL method could still blow up in some cases
544 during global destruction. This method has been made more
545 resilient in the face of global destruction's random garbage
549 - If you "also" a module that isn't loaded, the error message
550 now acknowledges that (Sartak)
553 - When your ->meta method does not return a Moose::Meta::Class,
554 the error message gave the wrong output (Sartak)
556 0.78 Tue, May 12, 2009
557 * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
558 - Merged these documents into what is now Moose::Manual::FAQ
561 - Moved to Moose::Manual::Unsweetened
563 * Moose::Cookbook::Basics::Recipes 9-12
564 - Renamed to be 8-11, since recipe 8 did not exist
567 - Make Moose::Exporter import strict and warnings into packages
571 - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
572 methods during global destruction (doy)
575 * Moose::Meta::Role::Application::ToClass
576 - Track the Role::Application objects created during class-role
580 - Fix metaclass incompatibility errors when extending a vanilla perl
581 class which isa Moose class with a metaclass role applied (t0m)
584 - Add a role-combination hook, _role_for_combination, for the
585 benefit of MooseX::Role::Parameterized (Sartak)
588 - Some tests were failing on Win32 because they explicit checked
589 warning output for newlines. Reported by Nickolay Platonov.
591 0.77 Sat, May 2, 2009
593 - Add explicit use of Devel::GlobalDestruction and Sub::Name
597 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
598 or not we are currently in global destruction (doy)
599 - Add explicit use of Devel::GlobalDestruction and Sub::Name
602 * Moose::Cookbook::FAQ
603 - Reworked much of the existing content to be more useful to
604 modern Moose hackers (Sartak)
607 - Depend on Class::MOP 0.83 instead of 0.82_01.
609 0.76 Mon, April 27, 2009
610 * Moose::Meta::TypeConstraint
611 - Do not run coercions in coerce() if the value already passes the type
614 * Moose::Meta::TypeConstraint::Class
615 - In validation error messages, specifically say that the value is not
616 an instance of the class. This should alleviate some frustrating
617 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
619 * Moose::Meta::Role::Application::ToClass
620 - Revert the class-overrides-role warning in favor of a solution outside
621 of the Moose core (Sartak)
624 - Make Test::Output optional again, since it's only used in a few files
627 0.75_01 Thu, April 23, 2009
628 * Moose::Meta::Role::Application::ToClass
629 - Moose now warns about each class overriding methods from roles it
633 - Warnings tests have standardized on Test::Output which is now an
634 unconditionally dependency (Sartak)
637 - Changes to immutabilization to work with Class::MOP 0.82_01+.
639 0.75 Mon, April 20, 2009
642 - Move validation of not inheriting from roles from Moose::extends to
643 Moose::Meta::Class::superclasses (doy)
646 - add ensure_all_roles() function to encapsulate the common "apply this
647 role unless the object already does it" pattern (hdp)
650 - Users can now select a different metaclass with the "-metaclass"
651 option to import, for classes and roles (Sartak)
654 - Make method_metaclass an attr so that it can accept a metarole
657 0.74 Tue, April 7, 2009
659 * Moose::Meta::Method::Destructor
660 - Include stack traces in the deprecation warnings.
664 - Removed the long-deprecated _apply_all_roles method.
666 * Moose::Meta::TypeConstraint
667 - Removed the long-deprecated union method.
670 0.73_02 Mon, April 6, 2009
671 * More deprecations and renamings
672 - Moose::Meta::Method::Constructor
673 - initialize_body => _initialize_body (this is always called
674 when an object is constructed)
677 - The DEMOLISHALL method could throw an exception during global
678 destruction, meaning that your class's DEMOLISH methods would
679 not be properly called. Reported by t0m.
681 * Moose::Meta::Method::Destructor
682 - Destructor inlining was totally broken by the change to the
683 is_needed method in 0.72_01. Now there is a test for this
684 feature, and it works again.
687 - Bold the word 'not' in the POD for find_meta (t0m)
689 0.73_01 Sun, April 5, 2009
691 - Call user_class->meta in fewer places, with the eventual goal
692 of allowing the user to rename or exclude ->meta
693 altogether. Instead uses Class::MOP::class_of. (Sartak)
695 * Moose::Meta::Method::Accessor
696 - If an attribute had a lazy default, and that value did not
697 pass the attribute's type constraint, it did not get the
698 message from the type constraint, instead using a generic
699 message. Test provided by perigrin.
701 * Moose::Util::TypeConstraints
702 - Add duck_type keyword. It's sugar over making sure an object
703 can() a list of methods. This is easier than jrockway's
704 suggestion to fork all of CPAN. (perigrin)
705 - add tests and documentation (perigrin)
708 - Document the fact that init_meta() returns the target class's
709 metaclass object. (hdp)
711 * Moose::Cookbook::Extending::Recipe1
712 * Moose::Cookbook::Extending::Recipe2
713 * Moose::Cookbook::Extending::Recipe3
714 * Moose::Cookbook::Extending::Recipe4
715 - Make init_meta() examples explicitly return the metaclass and
716 point out this fact. (hdp)
718 * Moose::Cookbook::Basics::Recipe12
719 - A new recipe, creating a custom meta-method class.
721 * Moose::Cookbook::Meta::Recipe6
722 - A new recipe, creating a custom meta-method class.
725 * Moose::Meta::Method::Constructor
726 - Attribute triggers no longer receive the meta-attribute object
727 as an argument in any circumstance. Previously, triggers
728 called during instance construction were passed the
729 meta-attribute, but triggers called by normal accessors were
730 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
732 * Moose::Manual::Attributes
733 - Remove references to triggers receving the meta-attribute object as an
736 * Moose::Cookbook::FAQ
737 - Remove recommendation for deprecated Moose::Policy and
738 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
741 * Many methods have been renamed with a leading underscore, and a
742 few have been deprecated entirely. The methods with a leading
743 underscore are consider "internals only". People writing
744 subclasses or extensions to Moose should feel free to override
745 them, but they are not for "public" use.
748 - check_metaclass_compatibility => _check_metaclass_compatibility
750 - Moose::Meta::Method::Accessor
751 - initialize_body => _initialize_body (this is always called
752 when an object is constructed)
753 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
755 - Moose::Meta::Method::Constructor
756 - initialize_body => _initialize_body (this is always called
757 when an object is constructed)
758 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
759 - attributes => _attributes (now inherited from parent)
760 - meta_instance => _meta_instance (now inherited from parent)
763 - alias_method is deprecated. Use add_method
765 0.73 Fri, March 29, 2009
766 * No changes from 0.72_01.
768 0.72_01 Thu, March 26, 2009
770 - Almost every module has complete API documentation. A few
771 methods (and even whole classes) have been intentionally
772 excluded pending some rethinking of their APIs.
774 * Moose::Util::TypeConstraints
775 - Calling subtype with a name as the only argument is now an
776 exception. If you want an anonymous subtype do:
778 my $subtype = subtype as 'Foo';
780 * Moose::Cookbook::Meta::Recipe7
781 - A new recipe, creating a custom meta-instance class.
783 * Moose::Cookbook::Basics::Recipe5
784 - Fix various typos and mistakes. Includes a patch from Radu
787 * Moose::Cookbook::Basics::Recipe9
788 - Link to this recipe from Moose.pm's builder blurb
791 - When wrapping a function with a prototype, Moose::Exporter now
792 makes sure the wrapped function still has the same
793 prototype. (Daisuke Maki)
795 * Moose::Meta::Attribute
796 - Allow a subclass to set lazy_build for an inherited
800 - Explicitly depend on Data::OptList. We already had this dependency
801 via Sub::Exporter, but since we're using it directly we're
802 better off with it listed. (Sartak)
804 * Moose::Meta::Method::Constructor
805 - Make it easier to subclass the inlining behaviour. (Ash
808 * Moose::Manual::Delta
809 - Details significant changes in the history of Moose, along
810 with recommended workarounds.
812 * Moose::Manual::Contributing
813 - Contributor's guide to Moose.
815 * Moose::Meta::Method::Constructor
816 - The long-deprecated intialize_body method has been removed
817 (yes, spelled like that).
819 * Moose::Meta::Method::Destructor
820 - This is_needed method is now always a class method.
823 - Changes to the internals of how make_immutable works to match
824 changes in latest Class::MOP.
826 0.72 Mon, February 23, 2009
828 * Moose::Meta::Method::Constructor
829 - A mutable class accepted Foo->new(undef) without complaint,
830 while an immutable class would blow up with an unhelpful
831 error. Now, in both cases we throw a helpful error
832 instead. Reported by doy.
834 0.71_01 Sun, February 22, 2009
836 - Hopefully fixed some POD errors in a few recipes that caused
837 them to display weird on search.cpan.org.
839 * Moose::Util::TypeConstraints
840 - Calling type or subtype without the sugar helpers (as, where,
841 message) is now deprecated.
842 - The subtype function tried hard to guess what you meant, but
843 often got it wrong. For example:
845 my $subtype = subtype as 'ArrayRef[Object]';
847 This caused an error in the past, but now works as you'd
851 - Make sure Moose.pm is loaded before calling
852 Moose->throw_error. This wasn't normally an issue, but could
853 bite you in weird cases.
855 0.71 Thu, February 19, 2009
856 * Moose::Cookbook::Basics::Recipe11
857 - A new recipe which demonstrates the use of BUILDARGS and
860 * Moose::Cookbook::Roles::Recipe3
861 - A new recipe, applying a role to an object instance. (Dave
865 - Allow overriding specific keywords from "also" packages. (doy)
868 - Replace hardcoded cookbook tests with Test::Inline to ensure
869 the tests match the actual code in the recipes. (Dave Rolsky)
872 - Working on the above turned up a number of little bugs in the
873 recipe code. (Dave Rolsky)
875 * Moose::Util::TypeConstraints::Optimized
876 - Just use Class::MOP for the optimized ClassName check. (Dave
879 0.70 Sat, February 14, 2009
880 * Moose::Util::TypeConstraints
881 - Added the RoleName type (stevan)
882 - added tests for this (stevan)
884 * Moose::Cookbook::Basics::Recipe3
885 - Updated the before qw[left right] sub to be a little more
886 defensive about what it accepts (stevan)
887 - added more tests to t/000_recipies/basics/003_binary_tree.t
891 - We now always call DEMOLISHALL, even if a class does not
892 define DEMOLISH. This makes sure that method modifiers on
893 DEMOLISHALL work as expected. (doy)
894 - added tests for this (EvanCarroll)
896 * Moose::Util::MetaRole
897 - Accept roles for the wrapped_method_metaclass (rafl)
898 - added tests for this (rafl)
900 * Moose::Meta::Attribute
901 - We no longer pass the meta-attribute object as a final
902 argument to triggers. This actually changed for inlined code a
903 while back, but the non-inlined version and the docs were
907 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
908 they require 0.11. (Dave Rolsky)
911 - Lots of small changes to the manual, cookbook, and
912 elsewhere. These were based on feedback from various
913 users, too many to list here. (Dave Rolsky)
915 0.69 Thu, February 12, 2009
917 - Make some keyword errors use throw_error instead of croak
918 since Moose::Exporter wraps keywords now (Sartak)
921 - Revised every recipe for style and clarity. Also moved some
922 documentation out of cookbook recipes and into Moose::Manual
923 pages. This work was funded as part of the Moose docs grant
924 from TPF. (Dave Rolsky)
926 * Moose::Meta::Method::Delegation
927 - If the attribute doing the delegation was not populated, the
928 error message did not specify the attribute name
931 0.68 Wed, February 4, 2009
933 - Many spelling, typo, and formatting fixes by daxim.
935 * Moose::Manual::Attributes
936 - The NAME section in the POD used "Attribute" so search.cpan
937 didn't resolve links from other documents properly.
939 * Moose::Meta::Method::Overriden
940 - Now properly spelled as Overridden. Thanks to daxim for
943 0.67 Tue, February 3, 2009
945 - Lots of little typo fixes and a few clarifications. Several
946 pages didn't have proper titles, and so weren't actually
947 visible on search.cpan.org. Thanks to hanekomu for a variety
948 of fixes and formatting improvements.
950 0.66 Tue, February 3, 2009
952 - This is a brand new, extensive manual for Moose. This aims to
953 provide a complete introduction to all of Moose's
954 features. This work was funded as part of the Moose docs grant
955 from TPF. (Dave Rolsky)
957 * Moose::Meta::Attribute
958 - Added a delegation_metaclass method to replace a hard-coded
959 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
961 * Moose::Util::TypeConstraints
962 - If you created a subtype and passed a parent that Moose didn't
963 know about, it simply ignored the parent. Now it automatically
964 creates the parent as a class type. This may not be what you
965 want, but is less broken than before. (Dave Rolsky)
967 * Moose::Util::TypeConstraints
968 - This module tried throw errors by calling Moose->throw_error,
969 but it did not ensure that Moose was loaded first. This could
970 cause very unhelpful errors when it tried to throw an error
971 before Moose was loaded. (Dave Rolsky)
973 * Moose::Util::TypeConstraints
974 - You could declare a name with subtype such as "Foo!Bar" that
975 would be allowed, but if you used it in a parameterized type
976 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
977 vetting on names created via the sugar functions, so that they
978 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
980 0.65 Thu, January 22, 2008
981 * Moose and Moose::Meta::Method::Overridden
982 - If an overridden method called super(), and then the
983 superclass's method (not overridden) _also_ called super(),
984 Moose went into an endless recursion loop. Test provided by
985 Chris Prather. (Dave Rolsky)
987 * Moose::Meta::TypeConstraint
988 - All methods are now documented. (gphat)
990 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
991 - Fixed some bogus failures that occurred because we tried to
992 validate filesystem paths in a very ad-hoc and
993 not-quite-correct way. (Dave Rolsky)
995 * Moose::Util::TypeConstraints
996 - Added maybe_type to exports. See docs for details. (rjbs)
999 - Added Moose::Util::TypeConstraints to the SEE ALSO
1003 - Methods created via an attribute can now fulfill a "requires"
1004 declaration for a role. (nothingmuch)
1006 * Moose::Meta::Method::*
1007 - Stack traces from inlined code will now report its line and
1008 file as being in your class, as opposed to in Moose
1009 guts. (nothingmuch).
1011 0.64 Wed, December 31, 2008
1012 * Moose::Meta::Method::Accessor
1013 - Always inline predicate and clearer methods (Sartak)
1015 * Moose::Meta::Attribute
1016 - Support for parameterized traits (Sartak)
1017 - verify_against_type_constraint method to avoid duplication
1018 and enhance extensibility (Sartak)
1020 * Moose::Meta::Class
1021 - Tests (but no support yet) for parameterized traits (Sartak)
1024 - Require Class::MOP 0.75+, which has the side effect of making
1025 sure we work on Win32. (Dave Rolsky)
1027 0.63 Mon, December 8, 2008
1028 * Moose::Unsweetened
1029 - Some small grammar tweaks and bug fixes in non-Moose example
1032 0.62_02 Fri, December 5, 2008
1033 * Moose::Meta::Role::Application::ToClass
1034 - When a class does not provide all of a role's required
1035 methods, the error thrown now mentions all of the missing
1036 methods, as opposed to just the first one found. Requested by
1037 Curtis Poe (RT #41119). (Dave Rolsky)
1039 * Moose::Meta::Method::Constructor
1040 - Moose will no longer inline a constructor for your class
1041 unless it inherits its constructor from Moose::Object, and
1042 will warn when it doesn't inline. If you want to force
1043 inlining anyway, pass "replace_constructor => 1" to
1044 make_immutable. Addresses RT #40968, reported by Jon
1045 Swartz. (Dave Rolsky)
1046 - The quoting of default values could be broken if the default
1047 contained a single quote ('). Now we use quotemeta to escape
1048 anything potentially dangerous in the defaults. (Dave Rolsky)
1050 0.62_01 Wed, December 3, 2008
1052 - use the method->execute API for BUILDALL
1053 and DEMOLISHALL (Sartak)
1055 * Moose::Util::TypeConstraints
1056 - We now make all the type constraint meta classes immutable
1057 before creating the default types provided by Moose. This
1058 should make loading Moose a little faster. (Dave Rolsky)
1060 0.62 Wed November 26, 2008
1061 * Moose::Meta::Role::Application::ToClass
1062 Moose::Meta::Role::Application::ToRole
1063 - fixed issues where excluding and aliasing the
1064 same methods for a single role did not work
1065 right (worked just fine with multiple
1067 - added test for this (stevan)
1069 * Moose::Meta::Role::Application::RoleSummation
1070 - fixed the error message when trying to compose
1071 a role with a role it excludes (Sartak)
1074 - Catch another case where recursion caused the value
1075 of $CALLER to be stamped on (t0m)
1076 - added test for this (t0m)
1079 - Remove the make_immutable keyword, which has been
1080 deprecated since April. It breaks metaclasses that
1081 use Moose without no Moose (Sartak)
1083 * Moose::Meta::Attribute
1084 - Removing an attribute from a class now also removes delegation
1085 (handles) methods installed for that attribute (t0m)
1086 - added test for this (t0m)
1088 * Moose::Meta::Method::Constructor
1089 - An attribute with a default that looked like a number (but was
1090 really a string) would accidentally be treated as a number
1091 when the constructor was made immutable (perigrin)
1092 - added test for this (perigrin)
1095 - create method for constructing a role
1096 dynamically (Sartak)
1097 - added test for this (Sartak)
1098 - anonymous roles! (Sartak)
1099 - added test for this (Sartak)
1102 - more consistent error messages (Sartak)
1104 * Moose::Cookbook::Roles::Recipe1
1105 - attempt to explain why a role that just requires
1106 methods is useful (Sartak)
1108 0.61 Fri November 7, 2008
1109 * Moose::Meta::Attribute
1110 - When passing a role to handles, it will be loaded if necessary
1113 * Moose::Meta::Class
1114 - Method objects returned by get_method (and other methods)
1115 Could end up being returned without an associated_metaclass
1116 attribute. Removing get_method_map, which is provided by
1117 Class::MOP::Class, fixed this. The Moose version did nothing
1118 different from its parent except introduce a bug. (Dave Rolsky)
1119 - added tests for this (jdv79)
1122 - Added a $VERSION to all .pm files which didn't have one. Fixes
1123 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
1125 * Moose::Cookbook::Basics::Recipe4
1126 * Moose::Cookbook::Basics::Recipe6
1127 - These files had spaces on the first line of the SYNOPSIS, as
1128 opposed to a totally empty line. According to RT #40432, this
1129 confuses POD parsers. (Dave Rolsky)
1131 0.60 Fri October 24, 2008
1133 - Passing "-traits" when loading Moose caused the Moose.pm
1134 exports to be broken. Reported by t0m. (Dave Rolsky)
1135 - Tests for this bug. (t0m)
1138 - Change resolve_metaclass alias to use the new
1139 load_first_existing_class function. This makes it a lot
1140 simpler, and also around 5 times faster. (t0m)
1141 - Add caching to resolve_metaclass_alias, which gives an order
1142 of magnitude speedup to things which repeatedly call the
1143 Moose::Meta::Attribute->does method, notably MooseX::Storage
1146 * Moose::Util::TypeConstraint
1147 - Put back the changes for parameterized constraints that
1148 shouldn't have been removed in 0.59. We still cannot parse
1149 them, but MooseX modules can create them in some other
1150 way. See the 0.58 changes for more details. (jnapiorkowski)
1151 - Changed the way subtypes are created so that the job is
1152 delegated to a type constraint parent. This clears up some
1153 hardcoded checking and should allow correct subtypes of
1154 Moose::Meta::Type::Constraint. Don't rely on this new API too
1155 much (create_child_type) because it may go away in the
1156 future. (jnapiorkowski)
1158 * Moose::Meta::TypeConstraint::Union
1159 - Type constraint names are sorted as strings, not numbers.
1162 * Moose::Meta::TypeConstraint::Parameterizable
1163 - New parameterize method. This can be used as a factory method
1164 to make a new type constraint with a given parameterized
1165 type. (jnapiorkowski)
1166 - added tests (jnapiorkowski)
1168 0.59 Tue October 14, 2008
1170 - Add abridged documentation for builder/default/initializer/
1171 predicate, and link to more details sections in
1172 Class::MOP::Attribute. (t0m)
1174 * Moose::Util::TypeConstraints
1175 - removed prototypes from all but the &-based stuff (mst)
1177 * Moose::Util::TypeConstraints
1178 - Creating a anonymous subtype with both a constraint and a
1179 message failed with a very unhelpful error, but should just
1180 work. Reported by t0m. (Dave Rolsky)
1183 - Some tests that used Test::Warn if it was available failed
1184 with older versions of Test::Warn. Reported by Fayland. (Dave
1186 - Test firing behavior of triggers in relation to builder/default/
1188 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
1189 kinds of supported type. (t0m)
1191 * Moose::Meta::Class
1192 - In create(), do not pass "roles" option to the superclass
1193 - added related test that creates an anon metaclass with
1194 a required attribute
1196 * Moose::Meta::TypeConstraint::Class
1197 * Moose::Meta::TypeConstraint::Role
1198 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
1199 other types (as per change in 0.55_02). (t0m)
1201 * Moose::Meta::TypeConstraint::Registry
1202 - Fix warning when dealing with unknown type names (t0m)
1204 * Moose::Util::TypeConstraints
1205 - Reverted changes from 0.58 related to handle parameterized
1206 types. This caused random failures on BSD and Win32 systems,
1207 apparently related to the regex engine. This means that Moose
1208 can no longer parse structured type constraints like
1209 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
1210 supported in a slightly different way via MooseX::Types some
1211 time in the future. (Dave Rolsky)
1213 0.58 Sat September 20, 2008
1214 !! This release has an incompatible change regarding !!
1215 !! how roles add methods to a class !!
1217 * Roles and role application
1218 ! Roles now add methods by calling add_method, not
1219 alias_method. They make sure to always provide a method
1220 object, which will be cloned internally. This means that it is
1221 now possible to track the source of a method provided by a
1222 role, and even follow its history through intermediate roles.
1224 This means that methods added by a role now show up when
1225 looking at a class's method list/map. (Dave Rolsky)
1228 - From this release on, we'll try to maintain a list of
1229 conflicting modules, and warn you if you have one
1230 installed. For example, this release conflicts with ...
1231 - MooseX::Singleton <= 0.11
1232 - MooseX::Params::Validate <= 0.05
1235 In general, we try to not break backwards compatibility for
1236 most Moose users, but MooseX modules and other code which
1237 extends Moose's metaclasses is often affected by very small
1238 changes in the Moose internals.
1240 * Moose::Meta::Method::Delegation
1241 * Moose::Meta::Attribute
1242 - Delegation methods now have their own method class. (Dave
1245 * Moose::Meta::TypeConstraint::Parameterizable
1246 - Added a new method 'parameterize' which is basically a factory
1247 for the containing constraint. This makes it easier to create
1248 new types of parameterized constraints. (jnapiorkowski)
1250 * Moose::Meta::TypeConstraint::Union
1251 - Changed the way Union types canonicalize their names to follow
1252 the normalized TC naming rules, which means we strip all
1253 whitespace. (jnapiorkowski)
1255 * Moose::Util::TypeConstraints
1256 - Parameter and Union args are now sorted, this makes Int|Str
1257 the same constraint as Str|Int. (jnapiorkowski)
1258 - Changes to the way Union types are parsed to more correctly
1259 stringify their names. (jnapiorkowski)
1260 - When creating a parameterized type, we now use the new
1261 parameterize method. (jnapiorkowski)
1262 - Incoming type constraint strings are now normalized to remove
1263 all whitespace differences. (jnapiorkowski)
1264 - Changed the way we parse type constraint strings so that we now
1265 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
1266 constraints. This lays the foundation for more flexible type
1267 constraint implementations.
1269 * Tests and docs for all the above. (jnapiorkowski)
1273 - Moose::Exporter will no longer remove a subroutine that the
1274 exporting package re-exports. Moose re-exports the
1275 Carp::confess function, among others. The reasoning is that we
1276 cannot know whether you have also explicitly imported those
1277 functions for your own use, so we err on the safe side and
1278 always keep them. (Dave Rolsky)
1279 - added tests for this (rafl)
1281 * Moose::Meta::Class
1282 - Changes to how we fix metaclass compatibility that are much
1283 too complicated to go into. The summary is that Moose is much
1284 less likely to complain about metaclass incompatibility
1285 now. In particular, if two metaclasses differ because
1286 Moose::Util::MetaRole was used on the two corresponding
1287 classes, then the difference in roles is reconciled for the
1288 subclass's metaclass. (Dave Rolsky)
1289 - Squashed an warning in _process_attribute (thepler)
1292 - throw exceptions (sooner) for invalid attribute names (thepler)
1293 - added tests for this (thepler)
1295 * Moose::Util::MetaRole
1296 - If you explicitly set a constructor or destructor class for a
1297 metaclass object, and then applied roles to the metaclass,
1298 that explicitly set class would be lost and replaced with the
1301 * Moose::Meta::Class
1302 * Moose::Meta::Attribute
1303 * Moose::Meta::Method
1306 * Moose::Error::Default
1307 * Moose::Error::Croak
1308 * Moose::Error::Confess
1309 - All instances of confess() changed to use overridable
1310 C<throw_error> method. This method ultimately calls a class
1311 constructor, and you can change the class being called. In
1312 addition, errors now pass more information than just a string.
1313 The default C<error_class> behaves like C<Carp::confess>, so
1314 the behavior is not visibly different for end users.
1316 0.57 Wed September 3, 2008
1318 - A new bit of doc intended to introduce folks familiar with
1319 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
1321 * Moose::Unsweetened
1322 - Shows examples of two classes, each done first with and then
1323 without Moose. This makes a nice parallel to
1324 Moose::Intro. (Dave Rolsky)
1326 * Moose::Util::TypeConstraints
1327 - Fixed a bug in find_or_parse_type_constraint so that it
1328 accepts a Moose::Meta::TypeConstraint object as the parent
1329 type, not just a name (jnapiorkowski)
1330 - added tests (jnapiorkowski)
1333 - If Sub::Name was not present, unimporting failed to actually
1334 remove some sugar subs, causing test failures (Dave Rolsky)
1336 0.56 Mon September 1, 2008
1337 For those not following the series of dev releases, there are
1338 several major changes in this release of Moose.
1339 ! Moose::init_meta should now be called as a method. See the
1342 - Major performance improvements by nothingmuch.
1344 - New modules for extension writers, Moose::Exporter and
1345 Moose::Util::MetaRole by Dave Rolsky.
1347 - Lots of doc improvements and additions, especially in the
1350 - Various bug fixes.
1352 * Removed all references to the experimental-but-no-longer-needed
1353 Moose::Meta::Role::Application::ToMetaclassInstance.
1355 * Require Class::MOP 0.65.
1357 0.55_04 Sat August 30, 2008
1358 * Moose::Util::MetaRole
1359 * Moose::Cookbook::Extending::Recipe2
1360 - This simplifies the application of roles to any meta class, as
1361 well as the base object class. Reimplemented metaclass traits
1362 using this module. (Dave Rolsky)
1364 * Moose::Cookbook::Extending::Recipe1
1365 - This a new recipe, an overview of various ways to write Moose
1366 extensions (Dave Rolsky)
1368 * Moose::Cookbook::Extending::Recipe3
1369 * Moose::Cookbook::Extending::Recipe4
1370 - These used to be Extending::Recipe1 and Extending::Recipe2,
1373 0.55_03 Fri August 29, 2008
1374 * No changes from 0.55_02 except increasing the Class::MOP
1375 dependency to 0.64_07.
1377 0.55_02 Fri August 29, 2008
1378 * Makefile.PL and Moose.pm
1379 - explicitly require Perl 5.8.0+ (Dave Rolsky)
1381 * Moose::Util::TypeConstraints
1382 - Fix warnings from find_type_constraint if the type is not
1385 * Moose::Meta::TypeConstraint
1386 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
1387 return false if the type you specify cannot be found in the
1388 type registry, rather than throwing an unhelpful and
1389 coincidental exception. (t0m).
1390 - added docs & test for this (t0m)
1392 * Moose::Meta::TypeConstraint::Registry
1393 - add_type_constraint now throws an exception if a parameter is
1395 - added docs & test for this (t0m)
1397 * Moose::Cookbook::FAQ
1398 - Added a faq entry on the difference between "role" and "trait"
1402 - Fixed a bug that caused role composition to not see a required
1403 method when that method was provided by another role being
1404 composed at the same time. (Dave Rolsky)
1405 - test and bug finding (tokuhirom)
1407 0.55_01 Wed August 20, 2008
1409 !! Calling Moose::init_meta as a function is now !!
1410 !! deprecated. Please see the Moose.pm docs for details. !!
1412 * Moose::Meta::Method::Constructor
1413 - Fix inlined constructor so that values produced by default
1414 or builder methods are coerced as required. (t0m)
1415 - added test for this (t0m)
1417 * Moose::Meta::Attribute
1418 - A lazy attribute with a default or builder did not attempt to
1419 coerce the default value. The immutable code _did_
1421 - added test for this (t0m)
1424 - This is a new helper module for writing "Moose-alike"
1425 modules. This should make the lives of MooseX module authors
1426 much easier. (Dave Rolsky)
1429 * Moose::Cookbook::Meta::Recipe5
1430 - Implemented metaclass traits (and wrote a recipe for it):
1432 use Moose -traits => 'Foo'
1434 This should make writing small Moose extensions a little
1435 easier (Dave Rolsky)
1437 * Moose::Cookbook::Basics::Recipe1
1438 - Removed any examples of direct hashref access, and applied an
1439 editorial axe to reduce verbosity. (Dave Rolsky)
1441 * Moose::Cookbook::Basics::Recipe1
1442 - Also applied an editorial axe here. (Dave Rolsky)
1445 * Moose::Cookbook::Extending::Recipe1
1446 * Moose::Cookbook::Extending::Recipe2
1447 - Rewrote extending and embedding moose documentation and
1448 recipes to use Moose::Exporter (Dave Rolsky)
1452 - These two modules now warn when you load them from the main
1453 package "main" package, because we will not export sugar to
1454 main. Previously it just did nothing. (Dave Rolsky)
1457 - Now provide an init_meta method just like Moose.pm, and you
1458 can call this to provide an alternate role metaclass. (Dave
1459 Rolsky and nothingmuch)
1460 - get_method_map now respects the package cache flag (nothingmuch)
1463 - Two new methods - add_method and wrap_method_body
1467 - Optimizations including allowing constructors to accept hash
1468 refs, making many more classes immutable, and making
1469 constructors immutable. (nothingmuch)
1471 0.55 Sun August 3, 2008
1472 * Moose::Meta::Attribute
1473 - breaking down the way 'handles' methods are
1474 created so that the process can be more easily
1475 overridden by subclasses (stevan)
1477 * Moose::Meta::TypeConstraint
1478 - fixing what is passed into a ->message with
1479 the type constraints (RT #37569)
1480 - added tests for this (Charles Alderman)
1482 * Moose::Util::TypeConstraints
1483 - fix coerce to accept anon types like subtype can (mst)
1486 - reorganized the recipes into sections - Basics, Roles, Meta,
1487 Extending - and wrote abstracts for each section (Dave Rolsky)
1489 * Moose::Cookbook::Basics::Recipe10
1490 - A new recipe that demonstrates operator overloading
1491 in combination with Moose. (bluefeet)
1493 * Moose::Cookbook::Meta::Recipe1
1494 - an introduction to what meta is and why you'd want to make
1495 your own metaclass extensions (Dave Rolsky)
1497 * Moose::Cookbook::Meta::Recipe4
1498 - a very simple metaclass example (Dave Rolsky)
1500 * Moose::Cookbook::Extending::Recipe1
1501 - how to write a Moose-alike module to use your own object base
1504 * Moose::Cookbook::Extending::Recipe2
1505 - how to write modules with an API just like C<Moose.pm> (Dave
1509 - Tons of fixes, both syntactical and grammatical (Dave
1510 Rolsky, Paul Fenwick)
1512 0.54 Thurs. July 3, 2008
1513 ... this is not my day today ...
1515 * Moose::Meta::Attribute
1516 - fixed legal_options_for_inheritance such that
1517 clone_and_inherit options still works for
1518 Class::MOP::Attribute objects and therefore
1519 does not break MooseX::AttributeHelpers
1522 0.53 Thurs. July 3, 2008
1523 * Whoops, I guess I should run 'make manifest' before
1524 actually releasing the module. No actual changes
1525 in this release, except the fact that it includes
1526 the changes that I didn't include in the last
1529 0.52 Thurs. July 3, 2008
1531 - added "FEATURE REQUESTS" section to the Moose docs
1532 to properly direct people (stevan) (RT #34333)
1533 - making 'extends' croak if it is passed a Role since
1534 this is not ever something you want to do
1535 (fixed by stevan, found by obra)
1536 - added tests for this (stevan)
1539 - adding support for DOES (as in UNIVERSAL::DOES)
1541 - added test for this
1543 * Moose::Meta::Attribute
1544 - added legal_options_for_inheritance (wreis)
1545 - added tests for this (wreis)
1547 * Moose::Cookbook::Snacks::*
1548 - removed some of the unfinished snacks that should
1549 not have been released yet. Added some more examples
1550 to the 'Keywords' snack. (stevan)
1552 * Moose::Cookbook::Style
1553 - added general Moose "style guide" of sorts to the
1554 cookbook (nothingmuch) (RT #34335)
1557 - added more BUILDARGS tests (stevan)
1559 0.51 Thurs. Jun 26, 2008
1561 - add unimport so "no Moose::Role" actually does
1564 * Moose::Meta::Role::Application::ToRole
1565 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1566 order to provide its own implementation, that method still got
1567 added to the list of required methods for consumers of
1568 RoleB. Now an aliased method is only added to the list of
1569 required methods if the role doing the aliasing does not
1570 provide its own implementation. See Recipe 11 for an example
1571 of all this. (Dave Rolsky)
1572 - added tests for this
1574 * Moose::Meta::Method::Constructor
1575 - when a single argument that wasn't a hashref was provided to
1576 an immutabilized constructor, the error message was very
1577 unhelpful, as opposed to the non-immutable error. Reported by
1579 - added test for this (Dave Rolsky)
1581 * Moose::Meta::Attribute
1582 - added support for meta_attr->does("ShortAlias") (sartak)
1583 - added tests for this (sartak)
1584 - moved the bulk of the `handles` handling to the new
1585 install_delegation method (Stevan)
1588 - Added BUILDARGS, a new step in new()
1590 * Moose::Meta::Role::Application::RoleSummation
1591 - fix typos no one ever sees (sartak)
1593 * Moose::Util::TypeConstraints
1594 * Moose::Meta::TypeConstraint
1595 * Moose::Meta::TypeCoercion
1596 - Attempt to work around the ??{ } vs. threads issue
1598 - Some null_constraint optimizations
1600 0.50 Thurs. Jun 11, 2008
1601 - Fixed a version number issue by bumping all modules
1604 0.49 Thurs. Jun 11, 2008
1605 !! This version now approx. 20-25% !!
1606 !! faster with new Class::MOP 0.59 !!
1608 * Moose::Meta::Attribute
1609 - fixed how the is => (ro|rw) works with
1610 custom defined reader, writer and accessor
1612 - added docs for this (TODO).
1613 - added tests for this (Thanks to Penfold)
1614 - added the custom attribute alias for regular
1615 Moose attributes which is "Moose"
1616 - fix builder and default both being used
1621 Moose::Meta::Attribute
1623 Moose::Meta::Role::Composite
1624 Moose::Util::TypeConstraints
1625 - switched usage of reftype to ref because
1629 - changing add_package_symbol to use the new
1633 - fixed how DEMOLISHALL is called so that it
1634 can be overrided in subclasses (thanks to Sartak)
1635 - added test for this (thanks to Sartak)
1637 * Moose::Util::TypeConstraints
1638 - move the ClassName type check code to
1639 Class::MOP::is_class_loaded (thanks to Sartak)
1641 * Moose::Cookbook::Recipe11
1642 - add tests for this (thanks to tokuhirom)
1644 0.48 Thurs. May 29, 2008
1645 (early morning release engineering)--
1647 - fixing the version in Moose::Meta::Method::Destructor
1648 which was causing the indexer to choke
1650 0.47 Thurs. May 29, 2008
1651 (late night release engineering)--
1653 - fixing the version is META.yml, no functional
1654 changes in this release
1656 0.46 Wed. May 28, 2008
1657 !! This version now approx. 20-25% !!
1658 !! faster with new Class::MOP 0.57 !!
1660 * Moose::Meta::Class
1661 - some optimizations of the &initialize method
1662 since it is called so often by &meta
1664 * Moose::Meta::Class
1666 - now use the get_all_package_symbols from the
1667 updated Class::MOP, test suite is now 10 seconds
1670 * Moose::Meta::Method::Destructor
1671 - is_needed can now also be called as a class
1672 method for immutablization to check if the
1673 destructor object even needs to be created
1676 * Moose::Meta::Method::Destructor
1677 Moose::Meta::Method::Constructor
1678 - added more descriptive error message to help
1679 keep people from wasting time tracking an error
1680 that is easily fixed by upgrading.
1682 0.45 Saturday, May 24, 2008
1684 - Because of work in Class::MOP 0.57, all
1685 XS based functionality is now optional
1686 and a Pure Perl version is supplied
1687 - the CLASS_MOP_NO_XS environment variable
1688 can now be used to force non-XS versions
1690 - several of the packages have been tweaked
1691 to take care of this, mostly we added
1692 support for the package_name and name
1693 variables in all the Method metaclasses
1694 - before/around/after method modifiers now
1695 support regexp matching of names
1696 (thanks to Takatoshi Kitano)
1697 - tests added for this
1698 - NOTE: this only works for classes, it
1699 is currently not supported in roles,
1700 but, ... patches welcome
1701 - All usage of Carp::confess have been replaced
1702 by Carp::croak in the "keyword" functions since
1703 the stack trace is usually not helpful
1706 - All usage of Carp::confess have been replaced
1707 by Carp::croak in the "keyword" functions since
1708 the stack trace is usually not helpful
1709 - The 'has' keyword for roles now accepts the
1710 same array ref form that Moose.pm does
1711 (has [qw/foo bar/] => (is => 'rw', ...))
1712 - added test for this
1714 * Moose::Meta::Attribute
1715 - trigger on a ro-attribute is no longer an
1716 error, as it's useful to trigger off of the
1719 * Moose::Meta::Class
1720 - added same 'add_package_symbol' fix as in
1724 - does_role now handles non-Moose classes
1726 - added tests for this
1727 - added the 'add_method_modifier' function
1728 (thanks to Takatoshi Kitano)
1730 * Moose::Util::TypeConstraints
1731 - subtypes of parameterizable types now are
1732 themselves parameterizable types
1734 * Moose::Meta::Method::Constructor
1735 - fixed bug where trigger was not being
1736 called by the inlined immutable
1738 - added test for this (thanks to Caelum)
1740 * Moose::Meta::Role::Application::ToInstance
1741 - now uses the metaclass of the instance
1742 (if possible) to create the anon-class
1743 (thanks Jonathan Rockway)
1745 * Moose::Cookbook::Recipe22
1746 - added the meta-attribute trait recipe
1750 - fixed hash-ordering test bug that was
1751 causing occasional cpantester failures
1752 - renamed the t/000_recipe/*.t tests to be
1753 more descriptive (thanks to Sartak)
1755 0.44 Sat. May 10, 2008
1757 - made make_immutable warning cluck to
1758 show where the error is (thanks mst)
1761 - BUILDALL and DEMOLISHALL now call
1762 ->body when looping through the
1763 methods, to avoid the overloaded
1765 - fixed issue where DEMOLISHALL was
1766 eating the $@ values, and so not
1767 working correctly, it still kind of
1768 eats them, but so does vanilla perl
1769 - added tests for this
1771 * Moose::Cookbook::Recipe7
1772 - added new recipe for immutable
1773 functionality (thanks Dave Rolsky)
1775 * Moose::Cookbook::Recipe9
1776 - added new recipe for builder and
1777 lazy_build (thanks Dave Rolsky)
1779 * Moose::Cookbook::Recipe11
1780 - added new recipe for method aliasing
1781 and exclusion with Roles (thanks Dave Rolsky)
1784 - fixed Win32 test failure (thanks spicyjack)
1786 ~ removed Build.PL and Module::Build compat
1787 since Module::Install has done that.
1789 0.43 Wed. April, 30, 2008
1791 drink more coffee before
1792 doing release engineering
1794 - whoops, forgot to do the smolder tests,
1795 and we broke some of the custom meta-attr
1796 modules. This fixes that.
1798 0.42 Mon. April 28, 2008
1799 - some bad tests slipped by, nothing else
1800 changed in this release (cpantesters++)
1802 - upped the Class::MOP dependency to 0.55
1803 since we have tests which need the C3
1806 0.41 Mon. April 28, 2008
1807 ~~ numerous documentation updates ~~
1809 - Changed all usage of die to Carp::croak for better
1810 error reporting (initial patch by Tod Hagan)
1812 ** IMPORTANT NOTE **
1813 - the make_immutable keyword is now deprecated, don't
1814 use it in any new code and please fix your old code
1815 as well. There will be 2 releases, and then it will
1821 - refactored the way inner and super work to avoid
1822 any method/@ISA cache penalty (nothingmuch)
1824 * Moose::Meta::Class
1825 - fixing &new_object to make sure trigger gets the
1826 coerced value (spotted by Charles Alderman on the
1828 - added test for this
1830 * Moose::Meta::Method::Constructor
1831 - immutable classes which had non-lazy attributes were calling
1832 the default generating sub twice in the constructor. (bug
1833 found by Jesse Luehrs, fixed by Dave Rolsky)
1834 - added tests for this (Dave Rolsky)
1835 - fix typo in initialize_body method (nothingmuch)
1837 * Moose::Meta::Method::Destructor
1838 - fix typo in initialize_body method (nothingmuch)
1840 * Moose::Meta::Method::Overriden
1841 Moose::Meta::Method::Augmented
1842 - moved the logic for these into their own
1843 classes (nothingmuch)
1845 * Moose::Meta::Attribute
1846 - inherited attributes may now be extended without
1847 restriction on the type ('isa', 'does') (Sartak)
1848 - added tests for this (Sartak)
1849 - when an attribute property is malformed (such as lazy without
1850 a default), give the name of the attribute in the error
1852 - added the &applied_traits and &has_applied_traits methods
1853 to allow introspection of traits
1854 - added tests for this
1855 - moved 'trait' and 'metaclass' argument handling to here from
1857 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1858 '+foo' syntax) (nothingmuch)
1859 - added tests for this (t0m)
1862 - localize $@ inside DEMOLISHALL to avoid it
1863 eating $@ (found by Ernesto)
1864 - added test for this (thanks to Ernesto)
1866 * Moose::Util::TypeConstraints
1867 - &find_type_constraint now DWIMs when given an
1868 type constraint object or name (nothingmuch)
1869 - &find_or_create_type_constraint superseded with a number of more
1871 - find_or_create_{isa,does}_type_constraint
1872 - find_or_parse_type_constraint
1874 * Moose::Meta::TypeConstraint
1875 Moose::Meta::TypeConstraint::Class
1876 Moose::Meta::TypeConstraint::Role
1877 Moose::Meta::TypeConstraint::Enum
1878 Moose::Meta::TypeConstraint::Union
1879 Moose::Meta::TypeConstraint::Parameterized
1880 - added the &equals method for comparing two type
1881 constraints (nothingmuch)
1882 - added tests for this (nothingmuch)
1884 * Moose::Meta::TypeConstraint
1885 - add the &parents method, which is just an alias to &parent.
1886 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1888 * Moose::Meta::TypeConstraint::Class
1889 - added the class attribute for introspection purposes
1891 - added tests for this
1893 * Moose::Meta::TypeConstraint::Enum
1894 Moose::Meta::TypeConstraint::Role
1895 - broke these out into their own classes (nothingmuch)
1897 * Moose::Cookbook::Recipe*
1898 - fixed references to test file locations in the POD
1899 and updated up some text for new Moose features
1903 - Added &resolve_metaclass_alias, a helper function for finding an actual
1904 class for a short name (e.g. in the traits list)
1906 0.40 Fri. March 14, 2008
1907 - I hate Pod::Coverage
1909 0.39 Fri. March 14, 2008
1911 - documenting the use of '+name' with attributes
1912 that come from recently composed roles. It makes
1913 sense, people are using it, and so why not just
1914 officially support it.
1915 - fixing the 'extends' keyword so that it will not
1916 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1919 - added the perl -Moose=+Class::Name feature to allow
1920 monkeypatching of classes in one liners
1923 - fixing the 'apply_all_roles' keyword so that it will not
1924 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1926 * Moose::Meta::Class
1927 - added ->create method which now supports roles (thanks to jrockway)
1928 - added tests for this
1929 - added ->create_anon_class which now supports roles and caching of
1930 the results (thanks to jrockway)
1931 - added tests for this
1932 - made ->does_role a little more forgiving when it is
1933 checking a Class::MOP era metaclasses.
1935 * Moose::Meta::Role::Application::ToInstance
1936 - it is now possible to pass extra params to be used when
1937 a role is applied to an the instance (rebless_params)
1938 - added tests for this
1940 * Moose::Util::TypeConstraints
1941 - class_type now accepts an optional second argument for a
1942 custom message. POD anotated accordingly (groditi)
1943 - added tests for this
1944 - it is now possible to make anon-enums by passing 'enum' an
1945 ARRAY ref instead of the $name => @values. Everything else
1947 - added tests for this
1950 - making test for using '+name' on attributes consumed
1951 from a role, it works and makes sense too.
1953 * Moose::Meta::Attribute
1954 - fix handles so that it doesn't return nothing
1955 when the method cannot be found, not sure why
1956 it ever did this originally, this means we now
1957 have slightly better support for AUTOLOADed
1959 - added more delegation tests
1960 - adding ->does method to this so as to better
1961 support traits and their introspection.
1962 - added tests for this
1965 - localizing the Data::Dumper configurations so
1966 that it does not pollute others (RT #33509)
1967 - made ->does a little more forgiving when it is
1968 passed Class::MOP era metaclasses.
1970 0.38 Fri. Feb. 15, 2008
1971 * Moose::Meta::Attribute
1972 - fixed initializer to correctly do
1973 type checking and coercion in the
1975 - added tests for this
1978 - fixed some finicky tests (thanks to konobi)
1980 0.37 Thurs. Feb. 14, 2008
1982 - fixed some details in Moose::init_meta
1983 and its superclass handling (thanks thepler)
1984 - added tests for this (thanks thepler)
1985 - 'has' now dies if you don't pass in name
1987 - added the 'make_immutable' keyword as a shortcut
1990 * Moose::Meta::Class
1991 Moose::Meta::Method::Constructor
1992 Moose::Meta::Attribute
1993 - making (init_arg => undef) work here too
1994 (thanks to nothingmuch)
1996 * Moose::Meta::Attribute
1997 Moose::Meta::Method::Constructor
1998 Moose::Meta::Method::Accessor
1999 - make lazy attributes respect attr initializers (rjbs)
2000 - added tests for this
2002 * Moose::Util::TypeConstraints
2003 Moose::Util::TypeConstraints::OptimizedConstraints
2004 Moose::Meta::TypeConstraints
2005 Moose::Meta::Attribute
2006 Moose::Meta::Method::Constructor
2007 Moose::Meta::Method::Accessor
2008 - making type errors use the
2009 assigned message (thanks to Sartak)
2010 - added tests for this
2012 * Moose::Meta::Method::Destructor
2013 - making sure DESTROY gets inlined properly
2014 with successive DEMOLISH calls (thanks to manito)
2016 * Moose::Meta::Attribute
2017 Moose::Meta::Method::Accessor
2018 - fixed handling of undef with type constraints
2020 - added tests for this
2023 - added &get_all_init_args and &get_all_attribute_values
2024 (thanks to Sartak and nothingmuch)
2026 0.36 Sat. Jan. 26, 2008
2028 Moose::Meta::Attribute
2029 - role type tests now support when roles are
2030 applied to non-Moose classes (found by ash)
2031 - added tests for this (thanks to ash)
2032 - couple extra tests to boost code coverage
2034 * Moose::Meta::Method::Constructor
2035 - improved fix for handling Class::MOP attributes
2036 - added test for this
2038 * Moose::Meta::Class
2039 - handled the add_attribute($attribute_meta_object)
2041 - added test for this
2043 0.35 Tues. Jan. 22, 2008
2044 * Moose::Meta::Method::Constructor
2045 - fix to make sure even Class::MOP attributes
2046 are handled correctly (Thanks to Dave Rolsky)
2047 - added test for this (also Dave Rolsky)
2049 * Moose::Meta::Class
2050 - improved error message on _apply_all_roles,
2051 you should now use Moose::Util::apply_all_roles
2052 and you shouldnt have been using a _ prefixed
2053 method in the first place ;)
2055 0.34 Mon. Jan. 21, 2008
2056 ~~~ more misc. doc. fixes ~~~
2057 ~~ updated copyright dates ~~
2059 Moose is now a postmodern object system :)
2060 - (see the POD for details)
2062 * <<Role System Refactoring>>
2063 - this release contains a major reworking and
2064 cleanup of the role system
2065 - 100% backwards compat.
2066 - Role application now restructured into seperate
2067 classes based on type of applicants
2068 - Role summation (combining of more than one role)
2069 is much cleaner and anon-classes are no longer
2070 used in this process
2071 - new Composite role metaclass
2072 - runtime application of roles to instances
2073 is now more efficient and re-uses generated
2074 classes when applicable
2076 * <<New Role composition features>>
2077 - methods can now be excluded from a given role
2079 - methods can now be aliased to another name (and
2080 still retain the original as well)
2082 * Moose::Util::TypeConstraints::OptimizedConstraints
2083 - added this module (see above)
2085 * Moose::Meta::Class
2086 - fixed the &_process_attribute method to be called
2087 by &add_attribute, so that the API is now correct
2089 * Moose::Meta::Method::Accessor
2090 - fixed bug when passing a list of values to
2091 an accessor would get (incorrectly) ignored.
2092 Thanks to Sartak for finding this ;)
2093 - added tests for this (Sartak again)
2095 * Moose::Meta::Method::Accessor
2096 Moose::Meta::Method::Constructor
2097 Moose::Meta::Attribute
2098 Moose::Meta::TypeConstraint
2099 Moose::Meta::TypeCoercion
2100 - lots of cleanup of such things as:
2102 - type constraint handling
2103 - error handling/messages
2104 (thanks to nothingmuch)
2106 * Moose::Meta::TypeConstraint::Parameterizable
2107 - added this module to support the refactor
2108 in Moose::Meta::TypeConstraint::Parameterized
2110 * Moose::Meta::TypeConstraint::Parameterized
2111 - refactored how these types are handled so they
2112 are more generic and not confined to ArrayRef
2116 - shortened some file names for better VMS support (RT #32381)
2118 0.33 Fri. Dec. 14, 2007
2119 !! Moose now loads 2 x faster !!
2120 !! with new Class::MOP 0.49 !!
2122 ++ new oose.pm module to make command line
2123 Moose-ness easier (see POD docs for more)
2125 * Moose::Meta::Class
2127 - several tweaks to take advantage of the
2128 new method map caching in Class::MOP
2130 * Moose::Meta::TypeConstraint::Parameterized
2131 - allow subtypes of ArrayRef and HashRef to
2132 be used as a container (sartak)
2133 - added tests for this
2134 - basic support for coercion to ArrayRef and
2135 HashRef for containers (sartak)
2136 - added tests for this
2138 * Moose::Meta::TypeCoercion
2139 - coercions will now create subtypes as needed
2140 so you can now add coercions to parameterized
2141 types without having to explictly define them
2142 - added tests for this
2144 * Moose::Meta::Method::Accessor
2145 - allow subclasses to decide whether we need
2146 to copy the value into a new variable (sartak)
2148 0.32 Tues. Dec. 4, 2007
2149 * Moose::Util::TypeConstraints
2150 - fixing how subtype aliases of unions work
2151 they should inherit the parent's coercion
2152 - added tests for this
2153 - you can now define multiple coercions on
2154 a single type at different times instead of
2155 having to do it all in one place
2156 - added tests for this
2158 * Moose::Meta::TypeConstraint
2159 - there is now a default constraint of sub { 1 }
2160 instead of Moose::Util::TypeConstraints setting
2163 * Moose::Meta::TypeCoercion
2164 * Moose::Meta::TypeCoercion::Union
2165 - added the &has_coercion_for_type and
2166 &add_type_coercions methods to support the
2167 new features above (although you cannot add
2168 more type coercions for Union types)
2170 0.31 Mon. Nov. 26, 2007
2171 * Moose::Meta::Attribute
2172 - made the +attr syntax handle extending types with
2173 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
2174 now works if the original foo is an ArrayRef.
2175 - added tests for this.
2176 - delegation now works even if the attribute does not
2177 have a reader method using the get_read_method_ref
2178 method from Class::MOP::Attribute.
2179 - added tests for this
2180 - added docs for this
2182 * Moose::Util::TypeConstraints
2183 - passing no "additional attribute info" to
2184 &find_or_create_type_constraint will no longer
2185 attempt to create an __ANON__ type for you,
2186 instead it will just return undef.
2187 - added docs for this
2189 0.30 Fri. Nov. 23, 2007
2190 * Moose::Meta::Method::Constructor
2191 -builder related bug in inlined constructor. (groditi)
2193 * Moose::Meta::Method::Accessor
2194 - genereate unnecessary calls to predicates and refactor
2195 code generation for runtime speed (groditi)
2197 * Moose::Util::TypeConstraints
2198 - fix ClassName constraint to introspect symbol table (mst)
2199 - added more tests for this (mst)
2200 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
2201 with work correctly.
2202 - added tests for this
2205 - adding the link to Recipie 11 (written by Sartak)
2206 - adding test for SYNOPSIS code
2209 - New tests for builder bug. Upon instantiation, if an
2210 attribute had a builder, no value and was not lazy the
2211 builder default was not getting run, oops. (groditi)
2213 0.29 Tues. Nov. 13, 2007
2214 * Moose::Meta::Attribute
2215 - Fix error message on missing builder method (groditi)
2217 * Moose::Meta::Method::Accessor
2218 - Fix error message on missing builder method (groditi)
2221 - Add test to check for the correct error message when
2222 builder method is missing (groditi)
2224 0.28 Tues. Nov. 13, 2007
2225 - 0.27 packaged incorrectly (groditi)
2227 0.27 Tues. Nov. 13, 2007
2228 * Moose::Meta::Attribute
2229 - Added support for the new builder option (groditi)
2230 - Added support for lazy_build option (groditi)
2231 - Changed slot initialization for predicate changes (groditi)
2233 * Moose::Meta::Method::Accessor
2234 - Added support for lazy_build option (groditi)
2235 - Fix inline methods to work with corrected predicate
2238 * Moose::Meta::Method::Constructor
2239 - Added support for lazy_build option (groditi)
2242 - tests for builder and lazy_build (groditi)
2244 * fixing some misc. bits in the docs that
2245 got mentioned on CPAN Forum & perlmonks
2248 - fixed how required methods are handled
2249 when they encounter overriden or modified
2250 methods from a class (thanks to confound).
2251 - added tests for this
2253 * Moose::Util::TypeConstraint
2254 - fixed the type notation parser so that
2255 the | always creates a union and so is
2256 no longer a valid type char (thanks to
2257 konobi, mugwump and #moose for working
2259 - added more tests for this
2261 0.26 Thurs. Sept. 27, 2007
2264 * Parameterized Types
2265 We now support parameterized collection types, such as:
2266 ArrayRef[Int] # array or integers
2267 HashRef[Object] # a hash with object values
2268 They can also be nested:
2269 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
2270 And work with the type unions as well:
2271 ArrayRef[Int | Str] # array of integers of strings
2273 * Better Framework Extendability
2274 Moose.pm is now "extendable" such that it is now much
2275 easier to extend the framework and add your own keywords
2276 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
2277 section of the Moose.pm docs.
2280 In an effort to begin documenting some of the various
2281 details of Moose as well as some common idioms, we have
2282 created Moose::Cookbook::Snacks as a place to find
2283 small (easily digestable) nuggets of Moose code.
2286 ~ Several doc updates/cleanup thanks to castaway ~
2288 - converted build system to use Module::Install instead of
2289 Module::Build (thanks to jrockway)
2292 - added all the meta classes to the immutable list and
2293 set it to inline the accessors
2294 - fix import to allow Sub::Exporter like { into => }
2295 and { into_level => } (perigrin)
2296 - exposed and documented init_meta() to allow better
2297 embedding and extending of Moose (perigrin)
2300 - complete re-organization of the test suite
2301 - added some new tests as well
2302 - finally re-enabled the Moose::POOP test since
2303 the new version of DBM::Deep now works again
2306 * Moose::Meta::Class
2307 - fixed very odd and very nasty recursion bug with
2309 - added tests for this (eilara)
2311 * Moose::Meta::Attribute
2312 Moose::Meta::Method::Constructor
2313 Moose::Meta::Method::Accessor
2314 - fixed issue with overload::Overloaded getting called
2315 on non-blessed items. (RT #29269)
2316 - added tests for this
2318 * Moose::Meta::Method::Accessor
2319 - fixed issue with generated accessor code making
2320 assumptions about hash based classes (thanks to dexter)
2322 * Moose::Coookbook::Snacks
2323 - these are bits of documentation, not quite as big as
2324 Recipes but which have no clear place in the module docs.
2325 So they are Snacks! (horray for castaway++)
2327 * Moose::Cookbook::Recipe4
2328 - updated it to use the new ArrayRef[MyType] construct
2329 - updated the accompanying test as well
2331 +++ Major Refactor of the Type Constraint system +++
2332 +++ with new features added as well +++
2334 * Moose::Util::TypeConstraint
2335 - no longer uses package variable to keep track of
2336 the type constraints, now uses the an instance of
2337 Moose::Meta::TypeConstraint::Registry to do it
2338 - added more sophisticated type notation parsing
2340 - added tests for this
2342 * Moose::Meta::TypeConstraint
2343 - some minor adjustments to make subclassing easier
2344 - added the package_defined_in attribute so that we
2345 can track where the type constraints are created
2347 * Moose::Meta::TypeConstraint::Union
2348 - this is now been refactored to be a subclass of
2349 Moose::Meta::TypeConstraint
2351 * Moose::Meta::TypeCoercion::Union
2352 - this has been added to service the newly refactored
2353 Moose::Meta::TypeConstraint::Union and is itself
2354 a subclass of Moose::Meta::TypeCoercion
2356 * Moose::Meta::TypeConstraint::Parameterized
2357 - added this module (taken from MooseX::AttributeHelpers)
2358 to help construct nested collection types
2359 - added tests for this
2361 * Moose::Meta::TypeConstraint::Registry
2362 - added this class to keep track of type constraints
2364 0.25 Mon. Aug. 13, 2007
2366 - Documentation update to reference Moose::Util::TypeConstraints
2367 under 'isa' in 'has' for how to define a new type
2368 (thanks to shlomif).
2370 * Moose::Meta::Attribute
2371 - required attributes now will no longer accept undef
2372 from the constructor, even if there is a default and lazy
2373 - added tests for this
2374 - default subroutines must return a value which passes the
2376 - added tests for this
2378 * Moose::Meta::Attribute
2379 * Moose::Meta::Method::Constructor
2380 * Moose::Meta::Method::Accessor
2381 - type-constraint tests now handle overloaded objects correctly
2382 in the error message
2383 - added tests for this (thanks to EvanCarroll)
2385 * Moose::Meta::TypeConstraint::Union
2386 - added (has_)hand_optimized_constraint to this class so that
2387 it behaves as the regular Moose::Meta::TypeConstraint does.
2390 - large refactoring of this code
2391 - added several more tests
2392 - tests for subtle conflict resolition issues
2393 added, but not currently running
2396 * Moose::Cookbook::Recipe7
2397 - added new recipe for augment/inner functionality
2399 - added test for this
2402 - a formal definition of roles (still in progress)
2405 - utilities for easier working with Moose classes
2406 - added tests for these
2409 - This contains Moose specific test functions
2410 - added tests for these
2412 0.24 Tues. July 3, 2007
2413 ~ Some doc updates/cleanup ~
2415 * Moose::Meta::Attribute
2416 - added support for roles to be given as parameters
2417 to the 'handles' option.
2418 - added tests and docs for this
2419 - the has '+foo' attribute form now accepts changes to
2420 the lazy option, and the addition of a handles option
2421 (but not changing the handles option)
2422 - added tests and docs for this
2425 - required methods are now fetched using find_method_by_name
2426 so that required methods can come from superclasses
2427 - adjusted tests for this
2429 0.23 Mon. June 18, 2007
2430 * Moose::Meta::Method::Constructor
2431 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
2432 * Moose::Meta::Class
2433 - Modify make_immutable to work with the new Class::MOP immutable
2434 mechanism + POD + very basic test (groditi)
2435 * Moose::Meta::Attribute
2436 - Fix handles to use goto() so that caller() comes out properly on
2437 the other side (perigrin)
2439 0.22 Thurs. May 31, 2007
2440 * Moose::Util::TypeConstraints
2441 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
2442 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
2443 prototypes for functions
2444 - added the ClassName type constraint, this checks for strings
2445 which will respond true to ->isa(UNIVERSAL).
2446 - added tests and docs for this
2447 - subtyping just in name now works correctly by making the
2448 default for where be { 1 }
2449 - added test for this
2451 * Moose::Meta::Method::Accessor
2452 - coerce and lazy now work together correctly, thanks to
2453 merlyn for finding this bug
2454 - tests added for this
2455 - fix reader presedence bug in Moose::Meta::Attribute + tests
2458 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
2459 a HASH-ref and missed. This produces better error messages then
2460 having it die cause undef is not a HASH.
2461 - added tests for this
2463 0.21 Thursday, May 2nd, 2007
2465 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
2466 - modified unimport to remove super and inner along with the rest
2467 - altered unimport tests to handle this
2470 - altered super export to populate SUPER_SLOT
2472 * Moose::Meta::Class
2473 - altered augment and override modifier application to use *_SLOT
2474 - modified tests for these to unimport one test class each to test
2477 - fixed issue where custom attribute metaclasses
2478 where not handled correctly in roles
2479 - added tests for this
2481 * Moose::Meta::Class
2482 - fixed issue where extending metaclasses with
2483 roles would blow up. Thanks to Aankhen`` for
2484 finding this insidious error, and it's solution.
2486 ~~ lots of spelling and grammer fixes in the docs,
2487 many many thanks to rlb3 and Aankhen for these :)
2489 0.20 Friday, April 6th, 2007
2490 >> I messed up the SKIP logic in one test
2491 so this release is just to fix that.
2494 - 'has' now also accepts an ARRAY ref
2495 to create multiple attrs (see docs)
2496 (thanks to konobi for this)
2497 - added tests and docs
2499 0.19 Thurs. April 5th, 2007
2500 ~~ More documentation updates ~~
2502 * Moose::Util::TypeConstraints
2503 - 'type' now supports messages as well
2504 thanks to phaylon for finding this
2505 - added tests for this
2506 - added &list_all_type_constraints and
2507 &list_all_builtin_type_constraints
2508 functions to facilitate introspection.
2510 * Moose::Meta::Attribute
2511 - fixed regexp 'handles' declarations
2512 to build the list of delegated methods
2513 correctly (and not override important
2514 things like &new) thanks to ashleyb
2516 - added tests and docs for this
2517 - added the 'documentation' attributes
2518 so that you can actually document your
2519 attributes and inspect them through the
2521 - added tests and docs for this
2523 * Moose::Meta::Class
2524 - when loading custom attribute metaclasses
2525 it will first look in for the class in the
2526 Moose::Meta::Attribute::Custom::$name, and
2527 then default to just loading $name.
2528 - added tests and docs for this
2530 * Moose::Meta::TypeConstraint
2531 - type constraints now stringify to their names.
2532 - added test for this
2535 - added tests to assure we work with Module::Refresh
2536 - added stricter test skip logic in the Moose POOP
2537 test, ask Rob Kinyon why.
2538 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
2540 0.18 Sat. March 10, 2007
2541 ~~ Many, many documentation updates ~~
2544 - We now use Class::MOP::load_class to
2546 - added tests to show types and subtypes
2547 working with Declare::Constraints::Simple
2548 and Test::Deep as constraint engines.
2551 !! You must have Class::MOP 0.37_001 !!
2552 !! for this developer release to work !!
2554 This release was primarily adding the immutable
2555 feature to Moose. An immutable class is one which
2556 you promise not to alter. When you set the class
2557 as immutable it will perform various bits of
2558 memoization and inline certain part of the code
2559 (constructors, destructors and accessors). This
2560 minimizes (and in some cases totally eliminates)
2561 one of Moose's biggest performance hits. This
2562 feature is not on by default, and is 100% optional.
2563 It has several configurable bits as well, so you
2564 can pick and choose to your specific needs.
2566 The changes involved in this were fairly wide and
2567 highly specific, but 100% backwards compatible, so
2568 I am not going to enumerate them here. If you are
2569 truely interested in what was changed, please do
2572 0.17 Tues. Nov. 14, 2006
2573 * Moose::Meta::Method::Accessor
2574 - bugfix for read-only accessors which
2575 are have a type constraint and lazy.
2576 Thanks to chansen for finding it.
2578 0.16 Tues. Nov. 14, 2006
2580 There are some speed improvements in this release,
2581 but they are only the begining, so stay tuned.
2584 - BUILDALL and DEMOLISHALL no longer get
2585 called unless they actually need to be.
2586 This gave us a signifigant speed boost
2587 for the cases when there is no BUILD or
2588 DEMOLISH method present.
2590 * Moose::Util::TypeConstraints
2591 * Moose::Meta::TypeConstraint
2592 - added an 'optimize_as' option to the
2593 type constraint, which allows for a
2594 hand optimized version of the type
2595 constraint to be used when possible.
2596 - Any internally created type constraints
2597 now provide an optimized version as well.
2599 0.15 Sun. Nov. 5, 2006
2601 This version of Moose *must* have Class::MOP 0.36 in order
2602 to work correctly. A number of small internal tweaks have
2603 been made in order to be compatible with that release.
2605 * Moose::Util::TypeConstraints
2606 - added &unimport so that you can clean out
2607 your class namespace of these exported
2610 * Moose::Meta::Class
2611 - fixed minor issue which occasionally
2612 comes up during global destruction
2614 - moved Moose::Meta::Method::Overriden into
2618 - moved Moose::Meta::Role::Method into
2621 * Moose::Meta::Attribute
2622 - changed how we do type checks so that
2623 we reduce the overall cost, but still
2626 - moved accessor generation methods to
2627 Moose::Meta::Method::Accessor to
2628 conform to the API changes from
2631 * Moose::Meta::TypeConstraint
2632 - changed how constraints are compiled
2633 so that we do less recursion and more
2634 iteration. This makes the type check
2636 - moved Moose::Meta::TypeConstraint::Union
2639 * Moose::Meta::Method::Accessor
2640 - created this from methods formerly found in
2641 Moose::Meta::Attribute
2643 * Moose::Meta::Role::Method
2644 - moved this from Moose::Meta::Role
2646 * Moose::Meta::Method::Overriden
2647 - moved this from Moose::Meta::Class
2649 * Moose::Meta::TypeConstraint::Union
2650 - moved this from Moose::Meta::TypeConstraint
2652 0.14 Mon. Oct. 9, 2006
2654 * Moose::Meta::Attribute
2655 - fixed lazy attributes which were not getting
2656 checked with the type constraint (thanks ashley)
2657 - added tests for this
2658 - removed the over-enthusiastic DWIMery of the
2659 automatic ArrayRef and HashRef defaults, it
2660 broke predicates in an ugly way.
2661 - removed tests for this
2663 0.13 Sat. Sept. 30, 2006
2665 This version of Moose *must* have Class::MOP 0.35 in order
2666 to work correctly. A number of small internal tweaks have
2667 been made in order to be compatible with that release.
2670 - Removed the use of UNIVERSAL::require to be a better
2671 symbol table citizen and remove a dependency
2672 (thanks Adam Kennedy)
2674 **~~ removed experimental & undocumented feature ~~**
2675 - commented out the 'method' and 'self' keywords, see the
2676 comments for more info.
2679 - added a FAQ and WTF files to document frequently
2680 asked questions and common problems
2682 * Moose::Util::TypeConstraints
2683 - added GlobRef and FileHandle type constraint
2684 - added tests for this
2686 * Moose::Meta::Attribute
2687 - if your attribute 'isa' ArrayRef of HashRef, and you have
2688 not explicitly set a default, then make the default DWIM.
2689 This will also work for subtypes of ArrayRef and HashRef
2691 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2692 - new test added for this (thanks to ashley)
2695 - added basic support for runtime role composition
2696 but this is still *highly experimental*, so feedback
2697 is much appreciated :)
2698 - added tests for this
2700 * Moose::Meta::TypeConstraint
2701 - the type constraint now handles the coercion process
2702 through delegation, this is to support the coercion
2705 * Moose::Meta::TypeConstraint::Union
2706 - it is now possible for coercions to be performed
2708 - added tests for this (thanks to konobi)
2710 * Moose::Meta::TypeCoercion
2711 - properly capturing error when type constraint
2715 - Scalar::Util 1.18 is bad on Win32, so temporarily
2716 only require version 1.17 for Win32 and cygwin.
2717 (thanks Adam Kennedy)
2719 0.12 Sat. Sept. 1, 2006
2721 - Recipe5 (subtypes & coercion) has been written
2724 - fixed "bad meta" error message to be more descriptive
2725 - fixed &unimport to not remove the &inner and &super
2726 keywords because we need to localize them.
2727 - fixed number of spelling/grammer issues, thanks Theory :)
2729 **~~ experimental & undocumented feature ~~**
2730 - added the method and self keywords, they are basically
2731 just sugar, and they may not stay around.
2734 - added &dump method to easily Data::Dumper
2737 * Moose::Meta::TypeConstraint
2738 - added the &is_a_type_of method to check both the current
2739 and the subtype of a method (similar to &isa with classes)
2742 - this is now a subclass of Class::MOP::Module, and no longer
2743 creates the _role_meta ugliness of before.
2744 - fixed tests to reflect this change
2746 0.11 Wed. July 12, 2006
2748 - added an &unimport method to remove all the keywords
2749 that Moose will import, simply add 'no Moose' to the
2750 bottom of your class file.
2753 - fixed some test failures caused by a forgotten test
2756 0.10 Thurs. July 6, 2006
2758 - improved error message when loading modules so
2759 it is less confusing when you load a role.
2760 - added &calculate_all_roles method to
2761 Moose::Meta::Class and Moose::Meta::Role
2764 This module has been tested against Class::MOP 0.30
2765 but it does not yet utilize the optimizations
2766 it makes available. Stay tuned for that ;)
2768 0.09_03 Fri. June 23, 2006
2769 ++ DEVELOPER RELEASE ++
2771 - 'use strict' and 'use warnings' are no longer
2772 needed in Moose classes, Moose itself will
2773 turn them on for you.
2774 - added tests for this
2775 - moved code from exported subs to private methods
2776 in Moose::Meta::Class
2779 - as with Moose, strict and warnings are
2780 automatically turned on for you.
2781 - added tests for this
2784 - now handles an edge case for override errors
2785 - added tests for this
2786 - added some more edge case tests
2788 0.09_02 Tues. May 16, 2006
2789 ++ DEVELOPER RELEASE ++
2791 - added prototypes to the exported subs
2795 - added prototypes to the exported subs
2798 * Moose::Util::TypeConstraints
2799 - cleaned up prototypes for the subs
2802 0.09_01 Fri. May 12, 2006
2803 ++ DEVELOPER RELEASE ++
2804 - This release works in combination with
2805 Class::MOP 0.29_01, it is a developer
2806 release because it uses the a new
2807 instance sub-protocol and a fairly
2808 complete Role implementation. It has
2809 not yet been optimized, so it slower
2810 the the previous CPAN version. This
2811 release also lacks good updated docs,
2812 the official release will have updated docs.
2815 - refactored the keyword exports
2816 - 'with' now checks Role validaity and
2817 accepts more than one Role at a time
2818 - 'extends' makes metaclass adjustments as
2819 needed to ensure metaclass compatibility
2822 - refactored the keyword exports
2823 - 'with' now checks Role validaity and
2824 accepts more than one Role at a time
2826 * Moose::Util::TypeConstraints
2827 - added the 'enum' keyword for simple
2828 string enumerations which can be used as
2830 - see example of usage in t/202_example.t
2833 - more careful checking of params to new()
2836 - much work done on the role composition
2837 - many new tests for conflict detection
2838 and composition edge cases
2839 - not enough documentation, I suggest
2840 looking at the tests
2842 * Moose::Meta::Instance
2843 - added new Instance metaclass to support
2844 the new Class::MOP instance protocol
2846 * Moose::Meta::Class
2847 - some small changes to support the new
2849 - some small additions to support Roles
2851 * Moose::Meta::Attribute
2852 - some improvements to the accessor generation code
2854 - some small changes to support the new
2856 - (still somewhat) experimental delegation support
2857 with the 'handles' option
2858 - added several tests for this
2859 - no docs for this yet
2861 0.05 Thurs. April 27, 2006
2863 - keywords are now exported with Sub::Exporter
2864 thanks to chansen for this commit
2865 - has keyword now takes a 'metaclass' option
2866 to support custom attribute meta-classes
2867 on a per-attribute basis
2868 - added tests for this
2869 - the 'has' keyword not accepts inherited slot
2870 specifications (has '+foo'). This is still an
2871 experimental feature and probably not finished
2872 see t/038_attribute_inherited_slot_specs.t for
2873 more details, or ask about it on #moose
2874 - added tests for this
2877 - keywords are now exported with Sub::Exporter
2879 * Moose::Utils::TypeConstraints
2880 - reorganized the type constraint hierarchy, thanks
2881 to nothingmuch and chansen for his help and advice
2883 - added some tests for this
2884 - keywords are now exported with Sub::Exporter
2885 thanks to chansen for this commit
2887 * Moose::Meta::Class
2888 - due to changes in Class::MOP, we had to change
2889 construct_instance (for the better)
2891 * Moose::Meta::Attribute
2892 - due to changes in Class::MOP, we had to add the
2893 initialize_instance_slot method (it's a good thing)
2895 * Moose::Meta::TypeConstraint
2896 - added type constraint unions
2897 - added tests for this
2898 - added the is_subtype_of predicate method
2899 - added tests for this
2901 0.04 Sun. April 16th, 2006
2903 - Roles can now consume other roles
2904 - added tests for this
2905 - Roles can specify required methods now with
2906 the requires() keyword
2907 - added tests for this
2910 - ripped out much of it's guts ,.. much cleaner now
2911 - added required methods and correct handling of
2912 them in apply() for both classes and roles
2913 - added tests for this
2914 - no longer adds a does() method to consuming classes
2915 it relys on the one in Moose::Object
2916 - added roles attribute and some methods to support
2917 roles consuming roles
2919 * Moose::Meta::Attribute
2920 - added support for triggers on attributes
2921 - added tests for this
2922 - added support for does option on an attribute
2923 - added tests for this
2925 * Moose::Meta::Class
2926 - added support for attribute triggers in the
2928 - added tests for this
2931 - Moose no longer creates a subtype for your class
2932 if a subtype of the same name already exists, this
2933 should DWIM in 99.9999% of all cases
2935 * Moose::Util::TypeConstraints
2936 - fixed bug where incorrect subtype conflicts were
2938 - added test for this
2941 - this class can now be extended with 'use base' if
2942 you need it, it properly loads the metaclass class now
2943 - added test for this
2945 0.03_02 Wed. April 12, 2006
2947 - you must now explictly use Moose::Util::TypeConstraints
2948 it no longer gets exported for you automatically
2951 - new() now accepts hash-refs as well as key/value lists
2952 - added does() method to check for Roles
2953 - added tests for this
2955 * Moose::Meta::Class
2956 - added roles attribute along with the add_role() and
2958 - added tests for this
2961 - now adds a does() method to consuming classes
2962 which tests the class's hierarchy for roles
2963 - added tests for this
2965 0.03_01 Mon. April 10, 2006
2967 - added new Role recipe (no content yet, only code)
2970 - added 'with' keyword for Role support
2971 - added test and docs for this
2972 - fixed subtype quoting bug
2973 - added test for this
2977 - added test and docs
2979 * Moose::Util::TypeConstraints
2980 - added the message keyword to add custom
2981 error messages to type constraints
2984 - the meta role to support Moose::Role
2985 - added tests and docs
2987 * Moose::Meta::Class
2988 - moved a number of things from Moose.pm
2989 to here, they should have been here
2992 * Moose::Meta::Attribute
2993 - moved the attribute option macros here
2994 instead of putting them in Moose.pm
2996 * Moose::Meta::TypeConstraint
2997 - added the message attributes and the
2999 - added tests and docs for this
3001 0.03 Thurs. March 30, 2006
3003 - added the Moose::Cookbook with 5 recipes,
3004 describing all the stuff Moose can do.
3007 - fixed an issue with &extends super class loading
3008 it now captures errors and deals with inline
3009 packages correctly (bug found by mst, solution
3011 - added super/override & inner/augment features
3012 - added tests and docs for these
3015 - BUILDALL now takes a reference of the %params
3016 that are passed to &new, and passes that to
3019 * Moose::Util::TypeConstraints
3020 - Type constraints now survive runtime reloading
3021 - added test for this
3023 * Moose::Meta::Class
3024 - fixed the way attribute defaults are handled
3025 during instance construction (bug found by chansen)
3027 * Moose::Meta::Attribute
3028 - read-only attributes now actually enforce their
3029 read-only-ness (this corrected in Class::MOP as
3032 0.02 Tues. March 21, 2006
3034 - many more tests, fixing some bugs and
3036 - &extends now loads the base module with
3038 - added UNIVERSAL::require to the
3041 - each new Moose class will also create
3042 and register a subtype of Object which
3043 correspond to the new Moose class.
3044 - the 'isa' option in &has now only
3045 accepts strings, and will DWIM in
3048 * Moose::Util::TypeConstraints
3049 - added type coercion features
3050 - added tests for this
3051 - added support for this in attributes
3052 and instance construction
3054 - type construction no longer creates a
3055 function, it registers the type instead.
3056 - added several functions to get the
3060 - BUILDALL and DEMOLISHALL were broken
3061 because of a mis-named hash key, Whoops :)
3063 * Moose::Meta::Attribute
3064 - adding support for coercion in the
3065 autogenerated accessors
3067 * Moose::Meta::Class
3068 - adding support for coercion in the
3069 instance construction
3071 * Moose::Meta::TypeConstraint
3072 * Moose::Meta::TypeCoercion
3073 - type constraints and coercions are now
3074 full fledges meta-objects
3076 0.01 Wed. March 15, 2006
3077 - Moooooooooooooooooose!!!