1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
8 * Stop the natatime method provided by the native Array trait from returning
9 an exhausted iterator when being called with a callback. (Florian Ragwitz)
11 * Make Moose::Meta::TypeConstraint::Class correctly reject RegexpRefs.
14 * Calling is_subtype_of on a Moose::Meta::TypeConstraint::Class with itself or
15 the class the TC represents as an argument incorrectly returned true. This
16 behavior is correct for is_type_of, not is_subtype_of. (Guillermo Roditi)
18 * Use File::Temp for temp files created during tests. Previously, files were
19 written to the t/ dir, which could cause problems of the user running the
20 tests did not have write access to that directory.. (Chris Weyl, Ævar
23 * Pass role arguments along when applying roles to instances. (doy, lsm)
25 1.01 Fri, Mar 26, 2010
29 * The handles option now also accepts a role type constraint in addition to a
30 plain role name. (Florian Ragwitz)
34 * Record the Sartak/doy debt properly in Changes (perigrin)
36 1.00 Tue, Mar 25, 2010
40 * Moose::Meta::Attribute::Native::Trait::Code no longer creates reader
41 methods by default. (Florian Ragwitz)
45 * Improve various parts of the documentation and fix many typos.
46 (Dave Rolsky, Mateu Hunter, Graham Knop, Robin V, Jay Hannah, Jesse Luehrs)
50 * Paid the $10 debt to doy from 0.80 Sat, Jun 6, 2009 (Sartak)
56 * New method find_type_for in Moose::Meta::TypeConstraint::Union, for finding
57 which member of the union a given value validates for. (Cory Watson)
61 * DEMOLISH methods in mutable subclasses of immutable classes are now called
62 properly (Chia-liang Kao, Jesse Luehrs)
66 * Added Moose::Manual::Support that defines the support, compatiblity, and
67 release policies for Moose. (Chris Prather)
69 0.98 Wed, Feb 10, 2010
73 * An internals change in 0.97 broke role application to an instance in some
74 cases. The bug occurred when two different roles were applied to different
75 instances of the same class. (Rafael Kitover)
82 * Calling ->reinitialize on a cached anonymous class effectively uncached
83 the metaclass object, causing the metaclass to go out of scope
84 unexpectedly. This could easily happen at a distance by applying a
85 metarole to an anonymous class. (Dave Rolsky).
91 * ScalarRef is now a parameterized type. You can now specify a type
92 constraint for whatever the reference points to. (Closes RT#50857)
93 (Michael G. Schwern, Florian Ragwitz)
97 * ScalarRef now accepts references to other references. (Closes RT#50934)
100 0.95 Thu, Feb 4, 2010
104 * Moose::Meta::Attribute::Native::Trait::Code now provides execute_method as
105 a delegation option. This allows the code reference to be called as a
106 method on the object. (Florian Ragwitz)
110 * Moose::Object::does no longer checks the entire inheritance tree, since
111 Moose::Meta::Class::does_role already does this. (doy)
113 * Moose::Util::add_method_modifier (and subsequently the sugar functions
114 Moose::before, Moose::after, and Moose::around) can now accept arrayrefs,
115 with the same behavior as lists. Types other than arrayref and regexp
116 result in an error. (Dylan Hardison)
118 0.94 Mon, Jan 18, 2010
122 * Please see the changes listed for 0.93_01 and Moose::Manual::Delta.
126 * Improved support for anonymous roles by changing various APIs to take
127 Moose::Meta::Role objects as well as role names. This included
129 - Moose::Meta::Class->does_role
130 - Moose::Meta::Role->does_role
131 - Moose::Util::does_role
132 - Moose::Util::apply_all_roles
133 - Moose::Util::ensure_all_roles
134 - Moose::Util::search_class_by_role
136 Requested by Shawn Moore. Addresses RT #51143 (and then some). (Dave Rolsky)
140 * Fix handling of non-alphanumeric attributes names like '@foo'. This should
141 work as long as the accessor method names are explicitly set to valid Perl
142 method names. Reported by Doug Treder. RT #53731. (Dave Rolsky)
145 0.93_03 Tue, Jan 5, 2010
149 * Portability fixes to our XS code so we compile with 5.8.8 and Visual
150 C++. Fixes RT #53391. Reported by Taro Nishino. (rafl)
153 0.93_02 Tue, Jan 5, 2010
157 * Depend on Class::MOP 0.97_01 so we can get useful results from CPAN
158 testers. (Dave Rolsky)
161 0.93_01 Mon, Jan 4, 2010
165 See Moose::Manual::Delta for more details on backwards compatiblity issues.
167 * Role attributes are now objects of the Moose::Meta::Role::Attribute
168 class. (Dave Rolsky).
170 * There were major changes to how metaroles are applied. We now distinguish
171 between metaroles for classes vs those for roles. See the
172 Moose::Util::MetaRole docs for details. (Dave Rolsky)
174 * The old MetaRole API has been deprecated, but will continue to
175 work. However, if you are applying an attribute metaclass role, this may
176 break because of the fact that roles now have an attribute metaclass
179 * Moose::Util::MetaRole::apply_metaclass_roles is now called
180 apply_metaroles. The old name is deprecated. Dave Rolsky>
182 * The unimport subs created by Moose::Exporter now clean up re-exported
183 functions like blessed and confess, unless the caller imported them from
184 somewhere else too. See Moose::Manua::Delta for backcompat details. (rafl)
186 [ENHANCEMENTS AND BUG FIXES]
188 * Changed the Str constraint to accept magic lvalue strings like one gets from
189 substr et al, again. (sorear)
191 * Sped up the type constraint parsing regex. (Sam Vilain)
193 * The Moose::Cookbook::Extending::Recipe2 recipe was broken. Fix suggested by
196 * Added Moose::Util::TypeConstraints exports when using oose.pm to allow
197 easier testing of TypeConstraints from the command line. (perigrin)
199 * Added a with_immutable test function to Test::Moose, to run a block of tests
200 with and without certain classes being immutable. (doy)
202 * We now use Module::Install extensions explicitly to avoid confusing errors
203 if they're not installed. We use Module::Install::AuthorRequires to stop
204 test extraction and general failures if you don't have the author side
205 dependencies installed.
207 * Fixed a grammar error in Moose::Cookbook::Basics::Recipe4. rt.cpan.org
208 #51791. (Amir E. Aharoni)
211 0.93 Thu, Nov 19, 2009
213 - Calling $object->new() is no longer deprecated, and no longer
217 - The get_attribute_map method is now deprecated. (Dave Rolsky)
219 * Moose::Meta::Method::Delegation
220 - Preserve variable aliasing in @_ for delegated methods, so that
221 altering @_ affects the passed value. (doy)
223 * Moose::Util::TypeConstraints
224 - Allow array refs for non-anonymous form of enum and duck_type, not
225 just anonymous. The non-arrayref forms may be removed in the
227 - Changed Str constraint to not accept globs (*STDIN or *FOO). (chansen)
228 - Properly document Int being a subtype of Str. (doy)
231 - Moose::Exporter using modules can now export their functions to the
232 main package. This applied to Moose and Moose::Role, among
233 others. (nothingmuch)
235 * Moose::Meta::Attribute
236 - Don't remove attribute accessors we never installed, during
237 remove_accessors. (doy)
239 * Moose::Meta::Attribute::Native::Trait::Array
240 - Don't bypass prototype checking when calling List::Util::first, to
241 avoid a segfault when it is called with a non-code argument. (doy)
243 * Moose::Meta::Attribute::Native::Trait::Code
244 - Fix passing arguments to code execute helpers. (doy)
246 0.92 Tue, Sep 22, 2009
247 * Moose::Util::TypeConstraints
248 - added the match_on_type operator (Stevan)
249 - added tests and docs for this (Stevan)
252 - Metaclass compat fixing should already happen recursively, there's no
253 need to explicitly walk up the inheritance tree. (doy)
255 * Moose::Meta::Attribute
256 - Add tests for set_raw_value and get_raw_value. (nothingmuch)
258 0.91 Thu, Sep 17, 2009
260 - Don't import any functions, in order to avoid polluting our namespace
261 with things that can look like methods (blessed, try, etc)
264 * Moose::Meta::Method::Constructor
265 - The generated code needs to called Scalar::Util::blessed by its
266 fully-qualified name or else Perl can interpret the call to blessed as
267 an indirect method call. This broke Search::GIN, which in turn broke
268 KiokuDB. (nothingmuch)
270 0.90 Tue, Sep 15, 2009
271 * Moose::Meta::Attribute::Native::Trait::Counter
272 * Moose::Meta::Attribute::Native::Trait::String
273 - For these two traits, an attribute which did not explicitly provide
274 methods to handles magically ended up delegating *all* the helper
275 methods. This has been removed. You must be explicit in your handles
276 declaration for all Native Traits. (Dave Rolsky)
279 - DEMOLISHALL behavior has changed. If any DEMOLISH method dies, we make
280 sure to rethrow its error message. However, we also localize $@ before
281 this so that if all the DEMOLISH methods success, the value of $@ will
282 be preserved. (nothingmuch and Dave Rolsky)
283 - We now also localize $? during object destruction. (nothingmuch and
285 - The handling of DEMOLISH methods was broken for immutablized classes,
286 which were not receiving the value of
287 Devel::GlobalDestruction::in_global_destruction.
288 - These two fixes address some of RT #48271, reported by Zefram.
289 - This is all now documented in Moose::Manual::Construction.
290 - Calling $object->new() is now deprecated. A warning will be
294 - Added more hooks to customize how roles are applied. The role
295 summation class, used to create composite roles, can now be changed
296 and/or have meta-roles applied to it. (rafl)
297 - The get_method_list method no longer explicitly excludes the "meta"
298 method. This was a hack that has been replaced by better hacks. (Dave
301 * Moose::Meta::Method::Delegation
302 - fixed delegated methods to make sure that any modifiers attached to
303 the accessor being delegated on will be called (Stevan)
304 - added tests for this (Stevan)
307 - Moose no longer warns when a class that is being made immutable has
308 mutable ancestors. While in theory this is a good thing to warn about,
309 we found so many exceptions to this that doing this properly became
312 0.89_02 Thu, Sep 10, 2009
313 * Moose::Meta::Attribute::Native
314 - Fix Hash, which still had 'empty' instead of 'is_empty'. (hdp)
316 * Moose::Meta::Attribute::Native::Trait::Array
317 - Added a number of functions from List::Util and List::MoreUtils,
318 including reduce, shuffle, uniq, and natatime. (doy)
321 - This module will now generate an init_meta method for your exporting
322 class if you pass it options for
323 Moose::Util::MetaRole::apply_metaclass_roles or
324 apply_base_class_roles. This eliminates a lot of repetitive
325 boilerplate for typical MooseX modules. (doy).
326 - Documented the with_meta feature, which is a replacement for
327 with_caller. This feature was added by josh a while ago.
328 - The with_caller feature is now deprecated, but will not issue a
329 warning yet. (Dave Rolsky)
330 - If you try to wrap/export a subroutine which doesn't actually exist,
331 Moose::Exporter will warn you about this. (doy)
333 * Moose::Meta::Role::Application::ToRole
334 - When a role aliased a method from another role, it was only getting
335 the new (aliased) name, not the original name. This differed from what
336 happens when a class aliases a role's methods. If you _only_ want the
337 aliased name, make sure to also exclue the original name. (Dave
340 0.89_01 Wed Sep 2, 2009
341 * Moose::Meta::Attribute
342 - Added the currying syntax for delegation from AttributeHelpers to the
343 existing delegation API. (hdp)
345 * Moose::Meta::Attribute::Native
346 - We have merged the functionality of MooseX::AttributeHelpers into the
347 Moose core with some API tweaks. You can continue to use
348 MooseX::AttributeHelpers, but it will not be maintained except
349 (perhaps) for critical bug fixes in the future. See
350 Moose::Manual::Delta for details. (hdp, jhannah, rbuels, Sartak,
353 * Moose::Error::Croak
354 * Moose::Error::Confess
355 - Clarify documentation on how to use different error-throwing
356 modules. (Curtis Jewell)
359 - Correct POD for builder to point to Recipe8, not 9. (gphat)
362 - When a nonexistent sub name is passed to as_is, with_caller, or
363 with_meta, throw a warning and skip the exporting, rather than
364 installing a broken sub. (doy)
367 - Moose now warns if you call C<make_immutable> for a class with mutable
370 0.89 Thu Aug 13, 2009
371 * Moose::Manual::Attributes
372 - Clarify "is", include discussion of "bare". (Sartak)
374 * Moose::Meta::Role::Method::Conflicting
375 * Moose::Meta::Role::Application::ToClass
376 - For the first set of roles involved in a conflict, report all
377 unresolved method conflicts, not just the first method. Fixes #47210
378 reported by Ovid. (Sartak)
380 * Moose::Meta::TypeConstraint
381 - Add assert_valid method to use a TypeConstraint for assertion (rjbs)
384 - Make "use Moose -metaclass => 'Foo'" do alias resolution, like -traits
386 - Allow specifying role options (alias, excludes, MXRP stuff) in the
387 arrayref passed to "use Moose -traits" (doy)
390 - Add functions meta_class_alias and meta_attribute_alias for creating
391 aliases for class and attribute metaclasses and metatraits. (doy)
393 * Moose::Meta::Attribute
394 * Moose::Meta::Method::Accessor
395 - A trigger now receives the old value as a second argument, if the
396 attribute had one. (Dave Rolsky)
398 * Moose::Meta::Method::Constructor
399 - Fix a bug with $obj->new when $obj has stringify overloading.
400 Reported by Andrew Suffield [rt.cpan.org #47882] (Sartak)
401 - However, we will probably deprecate $obj->new, so please don't start
402 using it for new code!
404 * Moose::Meta::Role::Application
405 * Moose::Meta::Role::Application::RoleSummation
406 - Rename alias and excludes to -alias and -excludes (but keep the old
407 names for now, for backcompat) (doy)
409 0.88 Fri Jul 24, 2009
410 * Moose::Manual::Contributing
411 - Re-write the Moose::Manual::Contributing document to reflect
412 the new layout and methods of work for the Git repository. All
413 work now should be done in topic branches and reviewed by a
414 core committer before being applied to master. All releases
415 are done by a cabal member and merged from master to
416 stable. This plan was devised by Yuval, blame him. (perigrin)
419 - Create metaclass attributes for the different role application
422 * Moose::Util::MetaRole
423 - Allow applying roles to a meta role's role application
426 * Moose::Meta::Attribute
427 - Add weak_ref to allowed options for "has '+foo'" (mst)
429 * Moose::Meta::Method::Accessor
430 - No longer uses inline_slot_access in accessors, to support
431 non-lvalue-based meta instances. (sorear)
434 * Moose::Meta::Method::Delegation
435 - Once again allow class names as well as objects for
436 delegation. This was changed in 0.86.
439 * Moose::Meta::Class::Immutable::Trait
440 - Fixes to work with the latest Class::MOP.
442 * Moose::Meta::Method::Delegation
443 - Delegation now dies with a more useful error message if the
444 attribute's accessor returns something defined but
447 0.85 Fri, Jun 26, 2009
448 * Moose::Meta::Attribute
449 - The warning for 'no associated methods' is now split out into
450 the _check_associated_methods method, so that extensions can
451 safely call 'after install_accessors => ...'. This fixes a
452 warning from MooseX::AttributeHelpers. (hdp)
454 0.84 Fri, Jun 26, 2009
456 - has now sets definition_context for attributes defined in
459 * Moose::Meta::Attribute
460 - When adding an attribute to a metaclass, if the attribute has
461 no associated methods, it will give a deprecation
463 - Methods generated by delegation were not being added to
464 associated_methods. (hdp)
465 - Attribute accessors (reader, writer, accessor, predicate,
466 clearer) now warn if they overwrite an existing method. (doy)
467 - Attribute constructors now warn very noisily about unknown (or
468 misspelled) arguments
470 * Moose::Util::TypeConstraints
471 - Deprecated the totally useless Role type name, which just
472 checked if $object->can('does'). Note that this is _not_ the
473 same as a type created by calling role_type('RoleName').
475 * Moose::Util::TypeConstraints
476 * Moose::Meta::TypeConstraint::DuckType
477 - Reify duck type from a regular subtype into an actual class
479 - Document this because Sartak did all my work for me
482 * Moose::Meta::Attribute
483 - Allow Moose::Meta::TypeConstraint::DuckType in handles, since
484 it is just a list of methods (Sartak)
487 - The get_*_method_modifiers methods would die if the role had
488 no modifiers of the given type (Robert Buels).
490 0.83 Tue, Jun 23, 2009
492 - Fix _construct_instance not setting the special __MOP__ object
493 key in instances of anon classes. (doy)
495 0.82 Sun, Jun 21, 2009
496 * Moose::Manual::Types
497 - Mention MooseX::Types early to avoid users falling down the
498 string parsing rathole (mst)
500 * Moose::Manual::MooseX
501 - Add warnings about class-level extensions and mention considering
502 using plain objects instead
504 0.81 Sun, Jun 7, 2009
505 * Bumped our Class::MOP prereq to the latest version (0.85), since
508 0.80 Sat, Jun 6, 2009
510 - Add FAQ about the coercion change from 0.76 because it came up
511 three times today (perigrin)
512 - Win doy $10 dollars because Sartak didn't think anybody
513 would document this fast enough (perigrin)
515 * Moose::Meta::Method::Destructor
516 - Inline a DESTROY method even if there are no DEMOLISH methods
517 to prevent unnecessary introspection in
518 Moose::Object::DEMOLISHALL
521 - A role's required methods are now represented by
522 Moose::Meta::Role::Method::Required objects. Conflicts are now
523 represented by Moose::Meta::Role::Method::Conflicting
524 objects. The benefit for end-users in that unresolved
525 conflicts generate different, more instructive, errors,
526 resolving Ovid's #44895. (Sartak)
529 - Improve the error message of "extends" as suggested by Adam
530 Kennedy and confound (Sartak)
531 - Link to Moose::Manual::Roles from Moose::Role as we now have
532 excellent documentation (Adam Kennedy)
535 - Update test suite for subname change in Class::MOP
537 - Add TODO test for infinite recursion in Moose::Meta::Class
540 0.79 Wed, May 13, 2009
542 - More fixes for Win32 problems. Reported by Robert Krimen.
545 - The DEMOLISHALL method could still blow up in some cases
546 during global destruction. This method has been made more
547 resilient in the face of global destruction's random garbage
551 - If you "also" a module that isn't loaded, the error message
552 now acknowledges that (Sartak)
555 - When your ->meta method does not return a Moose::Meta::Class,
556 the error message gave the wrong output (Sartak)
558 0.78 Tue, May 12, 2009
559 * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
560 - Merged these documents into what is now Moose::Manual::FAQ
563 - Moved to Moose::Manual::Unsweetened
565 * Moose::Cookbook::Basics::Recipes 9-12
566 - Renamed to be 8-11, since recipe 8 did not exist
569 - Make Moose::Exporter import strict and warnings into packages
573 - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
574 methods during global destruction (doy)
577 * Moose::Meta::Role::Application::ToClass
578 - Track the Role::Application objects created during class-role
582 - Fix metaclass incompatibility errors when extending a vanilla perl
583 class which isa Moose class with a metaclass role applied (t0m)
586 - Add a role-combination hook, _role_for_combination, for the
587 benefit of MooseX::Role::Parameterized (Sartak)
590 - Some tests were failing on Win32 because they explicit checked
591 warning output for newlines. Reported by Nickolay Platonov.
593 0.77 Sat, May 2, 2009
595 - Add explicit use of Devel::GlobalDestruction and Sub::Name
599 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
600 or not we are currently in global destruction (doy)
601 - Add explicit use of Devel::GlobalDestruction and Sub::Name
604 * Moose::Cookbook::FAQ
605 - Reworked much of the existing content to be more useful to
606 modern Moose hackers (Sartak)
609 - Depend on Class::MOP 0.83 instead of 0.82_01.
611 0.76 Mon, April 27, 2009
612 * Moose::Meta::TypeConstraint
613 - Do not run coercions in coerce() if the value already passes the type
616 * Moose::Meta::TypeConstraint::Class
617 - In validation error messages, specifically say that the value is not
618 an instance of the class. This should alleviate some frustrating
619 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
621 * Moose::Meta::Role::Application::ToClass
622 - Revert the class-overrides-role warning in favor of a solution outside
623 of the Moose core (Sartak)
626 - Make Test::Output optional again, since it's only used in a few files
629 0.75_01 Thu, April 23, 2009
630 * Moose::Meta::Role::Application::ToClass
631 - Moose now warns about each class overriding methods from roles it
635 - Warnings tests have standardized on Test::Output which is now an
636 unconditionally dependency (Sartak)
639 - Changes to immutabilization to work with Class::MOP 0.82_01+.
641 0.75 Mon, April 20, 2009
644 - Move validation of not inheriting from roles from Moose::extends to
645 Moose::Meta::Class::superclasses (doy)
648 - add ensure_all_roles() function to encapsulate the common "apply this
649 role unless the object already does it" pattern (hdp)
652 - Users can now select a different metaclass with the "-metaclass"
653 option to import, for classes and roles (Sartak)
656 - Make method_metaclass an attr so that it can accept a metarole
659 0.74 Tue, April 7, 2009
661 * Moose::Meta::Method::Destructor
662 - Include stack traces in the deprecation warnings.
666 - Removed the long-deprecated _apply_all_roles method.
668 * Moose::Meta::TypeConstraint
669 - Removed the long-deprecated union method.
672 0.73_02 Mon, April 6, 2009
673 * More deprecations and renamings
674 - Moose::Meta::Method::Constructor
675 - initialize_body => _initialize_body (this is always called
676 when an object is constructed)
679 - The DEMOLISHALL method could throw an exception during global
680 destruction, meaning that your class's DEMOLISH methods would
681 not be properly called. Reported by t0m.
683 * Moose::Meta::Method::Destructor
684 - Destructor inlining was totally broken by the change to the
685 is_needed method in 0.72_01. Now there is a test for this
686 feature, and it works again.
689 - Bold the word 'not' in the POD for find_meta (t0m)
691 0.73_01 Sun, April 5, 2009
693 - Call user_class->meta in fewer places, with the eventual goal
694 of allowing the user to rename or exclude ->meta
695 altogether. Instead uses Class::MOP::class_of. (Sartak)
697 * Moose::Meta::Method::Accessor
698 - If an attribute had a lazy default, and that value did not
699 pass the attribute's type constraint, it did not get the
700 message from the type constraint, instead using a generic
701 message. Test provided by perigrin.
703 * Moose::Util::TypeConstraints
704 - Add duck_type keyword. It's sugar over making sure an object
705 can() a list of methods. This is easier than jrockway's
706 suggestion to fork all of CPAN. (perigrin)
707 - add tests and documentation (perigrin)
710 - Document the fact that init_meta() returns the target class's
711 metaclass object. (hdp)
713 * Moose::Cookbook::Extending::Recipe1
714 * Moose::Cookbook::Extending::Recipe2
715 * Moose::Cookbook::Extending::Recipe3
716 * Moose::Cookbook::Extending::Recipe4
717 - Make init_meta() examples explicitly return the metaclass and
718 point out this fact. (hdp)
720 * Moose::Cookbook::Basics::Recipe12
721 - A new recipe, creating a custom meta-method class.
723 * Moose::Cookbook::Meta::Recipe6
724 - A new recipe, creating a custom meta-method class.
727 * Moose::Meta::Method::Constructor
728 - Attribute triggers no longer receive the meta-attribute object
729 as an argument in any circumstance. Previously, triggers
730 called during instance construction were passed the
731 meta-attribute, but triggers called by normal accessors were
732 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
734 * Moose::Manual::Attributes
735 - Remove references to triggers receving the meta-attribute object as an
738 * Moose::Cookbook::FAQ
739 - Remove recommendation for deprecated Moose::Policy and
740 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
743 * Many methods have been renamed with a leading underscore, and a
744 few have been deprecated entirely. The methods with a leading
745 underscore are consider "internals only". People writing
746 subclasses or extensions to Moose should feel free to override
747 them, but they are not for "public" use.
750 - check_metaclass_compatibility => _check_metaclass_compatibility
752 - Moose::Meta::Method::Accessor
753 - initialize_body => _initialize_body (this is always called
754 when an object is constructed)
755 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
757 - Moose::Meta::Method::Constructor
758 - initialize_body => _initialize_body (this is always called
759 when an object is constructed)
760 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
761 - attributes => _attributes (now inherited from parent)
762 - meta_instance => _meta_instance (now inherited from parent)
765 - alias_method is deprecated. Use add_method
767 0.73 Fri, March 29, 2009
768 * No changes from 0.72_01.
770 0.72_01 Thu, March 26, 2009
772 - Almost every module has complete API documentation. A few
773 methods (and even whole classes) have been intentionally
774 excluded pending some rethinking of their APIs.
776 * Moose::Util::TypeConstraints
777 - Calling subtype with a name as the only argument is now an
778 exception. If you want an anonymous subtype do:
780 my $subtype = subtype as 'Foo';
782 * Moose::Cookbook::Meta::Recipe7
783 - A new recipe, creating a custom meta-instance class.
785 * Moose::Cookbook::Basics::Recipe5
786 - Fix various typos and mistakes. Includes a patch from Radu
789 * Moose::Cookbook::Basics::Recipe9
790 - Link to this recipe from Moose.pm's builder blurb
793 - When wrapping a function with a prototype, Moose::Exporter now
794 makes sure the wrapped function still has the same
795 prototype. (Daisuke Maki)
797 * Moose::Meta::Attribute
798 - Allow a subclass to set lazy_build for an inherited
802 - Explicitly depend on Data::OptList. We already had this dependency
803 via Sub::Exporter, but since we're using it directly we're
804 better off with it listed. (Sartak)
806 * Moose::Meta::Method::Constructor
807 - Make it easier to subclass the inlining behaviour. (Ash
810 * Moose::Manual::Delta
811 - Details significant changes in the history of Moose, along
812 with recommended workarounds.
814 * Moose::Manual::Contributing
815 - Contributor's guide to Moose.
817 * Moose::Meta::Method::Constructor
818 - The long-deprecated intialize_body method has been removed
819 (yes, spelled like that).
821 * Moose::Meta::Method::Destructor
822 - This is_needed method is now always a class method.
825 - Changes to the internals of how make_immutable works to match
826 changes in latest Class::MOP.
828 0.72 Mon, February 23, 2009
830 * Moose::Meta::Method::Constructor
831 - A mutable class accepted Foo->new(undef) without complaint,
832 while an immutable class would blow up with an unhelpful
833 error. Now, in both cases we throw a helpful error
834 instead. Reported by doy.
836 0.71_01 Sun, February 22, 2009
838 - Hopefully fixed some POD errors in a few recipes that caused
839 them to display weird on search.cpan.org.
841 * Moose::Util::TypeConstraints
842 - Calling type or subtype without the sugar helpers (as, where,
843 message) is now deprecated.
844 - The subtype function tried hard to guess what you meant, but
845 often got it wrong. For example:
847 my $subtype = subtype as 'ArrayRef[Object]';
849 This caused an error in the past, but now works as you'd
853 - Make sure Moose.pm is loaded before calling
854 Moose->throw_error. This wasn't normally an issue, but could
855 bite you in weird cases.
857 0.71 Thu, February 19, 2009
858 * Moose::Cookbook::Basics::Recipe11
859 - A new recipe which demonstrates the use of BUILDARGS and
862 * Moose::Cookbook::Roles::Recipe3
863 - A new recipe, applying a role to an object instance. (Dave
867 - Allow overriding specific keywords from "also" packages. (doy)
870 - Replace hardcoded cookbook tests with Test::Inline to ensure
871 the tests match the actual code in the recipes. (Dave Rolsky)
874 - Working on the above turned up a number of little bugs in the
875 recipe code. (Dave Rolsky)
877 * Moose::Util::TypeConstraints::Optimized
878 - Just use Class::MOP for the optimized ClassName check. (Dave
881 0.70 Sat, February 14, 2009
882 * Moose::Util::TypeConstraints
883 - Added the RoleName type (stevan)
884 - added tests for this (stevan)
886 * Moose::Cookbook::Basics::Recipe3
887 - Updated the before qw[left right] sub to be a little more
888 defensive about what it accepts (stevan)
889 - added more tests to t/000_recipies/basics/003_binary_tree.t
893 - We now always call DEMOLISHALL, even if a class does not
894 define DEMOLISH. This makes sure that method modifiers on
895 DEMOLISHALL work as expected. (doy)
896 - added tests for this (EvanCarroll)
898 * Moose::Util::MetaRole
899 - Accept roles for the wrapped_method_metaclass (rafl)
900 - added tests for this (rafl)
902 * Moose::Meta::Attribute
903 - We no longer pass the meta-attribute object as a final
904 argument to triggers. This actually changed for inlined code a
905 while back, but the non-inlined version and the docs were
909 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
910 they require 0.11. (Dave Rolsky)
913 - Lots of small changes to the manual, cookbook, and
914 elsewhere. These were based on feedback from various
915 users, too many to list here. (Dave Rolsky)
917 0.69 Thu, February 12, 2009
919 - Make some keyword errors use throw_error instead of croak
920 since Moose::Exporter wraps keywords now (Sartak)
923 - Revised every recipe for style and clarity. Also moved some
924 documentation out of cookbook recipes and into Moose::Manual
925 pages. This work was funded as part of the Moose docs grant
926 from TPF. (Dave Rolsky)
928 * Moose::Meta::Method::Delegation
929 - If the attribute doing the delegation was not populated, the
930 error message did not specify the attribute name
933 0.68 Wed, February 4, 2009
935 - Many spelling, typo, and formatting fixes by daxim.
937 * Moose::Manual::Attributes
938 - The NAME section in the POD used "Attribute" so search.cpan
939 didn't resolve links from other documents properly.
941 * Moose::Meta::Method::Overriden
942 - Now properly spelled as Overridden. Thanks to daxim for
945 0.67 Tue, February 3, 2009
947 - Lots of little typo fixes and a few clarifications. Several
948 pages didn't have proper titles, and so weren't actually
949 visible on search.cpan.org. Thanks to hanekomu for a variety
950 of fixes and formatting improvements.
952 0.66 Tue, February 3, 2009
954 - This is a brand new, extensive manual for Moose. This aims to
955 provide a complete introduction to all of Moose's
956 features. This work was funded as part of the Moose docs grant
957 from TPF. (Dave Rolsky)
959 * Moose::Meta::Attribute
960 - Added a delegation_metaclass method to replace a hard-coded
961 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
963 * Moose::Util::TypeConstraints
964 - If you created a subtype and passed a parent that Moose didn't
965 know about, it simply ignored the parent. Now it automatically
966 creates the parent as a class type. This may not be what you
967 want, but is less broken than before. (Dave Rolsky)
969 * Moose::Util::TypeConstraints
970 - This module tried throw errors by calling Moose->throw_error,
971 but it did not ensure that Moose was loaded first. This could
972 cause very unhelpful errors when it tried to throw an error
973 before Moose was loaded. (Dave Rolsky)
975 * Moose::Util::TypeConstraints
976 - You could declare a name with subtype such as "Foo!Bar" that
977 would be allowed, but if you used it in a parameterized type
978 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
979 vetting on names created via the sugar functions, so that they
980 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
982 0.65 Thu, January 22, 2008
983 * Moose and Moose::Meta::Method::Overridden
984 - If an overridden method called super(), and then the
985 superclass's method (not overridden) _also_ called super(),
986 Moose went into an endless recursion loop. Test provided by
987 Chris Prather. (Dave Rolsky)
989 * Moose::Meta::TypeConstraint
990 - All methods are now documented. (gphat)
992 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
993 - Fixed some bogus failures that occurred because we tried to
994 validate filesystem paths in a very ad-hoc and
995 not-quite-correct way. (Dave Rolsky)
997 * Moose::Util::TypeConstraints
998 - Added maybe_type to exports. See docs for details. (rjbs)
1001 - Added Moose::Util::TypeConstraints to the SEE ALSO
1005 - Methods created via an attribute can now fulfill a "requires"
1006 declaration for a role. (nothingmuch)
1008 * Moose::Meta::Method::*
1009 - Stack traces from inlined code will now report its line and
1010 file as being in your class, as opposed to in Moose
1011 guts. (nothingmuch).
1013 0.64 Wed, December 31, 2008
1014 * Moose::Meta::Method::Accessor
1015 - Always inline predicate and clearer methods (Sartak)
1017 * Moose::Meta::Attribute
1018 - Support for parameterized traits (Sartak)
1019 - verify_against_type_constraint method to avoid duplication
1020 and enhance extensibility (Sartak)
1022 * Moose::Meta::Class
1023 - Tests (but no support yet) for parameterized traits (Sartak)
1026 - Require Class::MOP 0.75+, which has the side effect of making
1027 sure we work on Win32. (Dave Rolsky)
1029 0.63 Mon, December 8, 2008
1030 * Moose::Unsweetened
1031 - Some small grammar tweaks and bug fixes in non-Moose example
1034 0.62_02 Fri, December 5, 2008
1035 * Moose::Meta::Role::Application::ToClass
1036 - When a class does not provide all of a role's required
1037 methods, the error thrown now mentions all of the missing
1038 methods, as opposed to just the first one found. Requested by
1039 Curtis Poe (RT #41119). (Dave Rolsky)
1041 * Moose::Meta::Method::Constructor
1042 - Moose will no longer inline a constructor for your class
1043 unless it inherits its constructor from Moose::Object, and
1044 will warn when it doesn't inline. If you want to force
1045 inlining anyway, pass "replace_constructor => 1" to
1046 make_immutable. Addresses RT #40968, reported by Jon
1047 Swartz. (Dave Rolsky)
1048 - The quoting of default values could be broken if the default
1049 contained a single quote ('). Now we use quotemeta to escape
1050 anything potentially dangerous in the defaults. (Dave Rolsky)
1052 0.62_01 Wed, December 3, 2008
1054 - use the method->execute API for BUILDALL
1055 and DEMOLISHALL (Sartak)
1057 * Moose::Util::TypeConstraints
1058 - We now make all the type constraint meta classes immutable
1059 before creating the default types provided by Moose. This
1060 should make loading Moose a little faster. (Dave Rolsky)
1062 0.62 Wed November 26, 2008
1063 * Moose::Meta::Role::Application::ToClass
1064 Moose::Meta::Role::Application::ToRole
1065 - fixed issues where excluding and aliasing the
1066 same methods for a single role did not work
1067 right (worked just fine with multiple
1069 - added test for this (stevan)
1071 * Moose::Meta::Role::Application::RoleSummation
1072 - fixed the error message when trying to compose
1073 a role with a role it excludes (Sartak)
1076 - Catch another case where recursion caused the value
1077 of $CALLER to be stamped on (t0m)
1078 - added test for this (t0m)
1081 - Remove the make_immutable keyword, which has been
1082 deprecated since April. It breaks metaclasses that
1083 use Moose without no Moose (Sartak)
1085 * Moose::Meta::Attribute
1086 - Removing an attribute from a class now also removes delegation
1087 (handles) methods installed for that attribute (t0m)
1088 - added test for this (t0m)
1090 * Moose::Meta::Method::Constructor
1091 - An attribute with a default that looked like a number (but was
1092 really a string) would accidentally be treated as a number
1093 when the constructor was made immutable (perigrin)
1094 - added test for this (perigrin)
1097 - create method for constructing a role
1098 dynamically (Sartak)
1099 - added test for this (Sartak)
1100 - anonymous roles! (Sartak)
1101 - added test for this (Sartak)
1104 - more consistent error messages (Sartak)
1106 * Moose::Cookbook::Roles::Recipe1
1107 - attempt to explain why a role that just requires
1108 methods is useful (Sartak)
1110 0.61 Fri November 7, 2008
1111 * Moose::Meta::Attribute
1112 - When passing a role to handles, it will be loaded if necessary
1115 * Moose::Meta::Class
1116 - Method objects returned by get_method (and other methods)
1117 Could end up being returned without an associated_metaclass
1118 attribute. Removing get_method_map, which is provided by
1119 Class::MOP::Class, fixed this. The Moose version did nothing
1120 different from its parent except introduce a bug. (Dave Rolsky)
1121 - added tests for this (jdv79)
1124 - Added a $VERSION to all .pm files which didn't have one. Fixes
1125 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
1127 * Moose::Cookbook::Basics::Recipe4
1128 * Moose::Cookbook::Basics::Recipe6
1129 - These files had spaces on the first line of the SYNOPSIS, as
1130 opposed to a totally empty line. According to RT #40432, this
1131 confuses POD parsers. (Dave Rolsky)
1133 0.60 Fri October 24, 2008
1135 - Passing "-traits" when loading Moose caused the Moose.pm
1136 exports to be broken. Reported by t0m. (Dave Rolsky)
1137 - Tests for this bug. (t0m)
1140 - Change resolve_metaclass alias to use the new
1141 load_first_existing_class function. This makes it a lot
1142 simpler, and also around 5 times faster. (t0m)
1143 - Add caching to resolve_metaclass_alias, which gives an order
1144 of magnitude speedup to things which repeatedly call the
1145 Moose::Meta::Attribute->does method, notably MooseX::Storage
1148 * Moose::Util::TypeConstraint
1149 - Put back the changes for parameterized constraints that
1150 shouldn't have been removed in 0.59. We still cannot parse
1151 them, but MooseX modules can create them in some other
1152 way. See the 0.58 changes for more details. (jnapiorkowski)
1153 - Changed the way subtypes are created so that the job is
1154 delegated to a type constraint parent. This clears up some
1155 hardcoded checking and should allow correct subtypes of
1156 Moose::Meta::Type::Constraint. Don't rely on this new API too
1157 much (create_child_type) because it may go away in the
1158 future. (jnapiorkowski)
1160 * Moose::Meta::TypeConstraint::Union
1161 - Type constraint names are sorted as strings, not numbers.
1164 * Moose::Meta::TypeConstraint::Parameterizable
1165 - New parameterize method. This can be used as a factory method
1166 to make a new type constraint with a given parameterized
1167 type. (jnapiorkowski)
1168 - added tests (jnapiorkowski)
1170 0.59 Tue October 14, 2008
1172 - Add abridged documentation for builder/default/initializer/
1173 predicate, and link to more details sections in
1174 Class::MOP::Attribute. (t0m)
1176 * Moose::Util::TypeConstraints
1177 - removed prototypes from all but the &-based stuff (mst)
1179 * Moose::Util::TypeConstraints
1180 - Creating a anonymous subtype with both a constraint and a
1181 message failed with a very unhelpful error, but should just
1182 work. Reported by t0m. (Dave Rolsky)
1185 - Some tests that used Test::Warn if it was available failed
1186 with older versions of Test::Warn. Reported by Fayland. (Dave
1188 - Test firing behavior of triggers in relation to builder/default/
1190 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
1191 kinds of supported type. (t0m)
1193 * Moose::Meta::Class
1194 - In create(), do not pass "roles" option to the superclass
1195 - added related test that creates an anon metaclass with
1196 a required attribute
1198 * Moose::Meta::TypeConstraint::Class
1199 * Moose::Meta::TypeConstraint::Role
1200 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
1201 other types (as per change in 0.55_02). (t0m)
1203 * Moose::Meta::TypeConstraint::Registry
1204 - Fix warning when dealing with unknown type names (t0m)
1206 * Moose::Util::TypeConstraints
1207 - Reverted changes from 0.58 related to handle parameterized
1208 types. This caused random failures on BSD and Win32 systems,
1209 apparently related to the regex engine. This means that Moose
1210 can no longer parse structured type constraints like
1211 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
1212 supported in a slightly different way via MooseX::Types some
1213 time in the future. (Dave Rolsky)
1215 0.58 Sat September 20, 2008
1216 !! This release has an incompatible change regarding !!
1217 !! how roles add methods to a class !!
1219 * Roles and role application
1220 ! Roles now add methods by calling add_method, not
1221 alias_method. They make sure to always provide a method
1222 object, which will be cloned internally. This means that it is
1223 now possible to track the source of a method provided by a
1224 role, and even follow its history through intermediate roles.
1226 This means that methods added by a role now show up when
1227 looking at a class's method list/map. (Dave Rolsky)
1230 - From this release on, we'll try to maintain a list of
1231 conflicting modules, and warn you if you have one
1232 installed. For example, this release conflicts with ...
1233 - MooseX::Singleton <= 0.11
1234 - MooseX::Params::Validate <= 0.05
1237 In general, we try to not break backwards compatibility for
1238 most Moose users, but MooseX modules and other code which
1239 extends Moose's metaclasses is often affected by very small
1240 changes in the Moose internals.
1242 * Moose::Meta::Method::Delegation
1243 * Moose::Meta::Attribute
1244 - Delegation methods now have their own method class. (Dave
1247 * Moose::Meta::TypeConstraint::Parameterizable
1248 - Added a new method 'parameterize' which is basically a factory
1249 for the containing constraint. This makes it easier to create
1250 new types of parameterized constraints. (jnapiorkowski)
1252 * Moose::Meta::TypeConstraint::Union
1253 - Changed the way Union types canonicalize their names to follow
1254 the normalized TC naming rules, which means we strip all
1255 whitespace. (jnapiorkowski)
1257 * Moose::Util::TypeConstraints
1258 - Parameter and Union args are now sorted, this makes Int|Str
1259 the same constraint as Str|Int. (jnapiorkowski)
1260 - Changes to the way Union types are parsed to more correctly
1261 stringify their names. (jnapiorkowski)
1262 - When creating a parameterized type, we now use the new
1263 parameterize method. (jnapiorkowski)
1264 - Incoming type constraint strings are now normalized to remove
1265 all whitespace differences. (jnapiorkowski)
1266 - Changed the way we parse type constraint strings so that we now
1267 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
1268 constraints. This lays the foundation for more flexible type
1269 constraint implementations.
1271 * Tests and docs for all the above. (jnapiorkowski)
1275 - Moose::Exporter will no longer remove a subroutine that the
1276 exporting package re-exports. Moose re-exports the
1277 Carp::confess function, among others. The reasoning is that we
1278 cannot know whether you have also explicitly imported those
1279 functions for your own use, so we err on the safe side and
1280 always keep them. (Dave Rolsky)
1281 - added tests for this (rafl)
1283 * Moose::Meta::Class
1284 - Changes to how we fix metaclass compatibility that are much
1285 too complicated to go into. The summary is that Moose is much
1286 less likely to complain about metaclass incompatibility
1287 now. In particular, if two metaclasses differ because
1288 Moose::Util::MetaRole was used on the two corresponding
1289 classes, then the difference in roles is reconciled for the
1290 subclass's metaclass. (Dave Rolsky)
1291 - Squashed an warning in _process_attribute (thepler)
1294 - throw exceptions (sooner) for invalid attribute names (thepler)
1295 - added tests for this (thepler)
1297 * Moose::Util::MetaRole
1298 - If you explicitly set a constructor or destructor class for a
1299 metaclass object, and then applied roles to the metaclass,
1300 that explicitly set class would be lost and replaced with the
1303 * Moose::Meta::Class
1304 * Moose::Meta::Attribute
1305 * Moose::Meta::Method
1308 * Moose::Error::Default
1309 * Moose::Error::Croak
1310 * Moose::Error::Confess
1311 - All instances of confess() changed to use overridable
1312 C<throw_error> method. This method ultimately calls a class
1313 constructor, and you can change the class being called. In
1314 addition, errors now pass more information than just a string.
1315 The default C<error_class> behaves like C<Carp::confess>, so
1316 the behavior is not visibly different for end users.
1318 0.57 Wed September 3, 2008
1320 - A new bit of doc intended to introduce folks familiar with
1321 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
1323 * Moose::Unsweetened
1324 - Shows examples of two classes, each done first with and then
1325 without Moose. This makes a nice parallel to
1326 Moose::Intro. (Dave Rolsky)
1328 * Moose::Util::TypeConstraints
1329 - Fixed a bug in find_or_parse_type_constraint so that it
1330 accepts a Moose::Meta::TypeConstraint object as the parent
1331 type, not just a name (jnapiorkowski)
1332 - added tests (jnapiorkowski)
1335 - If Sub::Name was not present, unimporting failed to actually
1336 remove some sugar subs, causing test failures (Dave Rolsky)
1338 0.56 Mon September 1, 2008
1339 For those not following the series of dev releases, there are
1340 several major changes in this release of Moose.
1341 ! Moose::init_meta should now be called as a method. See the
1344 - Major performance improvements by nothingmuch.
1346 - New modules for extension writers, Moose::Exporter and
1347 Moose::Util::MetaRole by Dave Rolsky.
1349 - Lots of doc improvements and additions, especially in the
1352 - Various bug fixes.
1354 * Removed all references to the experimental-but-no-longer-needed
1355 Moose::Meta::Role::Application::ToMetaclassInstance.
1357 * Require Class::MOP 0.65.
1359 0.55_04 Sat August 30, 2008
1360 * Moose::Util::MetaRole
1361 * Moose::Cookbook::Extending::Recipe2
1362 - This simplifies the application of roles to any meta class, as
1363 well as the base object class. Reimplemented metaclass traits
1364 using this module. (Dave Rolsky)
1366 * Moose::Cookbook::Extending::Recipe1
1367 - This a new recipe, an overview of various ways to write Moose
1368 extensions (Dave Rolsky)
1370 * Moose::Cookbook::Extending::Recipe3
1371 * Moose::Cookbook::Extending::Recipe4
1372 - These used to be Extending::Recipe1 and Extending::Recipe2,
1375 0.55_03 Fri August 29, 2008
1376 * No changes from 0.55_02 except increasing the Class::MOP
1377 dependency to 0.64_07.
1379 0.55_02 Fri August 29, 2008
1380 * Makefile.PL and Moose.pm
1381 - explicitly require Perl 5.8.0+ (Dave Rolsky)
1383 * Moose::Util::TypeConstraints
1384 - Fix warnings from find_type_constraint if the type is not
1387 * Moose::Meta::TypeConstraint
1388 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
1389 return false if the type you specify cannot be found in the
1390 type registry, rather than throwing an unhelpful and
1391 coincidental exception. (t0m).
1392 - added docs & test for this (t0m)
1394 * Moose::Meta::TypeConstraint::Registry
1395 - add_type_constraint now throws an exception if a parameter is
1397 - added docs & test for this (t0m)
1399 * Moose::Cookbook::FAQ
1400 - Added a faq entry on the difference between "role" and "trait"
1404 - Fixed a bug that caused role composition to not see a required
1405 method when that method was provided by another role being
1406 composed at the same time. (Dave Rolsky)
1407 - test and bug finding (tokuhirom)
1409 0.55_01 Wed August 20, 2008
1411 !! Calling Moose::init_meta as a function is now !!
1412 !! deprecated. Please see the Moose.pm docs for details. !!
1414 * Moose::Meta::Method::Constructor
1415 - Fix inlined constructor so that values produced by default
1416 or builder methods are coerced as required. (t0m)
1417 - added test for this (t0m)
1419 * Moose::Meta::Attribute
1420 - A lazy attribute with a default or builder did not attempt to
1421 coerce the default value. The immutable code _did_
1423 - added test for this (t0m)
1426 - This is a new helper module for writing "Moose-alike"
1427 modules. This should make the lives of MooseX module authors
1428 much easier. (Dave Rolsky)
1431 * Moose::Cookbook::Meta::Recipe5
1432 - Implemented metaclass traits (and wrote a recipe for it):
1434 use Moose -traits => 'Foo'
1436 This should make writing small Moose extensions a little
1437 easier (Dave Rolsky)
1439 * Moose::Cookbook::Basics::Recipe1
1440 - Removed any examples of direct hashref access, and applied an
1441 editorial axe to reduce verbosity. (Dave Rolsky)
1443 * Moose::Cookbook::Basics::Recipe1
1444 - Also applied an editorial axe here. (Dave Rolsky)
1447 * Moose::Cookbook::Extending::Recipe1
1448 * Moose::Cookbook::Extending::Recipe2
1449 - Rewrote extending and embedding moose documentation and
1450 recipes to use Moose::Exporter (Dave Rolsky)
1454 - These two modules now warn when you load them from the main
1455 package "main" package, because we will not export sugar to
1456 main. Previously it just did nothing. (Dave Rolsky)
1459 - Now provide an init_meta method just like Moose.pm, and you
1460 can call this to provide an alternate role metaclass. (Dave
1461 Rolsky and nothingmuch)
1462 - get_method_map now respects the package cache flag (nothingmuch)
1465 - Two new methods - add_method and wrap_method_body
1469 - Optimizations including allowing constructors to accept hash
1470 refs, making many more classes immutable, and making
1471 constructors immutable. (nothingmuch)
1473 0.55 Sun August 3, 2008
1474 * Moose::Meta::Attribute
1475 - breaking down the way 'handles' methods are
1476 created so that the process can be more easily
1477 overridden by subclasses (stevan)
1479 * Moose::Meta::TypeConstraint
1480 - fixing what is passed into a ->message with
1481 the type constraints (RT #37569)
1482 - added tests for this (Charles Alderman)
1484 * Moose::Util::TypeConstraints
1485 - fix coerce to accept anon types like subtype can (mst)
1488 - reorganized the recipes into sections - Basics, Roles, Meta,
1489 Extending - and wrote abstracts for each section (Dave Rolsky)
1491 * Moose::Cookbook::Basics::Recipe10
1492 - A new recipe that demonstrates operator overloading
1493 in combination with Moose. (bluefeet)
1495 * Moose::Cookbook::Meta::Recipe1
1496 - an introduction to what meta is and why you'd want to make
1497 your own metaclass extensions (Dave Rolsky)
1499 * Moose::Cookbook::Meta::Recipe4
1500 - a very simple metaclass example (Dave Rolsky)
1502 * Moose::Cookbook::Extending::Recipe1
1503 - how to write a Moose-alike module to use your own object base
1506 * Moose::Cookbook::Extending::Recipe2
1507 - how to write modules with an API just like C<Moose.pm> (Dave
1511 - Tons of fixes, both syntactical and grammatical (Dave
1512 Rolsky, Paul Fenwick)
1514 0.54 Thurs. July 3, 2008
1515 ... this is not my day today ...
1517 * Moose::Meta::Attribute
1518 - fixed legal_options_for_inheritance such that
1519 clone_and_inherit options still works for
1520 Class::MOP::Attribute objects and therefore
1521 does not break MooseX::AttributeHelpers
1524 0.53 Thurs. July 3, 2008
1525 * Whoops, I guess I should run 'make manifest' before
1526 actually releasing the module. No actual changes
1527 in this release, except the fact that it includes
1528 the changes that I didn't include in the last
1531 0.52 Thurs. July 3, 2008
1533 - added "FEATURE REQUESTS" section to the Moose docs
1534 to properly direct people (stevan) (RT #34333)
1535 - making 'extends' croak if it is passed a Role since
1536 this is not ever something you want to do
1537 (fixed by stevan, found by obra)
1538 - added tests for this (stevan)
1541 - adding support for DOES (as in UNIVERSAL::DOES)
1543 - added test for this
1545 * Moose::Meta::Attribute
1546 - added legal_options_for_inheritance (wreis)
1547 - added tests for this (wreis)
1549 * Moose::Cookbook::Snacks::*
1550 - removed some of the unfinished snacks that should
1551 not have been released yet. Added some more examples
1552 to the 'Keywords' snack. (stevan)
1554 * Moose::Cookbook::Style
1555 - added general Moose "style guide" of sorts to the
1556 cookbook (nothingmuch) (RT #34335)
1559 - added more BUILDARGS tests (stevan)
1561 0.51 Thurs. Jun 26, 2008
1563 - add unimport so "no Moose::Role" actually does
1566 * Moose::Meta::Role::Application::ToRole
1567 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1568 order to provide its own implementation, that method still got
1569 added to the list of required methods for consumers of
1570 RoleB. Now an aliased method is only added to the list of
1571 required methods if the role doing the aliasing does not
1572 provide its own implementation. See Recipe 11 for an example
1573 of all this. (Dave Rolsky)
1574 - added tests for this
1576 * Moose::Meta::Method::Constructor
1577 - when a single argument that wasn't a hashref was provided to
1578 an immutabilized constructor, the error message was very
1579 unhelpful, as opposed to the non-immutable error. Reported by
1581 - added test for this (Dave Rolsky)
1583 * Moose::Meta::Attribute
1584 - added support for meta_attr->does("ShortAlias") (sartak)
1585 - added tests for this (sartak)
1586 - moved the bulk of the `handles` handling to the new
1587 install_delegation method (Stevan)
1590 - Added BUILDARGS, a new step in new()
1592 * Moose::Meta::Role::Application::RoleSummation
1593 - fix typos no one ever sees (sartak)
1595 * Moose::Util::TypeConstraints
1596 * Moose::Meta::TypeConstraint
1597 * Moose::Meta::TypeCoercion
1598 - Attempt to work around the ??{ } vs. threads issue
1600 - Some null_constraint optimizations
1602 0.50 Thurs. Jun 11, 2008
1603 - Fixed a version number issue by bumping all modules
1606 0.49 Thurs. Jun 11, 2008
1607 !! This version now approx. 20-25% !!
1608 !! faster with new Class::MOP 0.59 !!
1610 * Moose::Meta::Attribute
1611 - fixed how the is => (ro|rw) works with
1612 custom defined reader, writer and accessor
1614 - added docs for this (TODO).
1615 - added tests for this (Thanks to Penfold)
1616 - added the custom attribute alias for regular
1617 Moose attributes which is "Moose"
1618 - fix builder and default both being used
1623 Moose::Meta::Attribute
1625 Moose::Meta::Role::Composite
1626 Moose::Util::TypeConstraints
1627 - switched usage of reftype to ref because
1631 - changing add_package_symbol to use the new
1635 - fixed how DEMOLISHALL is called so that it
1636 can be overrided in subclasses (thanks to Sartak)
1637 - added test for this (thanks to Sartak)
1639 * Moose::Util::TypeConstraints
1640 - move the ClassName type check code to
1641 Class::MOP::is_class_loaded (thanks to Sartak)
1643 * Moose::Cookbook::Recipe11
1644 - add tests for this (thanks to tokuhirom)
1646 0.48 Thurs. May 29, 2008
1647 (early morning release engineering)--
1649 - fixing the version in Moose::Meta::Method::Destructor
1650 which was causing the indexer to choke
1652 0.47 Thurs. May 29, 2008
1653 (late night release engineering)--
1655 - fixing the version is META.yml, no functional
1656 changes in this release
1658 0.46 Wed. May 28, 2008
1659 !! This version now approx. 20-25% !!
1660 !! faster with new Class::MOP 0.57 !!
1662 * Moose::Meta::Class
1663 - some optimizations of the &initialize method
1664 since it is called so often by &meta
1666 * Moose::Meta::Class
1668 - now use the get_all_package_symbols from the
1669 updated Class::MOP, test suite is now 10 seconds
1672 * Moose::Meta::Method::Destructor
1673 - is_needed can now also be called as a class
1674 method for immutablization to check if the
1675 destructor object even needs to be created
1678 * Moose::Meta::Method::Destructor
1679 Moose::Meta::Method::Constructor
1680 - added more descriptive error message to help
1681 keep people from wasting time tracking an error
1682 that is easily fixed by upgrading.
1684 0.45 Saturday, May 24, 2008
1686 - Because of work in Class::MOP 0.57, all
1687 XS based functionality is now optional
1688 and a Pure Perl version is supplied
1689 - the CLASS_MOP_NO_XS environment variable
1690 can now be used to force non-XS versions
1692 - several of the packages have been tweaked
1693 to take care of this, mostly we added
1694 support for the package_name and name
1695 variables in all the Method metaclasses
1696 - before/around/after method modifiers now
1697 support regexp matching of names
1698 (thanks to Takatoshi Kitano)
1699 - tests added for this
1700 - NOTE: this only works for classes, it
1701 is currently not supported in roles,
1702 but, ... patches welcome
1703 - All usage of Carp::confess have been replaced
1704 by Carp::croak in the "keyword" functions since
1705 the stack trace is usually not helpful
1708 - All usage of Carp::confess have been replaced
1709 by Carp::croak in the "keyword" functions since
1710 the stack trace is usually not helpful
1711 - The 'has' keyword for roles now accepts the
1712 same array ref form that Moose.pm does
1713 (has [qw/foo bar/] => (is => 'rw', ...))
1714 - added test for this
1716 * Moose::Meta::Attribute
1717 - trigger on a ro-attribute is no longer an
1718 error, as it's useful to trigger off of the
1721 * Moose::Meta::Class
1722 - added same 'add_package_symbol' fix as in
1726 - does_role now handles non-Moose classes
1728 - added tests for this
1729 - added the 'add_method_modifier' function
1730 (thanks to Takatoshi Kitano)
1732 * Moose::Util::TypeConstraints
1733 - subtypes of parameterizable types now are
1734 themselves parameterizable types
1736 * Moose::Meta::Method::Constructor
1737 - fixed bug where trigger was not being
1738 called by the inlined immutable
1740 - added test for this (thanks to Caelum)
1742 * Moose::Meta::Role::Application::ToInstance
1743 - now uses the metaclass of the instance
1744 (if possible) to create the anon-class
1745 (thanks Jonathan Rockway)
1747 * Moose::Cookbook::Recipe22
1748 - added the meta-attribute trait recipe
1752 - fixed hash-ordering test bug that was
1753 causing occasional cpantester failures
1754 - renamed the t/000_recipe/*.t tests to be
1755 more descriptive (thanks to Sartak)
1757 0.44 Sat. May 10, 2008
1759 - made make_immutable warning cluck to
1760 show where the error is (thanks mst)
1763 - BUILDALL and DEMOLISHALL now call
1764 ->body when looping through the
1765 methods, to avoid the overloaded
1767 - fixed issue where DEMOLISHALL was
1768 eating the $@ values, and so not
1769 working correctly, it still kind of
1770 eats them, but so does vanilla perl
1771 - added tests for this
1773 * Moose::Cookbook::Recipe7
1774 - added new recipe for immutable
1775 functionality (thanks Dave Rolsky)
1777 * Moose::Cookbook::Recipe9
1778 - added new recipe for builder and
1779 lazy_build (thanks Dave Rolsky)
1781 * Moose::Cookbook::Recipe11
1782 - added new recipe for method aliasing
1783 and exclusion with Roles (thanks Dave Rolsky)
1786 - fixed Win32 test failure (thanks spicyjack)
1788 ~ removed Build.PL and Module::Build compat
1789 since Module::Install has done that.
1791 0.43 Wed. April, 30, 2008
1793 drink more coffee before
1794 doing release engineering
1796 - whoops, forgot to do the smolder tests,
1797 and we broke some of the custom meta-attr
1798 modules. This fixes that.
1800 0.42 Mon. April 28, 2008
1801 - some bad tests slipped by, nothing else
1802 changed in this release (cpantesters++)
1804 - upped the Class::MOP dependency to 0.55
1805 since we have tests which need the C3
1808 0.41 Mon. April 28, 2008
1809 ~~ numerous documentation updates ~~
1811 - Changed all usage of die to Carp::croak for better
1812 error reporting (initial patch by Tod Hagan)
1814 ** IMPORTANT NOTE **
1815 - the make_immutable keyword is now deprecated, don't
1816 use it in any new code and please fix your old code
1817 as well. There will be 2 releases, and then it will
1823 - refactored the way inner and super work to avoid
1824 any method/@ISA cache penalty (nothingmuch)
1826 * Moose::Meta::Class
1827 - fixing &new_object to make sure trigger gets the
1828 coerced value (spotted by Charles Alderman on the
1830 - added test for this
1832 * Moose::Meta::Method::Constructor
1833 - immutable classes which had non-lazy attributes were calling
1834 the default generating sub twice in the constructor. (bug
1835 found by Jesse Luehrs, fixed by Dave Rolsky)
1836 - added tests for this (Dave Rolsky)
1837 - fix typo in initialize_body method (nothingmuch)
1839 * Moose::Meta::Method::Destructor
1840 - fix typo in initialize_body method (nothingmuch)
1842 * Moose::Meta::Method::Overriden
1843 Moose::Meta::Method::Augmented
1844 - moved the logic for these into their own
1845 classes (nothingmuch)
1847 * Moose::Meta::Attribute
1848 - inherited attributes may now be extended without
1849 restriction on the type ('isa', 'does') (Sartak)
1850 - added tests for this (Sartak)
1851 - when an attribute property is malformed (such as lazy without
1852 a default), give the name of the attribute in the error
1854 - added the &applied_traits and &has_applied_traits methods
1855 to allow introspection of traits
1856 - added tests for this
1857 - moved 'trait' and 'metaclass' argument handling to here from
1859 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1860 '+foo' syntax) (nothingmuch)
1861 - added tests for this (t0m)
1864 - localize $@ inside DEMOLISHALL to avoid it
1865 eating $@ (found by Ernesto)
1866 - added test for this (thanks to Ernesto)
1868 * Moose::Util::TypeConstraints
1869 - &find_type_constraint now DWIMs when given an
1870 type constraint object or name (nothingmuch)
1871 - &find_or_create_type_constraint superseded with a number of more
1873 - find_or_create_{isa,does}_type_constraint
1874 - find_or_parse_type_constraint
1876 * Moose::Meta::TypeConstraint
1877 Moose::Meta::TypeConstraint::Class
1878 Moose::Meta::TypeConstraint::Role
1879 Moose::Meta::TypeConstraint::Enum
1880 Moose::Meta::TypeConstraint::Union
1881 Moose::Meta::TypeConstraint::Parameterized
1882 - added the &equals method for comparing two type
1883 constraints (nothingmuch)
1884 - added tests for this (nothingmuch)
1886 * Moose::Meta::TypeConstraint
1887 - add the &parents method, which is just an alias to &parent.
1888 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1890 * Moose::Meta::TypeConstraint::Class
1891 - added the class attribute for introspection purposes
1893 - added tests for this
1895 * Moose::Meta::TypeConstraint::Enum
1896 Moose::Meta::TypeConstraint::Role
1897 - broke these out into their own classes (nothingmuch)
1899 * Moose::Cookbook::Recipe*
1900 - fixed references to test file locations in the POD
1901 and updated up some text for new Moose features
1905 - Added &resolve_metaclass_alias, a helper function for finding an actual
1906 class for a short name (e.g. in the traits list)
1908 0.40 Fri. March 14, 2008
1909 - I hate Pod::Coverage
1911 0.39 Fri. March 14, 2008
1913 - documenting the use of '+name' with attributes
1914 that come from recently composed roles. It makes
1915 sense, people are using it, and so why not just
1916 officially support it.
1917 - fixing the 'extends' keyword so that it will not
1918 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1921 - added the perl -Moose=+Class::Name feature to allow
1922 monkeypatching of classes in one liners
1925 - fixing the 'apply_all_roles' keyword so that it will not
1926 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1928 * Moose::Meta::Class
1929 - added ->create method which now supports roles (thanks to jrockway)
1930 - added tests for this
1931 - added ->create_anon_class which now supports roles and caching of
1932 the results (thanks to jrockway)
1933 - added tests for this
1934 - made ->does_role a little more forgiving when it is
1935 checking a Class::MOP era metaclasses.
1937 * Moose::Meta::Role::Application::ToInstance
1938 - it is now possible to pass extra params to be used when
1939 a role is applied to an the instance (rebless_params)
1940 - added tests for this
1942 * Moose::Util::TypeConstraints
1943 - class_type now accepts an optional second argument for a
1944 custom message. POD anotated accordingly (groditi)
1945 - added tests for this
1946 - it is now possible to make anon-enums by passing 'enum' an
1947 ARRAY ref instead of the $name => @values. Everything else
1949 - added tests for this
1952 - making test for using '+name' on attributes consumed
1953 from a role, it works and makes sense too.
1955 * Moose::Meta::Attribute
1956 - fix handles so that it doesn't return nothing
1957 when the method cannot be found, not sure why
1958 it ever did this originally, this means we now
1959 have slightly better support for AUTOLOADed
1961 - added more delegation tests
1962 - adding ->does method to this so as to better
1963 support traits and their introspection.
1964 - added tests for this
1967 - localizing the Data::Dumper configurations so
1968 that it does not pollute others (RT #33509)
1969 - made ->does a little more forgiving when it is
1970 passed Class::MOP era metaclasses.
1972 0.38 Fri. Feb. 15, 2008
1973 * Moose::Meta::Attribute
1974 - fixed initializer to correctly do
1975 type checking and coercion in the
1977 - added tests for this
1980 - fixed some finicky tests (thanks to konobi)
1982 0.37 Thurs. Feb. 14, 2008
1984 - fixed some details in Moose::init_meta
1985 and its superclass handling (thanks thepler)
1986 - added tests for this (thanks thepler)
1987 - 'has' now dies if you don't pass in name
1989 - added the 'make_immutable' keyword as a shortcut
1992 * Moose::Meta::Class
1993 Moose::Meta::Method::Constructor
1994 Moose::Meta::Attribute
1995 - making (init_arg => undef) work here too
1996 (thanks to nothingmuch)
1998 * Moose::Meta::Attribute
1999 Moose::Meta::Method::Constructor
2000 Moose::Meta::Method::Accessor
2001 - make lazy attributes respect attr initializers (rjbs)
2002 - added tests for this
2004 * Moose::Util::TypeConstraints
2005 Moose::Util::TypeConstraints::OptimizedConstraints
2006 Moose::Meta::TypeConstraints
2007 Moose::Meta::Attribute
2008 Moose::Meta::Method::Constructor
2009 Moose::Meta::Method::Accessor
2010 - making type errors use the
2011 assigned message (thanks to Sartak)
2012 - added tests for this
2014 * Moose::Meta::Method::Destructor
2015 - making sure DESTROY gets inlined properly
2016 with successive DEMOLISH calls (thanks to manito)
2018 * Moose::Meta::Attribute
2019 Moose::Meta::Method::Accessor
2020 - fixed handling of undef with type constraints
2022 - added tests for this
2025 - added &get_all_init_args and &get_all_attribute_values
2026 (thanks to Sartak and nothingmuch)
2028 0.36 Sat. Jan. 26, 2008
2030 Moose::Meta::Attribute
2031 - role type tests now support when roles are
2032 applied to non-Moose classes (found by ash)
2033 - added tests for this (thanks to ash)
2034 - couple extra tests to boost code coverage
2036 * Moose::Meta::Method::Constructor
2037 - improved fix for handling Class::MOP attributes
2038 - added test for this
2040 * Moose::Meta::Class
2041 - handled the add_attribute($attribute_meta_object)
2043 - added test for this
2045 0.35 Tues. Jan. 22, 2008
2046 * Moose::Meta::Method::Constructor
2047 - fix to make sure even Class::MOP attributes
2048 are handled correctly (Thanks to Dave Rolsky)
2049 - added test for this (also Dave Rolsky)
2051 * Moose::Meta::Class
2052 - improved error message on _apply_all_roles,
2053 you should now use Moose::Util::apply_all_roles
2054 and you shouldnt have been using a _ prefixed
2055 method in the first place ;)
2057 0.34 Mon. Jan. 21, 2008
2058 ~~~ more misc. doc. fixes ~~~
2059 ~~ updated copyright dates ~~
2061 Moose is now a postmodern object system :)
2062 - (see the POD for details)
2064 * <<Role System Refactoring>>
2065 - this release contains a major reworking and
2066 cleanup of the role system
2067 - 100% backwards compat.
2068 - Role application now restructured into seperate
2069 classes based on type of applicants
2070 - Role summation (combining of more than one role)
2071 is much cleaner and anon-classes are no longer
2072 used in this process
2073 - new Composite role metaclass
2074 - runtime application of roles to instances
2075 is now more efficient and re-uses generated
2076 classes when applicable
2078 * <<New Role composition features>>
2079 - methods can now be excluded from a given role
2081 - methods can now be aliased to another name (and
2082 still retain the original as well)
2084 * Moose::Util::TypeConstraints::OptimizedConstraints
2085 - added this module (see above)
2087 * Moose::Meta::Class
2088 - fixed the &_process_attribute method to be called
2089 by &add_attribute, so that the API is now correct
2091 * Moose::Meta::Method::Accessor
2092 - fixed bug when passing a list of values to
2093 an accessor would get (incorrectly) ignored.
2094 Thanks to Sartak for finding this ;)
2095 - added tests for this (Sartak again)
2097 * Moose::Meta::Method::Accessor
2098 Moose::Meta::Method::Constructor
2099 Moose::Meta::Attribute
2100 Moose::Meta::TypeConstraint
2101 Moose::Meta::TypeCoercion
2102 - lots of cleanup of such things as:
2104 - type constraint handling
2105 - error handling/messages
2106 (thanks to nothingmuch)
2108 * Moose::Meta::TypeConstraint::Parameterizable
2109 - added this module to support the refactor
2110 in Moose::Meta::TypeConstraint::Parameterized
2112 * Moose::Meta::TypeConstraint::Parameterized
2113 - refactored how these types are handled so they
2114 are more generic and not confined to ArrayRef
2118 - shortened some file names for better VMS support (RT #32381)
2120 0.33 Fri. Dec. 14, 2007
2121 !! Moose now loads 2 x faster !!
2122 !! with new Class::MOP 0.49 !!
2124 ++ new oose.pm module to make command line
2125 Moose-ness easier (see POD docs for more)
2127 * Moose::Meta::Class
2129 - several tweaks to take advantage of the
2130 new method map caching in Class::MOP
2132 * Moose::Meta::TypeConstraint::Parameterized
2133 - allow subtypes of ArrayRef and HashRef to
2134 be used as a container (sartak)
2135 - added tests for this
2136 - basic support for coercion to ArrayRef and
2137 HashRef for containers (sartak)
2138 - added tests for this
2140 * Moose::Meta::TypeCoercion
2141 - coercions will now create subtypes as needed
2142 so you can now add coercions to parameterized
2143 types without having to explictly define them
2144 - added tests for this
2146 * Moose::Meta::Method::Accessor
2147 - allow subclasses to decide whether we need
2148 to copy the value into a new variable (sartak)
2150 0.32 Tues. Dec. 4, 2007
2151 * Moose::Util::TypeConstraints
2152 - fixing how subtype aliases of unions work
2153 they should inherit the parent's coercion
2154 - added tests for this
2155 - you can now define multiple coercions on
2156 a single type at different times instead of
2157 having to do it all in one place
2158 - added tests for this
2160 * Moose::Meta::TypeConstraint
2161 - there is now a default constraint of sub { 1 }
2162 instead of Moose::Util::TypeConstraints setting
2165 * Moose::Meta::TypeCoercion
2166 * Moose::Meta::TypeCoercion::Union
2167 - added the &has_coercion_for_type and
2168 &add_type_coercions methods to support the
2169 new features above (although you cannot add
2170 more type coercions for Union types)
2172 0.31 Mon. Nov. 26, 2007
2173 * Moose::Meta::Attribute
2174 - made the +attr syntax handle extending types with
2175 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
2176 now works if the original foo is an ArrayRef.
2177 - added tests for this.
2178 - delegation now works even if the attribute does not
2179 have a reader method using the get_read_method_ref
2180 method from Class::MOP::Attribute.
2181 - added tests for this
2182 - added docs for this
2184 * Moose::Util::TypeConstraints
2185 - passing no "additional attribute info" to
2186 &find_or_create_type_constraint will no longer
2187 attempt to create an __ANON__ type for you,
2188 instead it will just return undef.
2189 - added docs for this
2191 0.30 Fri. Nov. 23, 2007
2192 * Moose::Meta::Method::Constructor
2193 -builder related bug in inlined constructor. (groditi)
2195 * Moose::Meta::Method::Accessor
2196 - genereate unnecessary calls to predicates and refactor
2197 code generation for runtime speed (groditi)
2199 * Moose::Util::TypeConstraints
2200 - fix ClassName constraint to introspect symbol table (mst)
2201 - added more tests for this (mst)
2202 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
2203 with work correctly.
2204 - added tests for this
2207 - adding the link to Recipie 11 (written by Sartak)
2208 - adding test for SYNOPSIS code
2211 - New tests for builder bug. Upon instantiation, if an
2212 attribute had a builder, no value and was not lazy the
2213 builder default was not getting run, oops. (groditi)
2215 0.29 Tues. Nov. 13, 2007
2216 * Moose::Meta::Attribute
2217 - Fix error message on missing builder method (groditi)
2219 * Moose::Meta::Method::Accessor
2220 - Fix error message on missing builder method (groditi)
2223 - Add test to check for the correct error message when
2224 builder method is missing (groditi)
2226 0.28 Tues. Nov. 13, 2007
2227 - 0.27 packaged incorrectly (groditi)
2229 0.27 Tues. Nov. 13, 2007
2230 * Moose::Meta::Attribute
2231 - Added support for the new builder option (groditi)
2232 - Added support for lazy_build option (groditi)
2233 - Changed slot initialization for predicate changes (groditi)
2235 * Moose::Meta::Method::Accessor
2236 - Added support for lazy_build option (groditi)
2237 - Fix inline methods to work with corrected predicate
2240 * Moose::Meta::Method::Constructor
2241 - Added support for lazy_build option (groditi)
2244 - tests for builder and lazy_build (groditi)
2246 * fixing some misc. bits in the docs that
2247 got mentioned on CPAN Forum & perlmonks
2250 - fixed how required methods are handled
2251 when they encounter overriden or modified
2252 methods from a class (thanks to confound).
2253 - added tests for this
2255 * Moose::Util::TypeConstraint
2256 - fixed the type notation parser so that
2257 the | always creates a union and so is
2258 no longer a valid type char (thanks to
2259 konobi, mugwump and #moose for working
2261 - added more tests for this
2263 0.26 Thurs. Sept. 27, 2007
2266 * Parameterized Types
2267 We now support parameterized collection types, such as:
2268 ArrayRef[Int] # array or integers
2269 HashRef[Object] # a hash with object values
2270 They can also be nested:
2271 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
2272 And work with the type unions as well:
2273 ArrayRef[Int | Str] # array of integers of strings
2275 * Better Framework Extendability
2276 Moose.pm is now "extendable" such that it is now much
2277 easier to extend the framework and add your own keywords
2278 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
2279 section of the Moose.pm docs.
2282 In an effort to begin documenting some of the various
2283 details of Moose as well as some common idioms, we have
2284 created Moose::Cookbook::Snacks as a place to find
2285 small (easily digestable) nuggets of Moose code.
2288 ~ Several doc updates/cleanup thanks to castaway ~
2290 - converted build system to use Module::Install instead of
2291 Module::Build (thanks to jrockway)
2294 - added all the meta classes to the immutable list and
2295 set it to inline the accessors
2296 - fix import to allow Sub::Exporter like { into => }
2297 and { into_level => } (perigrin)
2298 - exposed and documented init_meta() to allow better
2299 embedding and extending of Moose (perigrin)
2302 - complete re-organization of the test suite
2303 - added some new tests as well
2304 - finally re-enabled the Moose::POOP test since
2305 the new version of DBM::Deep now works again
2308 * Moose::Meta::Class
2309 - fixed very odd and very nasty recursion bug with
2311 - added tests for this (eilara)
2313 * Moose::Meta::Attribute
2314 Moose::Meta::Method::Constructor
2315 Moose::Meta::Method::Accessor
2316 - fixed issue with overload::Overloaded getting called
2317 on non-blessed items. (RT #29269)
2318 - added tests for this
2320 * Moose::Meta::Method::Accessor
2321 - fixed issue with generated accessor code making
2322 assumptions about hash based classes (thanks to dexter)
2324 * Moose::Coookbook::Snacks
2325 - these are bits of documentation, not quite as big as
2326 Recipes but which have no clear place in the module docs.
2327 So they are Snacks! (horray for castaway++)
2329 * Moose::Cookbook::Recipe4
2330 - updated it to use the new ArrayRef[MyType] construct
2331 - updated the accompanying test as well
2333 +++ Major Refactor of the Type Constraint system +++
2334 +++ with new features added as well +++
2336 * Moose::Util::TypeConstraint
2337 - no longer uses package variable to keep track of
2338 the type constraints, now uses the an instance of
2339 Moose::Meta::TypeConstraint::Registry to do it
2340 - added more sophisticated type notation parsing
2342 - added tests for this
2344 * Moose::Meta::TypeConstraint
2345 - some minor adjustments to make subclassing easier
2346 - added the package_defined_in attribute so that we
2347 can track where the type constraints are created
2349 * Moose::Meta::TypeConstraint::Union
2350 - this is now been refactored to be a subclass of
2351 Moose::Meta::TypeConstraint
2353 * Moose::Meta::TypeCoercion::Union
2354 - this has been added to service the newly refactored
2355 Moose::Meta::TypeConstraint::Union and is itself
2356 a subclass of Moose::Meta::TypeCoercion
2358 * Moose::Meta::TypeConstraint::Parameterized
2359 - added this module (taken from MooseX::AttributeHelpers)
2360 to help construct nested collection types
2361 - added tests for this
2363 * Moose::Meta::TypeConstraint::Registry
2364 - added this class to keep track of type constraints
2366 0.25 Mon. Aug. 13, 2007
2368 - Documentation update to reference Moose::Util::TypeConstraints
2369 under 'isa' in 'has' for how to define a new type
2370 (thanks to shlomif).
2372 * Moose::Meta::Attribute
2373 - required attributes now will no longer accept undef
2374 from the constructor, even if there is a default and lazy
2375 - added tests for this
2376 - default subroutines must return a value which passes the
2378 - added tests for this
2380 * Moose::Meta::Attribute
2381 * Moose::Meta::Method::Constructor
2382 * Moose::Meta::Method::Accessor
2383 - type-constraint tests now handle overloaded objects correctly
2384 in the error message
2385 - added tests for this (thanks to EvanCarroll)
2387 * Moose::Meta::TypeConstraint::Union
2388 - added (has_)hand_optimized_constraint to this class so that
2389 it behaves as the regular Moose::Meta::TypeConstraint does.
2392 - large refactoring of this code
2393 - added several more tests
2394 - tests for subtle conflict resolition issues
2395 added, but not currently running
2398 * Moose::Cookbook::Recipe7
2399 - added new recipe for augment/inner functionality
2401 - added test for this
2404 - a formal definition of roles (still in progress)
2407 - utilities for easier working with Moose classes
2408 - added tests for these
2411 - This contains Moose specific test functions
2412 - added tests for these
2414 0.24 Tues. July 3, 2007
2415 ~ Some doc updates/cleanup ~
2417 * Moose::Meta::Attribute
2418 - added support for roles to be given as parameters
2419 to the 'handles' option.
2420 - added tests and docs for this
2421 - the has '+foo' attribute form now accepts changes to
2422 the lazy option, and the addition of a handles option
2423 (but not changing the handles option)
2424 - added tests and docs for this
2427 - required methods are now fetched using find_method_by_name
2428 so that required methods can come from superclasses
2429 - adjusted tests for this
2431 0.23 Mon. June 18, 2007
2432 * Moose::Meta::Method::Constructor
2433 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
2434 * Moose::Meta::Class
2435 - Modify make_immutable to work with the new Class::MOP immutable
2436 mechanism + POD + very basic test (groditi)
2437 * Moose::Meta::Attribute
2438 - Fix handles to use goto() so that caller() comes out properly on
2439 the other side (perigrin)
2441 0.22 Thurs. May 31, 2007
2442 * Moose::Util::TypeConstraints
2443 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
2444 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
2445 prototypes for functions
2446 - added the ClassName type constraint, this checks for strings
2447 which will respond true to ->isa(UNIVERSAL).
2448 - added tests and docs for this
2449 - subtyping just in name now works correctly by making the
2450 default for where be { 1 }
2451 - added test for this
2453 * Moose::Meta::Method::Accessor
2454 - coerce and lazy now work together correctly, thanks to
2455 merlyn for finding this bug
2456 - tests added for this
2457 - fix reader presedence bug in Moose::Meta::Attribute + tests
2460 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
2461 a HASH-ref and missed. This produces better error messages then
2462 having it die cause undef is not a HASH.
2463 - added tests for this
2465 0.21 Thursday, May 2nd, 2007
2467 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
2468 - modified unimport to remove super and inner along with the rest
2469 - altered unimport tests to handle this
2472 - altered super export to populate SUPER_SLOT
2474 * Moose::Meta::Class
2475 - altered augment and override modifier application to use *_SLOT
2476 - modified tests for these to unimport one test class each to test
2479 - fixed issue where custom attribute metaclasses
2480 where not handled correctly in roles
2481 - added tests for this
2483 * Moose::Meta::Class
2484 - fixed issue where extending metaclasses with
2485 roles would blow up. Thanks to Aankhen`` for
2486 finding this insidious error, and it's solution.
2488 ~~ lots of spelling and grammer fixes in the docs,
2489 many many thanks to rlb3 and Aankhen for these :)
2491 0.20 Friday, April 6th, 2007
2492 >> I messed up the SKIP logic in one test
2493 so this release is just to fix that.
2496 - 'has' now also accepts an ARRAY ref
2497 to create multiple attrs (see docs)
2498 (thanks to konobi for this)
2499 - added tests and docs
2501 0.19 Thurs. April 5th, 2007
2502 ~~ More documentation updates ~~
2504 * Moose::Util::TypeConstraints
2505 - 'type' now supports messages as well
2506 thanks to phaylon for finding this
2507 - added tests for this
2508 - added &list_all_type_constraints and
2509 &list_all_builtin_type_constraints
2510 functions to facilitate introspection.
2512 * Moose::Meta::Attribute
2513 - fixed regexp 'handles' declarations
2514 to build the list of delegated methods
2515 correctly (and not override important
2516 things like &new) thanks to ashleyb
2518 - added tests and docs for this
2519 - added the 'documentation' attributes
2520 so that you can actually document your
2521 attributes and inspect them through the
2523 - added tests and docs for this
2525 * Moose::Meta::Class
2526 - when loading custom attribute metaclasses
2527 it will first look in for the class in the
2528 Moose::Meta::Attribute::Custom::$name, and
2529 then default to just loading $name.
2530 - added tests and docs for this
2532 * Moose::Meta::TypeConstraint
2533 - type constraints now stringify to their names.
2534 - added test for this
2537 - added tests to assure we work with Module::Refresh
2538 - added stricter test skip logic in the Moose POOP
2539 test, ask Rob Kinyon why.
2540 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
2542 0.18 Sat. March 10, 2007
2543 ~~ Many, many documentation updates ~~
2546 - We now use Class::MOP::load_class to
2548 - added tests to show types and subtypes
2549 working with Declare::Constraints::Simple
2550 and Test::Deep as constraint engines.
2553 !! You must have Class::MOP 0.37_001 !!
2554 !! for this developer release to work !!
2556 This release was primarily adding the immutable
2557 feature to Moose. An immutable class is one which
2558 you promise not to alter. When you set the class
2559 as immutable it will perform various bits of
2560 memoization and inline certain part of the code
2561 (constructors, destructors and accessors). This
2562 minimizes (and in some cases totally eliminates)
2563 one of Moose's biggest performance hits. This
2564 feature is not on by default, and is 100% optional.
2565 It has several configurable bits as well, so you
2566 can pick and choose to your specific needs.
2568 The changes involved in this were fairly wide and
2569 highly specific, but 100% backwards compatible, so
2570 I am not going to enumerate them here. If you are
2571 truely interested in what was changed, please do
2574 0.17 Tues. Nov. 14, 2006
2575 * Moose::Meta::Method::Accessor
2576 - bugfix for read-only accessors which
2577 are have a type constraint and lazy.
2578 Thanks to chansen for finding it.
2580 0.16 Tues. Nov. 14, 2006
2582 There are some speed improvements in this release,
2583 but they are only the begining, so stay tuned.
2586 - BUILDALL and DEMOLISHALL no longer get
2587 called unless they actually need to be.
2588 This gave us a signifigant speed boost
2589 for the cases when there is no BUILD or
2590 DEMOLISH method present.
2592 * Moose::Util::TypeConstraints
2593 * Moose::Meta::TypeConstraint
2594 - added an 'optimize_as' option to the
2595 type constraint, which allows for a
2596 hand optimized version of the type
2597 constraint to be used when possible.
2598 - Any internally created type constraints
2599 now provide an optimized version as well.
2601 0.15 Sun. Nov. 5, 2006
2603 This version of Moose *must* have Class::MOP 0.36 in order
2604 to work correctly. A number of small internal tweaks have
2605 been made in order to be compatible with that release.
2607 * Moose::Util::TypeConstraints
2608 - added &unimport so that you can clean out
2609 your class namespace of these exported
2612 * Moose::Meta::Class
2613 - fixed minor issue which occasionally
2614 comes up during global destruction
2616 - moved Moose::Meta::Method::Overriden into
2620 - moved Moose::Meta::Role::Method into
2623 * Moose::Meta::Attribute
2624 - changed how we do type checks so that
2625 we reduce the overall cost, but still
2628 - moved accessor generation methods to
2629 Moose::Meta::Method::Accessor to
2630 conform to the API changes from
2633 * Moose::Meta::TypeConstraint
2634 - changed how constraints are compiled
2635 so that we do less recursion and more
2636 iteration. This makes the type check
2638 - moved Moose::Meta::TypeConstraint::Union
2641 * Moose::Meta::Method::Accessor
2642 - created this from methods formerly found in
2643 Moose::Meta::Attribute
2645 * Moose::Meta::Role::Method
2646 - moved this from Moose::Meta::Role
2648 * Moose::Meta::Method::Overriden
2649 - moved this from Moose::Meta::Class
2651 * Moose::Meta::TypeConstraint::Union
2652 - moved this from Moose::Meta::TypeConstraint
2654 0.14 Mon. Oct. 9, 2006
2656 * Moose::Meta::Attribute
2657 - fixed lazy attributes which were not getting
2658 checked with the type constraint (thanks ashley)
2659 - added tests for this
2660 - removed the over-enthusiastic DWIMery of the
2661 automatic ArrayRef and HashRef defaults, it
2662 broke predicates in an ugly way.
2663 - removed tests for this
2665 0.13 Sat. Sept. 30, 2006
2667 This version of Moose *must* have Class::MOP 0.35 in order
2668 to work correctly. A number of small internal tweaks have
2669 been made in order to be compatible with that release.
2672 - Removed the use of UNIVERSAL::require to be a better
2673 symbol table citizen and remove a dependency
2674 (thanks Adam Kennedy)
2676 **~~ removed experimental & undocumented feature ~~**
2677 - commented out the 'method' and 'self' keywords, see the
2678 comments for more info.
2681 - added a FAQ and WTF files to document frequently
2682 asked questions and common problems
2684 * Moose::Util::TypeConstraints
2685 - added GlobRef and FileHandle type constraint
2686 - added tests for this
2688 * Moose::Meta::Attribute
2689 - if your attribute 'isa' ArrayRef of HashRef, and you have
2690 not explicitly set a default, then make the default DWIM.
2691 This will also work for subtypes of ArrayRef and HashRef
2693 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2694 - new test added for this (thanks to ashley)
2697 - added basic support for runtime role composition
2698 but this is still *highly experimental*, so feedback
2699 is much appreciated :)
2700 - added tests for this
2702 * Moose::Meta::TypeConstraint
2703 - the type constraint now handles the coercion process
2704 through delegation, this is to support the coercion
2707 * Moose::Meta::TypeConstraint::Union
2708 - it is now possible for coercions to be performed
2710 - added tests for this (thanks to konobi)
2712 * Moose::Meta::TypeCoercion
2713 - properly capturing error when type constraint
2717 - Scalar::Util 1.18 is bad on Win32, so temporarily
2718 only require version 1.17 for Win32 and cygwin.
2719 (thanks Adam Kennedy)
2721 0.12 Sat. Sept. 1, 2006
2723 - Recipe5 (subtypes & coercion) has been written
2726 - fixed "bad meta" error message to be more descriptive
2727 - fixed &unimport to not remove the &inner and &super
2728 keywords because we need to localize them.
2729 - fixed number of spelling/grammer issues, thanks Theory :)
2731 **~~ experimental & undocumented feature ~~**
2732 - added the method and self keywords, they are basically
2733 just sugar, and they may not stay around.
2736 - added &dump method to easily Data::Dumper
2739 * Moose::Meta::TypeConstraint
2740 - added the &is_a_type_of method to check both the current
2741 and the subtype of a method (similar to &isa with classes)
2744 - this is now a subclass of Class::MOP::Module, and no longer
2745 creates the _role_meta ugliness of before.
2746 - fixed tests to reflect this change
2748 0.11 Wed. July 12, 2006
2750 - added an &unimport method to remove all the keywords
2751 that Moose will import, simply add 'no Moose' to the
2752 bottom of your class file.
2755 - fixed some test failures caused by a forgotten test
2758 0.10 Thurs. July 6, 2006
2760 - improved error message when loading modules so
2761 it is less confusing when you load a role.
2762 - added &calculate_all_roles method to
2763 Moose::Meta::Class and Moose::Meta::Role
2766 This module has been tested against Class::MOP 0.30
2767 but it does not yet utilize the optimizations
2768 it makes available. Stay tuned for that ;)
2770 0.09_03 Fri. June 23, 2006
2771 ++ DEVELOPER RELEASE ++
2773 - 'use strict' and 'use warnings' are no longer
2774 needed in Moose classes, Moose itself will
2775 turn them on for you.
2776 - added tests for this
2777 - moved code from exported subs to private methods
2778 in Moose::Meta::Class
2781 - as with Moose, strict and warnings are
2782 automatically turned on for you.
2783 - added tests for this
2786 - now handles an edge case for override errors
2787 - added tests for this
2788 - added some more edge case tests
2790 0.09_02 Tues. May 16, 2006
2791 ++ DEVELOPER RELEASE ++
2793 - added prototypes to the exported subs
2797 - added prototypes to the exported subs
2800 * Moose::Util::TypeConstraints
2801 - cleaned up prototypes for the subs
2804 0.09_01 Fri. May 12, 2006
2805 ++ DEVELOPER RELEASE ++
2806 - This release works in combination with
2807 Class::MOP 0.29_01, it is a developer
2808 release because it uses the a new
2809 instance sub-protocol and a fairly
2810 complete Role implementation. It has
2811 not yet been optimized, so it slower
2812 the the previous CPAN version. This
2813 release also lacks good updated docs,
2814 the official release will have updated docs.
2817 - refactored the keyword exports
2818 - 'with' now checks Role validaity and
2819 accepts more than one Role at a time
2820 - 'extends' makes metaclass adjustments as
2821 needed to ensure metaclass compatibility
2824 - refactored the keyword exports
2825 - 'with' now checks Role validaity and
2826 accepts more than one Role at a time
2828 * Moose::Util::TypeConstraints
2829 - added the 'enum' keyword for simple
2830 string enumerations which can be used as
2832 - see example of usage in t/202_example.t
2835 - more careful checking of params to new()
2838 - much work done on the role composition
2839 - many new tests for conflict detection
2840 and composition edge cases
2841 - not enough documentation, I suggest
2842 looking at the tests
2844 * Moose::Meta::Instance
2845 - added new Instance metaclass to support
2846 the new Class::MOP instance protocol
2848 * Moose::Meta::Class
2849 - some small changes to support the new
2851 - some small additions to support Roles
2853 * Moose::Meta::Attribute
2854 - some improvements to the accessor generation code
2856 - some small changes to support the new
2858 - (still somewhat) experimental delegation support
2859 with the 'handles' option
2860 - added several tests for this
2861 - no docs for this yet
2863 0.05 Thurs. April 27, 2006
2865 - keywords are now exported with Sub::Exporter
2866 thanks to chansen for this commit
2867 - has keyword now takes a 'metaclass' option
2868 to support custom attribute meta-classes
2869 on a per-attribute basis
2870 - added tests for this
2871 - the 'has' keyword not accepts inherited slot
2872 specifications (has '+foo'). This is still an
2873 experimental feature and probably not finished
2874 see t/038_attribute_inherited_slot_specs.t for
2875 more details, or ask about it on #moose
2876 - added tests for this
2879 - keywords are now exported with Sub::Exporter
2881 * Moose::Utils::TypeConstraints
2882 - reorganized the type constraint hierarchy, thanks
2883 to nothingmuch and chansen for his help and advice
2885 - added some tests for this
2886 - keywords are now exported with Sub::Exporter
2887 thanks to chansen for this commit
2889 * Moose::Meta::Class
2890 - due to changes in Class::MOP, we had to change
2891 construct_instance (for the better)
2893 * Moose::Meta::Attribute
2894 - due to changes in Class::MOP, we had to add the
2895 initialize_instance_slot method (it's a good thing)
2897 * Moose::Meta::TypeConstraint
2898 - added type constraint unions
2899 - added tests for this
2900 - added the is_subtype_of predicate method
2901 - added tests for this
2903 0.04 Sun. April 16th, 2006
2905 - Roles can now consume other roles
2906 - added tests for this
2907 - Roles can specify required methods now with
2908 the requires() keyword
2909 - added tests for this
2912 - ripped out much of it's guts ,.. much cleaner now
2913 - added required methods and correct handling of
2914 them in apply() for both classes and roles
2915 - added tests for this
2916 - no longer adds a does() method to consuming classes
2917 it relys on the one in Moose::Object
2918 - added roles attribute and some methods to support
2919 roles consuming roles
2921 * Moose::Meta::Attribute
2922 - added support for triggers on attributes
2923 - added tests for this
2924 - added support for does option on an attribute
2925 - added tests for this
2927 * Moose::Meta::Class
2928 - added support for attribute triggers in the
2930 - added tests for this
2933 - Moose no longer creates a subtype for your class
2934 if a subtype of the same name already exists, this
2935 should DWIM in 99.9999% of all cases
2937 * Moose::Util::TypeConstraints
2938 - fixed bug where incorrect subtype conflicts were
2940 - added test for this
2943 - this class can now be extended with 'use base' if
2944 you need it, it properly loads the metaclass class now
2945 - added test for this
2947 0.03_02 Wed. April 12, 2006
2949 - you must now explictly use Moose::Util::TypeConstraints
2950 it no longer gets exported for you automatically
2953 - new() now accepts hash-refs as well as key/value lists
2954 - added does() method to check for Roles
2955 - added tests for this
2957 * Moose::Meta::Class
2958 - added roles attribute along with the add_role() and
2960 - added tests for this
2963 - now adds a does() method to consuming classes
2964 which tests the class's hierarchy for roles
2965 - added tests for this
2967 0.03_01 Mon. April 10, 2006
2969 - added new Role recipe (no content yet, only code)
2972 - added 'with' keyword for Role support
2973 - added test and docs for this
2974 - fixed subtype quoting bug
2975 - added test for this
2979 - added test and docs
2981 * Moose::Util::TypeConstraints
2982 - added the message keyword to add custom
2983 error messages to type constraints
2986 - the meta role to support Moose::Role
2987 - added tests and docs
2989 * Moose::Meta::Class
2990 - moved a number of things from Moose.pm
2991 to here, they should have been here
2994 * Moose::Meta::Attribute
2995 - moved the attribute option macros here
2996 instead of putting them in Moose.pm
2998 * Moose::Meta::TypeConstraint
2999 - added the message attributes and the
3001 - added tests and docs for this
3003 0.03 Thurs. March 30, 2006
3005 - added the Moose::Cookbook with 5 recipes,
3006 describing all the stuff Moose can do.
3009 - fixed an issue with &extends super class loading
3010 it now captures errors and deals with inline
3011 packages correctly (bug found by mst, solution
3013 - added super/override & inner/augment features
3014 - added tests and docs for these
3017 - BUILDALL now takes a reference of the %params
3018 that are passed to &new, and passes that to
3021 * Moose::Util::TypeConstraints
3022 - Type constraints now survive runtime reloading
3023 - added test for this
3025 * Moose::Meta::Class
3026 - fixed the way attribute defaults are handled
3027 during instance construction (bug found by chansen)
3029 * Moose::Meta::Attribute
3030 - read-only attributes now actually enforce their
3031 read-only-ness (this corrected in Class::MOP as
3034 0.02 Tues. March 21, 2006
3036 - many more tests, fixing some bugs and
3038 - &extends now loads the base module with
3040 - added UNIVERSAL::require to the
3043 - each new Moose class will also create
3044 and register a subtype of Object which
3045 correspond to the new Moose class.
3046 - the 'isa' option in &has now only
3047 accepts strings, and will DWIM in
3050 * Moose::Util::TypeConstraints
3051 - added type coercion features
3052 - added tests for this
3053 - added support for this in attributes
3054 and instance construction
3056 - type construction no longer creates a
3057 function, it registers the type instead.
3058 - added several functions to get the
3062 - BUILDALL and DEMOLISHALL were broken
3063 because of a mis-named hash key, Whoops :)
3065 * Moose::Meta::Attribute
3066 - adding support for coercion in the
3067 autogenerated accessors
3069 * Moose::Meta::Class
3070 - adding support for coercion in the
3071 instance construction
3073 * Moose::Meta::TypeConstraint
3074 * Moose::Meta::TypeCoercion
3075 - type constraints and coercions are now
3076 full fledges meta-objects
3078 0.01 Wed. March 15, 2006
3079 - Moooooooooooooooooose!!!