1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
8 * Packages and modules no longer have methods - this functionality was
9 moved back up into Moose::Meta::Class and Moose::Meta::Role individually
10 (through the Class::MOP::Mixin::HasMethods mixin) (doy).
12 * BUILDALL is now called by Moose::Meta::Class::new_object, rather than by
13 Moose::Object::new. (doy)
17 * strict and warnings are now unimported when Moose, Moose::Role, or
18 Moose::Exporter are unimported. (doy, Adam Kennedy)
20 * Added a 'consumers' method to Moose::Meta::Role for finding all
21 classes/roles which consume the given role. (doy)
25 * Fix has '+attr' in Roles to explode immediately, rather than when the role
26 is applied to a class (t0m).
28 * Fix type constraint validation messages to not include the string 'failed'
29 twice in the same sentance (Florian Ragwitz).
31 * New type constraints will default to being unequal, rather than equal
34 * The tests no longer check for perl's behavior of clobbering $@, which has
35 been fixed in perl-5.13.1 (Florian Ragwitz).
37 1.03 Thu, May 06, 2010
41 * Allow specifying required versions when setting superclasses or applying
42 roles (Florian Ragwitz).
44 1.02 Sat, May 01, 2010
48 * Stop the natatime method provided by the native Array trait from returning
49 an exhausted iterator when being called with a callback. (Florian Ragwitz)
51 * Make Moose::Meta::TypeConstraint::Class correctly reject RegexpRefs.
54 * Calling is_subtype_of on a Moose::Meta::TypeConstraint::Class with itself or
55 the class the TC represents as an argument incorrectly returned true. This
56 behavior is correct for is_type_of, not is_subtype_of. (Guillermo Roditi)
58 * Use File::Temp for temp files created during tests. Previously, files were
59 written to the t/ dir, which could cause problems of the user running the
60 tests did not have write access to that directory.. (Chris Weyl, Ævar
63 * Pass role arguments along when applying roles to instances. (doy, lsm)
65 1.01 Fri, Mar 26, 2010
69 * The handles option now also accepts a role type constraint in addition to a
70 plain role name. (Florian Ragwitz)
74 * Record the Sartak/doy debt properly in Changes (perigrin)
76 1.00 Tue, Mar 25, 2010
80 * Moose::Meta::Attribute::Native::Trait::Code no longer creates reader
81 methods by default. (Florian Ragwitz)
85 * Improve various parts of the documentation and fix many typos.
86 (Dave Rolsky, Mateu Hunter, Graham Knop, Robin V, Jay Hannah, Jesse Luehrs)
90 * Paid the $10 debt to doy from 0.80 Sat, Jun 6, 2009 (Sartak)
96 * New method find_type_for in Moose::Meta::TypeConstraint::Union, for finding
97 which member of the union a given value validates for. (Cory Watson)
101 * DEMOLISH methods in mutable subclasses of immutable classes are now called
102 properly (Chia-liang Kao, Jesse Luehrs)
106 * Added Moose::Manual::Support that defines the support, compatiblity, and
107 release policies for Moose. (Chris Prather)
109 0.98 Wed, Feb 10, 2010
113 * An internals change in 0.97 broke role application to an instance in some
114 cases. The bug occurred when two different roles were applied to different
115 instances of the same class. (Rafael Kitover)
118 0.97 Tue, Feb 9, 2010
122 * Calling ->reinitialize on a cached anonymous class effectively uncached
123 the metaclass object, causing the metaclass to go out of scope
124 unexpectedly. This could easily happen at a distance by applying a
125 metarole to an anonymous class. (Dave Rolsky).
127 0.96 Sat, Feb 6, 2010
131 * ScalarRef is now a parameterized type. You can now specify a type
132 constraint for whatever the reference points to. (Closes RT#50857)
133 (Michael G. Schwern, Florian Ragwitz)
137 * ScalarRef now accepts references to other references. (Closes RT#50934)
140 0.95 Thu, Feb 4, 2010
144 * Moose::Meta::Attribute::Native::Trait::Code now provides execute_method as
145 a delegation option. This allows the code reference to be called as a
146 method on the object. (Florian Ragwitz)
150 * Moose::Object::does no longer checks the entire inheritance tree, since
151 Moose::Meta::Class::does_role already does this. (doy)
153 * Moose::Util::add_method_modifier (and subsequently the sugar functions
154 Moose::before, Moose::after, and Moose::around) can now accept arrayrefs,
155 with the same behavior as lists. Types other than arrayref and regexp
156 result in an error. (Dylan Hardison)
158 0.94 Mon, Jan 18, 2010
162 * Please see the changes listed for 0.93_01 and Moose::Manual::Delta.
166 * Improved support for anonymous roles by changing various APIs to take
167 Moose::Meta::Role objects as well as role names. This included
169 - Moose::Meta::Class->does_role
170 - Moose::Meta::Role->does_role
171 - Moose::Util::does_role
172 - Moose::Util::apply_all_roles
173 - Moose::Util::ensure_all_roles
174 - Moose::Util::search_class_by_role
176 Requested by Shawn Moore. Addresses RT #51143 (and then some). (Dave Rolsky)
180 * Fix handling of non-alphanumeric attributes names like '@foo'. This should
181 work as long as the accessor method names are explicitly set to valid Perl
182 method names. Reported by Doug Treder. RT #53731. (Dave Rolsky)
185 0.93_03 Tue, Jan 5, 2010
189 * Portability fixes to our XS code so we compile with 5.8.8 and Visual
190 C++. Fixes RT #53391. Reported by Taro Nishino. (rafl)
193 0.93_02 Tue, Jan 5, 2010
197 * Depend on Class::MOP 0.97_01 so we can get useful results from CPAN
198 testers. (Dave Rolsky)
201 0.93_01 Mon, Jan 4, 2010
205 See Moose::Manual::Delta for more details on backwards compatiblity issues.
207 * Role attributes are now objects of the Moose::Meta::Role::Attribute
208 class. (Dave Rolsky).
210 * There were major changes to how metaroles are applied. We now distinguish
211 between metaroles for classes vs those for roles. See the
212 Moose::Util::MetaRole docs for details. (Dave Rolsky)
214 * The old MetaRole API has been deprecated, but will continue to
215 work. However, if you are applying an attribute metaclass role, this may
216 break because of the fact that roles now have an attribute metaclass
219 * Moose::Util::MetaRole::apply_metaclass_roles is now called
220 apply_metaroles. The old name is deprecated. Dave Rolsky>
222 * The unimport subs created by Moose::Exporter now clean up re-exported
223 functions like blessed and confess, unless the caller imported them from
224 somewhere else too. See Moose::Manua::Delta for backcompat details. (rafl)
226 [ENHANCEMENTS AND BUG FIXES]
228 * Changed the Str constraint to accept magic lvalue strings like one gets from
229 substr et al, again. (sorear)
231 * Sped up the type constraint parsing regex. (Sam Vilain)
233 * The Moose::Cookbook::Extending::Recipe2 recipe was broken. Fix suggested by
236 * Added Moose::Util::TypeConstraints exports when using oose.pm to allow
237 easier testing of TypeConstraints from the command line. (perigrin)
239 * Added a with_immutable test function to Test::Moose, to run a block of tests
240 with and without certain classes being immutable. (doy)
242 * We now use Module::Install extensions explicitly to avoid confusing errors
243 if they're not installed. We use Module::Install::AuthorRequires to stop
244 test extraction and general failures if you don't have the author side
245 dependencies installed.
247 * Fixed a grammar error in Moose::Cookbook::Basics::Recipe4. rt.cpan.org
248 #51791. (Amir E. Aharoni)
251 0.93 Thu, Nov 19, 2009
253 - Calling $object->new() is no longer deprecated, and no longer
257 - The get_attribute_map method is now deprecated. (Dave Rolsky)
259 * Moose::Meta::Method::Delegation
260 - Preserve variable aliasing in @_ for delegated methods, so that
261 altering @_ affects the passed value. (doy)
263 * Moose::Util::TypeConstraints
264 - Allow array refs for non-anonymous form of enum and duck_type, not
265 just anonymous. The non-arrayref forms may be removed in the
267 - Changed Str constraint to not accept globs (*STDIN or *FOO). (chansen)
268 - Properly document Int being a subtype of Str. (doy)
271 - Moose::Exporter using modules can now export their functions to the
272 main package. This applied to Moose and Moose::Role, among
273 others. (nothingmuch)
275 * Moose::Meta::Attribute
276 - Don't remove attribute accessors we never installed, during
277 remove_accessors. (doy)
279 * Moose::Meta::Attribute::Native::Trait::Array
280 - Don't bypass prototype checking when calling List::Util::first, to
281 avoid a segfault when it is called with a non-code argument. (doy)
283 * Moose::Meta::Attribute::Native::Trait::Code
284 - Fix passing arguments to code execute helpers. (doy)
286 0.92 Tue, Sep 22, 2009
287 * Moose::Util::TypeConstraints
288 - added the match_on_type operator (Stevan)
289 - added tests and docs for this (Stevan)
292 - Metaclass compat fixing should already happen recursively, there's no
293 need to explicitly walk up the inheritance tree. (doy)
295 * Moose::Meta::Attribute
296 - Add tests for set_raw_value and get_raw_value. (nothingmuch)
298 0.91 Thu, Sep 17, 2009
300 - Don't import any functions, in order to avoid polluting our namespace
301 with things that can look like methods (blessed, try, etc)
304 * Moose::Meta::Method::Constructor
305 - The generated code needs to called Scalar::Util::blessed by its
306 fully-qualified name or else Perl can interpret the call to blessed as
307 an indirect method call. This broke Search::GIN, which in turn broke
308 KiokuDB. (nothingmuch)
310 0.90 Tue, Sep 15, 2009
311 * Moose::Meta::Attribute::Native::Trait::Counter
312 * Moose::Meta::Attribute::Native::Trait::String
313 - For these two traits, an attribute which did not explicitly provide
314 methods to handles magically ended up delegating *all* the helper
315 methods. This has been removed. You must be explicit in your handles
316 declaration for all Native Traits. (Dave Rolsky)
319 - DEMOLISHALL behavior has changed. If any DEMOLISH method dies, we make
320 sure to rethrow its error message. However, we also localize $@ before
321 this so that if all the DEMOLISH methods success, the value of $@ will
322 be preserved. (nothingmuch and Dave Rolsky)
323 - We now also localize $? during object destruction. (nothingmuch and
325 - The handling of DEMOLISH methods was broken for immutablized classes,
326 which were not receiving the value of
327 Devel::GlobalDestruction::in_global_destruction.
328 - These two fixes address some of RT #48271, reported by Zefram.
329 - This is all now documented in Moose::Manual::Construction.
330 - Calling $object->new() is now deprecated. A warning will be
334 - Added more hooks to customize how roles are applied. The role
335 summation class, used to create composite roles, can now be changed
336 and/or have meta-roles applied to it. (rafl)
337 - The get_method_list method no longer explicitly excludes the "meta"
338 method. This was a hack that has been replaced by better hacks. (Dave
341 * Moose::Meta::Method::Delegation
342 - fixed delegated methods to make sure that any modifiers attached to
343 the accessor being delegated on will be called (Stevan)
344 - added tests for this (Stevan)
347 - Moose no longer warns when a class that is being made immutable has
348 mutable ancestors. While in theory this is a good thing to warn about,
349 we found so many exceptions to this that doing this properly became
352 0.89_02 Thu, Sep 10, 2009
353 * Moose::Meta::Attribute::Native
354 - Fix Hash, which still had 'empty' instead of 'is_empty'. (hdp)
356 * Moose::Meta::Attribute::Native::Trait::Array
357 - Added a number of functions from List::Util and List::MoreUtils,
358 including reduce, shuffle, uniq, and natatime. (doy)
361 - This module will now generate an init_meta method for your exporting
362 class if you pass it options for
363 Moose::Util::MetaRole::apply_metaclass_roles or
364 apply_base_class_roles. This eliminates a lot of repetitive
365 boilerplate for typical MooseX modules. (doy).
366 - Documented the with_meta feature, which is a replacement for
367 with_caller. This feature was added by josh a while ago.
368 - The with_caller feature is now deprecated, but will not issue a
369 warning yet. (Dave Rolsky)
370 - If you try to wrap/export a subroutine which doesn't actually exist,
371 Moose::Exporter will warn you about this. (doy)
373 * Moose::Meta::Role::Application::ToRole
374 - When a role aliased a method from another role, it was only getting
375 the new (aliased) name, not the original name. This differed from what
376 happens when a class aliases a role's methods. If you _only_ want the
377 aliased name, make sure to also exclue the original name. (Dave
380 0.89_01 Wed Sep 2, 2009
381 * Moose::Meta::Attribute
382 - Added the currying syntax for delegation from AttributeHelpers to the
383 existing delegation API. (hdp)
385 * Moose::Meta::Attribute::Native
386 - We have merged the functionality of MooseX::AttributeHelpers into the
387 Moose core with some API tweaks. You can continue to use
388 MooseX::AttributeHelpers, but it will not be maintained except
389 (perhaps) for critical bug fixes in the future. See
390 Moose::Manual::Delta for details. (hdp, jhannah, rbuels, Sartak,
393 * Moose::Error::Croak
394 * Moose::Error::Confess
395 - Clarify documentation on how to use different error-throwing
396 modules. (Curtis Jewell)
399 - Correct POD for builder to point to Recipe8, not 9. (gphat)
402 - When a nonexistent sub name is passed to as_is, with_caller, or
403 with_meta, throw a warning and skip the exporting, rather than
404 installing a broken sub. (doy)
407 - Moose now warns if you call C<make_immutable> for a class with mutable
410 0.89 Thu Aug 13, 2009
411 * Moose::Manual::Attributes
412 - Clarify "is", include discussion of "bare". (Sartak)
414 * Moose::Meta::Role::Method::Conflicting
415 * Moose::Meta::Role::Application::ToClass
416 - For the first set of roles involved in a conflict, report all
417 unresolved method conflicts, not just the first method. Fixes #47210
418 reported by Ovid. (Sartak)
420 * Moose::Meta::TypeConstraint
421 - Add assert_valid method to use a TypeConstraint for assertion (rjbs)
424 - Make "use Moose -metaclass => 'Foo'" do alias resolution, like -traits
426 - Allow specifying role options (alias, excludes, MXRP stuff) in the
427 arrayref passed to "use Moose -traits" (doy)
430 - Add functions meta_class_alias and meta_attribute_alias for creating
431 aliases for class and attribute metaclasses and metatraits. (doy)
433 * Moose::Meta::Attribute
434 * Moose::Meta::Method::Accessor
435 - A trigger now receives the old value as a second argument, if the
436 attribute had one. (Dave Rolsky)
438 * Moose::Meta::Method::Constructor
439 - Fix a bug with $obj->new when $obj has stringify overloading.
440 Reported by Andrew Suffield [rt.cpan.org #47882] (Sartak)
441 - However, we will probably deprecate $obj->new, so please don't start
442 using it for new code!
444 * Moose::Meta::Role::Application
445 * Moose::Meta::Role::Application::RoleSummation
446 - Rename alias and excludes to -alias and -excludes (but keep the old
447 names for now, for backcompat) (doy)
449 0.88 Fri Jul 24, 2009
450 * Moose::Manual::Contributing
451 - Re-write the Moose::Manual::Contributing document to reflect
452 the new layout and methods of work for the Git repository. All
453 work now should be done in topic branches and reviewed by a
454 core committer before being applied to master. All releases
455 are done by a cabal member and merged from master to
456 stable. This plan was devised by Yuval, blame him. (perigrin)
459 - Create metaclass attributes for the different role application
462 * Moose::Util::MetaRole
463 - Allow applying roles to a meta role's role application
466 * Moose::Meta::Attribute
467 - Add weak_ref to allowed options for "has '+foo'" (mst)
469 * Moose::Meta::Method::Accessor
470 - No longer uses inline_slot_access in accessors, to support
471 non-lvalue-based meta instances. (sorear)
474 * Moose::Meta::Method::Delegation
475 - Once again allow class names as well as objects for
476 delegation. This was changed in 0.86.
479 * Moose::Meta::Class::Immutable::Trait
480 - Fixes to work with the latest Class::MOP.
482 * Moose::Meta::Method::Delegation
483 - Delegation now dies with a more useful error message if the
484 attribute's accessor returns something defined but
487 0.85 Fri, Jun 26, 2009
488 * Moose::Meta::Attribute
489 - The warning for 'no associated methods' is now split out into
490 the _check_associated_methods method, so that extensions can
491 safely call 'after install_accessors => ...'. This fixes a
492 warning from MooseX::AttributeHelpers. (hdp)
494 0.84 Fri, Jun 26, 2009
496 - has now sets definition_context for attributes defined in
499 * Moose::Meta::Attribute
500 - When adding an attribute to a metaclass, if the attribute has
501 no associated methods, it will give a deprecation
503 - Methods generated by delegation were not being added to
504 associated_methods. (hdp)
505 - Attribute accessors (reader, writer, accessor, predicate,
506 clearer) now warn if they overwrite an existing method. (doy)
507 - Attribute constructors now warn very noisily about unknown (or
508 misspelled) arguments
510 * Moose::Util::TypeConstraints
511 - Deprecated the totally useless Role type name, which just
512 checked if $object->can('does'). Note that this is _not_ the
513 same as a type created by calling role_type('RoleName').
515 * Moose::Util::TypeConstraints
516 * Moose::Meta::TypeConstraint::DuckType
517 - Reify duck type from a regular subtype into an actual class
519 - Document this because Sartak did all my work for me
522 * Moose::Meta::Attribute
523 - Allow Moose::Meta::TypeConstraint::DuckType in handles, since
524 it is just a list of methods (Sartak)
527 - The get_*_method_modifiers methods would die if the role had
528 no modifiers of the given type (Robert Buels).
530 0.83 Tue, Jun 23, 2009
532 - Fix _construct_instance not setting the special __MOP__ object
533 key in instances of anon classes. (doy)
535 0.82 Sun, Jun 21, 2009
536 * Moose::Manual::Types
537 - Mention MooseX::Types early to avoid users falling down the
538 string parsing rathole (mst)
540 * Moose::Manual::MooseX
541 - Add warnings about class-level extensions and mention considering
542 using plain objects instead
544 0.81 Sun, Jun 7, 2009
545 * Bumped our Class::MOP prereq to the latest version (0.85), since
548 0.80 Sat, Jun 6, 2009
550 - Add FAQ about the coercion change from 0.76 because it came up
551 three times today (perigrin)
552 - Win doy $10 dollars because Sartak didn't think anybody
553 would document this fast enough (perigrin)
555 * Moose::Meta::Method::Destructor
556 - Inline a DESTROY method even if there are no DEMOLISH methods
557 to prevent unnecessary introspection in
558 Moose::Object::DEMOLISHALL
561 - A role's required methods are now represented by
562 Moose::Meta::Role::Method::Required objects. Conflicts are now
563 represented by Moose::Meta::Role::Method::Conflicting
564 objects. The benefit for end-users in that unresolved
565 conflicts generate different, more instructive, errors,
566 resolving Ovid's #44895. (Sartak)
569 - Improve the error message of "extends" as suggested by Adam
570 Kennedy and confound (Sartak)
571 - Link to Moose::Manual::Roles from Moose::Role as we now have
572 excellent documentation (Adam Kennedy)
575 - Update test suite for subname change in Class::MOP
577 - Add TODO test for infinite recursion in Moose::Meta::Class
580 0.79 Wed, May 13, 2009
582 - More fixes for Win32 problems. Reported by Robert Krimen.
585 - The DEMOLISHALL method could still blow up in some cases
586 during global destruction. This method has been made more
587 resilient in the face of global destruction's random garbage
591 - If you "also" a module that isn't loaded, the error message
592 now acknowledges that (Sartak)
595 - When your ->meta method does not return a Moose::Meta::Class,
596 the error message gave the wrong output (Sartak)
598 0.78 Tue, May 12, 2009
599 * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
600 - Merged these documents into what is now Moose::Manual::FAQ
603 - Moved to Moose::Manual::Unsweetened
605 * Moose::Cookbook::Basics::Recipes 9-12
606 - Renamed to be 8-11, since recipe 8 did not exist
609 - Make Moose::Exporter import strict and warnings into packages
613 - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
614 methods during global destruction (doy)
617 * Moose::Meta::Role::Application::ToClass
618 - Track the Role::Application objects created during class-role
622 - Fix metaclass incompatibility errors when extending a vanilla perl
623 class which isa Moose class with a metaclass role applied (t0m)
626 - Add a role-combination hook, _role_for_combination, for the
627 benefit of MooseX::Role::Parameterized (Sartak)
630 - Some tests were failing on Win32 because they explicit checked
631 warning output for newlines. Reported by Nickolay Platonov.
633 0.77 Sat, May 2, 2009
635 - Add explicit use of Devel::GlobalDestruction and Sub::Name
639 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
640 or not we are currently in global destruction (doy)
641 - Add explicit use of Devel::GlobalDestruction and Sub::Name
644 * Moose::Cookbook::FAQ
645 - Reworked much of the existing content to be more useful to
646 modern Moose hackers (Sartak)
649 - Depend on Class::MOP 0.83 instead of 0.82_01.
651 0.76 Mon, April 27, 2009
652 * Moose::Meta::TypeConstraint
653 - Do not run coercions in coerce() if the value already passes the type
656 * Moose::Meta::TypeConstraint::Class
657 - In validation error messages, specifically say that the value is not
658 an instance of the class. This should alleviate some frustrating
659 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
661 * Moose::Meta::Role::Application::ToClass
662 - Revert the class-overrides-role warning in favor of a solution outside
663 of the Moose core (Sartak)
666 - Make Test::Output optional again, since it's only used in a few files
669 0.75_01 Thu, April 23, 2009
670 * Moose::Meta::Role::Application::ToClass
671 - Moose now warns about each class overriding methods from roles it
675 - Warnings tests have standardized on Test::Output which is now an
676 unconditionally dependency (Sartak)
679 - Changes to immutabilization to work with Class::MOP 0.82_01+.
681 0.75 Mon, April 20, 2009
684 - Move validation of not inheriting from roles from Moose::extends to
685 Moose::Meta::Class::superclasses (doy)
688 - add ensure_all_roles() function to encapsulate the common "apply this
689 role unless the object already does it" pattern (hdp)
692 - Users can now select a different metaclass with the "-metaclass"
693 option to import, for classes and roles (Sartak)
696 - Make method_metaclass an attr so that it can accept a metarole
699 0.74 Tue, April 7, 2009
701 * Moose::Meta::Method::Destructor
702 - Include stack traces in the deprecation warnings.
706 - Removed the long-deprecated _apply_all_roles method.
708 * Moose::Meta::TypeConstraint
709 - Removed the long-deprecated union method.
712 0.73_02 Mon, April 6, 2009
713 * More deprecations and renamings
714 - Moose::Meta::Method::Constructor
715 - initialize_body => _initialize_body (this is always called
716 when an object is constructed)
719 - The DEMOLISHALL method could throw an exception during global
720 destruction, meaning that your class's DEMOLISH methods would
721 not be properly called. Reported by t0m.
723 * Moose::Meta::Method::Destructor
724 - Destructor inlining was totally broken by the change to the
725 is_needed method in 0.72_01. Now there is a test for this
726 feature, and it works again.
729 - Bold the word 'not' in the POD for find_meta (t0m)
731 0.73_01 Sun, April 5, 2009
733 - Call user_class->meta in fewer places, with the eventual goal
734 of allowing the user to rename or exclude ->meta
735 altogether. Instead uses Class::MOP::class_of. (Sartak)
737 * Moose::Meta::Method::Accessor
738 - If an attribute had a lazy default, and that value did not
739 pass the attribute's type constraint, it did not get the
740 message from the type constraint, instead using a generic
741 message. Test provided by perigrin.
743 * Moose::Util::TypeConstraints
744 - Add duck_type keyword. It's sugar over making sure an object
745 can() a list of methods. This is easier than jrockway's
746 suggestion to fork all of CPAN. (perigrin)
747 - add tests and documentation (perigrin)
750 - Document the fact that init_meta() returns the target class's
751 metaclass object. (hdp)
753 * Moose::Cookbook::Extending::Recipe1
754 * Moose::Cookbook::Extending::Recipe2
755 * Moose::Cookbook::Extending::Recipe3
756 * Moose::Cookbook::Extending::Recipe4
757 - Make init_meta() examples explicitly return the metaclass and
758 point out this fact. (hdp)
760 * Moose::Cookbook::Basics::Recipe12
761 - A new recipe, creating a custom meta-method class.
763 * Moose::Cookbook::Meta::Recipe6
764 - A new recipe, creating a custom meta-method class.
767 * Moose::Meta::Method::Constructor
768 - Attribute triggers no longer receive the meta-attribute object
769 as an argument in any circumstance. Previously, triggers
770 called during instance construction were passed the
771 meta-attribute, but triggers called by normal accessors were
772 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
774 * Moose::Manual::Attributes
775 - Remove references to triggers receving the meta-attribute object as an
778 * Moose::Cookbook::FAQ
779 - Remove recommendation for deprecated Moose::Policy and
780 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
783 * Many methods have been renamed with a leading underscore, and a
784 few have been deprecated entirely. The methods with a leading
785 underscore are consider "internals only". People writing
786 subclasses or extensions to Moose should feel free to override
787 them, but they are not for "public" use.
790 - check_metaclass_compatibility => _check_metaclass_compatibility
792 - Moose::Meta::Method::Accessor
793 - initialize_body => _initialize_body (this is always called
794 when an object is constructed)
795 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
797 - Moose::Meta::Method::Constructor
798 - initialize_body => _initialize_body (this is always called
799 when an object is constructed)
800 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
801 - attributes => _attributes (now inherited from parent)
802 - meta_instance => _meta_instance (now inherited from parent)
805 - alias_method is deprecated. Use add_method
807 0.73 Fri, March 29, 2009
808 * No changes from 0.72_01.
810 0.72_01 Thu, March 26, 2009
812 - Almost every module has complete API documentation. A few
813 methods (and even whole classes) have been intentionally
814 excluded pending some rethinking of their APIs.
816 * Moose::Util::TypeConstraints
817 - Calling subtype with a name as the only argument is now an
818 exception. If you want an anonymous subtype do:
820 my $subtype = subtype as 'Foo';
822 * Moose::Cookbook::Meta::Recipe7
823 - A new recipe, creating a custom meta-instance class.
825 * Moose::Cookbook::Basics::Recipe5
826 - Fix various typos and mistakes. Includes a patch from Radu
829 * Moose::Cookbook::Basics::Recipe9
830 - Link to this recipe from Moose.pm's builder blurb
833 - When wrapping a function with a prototype, Moose::Exporter now
834 makes sure the wrapped function still has the same
835 prototype. (Daisuke Maki)
837 * Moose::Meta::Attribute
838 - Allow a subclass to set lazy_build for an inherited
842 - Explicitly depend on Data::OptList. We already had this dependency
843 via Sub::Exporter, but since we're using it directly we're
844 better off with it listed. (Sartak)
846 * Moose::Meta::Method::Constructor
847 - Make it easier to subclass the inlining behaviour. (Ash
850 * Moose::Manual::Delta
851 - Details significant changes in the history of Moose, along
852 with recommended workarounds.
854 * Moose::Manual::Contributing
855 - Contributor's guide to Moose.
857 * Moose::Meta::Method::Constructor
858 - The long-deprecated intialize_body method has been removed
859 (yes, spelled like that).
861 * Moose::Meta::Method::Destructor
862 - This is_needed method is now always a class method.
865 - Changes to the internals of how make_immutable works to match
866 changes in latest Class::MOP.
868 0.72 Mon, February 23, 2009
870 * Moose::Meta::Method::Constructor
871 - A mutable class accepted Foo->new(undef) without complaint,
872 while an immutable class would blow up with an unhelpful
873 error. Now, in both cases we throw a helpful error
874 instead. Reported by doy.
876 0.71_01 Sun, February 22, 2009
878 - Hopefully fixed some POD errors in a few recipes that caused
879 them to display weird on search.cpan.org.
881 * Moose::Util::TypeConstraints
882 - Calling type or subtype without the sugar helpers (as, where,
883 message) is now deprecated.
884 - The subtype function tried hard to guess what you meant, but
885 often got it wrong. For example:
887 my $subtype = subtype as 'ArrayRef[Object]';
889 This caused an error in the past, but now works as you'd
893 - Make sure Moose.pm is loaded before calling
894 Moose->throw_error. This wasn't normally an issue, but could
895 bite you in weird cases.
897 0.71 Thu, February 19, 2009
898 * Moose::Cookbook::Basics::Recipe11
899 - A new recipe which demonstrates the use of BUILDARGS and
902 * Moose::Cookbook::Roles::Recipe3
903 - A new recipe, applying a role to an object instance. (Dave
907 - Allow overriding specific keywords from "also" packages. (doy)
910 - Replace hardcoded cookbook tests with Test::Inline to ensure
911 the tests match the actual code in the recipes. (Dave Rolsky)
914 - Working on the above turned up a number of little bugs in the
915 recipe code. (Dave Rolsky)
917 * Moose::Util::TypeConstraints::Optimized
918 - Just use Class::MOP for the optimized ClassName check. (Dave
921 0.70 Sat, February 14, 2009
922 * Moose::Util::TypeConstraints
923 - Added the RoleName type (stevan)
924 - added tests for this (stevan)
926 * Moose::Cookbook::Basics::Recipe3
927 - Updated the before qw[left right] sub to be a little more
928 defensive about what it accepts (stevan)
929 - added more tests to t/000_recipies/basics/003_binary_tree.t
933 - We now always call DEMOLISHALL, even if a class does not
934 define DEMOLISH. This makes sure that method modifiers on
935 DEMOLISHALL work as expected. (doy)
936 - added tests for this (EvanCarroll)
938 * Moose::Util::MetaRole
939 - Accept roles for the wrapped_method_metaclass (rafl)
940 - added tests for this (rafl)
942 * Moose::Meta::Attribute
943 - We no longer pass the meta-attribute object as a final
944 argument to triggers. This actually changed for inlined code a
945 while back, but the non-inlined version and the docs were
949 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
950 they require 0.11. (Dave Rolsky)
953 - Lots of small changes to the manual, cookbook, and
954 elsewhere. These were based on feedback from various
955 users, too many to list here. (Dave Rolsky)
957 0.69 Thu, February 12, 2009
959 - Make some keyword errors use throw_error instead of croak
960 since Moose::Exporter wraps keywords now (Sartak)
963 - Revised every recipe for style and clarity. Also moved some
964 documentation out of cookbook recipes and into Moose::Manual
965 pages. This work was funded as part of the Moose docs grant
966 from TPF. (Dave Rolsky)
968 * Moose::Meta::Method::Delegation
969 - If the attribute doing the delegation was not populated, the
970 error message did not specify the attribute name
973 0.68 Wed, February 4, 2009
975 - Many spelling, typo, and formatting fixes by daxim.
977 * Moose::Manual::Attributes
978 - The NAME section in the POD used "Attribute" so search.cpan
979 didn't resolve links from other documents properly.
981 * Moose::Meta::Method::Overriden
982 - Now properly spelled as Overridden. Thanks to daxim for
985 0.67 Tue, February 3, 2009
987 - Lots of little typo fixes and a few clarifications. Several
988 pages didn't have proper titles, and so weren't actually
989 visible on search.cpan.org. Thanks to hanekomu for a variety
990 of fixes and formatting improvements.
992 0.66 Tue, February 3, 2009
994 - This is a brand new, extensive manual for Moose. This aims to
995 provide a complete introduction to all of Moose's
996 features. This work was funded as part of the Moose docs grant
997 from TPF. (Dave Rolsky)
999 * Moose::Meta::Attribute
1000 - Added a delegation_metaclass method to replace a hard-coded
1001 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
1003 * Moose::Util::TypeConstraints
1004 - If you created a subtype and passed a parent that Moose didn't
1005 know about, it simply ignored the parent. Now it automatically
1006 creates the parent as a class type. This may not be what you
1007 want, but is less broken than before. (Dave Rolsky)
1009 * Moose::Util::TypeConstraints
1010 - This module tried throw errors by calling Moose->throw_error,
1011 but it did not ensure that Moose was loaded first. This could
1012 cause very unhelpful errors when it tried to throw an error
1013 before Moose was loaded. (Dave Rolsky)
1015 * Moose::Util::TypeConstraints
1016 - You could declare a name with subtype such as "Foo!Bar" that
1017 would be allowed, but if you used it in a parameterized type
1018 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
1019 vetting on names created via the sugar functions, so that they
1020 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
1022 0.65 Thu, January 22, 2008
1023 * Moose and Moose::Meta::Method::Overridden
1024 - If an overridden method called super(), and then the
1025 superclass's method (not overridden) _also_ called super(),
1026 Moose went into an endless recursion loop. Test provided by
1027 Chris Prather. (Dave Rolsky)
1029 * Moose::Meta::TypeConstraint
1030 - All methods are now documented. (gphat)
1032 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
1033 - Fixed some bogus failures that occurred because we tried to
1034 validate filesystem paths in a very ad-hoc and
1035 not-quite-correct way. (Dave Rolsky)
1037 * Moose::Util::TypeConstraints
1038 - Added maybe_type to exports. See docs for details. (rjbs)
1041 - Added Moose::Util::TypeConstraints to the SEE ALSO
1045 - Methods created via an attribute can now fulfill a "requires"
1046 declaration for a role. (nothingmuch)
1048 * Moose::Meta::Method::*
1049 - Stack traces from inlined code will now report its line and
1050 file as being in your class, as opposed to in Moose
1051 guts. (nothingmuch).
1053 0.64 Wed, December 31, 2008
1054 * Moose::Meta::Method::Accessor
1055 - Always inline predicate and clearer methods (Sartak)
1057 * Moose::Meta::Attribute
1058 - Support for parameterized traits (Sartak)
1059 - verify_against_type_constraint method to avoid duplication
1060 and enhance extensibility (Sartak)
1062 * Moose::Meta::Class
1063 - Tests (but no support yet) for parameterized traits (Sartak)
1066 - Require Class::MOP 0.75+, which has the side effect of making
1067 sure we work on Win32. (Dave Rolsky)
1069 0.63 Mon, December 8, 2008
1070 * Moose::Unsweetened
1071 - Some small grammar tweaks and bug fixes in non-Moose example
1074 0.62_02 Fri, December 5, 2008
1075 * Moose::Meta::Role::Application::ToClass
1076 - When a class does not provide all of a role's required
1077 methods, the error thrown now mentions all of the missing
1078 methods, as opposed to just the first one found. Requested by
1079 Curtis Poe (RT #41119). (Dave Rolsky)
1081 * Moose::Meta::Method::Constructor
1082 - Moose will no longer inline a constructor for your class
1083 unless it inherits its constructor from Moose::Object, and
1084 will warn when it doesn't inline. If you want to force
1085 inlining anyway, pass "replace_constructor => 1" to
1086 make_immutable. Addresses RT #40968, reported by Jon
1087 Swartz. (Dave Rolsky)
1088 - The quoting of default values could be broken if the default
1089 contained a single quote ('). Now we use quotemeta to escape
1090 anything potentially dangerous in the defaults. (Dave Rolsky)
1092 0.62_01 Wed, December 3, 2008
1094 - use the method->execute API for BUILDALL
1095 and DEMOLISHALL (Sartak)
1097 * Moose::Util::TypeConstraints
1098 - We now make all the type constraint meta classes immutable
1099 before creating the default types provided by Moose. This
1100 should make loading Moose a little faster. (Dave Rolsky)
1102 0.62 Wed November 26, 2008
1103 * Moose::Meta::Role::Application::ToClass
1104 Moose::Meta::Role::Application::ToRole
1105 - fixed issues where excluding and aliasing the
1106 same methods for a single role did not work
1107 right (worked just fine with multiple
1109 - added test for this (stevan)
1111 * Moose::Meta::Role::Application::RoleSummation
1112 - fixed the error message when trying to compose
1113 a role with a role it excludes (Sartak)
1116 - Catch another case where recursion caused the value
1117 of $CALLER to be stamped on (t0m)
1118 - added test for this (t0m)
1121 - Remove the make_immutable keyword, which has been
1122 deprecated since April. It breaks metaclasses that
1123 use Moose without no Moose (Sartak)
1125 * Moose::Meta::Attribute
1126 - Removing an attribute from a class now also removes delegation
1127 (handles) methods installed for that attribute (t0m)
1128 - added test for this (t0m)
1130 * Moose::Meta::Method::Constructor
1131 - An attribute with a default that looked like a number (but was
1132 really a string) would accidentally be treated as a number
1133 when the constructor was made immutable (perigrin)
1134 - added test for this (perigrin)
1137 - create method for constructing a role
1138 dynamically (Sartak)
1139 - added test for this (Sartak)
1140 - anonymous roles! (Sartak)
1141 - added test for this (Sartak)
1144 - more consistent error messages (Sartak)
1146 * Moose::Cookbook::Roles::Recipe1
1147 - attempt to explain why a role that just requires
1148 methods is useful (Sartak)
1150 0.61 Fri November 7, 2008
1151 * Moose::Meta::Attribute
1152 - When passing a role to handles, it will be loaded if necessary
1155 * Moose::Meta::Class
1156 - Method objects returned by get_method (and other methods)
1157 Could end up being returned without an associated_metaclass
1158 attribute. Removing get_method_map, which is provided by
1159 Class::MOP::Class, fixed this. The Moose version did nothing
1160 different from its parent except introduce a bug. (Dave Rolsky)
1161 - added tests for this (jdv79)
1164 - Added a $VERSION to all .pm files which didn't have one. Fixes
1165 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
1167 * Moose::Cookbook::Basics::Recipe4
1168 * Moose::Cookbook::Basics::Recipe6
1169 - These files had spaces on the first line of the SYNOPSIS, as
1170 opposed to a totally empty line. According to RT #40432, this
1171 confuses POD parsers. (Dave Rolsky)
1173 0.60 Fri October 24, 2008
1175 - Passing "-traits" when loading Moose caused the Moose.pm
1176 exports to be broken. Reported by t0m. (Dave Rolsky)
1177 - Tests for this bug. (t0m)
1180 - Change resolve_metaclass alias to use the new
1181 load_first_existing_class function. This makes it a lot
1182 simpler, and also around 5 times faster. (t0m)
1183 - Add caching to resolve_metaclass_alias, which gives an order
1184 of magnitude speedup to things which repeatedly call the
1185 Moose::Meta::Attribute->does method, notably MooseX::Storage
1188 * Moose::Util::TypeConstraint
1189 - Put back the changes for parameterized constraints that
1190 shouldn't have been removed in 0.59. We still cannot parse
1191 them, but MooseX modules can create them in some other
1192 way. See the 0.58 changes for more details. (jnapiorkowski)
1193 - Changed the way subtypes are created so that the job is
1194 delegated to a type constraint parent. This clears up some
1195 hardcoded checking and should allow correct subtypes of
1196 Moose::Meta::Type::Constraint. Don't rely on this new API too
1197 much (create_child_type) because it may go away in the
1198 future. (jnapiorkowski)
1200 * Moose::Meta::TypeConstraint::Union
1201 - Type constraint names are sorted as strings, not numbers.
1204 * Moose::Meta::TypeConstraint::Parameterizable
1205 - New parameterize method. This can be used as a factory method
1206 to make a new type constraint with a given parameterized
1207 type. (jnapiorkowski)
1208 - added tests (jnapiorkowski)
1210 0.59 Tue October 14, 2008
1212 - Add abridged documentation for builder/default/initializer/
1213 predicate, and link to more details sections in
1214 Class::MOP::Attribute. (t0m)
1216 * Moose::Util::TypeConstraints
1217 - removed prototypes from all but the &-based stuff (mst)
1219 * Moose::Util::TypeConstraints
1220 - Creating a anonymous subtype with both a constraint and a
1221 message failed with a very unhelpful error, but should just
1222 work. Reported by t0m. (Dave Rolsky)
1225 - Some tests that used Test::Warn if it was available failed
1226 with older versions of Test::Warn. Reported by Fayland. (Dave
1228 - Test firing behavior of triggers in relation to builder/default/
1230 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
1231 kinds of supported type. (t0m)
1233 * Moose::Meta::Class
1234 - In create(), do not pass "roles" option to the superclass
1235 - added related test that creates an anon metaclass with
1236 a required attribute
1238 * Moose::Meta::TypeConstraint::Class
1239 * Moose::Meta::TypeConstraint::Role
1240 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
1241 other types (as per change in 0.55_02). (t0m)
1243 * Moose::Meta::TypeConstraint::Registry
1244 - Fix warning when dealing with unknown type names (t0m)
1246 * Moose::Util::TypeConstraints
1247 - Reverted changes from 0.58 related to handle parameterized
1248 types. This caused random failures on BSD and Win32 systems,
1249 apparently related to the regex engine. This means that Moose
1250 can no longer parse structured type constraints like
1251 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
1252 supported in a slightly different way via MooseX::Types some
1253 time in the future. (Dave Rolsky)
1255 0.58 Sat September 20, 2008
1256 !! This release has an incompatible change regarding !!
1257 !! how roles add methods to a class !!
1259 * Roles and role application
1260 ! Roles now add methods by calling add_method, not
1261 alias_method. They make sure to always provide a method
1262 object, which will be cloned internally. This means that it is
1263 now possible to track the source of a method provided by a
1264 role, and even follow its history through intermediate roles.
1266 This means that methods added by a role now show up when
1267 looking at a class's method list/map. (Dave Rolsky)
1270 - From this release on, we'll try to maintain a list of
1271 conflicting modules, and warn you if you have one
1272 installed. For example, this release conflicts with ...
1273 - MooseX::Singleton <= 0.11
1274 - MooseX::Params::Validate <= 0.05
1277 In general, we try to not break backwards compatibility for
1278 most Moose users, but MooseX modules and other code which
1279 extends Moose's metaclasses is often affected by very small
1280 changes in the Moose internals.
1282 * Moose::Meta::Method::Delegation
1283 * Moose::Meta::Attribute
1284 - Delegation methods now have their own method class. (Dave
1287 * Moose::Meta::TypeConstraint::Parameterizable
1288 - Added a new method 'parameterize' which is basically a factory
1289 for the containing constraint. This makes it easier to create
1290 new types of parameterized constraints. (jnapiorkowski)
1292 * Moose::Meta::TypeConstraint::Union
1293 - Changed the way Union types canonicalize their names to follow
1294 the normalized TC naming rules, which means we strip all
1295 whitespace. (jnapiorkowski)
1297 * Moose::Util::TypeConstraints
1298 - Parameter and Union args are now sorted, this makes Int|Str
1299 the same constraint as Str|Int. (jnapiorkowski)
1300 - Changes to the way Union types are parsed to more correctly
1301 stringify their names. (jnapiorkowski)
1302 - When creating a parameterized type, we now use the new
1303 parameterize method. (jnapiorkowski)
1304 - Incoming type constraint strings are now normalized to remove
1305 all whitespace differences. (jnapiorkowski)
1306 - Changed the way we parse type constraint strings so that we now
1307 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
1308 constraints. This lays the foundation for more flexible type
1309 constraint implementations.
1311 * Tests and docs for all the above. (jnapiorkowski)
1315 - Moose::Exporter will no longer remove a subroutine that the
1316 exporting package re-exports. Moose re-exports the
1317 Carp::confess function, among others. The reasoning is that we
1318 cannot know whether you have also explicitly imported those
1319 functions for your own use, so we err on the safe side and
1320 always keep them. (Dave Rolsky)
1321 - added tests for this (rafl)
1323 * Moose::Meta::Class
1324 - Changes to how we fix metaclass compatibility that are much
1325 too complicated to go into. The summary is that Moose is much
1326 less likely to complain about metaclass incompatibility
1327 now. In particular, if two metaclasses differ because
1328 Moose::Util::MetaRole was used on the two corresponding
1329 classes, then the difference in roles is reconciled for the
1330 subclass's metaclass. (Dave Rolsky)
1331 - Squashed an warning in _process_attribute (thepler)
1334 - throw exceptions (sooner) for invalid attribute names (thepler)
1335 - added tests for this (thepler)
1337 * Moose::Util::MetaRole
1338 - If you explicitly set a constructor or destructor class for a
1339 metaclass object, and then applied roles to the metaclass,
1340 that explicitly set class would be lost and replaced with the
1343 * Moose::Meta::Class
1344 * Moose::Meta::Attribute
1345 * Moose::Meta::Method
1348 * Moose::Error::Default
1349 * Moose::Error::Croak
1350 * Moose::Error::Confess
1351 - All instances of confess() changed to use overridable
1352 C<throw_error> method. This method ultimately calls a class
1353 constructor, and you can change the class being called. In
1354 addition, errors now pass more information than just a string.
1355 The default C<error_class> behaves like C<Carp::confess>, so
1356 the behavior is not visibly different for end users.
1358 0.57 Wed September 3, 2008
1360 - A new bit of doc intended to introduce folks familiar with
1361 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
1363 * Moose::Unsweetened
1364 - Shows examples of two classes, each done first with and then
1365 without Moose. This makes a nice parallel to
1366 Moose::Intro. (Dave Rolsky)
1368 * Moose::Util::TypeConstraints
1369 - Fixed a bug in find_or_parse_type_constraint so that it
1370 accepts a Moose::Meta::TypeConstraint object as the parent
1371 type, not just a name (jnapiorkowski)
1372 - added tests (jnapiorkowski)
1375 - If Sub::Name was not present, unimporting failed to actually
1376 remove some sugar subs, causing test failures (Dave Rolsky)
1378 0.56 Mon September 1, 2008
1379 For those not following the series of dev releases, there are
1380 several major changes in this release of Moose.
1381 ! Moose::init_meta should now be called as a method. See the
1384 - Major performance improvements by nothingmuch.
1386 - New modules for extension writers, Moose::Exporter and
1387 Moose::Util::MetaRole by Dave Rolsky.
1389 - Lots of doc improvements and additions, especially in the
1392 - Various bug fixes.
1394 * Removed all references to the experimental-but-no-longer-needed
1395 Moose::Meta::Role::Application::ToMetaclassInstance.
1397 * Require Class::MOP 0.65.
1399 0.55_04 Sat August 30, 2008
1400 * Moose::Util::MetaRole
1401 * Moose::Cookbook::Extending::Recipe2
1402 - This simplifies the application of roles to any meta class, as
1403 well as the base object class. Reimplemented metaclass traits
1404 using this module. (Dave Rolsky)
1406 * Moose::Cookbook::Extending::Recipe1
1407 - This a new recipe, an overview of various ways to write Moose
1408 extensions (Dave Rolsky)
1410 * Moose::Cookbook::Extending::Recipe3
1411 * Moose::Cookbook::Extending::Recipe4
1412 - These used to be Extending::Recipe1 and Extending::Recipe2,
1415 0.55_03 Fri August 29, 2008
1416 * No changes from 0.55_02 except increasing the Class::MOP
1417 dependency to 0.64_07.
1419 0.55_02 Fri August 29, 2008
1420 * Makefile.PL and Moose.pm
1421 - explicitly require Perl 5.8.0+ (Dave Rolsky)
1423 * Moose::Util::TypeConstraints
1424 - Fix warnings from find_type_constraint if the type is not
1427 * Moose::Meta::TypeConstraint
1428 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
1429 return false if the type you specify cannot be found in the
1430 type registry, rather than throwing an unhelpful and
1431 coincidental exception. (t0m).
1432 - added docs & test for this (t0m)
1434 * Moose::Meta::TypeConstraint::Registry
1435 - add_type_constraint now throws an exception if a parameter is
1437 - added docs & test for this (t0m)
1439 * Moose::Cookbook::FAQ
1440 - Added a faq entry on the difference between "role" and "trait"
1444 - Fixed a bug that caused role composition to not see a required
1445 method when that method was provided by another role being
1446 composed at the same time. (Dave Rolsky)
1447 - test and bug finding (tokuhirom)
1449 0.55_01 Wed August 20, 2008
1451 !! Calling Moose::init_meta as a function is now !!
1452 !! deprecated. Please see the Moose.pm docs for details. !!
1454 * Moose::Meta::Method::Constructor
1455 - Fix inlined constructor so that values produced by default
1456 or builder methods are coerced as required. (t0m)
1457 - added test for this (t0m)
1459 * Moose::Meta::Attribute
1460 - A lazy attribute with a default or builder did not attempt to
1461 coerce the default value. The immutable code _did_
1463 - added test for this (t0m)
1466 - This is a new helper module for writing "Moose-alike"
1467 modules. This should make the lives of MooseX module authors
1468 much easier. (Dave Rolsky)
1471 * Moose::Cookbook::Meta::Recipe5
1472 - Implemented metaclass traits (and wrote a recipe for it):
1474 use Moose -traits => 'Foo'
1476 This should make writing small Moose extensions a little
1477 easier (Dave Rolsky)
1479 * Moose::Cookbook::Basics::Recipe1
1480 - Removed any examples of direct hashref access, and applied an
1481 editorial axe to reduce verbosity. (Dave Rolsky)
1483 * Moose::Cookbook::Basics::Recipe1
1484 - Also applied an editorial axe here. (Dave Rolsky)
1487 * Moose::Cookbook::Extending::Recipe1
1488 * Moose::Cookbook::Extending::Recipe2
1489 - Rewrote extending and embedding moose documentation and
1490 recipes to use Moose::Exporter (Dave Rolsky)
1494 - These two modules now warn when you load them from the main
1495 package "main" package, because we will not export sugar to
1496 main. Previously it just did nothing. (Dave Rolsky)
1499 - Now provide an init_meta method just like Moose.pm, and you
1500 can call this to provide an alternate role metaclass. (Dave
1501 Rolsky and nothingmuch)
1502 - get_method_map now respects the package cache flag (nothingmuch)
1505 - Two new methods - add_method and wrap_method_body
1509 - Optimizations including allowing constructors to accept hash
1510 refs, making many more classes immutable, and making
1511 constructors immutable. (nothingmuch)
1513 0.55 Sun August 3, 2008
1514 * Moose::Meta::Attribute
1515 - breaking down the way 'handles' methods are
1516 created so that the process can be more easily
1517 overridden by subclasses (stevan)
1519 * Moose::Meta::TypeConstraint
1520 - fixing what is passed into a ->message with
1521 the type constraints (RT #37569)
1522 - added tests for this (Charles Alderman)
1524 * Moose::Util::TypeConstraints
1525 - fix coerce to accept anon types like subtype can (mst)
1528 - reorganized the recipes into sections - Basics, Roles, Meta,
1529 Extending - and wrote abstracts for each section (Dave Rolsky)
1531 * Moose::Cookbook::Basics::Recipe10
1532 - A new recipe that demonstrates operator overloading
1533 in combination with Moose. (bluefeet)
1535 * Moose::Cookbook::Meta::Recipe1
1536 - an introduction to what meta is and why you'd want to make
1537 your own metaclass extensions (Dave Rolsky)
1539 * Moose::Cookbook::Meta::Recipe4
1540 - a very simple metaclass example (Dave Rolsky)
1542 * Moose::Cookbook::Extending::Recipe1
1543 - how to write a Moose-alike module to use your own object base
1546 * Moose::Cookbook::Extending::Recipe2
1547 - how to write modules with an API just like C<Moose.pm> (Dave
1551 - Tons of fixes, both syntactical and grammatical (Dave
1552 Rolsky, Paul Fenwick)
1554 0.54 Thurs. July 3, 2008
1555 ... this is not my day today ...
1557 * Moose::Meta::Attribute
1558 - fixed legal_options_for_inheritance such that
1559 clone_and_inherit options still works for
1560 Class::MOP::Attribute objects and therefore
1561 does not break MooseX::AttributeHelpers
1564 0.53 Thurs. July 3, 2008
1565 * Whoops, I guess I should run 'make manifest' before
1566 actually releasing the module. No actual changes
1567 in this release, except the fact that it includes
1568 the changes that I didn't include in the last
1571 0.52 Thurs. July 3, 2008
1573 - added "FEATURE REQUESTS" section to the Moose docs
1574 to properly direct people (stevan) (RT #34333)
1575 - making 'extends' croak if it is passed a Role since
1576 this is not ever something you want to do
1577 (fixed by stevan, found by obra)
1578 - added tests for this (stevan)
1581 - adding support for DOES (as in UNIVERSAL::DOES)
1583 - added test for this
1585 * Moose::Meta::Attribute
1586 - added legal_options_for_inheritance (wreis)
1587 - added tests for this (wreis)
1589 * Moose::Cookbook::Snacks::*
1590 - removed some of the unfinished snacks that should
1591 not have been released yet. Added some more examples
1592 to the 'Keywords' snack. (stevan)
1594 * Moose::Cookbook::Style
1595 - added general Moose "style guide" of sorts to the
1596 cookbook (nothingmuch) (RT #34335)
1599 - added more BUILDARGS tests (stevan)
1601 0.51 Thurs. Jun 26, 2008
1603 - add unimport so "no Moose::Role" actually does
1606 * Moose::Meta::Role::Application::ToRole
1607 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1608 order to provide its own implementation, that method still got
1609 added to the list of required methods for consumers of
1610 RoleB. Now an aliased method is only added to the list of
1611 required methods if the role doing the aliasing does not
1612 provide its own implementation. See Recipe 11 for an example
1613 of all this. (Dave Rolsky)
1614 - added tests for this
1616 * Moose::Meta::Method::Constructor
1617 - when a single argument that wasn't a hashref was provided to
1618 an immutabilized constructor, the error message was very
1619 unhelpful, as opposed to the non-immutable error. Reported by
1621 - added test for this (Dave Rolsky)
1623 * Moose::Meta::Attribute
1624 - added support for meta_attr->does("ShortAlias") (sartak)
1625 - added tests for this (sartak)
1626 - moved the bulk of the `handles` handling to the new
1627 install_delegation method (Stevan)
1630 - Added BUILDARGS, a new step in new()
1632 * Moose::Meta::Role::Application::RoleSummation
1633 - fix typos no one ever sees (sartak)
1635 * Moose::Util::TypeConstraints
1636 * Moose::Meta::TypeConstraint
1637 * Moose::Meta::TypeCoercion
1638 - Attempt to work around the ??{ } vs. threads issue
1640 - Some null_constraint optimizations
1642 0.50 Thurs. Jun 11, 2008
1643 - Fixed a version number issue by bumping all modules
1646 0.49 Thurs. Jun 11, 2008
1647 !! This version now approx. 20-25% !!
1648 !! faster with new Class::MOP 0.59 !!
1650 * Moose::Meta::Attribute
1651 - fixed how the is => (ro|rw) works with
1652 custom defined reader, writer and accessor
1654 - added docs for this (TODO).
1655 - added tests for this (Thanks to Penfold)
1656 - added the custom attribute alias for regular
1657 Moose attributes which is "Moose"
1658 - fix builder and default both being used
1663 Moose::Meta::Attribute
1665 Moose::Meta::Role::Composite
1666 Moose::Util::TypeConstraints
1667 - switched usage of reftype to ref because
1671 - changing add_package_symbol to use the new
1675 - fixed how DEMOLISHALL is called so that it
1676 can be overrided in subclasses (thanks to Sartak)
1677 - added test for this (thanks to Sartak)
1679 * Moose::Util::TypeConstraints
1680 - move the ClassName type check code to
1681 Class::MOP::is_class_loaded (thanks to Sartak)
1683 * Moose::Cookbook::Recipe11
1684 - add tests for this (thanks to tokuhirom)
1686 0.48 Thurs. May 29, 2008
1687 (early morning release engineering)--
1689 - fixing the version in Moose::Meta::Method::Destructor
1690 which was causing the indexer to choke
1692 0.47 Thurs. May 29, 2008
1693 (late night release engineering)--
1695 - fixing the version is META.yml, no functional
1696 changes in this release
1698 0.46 Wed. May 28, 2008
1699 !! This version now approx. 20-25% !!
1700 !! faster with new Class::MOP 0.57 !!
1702 * Moose::Meta::Class
1703 - some optimizations of the &initialize method
1704 since it is called so often by &meta
1706 * Moose::Meta::Class
1708 - now use the get_all_package_symbols from the
1709 updated Class::MOP, test suite is now 10 seconds
1712 * Moose::Meta::Method::Destructor
1713 - is_needed can now also be called as a class
1714 method for immutablization to check if the
1715 destructor object even needs to be created
1718 * Moose::Meta::Method::Destructor
1719 Moose::Meta::Method::Constructor
1720 - added more descriptive error message to help
1721 keep people from wasting time tracking an error
1722 that is easily fixed by upgrading.
1724 0.45 Saturday, May 24, 2008
1726 - Because of work in Class::MOP 0.57, all
1727 XS based functionality is now optional
1728 and a Pure Perl version is supplied
1729 - the CLASS_MOP_NO_XS environment variable
1730 can now be used to force non-XS versions
1732 - several of the packages have been tweaked
1733 to take care of this, mostly we added
1734 support for the package_name and name
1735 variables in all the Method metaclasses
1736 - before/around/after method modifiers now
1737 support regexp matching of names
1738 (thanks to Takatoshi Kitano)
1739 - tests added for this
1740 - NOTE: this only works for classes, it
1741 is currently not supported in roles,
1742 but, ... patches welcome
1743 - All usage of Carp::confess have been replaced
1744 by Carp::croak in the "keyword" functions since
1745 the stack trace is usually not helpful
1748 - All usage of Carp::confess have been replaced
1749 by Carp::croak in the "keyword" functions since
1750 the stack trace is usually not helpful
1751 - The 'has' keyword for roles now accepts the
1752 same array ref form that Moose.pm does
1753 (has [qw/foo bar/] => (is => 'rw', ...))
1754 - added test for this
1756 * Moose::Meta::Attribute
1757 - trigger on a ro-attribute is no longer an
1758 error, as it's useful to trigger off of the
1761 * Moose::Meta::Class
1762 - added same 'add_package_symbol' fix as in
1766 - does_role now handles non-Moose classes
1768 - added tests for this
1769 - added the 'add_method_modifier' function
1770 (thanks to Takatoshi Kitano)
1772 * Moose::Util::TypeConstraints
1773 - subtypes of parameterizable types now are
1774 themselves parameterizable types
1776 * Moose::Meta::Method::Constructor
1777 - fixed bug where trigger was not being
1778 called by the inlined immutable
1780 - added test for this (thanks to Caelum)
1782 * Moose::Meta::Role::Application::ToInstance
1783 - now uses the metaclass of the instance
1784 (if possible) to create the anon-class
1785 (thanks Jonathan Rockway)
1787 * Moose::Cookbook::Recipe22
1788 - added the meta-attribute trait recipe
1792 - fixed hash-ordering test bug that was
1793 causing occasional cpantester failures
1794 - renamed the t/000_recipe/*.t tests to be
1795 more descriptive (thanks to Sartak)
1797 0.44 Sat. May 10, 2008
1799 - made make_immutable warning cluck to
1800 show where the error is (thanks mst)
1803 - BUILDALL and DEMOLISHALL now call
1804 ->body when looping through the
1805 methods, to avoid the overloaded
1807 - fixed issue where DEMOLISHALL was
1808 eating the $@ values, and so not
1809 working correctly, it still kind of
1810 eats them, but so does vanilla perl
1811 - added tests for this
1813 * Moose::Cookbook::Recipe7
1814 - added new recipe for immutable
1815 functionality (thanks Dave Rolsky)
1817 * Moose::Cookbook::Recipe9
1818 - added new recipe for builder and
1819 lazy_build (thanks Dave Rolsky)
1821 * Moose::Cookbook::Recipe11
1822 - added new recipe for method aliasing
1823 and exclusion with Roles (thanks Dave Rolsky)
1826 - fixed Win32 test failure (thanks spicyjack)
1828 ~ removed Build.PL and Module::Build compat
1829 since Module::Install has done that.
1831 0.43 Wed. April, 30, 2008
1833 drink more coffee before
1834 doing release engineering
1836 - whoops, forgot to do the smolder tests,
1837 and we broke some of the custom meta-attr
1838 modules. This fixes that.
1840 0.42 Mon. April 28, 2008
1841 - some bad tests slipped by, nothing else
1842 changed in this release (cpantesters++)
1844 - upped the Class::MOP dependency to 0.55
1845 since we have tests which need the C3
1848 0.41 Mon. April 28, 2008
1849 ~~ numerous documentation updates ~~
1851 - Changed all usage of die to Carp::croak for better
1852 error reporting (initial patch by Tod Hagan)
1854 ** IMPORTANT NOTE **
1855 - the make_immutable keyword is now deprecated, don't
1856 use it in any new code and please fix your old code
1857 as well. There will be 2 releases, and then it will
1863 - refactored the way inner and super work to avoid
1864 any method/@ISA cache penalty (nothingmuch)
1866 * Moose::Meta::Class
1867 - fixing &new_object to make sure trigger gets the
1868 coerced value (spotted by Charles Alderman on the
1870 - added test for this
1872 * Moose::Meta::Method::Constructor
1873 - immutable classes which had non-lazy attributes were calling
1874 the default generating sub twice in the constructor. (bug
1875 found by Jesse Luehrs, fixed by Dave Rolsky)
1876 - added tests for this (Dave Rolsky)
1877 - fix typo in initialize_body method (nothingmuch)
1879 * Moose::Meta::Method::Destructor
1880 - fix typo in initialize_body method (nothingmuch)
1882 * Moose::Meta::Method::Overriden
1883 Moose::Meta::Method::Augmented
1884 - moved the logic for these into their own
1885 classes (nothingmuch)
1887 * Moose::Meta::Attribute
1888 - inherited attributes may now be extended without
1889 restriction on the type ('isa', 'does') (Sartak)
1890 - added tests for this (Sartak)
1891 - when an attribute property is malformed (such as lazy without
1892 a default), give the name of the attribute in the error
1894 - added the &applied_traits and &has_applied_traits methods
1895 to allow introspection of traits
1896 - added tests for this
1897 - moved 'trait' and 'metaclass' argument handling to here from
1899 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1900 '+foo' syntax) (nothingmuch)
1901 - added tests for this (t0m)
1904 - localize $@ inside DEMOLISHALL to avoid it
1905 eating $@ (found by Ernesto)
1906 - added test for this (thanks to Ernesto)
1908 * Moose::Util::TypeConstraints
1909 - &find_type_constraint now DWIMs when given an
1910 type constraint object or name (nothingmuch)
1911 - &find_or_create_type_constraint superseded with a number of more
1913 - find_or_create_{isa,does}_type_constraint
1914 - find_or_parse_type_constraint
1916 * Moose::Meta::TypeConstraint
1917 Moose::Meta::TypeConstraint::Class
1918 Moose::Meta::TypeConstraint::Role
1919 Moose::Meta::TypeConstraint::Enum
1920 Moose::Meta::TypeConstraint::Union
1921 Moose::Meta::TypeConstraint::Parameterized
1922 - added the &equals method for comparing two type
1923 constraints (nothingmuch)
1924 - added tests for this (nothingmuch)
1926 * Moose::Meta::TypeConstraint
1927 - add the &parents method, which is just an alias to &parent.
1928 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1930 * Moose::Meta::TypeConstraint::Class
1931 - added the class attribute for introspection purposes
1933 - added tests for this
1935 * Moose::Meta::TypeConstraint::Enum
1936 Moose::Meta::TypeConstraint::Role
1937 - broke these out into their own classes (nothingmuch)
1939 * Moose::Cookbook::Recipe*
1940 - fixed references to test file locations in the POD
1941 and updated up some text for new Moose features
1945 - Added &resolve_metaclass_alias, a helper function for finding an actual
1946 class for a short name (e.g. in the traits list)
1948 0.40 Fri. March 14, 2008
1949 - I hate Pod::Coverage
1951 0.39 Fri. March 14, 2008
1953 - documenting the use of '+name' with attributes
1954 that come from recently composed roles. It makes
1955 sense, people are using it, and so why not just
1956 officially support it.
1957 - fixing the 'extends' keyword so that it will not
1958 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1961 - added the perl -Moose=+Class::Name feature to allow
1962 monkeypatching of classes in one liners
1965 - fixing the 'apply_all_roles' keyword so that it will not
1966 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1968 * Moose::Meta::Class
1969 - added ->create method which now supports roles (thanks to jrockway)
1970 - added tests for this
1971 - added ->create_anon_class which now supports roles and caching of
1972 the results (thanks to jrockway)
1973 - added tests for this
1974 - made ->does_role a little more forgiving when it is
1975 checking a Class::MOP era metaclasses.
1977 * Moose::Meta::Role::Application::ToInstance
1978 - it is now possible to pass extra params to be used when
1979 a role is applied to an the instance (rebless_params)
1980 - added tests for this
1982 * Moose::Util::TypeConstraints
1983 - class_type now accepts an optional second argument for a
1984 custom message. POD anotated accordingly (groditi)
1985 - added tests for this
1986 - it is now possible to make anon-enums by passing 'enum' an
1987 ARRAY ref instead of the $name => @values. Everything else
1989 - added tests for this
1992 - making test for using '+name' on attributes consumed
1993 from a role, it works and makes sense too.
1995 * Moose::Meta::Attribute
1996 - fix handles so that it doesn't return nothing
1997 when the method cannot be found, not sure why
1998 it ever did this originally, this means we now
1999 have slightly better support for AUTOLOADed
2001 - added more delegation tests
2002 - adding ->does method to this so as to better
2003 support traits and their introspection.
2004 - added tests for this
2007 - localizing the Data::Dumper configurations so
2008 that it does not pollute others (RT #33509)
2009 - made ->does a little more forgiving when it is
2010 passed Class::MOP era metaclasses.
2012 0.38 Fri. Feb. 15, 2008
2013 * Moose::Meta::Attribute
2014 - fixed initializer to correctly do
2015 type checking and coercion in the
2017 - added tests for this
2020 - fixed some finicky tests (thanks to konobi)
2022 0.37 Thurs. Feb. 14, 2008
2024 - fixed some details in Moose::init_meta
2025 and its superclass handling (thanks thepler)
2026 - added tests for this (thanks thepler)
2027 - 'has' now dies if you don't pass in name
2029 - added the 'make_immutable' keyword as a shortcut
2032 * Moose::Meta::Class
2033 Moose::Meta::Method::Constructor
2034 Moose::Meta::Attribute
2035 - making (init_arg => undef) work here too
2036 (thanks to nothingmuch)
2038 * Moose::Meta::Attribute
2039 Moose::Meta::Method::Constructor
2040 Moose::Meta::Method::Accessor
2041 - make lazy attributes respect attr initializers (rjbs)
2042 - added tests for this
2044 * Moose::Util::TypeConstraints
2045 Moose::Util::TypeConstraints::OptimizedConstraints
2046 Moose::Meta::TypeConstraints
2047 Moose::Meta::Attribute
2048 Moose::Meta::Method::Constructor
2049 Moose::Meta::Method::Accessor
2050 - making type errors use the
2051 assigned message (thanks to Sartak)
2052 - added tests for this
2054 * Moose::Meta::Method::Destructor
2055 - making sure DESTROY gets inlined properly
2056 with successive DEMOLISH calls (thanks to manito)
2058 * Moose::Meta::Attribute
2059 Moose::Meta::Method::Accessor
2060 - fixed handling of undef with type constraints
2062 - added tests for this
2065 - added &get_all_init_args and &get_all_attribute_values
2066 (thanks to Sartak and nothingmuch)
2068 0.36 Sat. Jan. 26, 2008
2070 Moose::Meta::Attribute
2071 - role type tests now support when roles are
2072 applied to non-Moose classes (found by ash)
2073 - added tests for this (thanks to ash)
2074 - couple extra tests to boost code coverage
2076 * Moose::Meta::Method::Constructor
2077 - improved fix for handling Class::MOP attributes
2078 - added test for this
2080 * Moose::Meta::Class
2081 - handled the add_attribute($attribute_meta_object)
2083 - added test for this
2085 0.35 Tues. Jan. 22, 2008
2086 * Moose::Meta::Method::Constructor
2087 - fix to make sure even Class::MOP attributes
2088 are handled correctly (Thanks to Dave Rolsky)
2089 - added test for this (also Dave Rolsky)
2091 * Moose::Meta::Class
2092 - improved error message on _apply_all_roles,
2093 you should now use Moose::Util::apply_all_roles
2094 and you shouldnt have been using a _ prefixed
2095 method in the first place ;)
2097 0.34 Mon. Jan. 21, 2008
2098 ~~~ more misc. doc. fixes ~~~
2099 ~~ updated copyright dates ~~
2101 Moose is now a postmodern object system :)
2102 - (see the POD for details)
2104 * <<Role System Refactoring>>
2105 - this release contains a major reworking and
2106 cleanup of the role system
2107 - 100% backwards compat.
2108 - Role application now restructured into seperate
2109 classes based on type of applicants
2110 - Role summation (combining of more than one role)
2111 is much cleaner and anon-classes are no longer
2112 used in this process
2113 - new Composite role metaclass
2114 - runtime application of roles to instances
2115 is now more efficient and re-uses generated
2116 classes when applicable
2118 * <<New Role composition features>>
2119 - methods can now be excluded from a given role
2121 - methods can now be aliased to another name (and
2122 still retain the original as well)
2124 * Moose::Util::TypeConstraints::OptimizedConstraints
2125 - added this module (see above)
2127 * Moose::Meta::Class
2128 - fixed the &_process_attribute method to be called
2129 by &add_attribute, so that the API is now correct
2131 * Moose::Meta::Method::Accessor
2132 - fixed bug when passing a list of values to
2133 an accessor would get (incorrectly) ignored.
2134 Thanks to Sartak for finding this ;)
2135 - added tests for this (Sartak again)
2137 * Moose::Meta::Method::Accessor
2138 Moose::Meta::Method::Constructor
2139 Moose::Meta::Attribute
2140 Moose::Meta::TypeConstraint
2141 Moose::Meta::TypeCoercion
2142 - lots of cleanup of such things as:
2144 - type constraint handling
2145 - error handling/messages
2146 (thanks to nothingmuch)
2148 * Moose::Meta::TypeConstraint::Parameterizable
2149 - added this module to support the refactor
2150 in Moose::Meta::TypeConstraint::Parameterized
2152 * Moose::Meta::TypeConstraint::Parameterized
2153 - refactored how these types are handled so they
2154 are more generic and not confined to ArrayRef
2158 - shortened some file names for better VMS support (RT #32381)
2160 0.33 Fri. Dec. 14, 2007
2161 !! Moose now loads 2 x faster !!
2162 !! with new Class::MOP 0.49 !!
2164 ++ new oose.pm module to make command line
2165 Moose-ness easier (see POD docs for more)
2167 * Moose::Meta::Class
2169 - several tweaks to take advantage of the
2170 new method map caching in Class::MOP
2172 * Moose::Meta::TypeConstraint::Parameterized
2173 - allow subtypes of ArrayRef and HashRef to
2174 be used as a container (sartak)
2175 - added tests for this
2176 - basic support for coercion to ArrayRef and
2177 HashRef for containers (sartak)
2178 - added tests for this
2180 * Moose::Meta::TypeCoercion
2181 - coercions will now create subtypes as needed
2182 so you can now add coercions to parameterized
2183 types without having to explictly define them
2184 - added tests for this
2186 * Moose::Meta::Method::Accessor
2187 - allow subclasses to decide whether we need
2188 to copy the value into a new variable (sartak)
2190 0.32 Tues. Dec. 4, 2007
2191 * Moose::Util::TypeConstraints
2192 - fixing how subtype aliases of unions work
2193 they should inherit the parent's coercion
2194 - added tests for this
2195 - you can now define multiple coercions on
2196 a single type at different times instead of
2197 having to do it all in one place
2198 - added tests for this
2200 * Moose::Meta::TypeConstraint
2201 - there is now a default constraint of sub { 1 }
2202 instead of Moose::Util::TypeConstraints setting
2205 * Moose::Meta::TypeCoercion
2206 * Moose::Meta::TypeCoercion::Union
2207 - added the &has_coercion_for_type and
2208 &add_type_coercions methods to support the
2209 new features above (although you cannot add
2210 more type coercions for Union types)
2212 0.31 Mon. Nov. 26, 2007
2213 * Moose::Meta::Attribute
2214 - made the +attr syntax handle extending types with
2215 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
2216 now works if the original foo is an ArrayRef.
2217 - added tests for this.
2218 - delegation now works even if the attribute does not
2219 have a reader method using the get_read_method_ref
2220 method from Class::MOP::Attribute.
2221 - added tests for this
2222 - added docs for this
2224 * Moose::Util::TypeConstraints
2225 - passing no "additional attribute info" to
2226 &find_or_create_type_constraint will no longer
2227 attempt to create an __ANON__ type for you,
2228 instead it will just return undef.
2229 - added docs for this
2231 0.30 Fri. Nov. 23, 2007
2232 * Moose::Meta::Method::Constructor
2233 -builder related bug in inlined constructor. (groditi)
2235 * Moose::Meta::Method::Accessor
2236 - genereate unnecessary calls to predicates and refactor
2237 code generation for runtime speed (groditi)
2239 * Moose::Util::TypeConstraints
2240 - fix ClassName constraint to introspect symbol table (mst)
2241 - added more tests for this (mst)
2242 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
2243 with work correctly.
2244 - added tests for this
2247 - adding the link to Recipie 11 (written by Sartak)
2248 - adding test for SYNOPSIS code
2251 - New tests for builder bug. Upon instantiation, if an
2252 attribute had a builder, no value and was not lazy the
2253 builder default was not getting run, oops. (groditi)
2255 0.29 Tues. Nov. 13, 2007
2256 * Moose::Meta::Attribute
2257 - Fix error message on missing builder method (groditi)
2259 * Moose::Meta::Method::Accessor
2260 - Fix error message on missing builder method (groditi)
2263 - Add test to check for the correct error message when
2264 builder method is missing (groditi)
2266 0.28 Tues. Nov. 13, 2007
2267 - 0.27 packaged incorrectly (groditi)
2269 0.27 Tues. Nov. 13, 2007
2270 * Moose::Meta::Attribute
2271 - Added support for the new builder option (groditi)
2272 - Added support for lazy_build option (groditi)
2273 - Changed slot initialization for predicate changes (groditi)
2275 * Moose::Meta::Method::Accessor
2276 - Added support for lazy_build option (groditi)
2277 - Fix inline methods to work with corrected predicate
2280 * Moose::Meta::Method::Constructor
2281 - Added support for lazy_build option (groditi)
2284 - tests for builder and lazy_build (groditi)
2286 * fixing some misc. bits in the docs that
2287 got mentioned on CPAN Forum & perlmonks
2290 - fixed how required methods are handled
2291 when they encounter overriden or modified
2292 methods from a class (thanks to confound).
2293 - added tests for this
2295 * Moose::Util::TypeConstraint
2296 - fixed the type notation parser so that
2297 the | always creates a union and so is
2298 no longer a valid type char (thanks to
2299 konobi, mugwump and #moose for working
2301 - added more tests for this
2303 0.26 Thurs. Sept. 27, 2007
2306 * Parameterized Types
2307 We now support parameterized collection types, such as:
2308 ArrayRef[Int] # array or integers
2309 HashRef[Object] # a hash with object values
2310 They can also be nested:
2311 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
2312 And work with the type unions as well:
2313 ArrayRef[Int | Str] # array of integers of strings
2315 * Better Framework Extendability
2316 Moose.pm is now "extendable" such that it is now much
2317 easier to extend the framework and add your own keywords
2318 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
2319 section of the Moose.pm docs.
2322 In an effort to begin documenting some of the various
2323 details of Moose as well as some common idioms, we have
2324 created Moose::Cookbook::Snacks as a place to find
2325 small (easily digestable) nuggets of Moose code.
2328 ~ Several doc updates/cleanup thanks to castaway ~
2330 - converted build system to use Module::Install instead of
2331 Module::Build (thanks to jrockway)
2334 - added all the meta classes to the immutable list and
2335 set it to inline the accessors
2336 - fix import to allow Sub::Exporter like { into => }
2337 and { into_level => } (perigrin)
2338 - exposed and documented init_meta() to allow better
2339 embedding and extending of Moose (perigrin)
2342 - complete re-organization of the test suite
2343 - added some new tests as well
2344 - finally re-enabled the Moose::POOP test since
2345 the new version of DBM::Deep now works again
2348 * Moose::Meta::Class
2349 - fixed very odd and very nasty recursion bug with
2351 - added tests for this (eilara)
2353 * Moose::Meta::Attribute
2354 Moose::Meta::Method::Constructor
2355 Moose::Meta::Method::Accessor
2356 - fixed issue with overload::Overloaded getting called
2357 on non-blessed items. (RT #29269)
2358 - added tests for this
2360 * Moose::Meta::Method::Accessor
2361 - fixed issue with generated accessor code making
2362 assumptions about hash based classes (thanks to dexter)
2364 * Moose::Coookbook::Snacks
2365 - these are bits of documentation, not quite as big as
2366 Recipes but which have no clear place in the module docs.
2367 So they are Snacks! (horray for castaway++)
2369 * Moose::Cookbook::Recipe4
2370 - updated it to use the new ArrayRef[MyType] construct
2371 - updated the accompanying test as well
2373 +++ Major Refactor of the Type Constraint system +++
2374 +++ with new features added as well +++
2376 * Moose::Util::TypeConstraint
2377 - no longer uses package variable to keep track of
2378 the type constraints, now uses the an instance of
2379 Moose::Meta::TypeConstraint::Registry to do it
2380 - added more sophisticated type notation parsing
2382 - added tests for this
2384 * Moose::Meta::TypeConstraint
2385 - some minor adjustments to make subclassing easier
2386 - added the package_defined_in attribute so that we
2387 can track where the type constraints are created
2389 * Moose::Meta::TypeConstraint::Union
2390 - this is now been refactored to be a subclass of
2391 Moose::Meta::TypeConstraint
2393 * Moose::Meta::TypeCoercion::Union
2394 - this has been added to service the newly refactored
2395 Moose::Meta::TypeConstraint::Union and is itself
2396 a subclass of Moose::Meta::TypeCoercion
2398 * Moose::Meta::TypeConstraint::Parameterized
2399 - added this module (taken from MooseX::AttributeHelpers)
2400 to help construct nested collection types
2401 - added tests for this
2403 * Moose::Meta::TypeConstraint::Registry
2404 - added this class to keep track of type constraints
2406 0.25 Mon. Aug. 13, 2007
2408 - Documentation update to reference Moose::Util::TypeConstraints
2409 under 'isa' in 'has' for how to define a new type
2410 (thanks to shlomif).
2412 * Moose::Meta::Attribute
2413 - required attributes now will no longer accept undef
2414 from the constructor, even if there is a default and lazy
2415 - added tests for this
2416 - default subroutines must return a value which passes the
2418 - added tests for this
2420 * Moose::Meta::Attribute
2421 * Moose::Meta::Method::Constructor
2422 * Moose::Meta::Method::Accessor
2423 - type-constraint tests now handle overloaded objects correctly
2424 in the error message
2425 - added tests for this (thanks to EvanCarroll)
2427 * Moose::Meta::TypeConstraint::Union
2428 - added (has_)hand_optimized_constraint to this class so that
2429 it behaves as the regular Moose::Meta::TypeConstraint does.
2432 - large refactoring of this code
2433 - added several more tests
2434 - tests for subtle conflict resolition issues
2435 added, but not currently running
2438 * Moose::Cookbook::Recipe7
2439 - added new recipe for augment/inner functionality
2441 - added test for this
2444 - a formal definition of roles (still in progress)
2447 - utilities for easier working with Moose classes
2448 - added tests for these
2451 - This contains Moose specific test functions
2452 - added tests for these
2454 0.24 Tues. July 3, 2007
2455 ~ Some doc updates/cleanup ~
2457 * Moose::Meta::Attribute
2458 - added support for roles to be given as parameters
2459 to the 'handles' option.
2460 - added tests and docs for this
2461 - the has '+foo' attribute form now accepts changes to
2462 the lazy option, and the addition of a handles option
2463 (but not changing the handles option)
2464 - added tests and docs for this
2467 - required methods are now fetched using find_method_by_name
2468 so that required methods can come from superclasses
2469 - adjusted tests for this
2471 0.23 Mon. June 18, 2007
2472 * Moose::Meta::Method::Constructor
2473 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
2474 * Moose::Meta::Class
2475 - Modify make_immutable to work with the new Class::MOP immutable
2476 mechanism + POD + very basic test (groditi)
2477 * Moose::Meta::Attribute
2478 - Fix handles to use goto() so that caller() comes out properly on
2479 the other side (perigrin)
2481 0.22 Thurs. May 31, 2007
2482 * Moose::Util::TypeConstraints
2483 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
2484 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
2485 prototypes for functions
2486 - added the ClassName type constraint, this checks for strings
2487 which will respond true to ->isa(UNIVERSAL).
2488 - added tests and docs for this
2489 - subtyping just in name now works correctly by making the
2490 default for where be { 1 }
2491 - added test for this
2493 * Moose::Meta::Method::Accessor
2494 - coerce and lazy now work together correctly, thanks to
2495 merlyn for finding this bug
2496 - tests added for this
2497 - fix reader presedence bug in Moose::Meta::Attribute + tests
2500 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
2501 a HASH-ref and missed. This produces better error messages then
2502 having it die cause undef is not a HASH.
2503 - added tests for this
2505 0.21 Thursday, May 2nd, 2007
2507 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
2508 - modified unimport to remove super and inner along with the rest
2509 - altered unimport tests to handle this
2512 - altered super export to populate SUPER_SLOT
2514 * Moose::Meta::Class
2515 - altered augment and override modifier application to use *_SLOT
2516 - modified tests for these to unimport one test class each to test
2519 - fixed issue where custom attribute metaclasses
2520 where not handled correctly in roles
2521 - added tests for this
2523 * Moose::Meta::Class
2524 - fixed issue where extending metaclasses with
2525 roles would blow up. Thanks to Aankhen`` for
2526 finding this insidious error, and it's solution.
2528 ~~ lots of spelling and grammer fixes in the docs,
2529 many many thanks to rlb3 and Aankhen for these :)
2531 0.20 Friday, April 6th, 2007
2532 >> I messed up the SKIP logic in one test
2533 so this release is just to fix that.
2536 - 'has' now also accepts an ARRAY ref
2537 to create multiple attrs (see docs)
2538 (thanks to konobi for this)
2539 - added tests and docs
2541 0.19 Thurs. April 5th, 2007
2542 ~~ More documentation updates ~~
2544 * Moose::Util::TypeConstraints
2545 - 'type' now supports messages as well
2546 thanks to phaylon for finding this
2547 - added tests for this
2548 - added &list_all_type_constraints and
2549 &list_all_builtin_type_constraints
2550 functions to facilitate introspection.
2552 * Moose::Meta::Attribute
2553 - fixed regexp 'handles' declarations
2554 to build the list of delegated methods
2555 correctly (and not override important
2556 things like &new) thanks to ashleyb
2558 - added tests and docs for this
2559 - added the 'documentation' attributes
2560 so that you can actually document your
2561 attributes and inspect them through the
2563 - added tests and docs for this
2565 * Moose::Meta::Class
2566 - when loading custom attribute metaclasses
2567 it will first look in for the class in the
2568 Moose::Meta::Attribute::Custom::$name, and
2569 then default to just loading $name.
2570 - added tests and docs for this
2572 * Moose::Meta::TypeConstraint
2573 - type constraints now stringify to their names.
2574 - added test for this
2577 - added tests to assure we work with Module::Refresh
2578 - added stricter test skip logic in the Moose POOP
2579 test, ask Rob Kinyon why.
2580 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
2582 0.18 Sat. March 10, 2007
2583 ~~ Many, many documentation updates ~~
2586 - We now use Class::MOP::load_class to
2588 - added tests to show types and subtypes
2589 working with Declare::Constraints::Simple
2590 and Test::Deep as constraint engines.
2593 !! You must have Class::MOP 0.37_001 !!
2594 !! for this developer release to work !!
2596 This release was primarily adding the immutable
2597 feature to Moose. An immutable class is one which
2598 you promise not to alter. When you set the class
2599 as immutable it will perform various bits of
2600 memoization and inline certain part of the code
2601 (constructors, destructors and accessors). This
2602 minimizes (and in some cases totally eliminates)
2603 one of Moose's biggest performance hits. This
2604 feature is not on by default, and is 100% optional.
2605 It has several configurable bits as well, so you
2606 can pick and choose to your specific needs.
2608 The changes involved in this were fairly wide and
2609 highly specific, but 100% backwards compatible, so
2610 I am not going to enumerate them here. If you are
2611 truely interested in what was changed, please do
2614 0.17 Tues. Nov. 14, 2006
2615 * Moose::Meta::Method::Accessor
2616 - bugfix for read-only accessors which
2617 are have a type constraint and lazy.
2618 Thanks to chansen for finding it.
2620 0.16 Tues. Nov. 14, 2006
2622 There are some speed improvements in this release,
2623 but they are only the begining, so stay tuned.
2626 - BUILDALL and DEMOLISHALL no longer get
2627 called unless they actually need to be.
2628 This gave us a signifigant speed boost
2629 for the cases when there is no BUILD or
2630 DEMOLISH method present.
2632 * Moose::Util::TypeConstraints
2633 * Moose::Meta::TypeConstraint
2634 - added an 'optimize_as' option to the
2635 type constraint, which allows for a
2636 hand optimized version of the type
2637 constraint to be used when possible.
2638 - Any internally created type constraints
2639 now provide an optimized version as well.
2641 0.15 Sun. Nov. 5, 2006
2643 This version of Moose *must* have Class::MOP 0.36 in order
2644 to work correctly. A number of small internal tweaks have
2645 been made in order to be compatible with that release.
2647 * Moose::Util::TypeConstraints
2648 - added &unimport so that you can clean out
2649 your class namespace of these exported
2652 * Moose::Meta::Class
2653 - fixed minor issue which occasionally
2654 comes up during global destruction
2656 - moved Moose::Meta::Method::Overriden into
2660 - moved Moose::Meta::Role::Method into
2663 * Moose::Meta::Attribute
2664 - changed how we do type checks so that
2665 we reduce the overall cost, but still
2668 - moved accessor generation methods to
2669 Moose::Meta::Method::Accessor to
2670 conform to the API changes from
2673 * Moose::Meta::TypeConstraint
2674 - changed how constraints are compiled
2675 so that we do less recursion and more
2676 iteration. This makes the type check
2678 - moved Moose::Meta::TypeConstraint::Union
2681 * Moose::Meta::Method::Accessor
2682 - created this from methods formerly found in
2683 Moose::Meta::Attribute
2685 * Moose::Meta::Role::Method
2686 - moved this from Moose::Meta::Role
2688 * Moose::Meta::Method::Overriden
2689 - moved this from Moose::Meta::Class
2691 * Moose::Meta::TypeConstraint::Union
2692 - moved this from Moose::Meta::TypeConstraint
2694 0.14 Mon. Oct. 9, 2006
2696 * Moose::Meta::Attribute
2697 - fixed lazy attributes which were not getting
2698 checked with the type constraint (thanks ashley)
2699 - added tests for this
2700 - removed the over-enthusiastic DWIMery of the
2701 automatic ArrayRef and HashRef defaults, it
2702 broke predicates in an ugly way.
2703 - removed tests for this
2705 0.13 Sat. Sept. 30, 2006
2707 This version of Moose *must* have Class::MOP 0.35 in order
2708 to work correctly. A number of small internal tweaks have
2709 been made in order to be compatible with that release.
2712 - Removed the use of UNIVERSAL::require to be a better
2713 symbol table citizen and remove a dependency
2714 (thanks Adam Kennedy)
2716 **~~ removed experimental & undocumented feature ~~**
2717 - commented out the 'method' and 'self' keywords, see the
2718 comments for more info.
2721 - added a FAQ and WTF files to document frequently
2722 asked questions and common problems
2724 * Moose::Util::TypeConstraints
2725 - added GlobRef and FileHandle type constraint
2726 - added tests for this
2728 * Moose::Meta::Attribute
2729 - if your attribute 'isa' ArrayRef of HashRef, and you have
2730 not explicitly set a default, then make the default DWIM.
2731 This will also work for subtypes of ArrayRef and HashRef
2733 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2734 - new test added for this (thanks to ashley)
2737 - added basic support for runtime role composition
2738 but this is still *highly experimental*, so feedback
2739 is much appreciated :)
2740 - added tests for this
2742 * Moose::Meta::TypeConstraint
2743 - the type constraint now handles the coercion process
2744 through delegation, this is to support the coercion
2747 * Moose::Meta::TypeConstraint::Union
2748 - it is now possible for coercions to be performed
2750 - added tests for this (thanks to konobi)
2752 * Moose::Meta::TypeCoercion
2753 - properly capturing error when type constraint
2757 - Scalar::Util 1.18 is bad on Win32, so temporarily
2758 only require version 1.17 for Win32 and cygwin.
2759 (thanks Adam Kennedy)
2761 0.12 Sat. Sept. 1, 2006
2763 - Recipe5 (subtypes & coercion) has been written
2766 - fixed "bad meta" error message to be more descriptive
2767 - fixed &unimport to not remove the &inner and &super
2768 keywords because we need to localize them.
2769 - fixed number of spelling/grammer issues, thanks Theory :)
2771 **~~ experimental & undocumented feature ~~**
2772 - added the method and self keywords, they are basically
2773 just sugar, and they may not stay around.
2776 - added &dump method to easily Data::Dumper
2779 * Moose::Meta::TypeConstraint
2780 - added the &is_a_type_of method to check both the current
2781 and the subtype of a method (similar to &isa with classes)
2784 - this is now a subclass of Class::MOP::Module, and no longer
2785 creates the _role_meta ugliness of before.
2786 - fixed tests to reflect this change
2788 0.11 Wed. July 12, 2006
2790 - added an &unimport method to remove all the keywords
2791 that Moose will import, simply add 'no Moose' to the
2792 bottom of your class file.
2795 - fixed some test failures caused by a forgotten test
2798 0.10 Thurs. July 6, 2006
2800 - improved error message when loading modules so
2801 it is less confusing when you load a role.
2802 - added &calculate_all_roles method to
2803 Moose::Meta::Class and Moose::Meta::Role
2806 This module has been tested against Class::MOP 0.30
2807 but it does not yet utilize the optimizations
2808 it makes available. Stay tuned for that ;)
2810 0.09_03 Fri. June 23, 2006
2811 ++ DEVELOPER RELEASE ++
2813 - 'use strict' and 'use warnings' are no longer
2814 needed in Moose classes, Moose itself will
2815 turn them on for you.
2816 - added tests for this
2817 - moved code from exported subs to private methods
2818 in Moose::Meta::Class
2821 - as with Moose, strict and warnings are
2822 automatically turned on for you.
2823 - added tests for this
2826 - now handles an edge case for override errors
2827 - added tests for this
2828 - added some more edge case tests
2830 0.09_02 Tues. May 16, 2006
2831 ++ DEVELOPER RELEASE ++
2833 - added prototypes to the exported subs
2837 - added prototypes to the exported subs
2840 * Moose::Util::TypeConstraints
2841 - cleaned up prototypes for the subs
2844 0.09_01 Fri. May 12, 2006
2845 ++ DEVELOPER RELEASE ++
2846 - This release works in combination with
2847 Class::MOP 0.29_01, it is a developer
2848 release because it uses the a new
2849 instance sub-protocol and a fairly
2850 complete Role implementation. It has
2851 not yet been optimized, so it slower
2852 the the previous CPAN version. This
2853 release also lacks good updated docs,
2854 the official release will have updated docs.
2857 - refactored the keyword exports
2858 - 'with' now checks Role validaity and
2859 accepts more than one Role at a time
2860 - 'extends' makes metaclass adjustments as
2861 needed to ensure metaclass compatibility
2864 - refactored the keyword exports
2865 - 'with' now checks Role validaity and
2866 accepts more than one Role at a time
2868 * Moose::Util::TypeConstraints
2869 - added the 'enum' keyword for simple
2870 string enumerations which can be used as
2872 - see example of usage in t/202_example.t
2875 - more careful checking of params to new()
2878 - much work done on the role composition
2879 - many new tests for conflict detection
2880 and composition edge cases
2881 - not enough documentation, I suggest
2882 looking at the tests
2884 * Moose::Meta::Instance
2885 - added new Instance metaclass to support
2886 the new Class::MOP instance protocol
2888 * Moose::Meta::Class
2889 - some small changes to support the new
2891 - some small additions to support Roles
2893 * Moose::Meta::Attribute
2894 - some improvements to the accessor generation code
2896 - some small changes to support the new
2898 - (still somewhat) experimental delegation support
2899 with the 'handles' option
2900 - added several tests for this
2901 - no docs for this yet
2903 0.05 Thurs. April 27, 2006
2905 - keywords are now exported with Sub::Exporter
2906 thanks to chansen for this commit
2907 - has keyword now takes a 'metaclass' option
2908 to support custom attribute meta-classes
2909 on a per-attribute basis
2910 - added tests for this
2911 - the 'has' keyword not accepts inherited slot
2912 specifications (has '+foo'). This is still an
2913 experimental feature and probably not finished
2914 see t/038_attribute_inherited_slot_specs.t for
2915 more details, or ask about it on #moose
2916 - added tests for this
2919 - keywords are now exported with Sub::Exporter
2921 * Moose::Utils::TypeConstraints
2922 - reorganized the type constraint hierarchy, thanks
2923 to nothingmuch and chansen for his help and advice
2925 - added some tests for this
2926 - keywords are now exported with Sub::Exporter
2927 thanks to chansen for this commit
2929 * Moose::Meta::Class
2930 - due to changes in Class::MOP, we had to change
2931 construct_instance (for the better)
2933 * Moose::Meta::Attribute
2934 - due to changes in Class::MOP, we had to add the
2935 initialize_instance_slot method (it's a good thing)
2937 * Moose::Meta::TypeConstraint
2938 - added type constraint unions
2939 - added tests for this
2940 - added the is_subtype_of predicate method
2941 - added tests for this
2943 0.04 Sun. April 16th, 2006
2945 - Roles can now consume other roles
2946 - added tests for this
2947 - Roles can specify required methods now with
2948 the requires() keyword
2949 - added tests for this
2952 - ripped out much of it's guts ,.. much cleaner now
2953 - added required methods and correct handling of
2954 them in apply() for both classes and roles
2955 - added tests for this
2956 - no longer adds a does() method to consuming classes
2957 it relys on the one in Moose::Object
2958 - added roles attribute and some methods to support
2959 roles consuming roles
2961 * Moose::Meta::Attribute
2962 - added support for triggers on attributes
2963 - added tests for this
2964 - added support for does option on an attribute
2965 - added tests for this
2967 * Moose::Meta::Class
2968 - added support for attribute triggers in the
2970 - added tests for this
2973 - Moose no longer creates a subtype for your class
2974 if a subtype of the same name already exists, this
2975 should DWIM in 99.9999% of all cases
2977 * Moose::Util::TypeConstraints
2978 - fixed bug where incorrect subtype conflicts were
2980 - added test for this
2983 - this class can now be extended with 'use base' if
2984 you need it, it properly loads the metaclass class now
2985 - added test for this
2987 0.03_02 Wed. April 12, 2006
2989 - you must now explictly use Moose::Util::TypeConstraints
2990 it no longer gets exported for you automatically
2993 - new() now accepts hash-refs as well as key/value lists
2994 - added does() method to check for Roles
2995 - added tests for this
2997 * Moose::Meta::Class
2998 - added roles attribute along with the add_role() and
3000 - added tests for this
3003 - now adds a does() method to consuming classes
3004 which tests the class's hierarchy for roles
3005 - added tests for this
3007 0.03_01 Mon. April 10, 2006
3009 - added new Role recipe (no content yet, only code)
3012 - added 'with' keyword for Role support
3013 - added test and docs for this
3014 - fixed subtype quoting bug
3015 - added test for this
3019 - added test and docs
3021 * Moose::Util::TypeConstraints
3022 - added the message keyword to add custom
3023 error messages to type constraints
3026 - the meta role to support Moose::Role
3027 - added tests and docs
3029 * Moose::Meta::Class
3030 - moved a number of things from Moose.pm
3031 to here, they should have been here
3034 * Moose::Meta::Attribute
3035 - moved the attribute option macros here
3036 instead of putting them in Moose.pm
3038 * Moose::Meta::TypeConstraint
3039 - added the message attributes and the
3041 - added tests and docs for this
3043 0.03 Thurs. March 30, 2006
3045 - added the Moose::Cookbook with 5 recipes,
3046 describing all the stuff Moose can do.
3049 - fixed an issue with &extends super class loading
3050 it now captures errors and deals with inline
3051 packages correctly (bug found by mst, solution
3053 - added super/override & inner/augment features
3054 - added tests and docs for these
3057 - BUILDALL now takes a reference of the %params
3058 that are passed to &new, and passes that to
3061 * Moose::Util::TypeConstraints
3062 - Type constraints now survive runtime reloading
3063 - added test for this
3065 * Moose::Meta::Class
3066 - fixed the way attribute defaults are handled
3067 during instance construction (bug found by chansen)
3069 * Moose::Meta::Attribute
3070 - read-only attributes now actually enforce their
3071 read-only-ness (this corrected in Class::MOP as
3074 0.02 Tues. March 21, 2006
3076 - many more tests, fixing some bugs and
3078 - &extends now loads the base module with
3080 - added UNIVERSAL::require to the
3083 - each new Moose class will also create
3084 and register a subtype of Object which
3085 correspond to the new Moose class.
3086 - the 'isa' option in &has now only
3087 accepts strings, and will DWIM in
3090 * Moose::Util::TypeConstraints
3091 - added type coercion features
3092 - added tests for this
3093 - added support for this in attributes
3094 and instance construction
3096 - type construction no longer creates a
3097 function, it registers the type instead.
3098 - added several functions to get the
3102 - BUILDALL and DEMOLISHALL were broken
3103 because of a mis-named hash key, Whoops :)
3105 * Moose::Meta::Attribute
3106 - adding support for coercion in the
3107 autogenerated accessors
3109 * Moose::Meta::Class
3110 - adding support for coercion in the
3111 instance construction
3113 * Moose::Meta::TypeConstraint
3114 * Moose::Meta::TypeCoercion
3115 - type constraints and coercions are now
3116 full fledges meta-objects
3118 0.01 Wed. March 15, 2006
3119 - Moooooooooooooooooose!!!