1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
5 * Added '0+' overloading in Moose::Meta::TypeConstraint so that we can
6 more uniformly compare type constaints between 'classic' Moose type
7 containts and MooseX::Types based type constraints.
13 * Packages and modules no longer have methods - this functionality was
14 moved back up into Moose::Meta::Class and Moose::Meta::Role individually
15 (through the Class::MOP::Mixin::HasMethods mixin) (doy).
17 * BUILDALL is now called by Moose::Meta::Class::new_object, rather than by
18 Moose::Object::new. (doy)
22 * strict and warnings are now unimported when Moose, Moose::Role, or
23 Moose::Exporter are unimported. (doy, Adam Kennedy)
25 * Added a 'consumers' method to Moose::Meta::Role for finding all
26 classes/roles which consume the given role. (doy)
30 * Fix has '+attr' in Roles to explode immediately, rather than when the role
31 is applied to a class (t0m).
33 * Fix type constraint validation messages to not include the string 'failed'
34 twice in the same sentence (Florian Ragwitz).
36 * New type constraints will default to being unequal, rather than equal
39 * The tests no longer check for perl's behavior of clobbering $@, which has
40 been fixed in perl-5.13.1 (Florian Ragwitz).
42 * Metaclass compatibility fixing has been completely rewritten, and should
43 be much more robust. (doy)
45 1.04 Thu, May 20, 2010
47 * This release was broken and has been deleted from CPAN shortly after its
50 1.03 Thu, May 06, 2010
54 * Allow specifying required versions when setting superclasses or applying
55 roles (Florian Ragwitz).
57 1.02 Sat, May 01, 2010
61 * Stop the natatime method provided by the native Array trait from returning
62 an exhausted iterator when being called with a callback. (Florian Ragwitz)
64 * Make Moose::Meta::TypeConstraint::Class correctly reject RegexpRefs.
67 * Calling is_subtype_of on a Moose::Meta::TypeConstraint::Class with itself or
68 the class the TC represents as an argument incorrectly returned true. This
69 behavior is correct for is_type_of, not is_subtype_of. (Guillermo Roditi)
71 * Use File::Temp for temp files created during tests. Previously, files were
72 written to the t/ dir, which could cause problems of the user running the
73 tests did not have write access to that directory.. (Chris Weyl, Ævar
76 * Pass role arguments along when applying roles to instances. (doy, lsm)
78 1.01 Fri, Mar 26, 2010
82 * The handles option now also accepts a role type constraint in addition to a
83 plain role name. (Florian Ragwitz)
87 * Record the Sartak/doy debt properly in Changes (perigrin)
89 1.00 Tue, Mar 25, 2010
93 * Moose::Meta::Attribute::Native::Trait::Code no longer creates reader
94 methods by default. (Florian Ragwitz)
98 * Improve various parts of the documentation and fix many typos.
99 (Dave Rolsky, Mateu Hunter, Graham Knop, Robin V, Jay Hannah, Jesse Luehrs)
103 * Paid the $10 debt to doy from 0.80 Sat, Jun 6, 2009 (Sartak)
105 0.99 Mon, Mar 8, 2010
109 * New method find_type_for in Moose::Meta::TypeConstraint::Union, for finding
110 which member of the union a given value validates for. (Cory Watson)
114 * DEMOLISH methods in mutable subclasses of immutable classes are now called
115 properly (Chia-liang Kao, Jesse Luehrs)
119 * Added Moose::Manual::Support that defines the support, compatiblity, and
120 release policies for Moose. (Chris Prather)
122 0.98 Wed, Feb 10, 2010
126 * An internals change in 0.97 broke role application to an instance in some
127 cases. The bug occurred when two different roles were applied to different
128 instances of the same class. (Rafael Kitover)
131 0.97 Tue, Feb 9, 2010
135 * Calling ->reinitialize on a cached anonymous class effectively uncached
136 the metaclass object, causing the metaclass to go out of scope
137 unexpectedly. This could easily happen at a distance by applying a
138 metarole to an anonymous class. (Dave Rolsky).
140 0.96 Sat, Feb 6, 2010
144 * ScalarRef is now a parameterized type. You can now specify a type
145 constraint for whatever the reference points to. (Closes RT#50857)
146 (Michael G. Schwern, Florian Ragwitz)
150 * ScalarRef now accepts references to other references. (Closes RT#50934)
153 0.95 Thu, Feb 4, 2010
157 * Moose::Meta::Attribute::Native::Trait::Code now provides execute_method as
158 a delegation option. This allows the code reference to be called as a
159 method on the object. (Florian Ragwitz)
163 * Moose::Object::does no longer checks the entire inheritance tree, since
164 Moose::Meta::Class::does_role already does this. (doy)
166 * Moose::Util::add_method_modifier (and subsequently the sugar functions
167 Moose::before, Moose::after, and Moose::around) can now accept arrayrefs,
168 with the same behavior as lists. Types other than arrayref and regexp
169 result in an error. (Dylan Hardison)
171 0.94 Mon, Jan 18, 2010
175 * Please see the changes listed for 0.93_01 and Moose::Manual::Delta.
179 * Improved support for anonymous roles by changing various APIs to take
180 Moose::Meta::Role objects as well as role names. This included
182 - Moose::Meta::Class->does_role
183 - Moose::Meta::Role->does_role
184 - Moose::Util::does_role
185 - Moose::Util::apply_all_roles
186 - Moose::Util::ensure_all_roles
187 - Moose::Util::search_class_by_role
189 Requested by Shawn Moore. Addresses RT #51143 (and then some). (Dave Rolsky)
193 * Fix handling of non-alphanumeric attributes names like '@foo'. This should
194 work as long as the accessor method names are explicitly set to valid Perl
195 method names. Reported by Doug Treder. RT #53731. (Dave Rolsky)
198 0.93_03 Tue, Jan 5, 2010
202 * Portability fixes to our XS code so we compile with 5.8.8 and Visual
203 C++. Fixes RT #53391. Reported by Taro Nishino. (rafl)
206 0.93_02 Tue, Jan 5, 2010
210 * Depend on Class::MOP 0.97_01 so we can get useful results from CPAN
211 testers. (Dave Rolsky)
214 0.93_01 Mon, Jan 4, 2010
218 See Moose::Manual::Delta for more details on backwards compatiblity issues.
220 * Role attributes are now objects of the Moose::Meta::Role::Attribute
221 class. (Dave Rolsky).
223 * There were major changes to how metaroles are applied. We now distinguish
224 between metaroles for classes vs those for roles. See the
225 Moose::Util::MetaRole docs for details. (Dave Rolsky)
227 * The old MetaRole API has been deprecated, but will continue to
228 work. However, if you are applying an attribute metaclass role, this may
229 break because of the fact that roles now have an attribute metaclass
232 * Moose::Util::MetaRole::apply_metaclass_roles is now called
233 apply_metaroles. The old name is deprecated. Dave Rolsky>
235 * The unimport subs created by Moose::Exporter now clean up re-exported
236 functions like blessed and confess, unless the caller imported them from
237 somewhere else too. See Moose::Manua::Delta for backcompat details. (rafl)
239 [ENHANCEMENTS AND BUG FIXES]
241 * Changed the Str constraint to accept magic lvalue strings like one gets from
242 substr et al, again. (sorear)
244 * Sped up the type constraint parsing regex. (Sam Vilain)
246 * The Moose::Cookbook::Extending::Recipe2 recipe was broken. Fix suggested by
249 * Added Moose::Util::TypeConstraints exports when using oose.pm to allow
250 easier testing of TypeConstraints from the command line. (perigrin)
252 * Added a with_immutable test function to Test::Moose, to run a block of tests
253 with and without certain classes being immutable. (doy)
255 * We now use Module::Install extensions explicitly to avoid confusing errors
256 if they're not installed. We use Module::Install::AuthorRequires to stop
257 test extraction and general failures if you don't have the author side
258 dependencies installed.
260 * Fixed a grammar error in Moose::Cookbook::Basics::Recipe4. rt.cpan.org
261 #51791. (Amir E. Aharoni)
264 0.93 Thu, Nov 19, 2009
266 - Calling $object->new() is no longer deprecated, and no longer
270 - The get_attribute_map method is now deprecated. (Dave Rolsky)
272 * Moose::Meta::Method::Delegation
273 - Preserve variable aliasing in @_ for delegated methods, so that
274 altering @_ affects the passed value. (doy)
276 * Moose::Util::TypeConstraints
277 - Allow array refs for non-anonymous form of enum and duck_type, not
278 just anonymous. The non-arrayref forms may be removed in the
280 - Changed Str constraint to not accept globs (*STDIN or *FOO). (chansen)
281 - Properly document Int being a subtype of Str. (doy)
284 - Moose::Exporter using modules can now export their functions to the
285 main package. This applied to Moose and Moose::Role, among
286 others. (nothingmuch)
288 * Moose::Meta::Attribute
289 - Don't remove attribute accessors we never installed, during
290 remove_accessors. (doy)
292 * Moose::Meta::Attribute::Native::Trait::Array
293 - Don't bypass prototype checking when calling List::Util::first, to
294 avoid a segfault when it is called with a non-code argument. (doy)
296 * Moose::Meta::Attribute::Native::Trait::Code
297 - Fix passing arguments to code execute helpers. (doy)
299 0.92 Tue, Sep 22, 2009
300 * Moose::Util::TypeConstraints
301 - added the match_on_type operator (Stevan)
302 - added tests and docs for this (Stevan)
305 - Metaclass compat fixing should already happen recursively, there's no
306 need to explicitly walk up the inheritance tree. (doy)
308 * Moose::Meta::Attribute
309 - Add tests for set_raw_value and get_raw_value. (nothingmuch)
311 0.91 Thu, Sep 17, 2009
313 - Don't import any functions, in order to avoid polluting our namespace
314 with things that can look like methods (blessed, try, etc)
317 * Moose::Meta::Method::Constructor
318 - The generated code needs to called Scalar::Util::blessed by its
319 fully-qualified name or else Perl can interpret the call to blessed as
320 an indirect method call. This broke Search::GIN, which in turn broke
321 KiokuDB. (nothingmuch)
323 0.90 Tue, Sep 15, 2009
324 * Moose::Meta::Attribute::Native::Trait::Counter
325 * Moose::Meta::Attribute::Native::Trait::String
326 - For these two traits, an attribute which did not explicitly provide
327 methods to handles magically ended up delegating *all* the helper
328 methods. This has been removed. You must be explicit in your handles
329 declaration for all Native Traits. (Dave Rolsky)
332 - DEMOLISHALL behavior has changed. If any DEMOLISH method dies, we make
333 sure to rethrow its error message. However, we also localize $@ before
334 this so that if all the DEMOLISH methods success, the value of $@ will
335 be preserved. (nothingmuch and Dave Rolsky)
336 - We now also localize $? during object destruction. (nothingmuch and
338 - The handling of DEMOLISH methods was broken for immutablized classes,
339 which were not receiving the value of
340 Devel::GlobalDestruction::in_global_destruction.
341 - These two fixes address some of RT #48271, reported by Zefram.
342 - This is all now documented in Moose::Manual::Construction.
343 - Calling $object->new() is now deprecated. A warning will be
347 - Added more hooks to customize how roles are applied. The role
348 summation class, used to create composite roles, can now be changed
349 and/or have meta-roles applied to it. (rafl)
350 - The get_method_list method no longer explicitly excludes the "meta"
351 method. This was a hack that has been replaced by better hacks. (Dave
354 * Moose::Meta::Method::Delegation
355 - fixed delegated methods to make sure that any modifiers attached to
356 the accessor being delegated on will be called (Stevan)
357 - added tests for this (Stevan)
360 - Moose no longer warns when a class that is being made immutable has
361 mutable ancestors. While in theory this is a good thing to warn about,
362 we found so many exceptions to this that doing this properly became
365 0.89_02 Thu, Sep 10, 2009
366 * Moose::Meta::Attribute::Native
367 - Fix Hash, which still had 'empty' instead of 'is_empty'. (hdp)
369 * Moose::Meta::Attribute::Native::Trait::Array
370 - Added a number of functions from List::Util and List::MoreUtils,
371 including reduce, shuffle, uniq, and natatime. (doy)
374 - This module will now generate an init_meta method for your exporting
375 class if you pass it options for
376 Moose::Util::MetaRole::apply_metaclass_roles or
377 apply_base_class_roles. This eliminates a lot of repetitive
378 boilerplate for typical MooseX modules. (doy).
379 - Documented the with_meta feature, which is a replacement for
380 with_caller. This feature was added by josh a while ago.
381 - The with_caller feature is now deprecated, but will not issue a
382 warning yet. (Dave Rolsky)
383 - If you try to wrap/export a subroutine which doesn't actually exist,
384 Moose::Exporter will warn you about this. (doy)
386 * Moose::Meta::Role::Application::ToRole
387 - When a role aliased a method from another role, it was only getting
388 the new (aliased) name, not the original name. This differed from what
389 happens when a class aliases a role's methods. If you _only_ want the
390 aliased name, make sure to also exclue the original name. (Dave
393 0.89_01 Wed Sep 2, 2009
394 * Moose::Meta::Attribute
395 - Added the currying syntax for delegation from AttributeHelpers to the
396 existing delegation API. (hdp)
398 * Moose::Meta::Attribute::Native
399 - We have merged the functionality of MooseX::AttributeHelpers into the
400 Moose core with some API tweaks. You can continue to use
401 MooseX::AttributeHelpers, but it will not be maintained except
402 (perhaps) for critical bug fixes in the future. See
403 Moose::Manual::Delta for details. (hdp, jhannah, rbuels, Sartak,
406 * Moose::Error::Croak
407 * Moose::Error::Confess
408 - Clarify documentation on how to use different error-throwing
409 modules. (Curtis Jewell)
412 - Correct POD for builder to point to Recipe8, not 9. (gphat)
415 - When a nonexistent sub name is passed to as_is, with_caller, or
416 with_meta, throw a warning and skip the exporting, rather than
417 installing a broken sub. (doy)
420 - Moose now warns if you call C<make_immutable> for a class with mutable
423 0.89 Thu Aug 13, 2009
424 * Moose::Manual::Attributes
425 - Clarify "is", include discussion of "bare". (Sartak)
427 * Moose::Meta::Role::Method::Conflicting
428 * Moose::Meta::Role::Application::ToClass
429 - For the first set of roles involved in a conflict, report all
430 unresolved method conflicts, not just the first method. Fixes #47210
431 reported by Ovid. (Sartak)
433 * Moose::Meta::TypeConstraint
434 - Add assert_valid method to use a TypeConstraint for assertion (rjbs)
437 - Make "use Moose -metaclass => 'Foo'" do alias resolution, like -traits
439 - Allow specifying role options (alias, excludes, MXRP stuff) in the
440 arrayref passed to "use Moose -traits" (doy)
443 - Add functions meta_class_alias and meta_attribute_alias for creating
444 aliases for class and attribute metaclasses and metatraits. (doy)
446 * Moose::Meta::Attribute
447 * Moose::Meta::Method::Accessor
448 - A trigger now receives the old value as a second argument, if the
449 attribute had one. (Dave Rolsky)
451 * Moose::Meta::Method::Constructor
452 - Fix a bug with $obj->new when $obj has stringify overloading.
453 Reported by Andrew Suffield [rt.cpan.org #47882] (Sartak)
454 - However, we will probably deprecate $obj->new, so please don't start
455 using it for new code!
457 * Moose::Meta::Role::Application
458 * Moose::Meta::Role::Application::RoleSummation
459 - Rename alias and excludes to -alias and -excludes (but keep the old
460 names for now, for backcompat) (doy)
462 0.88 Fri Jul 24, 2009
463 * Moose::Manual::Contributing
464 - Re-write the Moose::Manual::Contributing document to reflect
465 the new layout and methods of work for the Git repository. All
466 work now should be done in topic branches and reviewed by a
467 core committer before being applied to master. All releases
468 are done by a cabal member and merged from master to
469 stable. This plan was devised by Yuval, blame him. (perigrin)
472 - Create metaclass attributes for the different role application
475 * Moose::Util::MetaRole
476 - Allow applying roles to a meta role's role application
479 * Moose::Meta::Attribute
480 - Add weak_ref to allowed options for "has '+foo'" (mst)
482 * Moose::Meta::Method::Accessor
483 - No longer uses inline_slot_access in accessors, to support
484 non-lvalue-based meta instances. (sorear)
487 * Moose::Meta::Method::Delegation
488 - Once again allow class names as well as objects for
489 delegation. This was changed in 0.86.
492 * Moose::Meta::Class::Immutable::Trait
493 - Fixes to work with the latest Class::MOP.
495 * Moose::Meta::Method::Delegation
496 - Delegation now dies with a more useful error message if the
497 attribute's accessor returns something defined but
500 0.85 Fri, Jun 26, 2009
501 * Moose::Meta::Attribute
502 - The warning for 'no associated methods' is now split out into
503 the _check_associated_methods method, so that extensions can
504 safely call 'after install_accessors => ...'. This fixes a
505 warning from MooseX::AttributeHelpers. (hdp)
507 0.84 Fri, Jun 26, 2009
509 - has now sets definition_context for attributes defined in
512 * Moose::Meta::Attribute
513 - When adding an attribute to a metaclass, if the attribute has
514 no associated methods, it will give a deprecation
516 - Methods generated by delegation were not being added to
517 associated_methods. (hdp)
518 - Attribute accessors (reader, writer, accessor, predicate,
519 clearer) now warn if they overwrite an existing method. (doy)
520 - Attribute constructors now warn very noisily about unknown (or
521 misspelled) arguments
523 * Moose::Util::TypeConstraints
524 - Deprecated the totally useless Role type name, which just
525 checked if $object->can('does'). Note that this is _not_ the
526 same as a type created by calling role_type('RoleName').
528 * Moose::Util::TypeConstraints
529 * Moose::Meta::TypeConstraint::DuckType
530 - Reify duck type from a regular subtype into an actual class
532 - Document this because Sartak did all my work for me
535 * Moose::Meta::Attribute
536 - Allow Moose::Meta::TypeConstraint::DuckType in handles, since
537 it is just a list of methods (Sartak)
540 - The get_*_method_modifiers methods would die if the role had
541 no modifiers of the given type (Robert Buels).
543 0.83 Tue, Jun 23, 2009
545 - Fix _construct_instance not setting the special __MOP__ object
546 key in instances of anon classes. (doy)
548 0.82 Sun, Jun 21, 2009
549 * Moose::Manual::Types
550 - Mention MooseX::Types early to avoid users falling down the
551 string parsing rathole (mst)
553 * Moose::Manual::MooseX
554 - Add warnings about class-level extensions and mention considering
555 using plain objects instead
557 0.81 Sun, Jun 7, 2009
558 * Bumped our Class::MOP prereq to the latest version (0.85), since
561 0.80 Sat, Jun 6, 2009
563 - Add FAQ about the coercion change from 0.76 because it came up
564 three times today (perigrin)
565 - Win doy $10 dollars because Sartak didn't think anybody
566 would document this fast enough (perigrin)
568 * Moose::Meta::Method::Destructor
569 - Inline a DESTROY method even if there are no DEMOLISH methods
570 to prevent unnecessary introspection in
571 Moose::Object::DEMOLISHALL
574 - A role's required methods are now represented by
575 Moose::Meta::Role::Method::Required objects. Conflicts are now
576 represented by Moose::Meta::Role::Method::Conflicting
577 objects. The benefit for end-users in that unresolved
578 conflicts generate different, more instructive, errors,
579 resolving Ovid's #44895. (Sartak)
582 - Improve the error message of "extends" as suggested by Adam
583 Kennedy and confound (Sartak)
584 - Link to Moose::Manual::Roles from Moose::Role as we now have
585 excellent documentation (Adam Kennedy)
588 - Update test suite for subname change in Class::MOP
590 - Add TODO test for infinite recursion in Moose::Meta::Class
593 0.79 Wed, May 13, 2009
595 - More fixes for Win32 problems. Reported by Robert Krimen.
598 - The DEMOLISHALL method could still blow up in some cases
599 during global destruction. This method has been made more
600 resilient in the face of global destruction's random garbage
604 - If you "also" a module that isn't loaded, the error message
605 now acknowledges that (Sartak)
608 - When your ->meta method does not return a Moose::Meta::Class,
609 the error message gave the wrong output (Sartak)
611 0.78 Tue, May 12, 2009
612 * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
613 - Merged these documents into what is now Moose::Manual::FAQ
616 - Moved to Moose::Manual::Unsweetened
618 * Moose::Cookbook::Basics::Recipes 9-12
619 - Renamed to be 8-11, since recipe 8 did not exist
622 - Make Moose::Exporter import strict and warnings into packages
626 - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
627 methods during global destruction (doy)
630 * Moose::Meta::Role::Application::ToClass
631 - Track the Role::Application objects created during class-role
635 - Fix metaclass incompatibility errors when extending a vanilla perl
636 class which isa Moose class with a metaclass role applied (t0m)
639 - Add a role-combination hook, _role_for_combination, for the
640 benefit of MooseX::Role::Parameterized (Sartak)
643 - Some tests were failing on Win32 because they explicit checked
644 warning output for newlines. Reported by Nickolay Platonov.
646 0.77 Sat, May 2, 2009
648 - Add explicit use of Devel::GlobalDestruction and Sub::Name
652 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
653 or not we are currently in global destruction (doy)
654 - Add explicit use of Devel::GlobalDestruction and Sub::Name
657 * Moose::Cookbook::FAQ
658 - Reworked much of the existing content to be more useful to
659 modern Moose hackers (Sartak)
662 - Depend on Class::MOP 0.83 instead of 0.82_01.
664 0.76 Mon, April 27, 2009
665 * Moose::Meta::TypeConstraint
666 - Do not run coercions in coerce() if the value already passes the type
669 * Moose::Meta::TypeConstraint::Class
670 - In validation error messages, specifically say that the value is not
671 an instance of the class. This should alleviate some frustrating
672 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
674 * Moose::Meta::Role::Application::ToClass
675 - Revert the class-overrides-role warning in favor of a solution outside
676 of the Moose core (Sartak)
679 - Make Test::Output optional again, since it's only used in a few files
682 0.75_01 Thu, April 23, 2009
683 * Moose::Meta::Role::Application::ToClass
684 - Moose now warns about each class overriding methods from roles it
688 - Warnings tests have standardized on Test::Output which is now an
689 unconditionally dependency (Sartak)
692 - Changes to immutabilization to work with Class::MOP 0.82_01+.
694 0.75 Mon, April 20, 2009
697 - Move validation of not inheriting from roles from Moose::extends to
698 Moose::Meta::Class::superclasses (doy)
701 - add ensure_all_roles() function to encapsulate the common "apply this
702 role unless the object already does it" pattern (hdp)
705 - Users can now select a different metaclass with the "-metaclass"
706 option to import, for classes and roles (Sartak)
709 - Make method_metaclass an attr so that it can accept a metarole
712 0.74 Tue, April 7, 2009
714 * Moose::Meta::Method::Destructor
715 - Include stack traces in the deprecation warnings.
719 - Removed the long-deprecated _apply_all_roles method.
721 * Moose::Meta::TypeConstraint
722 - Removed the long-deprecated union method.
725 0.73_02 Mon, April 6, 2009
726 * More deprecations and renamings
727 - Moose::Meta::Method::Constructor
728 - initialize_body => _initialize_body (this is always called
729 when an object is constructed)
732 - The DEMOLISHALL method could throw an exception during global
733 destruction, meaning that your class's DEMOLISH methods would
734 not be properly called. Reported by t0m.
736 * Moose::Meta::Method::Destructor
737 - Destructor inlining was totally broken by the change to the
738 is_needed method in 0.72_01. Now there is a test for this
739 feature, and it works again.
742 - Bold the word 'not' in the POD for find_meta (t0m)
744 0.73_01 Sun, April 5, 2009
746 - Call user_class->meta in fewer places, with the eventual goal
747 of allowing the user to rename or exclude ->meta
748 altogether. Instead uses Class::MOP::class_of. (Sartak)
750 * Moose::Meta::Method::Accessor
751 - If an attribute had a lazy default, and that value did not
752 pass the attribute's type constraint, it did not get the
753 message from the type constraint, instead using a generic
754 message. Test provided by perigrin.
756 * Moose::Util::TypeConstraints
757 - Add duck_type keyword. It's sugar over making sure an object
758 can() a list of methods. This is easier than jrockway's
759 suggestion to fork all of CPAN. (perigrin)
760 - add tests and documentation (perigrin)
763 - Document the fact that init_meta() returns the target class's
764 metaclass object. (hdp)
766 * Moose::Cookbook::Extending::Recipe1
767 * Moose::Cookbook::Extending::Recipe2
768 * Moose::Cookbook::Extending::Recipe3
769 * Moose::Cookbook::Extending::Recipe4
770 - Make init_meta() examples explicitly return the metaclass and
771 point out this fact. (hdp)
773 * Moose::Cookbook::Basics::Recipe12
774 - A new recipe, creating a custom meta-method class.
776 * Moose::Cookbook::Meta::Recipe6
777 - A new recipe, creating a custom meta-method class.
780 * Moose::Meta::Method::Constructor
781 - Attribute triggers no longer receive the meta-attribute object
782 as an argument in any circumstance. Previously, triggers
783 called during instance construction were passed the
784 meta-attribute, but triggers called by normal accessors were
785 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
787 * Moose::Manual::Attributes
788 - Remove references to triggers receving the meta-attribute object as an
791 * Moose::Cookbook::FAQ
792 - Remove recommendation for deprecated Moose::Policy and
793 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
796 * Many methods have been renamed with a leading underscore, and a
797 few have been deprecated entirely. The methods with a leading
798 underscore are consider "internals only". People writing
799 subclasses or extensions to Moose should feel free to override
800 them, but they are not for "public" use.
803 - check_metaclass_compatibility => _check_metaclass_compatibility
805 - Moose::Meta::Method::Accessor
806 - initialize_body => _initialize_body (this is always called
807 when an object is constructed)
808 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
810 - Moose::Meta::Method::Constructor
811 - initialize_body => _initialize_body (this is always called
812 when an object is constructed)
813 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
814 - attributes => _attributes (now inherited from parent)
815 - meta_instance => _meta_instance (now inherited from parent)
818 - alias_method is deprecated. Use add_method
820 0.73 Fri, March 29, 2009
821 * No changes from 0.72_01.
823 0.72_01 Thu, March 26, 2009
825 - Almost every module has complete API documentation. A few
826 methods (and even whole classes) have been intentionally
827 excluded pending some rethinking of their APIs.
829 * Moose::Util::TypeConstraints
830 - Calling subtype with a name as the only argument is now an
831 exception. If you want an anonymous subtype do:
833 my $subtype = subtype as 'Foo';
835 * Moose::Cookbook::Meta::Recipe7
836 - A new recipe, creating a custom meta-instance class.
838 * Moose::Cookbook::Basics::Recipe5
839 - Fix various typos and mistakes. Includes a patch from Radu
842 * Moose::Cookbook::Basics::Recipe9
843 - Link to this recipe from Moose.pm's builder blurb
846 - When wrapping a function with a prototype, Moose::Exporter now
847 makes sure the wrapped function still has the same
848 prototype. (Daisuke Maki)
850 * Moose::Meta::Attribute
851 - Allow a subclass to set lazy_build for an inherited
855 - Explicitly depend on Data::OptList. We already had this dependency
856 via Sub::Exporter, but since we're using it directly we're
857 better off with it listed. (Sartak)
859 * Moose::Meta::Method::Constructor
860 - Make it easier to subclass the inlining behaviour. (Ash
863 * Moose::Manual::Delta
864 - Details significant changes in the history of Moose, along
865 with recommended workarounds.
867 * Moose::Manual::Contributing
868 - Contributor's guide to Moose.
870 * Moose::Meta::Method::Constructor
871 - The long-deprecated intialize_body method has been removed
872 (yes, spelled like that).
874 * Moose::Meta::Method::Destructor
875 - This is_needed method is now always a class method.
878 - Changes to the internals of how make_immutable works to match
879 changes in latest Class::MOP.
881 0.72 Mon, February 23, 2009
883 * Moose::Meta::Method::Constructor
884 - A mutable class accepted Foo->new(undef) without complaint,
885 while an immutable class would blow up with an unhelpful
886 error. Now, in both cases we throw a helpful error
887 instead. Reported by doy.
889 0.71_01 Sun, February 22, 2009
891 - Hopefully fixed some POD errors in a few recipes that caused
892 them to display weird on search.cpan.org.
894 * Moose::Util::TypeConstraints
895 - Calling type or subtype without the sugar helpers (as, where,
896 message) is now deprecated.
897 - The subtype function tried hard to guess what you meant, but
898 often got it wrong. For example:
900 my $subtype = subtype as 'ArrayRef[Object]';
902 This caused an error in the past, but now works as you'd
906 - Make sure Moose.pm is loaded before calling
907 Moose->throw_error. This wasn't normally an issue, but could
908 bite you in weird cases.
910 0.71 Thu, February 19, 2009
911 * Moose::Cookbook::Basics::Recipe11
912 - A new recipe which demonstrates the use of BUILDARGS and
915 * Moose::Cookbook::Roles::Recipe3
916 - A new recipe, applying a role to an object instance. (Dave
920 - Allow overriding specific keywords from "also" packages. (doy)
923 - Replace hardcoded cookbook tests with Test::Inline to ensure
924 the tests match the actual code in the recipes. (Dave Rolsky)
927 - Working on the above turned up a number of little bugs in the
928 recipe code. (Dave Rolsky)
930 * Moose::Util::TypeConstraints::Optimized
931 - Just use Class::MOP for the optimized ClassName check. (Dave
934 0.70 Sat, February 14, 2009
935 * Moose::Util::TypeConstraints
936 - Added the RoleName type (stevan)
937 - added tests for this (stevan)
939 * Moose::Cookbook::Basics::Recipe3
940 - Updated the before qw[left right] sub to be a little more
941 defensive about what it accepts (stevan)
942 - added more tests to t/000_recipies/basics/003_binary_tree.t
946 - We now always call DEMOLISHALL, even if a class does not
947 define DEMOLISH. This makes sure that method modifiers on
948 DEMOLISHALL work as expected. (doy)
949 - added tests for this (EvanCarroll)
951 * Moose::Util::MetaRole
952 - Accept roles for the wrapped_method_metaclass (rafl)
953 - added tests for this (rafl)
955 * Moose::Meta::Attribute
956 - We no longer pass the meta-attribute object as a final
957 argument to triggers. This actually changed for inlined code a
958 while back, but the non-inlined version and the docs were
962 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
963 they require 0.11. (Dave Rolsky)
966 - Lots of small changes to the manual, cookbook, and
967 elsewhere. These were based on feedback from various
968 users, too many to list here. (Dave Rolsky)
970 0.69 Thu, February 12, 2009
972 - Make some keyword errors use throw_error instead of croak
973 since Moose::Exporter wraps keywords now (Sartak)
976 - Revised every recipe for style and clarity. Also moved some
977 documentation out of cookbook recipes and into Moose::Manual
978 pages. This work was funded as part of the Moose docs grant
979 from TPF. (Dave Rolsky)
981 * Moose::Meta::Method::Delegation
982 - If the attribute doing the delegation was not populated, the
983 error message did not specify the attribute name
986 0.68 Wed, February 4, 2009
988 - Many spelling, typo, and formatting fixes by daxim.
990 * Moose::Manual::Attributes
991 - The NAME section in the POD used "Attribute" so search.cpan
992 didn't resolve links from other documents properly.
994 * Moose::Meta::Method::Overriden
995 - Now properly spelled as Overridden. Thanks to daxim for
998 0.67 Tue, February 3, 2009
1000 - Lots of little typo fixes and a few clarifications. Several
1001 pages didn't have proper titles, and so weren't actually
1002 visible on search.cpan.org. Thanks to hanekomu for a variety
1003 of fixes and formatting improvements.
1005 0.66 Tue, February 3, 2009
1007 - This is a brand new, extensive manual for Moose. This aims to
1008 provide a complete introduction to all of Moose's
1009 features. This work was funded as part of the Moose docs grant
1010 from TPF. (Dave Rolsky)
1012 * Moose::Meta::Attribute
1013 - Added a delegation_metaclass method to replace a hard-coded
1014 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
1016 * Moose::Util::TypeConstraints
1017 - If you created a subtype and passed a parent that Moose didn't
1018 know about, it simply ignored the parent. Now it automatically
1019 creates the parent as a class type. This may not be what you
1020 want, but is less broken than before. (Dave Rolsky)
1022 * Moose::Util::TypeConstraints
1023 - This module tried throw errors by calling Moose->throw_error,
1024 but it did not ensure that Moose was loaded first. This could
1025 cause very unhelpful errors when it tried to throw an error
1026 before Moose was loaded. (Dave Rolsky)
1028 * Moose::Util::TypeConstraints
1029 - You could declare a name with subtype such as "Foo!Bar" that
1030 would be allowed, but if you used it in a parameterized type
1031 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
1032 vetting on names created via the sugar functions, so that they
1033 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
1035 0.65 Thu, January 22, 2008
1036 * Moose and Moose::Meta::Method::Overridden
1037 - If an overridden method called super(), and then the
1038 superclass's method (not overridden) _also_ called super(),
1039 Moose went into an endless recursion loop. Test provided by
1040 Chris Prather. (Dave Rolsky)
1042 * Moose::Meta::TypeConstraint
1043 - All methods are now documented. (gphat)
1045 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
1046 - Fixed some bogus failures that occurred because we tried to
1047 validate filesystem paths in a very ad-hoc and
1048 not-quite-correct way. (Dave Rolsky)
1050 * Moose::Util::TypeConstraints
1051 - Added maybe_type to exports. See docs for details. (rjbs)
1054 - Added Moose::Util::TypeConstraints to the SEE ALSO
1058 - Methods created via an attribute can now fulfill a "requires"
1059 declaration for a role. (nothingmuch)
1061 * Moose::Meta::Method::*
1062 - Stack traces from inlined code will now report its line and
1063 file as being in your class, as opposed to in Moose
1064 guts. (nothingmuch).
1066 0.64 Wed, December 31, 2008
1067 * Moose::Meta::Method::Accessor
1068 - Always inline predicate and clearer methods (Sartak)
1070 * Moose::Meta::Attribute
1071 - Support for parameterized traits (Sartak)
1072 - verify_against_type_constraint method to avoid duplication
1073 and enhance extensibility (Sartak)
1075 * Moose::Meta::Class
1076 - Tests (but no support yet) for parameterized traits (Sartak)
1079 - Require Class::MOP 0.75+, which has the side effect of making
1080 sure we work on Win32. (Dave Rolsky)
1082 0.63 Mon, December 8, 2008
1083 * Moose::Unsweetened
1084 - Some small grammar tweaks and bug fixes in non-Moose example
1087 0.62_02 Fri, December 5, 2008
1088 * Moose::Meta::Role::Application::ToClass
1089 - When a class does not provide all of a role's required
1090 methods, the error thrown now mentions all of the missing
1091 methods, as opposed to just the first one found. Requested by
1092 Curtis Poe (RT #41119). (Dave Rolsky)
1094 * Moose::Meta::Method::Constructor
1095 - Moose will no longer inline a constructor for your class
1096 unless it inherits its constructor from Moose::Object, and
1097 will warn when it doesn't inline. If you want to force
1098 inlining anyway, pass "replace_constructor => 1" to
1099 make_immutable. Addresses RT #40968, reported by Jon
1100 Swartz. (Dave Rolsky)
1101 - The quoting of default values could be broken if the default
1102 contained a single quote ('). Now we use quotemeta to escape
1103 anything potentially dangerous in the defaults. (Dave Rolsky)
1105 0.62_01 Wed, December 3, 2008
1107 - use the method->execute API for BUILDALL
1108 and DEMOLISHALL (Sartak)
1110 * Moose::Util::TypeConstraints
1111 - We now make all the type constraint meta classes immutable
1112 before creating the default types provided by Moose. This
1113 should make loading Moose a little faster. (Dave Rolsky)
1115 0.62 Wed November 26, 2008
1116 * Moose::Meta::Role::Application::ToClass
1117 Moose::Meta::Role::Application::ToRole
1118 - fixed issues where excluding and aliasing the
1119 same methods for a single role did not work
1120 right (worked just fine with multiple
1122 - added test for this (stevan)
1124 * Moose::Meta::Role::Application::RoleSummation
1125 - fixed the error message when trying to compose
1126 a role with a role it excludes (Sartak)
1129 - Catch another case where recursion caused the value
1130 of $CALLER to be stamped on (t0m)
1131 - added test for this (t0m)
1134 - Remove the make_immutable keyword, which has been
1135 deprecated since April. It breaks metaclasses that
1136 use Moose without no Moose (Sartak)
1138 * Moose::Meta::Attribute
1139 - Removing an attribute from a class now also removes delegation
1140 (handles) methods installed for that attribute (t0m)
1141 - added test for this (t0m)
1143 * Moose::Meta::Method::Constructor
1144 - An attribute with a default that looked like a number (but was
1145 really a string) would accidentally be treated as a number
1146 when the constructor was made immutable (perigrin)
1147 - added test for this (perigrin)
1150 - create method for constructing a role
1151 dynamically (Sartak)
1152 - added test for this (Sartak)
1153 - anonymous roles! (Sartak)
1154 - added test for this (Sartak)
1157 - more consistent error messages (Sartak)
1159 * Moose::Cookbook::Roles::Recipe1
1160 - attempt to explain why a role that just requires
1161 methods is useful (Sartak)
1163 0.61 Fri November 7, 2008
1164 * Moose::Meta::Attribute
1165 - When passing a role to handles, it will be loaded if necessary
1168 * Moose::Meta::Class
1169 - Method objects returned by get_method (and other methods)
1170 Could end up being returned without an associated_metaclass
1171 attribute. Removing get_method_map, which is provided by
1172 Class::MOP::Class, fixed this. The Moose version did nothing
1173 different from its parent except introduce a bug. (Dave Rolsky)
1174 - added tests for this (jdv79)
1177 - Added a $VERSION to all .pm files which didn't have one. Fixes
1178 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
1180 * Moose::Cookbook::Basics::Recipe4
1181 * Moose::Cookbook::Basics::Recipe6
1182 - These files had spaces on the first line of the SYNOPSIS, as
1183 opposed to a totally empty line. According to RT #40432, this
1184 confuses POD parsers. (Dave Rolsky)
1186 0.60 Fri October 24, 2008
1188 - Passing "-traits" when loading Moose caused the Moose.pm
1189 exports to be broken. Reported by t0m. (Dave Rolsky)
1190 - Tests for this bug. (t0m)
1193 - Change resolve_metaclass alias to use the new
1194 load_first_existing_class function. This makes it a lot
1195 simpler, and also around 5 times faster. (t0m)
1196 - Add caching to resolve_metaclass_alias, which gives an order
1197 of magnitude speedup to things which repeatedly call the
1198 Moose::Meta::Attribute->does method, notably MooseX::Storage
1201 * Moose::Util::TypeConstraint
1202 - Put back the changes for parameterized constraints that
1203 shouldn't have been removed in 0.59. We still cannot parse
1204 them, but MooseX modules can create them in some other
1205 way. See the 0.58 changes for more details. (jnapiorkowski)
1206 - Changed the way subtypes are created so that the job is
1207 delegated to a type constraint parent. This clears up some
1208 hardcoded checking and should allow correct subtypes of
1209 Moose::Meta::Type::Constraint. Don't rely on this new API too
1210 much (create_child_type) because it may go away in the
1211 future. (jnapiorkowski)
1213 * Moose::Meta::TypeConstraint::Union
1214 - Type constraint names are sorted as strings, not numbers.
1217 * Moose::Meta::TypeConstraint::Parameterizable
1218 - New parameterize method. This can be used as a factory method
1219 to make a new type constraint with a given parameterized
1220 type. (jnapiorkowski)
1221 - added tests (jnapiorkowski)
1223 0.59 Tue October 14, 2008
1225 - Add abridged documentation for builder/default/initializer/
1226 predicate, and link to more details sections in
1227 Class::MOP::Attribute. (t0m)
1229 * Moose::Util::TypeConstraints
1230 - removed prototypes from all but the &-based stuff (mst)
1232 * Moose::Util::TypeConstraints
1233 - Creating a anonymous subtype with both a constraint and a
1234 message failed with a very unhelpful error, but should just
1235 work. Reported by t0m. (Dave Rolsky)
1238 - Some tests that used Test::Warn if it was available failed
1239 with older versions of Test::Warn. Reported by Fayland. (Dave
1241 - Test firing behavior of triggers in relation to builder/default/
1243 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
1244 kinds of supported type. (t0m)
1246 * Moose::Meta::Class
1247 - In create(), do not pass "roles" option to the superclass
1248 - added related test that creates an anon metaclass with
1249 a required attribute
1251 * Moose::Meta::TypeConstraint::Class
1252 * Moose::Meta::TypeConstraint::Role
1253 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
1254 other types (as per change in 0.55_02). (t0m)
1256 * Moose::Meta::TypeConstraint::Registry
1257 - Fix warning when dealing with unknown type names (t0m)
1259 * Moose::Util::TypeConstraints
1260 - Reverted changes from 0.58 related to handle parameterized
1261 types. This caused random failures on BSD and Win32 systems,
1262 apparently related to the regex engine. This means that Moose
1263 can no longer parse structured type constraints like
1264 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
1265 supported in a slightly different way via MooseX::Types some
1266 time in the future. (Dave Rolsky)
1268 0.58 Sat September 20, 2008
1269 !! This release has an incompatible change regarding !!
1270 !! how roles add methods to a class !!
1272 * Roles and role application
1273 ! Roles now add methods by calling add_method, not
1274 alias_method. They make sure to always provide a method
1275 object, which will be cloned internally. This means that it is
1276 now possible to track the source of a method provided by a
1277 role, and even follow its history through intermediate roles.
1279 This means that methods added by a role now show up when
1280 looking at a class's method list/map. (Dave Rolsky)
1283 - From this release on, we'll try to maintain a list of
1284 conflicting modules, and warn you if you have one
1285 installed. For example, this release conflicts with ...
1286 - MooseX::Singleton <= 0.11
1287 - MooseX::Params::Validate <= 0.05
1290 In general, we try to not break backwards compatibility for
1291 most Moose users, but MooseX modules and other code which
1292 extends Moose's metaclasses is often affected by very small
1293 changes in the Moose internals.
1295 * Moose::Meta::Method::Delegation
1296 * Moose::Meta::Attribute
1297 - Delegation methods now have their own method class. (Dave
1300 * Moose::Meta::TypeConstraint::Parameterizable
1301 - Added a new method 'parameterize' which is basically a factory
1302 for the containing constraint. This makes it easier to create
1303 new types of parameterized constraints. (jnapiorkowski)
1305 * Moose::Meta::TypeConstraint::Union
1306 - Changed the way Union types canonicalize their names to follow
1307 the normalized TC naming rules, which means we strip all
1308 whitespace. (jnapiorkowski)
1310 * Moose::Util::TypeConstraints
1311 - Parameter and Union args are now sorted, this makes Int|Str
1312 the same constraint as Str|Int. (jnapiorkowski)
1313 - Changes to the way Union types are parsed to more correctly
1314 stringify their names. (jnapiorkowski)
1315 - When creating a parameterized type, we now use the new
1316 parameterize method. (jnapiorkowski)
1317 - Incoming type constraint strings are now normalized to remove
1318 all whitespace differences. (jnapiorkowski)
1319 - Changed the way we parse type constraint strings so that we now
1320 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
1321 constraints. This lays the foundation for more flexible type
1322 constraint implementations.
1324 * Tests and docs for all the above. (jnapiorkowski)
1328 - Moose::Exporter will no longer remove a subroutine that the
1329 exporting package re-exports. Moose re-exports the
1330 Carp::confess function, among others. The reasoning is that we
1331 cannot know whether you have also explicitly imported those
1332 functions for your own use, so we err on the safe side and
1333 always keep them. (Dave Rolsky)
1334 - added tests for this (rafl)
1336 * Moose::Meta::Class
1337 - Changes to how we fix metaclass compatibility that are much
1338 too complicated to go into. The summary is that Moose is much
1339 less likely to complain about metaclass incompatibility
1340 now. In particular, if two metaclasses differ because
1341 Moose::Util::MetaRole was used on the two corresponding
1342 classes, then the difference in roles is reconciled for the
1343 subclass's metaclass. (Dave Rolsky)
1344 - Squashed an warning in _process_attribute (thepler)
1347 - throw exceptions (sooner) for invalid attribute names (thepler)
1348 - added tests for this (thepler)
1350 * Moose::Util::MetaRole
1351 - If you explicitly set a constructor or destructor class for a
1352 metaclass object, and then applied roles to the metaclass,
1353 that explicitly set class would be lost and replaced with the
1356 * Moose::Meta::Class
1357 * Moose::Meta::Attribute
1358 * Moose::Meta::Method
1361 * Moose::Error::Default
1362 * Moose::Error::Croak
1363 * Moose::Error::Confess
1364 - All instances of confess() changed to use overridable
1365 C<throw_error> method. This method ultimately calls a class
1366 constructor, and you can change the class being called. In
1367 addition, errors now pass more information than just a string.
1368 The default C<error_class> behaves like C<Carp::confess>, so
1369 the behavior is not visibly different for end users.
1371 0.57 Wed September 3, 2008
1373 - A new bit of doc intended to introduce folks familiar with
1374 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
1376 * Moose::Unsweetened
1377 - Shows examples of two classes, each done first with and then
1378 without Moose. This makes a nice parallel to
1379 Moose::Intro. (Dave Rolsky)
1381 * Moose::Util::TypeConstraints
1382 - Fixed a bug in find_or_parse_type_constraint so that it
1383 accepts a Moose::Meta::TypeConstraint object as the parent
1384 type, not just a name (jnapiorkowski)
1385 - added tests (jnapiorkowski)
1388 - If Sub::Name was not present, unimporting failed to actually
1389 remove some sugar subs, causing test failures (Dave Rolsky)
1391 0.56 Mon September 1, 2008
1392 For those not following the series of dev releases, there are
1393 several major changes in this release of Moose.
1394 ! Moose::init_meta should now be called as a method. See the
1397 - Major performance improvements by nothingmuch.
1399 - New modules for extension writers, Moose::Exporter and
1400 Moose::Util::MetaRole by Dave Rolsky.
1402 - Lots of doc improvements and additions, especially in the
1405 - Various bug fixes.
1407 * Removed all references to the experimental-but-no-longer-needed
1408 Moose::Meta::Role::Application::ToMetaclassInstance.
1410 * Require Class::MOP 0.65.
1412 0.55_04 Sat August 30, 2008
1413 * Moose::Util::MetaRole
1414 * Moose::Cookbook::Extending::Recipe2
1415 - This simplifies the application of roles to any meta class, as
1416 well as the base object class. Reimplemented metaclass traits
1417 using this module. (Dave Rolsky)
1419 * Moose::Cookbook::Extending::Recipe1
1420 - This a new recipe, an overview of various ways to write Moose
1421 extensions (Dave Rolsky)
1423 * Moose::Cookbook::Extending::Recipe3
1424 * Moose::Cookbook::Extending::Recipe4
1425 - These used to be Extending::Recipe1 and Extending::Recipe2,
1428 0.55_03 Fri August 29, 2008
1429 * No changes from 0.55_02 except increasing the Class::MOP
1430 dependency to 0.64_07.
1432 0.55_02 Fri August 29, 2008
1433 * Makefile.PL and Moose.pm
1434 - explicitly require Perl 5.8.0+ (Dave Rolsky)
1436 * Moose::Util::TypeConstraints
1437 - Fix warnings from find_type_constraint if the type is not
1440 * Moose::Meta::TypeConstraint
1441 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
1442 return false if the type you specify cannot be found in the
1443 type registry, rather than throwing an unhelpful and
1444 coincidental exception. (t0m).
1445 - added docs & test for this (t0m)
1447 * Moose::Meta::TypeConstraint::Registry
1448 - add_type_constraint now throws an exception if a parameter is
1450 - added docs & test for this (t0m)
1452 * Moose::Cookbook::FAQ
1453 - Added a faq entry on the difference between "role" and "trait"
1457 - Fixed a bug that caused role composition to not see a required
1458 method when that method was provided by another role being
1459 composed at the same time. (Dave Rolsky)
1460 - test and bug finding (tokuhirom)
1462 0.55_01 Wed August 20, 2008
1464 !! Calling Moose::init_meta as a function is now !!
1465 !! deprecated. Please see the Moose.pm docs for details. !!
1467 * Moose::Meta::Method::Constructor
1468 - Fix inlined constructor so that values produced by default
1469 or builder methods are coerced as required. (t0m)
1470 - added test for this (t0m)
1472 * Moose::Meta::Attribute
1473 - A lazy attribute with a default or builder did not attempt to
1474 coerce the default value. The immutable code _did_
1476 - added test for this (t0m)
1479 - This is a new helper module for writing "Moose-alike"
1480 modules. This should make the lives of MooseX module authors
1481 much easier. (Dave Rolsky)
1484 * Moose::Cookbook::Meta::Recipe5
1485 - Implemented metaclass traits (and wrote a recipe for it):
1487 use Moose -traits => 'Foo'
1489 This should make writing small Moose extensions a little
1490 easier (Dave Rolsky)
1492 * Moose::Cookbook::Basics::Recipe1
1493 - Removed any examples of direct hashref access, and applied an
1494 editorial axe to reduce verbosity. (Dave Rolsky)
1496 * Moose::Cookbook::Basics::Recipe1
1497 - Also applied an editorial axe here. (Dave Rolsky)
1500 * Moose::Cookbook::Extending::Recipe1
1501 * Moose::Cookbook::Extending::Recipe2
1502 - Rewrote extending and embedding moose documentation and
1503 recipes to use Moose::Exporter (Dave Rolsky)
1507 - These two modules now warn when you load them from the main
1508 package "main" package, because we will not export sugar to
1509 main. Previously it just did nothing. (Dave Rolsky)
1512 - Now provide an init_meta method just like Moose.pm, and you
1513 can call this to provide an alternate role metaclass. (Dave
1514 Rolsky and nothingmuch)
1515 - get_method_map now respects the package cache flag (nothingmuch)
1518 - Two new methods - add_method and wrap_method_body
1522 - Optimizations including allowing constructors to accept hash
1523 refs, making many more classes immutable, and making
1524 constructors immutable. (nothingmuch)
1526 0.55 Sun August 3, 2008
1527 * Moose::Meta::Attribute
1528 - breaking down the way 'handles' methods are
1529 created so that the process can be more easily
1530 overridden by subclasses (stevan)
1532 * Moose::Meta::TypeConstraint
1533 - fixing what is passed into a ->message with
1534 the type constraints (RT #37569)
1535 - added tests for this (Charles Alderman)
1537 * Moose::Util::TypeConstraints
1538 - fix coerce to accept anon types like subtype can (mst)
1541 - reorganized the recipes into sections - Basics, Roles, Meta,
1542 Extending - and wrote abstracts for each section (Dave Rolsky)
1544 * Moose::Cookbook::Basics::Recipe10
1545 - A new recipe that demonstrates operator overloading
1546 in combination with Moose. (bluefeet)
1548 * Moose::Cookbook::Meta::Recipe1
1549 - an introduction to what meta is and why you'd want to make
1550 your own metaclass extensions (Dave Rolsky)
1552 * Moose::Cookbook::Meta::Recipe4
1553 - a very simple metaclass example (Dave Rolsky)
1555 * Moose::Cookbook::Extending::Recipe1
1556 - how to write a Moose-alike module to use your own object base
1559 * Moose::Cookbook::Extending::Recipe2
1560 - how to write modules with an API just like C<Moose.pm> (Dave
1564 - Tons of fixes, both syntactical and grammatical (Dave
1565 Rolsky, Paul Fenwick)
1567 0.54 Thurs. July 3, 2008
1568 ... this is not my day today ...
1570 * Moose::Meta::Attribute
1571 - fixed legal_options_for_inheritance such that
1572 clone_and_inherit options still works for
1573 Class::MOP::Attribute objects and therefore
1574 does not break MooseX::AttributeHelpers
1577 0.53 Thurs. July 3, 2008
1578 * Whoops, I guess I should run 'make manifest' before
1579 actually releasing the module. No actual changes
1580 in this release, except the fact that it includes
1581 the changes that I didn't include in the last
1584 0.52 Thurs. July 3, 2008
1586 - added "FEATURE REQUESTS" section to the Moose docs
1587 to properly direct people (stevan) (RT #34333)
1588 - making 'extends' croak if it is passed a Role since
1589 this is not ever something you want to do
1590 (fixed by stevan, found by obra)
1591 - added tests for this (stevan)
1594 - adding support for DOES (as in UNIVERSAL::DOES)
1596 - added test for this
1598 * Moose::Meta::Attribute
1599 - added legal_options_for_inheritance (wreis)
1600 - added tests for this (wreis)
1602 * Moose::Cookbook::Snacks::*
1603 - removed some of the unfinished snacks that should
1604 not have been released yet. Added some more examples
1605 to the 'Keywords' snack. (stevan)
1607 * Moose::Cookbook::Style
1608 - added general Moose "style guide" of sorts to the
1609 cookbook (nothingmuch) (RT #34335)
1612 - added more BUILDARGS tests (stevan)
1614 0.51 Thurs. Jun 26, 2008
1616 - add unimport so "no Moose::Role" actually does
1619 * Moose::Meta::Role::Application::ToRole
1620 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1621 order to provide its own implementation, that method still got
1622 added to the list of required methods for consumers of
1623 RoleB. Now an aliased method is only added to the list of
1624 required methods if the role doing the aliasing does not
1625 provide its own implementation. See Recipe 11 for an example
1626 of all this. (Dave Rolsky)
1627 - added tests for this
1629 * Moose::Meta::Method::Constructor
1630 - when a single argument that wasn't a hashref was provided to
1631 an immutabilized constructor, the error message was very
1632 unhelpful, as opposed to the non-immutable error. Reported by
1634 - added test for this (Dave Rolsky)
1636 * Moose::Meta::Attribute
1637 - added support for meta_attr->does("ShortAlias") (sartak)
1638 - added tests for this (sartak)
1639 - moved the bulk of the `handles` handling to the new
1640 install_delegation method (Stevan)
1643 - Added BUILDARGS, a new step in new()
1645 * Moose::Meta::Role::Application::RoleSummation
1646 - fix typos no one ever sees (sartak)
1648 * Moose::Util::TypeConstraints
1649 * Moose::Meta::TypeConstraint
1650 * Moose::Meta::TypeCoercion
1651 - Attempt to work around the ??{ } vs. threads issue
1653 - Some null_constraint optimizations
1655 0.50 Thurs. Jun 11, 2008
1656 - Fixed a version number issue by bumping all modules
1659 0.49 Thurs. Jun 11, 2008
1660 !! This version now approx. 20-25% !!
1661 !! faster with new Class::MOP 0.59 !!
1663 * Moose::Meta::Attribute
1664 - fixed how the is => (ro|rw) works with
1665 custom defined reader, writer and accessor
1667 - added docs for this (TODO).
1668 - added tests for this (Thanks to Penfold)
1669 - added the custom attribute alias for regular
1670 Moose attributes which is "Moose"
1671 - fix builder and default both being used
1676 Moose::Meta::Attribute
1678 Moose::Meta::Role::Composite
1679 Moose::Util::TypeConstraints
1680 - switched usage of reftype to ref because
1684 - changing add_package_symbol to use the new
1688 - fixed how DEMOLISHALL is called so that it
1689 can be overrided in subclasses (thanks to Sartak)
1690 - added test for this (thanks to Sartak)
1692 * Moose::Util::TypeConstraints
1693 - move the ClassName type check code to
1694 Class::MOP::is_class_loaded (thanks to Sartak)
1696 * Moose::Cookbook::Recipe11
1697 - add tests for this (thanks to tokuhirom)
1699 0.48 Thurs. May 29, 2008
1700 (early morning release engineering)--
1702 - fixing the version in Moose::Meta::Method::Destructor
1703 which was causing the indexer to choke
1705 0.47 Thurs. May 29, 2008
1706 (late night release engineering)--
1708 - fixing the version is META.yml, no functional
1709 changes in this release
1711 0.46 Wed. May 28, 2008
1712 !! This version now approx. 20-25% !!
1713 !! faster with new Class::MOP 0.57 !!
1715 * Moose::Meta::Class
1716 - some optimizations of the &initialize method
1717 since it is called so often by &meta
1719 * Moose::Meta::Class
1721 - now use the get_all_package_symbols from the
1722 updated Class::MOP, test suite is now 10 seconds
1725 * Moose::Meta::Method::Destructor
1726 - is_needed can now also be called as a class
1727 method for immutablization to check if the
1728 destructor object even needs to be created
1731 * Moose::Meta::Method::Destructor
1732 Moose::Meta::Method::Constructor
1733 - added more descriptive error message to help
1734 keep people from wasting time tracking an error
1735 that is easily fixed by upgrading.
1737 0.45 Saturday, May 24, 2008
1739 - Because of work in Class::MOP 0.57, all
1740 XS based functionality is now optional
1741 and a Pure Perl version is supplied
1742 - the CLASS_MOP_NO_XS environment variable
1743 can now be used to force non-XS versions
1745 - several of the packages have been tweaked
1746 to take care of this, mostly we added
1747 support for the package_name and name
1748 variables in all the Method metaclasses
1749 - before/around/after method modifiers now
1750 support regexp matching of names
1751 (thanks to Takatoshi Kitano)
1752 - tests added for this
1753 - NOTE: this only works for classes, it
1754 is currently not supported in roles,
1755 but, ... patches welcome
1756 - All usage of Carp::confess have been replaced
1757 by Carp::croak in the "keyword" functions since
1758 the stack trace is usually not helpful
1761 - All usage of Carp::confess have been replaced
1762 by Carp::croak in the "keyword" functions since
1763 the stack trace is usually not helpful
1764 - The 'has' keyword for roles now accepts the
1765 same array ref form that Moose.pm does
1766 (has [qw/foo bar/] => (is => 'rw', ...))
1767 - added test for this
1769 * Moose::Meta::Attribute
1770 - trigger on a ro-attribute is no longer an
1771 error, as it's useful to trigger off of the
1774 * Moose::Meta::Class
1775 - added same 'add_package_symbol' fix as in
1779 - does_role now handles non-Moose classes
1781 - added tests for this
1782 - added the 'add_method_modifier' function
1783 (thanks to Takatoshi Kitano)
1785 * Moose::Util::TypeConstraints
1786 - subtypes of parameterizable types now are
1787 themselves parameterizable types
1789 * Moose::Meta::Method::Constructor
1790 - fixed bug where trigger was not being
1791 called by the inlined immutable
1793 - added test for this (thanks to Caelum)
1795 * Moose::Meta::Role::Application::ToInstance
1796 - now uses the metaclass of the instance
1797 (if possible) to create the anon-class
1798 (thanks Jonathan Rockway)
1800 * Moose::Cookbook::Recipe22
1801 - added the meta-attribute trait recipe
1805 - fixed hash-ordering test bug that was
1806 causing occasional cpantester failures
1807 - renamed the t/000_recipe/*.t tests to be
1808 more descriptive (thanks to Sartak)
1810 0.44 Sat. May 10, 2008
1812 - made make_immutable warning cluck to
1813 show where the error is (thanks mst)
1816 - BUILDALL and DEMOLISHALL now call
1817 ->body when looping through the
1818 methods, to avoid the overloaded
1820 - fixed issue where DEMOLISHALL was
1821 eating the $@ values, and so not
1822 working correctly, it still kind of
1823 eats them, but so does vanilla perl
1824 - added tests for this
1826 * Moose::Cookbook::Recipe7
1827 - added new recipe for immutable
1828 functionality (thanks Dave Rolsky)
1830 * Moose::Cookbook::Recipe9
1831 - added new recipe for builder and
1832 lazy_build (thanks Dave Rolsky)
1834 * Moose::Cookbook::Recipe11
1835 - added new recipe for method aliasing
1836 and exclusion with Roles (thanks Dave Rolsky)
1839 - fixed Win32 test failure (thanks spicyjack)
1841 ~ removed Build.PL and Module::Build compat
1842 since Module::Install has done that.
1844 0.43 Wed. April, 30, 2008
1846 drink more coffee before
1847 doing release engineering
1849 - whoops, forgot to do the smolder tests,
1850 and we broke some of the custom meta-attr
1851 modules. This fixes that.
1853 0.42 Mon. April 28, 2008
1854 - some bad tests slipped by, nothing else
1855 changed in this release (cpantesters++)
1857 - upped the Class::MOP dependency to 0.55
1858 since we have tests which need the C3
1861 0.41 Mon. April 28, 2008
1862 ~~ numerous documentation updates ~~
1864 - Changed all usage of die to Carp::croak for better
1865 error reporting (initial patch by Tod Hagan)
1867 ** IMPORTANT NOTE **
1868 - the make_immutable keyword is now deprecated, don't
1869 use it in any new code and please fix your old code
1870 as well. There will be 2 releases, and then it will
1876 - refactored the way inner and super work to avoid
1877 any method/@ISA cache penalty (nothingmuch)
1879 * Moose::Meta::Class
1880 - fixing &new_object to make sure trigger gets the
1881 coerced value (spotted by Charles Alderman on the
1883 - added test for this
1885 * Moose::Meta::Method::Constructor
1886 - immutable classes which had non-lazy attributes were calling
1887 the default generating sub twice in the constructor. (bug
1888 found by Jesse Luehrs, fixed by Dave Rolsky)
1889 - added tests for this (Dave Rolsky)
1890 - fix typo in initialize_body method (nothingmuch)
1892 * Moose::Meta::Method::Destructor
1893 - fix typo in initialize_body method (nothingmuch)
1895 * Moose::Meta::Method::Overriden
1896 Moose::Meta::Method::Augmented
1897 - moved the logic for these into their own
1898 classes (nothingmuch)
1900 * Moose::Meta::Attribute
1901 - inherited attributes may now be extended without
1902 restriction on the type ('isa', 'does') (Sartak)
1903 - added tests for this (Sartak)
1904 - when an attribute property is malformed (such as lazy without
1905 a default), give the name of the attribute in the error
1907 - added the &applied_traits and &has_applied_traits methods
1908 to allow introspection of traits
1909 - added tests for this
1910 - moved 'trait' and 'metaclass' argument handling to here from
1912 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1913 '+foo' syntax) (nothingmuch)
1914 - added tests for this (t0m)
1917 - localize $@ inside DEMOLISHALL to avoid it
1918 eating $@ (found by Ernesto)
1919 - added test for this (thanks to Ernesto)
1921 * Moose::Util::TypeConstraints
1922 - &find_type_constraint now DWIMs when given an
1923 type constraint object or name (nothingmuch)
1924 - &find_or_create_type_constraint superseded with a number of more
1926 - find_or_create_{isa,does}_type_constraint
1927 - find_or_parse_type_constraint
1929 * Moose::Meta::TypeConstraint
1930 Moose::Meta::TypeConstraint::Class
1931 Moose::Meta::TypeConstraint::Role
1932 Moose::Meta::TypeConstraint::Enum
1933 Moose::Meta::TypeConstraint::Union
1934 Moose::Meta::TypeConstraint::Parameterized
1935 - added the &equals method for comparing two type
1936 constraints (nothingmuch)
1937 - added tests for this (nothingmuch)
1939 * Moose::Meta::TypeConstraint
1940 - add the &parents method, which is just an alias to &parent.
1941 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1943 * Moose::Meta::TypeConstraint::Class
1944 - added the class attribute for introspection purposes
1946 - added tests for this
1948 * Moose::Meta::TypeConstraint::Enum
1949 Moose::Meta::TypeConstraint::Role
1950 - broke these out into their own classes (nothingmuch)
1952 * Moose::Cookbook::Recipe*
1953 - fixed references to test file locations in the POD
1954 and updated up some text for new Moose features
1958 - Added &resolve_metaclass_alias, a helper function for finding an actual
1959 class for a short name (e.g. in the traits list)
1961 0.40 Fri. March 14, 2008
1962 - I hate Pod::Coverage
1964 0.39 Fri. March 14, 2008
1966 - documenting the use of '+name' with attributes
1967 that come from recently composed roles. It makes
1968 sense, people are using it, and so why not just
1969 officially support it.
1970 - fixing the 'extends' keyword so that it will not
1971 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1974 - added the perl -Moose=+Class::Name feature to allow
1975 monkeypatching of classes in one liners
1978 - fixing the 'apply_all_roles' keyword so that it will not
1979 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1981 * Moose::Meta::Class
1982 - added ->create method which now supports roles (thanks to jrockway)
1983 - added tests for this
1984 - added ->create_anon_class which now supports roles and caching of
1985 the results (thanks to jrockway)
1986 - added tests for this
1987 - made ->does_role a little more forgiving when it is
1988 checking a Class::MOP era metaclasses.
1990 * Moose::Meta::Role::Application::ToInstance
1991 - it is now possible to pass extra params to be used when
1992 a role is applied to an the instance (rebless_params)
1993 - added tests for this
1995 * Moose::Util::TypeConstraints
1996 - class_type now accepts an optional second argument for a
1997 custom message. POD anotated accordingly (groditi)
1998 - added tests for this
1999 - it is now possible to make anon-enums by passing 'enum' an
2000 ARRAY ref instead of the $name => @values. Everything else
2002 - added tests for this
2005 - making test for using '+name' on attributes consumed
2006 from a role, it works and makes sense too.
2008 * Moose::Meta::Attribute
2009 - fix handles so that it doesn't return nothing
2010 when the method cannot be found, not sure why
2011 it ever did this originally, this means we now
2012 have slightly better support for AUTOLOADed
2014 - added more delegation tests
2015 - adding ->does method to this so as to better
2016 support traits and their introspection.
2017 - added tests for this
2020 - localizing the Data::Dumper configurations so
2021 that it does not pollute others (RT #33509)
2022 - made ->does a little more forgiving when it is
2023 passed Class::MOP era metaclasses.
2025 0.38 Fri. Feb. 15, 2008
2026 * Moose::Meta::Attribute
2027 - fixed initializer to correctly do
2028 type checking and coercion in the
2030 - added tests for this
2033 - fixed some finicky tests (thanks to konobi)
2035 0.37 Thurs. Feb. 14, 2008
2037 - fixed some details in Moose::init_meta
2038 and its superclass handling (thanks thepler)
2039 - added tests for this (thanks thepler)
2040 - 'has' now dies if you don't pass in name
2042 - added the 'make_immutable' keyword as a shortcut
2045 * Moose::Meta::Class
2046 Moose::Meta::Method::Constructor
2047 Moose::Meta::Attribute
2048 - making (init_arg => undef) work here too
2049 (thanks to nothingmuch)
2051 * Moose::Meta::Attribute
2052 Moose::Meta::Method::Constructor
2053 Moose::Meta::Method::Accessor
2054 - make lazy attributes respect attr initializers (rjbs)
2055 - added tests for this
2057 * Moose::Util::TypeConstraints
2058 Moose::Util::TypeConstraints::OptimizedConstraints
2059 Moose::Meta::TypeConstraints
2060 Moose::Meta::Attribute
2061 Moose::Meta::Method::Constructor
2062 Moose::Meta::Method::Accessor
2063 - making type errors use the
2064 assigned message (thanks to Sartak)
2065 - added tests for this
2067 * Moose::Meta::Method::Destructor
2068 - making sure DESTROY gets inlined properly
2069 with successive DEMOLISH calls (thanks to manito)
2071 * Moose::Meta::Attribute
2072 Moose::Meta::Method::Accessor
2073 - fixed handling of undef with type constraints
2075 - added tests for this
2078 - added &get_all_init_args and &get_all_attribute_values
2079 (thanks to Sartak and nothingmuch)
2081 0.36 Sat. Jan. 26, 2008
2083 Moose::Meta::Attribute
2084 - role type tests now support when roles are
2085 applied to non-Moose classes (found by ash)
2086 - added tests for this (thanks to ash)
2087 - couple extra tests to boost code coverage
2089 * Moose::Meta::Method::Constructor
2090 - improved fix for handling Class::MOP attributes
2091 - added test for this
2093 * Moose::Meta::Class
2094 - handled the add_attribute($attribute_meta_object)
2096 - added test for this
2098 0.35 Tues. Jan. 22, 2008
2099 * Moose::Meta::Method::Constructor
2100 - fix to make sure even Class::MOP attributes
2101 are handled correctly (Thanks to Dave Rolsky)
2102 - added test for this (also Dave Rolsky)
2104 * Moose::Meta::Class
2105 - improved error message on _apply_all_roles,
2106 you should now use Moose::Util::apply_all_roles
2107 and you shouldnt have been using a _ prefixed
2108 method in the first place ;)
2110 0.34 Mon. Jan. 21, 2008
2111 ~~~ more misc. doc. fixes ~~~
2112 ~~ updated copyright dates ~~
2114 Moose is now a postmodern object system :)
2115 - (see the POD for details)
2117 * <<Role System Refactoring>>
2118 - this release contains a major reworking and
2119 cleanup of the role system
2120 - 100% backwards compat.
2121 - Role application now restructured into seperate
2122 classes based on type of applicants
2123 - Role summation (combining of more than one role)
2124 is much cleaner and anon-classes are no longer
2125 used in this process
2126 - new Composite role metaclass
2127 - runtime application of roles to instances
2128 is now more efficient and re-uses generated
2129 classes when applicable
2131 * <<New Role composition features>>
2132 - methods can now be excluded from a given role
2134 - methods can now be aliased to another name (and
2135 still retain the original as well)
2137 * Moose::Util::TypeConstraints::OptimizedConstraints
2138 - added this module (see above)
2140 * Moose::Meta::Class
2141 - fixed the &_process_attribute method to be called
2142 by &add_attribute, so that the API is now correct
2144 * Moose::Meta::Method::Accessor
2145 - fixed bug when passing a list of values to
2146 an accessor would get (incorrectly) ignored.
2147 Thanks to Sartak for finding this ;)
2148 - added tests for this (Sartak again)
2150 * Moose::Meta::Method::Accessor
2151 Moose::Meta::Method::Constructor
2152 Moose::Meta::Attribute
2153 Moose::Meta::TypeConstraint
2154 Moose::Meta::TypeCoercion
2155 - lots of cleanup of such things as:
2157 - type constraint handling
2158 - error handling/messages
2159 (thanks to nothingmuch)
2161 * Moose::Meta::TypeConstraint::Parameterizable
2162 - added this module to support the refactor
2163 in Moose::Meta::TypeConstraint::Parameterized
2165 * Moose::Meta::TypeConstraint::Parameterized
2166 - refactored how these types are handled so they
2167 are more generic and not confined to ArrayRef
2171 - shortened some file names for better VMS support (RT #32381)
2173 0.33 Fri. Dec. 14, 2007
2174 !! Moose now loads 2 x faster !!
2175 !! with new Class::MOP 0.49 !!
2177 ++ new oose.pm module to make command line
2178 Moose-ness easier (see POD docs for more)
2180 * Moose::Meta::Class
2182 - several tweaks to take advantage of the
2183 new method map caching in Class::MOP
2185 * Moose::Meta::TypeConstraint::Parameterized
2186 - allow subtypes of ArrayRef and HashRef to
2187 be used as a container (sartak)
2188 - added tests for this
2189 - basic support for coercion to ArrayRef and
2190 HashRef for containers (sartak)
2191 - added tests for this
2193 * Moose::Meta::TypeCoercion
2194 - coercions will now create subtypes as needed
2195 so you can now add coercions to parameterized
2196 types without having to explictly define them
2197 - added tests for this
2199 * Moose::Meta::Method::Accessor
2200 - allow subclasses to decide whether we need
2201 to copy the value into a new variable (sartak)
2203 0.32 Tues. Dec. 4, 2007
2204 * Moose::Util::TypeConstraints
2205 - fixing how subtype aliases of unions work
2206 they should inherit the parent's coercion
2207 - added tests for this
2208 - you can now define multiple coercions on
2209 a single type at different times instead of
2210 having to do it all in one place
2211 - added tests for this
2213 * Moose::Meta::TypeConstraint
2214 - there is now a default constraint of sub { 1 }
2215 instead of Moose::Util::TypeConstraints setting
2218 * Moose::Meta::TypeCoercion
2219 * Moose::Meta::TypeCoercion::Union
2220 - added the &has_coercion_for_type and
2221 &add_type_coercions methods to support the
2222 new features above (although you cannot add
2223 more type coercions for Union types)
2225 0.31 Mon. Nov. 26, 2007
2226 * Moose::Meta::Attribute
2227 - made the +attr syntax handle extending types with
2228 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
2229 now works if the original foo is an ArrayRef.
2230 - added tests for this.
2231 - delegation now works even if the attribute does not
2232 have a reader method using the get_read_method_ref
2233 method from Class::MOP::Attribute.
2234 - added tests for this
2235 - added docs for this
2237 * Moose::Util::TypeConstraints
2238 - passing no "additional attribute info" to
2239 &find_or_create_type_constraint will no longer
2240 attempt to create an __ANON__ type for you,
2241 instead it will just return undef.
2242 - added docs for this
2244 0.30 Fri. Nov. 23, 2007
2245 * Moose::Meta::Method::Constructor
2246 -builder related bug in inlined constructor. (groditi)
2248 * Moose::Meta::Method::Accessor
2249 - genereate unnecessary calls to predicates and refactor
2250 code generation for runtime speed (groditi)
2252 * Moose::Util::TypeConstraints
2253 - fix ClassName constraint to introspect symbol table (mst)
2254 - added more tests for this (mst)
2255 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
2256 with work correctly.
2257 - added tests for this
2260 - adding the link to Recipie 11 (written by Sartak)
2261 - adding test for SYNOPSIS code
2264 - New tests for builder bug. Upon instantiation, if an
2265 attribute had a builder, no value and was not lazy the
2266 builder default was not getting run, oops. (groditi)
2268 0.29 Tues. Nov. 13, 2007
2269 * Moose::Meta::Attribute
2270 - Fix error message on missing builder method (groditi)
2272 * Moose::Meta::Method::Accessor
2273 - Fix error message on missing builder method (groditi)
2276 - Add test to check for the correct error message when
2277 builder method is missing (groditi)
2279 0.28 Tues. Nov. 13, 2007
2280 - 0.27 packaged incorrectly (groditi)
2282 0.27 Tues. Nov. 13, 2007
2283 * Moose::Meta::Attribute
2284 - Added support for the new builder option (groditi)
2285 - Added support for lazy_build option (groditi)
2286 - Changed slot initialization for predicate changes (groditi)
2288 * Moose::Meta::Method::Accessor
2289 - Added support for lazy_build option (groditi)
2290 - Fix inline methods to work with corrected predicate
2293 * Moose::Meta::Method::Constructor
2294 - Added support for lazy_build option (groditi)
2297 - tests for builder and lazy_build (groditi)
2299 * fixing some misc. bits in the docs that
2300 got mentioned on CPAN Forum & perlmonks
2303 - fixed how required methods are handled
2304 when they encounter overriden or modified
2305 methods from a class (thanks to confound).
2306 - added tests for this
2308 * Moose::Util::TypeConstraint
2309 - fixed the type notation parser so that
2310 the | always creates a union and so is
2311 no longer a valid type char (thanks to
2312 konobi, mugwump and #moose for working
2314 - added more tests for this
2316 0.26 Thurs. Sept. 27, 2007
2319 * Parameterized Types
2320 We now support parameterized collection types, such as:
2321 ArrayRef[Int] # array or integers
2322 HashRef[Object] # a hash with object values
2323 They can also be nested:
2324 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
2325 And work with the type unions as well:
2326 ArrayRef[Int | Str] # array of integers of strings
2328 * Better Framework Extendability
2329 Moose.pm is now "extendable" such that it is now much
2330 easier to extend the framework and add your own keywords
2331 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
2332 section of the Moose.pm docs.
2335 In an effort to begin documenting some of the various
2336 details of Moose as well as some common idioms, we have
2337 created Moose::Cookbook::Snacks as a place to find
2338 small (easily digestable) nuggets of Moose code.
2341 ~ Several doc updates/cleanup thanks to castaway ~
2343 - converted build system to use Module::Install instead of
2344 Module::Build (thanks to jrockway)
2347 - added all the meta classes to the immutable list and
2348 set it to inline the accessors
2349 - fix import to allow Sub::Exporter like { into => }
2350 and { into_level => } (perigrin)
2351 - exposed and documented init_meta() to allow better
2352 embedding and extending of Moose (perigrin)
2355 - complete re-organization of the test suite
2356 - added some new tests as well
2357 - finally re-enabled the Moose::POOP test since
2358 the new version of DBM::Deep now works again
2361 * Moose::Meta::Class
2362 - fixed very odd and very nasty recursion bug with
2364 - added tests for this (eilara)
2366 * Moose::Meta::Attribute
2367 Moose::Meta::Method::Constructor
2368 Moose::Meta::Method::Accessor
2369 - fixed issue with overload::Overloaded getting called
2370 on non-blessed items. (RT #29269)
2371 - added tests for this
2373 * Moose::Meta::Method::Accessor
2374 - fixed issue with generated accessor code making
2375 assumptions about hash based classes (thanks to dexter)
2377 * Moose::Coookbook::Snacks
2378 - these are bits of documentation, not quite as big as
2379 Recipes but which have no clear place in the module docs.
2380 So they are Snacks! (horray for castaway++)
2382 * Moose::Cookbook::Recipe4
2383 - updated it to use the new ArrayRef[MyType] construct
2384 - updated the accompanying test as well
2386 +++ Major Refactor of the Type Constraint system +++
2387 +++ with new features added as well +++
2389 * Moose::Util::TypeConstraint
2390 - no longer uses package variable to keep track of
2391 the type constraints, now uses the an instance of
2392 Moose::Meta::TypeConstraint::Registry to do it
2393 - added more sophisticated type notation parsing
2395 - added tests for this
2397 * Moose::Meta::TypeConstraint
2398 - some minor adjustments to make subclassing easier
2399 - added the package_defined_in attribute so that we
2400 can track where the type constraints are created
2402 * Moose::Meta::TypeConstraint::Union
2403 - this is now been refactored to be a subclass of
2404 Moose::Meta::TypeConstraint
2406 * Moose::Meta::TypeCoercion::Union
2407 - this has been added to service the newly refactored
2408 Moose::Meta::TypeConstraint::Union and is itself
2409 a subclass of Moose::Meta::TypeCoercion
2411 * Moose::Meta::TypeConstraint::Parameterized
2412 - added this module (taken from MooseX::AttributeHelpers)
2413 to help construct nested collection types
2414 - added tests for this
2416 * Moose::Meta::TypeConstraint::Registry
2417 - added this class to keep track of type constraints
2419 0.25 Mon. Aug. 13, 2007
2421 - Documentation update to reference Moose::Util::TypeConstraints
2422 under 'isa' in 'has' for how to define a new type
2423 (thanks to shlomif).
2425 * Moose::Meta::Attribute
2426 - required attributes now will no longer accept undef
2427 from the constructor, even if there is a default and lazy
2428 - added tests for this
2429 - default subroutines must return a value which passes the
2431 - added tests for this
2433 * Moose::Meta::Attribute
2434 * Moose::Meta::Method::Constructor
2435 * Moose::Meta::Method::Accessor
2436 - type-constraint tests now handle overloaded objects correctly
2437 in the error message
2438 - added tests for this (thanks to EvanCarroll)
2440 * Moose::Meta::TypeConstraint::Union
2441 - added (has_)hand_optimized_constraint to this class so that
2442 it behaves as the regular Moose::Meta::TypeConstraint does.
2445 - large refactoring of this code
2446 - added several more tests
2447 - tests for subtle conflict resolition issues
2448 added, but not currently running
2451 * Moose::Cookbook::Recipe7
2452 - added new recipe for augment/inner functionality
2454 - added test for this
2457 - a formal definition of roles (still in progress)
2460 - utilities for easier working with Moose classes
2461 - added tests for these
2464 - This contains Moose specific test functions
2465 - added tests for these
2467 0.24 Tues. July 3, 2007
2468 ~ Some doc updates/cleanup ~
2470 * Moose::Meta::Attribute
2471 - added support for roles to be given as parameters
2472 to the 'handles' option.
2473 - added tests and docs for this
2474 - the has '+foo' attribute form now accepts changes to
2475 the lazy option, and the addition of a handles option
2476 (but not changing the handles option)
2477 - added tests and docs for this
2480 - required methods are now fetched using find_method_by_name
2481 so that required methods can come from superclasses
2482 - adjusted tests for this
2484 0.23 Mon. June 18, 2007
2485 * Moose::Meta::Method::Constructor
2486 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
2487 * Moose::Meta::Class
2488 - Modify make_immutable to work with the new Class::MOP immutable
2489 mechanism + POD + very basic test (groditi)
2490 * Moose::Meta::Attribute
2491 - Fix handles to use goto() so that caller() comes out properly on
2492 the other side (perigrin)
2494 0.22 Thurs. May 31, 2007
2495 * Moose::Util::TypeConstraints
2496 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
2497 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
2498 prototypes for functions
2499 - added the ClassName type constraint, this checks for strings
2500 which will respond true to ->isa(UNIVERSAL).
2501 - added tests and docs for this
2502 - subtyping just in name now works correctly by making the
2503 default for where be { 1 }
2504 - added test for this
2506 * Moose::Meta::Method::Accessor
2507 - coerce and lazy now work together correctly, thanks to
2508 merlyn for finding this bug
2509 - tests added for this
2510 - fix reader presedence bug in Moose::Meta::Attribute + tests
2513 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
2514 a HASH-ref and missed. This produces better error messages then
2515 having it die cause undef is not a HASH.
2516 - added tests for this
2518 0.21 Thursday, May 2nd, 2007
2520 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
2521 - modified unimport to remove super and inner along with the rest
2522 - altered unimport tests to handle this
2525 - altered super export to populate SUPER_SLOT
2527 * Moose::Meta::Class
2528 - altered augment and override modifier application to use *_SLOT
2529 - modified tests for these to unimport one test class each to test
2532 - fixed issue where custom attribute metaclasses
2533 where not handled correctly in roles
2534 - added tests for this
2536 * Moose::Meta::Class
2537 - fixed issue where extending metaclasses with
2538 roles would blow up. Thanks to Aankhen`` for
2539 finding this insidious error, and it's solution.
2541 ~~ lots of spelling and grammer fixes in the docs,
2542 many many thanks to rlb3 and Aankhen for these :)
2544 0.20 Friday, April 6th, 2007
2545 >> I messed up the SKIP logic in one test
2546 so this release is just to fix that.
2549 - 'has' now also accepts an ARRAY ref
2550 to create multiple attrs (see docs)
2551 (thanks to konobi for this)
2552 - added tests and docs
2554 0.19 Thurs. April 5th, 2007
2555 ~~ More documentation updates ~~
2557 * Moose::Util::TypeConstraints
2558 - 'type' now supports messages as well
2559 thanks to phaylon for finding this
2560 - added tests for this
2561 - added &list_all_type_constraints and
2562 &list_all_builtin_type_constraints
2563 functions to facilitate introspection.
2565 * Moose::Meta::Attribute
2566 - fixed regexp 'handles' declarations
2567 to build the list of delegated methods
2568 correctly (and not override important
2569 things like &new) thanks to ashleyb
2571 - added tests and docs for this
2572 - added the 'documentation' attributes
2573 so that you can actually document your
2574 attributes and inspect them through the
2576 - added tests and docs for this
2578 * Moose::Meta::Class
2579 - when loading custom attribute metaclasses
2580 it will first look in for the class in the
2581 Moose::Meta::Attribute::Custom::$name, and
2582 then default to just loading $name.
2583 - added tests and docs for this
2585 * Moose::Meta::TypeConstraint
2586 - type constraints now stringify to their names.
2587 - added test for this
2590 - added tests to assure we work with Module::Refresh
2591 - added stricter test skip logic in the Moose POOP
2592 test, ask Rob Kinyon why.
2593 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
2595 0.18 Sat. March 10, 2007
2596 ~~ Many, many documentation updates ~~
2599 - We now use Class::MOP::load_class to
2601 - added tests to show types and subtypes
2602 working with Declare::Constraints::Simple
2603 and Test::Deep as constraint engines.
2606 !! You must have Class::MOP 0.37_001 !!
2607 !! for this developer release to work !!
2609 This release was primarily adding the immutable
2610 feature to Moose. An immutable class is one which
2611 you promise not to alter. When you set the class
2612 as immutable it will perform various bits of
2613 memoization and inline certain part of the code
2614 (constructors, destructors and accessors). This
2615 minimizes (and in some cases totally eliminates)
2616 one of Moose's biggest performance hits. This
2617 feature is not on by default, and is 100% optional.
2618 It has several configurable bits as well, so you
2619 can pick and choose to your specific needs.
2621 The changes involved in this were fairly wide and
2622 highly specific, but 100% backwards compatible, so
2623 I am not going to enumerate them here. If you are
2624 truely interested in what was changed, please do
2627 0.17 Tues. Nov. 14, 2006
2628 * Moose::Meta::Method::Accessor
2629 - bugfix for read-only accessors which
2630 are have a type constraint and lazy.
2631 Thanks to chansen for finding it.
2633 0.16 Tues. Nov. 14, 2006
2635 There are some speed improvements in this release,
2636 but they are only the begining, so stay tuned.
2639 - BUILDALL and DEMOLISHALL no longer get
2640 called unless they actually need to be.
2641 This gave us a signifigant speed boost
2642 for the cases when there is no BUILD or
2643 DEMOLISH method present.
2645 * Moose::Util::TypeConstraints
2646 * Moose::Meta::TypeConstraint
2647 - added an 'optimize_as' option to the
2648 type constraint, which allows for a
2649 hand optimized version of the type
2650 constraint to be used when possible.
2651 - Any internally created type constraints
2652 now provide an optimized version as well.
2654 0.15 Sun. Nov. 5, 2006
2656 This version of Moose *must* have Class::MOP 0.36 in order
2657 to work correctly. A number of small internal tweaks have
2658 been made in order to be compatible with that release.
2660 * Moose::Util::TypeConstraints
2661 - added &unimport so that you can clean out
2662 your class namespace of these exported
2665 * Moose::Meta::Class
2666 - fixed minor issue which occasionally
2667 comes up during global destruction
2669 - moved Moose::Meta::Method::Overriden into
2673 - moved Moose::Meta::Role::Method into
2676 * Moose::Meta::Attribute
2677 - changed how we do type checks so that
2678 we reduce the overall cost, but still
2681 - moved accessor generation methods to
2682 Moose::Meta::Method::Accessor to
2683 conform to the API changes from
2686 * Moose::Meta::TypeConstraint
2687 - changed how constraints are compiled
2688 so that we do less recursion and more
2689 iteration. This makes the type check
2691 - moved Moose::Meta::TypeConstraint::Union
2694 * Moose::Meta::Method::Accessor
2695 - created this from methods formerly found in
2696 Moose::Meta::Attribute
2698 * Moose::Meta::Role::Method
2699 - moved this from Moose::Meta::Role
2701 * Moose::Meta::Method::Overriden
2702 - moved this from Moose::Meta::Class
2704 * Moose::Meta::TypeConstraint::Union
2705 - moved this from Moose::Meta::TypeConstraint
2707 0.14 Mon. Oct. 9, 2006
2709 * Moose::Meta::Attribute
2710 - fixed lazy attributes which were not getting
2711 checked with the type constraint (thanks ashley)
2712 - added tests for this
2713 - removed the over-enthusiastic DWIMery of the
2714 automatic ArrayRef and HashRef defaults, it
2715 broke predicates in an ugly way.
2716 - removed tests for this
2718 0.13 Sat. Sept. 30, 2006
2720 This version of Moose *must* have Class::MOP 0.35 in order
2721 to work correctly. A number of small internal tweaks have
2722 been made in order to be compatible with that release.
2725 - Removed the use of UNIVERSAL::require to be a better
2726 symbol table citizen and remove a dependency
2727 (thanks Adam Kennedy)
2729 **~~ removed experimental & undocumented feature ~~**
2730 - commented out the 'method' and 'self' keywords, see the
2731 comments for more info.
2734 - added a FAQ and WTF files to document frequently
2735 asked questions and common problems
2737 * Moose::Util::TypeConstraints
2738 - added GlobRef and FileHandle type constraint
2739 - added tests for this
2741 * Moose::Meta::Attribute
2742 - if your attribute 'isa' ArrayRef of HashRef, and you have
2743 not explicitly set a default, then make the default DWIM.
2744 This will also work for subtypes of ArrayRef and HashRef
2746 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2747 - new test added for this (thanks to ashley)
2750 - added basic support for runtime role composition
2751 but this is still *highly experimental*, so feedback
2752 is much appreciated :)
2753 - added tests for this
2755 * Moose::Meta::TypeConstraint
2756 - the type constraint now handles the coercion process
2757 through delegation, this is to support the coercion
2760 * Moose::Meta::TypeConstraint::Union
2761 - it is now possible for coercions to be performed
2763 - added tests for this (thanks to konobi)
2765 * Moose::Meta::TypeCoercion
2766 - properly capturing error when type constraint
2770 - Scalar::Util 1.18 is bad on Win32, so temporarily
2771 only require version 1.17 for Win32 and cygwin.
2772 (thanks Adam Kennedy)
2774 0.12 Sat. Sept. 1, 2006
2776 - Recipe5 (subtypes & coercion) has been written
2779 - fixed "bad meta" error message to be more descriptive
2780 - fixed &unimport to not remove the &inner and &super
2781 keywords because we need to localize them.
2782 - fixed number of spelling/grammer issues, thanks Theory :)
2784 **~~ experimental & undocumented feature ~~**
2785 - added the method and self keywords, they are basically
2786 just sugar, and they may not stay around.
2789 - added &dump method to easily Data::Dumper
2792 * Moose::Meta::TypeConstraint
2793 - added the &is_a_type_of method to check both the current
2794 and the subtype of a method (similar to &isa with classes)
2797 - this is now a subclass of Class::MOP::Module, and no longer
2798 creates the _role_meta ugliness of before.
2799 - fixed tests to reflect this change
2801 0.11 Wed. July 12, 2006
2803 - added an &unimport method to remove all the keywords
2804 that Moose will import, simply add 'no Moose' to the
2805 bottom of your class file.
2808 - fixed some test failures caused by a forgotten test
2811 0.10 Thurs. July 6, 2006
2813 - improved error message when loading modules so
2814 it is less confusing when you load a role.
2815 - added &calculate_all_roles method to
2816 Moose::Meta::Class and Moose::Meta::Role
2819 This module has been tested against Class::MOP 0.30
2820 but it does not yet utilize the optimizations
2821 it makes available. Stay tuned for that ;)
2823 0.09_03 Fri. June 23, 2006
2824 ++ DEVELOPER RELEASE ++
2826 - 'use strict' and 'use warnings' are no longer
2827 needed in Moose classes, Moose itself will
2828 turn them on for you.
2829 - added tests for this
2830 - moved code from exported subs to private methods
2831 in Moose::Meta::Class
2834 - as with Moose, strict and warnings are
2835 automatically turned on for you.
2836 - added tests for this
2839 - now handles an edge case for override errors
2840 - added tests for this
2841 - added some more edge case tests
2843 0.09_02 Tues. May 16, 2006
2844 ++ DEVELOPER RELEASE ++
2846 - added prototypes to the exported subs
2850 - added prototypes to the exported subs
2853 * Moose::Util::TypeConstraints
2854 - cleaned up prototypes for the subs
2857 0.09_01 Fri. May 12, 2006
2858 ++ DEVELOPER RELEASE ++
2859 - This release works in combination with
2860 Class::MOP 0.29_01, it is a developer
2861 release because it uses the a new
2862 instance sub-protocol and a fairly
2863 complete Role implementation. It has
2864 not yet been optimized, so it slower
2865 the the previous CPAN version. This
2866 release also lacks good updated docs,
2867 the official release will have updated docs.
2870 - refactored the keyword exports
2871 - 'with' now checks Role validaity and
2872 accepts more than one Role at a time
2873 - 'extends' makes metaclass adjustments as
2874 needed to ensure metaclass compatibility
2877 - refactored the keyword exports
2878 - 'with' now checks Role validaity and
2879 accepts more than one Role at a time
2881 * Moose::Util::TypeConstraints
2882 - added the 'enum' keyword for simple
2883 string enumerations which can be used as
2885 - see example of usage in t/202_example.t
2888 - more careful checking of params to new()
2891 - much work done on the role composition
2892 - many new tests for conflict detection
2893 and composition edge cases
2894 - not enough documentation, I suggest
2895 looking at the tests
2897 * Moose::Meta::Instance
2898 - added new Instance metaclass to support
2899 the new Class::MOP instance protocol
2901 * Moose::Meta::Class
2902 - some small changes to support the new
2904 - some small additions to support Roles
2906 * Moose::Meta::Attribute
2907 - some improvements to the accessor generation code
2909 - some small changes to support the new
2911 - (still somewhat) experimental delegation support
2912 with the 'handles' option
2913 - added several tests for this
2914 - no docs for this yet
2916 0.05 Thurs. April 27, 2006
2918 - keywords are now exported with Sub::Exporter
2919 thanks to chansen for this commit
2920 - has keyword now takes a 'metaclass' option
2921 to support custom attribute meta-classes
2922 on a per-attribute basis
2923 - added tests for this
2924 - the 'has' keyword not accepts inherited slot
2925 specifications (has '+foo'). This is still an
2926 experimental feature and probably not finished
2927 see t/038_attribute_inherited_slot_specs.t for
2928 more details, or ask about it on #moose
2929 - added tests for this
2932 - keywords are now exported with Sub::Exporter
2934 * Moose::Utils::TypeConstraints
2935 - reorganized the type constraint hierarchy, thanks
2936 to nothingmuch and chansen for his help and advice
2938 - added some tests for this
2939 - keywords are now exported with Sub::Exporter
2940 thanks to chansen for this commit
2942 * Moose::Meta::Class
2943 - due to changes in Class::MOP, we had to change
2944 construct_instance (for the better)
2946 * Moose::Meta::Attribute
2947 - due to changes in Class::MOP, we had to add the
2948 initialize_instance_slot method (it's a good thing)
2950 * Moose::Meta::TypeConstraint
2951 - added type constraint unions
2952 - added tests for this
2953 - added the is_subtype_of predicate method
2954 - added tests for this
2956 0.04 Sun. April 16th, 2006
2958 - Roles can now consume other roles
2959 - added tests for this
2960 - Roles can specify required methods now with
2961 the requires() keyword
2962 - added tests for this
2965 - ripped out much of it's guts ,.. much cleaner now
2966 - added required methods and correct handling of
2967 them in apply() for both classes and roles
2968 - added tests for this
2969 - no longer adds a does() method to consuming classes
2970 it relys on the one in Moose::Object
2971 - added roles attribute and some methods to support
2972 roles consuming roles
2974 * Moose::Meta::Attribute
2975 - added support for triggers on attributes
2976 - added tests for this
2977 - added support for does option on an attribute
2978 - added tests for this
2980 * Moose::Meta::Class
2981 - added support for attribute triggers in the
2983 - added tests for this
2986 - Moose no longer creates a subtype for your class
2987 if a subtype of the same name already exists, this
2988 should DWIM in 99.9999% of all cases
2990 * Moose::Util::TypeConstraints
2991 - fixed bug where incorrect subtype conflicts were
2993 - added test for this
2996 - this class can now be extended with 'use base' if
2997 you need it, it properly loads the metaclass class now
2998 - added test for this
3000 0.03_02 Wed. April 12, 2006
3002 - you must now explictly use Moose::Util::TypeConstraints
3003 it no longer gets exported for you automatically
3006 - new() now accepts hash-refs as well as key/value lists
3007 - added does() method to check for Roles
3008 - added tests for this
3010 * Moose::Meta::Class
3011 - added roles attribute along with the add_role() and
3013 - added tests for this
3016 - now adds a does() method to consuming classes
3017 which tests the class's hierarchy for roles
3018 - added tests for this
3020 0.03_01 Mon. April 10, 2006
3022 - added new Role recipe (no content yet, only code)
3025 - added 'with' keyword for Role support
3026 - added test and docs for this
3027 - fixed subtype quoting bug
3028 - added test for this
3032 - added test and docs
3034 * Moose::Util::TypeConstraints
3035 - added the message keyword to add custom
3036 error messages to type constraints
3039 - the meta role to support Moose::Role
3040 - added tests and docs
3042 * Moose::Meta::Class
3043 - moved a number of things from Moose.pm
3044 to here, they should have been here
3047 * Moose::Meta::Attribute
3048 - moved the attribute option macros here
3049 instead of putting them in Moose.pm
3051 * Moose::Meta::TypeConstraint
3052 - added the message attributes and the
3054 - added tests and docs for this
3056 0.03 Thurs. March 30, 2006
3058 - added the Moose::Cookbook with 5 recipes,
3059 describing all the stuff Moose can do.
3062 - fixed an issue with &extends super class loading
3063 it now captures errors and deals with inline
3064 packages correctly (bug found by mst, solution
3066 - added super/override & inner/augment features
3067 - added tests and docs for these
3070 - BUILDALL now takes a reference of the %params
3071 that are passed to &new, and passes that to
3074 * Moose::Util::TypeConstraints
3075 - Type constraints now survive runtime reloading
3076 - added test for this
3078 * Moose::Meta::Class
3079 - fixed the way attribute defaults are handled
3080 during instance construction (bug found by chansen)
3082 * Moose::Meta::Attribute
3083 - read-only attributes now actually enforce their
3084 read-only-ness (this corrected in Class::MOP as
3087 0.02 Tues. March 21, 2006
3089 - many more tests, fixing some bugs and
3091 - &extends now loads the base module with
3093 - added UNIVERSAL::require to the
3096 - each new Moose class will also create
3097 and register a subtype of Object which
3098 correspond to the new Moose class.
3099 - the 'isa' option in &has now only
3100 accepts strings, and will DWIM in
3103 * Moose::Util::TypeConstraints
3104 - added type coercion features
3105 - added tests for this
3106 - added support for this in attributes
3107 and instance construction
3109 - type construction no longer creates a
3110 function, it registers the type instead.
3111 - added several functions to get the
3115 - BUILDALL and DEMOLISHALL were broken
3116 because of a mis-named hash key, Whoops :)
3118 * Moose::Meta::Attribute
3119 - adding support for coercion in the
3120 autogenerated accessors
3122 * Moose::Meta::Class
3123 - adding support for coercion in the
3124 instance construction
3126 * Moose::Meta::TypeConstraint
3127 * Moose::Meta::TypeCoercion
3128 - type constraints and coercions are now
3129 full fledges meta-objects
3131 0.01 Wed. March 15, 2006
3132 - Moooooooooooooooooose!!!