1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
8 * Added '0+' overloading in Moose::Meta::TypeConstraint so that we can
9 more uniformly compare type constraints between 'classic' Moose type
10 constraints and MooseX::Types based type constraints.
12 1.05 Thu, May 20, 2010
16 * Packages and modules no longer have methods - this functionality was
17 moved back up into Moose::Meta::Class and Moose::Meta::Role individually
18 (through the Class::MOP::Mixin::HasMethods mixin) (doy).
20 * BUILDALL is now called by Moose::Meta::Class::new_object, rather than by
21 Moose::Object::new. (doy)
25 * strict and warnings are now unimported when Moose, Moose::Role, or
26 Moose::Exporter are unimported. (doy, Adam Kennedy)
28 * Added a 'consumers' method to Moose::Meta::Role for finding all
29 classes/roles which consume the given role. (doy)
33 * Fix has '+attr' in Roles to explode immediately, rather than when the role
34 is applied to a class (t0m).
36 * Fix type constraint validation messages to not include the string 'failed'
37 twice in the same sentence (Florian Ragwitz).
39 * New type constraints will default to being unequal, rather than equal
42 * The tests no longer check for perl's behavior of clobbering $@, which has
43 been fixed in perl-5.13.1 (Florian Ragwitz).
45 * Metaclass compatibility fixing has been completely rewritten, and should
46 be much more robust. (doy)
48 1.04 Thu, May 20, 2010
50 * This release was broken and has been deleted from CPAN shortly after its
53 1.03 Thu, May 06, 2010
57 * Allow specifying required versions when setting superclasses or applying
58 roles (Florian Ragwitz).
60 1.02 Sat, May 01, 2010
64 * Stop the natatime method provided by the native Array trait from returning
65 an exhausted iterator when being called with a callback. (Florian Ragwitz)
67 * Make Moose::Meta::TypeConstraint::Class correctly reject RegexpRefs.
70 * Calling is_subtype_of on a Moose::Meta::TypeConstraint::Class with itself or
71 the class the TC represents as an argument incorrectly returned true. This
72 behavior is correct for is_type_of, not is_subtype_of. (Guillermo Roditi)
74 * Use File::Temp for temp files created during tests. Previously, files were
75 written to the t/ dir, which could cause problems of the user running the
76 tests did not have write access to that directory.. (Chris Weyl, Ævar
79 * Pass role arguments along when applying roles to instances. (doy, lsm)
81 1.01 Fri, Mar 26, 2010
85 * The handles option now also accepts a role type constraint in addition to a
86 plain role name. (Florian Ragwitz)
90 * Record the Sartak/doy debt properly in Changes (perigrin)
92 1.00 Tue, Mar 25, 2010
96 * Moose::Meta::Attribute::Native::Trait::Code no longer creates reader
97 methods by default. (Florian Ragwitz)
101 * Improve various parts of the documentation and fix many typos.
102 (Dave Rolsky, Mateu Hunter, Graham Knop, Robin V, Jay Hannah, Jesse Luehrs)
106 * Paid the $10 debt to doy from 0.80 Sat, Jun 6, 2009 (Sartak)
108 0.99 Mon, Mar 8, 2010
112 * New method find_type_for in Moose::Meta::TypeConstraint::Union, for finding
113 which member of the union a given value validates for. (Cory Watson)
117 * DEMOLISH methods in mutable subclasses of immutable classes are now called
118 properly (Chia-liang Kao, Jesse Luehrs)
122 * Added Moose::Manual::Support that defines the support, compatiblity, and
123 release policies for Moose. (Chris Prather)
125 0.98 Wed, Feb 10, 2010
129 * An internals change in 0.97 broke role application to an instance in some
130 cases. The bug occurred when two different roles were applied to different
131 instances of the same class. (Rafael Kitover)
134 0.97 Tue, Feb 9, 2010
138 * Calling ->reinitialize on a cached anonymous class effectively uncached
139 the metaclass object, causing the metaclass to go out of scope
140 unexpectedly. This could easily happen at a distance by applying a
141 metarole to an anonymous class. (Dave Rolsky).
143 0.96 Sat, Feb 6, 2010
147 * ScalarRef is now a parameterized type. You can now specify a type
148 constraint for whatever the reference points to. (Closes RT#50857)
149 (Michael G. Schwern, Florian Ragwitz)
153 * ScalarRef now accepts references to other references. (Closes RT#50934)
156 0.95 Thu, Feb 4, 2010
160 * Moose::Meta::Attribute::Native::Trait::Code now provides execute_method as
161 a delegation option. This allows the code reference to be called as a
162 method on the object. (Florian Ragwitz)
166 * Moose::Object::does no longer checks the entire inheritance tree, since
167 Moose::Meta::Class::does_role already does this. (doy)
169 * Moose::Util::add_method_modifier (and subsequently the sugar functions
170 Moose::before, Moose::after, and Moose::around) can now accept arrayrefs,
171 with the same behavior as lists. Types other than arrayref and regexp
172 result in an error. (Dylan Hardison)
174 0.94 Mon, Jan 18, 2010
178 * Please see the changes listed for 0.93_01 and Moose::Manual::Delta.
182 * Improved support for anonymous roles by changing various APIs to take
183 Moose::Meta::Role objects as well as role names. This included
185 - Moose::Meta::Class->does_role
186 - Moose::Meta::Role->does_role
187 - Moose::Util::does_role
188 - Moose::Util::apply_all_roles
189 - Moose::Util::ensure_all_roles
190 - Moose::Util::search_class_by_role
192 Requested by Shawn Moore. Addresses RT #51143 (and then some). (Dave Rolsky)
196 * Fix handling of non-alphanumeric attributes names like '@foo'. This should
197 work as long as the accessor method names are explicitly set to valid Perl
198 method names. Reported by Doug Treder. RT #53731. (Dave Rolsky)
201 0.93_03 Tue, Jan 5, 2010
205 * Portability fixes to our XS code so we compile with 5.8.8 and Visual
206 C++. Fixes RT #53391. Reported by Taro Nishino. (rafl)
209 0.93_02 Tue, Jan 5, 2010
213 * Depend on Class::MOP 0.97_01 so we can get useful results from CPAN
214 testers. (Dave Rolsky)
217 0.93_01 Mon, Jan 4, 2010
221 See Moose::Manual::Delta for more details on backwards compatiblity issues.
223 * Role attributes are now objects of the Moose::Meta::Role::Attribute
224 class. (Dave Rolsky).
226 * There were major changes to how metaroles are applied. We now distinguish
227 between metaroles for classes vs those for roles. See the
228 Moose::Util::MetaRole docs for details. (Dave Rolsky)
230 * The old MetaRole API has been deprecated, but will continue to
231 work. However, if you are applying an attribute metaclass role, this may
232 break because of the fact that roles now have an attribute metaclass
235 * Moose::Util::MetaRole::apply_metaclass_roles is now called
236 apply_metaroles. The old name is deprecated. Dave Rolsky>
238 * The unimport subs created by Moose::Exporter now clean up re-exported
239 functions like blessed and confess, unless the caller imported them from
240 somewhere else too. See Moose::Manua::Delta for backcompat details. (rafl)
242 [ENHANCEMENTS AND BUG FIXES]
244 * Changed the Str constraint to accept magic lvalue strings like one gets from
245 substr et al, again. (sorear)
247 * Sped up the type constraint parsing regex. (Sam Vilain)
249 * The Moose::Cookbook::Extending::Recipe2 recipe was broken. Fix suggested by
252 * Added Moose::Util::TypeConstraints exports when using oose.pm to allow
253 easier testing of TypeConstraints from the command line. (perigrin)
255 * Added a with_immutable test function to Test::Moose, to run a block of tests
256 with and without certain classes being immutable. (doy)
258 * We now use Module::Install extensions explicitly to avoid confusing errors
259 if they're not installed. We use Module::Install::AuthorRequires to stop
260 test extraction and general failures if you don't have the author side
261 dependencies installed.
263 * Fixed a grammar error in Moose::Cookbook::Basics::Recipe4. rt.cpan.org
264 #51791. (Amir E. Aharoni)
267 0.93 Thu, Nov 19, 2009
269 - Calling $object->new() is no longer deprecated, and no longer
273 - The get_attribute_map method is now deprecated. (Dave Rolsky)
275 * Moose::Meta::Method::Delegation
276 - Preserve variable aliasing in @_ for delegated methods, so that
277 altering @_ affects the passed value. (doy)
279 * Moose::Util::TypeConstraints
280 - Allow array refs for non-anonymous form of enum and duck_type, not
281 just anonymous. The non-arrayref forms may be removed in the
283 - Changed Str constraint to not accept globs (*STDIN or *FOO). (chansen)
284 - Properly document Int being a subtype of Str. (doy)
287 - Moose::Exporter using modules can now export their functions to the
288 main package. This applied to Moose and Moose::Role, among
289 others. (nothingmuch)
291 * Moose::Meta::Attribute
292 - Don't remove attribute accessors we never installed, during
293 remove_accessors. (doy)
295 * Moose::Meta::Attribute::Native::Trait::Array
296 - Don't bypass prototype checking when calling List::Util::first, to
297 avoid a segfault when it is called with a non-code argument. (doy)
299 * Moose::Meta::Attribute::Native::Trait::Code
300 - Fix passing arguments to code execute helpers. (doy)
302 0.92 Tue, Sep 22, 2009
303 * Moose::Util::TypeConstraints
304 - added the match_on_type operator (Stevan)
305 - added tests and docs for this (Stevan)
308 - Metaclass compat fixing should already happen recursively, there's no
309 need to explicitly walk up the inheritance tree. (doy)
311 * Moose::Meta::Attribute
312 - Add tests for set_raw_value and get_raw_value. (nothingmuch)
314 0.91 Thu, Sep 17, 2009
316 - Don't import any functions, in order to avoid polluting our namespace
317 with things that can look like methods (blessed, try, etc)
320 * Moose::Meta::Method::Constructor
321 - The generated code needs to called Scalar::Util::blessed by its
322 fully-qualified name or else Perl can interpret the call to blessed as
323 an indirect method call. This broke Search::GIN, which in turn broke
324 KiokuDB. (nothingmuch)
326 0.90 Tue, Sep 15, 2009
327 * Moose::Meta::Attribute::Native::Trait::Counter
328 * Moose::Meta::Attribute::Native::Trait::String
329 - For these two traits, an attribute which did not explicitly provide
330 methods to handles magically ended up delegating *all* the helper
331 methods. This has been removed. You must be explicit in your handles
332 declaration for all Native Traits. (Dave Rolsky)
335 - DEMOLISHALL behavior has changed. If any DEMOLISH method dies, we make
336 sure to rethrow its error message. However, we also localize $@ before
337 this so that if all the DEMOLISH methods success, the value of $@ will
338 be preserved. (nothingmuch and Dave Rolsky)
339 - We now also localize $? during object destruction. (nothingmuch and
341 - The handling of DEMOLISH methods was broken for immutablized classes,
342 which were not receiving the value of
343 Devel::GlobalDestruction::in_global_destruction.
344 - These two fixes address some of RT #48271, reported by Zefram.
345 - This is all now documented in Moose::Manual::Construction.
346 - Calling $object->new() is now deprecated. A warning will be
350 - Added more hooks to customize how roles are applied. The role
351 summation class, used to create composite roles, can now be changed
352 and/or have meta-roles applied to it. (rafl)
353 - The get_method_list method no longer explicitly excludes the "meta"
354 method. This was a hack that has been replaced by better hacks. (Dave
357 * Moose::Meta::Method::Delegation
358 - fixed delegated methods to make sure that any modifiers attached to
359 the accessor being delegated on will be called (Stevan)
360 - added tests for this (Stevan)
363 - Moose no longer warns when a class that is being made immutable has
364 mutable ancestors. While in theory this is a good thing to warn about,
365 we found so many exceptions to this that doing this properly became
368 0.89_02 Thu, Sep 10, 2009
369 * Moose::Meta::Attribute::Native
370 - Fix Hash, which still had 'empty' instead of 'is_empty'. (hdp)
372 * Moose::Meta::Attribute::Native::Trait::Array
373 - Added a number of functions from List::Util and List::MoreUtils,
374 including reduce, shuffle, uniq, and natatime. (doy)
377 - This module will now generate an init_meta method for your exporting
378 class if you pass it options for
379 Moose::Util::MetaRole::apply_metaclass_roles or
380 apply_base_class_roles. This eliminates a lot of repetitive
381 boilerplate for typical MooseX modules. (doy).
382 - Documented the with_meta feature, which is a replacement for
383 with_caller. This feature was added by josh a while ago.
384 - The with_caller feature is now deprecated, but will not issue a
385 warning yet. (Dave Rolsky)
386 - If you try to wrap/export a subroutine which doesn't actually exist,
387 Moose::Exporter will warn you about this. (doy)
389 * Moose::Meta::Role::Application::ToRole
390 - When a role aliased a method from another role, it was only getting
391 the new (aliased) name, not the original name. This differed from what
392 happens when a class aliases a role's methods. If you _only_ want the
393 aliased name, make sure to also exclue the original name. (Dave
396 0.89_01 Wed Sep 2, 2009
397 * Moose::Meta::Attribute
398 - Added the currying syntax for delegation from AttributeHelpers to the
399 existing delegation API. (hdp)
401 * Moose::Meta::Attribute::Native
402 - We have merged the functionality of MooseX::AttributeHelpers into the
403 Moose core with some API tweaks. You can continue to use
404 MooseX::AttributeHelpers, but it will not be maintained except
405 (perhaps) for critical bug fixes in the future. See
406 Moose::Manual::Delta for details. (hdp, jhannah, rbuels, Sartak,
409 * Moose::Error::Croak
410 * Moose::Error::Confess
411 - Clarify documentation on how to use different error-throwing
412 modules. (Curtis Jewell)
415 - Correct POD for builder to point to Recipe8, not 9. (gphat)
418 - When a nonexistent sub name is passed to as_is, with_caller, or
419 with_meta, throw a warning and skip the exporting, rather than
420 installing a broken sub. (doy)
423 - Moose now warns if you call C<make_immutable> for a class with mutable
426 0.89 Thu Aug 13, 2009
427 * Moose::Manual::Attributes
428 - Clarify "is", include discussion of "bare". (Sartak)
430 * Moose::Meta::Role::Method::Conflicting
431 * Moose::Meta::Role::Application::ToClass
432 - For the first set of roles involved in a conflict, report all
433 unresolved method conflicts, not just the first method. Fixes #47210
434 reported by Ovid. (Sartak)
436 * Moose::Meta::TypeConstraint
437 - Add assert_valid method to use a TypeConstraint for assertion (rjbs)
440 - Make "use Moose -metaclass => 'Foo'" do alias resolution, like -traits
442 - Allow specifying role options (alias, excludes, MXRP stuff) in the
443 arrayref passed to "use Moose -traits" (doy)
446 - Add functions meta_class_alias and meta_attribute_alias for creating
447 aliases for class and attribute metaclasses and metatraits. (doy)
449 * Moose::Meta::Attribute
450 * Moose::Meta::Method::Accessor
451 - A trigger now receives the old value as a second argument, if the
452 attribute had one. (Dave Rolsky)
454 * Moose::Meta::Method::Constructor
455 - Fix a bug with $obj->new when $obj has stringify overloading.
456 Reported by Andrew Suffield [rt.cpan.org #47882] (Sartak)
457 - However, we will probably deprecate $obj->new, so please don't start
458 using it for new code!
460 * Moose::Meta::Role::Application
461 * Moose::Meta::Role::Application::RoleSummation
462 - Rename alias and excludes to -alias and -excludes (but keep the old
463 names for now, for backcompat) (doy)
465 0.88 Fri Jul 24, 2009
466 * Moose::Manual::Contributing
467 - Re-write the Moose::Manual::Contributing document to reflect
468 the new layout and methods of work for the Git repository. All
469 work now should be done in topic branches and reviewed by a
470 core committer before being applied to master. All releases
471 are done by a cabal member and merged from master to
472 stable. This plan was devised by Yuval, blame him. (perigrin)
475 - Create metaclass attributes for the different role application
478 * Moose::Util::MetaRole
479 - Allow applying roles to a meta role's role application
482 * Moose::Meta::Attribute
483 - Add weak_ref to allowed options for "has '+foo'" (mst)
485 * Moose::Meta::Method::Accessor
486 - No longer uses inline_slot_access in accessors, to support
487 non-lvalue-based meta instances. (sorear)
490 * Moose::Meta::Method::Delegation
491 - Once again allow class names as well as objects for
492 delegation. This was changed in 0.86.
495 * Moose::Meta::Class::Immutable::Trait
496 - Fixes to work with the latest Class::MOP.
498 * Moose::Meta::Method::Delegation
499 - Delegation now dies with a more useful error message if the
500 attribute's accessor returns something defined but
503 0.85 Fri, Jun 26, 2009
504 * Moose::Meta::Attribute
505 - The warning for 'no associated methods' is now split out into
506 the _check_associated_methods method, so that extensions can
507 safely call 'after install_accessors => ...'. This fixes a
508 warning from MooseX::AttributeHelpers. (hdp)
510 0.84 Fri, Jun 26, 2009
512 - has now sets definition_context for attributes defined in
515 * Moose::Meta::Attribute
516 - When adding an attribute to a metaclass, if the attribute has
517 no associated methods, it will give a deprecation
519 - Methods generated by delegation were not being added to
520 associated_methods. (hdp)
521 - Attribute accessors (reader, writer, accessor, predicate,
522 clearer) now warn if they overwrite an existing method. (doy)
523 - Attribute constructors now warn very noisily about unknown (or
524 misspelled) arguments
526 * Moose::Util::TypeConstraints
527 - Deprecated the totally useless Role type name, which just
528 checked if $object->can('does'). Note that this is _not_ the
529 same as a type created by calling role_type('RoleName').
531 * Moose::Util::TypeConstraints
532 * Moose::Meta::TypeConstraint::DuckType
533 - Reify duck type from a regular subtype into an actual class
535 - Document this because Sartak did all my work for me
538 * Moose::Meta::Attribute
539 - Allow Moose::Meta::TypeConstraint::DuckType in handles, since
540 it is just a list of methods (Sartak)
543 - The get_*_method_modifiers methods would die if the role had
544 no modifiers of the given type (Robert Buels).
546 0.83 Tue, Jun 23, 2009
548 - Fix _construct_instance not setting the special __MOP__ object
549 key in instances of anon classes. (doy)
551 0.82 Sun, Jun 21, 2009
552 * Moose::Manual::Types
553 - Mention MooseX::Types early to avoid users falling down the
554 string parsing rathole (mst)
556 * Moose::Manual::MooseX
557 - Add warnings about class-level extensions and mention considering
558 using plain objects instead
560 0.81 Sun, Jun 7, 2009
561 * Bumped our Class::MOP prereq to the latest version (0.85), since
564 0.80 Sat, Jun 6, 2009
566 - Add FAQ about the coercion change from 0.76 because it came up
567 three times today (perigrin)
568 - Win doy $10 dollars because Sartak didn't think anybody
569 would document this fast enough (perigrin)
571 * Moose::Meta::Method::Destructor
572 - Inline a DESTROY method even if there are no DEMOLISH methods
573 to prevent unnecessary introspection in
574 Moose::Object::DEMOLISHALL
577 - A role's required methods are now represented by
578 Moose::Meta::Role::Method::Required objects. Conflicts are now
579 represented by Moose::Meta::Role::Method::Conflicting
580 objects. The benefit for end-users in that unresolved
581 conflicts generate different, more instructive, errors,
582 resolving Ovid's #44895. (Sartak)
585 - Improve the error message of "extends" as suggested by Adam
586 Kennedy and confound (Sartak)
587 - Link to Moose::Manual::Roles from Moose::Role as we now have
588 excellent documentation (Adam Kennedy)
591 - Update test suite for subname change in Class::MOP
593 - Add TODO test for infinite recursion in Moose::Meta::Class
596 0.79 Wed, May 13, 2009
598 - More fixes for Win32 problems. Reported by Robert Krimen.
601 - The DEMOLISHALL method could still blow up in some cases
602 during global destruction. This method has been made more
603 resilient in the face of global destruction's random garbage
607 - If you "also" a module that isn't loaded, the error message
608 now acknowledges that (Sartak)
611 - When your ->meta method does not return a Moose::Meta::Class,
612 the error message gave the wrong output (Sartak)
614 0.78 Tue, May 12, 2009
615 * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
616 - Merged these documents into what is now Moose::Manual::FAQ
619 - Moved to Moose::Manual::Unsweetened
621 * Moose::Cookbook::Basics::Recipes 9-12
622 - Renamed to be 8-11, since recipe 8 did not exist
625 - Make Moose::Exporter import strict and warnings into packages
629 - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
630 methods during global destruction (doy)
633 * Moose::Meta::Role::Application::ToClass
634 - Track the Role::Application objects created during class-role
638 - Fix metaclass incompatibility errors when extending a vanilla perl
639 class which isa Moose class with a metaclass role applied (t0m)
642 - Add a role-combination hook, _role_for_combination, for the
643 benefit of MooseX::Role::Parameterized (Sartak)
646 - Some tests were failing on Win32 because they explicit checked
647 warning output for newlines. Reported by Nickolay Platonov.
649 0.77 Sat, May 2, 2009
651 - Add explicit use of Devel::GlobalDestruction and Sub::Name
655 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
656 or not we are currently in global destruction (doy)
657 - Add explicit use of Devel::GlobalDestruction and Sub::Name
660 * Moose::Cookbook::FAQ
661 - Reworked much of the existing content to be more useful to
662 modern Moose hackers (Sartak)
665 - Depend on Class::MOP 0.83 instead of 0.82_01.
667 0.76 Mon, April 27, 2009
668 * Moose::Meta::TypeConstraint
669 - Do not run coercions in coerce() if the value already passes the type
672 * Moose::Meta::TypeConstraint::Class
673 - In validation error messages, specifically say that the value is not
674 an instance of the class. This should alleviate some frustrating
675 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
677 * Moose::Meta::Role::Application::ToClass
678 - Revert the class-overrides-role warning in favor of a solution outside
679 of the Moose core (Sartak)
682 - Make Test::Output optional again, since it's only used in a few files
685 0.75_01 Thu, April 23, 2009
686 * Moose::Meta::Role::Application::ToClass
687 - Moose now warns about each class overriding methods from roles it
691 - Warnings tests have standardized on Test::Output which is now an
692 unconditionally dependency (Sartak)
695 - Changes to immutabilization to work with Class::MOP 0.82_01+.
697 0.75 Mon, April 20, 2009
700 - Move validation of not inheriting from roles from Moose::extends to
701 Moose::Meta::Class::superclasses (doy)
704 - add ensure_all_roles() function to encapsulate the common "apply this
705 role unless the object already does it" pattern (hdp)
708 - Users can now select a different metaclass with the "-metaclass"
709 option to import, for classes and roles (Sartak)
712 - Make method_metaclass an attr so that it can accept a metarole
715 0.74 Tue, April 7, 2009
717 * Moose::Meta::Method::Destructor
718 - Include stack traces in the deprecation warnings.
722 - Removed the long-deprecated _apply_all_roles method.
724 * Moose::Meta::TypeConstraint
725 - Removed the long-deprecated union method.
728 0.73_02 Mon, April 6, 2009
729 * More deprecations and renamings
730 - Moose::Meta::Method::Constructor
731 - initialize_body => _initialize_body (this is always called
732 when an object is constructed)
735 - The DEMOLISHALL method could throw an exception during global
736 destruction, meaning that your class's DEMOLISH methods would
737 not be properly called. Reported by t0m.
739 * Moose::Meta::Method::Destructor
740 - Destructor inlining was totally broken by the change to the
741 is_needed method in 0.72_01. Now there is a test for this
742 feature, and it works again.
745 - Bold the word 'not' in the POD for find_meta (t0m)
747 0.73_01 Sun, April 5, 2009
749 - Call user_class->meta in fewer places, with the eventual goal
750 of allowing the user to rename or exclude ->meta
751 altogether. Instead uses Class::MOP::class_of. (Sartak)
753 * Moose::Meta::Method::Accessor
754 - If an attribute had a lazy default, and that value did not
755 pass the attribute's type constraint, it did not get the
756 message from the type constraint, instead using a generic
757 message. Test provided by perigrin.
759 * Moose::Util::TypeConstraints
760 - Add duck_type keyword. It's sugar over making sure an object
761 can() a list of methods. This is easier than jrockway's
762 suggestion to fork all of CPAN. (perigrin)
763 - add tests and documentation (perigrin)
766 - Document the fact that init_meta() returns the target class's
767 metaclass object. (hdp)
769 * Moose::Cookbook::Extending::Recipe1
770 * Moose::Cookbook::Extending::Recipe2
771 * Moose::Cookbook::Extending::Recipe3
772 * Moose::Cookbook::Extending::Recipe4
773 - Make init_meta() examples explicitly return the metaclass and
774 point out this fact. (hdp)
776 * Moose::Cookbook::Basics::Recipe12
777 - A new recipe, creating a custom meta-method class.
779 * Moose::Cookbook::Meta::Recipe6
780 - A new recipe, creating a custom meta-method class.
783 * Moose::Meta::Method::Constructor
784 - Attribute triggers no longer receive the meta-attribute object
785 as an argument in any circumstance. Previously, triggers
786 called during instance construction were passed the
787 meta-attribute, but triggers called by normal accessors were
788 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
790 * Moose::Manual::Attributes
791 - Remove references to triggers receving the meta-attribute object as an
794 * Moose::Cookbook::FAQ
795 - Remove recommendation for deprecated Moose::Policy and
796 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
799 * Many methods have been renamed with a leading underscore, and a
800 few have been deprecated entirely. The methods with a leading
801 underscore are consider "internals only". People writing
802 subclasses or extensions to Moose should feel free to override
803 them, but they are not for "public" use.
806 - check_metaclass_compatibility => _check_metaclass_compatibility
808 - Moose::Meta::Method::Accessor
809 - initialize_body => _initialize_body (this is always called
810 when an object is constructed)
811 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
813 - Moose::Meta::Method::Constructor
814 - initialize_body => _initialize_body (this is always called
815 when an object is constructed)
816 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
817 - attributes => _attributes (now inherited from parent)
818 - meta_instance => _meta_instance (now inherited from parent)
821 - alias_method is deprecated. Use add_method
823 0.73 Fri, March 29, 2009
824 * No changes from 0.72_01.
826 0.72_01 Thu, March 26, 2009
828 - Almost every module has complete API documentation. A few
829 methods (and even whole classes) have been intentionally
830 excluded pending some rethinking of their APIs.
832 * Moose::Util::TypeConstraints
833 - Calling subtype with a name as the only argument is now an
834 exception. If you want an anonymous subtype do:
836 my $subtype = subtype as 'Foo';
838 * Moose::Cookbook::Meta::Recipe7
839 - A new recipe, creating a custom meta-instance class.
841 * Moose::Cookbook::Basics::Recipe5
842 - Fix various typos and mistakes. Includes a patch from Radu
845 * Moose::Cookbook::Basics::Recipe9
846 - Link to this recipe from Moose.pm's builder blurb
849 - When wrapping a function with a prototype, Moose::Exporter now
850 makes sure the wrapped function still has the same
851 prototype. (Daisuke Maki)
853 * Moose::Meta::Attribute
854 - Allow a subclass to set lazy_build for an inherited
858 - Explicitly depend on Data::OptList. We already had this dependency
859 via Sub::Exporter, but since we're using it directly we're
860 better off with it listed. (Sartak)
862 * Moose::Meta::Method::Constructor
863 - Make it easier to subclass the inlining behaviour. (Ash
866 * Moose::Manual::Delta
867 - Details significant changes in the history of Moose, along
868 with recommended workarounds.
870 * Moose::Manual::Contributing
871 - Contributor's guide to Moose.
873 * Moose::Meta::Method::Constructor
874 - The long-deprecated intialize_body method has been removed
875 (yes, spelled like that).
877 * Moose::Meta::Method::Destructor
878 - This is_needed method is now always a class method.
881 - Changes to the internals of how make_immutable works to match
882 changes in latest Class::MOP.
884 0.72 Mon, February 23, 2009
886 * Moose::Meta::Method::Constructor
887 - A mutable class accepted Foo->new(undef) without complaint,
888 while an immutable class would blow up with an unhelpful
889 error. Now, in both cases we throw a helpful error
890 instead. Reported by doy.
892 0.71_01 Sun, February 22, 2009
894 - Hopefully fixed some POD errors in a few recipes that caused
895 them to display weird on search.cpan.org.
897 * Moose::Util::TypeConstraints
898 - Calling type or subtype without the sugar helpers (as, where,
899 message) is now deprecated.
900 - The subtype function tried hard to guess what you meant, but
901 often got it wrong. For example:
903 my $subtype = subtype as 'ArrayRef[Object]';
905 This caused an error in the past, but now works as you'd
909 - Make sure Moose.pm is loaded before calling
910 Moose->throw_error. This wasn't normally an issue, but could
911 bite you in weird cases.
913 0.71 Thu, February 19, 2009
914 * Moose::Cookbook::Basics::Recipe11
915 - A new recipe which demonstrates the use of BUILDARGS and
918 * Moose::Cookbook::Roles::Recipe3
919 - A new recipe, applying a role to an object instance. (Dave
923 - Allow overriding specific keywords from "also" packages. (doy)
926 - Replace hardcoded cookbook tests with Test::Inline to ensure
927 the tests match the actual code in the recipes. (Dave Rolsky)
930 - Working on the above turned up a number of little bugs in the
931 recipe code. (Dave Rolsky)
933 * Moose::Util::TypeConstraints::Optimized
934 - Just use Class::MOP for the optimized ClassName check. (Dave
937 0.70 Sat, February 14, 2009
938 * Moose::Util::TypeConstraints
939 - Added the RoleName type (stevan)
940 - added tests for this (stevan)
942 * Moose::Cookbook::Basics::Recipe3
943 - Updated the before qw[left right] sub to be a little more
944 defensive about what it accepts (stevan)
945 - added more tests to t/000_recipies/basics/003_binary_tree.t
949 - We now always call DEMOLISHALL, even if a class does not
950 define DEMOLISH. This makes sure that method modifiers on
951 DEMOLISHALL work as expected. (doy)
952 - added tests for this (EvanCarroll)
954 * Moose::Util::MetaRole
955 - Accept roles for the wrapped_method_metaclass (rafl)
956 - added tests for this (rafl)
958 * Moose::Meta::Attribute
959 - We no longer pass the meta-attribute object as a final
960 argument to triggers. This actually changed for inlined code a
961 while back, but the non-inlined version and the docs were
965 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
966 they require 0.11. (Dave Rolsky)
969 - Lots of small changes to the manual, cookbook, and
970 elsewhere. These were based on feedback from various
971 users, too many to list here. (Dave Rolsky)
973 0.69 Thu, February 12, 2009
975 - Make some keyword errors use throw_error instead of croak
976 since Moose::Exporter wraps keywords now (Sartak)
979 - Revised every recipe for style and clarity. Also moved some
980 documentation out of cookbook recipes and into Moose::Manual
981 pages. This work was funded as part of the Moose docs grant
982 from TPF. (Dave Rolsky)
984 * Moose::Meta::Method::Delegation
985 - If the attribute doing the delegation was not populated, the
986 error message did not specify the attribute name
989 0.68 Wed, February 4, 2009
991 - Many spelling, typo, and formatting fixes by daxim.
993 * Moose::Manual::Attributes
994 - The NAME section in the POD used "Attribute" so search.cpan
995 didn't resolve links from other documents properly.
997 * Moose::Meta::Method::Overriden
998 - Now properly spelled as Overridden. Thanks to daxim for
1001 0.67 Tue, February 3, 2009
1003 - Lots of little typo fixes and a few clarifications. Several
1004 pages didn't have proper titles, and so weren't actually
1005 visible on search.cpan.org. Thanks to hanekomu for a variety
1006 of fixes and formatting improvements.
1008 0.66 Tue, February 3, 2009
1010 - This is a brand new, extensive manual for Moose. This aims to
1011 provide a complete introduction to all of Moose's
1012 features. This work was funded as part of the Moose docs grant
1013 from TPF. (Dave Rolsky)
1015 * Moose::Meta::Attribute
1016 - Added a delegation_metaclass method to replace a hard-coded
1017 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
1019 * Moose::Util::TypeConstraints
1020 - If you created a subtype and passed a parent that Moose didn't
1021 know about, it simply ignored the parent. Now it automatically
1022 creates the parent as a class type. This may not be what you
1023 want, but is less broken than before. (Dave Rolsky)
1025 * Moose::Util::TypeConstraints
1026 - This module tried throw errors by calling Moose->throw_error,
1027 but it did not ensure that Moose was loaded first. This could
1028 cause very unhelpful errors when it tried to throw an error
1029 before Moose was loaded. (Dave Rolsky)
1031 * Moose::Util::TypeConstraints
1032 - You could declare a name with subtype such as "Foo!Bar" that
1033 would be allowed, but if you used it in a parameterized type
1034 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
1035 vetting on names created via the sugar functions, so that they
1036 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
1038 0.65 Thu, January 22, 2008
1039 * Moose and Moose::Meta::Method::Overridden
1040 - If an overridden method called super(), and then the
1041 superclass's method (not overridden) _also_ called super(),
1042 Moose went into an endless recursion loop. Test provided by
1043 Chris Prather. (Dave Rolsky)
1045 * Moose::Meta::TypeConstraint
1046 - All methods are now documented. (gphat)
1048 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
1049 - Fixed some bogus failures that occurred because we tried to
1050 validate filesystem paths in a very ad-hoc and
1051 not-quite-correct way. (Dave Rolsky)
1053 * Moose::Util::TypeConstraints
1054 - Added maybe_type to exports. See docs for details. (rjbs)
1057 - Added Moose::Util::TypeConstraints to the SEE ALSO
1061 - Methods created via an attribute can now fulfill a "requires"
1062 declaration for a role. (nothingmuch)
1064 * Moose::Meta::Method::*
1065 - Stack traces from inlined code will now report its line and
1066 file as being in your class, as opposed to in Moose
1067 guts. (nothingmuch).
1069 0.64 Wed, December 31, 2008
1070 * Moose::Meta::Method::Accessor
1071 - Always inline predicate and clearer methods (Sartak)
1073 * Moose::Meta::Attribute
1074 - Support for parameterized traits (Sartak)
1075 - verify_against_type_constraint method to avoid duplication
1076 and enhance extensibility (Sartak)
1078 * Moose::Meta::Class
1079 - Tests (but no support yet) for parameterized traits (Sartak)
1082 - Require Class::MOP 0.75+, which has the side effect of making
1083 sure we work on Win32. (Dave Rolsky)
1085 0.63 Mon, December 8, 2008
1086 * Moose::Unsweetened
1087 - Some small grammar tweaks and bug fixes in non-Moose example
1090 0.62_02 Fri, December 5, 2008
1091 * Moose::Meta::Role::Application::ToClass
1092 - When a class does not provide all of a role's required
1093 methods, the error thrown now mentions all of the missing
1094 methods, as opposed to just the first one found. Requested by
1095 Curtis Poe (RT #41119). (Dave Rolsky)
1097 * Moose::Meta::Method::Constructor
1098 - Moose will no longer inline a constructor for your class
1099 unless it inherits its constructor from Moose::Object, and
1100 will warn when it doesn't inline. If you want to force
1101 inlining anyway, pass "replace_constructor => 1" to
1102 make_immutable. Addresses RT #40968, reported by Jon
1103 Swartz. (Dave Rolsky)
1104 - The quoting of default values could be broken if the default
1105 contained a single quote ('). Now we use quotemeta to escape
1106 anything potentially dangerous in the defaults. (Dave Rolsky)
1108 0.62_01 Wed, December 3, 2008
1110 - use the method->execute API for BUILDALL
1111 and DEMOLISHALL (Sartak)
1113 * Moose::Util::TypeConstraints
1114 - We now make all the type constraint meta classes immutable
1115 before creating the default types provided by Moose. This
1116 should make loading Moose a little faster. (Dave Rolsky)
1118 0.62 Wed November 26, 2008
1119 * Moose::Meta::Role::Application::ToClass
1120 Moose::Meta::Role::Application::ToRole
1121 - fixed issues where excluding and aliasing the
1122 same methods for a single role did not work
1123 right (worked just fine with multiple
1125 - added test for this (stevan)
1127 * Moose::Meta::Role::Application::RoleSummation
1128 - fixed the error message when trying to compose
1129 a role with a role it excludes (Sartak)
1132 - Catch another case where recursion caused the value
1133 of $CALLER to be stamped on (t0m)
1134 - added test for this (t0m)
1137 - Remove the make_immutable keyword, which has been
1138 deprecated since April. It breaks metaclasses that
1139 use Moose without no Moose (Sartak)
1141 * Moose::Meta::Attribute
1142 - Removing an attribute from a class now also removes delegation
1143 (handles) methods installed for that attribute (t0m)
1144 - added test for this (t0m)
1146 * Moose::Meta::Method::Constructor
1147 - An attribute with a default that looked like a number (but was
1148 really a string) would accidentally be treated as a number
1149 when the constructor was made immutable (perigrin)
1150 - added test for this (perigrin)
1153 - create method for constructing a role
1154 dynamically (Sartak)
1155 - added test for this (Sartak)
1156 - anonymous roles! (Sartak)
1157 - added test for this (Sartak)
1160 - more consistent error messages (Sartak)
1162 * Moose::Cookbook::Roles::Recipe1
1163 - attempt to explain why a role that just requires
1164 methods is useful (Sartak)
1166 0.61 Fri November 7, 2008
1167 * Moose::Meta::Attribute
1168 - When passing a role to handles, it will be loaded if necessary
1171 * Moose::Meta::Class
1172 - Method objects returned by get_method (and other methods)
1173 Could end up being returned without an associated_metaclass
1174 attribute. Removing get_method_map, which is provided by
1175 Class::MOP::Class, fixed this. The Moose version did nothing
1176 different from its parent except introduce a bug. (Dave Rolsky)
1177 - added tests for this (jdv79)
1180 - Added a $VERSION to all .pm files which didn't have one. Fixes
1181 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
1183 * Moose::Cookbook::Basics::Recipe4
1184 * Moose::Cookbook::Basics::Recipe6
1185 - These files had spaces on the first line of the SYNOPSIS, as
1186 opposed to a totally empty line. According to RT #40432, this
1187 confuses POD parsers. (Dave Rolsky)
1189 0.60 Fri October 24, 2008
1191 - Passing "-traits" when loading Moose caused the Moose.pm
1192 exports to be broken. Reported by t0m. (Dave Rolsky)
1193 - Tests for this bug. (t0m)
1196 - Change resolve_metaclass alias to use the new
1197 load_first_existing_class function. This makes it a lot
1198 simpler, and also around 5 times faster. (t0m)
1199 - Add caching to resolve_metaclass_alias, which gives an order
1200 of magnitude speedup to things which repeatedly call the
1201 Moose::Meta::Attribute->does method, notably MooseX::Storage
1204 * Moose::Util::TypeConstraint
1205 - Put back the changes for parameterized constraints that
1206 shouldn't have been removed in 0.59. We still cannot parse
1207 them, but MooseX modules can create them in some other
1208 way. See the 0.58 changes for more details. (jnapiorkowski)
1209 - Changed the way subtypes are created so that the job is
1210 delegated to a type constraint parent. This clears up some
1211 hardcoded checking and should allow correct subtypes of
1212 Moose::Meta::Type::Constraint. Don't rely on this new API too
1213 much (create_child_type) because it may go away in the
1214 future. (jnapiorkowski)
1216 * Moose::Meta::TypeConstraint::Union
1217 - Type constraint names are sorted as strings, not numbers.
1220 * Moose::Meta::TypeConstraint::Parameterizable
1221 - New parameterize method. This can be used as a factory method
1222 to make a new type constraint with a given parameterized
1223 type. (jnapiorkowski)
1224 - added tests (jnapiorkowski)
1226 0.59 Tue October 14, 2008
1228 - Add abridged documentation for builder/default/initializer/
1229 predicate, and link to more details sections in
1230 Class::MOP::Attribute. (t0m)
1232 * Moose::Util::TypeConstraints
1233 - removed prototypes from all but the &-based stuff (mst)
1235 * Moose::Util::TypeConstraints
1236 - Creating a anonymous subtype with both a constraint and a
1237 message failed with a very unhelpful error, but should just
1238 work. Reported by t0m. (Dave Rolsky)
1241 - Some tests that used Test::Warn if it was available failed
1242 with older versions of Test::Warn. Reported by Fayland. (Dave
1244 - Test firing behavior of triggers in relation to builder/default/
1246 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
1247 kinds of supported type. (t0m)
1249 * Moose::Meta::Class
1250 - In create(), do not pass "roles" option to the superclass
1251 - added related test that creates an anon metaclass with
1252 a required attribute
1254 * Moose::Meta::TypeConstraint::Class
1255 * Moose::Meta::TypeConstraint::Role
1256 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
1257 other types (as per change in 0.55_02). (t0m)
1259 * Moose::Meta::TypeConstraint::Registry
1260 - Fix warning when dealing with unknown type names (t0m)
1262 * Moose::Util::TypeConstraints
1263 - Reverted changes from 0.58 related to handle parameterized
1264 types. This caused random failures on BSD and Win32 systems,
1265 apparently related to the regex engine. This means that Moose
1266 can no longer parse structured type constraints like
1267 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
1268 supported in a slightly different way via MooseX::Types some
1269 time in the future. (Dave Rolsky)
1271 0.58 Sat September 20, 2008
1272 !! This release has an incompatible change regarding !!
1273 !! how roles add methods to a class !!
1275 * Roles and role application
1276 ! Roles now add methods by calling add_method, not
1277 alias_method. They make sure to always provide a method
1278 object, which will be cloned internally. This means that it is
1279 now possible to track the source of a method provided by a
1280 role, and even follow its history through intermediate roles.
1282 This means that methods added by a role now show up when
1283 looking at a class's method list/map. (Dave Rolsky)
1286 - From this release on, we'll try to maintain a list of
1287 conflicting modules, and warn you if you have one
1288 installed. For example, this release conflicts with ...
1289 - MooseX::Singleton <= 0.11
1290 - MooseX::Params::Validate <= 0.05
1293 In general, we try to not break backwards compatibility for
1294 most Moose users, but MooseX modules and other code which
1295 extends Moose's metaclasses is often affected by very small
1296 changes in the Moose internals.
1298 * Moose::Meta::Method::Delegation
1299 * Moose::Meta::Attribute
1300 - Delegation methods now have their own method class. (Dave
1303 * Moose::Meta::TypeConstraint::Parameterizable
1304 - Added a new method 'parameterize' which is basically a factory
1305 for the containing constraint. This makes it easier to create
1306 new types of parameterized constraints. (jnapiorkowski)
1308 * Moose::Meta::TypeConstraint::Union
1309 - Changed the way Union types canonicalize their names to follow
1310 the normalized TC naming rules, which means we strip all
1311 whitespace. (jnapiorkowski)
1313 * Moose::Util::TypeConstraints
1314 - Parameter and Union args are now sorted, this makes Int|Str
1315 the same constraint as Str|Int. (jnapiorkowski)
1316 - Changes to the way Union types are parsed to more correctly
1317 stringify their names. (jnapiorkowski)
1318 - When creating a parameterized type, we now use the new
1319 parameterize method. (jnapiorkowski)
1320 - Incoming type constraint strings are now normalized to remove
1321 all whitespace differences. (jnapiorkowski)
1322 - Changed the way we parse type constraint strings so that we now
1323 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
1324 constraints. This lays the foundation for more flexible type
1325 constraint implementations.
1327 * Tests and docs for all the above. (jnapiorkowski)
1331 - Moose::Exporter will no longer remove a subroutine that the
1332 exporting package re-exports. Moose re-exports the
1333 Carp::confess function, among others. The reasoning is that we
1334 cannot know whether you have also explicitly imported those
1335 functions for your own use, so we err on the safe side and
1336 always keep them. (Dave Rolsky)
1337 - added tests for this (rafl)
1339 * Moose::Meta::Class
1340 - Changes to how we fix metaclass compatibility that are much
1341 too complicated to go into. The summary is that Moose is much
1342 less likely to complain about metaclass incompatibility
1343 now. In particular, if two metaclasses differ because
1344 Moose::Util::MetaRole was used on the two corresponding
1345 classes, then the difference in roles is reconciled for the
1346 subclass's metaclass. (Dave Rolsky)
1347 - Squashed an warning in _process_attribute (thepler)
1350 - throw exceptions (sooner) for invalid attribute names (thepler)
1351 - added tests for this (thepler)
1353 * Moose::Util::MetaRole
1354 - If you explicitly set a constructor or destructor class for a
1355 metaclass object, and then applied roles to the metaclass,
1356 that explicitly set class would be lost and replaced with the
1359 * Moose::Meta::Class
1360 * Moose::Meta::Attribute
1361 * Moose::Meta::Method
1364 * Moose::Error::Default
1365 * Moose::Error::Croak
1366 * Moose::Error::Confess
1367 - All instances of confess() changed to use overridable
1368 C<throw_error> method. This method ultimately calls a class
1369 constructor, and you can change the class being called. In
1370 addition, errors now pass more information than just a string.
1371 The default C<error_class> behaves like C<Carp::confess>, so
1372 the behavior is not visibly different for end users.
1374 0.57 Wed September 3, 2008
1376 - A new bit of doc intended to introduce folks familiar with
1377 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
1379 * Moose::Unsweetened
1380 - Shows examples of two classes, each done first with and then
1381 without Moose. This makes a nice parallel to
1382 Moose::Intro. (Dave Rolsky)
1384 * Moose::Util::TypeConstraints
1385 - Fixed a bug in find_or_parse_type_constraint so that it
1386 accepts a Moose::Meta::TypeConstraint object as the parent
1387 type, not just a name (jnapiorkowski)
1388 - added tests (jnapiorkowski)
1391 - If Sub::Name was not present, unimporting failed to actually
1392 remove some sugar subs, causing test failures (Dave Rolsky)
1394 0.56 Mon September 1, 2008
1395 For those not following the series of dev releases, there are
1396 several major changes in this release of Moose.
1397 ! Moose::init_meta should now be called as a method. See the
1400 - Major performance improvements by nothingmuch.
1402 - New modules for extension writers, Moose::Exporter and
1403 Moose::Util::MetaRole by Dave Rolsky.
1405 - Lots of doc improvements and additions, especially in the
1408 - Various bug fixes.
1410 * Removed all references to the experimental-but-no-longer-needed
1411 Moose::Meta::Role::Application::ToMetaclassInstance.
1413 * Require Class::MOP 0.65.
1415 0.55_04 Sat August 30, 2008
1416 * Moose::Util::MetaRole
1417 * Moose::Cookbook::Extending::Recipe2
1418 - This simplifies the application of roles to any meta class, as
1419 well as the base object class. Reimplemented metaclass traits
1420 using this module. (Dave Rolsky)
1422 * Moose::Cookbook::Extending::Recipe1
1423 - This a new recipe, an overview of various ways to write Moose
1424 extensions (Dave Rolsky)
1426 * Moose::Cookbook::Extending::Recipe3
1427 * Moose::Cookbook::Extending::Recipe4
1428 - These used to be Extending::Recipe1 and Extending::Recipe2,
1431 0.55_03 Fri August 29, 2008
1432 * No changes from 0.55_02 except increasing the Class::MOP
1433 dependency to 0.64_07.
1435 0.55_02 Fri August 29, 2008
1436 * Makefile.PL and Moose.pm
1437 - explicitly require Perl 5.8.0+ (Dave Rolsky)
1439 * Moose::Util::TypeConstraints
1440 - Fix warnings from find_type_constraint if the type is not
1443 * Moose::Meta::TypeConstraint
1444 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
1445 return false if the type you specify cannot be found in the
1446 type registry, rather than throwing an unhelpful and
1447 coincidental exception. (t0m).
1448 - added docs & test for this (t0m)
1450 * Moose::Meta::TypeConstraint::Registry
1451 - add_type_constraint now throws an exception if a parameter is
1453 - added docs & test for this (t0m)
1455 * Moose::Cookbook::FAQ
1456 - Added a faq entry on the difference between "role" and "trait"
1460 - Fixed a bug that caused role composition to not see a required
1461 method when that method was provided by another role being
1462 composed at the same time. (Dave Rolsky)
1463 - test and bug finding (tokuhirom)
1465 0.55_01 Wed August 20, 2008
1467 !! Calling Moose::init_meta as a function is now !!
1468 !! deprecated. Please see the Moose.pm docs for details. !!
1470 * Moose::Meta::Method::Constructor
1471 - Fix inlined constructor so that values produced by default
1472 or builder methods are coerced as required. (t0m)
1473 - added test for this (t0m)
1475 * Moose::Meta::Attribute
1476 - A lazy attribute with a default or builder did not attempt to
1477 coerce the default value. The immutable code _did_
1479 - added test for this (t0m)
1482 - This is a new helper module for writing "Moose-alike"
1483 modules. This should make the lives of MooseX module authors
1484 much easier. (Dave Rolsky)
1487 * Moose::Cookbook::Meta::Recipe5
1488 - Implemented metaclass traits (and wrote a recipe for it):
1490 use Moose -traits => 'Foo'
1492 This should make writing small Moose extensions a little
1493 easier (Dave Rolsky)
1495 * Moose::Cookbook::Basics::Recipe1
1496 - Removed any examples of direct hashref access, and applied an
1497 editorial axe to reduce verbosity. (Dave Rolsky)
1499 * Moose::Cookbook::Basics::Recipe1
1500 - Also applied an editorial axe here. (Dave Rolsky)
1503 * Moose::Cookbook::Extending::Recipe1
1504 * Moose::Cookbook::Extending::Recipe2
1505 - Rewrote extending and embedding moose documentation and
1506 recipes to use Moose::Exporter (Dave Rolsky)
1510 - These two modules now warn when you load them from the main
1511 package "main" package, because we will not export sugar to
1512 main. Previously it just did nothing. (Dave Rolsky)
1515 - Now provide an init_meta method just like Moose.pm, and you
1516 can call this to provide an alternate role metaclass. (Dave
1517 Rolsky and nothingmuch)
1518 - get_method_map now respects the package cache flag (nothingmuch)
1521 - Two new methods - add_method and wrap_method_body
1525 - Optimizations including allowing constructors to accept hash
1526 refs, making many more classes immutable, and making
1527 constructors immutable. (nothingmuch)
1529 0.55 Sun August 3, 2008
1530 * Moose::Meta::Attribute
1531 - breaking down the way 'handles' methods are
1532 created so that the process can be more easily
1533 overridden by subclasses (stevan)
1535 * Moose::Meta::TypeConstraint
1536 - fixing what is passed into a ->message with
1537 the type constraints (RT #37569)
1538 - added tests for this (Charles Alderman)
1540 * Moose::Util::TypeConstraints
1541 - fix coerce to accept anon types like subtype can (mst)
1544 - reorganized the recipes into sections - Basics, Roles, Meta,
1545 Extending - and wrote abstracts for each section (Dave Rolsky)
1547 * Moose::Cookbook::Basics::Recipe10
1548 - A new recipe that demonstrates operator overloading
1549 in combination with Moose. (bluefeet)
1551 * Moose::Cookbook::Meta::Recipe1
1552 - an introduction to what meta is and why you'd want to make
1553 your own metaclass extensions (Dave Rolsky)
1555 * Moose::Cookbook::Meta::Recipe4
1556 - a very simple metaclass example (Dave Rolsky)
1558 * Moose::Cookbook::Extending::Recipe1
1559 - how to write a Moose-alike module to use your own object base
1562 * Moose::Cookbook::Extending::Recipe2
1563 - how to write modules with an API just like C<Moose.pm> (Dave
1567 - Tons of fixes, both syntactical and grammatical (Dave
1568 Rolsky, Paul Fenwick)
1570 0.54 Thurs. July 3, 2008
1571 ... this is not my day today ...
1573 * Moose::Meta::Attribute
1574 - fixed legal_options_for_inheritance such that
1575 clone_and_inherit options still works for
1576 Class::MOP::Attribute objects and therefore
1577 does not break MooseX::AttributeHelpers
1580 0.53 Thurs. July 3, 2008
1581 * Whoops, I guess I should run 'make manifest' before
1582 actually releasing the module. No actual changes
1583 in this release, except the fact that it includes
1584 the changes that I didn't include in the last
1587 0.52 Thurs. July 3, 2008
1589 - added "FEATURE REQUESTS" section to the Moose docs
1590 to properly direct people (stevan) (RT #34333)
1591 - making 'extends' croak if it is passed a Role since
1592 this is not ever something you want to do
1593 (fixed by stevan, found by obra)
1594 - added tests for this (stevan)
1597 - adding support for DOES (as in UNIVERSAL::DOES)
1599 - added test for this
1601 * Moose::Meta::Attribute
1602 - added legal_options_for_inheritance (wreis)
1603 - added tests for this (wreis)
1605 * Moose::Cookbook::Snacks::*
1606 - removed some of the unfinished snacks that should
1607 not have been released yet. Added some more examples
1608 to the 'Keywords' snack. (stevan)
1610 * Moose::Cookbook::Style
1611 - added general Moose "style guide" of sorts to the
1612 cookbook (nothingmuch) (RT #34335)
1615 - added more BUILDARGS tests (stevan)
1617 0.51 Thurs. Jun 26, 2008
1619 - add unimport so "no Moose::Role" actually does
1622 * Moose::Meta::Role::Application::ToRole
1623 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1624 order to provide its own implementation, that method still got
1625 added to the list of required methods for consumers of
1626 RoleB. Now an aliased method is only added to the list of
1627 required methods if the role doing the aliasing does not
1628 provide its own implementation. See Recipe 11 for an example
1629 of all this. (Dave Rolsky)
1630 - added tests for this
1632 * Moose::Meta::Method::Constructor
1633 - when a single argument that wasn't a hashref was provided to
1634 an immutabilized constructor, the error message was very
1635 unhelpful, as opposed to the non-immutable error. Reported by
1637 - added test for this (Dave Rolsky)
1639 * Moose::Meta::Attribute
1640 - added support for meta_attr->does("ShortAlias") (sartak)
1641 - added tests for this (sartak)
1642 - moved the bulk of the `handles` handling to the new
1643 install_delegation method (Stevan)
1646 - Added BUILDARGS, a new step in new()
1648 * Moose::Meta::Role::Application::RoleSummation
1649 - fix typos no one ever sees (sartak)
1651 * Moose::Util::TypeConstraints
1652 * Moose::Meta::TypeConstraint
1653 * Moose::Meta::TypeCoercion
1654 - Attempt to work around the ??{ } vs. threads issue
1656 - Some null_constraint optimizations
1658 0.50 Thurs. Jun 11, 2008
1659 - Fixed a version number issue by bumping all modules
1662 0.49 Thurs. Jun 11, 2008
1663 !! This version now approx. 20-25% !!
1664 !! faster with new Class::MOP 0.59 !!
1666 * Moose::Meta::Attribute
1667 - fixed how the is => (ro|rw) works with
1668 custom defined reader, writer and accessor
1670 - added docs for this (TODO).
1671 - added tests for this (Thanks to Penfold)
1672 - added the custom attribute alias for regular
1673 Moose attributes which is "Moose"
1674 - fix builder and default both being used
1679 Moose::Meta::Attribute
1681 Moose::Meta::Role::Composite
1682 Moose::Util::TypeConstraints
1683 - switched usage of reftype to ref because
1687 - changing add_package_symbol to use the new
1691 - fixed how DEMOLISHALL is called so that it
1692 can be overrided in subclasses (thanks to Sartak)
1693 - added test for this (thanks to Sartak)
1695 * Moose::Util::TypeConstraints
1696 - move the ClassName type check code to
1697 Class::MOP::is_class_loaded (thanks to Sartak)
1699 * Moose::Cookbook::Recipe11
1700 - add tests for this (thanks to tokuhirom)
1702 0.48 Thurs. May 29, 2008
1703 (early morning release engineering)--
1705 - fixing the version in Moose::Meta::Method::Destructor
1706 which was causing the indexer to choke
1708 0.47 Thurs. May 29, 2008
1709 (late night release engineering)--
1711 - fixing the version is META.yml, no functional
1712 changes in this release
1714 0.46 Wed. May 28, 2008
1715 !! This version now approx. 20-25% !!
1716 !! faster with new Class::MOP 0.57 !!
1718 * Moose::Meta::Class
1719 - some optimizations of the &initialize method
1720 since it is called so often by &meta
1722 * Moose::Meta::Class
1724 - now use the get_all_package_symbols from the
1725 updated Class::MOP, test suite is now 10 seconds
1728 * Moose::Meta::Method::Destructor
1729 - is_needed can now also be called as a class
1730 method for immutablization to check if the
1731 destructor object even needs to be created
1734 * Moose::Meta::Method::Destructor
1735 Moose::Meta::Method::Constructor
1736 - added more descriptive error message to help
1737 keep people from wasting time tracking an error
1738 that is easily fixed by upgrading.
1740 0.45 Saturday, May 24, 2008
1742 - Because of work in Class::MOP 0.57, all
1743 XS based functionality is now optional
1744 and a Pure Perl version is supplied
1745 - the CLASS_MOP_NO_XS environment variable
1746 can now be used to force non-XS versions
1748 - several of the packages have been tweaked
1749 to take care of this, mostly we added
1750 support for the package_name and name
1751 variables in all the Method metaclasses
1752 - before/around/after method modifiers now
1753 support regexp matching of names
1754 (thanks to Takatoshi Kitano)
1755 - tests added for this
1756 - NOTE: this only works for classes, it
1757 is currently not supported in roles,
1758 but, ... patches welcome
1759 - All usage of Carp::confess have been replaced
1760 by Carp::croak in the "keyword" functions since
1761 the stack trace is usually not helpful
1764 - All usage of Carp::confess have been replaced
1765 by Carp::croak in the "keyword" functions since
1766 the stack trace is usually not helpful
1767 - The 'has' keyword for roles now accepts the
1768 same array ref form that Moose.pm does
1769 (has [qw/foo bar/] => (is => 'rw', ...))
1770 - added test for this
1772 * Moose::Meta::Attribute
1773 - trigger on a ro-attribute is no longer an
1774 error, as it's useful to trigger off of the
1777 * Moose::Meta::Class
1778 - added same 'add_package_symbol' fix as in
1782 - does_role now handles non-Moose classes
1784 - added tests for this
1785 - added the 'add_method_modifier' function
1786 (thanks to Takatoshi Kitano)
1788 * Moose::Util::TypeConstraints
1789 - subtypes of parameterizable types now are
1790 themselves parameterizable types
1792 * Moose::Meta::Method::Constructor
1793 - fixed bug where trigger was not being
1794 called by the inlined immutable
1796 - added test for this (thanks to Caelum)
1798 * Moose::Meta::Role::Application::ToInstance
1799 - now uses the metaclass of the instance
1800 (if possible) to create the anon-class
1801 (thanks Jonathan Rockway)
1803 * Moose::Cookbook::Recipe22
1804 - added the meta-attribute trait recipe
1808 - fixed hash-ordering test bug that was
1809 causing occasional cpantester failures
1810 - renamed the t/000_recipe/*.t tests to be
1811 more descriptive (thanks to Sartak)
1813 0.44 Sat. May 10, 2008
1815 - made make_immutable warning cluck to
1816 show where the error is (thanks mst)
1819 - BUILDALL and DEMOLISHALL now call
1820 ->body when looping through the
1821 methods, to avoid the overloaded
1823 - fixed issue where DEMOLISHALL was
1824 eating the $@ values, and so not
1825 working correctly, it still kind of
1826 eats them, but so does vanilla perl
1827 - added tests for this
1829 * Moose::Cookbook::Recipe7
1830 - added new recipe for immutable
1831 functionality (thanks Dave Rolsky)
1833 * Moose::Cookbook::Recipe9
1834 - added new recipe for builder and
1835 lazy_build (thanks Dave Rolsky)
1837 * Moose::Cookbook::Recipe11
1838 - added new recipe for method aliasing
1839 and exclusion with Roles (thanks Dave Rolsky)
1842 - fixed Win32 test failure (thanks spicyjack)
1844 ~ removed Build.PL and Module::Build compat
1845 since Module::Install has done that.
1847 0.43 Wed. April, 30, 2008
1849 drink more coffee before
1850 doing release engineering
1852 - whoops, forgot to do the smolder tests,
1853 and we broke some of the custom meta-attr
1854 modules. This fixes that.
1856 0.42 Mon. April 28, 2008
1857 - some bad tests slipped by, nothing else
1858 changed in this release (cpantesters++)
1860 - upped the Class::MOP dependency to 0.55
1861 since we have tests which need the C3
1864 0.41 Mon. April 28, 2008
1865 ~~ numerous documentation updates ~~
1867 - Changed all usage of die to Carp::croak for better
1868 error reporting (initial patch by Tod Hagan)
1870 ** IMPORTANT NOTE **
1871 - the make_immutable keyword is now deprecated, don't
1872 use it in any new code and please fix your old code
1873 as well. There will be 2 releases, and then it will
1879 - refactored the way inner and super work to avoid
1880 any method/@ISA cache penalty (nothingmuch)
1882 * Moose::Meta::Class
1883 - fixing &new_object to make sure trigger gets the
1884 coerced value (spotted by Charles Alderman on the
1886 - added test for this
1888 * Moose::Meta::Method::Constructor
1889 - immutable classes which had non-lazy attributes were calling
1890 the default generating sub twice in the constructor. (bug
1891 found by Jesse Luehrs, fixed by Dave Rolsky)
1892 - added tests for this (Dave Rolsky)
1893 - fix typo in initialize_body method (nothingmuch)
1895 * Moose::Meta::Method::Destructor
1896 - fix typo in initialize_body method (nothingmuch)
1898 * Moose::Meta::Method::Overriden
1899 Moose::Meta::Method::Augmented
1900 - moved the logic for these into their own
1901 classes (nothingmuch)
1903 * Moose::Meta::Attribute
1904 - inherited attributes may now be extended without
1905 restriction on the type ('isa', 'does') (Sartak)
1906 - added tests for this (Sartak)
1907 - when an attribute property is malformed (such as lazy without
1908 a default), give the name of the attribute in the error
1910 - added the &applied_traits and &has_applied_traits methods
1911 to allow introspection of traits
1912 - added tests for this
1913 - moved 'trait' and 'metaclass' argument handling to here from
1915 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1916 '+foo' syntax) (nothingmuch)
1917 - added tests for this (t0m)
1920 - localize $@ inside DEMOLISHALL to avoid it
1921 eating $@ (found by Ernesto)
1922 - added test for this (thanks to Ernesto)
1924 * Moose::Util::TypeConstraints
1925 - &find_type_constraint now DWIMs when given an
1926 type constraint object or name (nothingmuch)
1927 - &find_or_create_type_constraint superseded with a number of more
1929 - find_or_create_{isa,does}_type_constraint
1930 - find_or_parse_type_constraint
1932 * Moose::Meta::TypeConstraint
1933 Moose::Meta::TypeConstraint::Class
1934 Moose::Meta::TypeConstraint::Role
1935 Moose::Meta::TypeConstraint::Enum
1936 Moose::Meta::TypeConstraint::Union
1937 Moose::Meta::TypeConstraint::Parameterized
1938 - added the &equals method for comparing two type
1939 constraints (nothingmuch)
1940 - added tests for this (nothingmuch)
1942 * Moose::Meta::TypeConstraint
1943 - add the &parents method, which is just an alias to &parent.
1944 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1946 * Moose::Meta::TypeConstraint::Class
1947 - added the class attribute for introspection purposes
1949 - added tests for this
1951 * Moose::Meta::TypeConstraint::Enum
1952 Moose::Meta::TypeConstraint::Role
1953 - broke these out into their own classes (nothingmuch)
1955 * Moose::Cookbook::Recipe*
1956 - fixed references to test file locations in the POD
1957 and updated up some text for new Moose features
1961 - Added &resolve_metaclass_alias, a helper function for finding an actual
1962 class for a short name (e.g. in the traits list)
1964 0.40 Fri. March 14, 2008
1965 - I hate Pod::Coverage
1967 0.39 Fri. March 14, 2008
1969 - documenting the use of '+name' with attributes
1970 that come from recently composed roles. It makes
1971 sense, people are using it, and so why not just
1972 officially support it.
1973 - fixing the 'extends' keyword so that it will not
1974 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1977 - added the perl -Moose=+Class::Name feature to allow
1978 monkeypatching of classes in one liners
1981 - fixing the 'apply_all_roles' keyword so that it will not
1982 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1984 * Moose::Meta::Class
1985 - added ->create method which now supports roles (thanks to jrockway)
1986 - added tests for this
1987 - added ->create_anon_class which now supports roles and caching of
1988 the results (thanks to jrockway)
1989 - added tests for this
1990 - made ->does_role a little more forgiving when it is
1991 checking a Class::MOP era metaclasses.
1993 * Moose::Meta::Role::Application::ToInstance
1994 - it is now possible to pass extra params to be used when
1995 a role is applied to an the instance (rebless_params)
1996 - added tests for this
1998 * Moose::Util::TypeConstraints
1999 - class_type now accepts an optional second argument for a
2000 custom message. POD anotated accordingly (groditi)
2001 - added tests for this
2002 - it is now possible to make anon-enums by passing 'enum' an
2003 ARRAY ref instead of the $name => @values. Everything else
2005 - added tests for this
2008 - making test for using '+name' on attributes consumed
2009 from a role, it works and makes sense too.
2011 * Moose::Meta::Attribute
2012 - fix handles so that it doesn't return nothing
2013 when the method cannot be found, not sure why
2014 it ever did this originally, this means we now
2015 have slightly better support for AUTOLOADed
2017 - added more delegation tests
2018 - adding ->does method to this so as to better
2019 support traits and their introspection.
2020 - added tests for this
2023 - localizing the Data::Dumper configurations so
2024 that it does not pollute others (RT #33509)
2025 - made ->does a little more forgiving when it is
2026 passed Class::MOP era metaclasses.
2028 0.38 Fri. Feb. 15, 2008
2029 * Moose::Meta::Attribute
2030 - fixed initializer to correctly do
2031 type checking and coercion in the
2033 - added tests for this
2036 - fixed some finicky tests (thanks to konobi)
2038 0.37 Thurs. Feb. 14, 2008
2040 - fixed some details in Moose::init_meta
2041 and its superclass handling (thanks thepler)
2042 - added tests for this (thanks thepler)
2043 - 'has' now dies if you don't pass in name
2045 - added the 'make_immutable' keyword as a shortcut
2048 * Moose::Meta::Class
2049 Moose::Meta::Method::Constructor
2050 Moose::Meta::Attribute
2051 - making (init_arg => undef) work here too
2052 (thanks to nothingmuch)
2054 * Moose::Meta::Attribute
2055 Moose::Meta::Method::Constructor
2056 Moose::Meta::Method::Accessor
2057 - make lazy attributes respect attr initializers (rjbs)
2058 - added tests for this
2060 * Moose::Util::TypeConstraints
2061 Moose::Util::TypeConstraints::OptimizedConstraints
2062 Moose::Meta::TypeConstraints
2063 Moose::Meta::Attribute
2064 Moose::Meta::Method::Constructor
2065 Moose::Meta::Method::Accessor
2066 - making type errors use the
2067 assigned message (thanks to Sartak)
2068 - added tests for this
2070 * Moose::Meta::Method::Destructor
2071 - making sure DESTROY gets inlined properly
2072 with successive DEMOLISH calls (thanks to manito)
2074 * Moose::Meta::Attribute
2075 Moose::Meta::Method::Accessor
2076 - fixed handling of undef with type constraints
2078 - added tests for this
2081 - added &get_all_init_args and &get_all_attribute_values
2082 (thanks to Sartak and nothingmuch)
2084 0.36 Sat. Jan. 26, 2008
2086 Moose::Meta::Attribute
2087 - role type tests now support when roles are
2088 applied to non-Moose classes (found by ash)
2089 - added tests for this (thanks to ash)
2090 - couple extra tests to boost code coverage
2092 * Moose::Meta::Method::Constructor
2093 - improved fix for handling Class::MOP attributes
2094 - added test for this
2096 * Moose::Meta::Class
2097 - handled the add_attribute($attribute_meta_object)
2099 - added test for this
2101 0.35 Tues. Jan. 22, 2008
2102 * Moose::Meta::Method::Constructor
2103 - fix to make sure even Class::MOP attributes
2104 are handled correctly (Thanks to Dave Rolsky)
2105 - added test for this (also Dave Rolsky)
2107 * Moose::Meta::Class
2108 - improved error message on _apply_all_roles,
2109 you should now use Moose::Util::apply_all_roles
2110 and you shouldnt have been using a _ prefixed
2111 method in the first place ;)
2113 0.34 Mon. Jan. 21, 2008
2114 ~~~ more misc. doc. fixes ~~~
2115 ~~ updated copyright dates ~~
2117 Moose is now a postmodern object system :)
2118 - (see the POD for details)
2120 * <<Role System Refactoring>>
2121 - this release contains a major reworking and
2122 cleanup of the role system
2123 - 100% backwards compat.
2124 - Role application now restructured into seperate
2125 classes based on type of applicants
2126 - Role summation (combining of more than one role)
2127 is much cleaner and anon-classes are no longer
2128 used in this process
2129 - new Composite role metaclass
2130 - runtime application of roles to instances
2131 is now more efficient and re-uses generated
2132 classes when applicable
2134 * <<New Role composition features>>
2135 - methods can now be excluded from a given role
2137 - methods can now be aliased to another name (and
2138 still retain the original as well)
2140 * Moose::Util::TypeConstraints::OptimizedConstraints
2141 - added this module (see above)
2143 * Moose::Meta::Class
2144 - fixed the &_process_attribute method to be called
2145 by &add_attribute, so that the API is now correct
2147 * Moose::Meta::Method::Accessor
2148 - fixed bug when passing a list of values to
2149 an accessor would get (incorrectly) ignored.
2150 Thanks to Sartak for finding this ;)
2151 - added tests for this (Sartak again)
2153 * Moose::Meta::Method::Accessor
2154 Moose::Meta::Method::Constructor
2155 Moose::Meta::Attribute
2156 Moose::Meta::TypeConstraint
2157 Moose::Meta::TypeCoercion
2158 - lots of cleanup of such things as:
2160 - type constraint handling
2161 - error handling/messages
2162 (thanks to nothingmuch)
2164 * Moose::Meta::TypeConstraint::Parameterizable
2165 - added this module to support the refactor
2166 in Moose::Meta::TypeConstraint::Parameterized
2168 * Moose::Meta::TypeConstraint::Parameterized
2169 - refactored how these types are handled so they
2170 are more generic and not confined to ArrayRef
2174 - shortened some file names for better VMS support (RT #32381)
2176 0.33 Fri. Dec. 14, 2007
2177 !! Moose now loads 2 x faster !!
2178 !! with new Class::MOP 0.49 !!
2180 ++ new oose.pm module to make command line
2181 Moose-ness easier (see POD docs for more)
2183 * Moose::Meta::Class
2185 - several tweaks to take advantage of the
2186 new method map caching in Class::MOP
2188 * Moose::Meta::TypeConstraint::Parameterized
2189 - allow subtypes of ArrayRef and HashRef to
2190 be used as a container (sartak)
2191 - added tests for this
2192 - basic support for coercion to ArrayRef and
2193 HashRef for containers (sartak)
2194 - added tests for this
2196 * Moose::Meta::TypeCoercion
2197 - coercions will now create subtypes as needed
2198 so you can now add coercions to parameterized
2199 types without having to explictly define them
2200 - added tests for this
2202 * Moose::Meta::Method::Accessor
2203 - allow subclasses to decide whether we need
2204 to copy the value into a new variable (sartak)
2206 0.32 Tues. Dec. 4, 2007
2207 * Moose::Util::TypeConstraints
2208 - fixing how subtype aliases of unions work
2209 they should inherit the parent's coercion
2210 - added tests for this
2211 - you can now define multiple coercions on
2212 a single type at different times instead of
2213 having to do it all in one place
2214 - added tests for this
2216 * Moose::Meta::TypeConstraint
2217 - there is now a default constraint of sub { 1 }
2218 instead of Moose::Util::TypeConstraints setting
2221 * Moose::Meta::TypeCoercion
2222 * Moose::Meta::TypeCoercion::Union
2223 - added the &has_coercion_for_type and
2224 &add_type_coercions methods to support the
2225 new features above (although you cannot add
2226 more type coercions for Union types)
2228 0.31 Mon. Nov. 26, 2007
2229 * Moose::Meta::Attribute
2230 - made the +attr syntax handle extending types with
2231 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
2232 now works if the original foo is an ArrayRef.
2233 - added tests for this.
2234 - delegation now works even if the attribute does not
2235 have a reader method using the get_read_method_ref
2236 method from Class::MOP::Attribute.
2237 - added tests for this
2238 - added docs for this
2240 * Moose::Util::TypeConstraints
2241 - passing no "additional attribute info" to
2242 &find_or_create_type_constraint will no longer
2243 attempt to create an __ANON__ type for you,
2244 instead it will just return undef.
2245 - added docs for this
2247 0.30 Fri. Nov. 23, 2007
2248 * Moose::Meta::Method::Constructor
2249 -builder related bug in inlined constructor. (groditi)
2251 * Moose::Meta::Method::Accessor
2252 - genereate unnecessary calls to predicates and refactor
2253 code generation for runtime speed (groditi)
2255 * Moose::Util::TypeConstraints
2256 - fix ClassName constraint to introspect symbol table (mst)
2257 - added more tests for this (mst)
2258 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
2259 with work correctly.
2260 - added tests for this
2263 - adding the link to Recipie 11 (written by Sartak)
2264 - adding test for SYNOPSIS code
2267 - New tests for builder bug. Upon instantiation, if an
2268 attribute had a builder, no value and was not lazy the
2269 builder default was not getting run, oops. (groditi)
2271 0.29 Tues. Nov. 13, 2007
2272 * Moose::Meta::Attribute
2273 - Fix error message on missing builder method (groditi)
2275 * Moose::Meta::Method::Accessor
2276 - Fix error message on missing builder method (groditi)
2279 - Add test to check for the correct error message when
2280 builder method is missing (groditi)
2282 0.28 Tues. Nov. 13, 2007
2283 - 0.27 packaged incorrectly (groditi)
2285 0.27 Tues. Nov. 13, 2007
2286 * Moose::Meta::Attribute
2287 - Added support for the new builder option (groditi)
2288 - Added support for lazy_build option (groditi)
2289 - Changed slot initialization for predicate changes (groditi)
2291 * Moose::Meta::Method::Accessor
2292 - Added support for lazy_build option (groditi)
2293 - Fix inline methods to work with corrected predicate
2296 * Moose::Meta::Method::Constructor
2297 - Added support for lazy_build option (groditi)
2300 - tests for builder and lazy_build (groditi)
2302 * fixing some misc. bits in the docs that
2303 got mentioned on CPAN Forum & perlmonks
2306 - fixed how required methods are handled
2307 when they encounter overriden or modified
2308 methods from a class (thanks to confound).
2309 - added tests for this
2311 * Moose::Util::TypeConstraint
2312 - fixed the type notation parser so that
2313 the | always creates a union and so is
2314 no longer a valid type char (thanks to
2315 konobi, mugwump and #moose for working
2317 - added more tests for this
2319 0.26 Thurs. Sept. 27, 2007
2322 * Parameterized Types
2323 We now support parameterized collection types, such as:
2324 ArrayRef[Int] # array or integers
2325 HashRef[Object] # a hash with object values
2326 They can also be nested:
2327 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
2328 And work with the type unions as well:
2329 ArrayRef[Int | Str] # array of integers of strings
2331 * Better Framework Extendability
2332 Moose.pm is now "extendable" such that it is now much
2333 easier to extend the framework and add your own keywords
2334 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
2335 section of the Moose.pm docs.
2338 In an effort to begin documenting some of the various
2339 details of Moose as well as some common idioms, we have
2340 created Moose::Cookbook::Snacks as a place to find
2341 small (easily digestable) nuggets of Moose code.
2344 ~ Several doc updates/cleanup thanks to castaway ~
2346 - converted build system to use Module::Install instead of
2347 Module::Build (thanks to jrockway)
2350 - added all the meta classes to the immutable list and
2351 set it to inline the accessors
2352 - fix import to allow Sub::Exporter like { into => }
2353 and { into_level => } (perigrin)
2354 - exposed and documented init_meta() to allow better
2355 embedding and extending of Moose (perigrin)
2358 - complete re-organization of the test suite
2359 - added some new tests as well
2360 - finally re-enabled the Moose::POOP test since
2361 the new version of DBM::Deep now works again
2364 * Moose::Meta::Class
2365 - fixed very odd and very nasty recursion bug with
2367 - added tests for this (eilara)
2369 * Moose::Meta::Attribute
2370 Moose::Meta::Method::Constructor
2371 Moose::Meta::Method::Accessor
2372 - fixed issue with overload::Overloaded getting called
2373 on non-blessed items. (RT #29269)
2374 - added tests for this
2376 * Moose::Meta::Method::Accessor
2377 - fixed issue with generated accessor code making
2378 assumptions about hash based classes (thanks to dexter)
2380 * Moose::Coookbook::Snacks
2381 - these are bits of documentation, not quite as big as
2382 Recipes but which have no clear place in the module docs.
2383 So they are Snacks! (horray for castaway++)
2385 * Moose::Cookbook::Recipe4
2386 - updated it to use the new ArrayRef[MyType] construct
2387 - updated the accompanying test as well
2389 +++ Major Refactor of the Type Constraint system +++
2390 +++ with new features added as well +++
2392 * Moose::Util::TypeConstraint
2393 - no longer uses package variable to keep track of
2394 the type constraints, now uses the an instance of
2395 Moose::Meta::TypeConstraint::Registry to do it
2396 - added more sophisticated type notation parsing
2398 - added tests for this
2400 * Moose::Meta::TypeConstraint
2401 - some minor adjustments to make subclassing easier
2402 - added the package_defined_in attribute so that we
2403 can track where the type constraints are created
2405 * Moose::Meta::TypeConstraint::Union
2406 - this is now been refactored to be a subclass of
2407 Moose::Meta::TypeConstraint
2409 * Moose::Meta::TypeCoercion::Union
2410 - this has been added to service the newly refactored
2411 Moose::Meta::TypeConstraint::Union and is itself
2412 a subclass of Moose::Meta::TypeCoercion
2414 * Moose::Meta::TypeConstraint::Parameterized
2415 - added this module (taken from MooseX::AttributeHelpers)
2416 to help construct nested collection types
2417 - added tests for this
2419 * Moose::Meta::TypeConstraint::Registry
2420 - added this class to keep track of type constraints
2422 0.25 Mon. Aug. 13, 2007
2424 - Documentation update to reference Moose::Util::TypeConstraints
2425 under 'isa' in 'has' for how to define a new type
2426 (thanks to shlomif).
2428 * Moose::Meta::Attribute
2429 - required attributes now will no longer accept undef
2430 from the constructor, even if there is a default and lazy
2431 - added tests for this
2432 - default subroutines must return a value which passes the
2434 - added tests for this
2436 * Moose::Meta::Attribute
2437 * Moose::Meta::Method::Constructor
2438 * Moose::Meta::Method::Accessor
2439 - type-constraint tests now handle overloaded objects correctly
2440 in the error message
2441 - added tests for this (thanks to EvanCarroll)
2443 * Moose::Meta::TypeConstraint::Union
2444 - added (has_)hand_optimized_constraint to this class so that
2445 it behaves as the regular Moose::Meta::TypeConstraint does.
2448 - large refactoring of this code
2449 - added several more tests
2450 - tests for subtle conflict resolition issues
2451 added, but not currently running
2454 * Moose::Cookbook::Recipe7
2455 - added new recipe for augment/inner functionality
2457 - added test for this
2460 - a formal definition of roles (still in progress)
2463 - utilities for easier working with Moose classes
2464 - added tests for these
2467 - This contains Moose specific test functions
2468 - added tests for these
2470 0.24 Tues. July 3, 2007
2471 ~ Some doc updates/cleanup ~
2473 * Moose::Meta::Attribute
2474 - added support for roles to be given as parameters
2475 to the 'handles' option.
2476 - added tests and docs for this
2477 - the has '+foo' attribute form now accepts changes to
2478 the lazy option, and the addition of a handles option
2479 (but not changing the handles option)
2480 - added tests and docs for this
2483 - required methods are now fetched using find_method_by_name
2484 so that required methods can come from superclasses
2485 - adjusted tests for this
2487 0.23 Mon. June 18, 2007
2488 * Moose::Meta::Method::Constructor
2489 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
2490 * Moose::Meta::Class
2491 - Modify make_immutable to work with the new Class::MOP immutable
2492 mechanism + POD + very basic test (groditi)
2493 * Moose::Meta::Attribute
2494 - Fix handles to use goto() so that caller() comes out properly on
2495 the other side (perigrin)
2497 0.22 Thurs. May 31, 2007
2498 * Moose::Util::TypeConstraints
2499 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
2500 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
2501 prototypes for functions
2502 - added the ClassName type constraint, this checks for strings
2503 which will respond true to ->isa(UNIVERSAL).
2504 - added tests and docs for this
2505 - subtyping just in name now works correctly by making the
2506 default for where be { 1 }
2507 - added test for this
2509 * Moose::Meta::Method::Accessor
2510 - coerce and lazy now work together correctly, thanks to
2511 merlyn for finding this bug
2512 - tests added for this
2513 - fix reader presedence bug in Moose::Meta::Attribute + tests
2516 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
2517 a HASH-ref and missed. This produces better error messages then
2518 having it die cause undef is not a HASH.
2519 - added tests for this
2521 0.21 Thursday, May 2nd, 2007
2523 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
2524 - modified unimport to remove super and inner along with the rest
2525 - altered unimport tests to handle this
2528 - altered super export to populate SUPER_SLOT
2530 * Moose::Meta::Class
2531 - altered augment and override modifier application to use *_SLOT
2532 - modified tests for these to unimport one test class each to test
2535 - fixed issue where custom attribute metaclasses
2536 where not handled correctly in roles
2537 - added tests for this
2539 * Moose::Meta::Class
2540 - fixed issue where extending metaclasses with
2541 roles would blow up. Thanks to Aankhen`` for
2542 finding this insidious error, and it's solution.
2544 ~~ lots of spelling and grammer fixes in the docs,
2545 many many thanks to rlb3 and Aankhen for these :)
2547 0.20 Friday, April 6th, 2007
2548 >> I messed up the SKIP logic in one test
2549 so this release is just to fix that.
2552 - 'has' now also accepts an ARRAY ref
2553 to create multiple attrs (see docs)
2554 (thanks to konobi for this)
2555 - added tests and docs
2557 0.19 Thurs. April 5th, 2007
2558 ~~ More documentation updates ~~
2560 * Moose::Util::TypeConstraints
2561 - 'type' now supports messages as well
2562 thanks to phaylon for finding this
2563 - added tests for this
2564 - added &list_all_type_constraints and
2565 &list_all_builtin_type_constraints
2566 functions to facilitate introspection.
2568 * Moose::Meta::Attribute
2569 - fixed regexp 'handles' declarations
2570 to build the list of delegated methods
2571 correctly (and not override important
2572 things like &new) thanks to ashleyb
2574 - added tests and docs for this
2575 - added the 'documentation' attributes
2576 so that you can actually document your
2577 attributes and inspect them through the
2579 - added tests and docs for this
2581 * Moose::Meta::Class
2582 - when loading custom attribute metaclasses
2583 it will first look in for the class in the
2584 Moose::Meta::Attribute::Custom::$name, and
2585 then default to just loading $name.
2586 - added tests and docs for this
2588 * Moose::Meta::TypeConstraint
2589 - type constraints now stringify to their names.
2590 - added test for this
2593 - added tests to assure we work with Module::Refresh
2594 - added stricter test skip logic in the Moose POOP
2595 test, ask Rob Kinyon why.
2596 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
2598 0.18 Sat. March 10, 2007
2599 ~~ Many, many documentation updates ~~
2602 - We now use Class::MOP::load_class to
2604 - added tests to show types and subtypes
2605 working with Declare::Constraints::Simple
2606 and Test::Deep as constraint engines.
2609 !! You must have Class::MOP 0.37_001 !!
2610 !! for this developer release to work !!
2612 This release was primarily adding the immutable
2613 feature to Moose. An immutable class is one which
2614 you promise not to alter. When you set the class
2615 as immutable it will perform various bits of
2616 memoization and inline certain part of the code
2617 (constructors, destructors and accessors). This
2618 minimizes (and in some cases totally eliminates)
2619 one of Moose's biggest performance hits. This
2620 feature is not on by default, and is 100% optional.
2621 It has several configurable bits as well, so you
2622 can pick and choose to your specific needs.
2624 The changes involved in this were fairly wide and
2625 highly specific, but 100% backwards compatible, so
2626 I am not going to enumerate them here. If you are
2627 truely interested in what was changed, please do
2630 0.17 Tues. Nov. 14, 2006
2631 * Moose::Meta::Method::Accessor
2632 - bugfix for read-only accessors which
2633 are have a type constraint and lazy.
2634 Thanks to chansen for finding it.
2636 0.16 Tues. Nov. 14, 2006
2638 There are some speed improvements in this release,
2639 but they are only the begining, so stay tuned.
2642 - BUILDALL and DEMOLISHALL no longer get
2643 called unless they actually need to be.
2644 This gave us a signifigant speed boost
2645 for the cases when there is no BUILD or
2646 DEMOLISH method present.
2648 * Moose::Util::TypeConstraints
2649 * Moose::Meta::TypeConstraint
2650 - added an 'optimize_as' option to the
2651 type constraint, which allows for a
2652 hand optimized version of the type
2653 constraint to be used when possible.
2654 - Any internally created type constraints
2655 now provide an optimized version as well.
2657 0.15 Sun. Nov. 5, 2006
2659 This version of Moose *must* have Class::MOP 0.36 in order
2660 to work correctly. A number of small internal tweaks have
2661 been made in order to be compatible with that release.
2663 * Moose::Util::TypeConstraints
2664 - added &unimport so that you can clean out
2665 your class namespace of these exported
2668 * Moose::Meta::Class
2669 - fixed minor issue which occasionally
2670 comes up during global destruction
2672 - moved Moose::Meta::Method::Overriden into
2676 - moved Moose::Meta::Role::Method into
2679 * Moose::Meta::Attribute
2680 - changed how we do type checks so that
2681 we reduce the overall cost, but still
2684 - moved accessor generation methods to
2685 Moose::Meta::Method::Accessor to
2686 conform to the API changes from
2689 * Moose::Meta::TypeConstraint
2690 - changed how constraints are compiled
2691 so that we do less recursion and more
2692 iteration. This makes the type check
2694 - moved Moose::Meta::TypeConstraint::Union
2697 * Moose::Meta::Method::Accessor
2698 - created this from methods formerly found in
2699 Moose::Meta::Attribute
2701 * Moose::Meta::Role::Method
2702 - moved this from Moose::Meta::Role
2704 * Moose::Meta::Method::Overriden
2705 - moved this from Moose::Meta::Class
2707 * Moose::Meta::TypeConstraint::Union
2708 - moved this from Moose::Meta::TypeConstraint
2710 0.14 Mon. Oct. 9, 2006
2712 * Moose::Meta::Attribute
2713 - fixed lazy attributes which were not getting
2714 checked with the type constraint (thanks ashley)
2715 - added tests for this
2716 - removed the over-enthusiastic DWIMery of the
2717 automatic ArrayRef and HashRef defaults, it
2718 broke predicates in an ugly way.
2719 - removed tests for this
2721 0.13 Sat. Sept. 30, 2006
2723 This version of Moose *must* have Class::MOP 0.35 in order
2724 to work correctly. A number of small internal tweaks have
2725 been made in order to be compatible with that release.
2728 - Removed the use of UNIVERSAL::require to be a better
2729 symbol table citizen and remove a dependency
2730 (thanks Adam Kennedy)
2732 **~~ removed experimental & undocumented feature ~~**
2733 - commented out the 'method' and 'self' keywords, see the
2734 comments for more info.
2737 - added a FAQ and WTF files to document frequently
2738 asked questions and common problems
2740 * Moose::Util::TypeConstraints
2741 - added GlobRef and FileHandle type constraint
2742 - added tests for this
2744 * Moose::Meta::Attribute
2745 - if your attribute 'isa' ArrayRef of HashRef, and you have
2746 not explicitly set a default, then make the default DWIM.
2747 This will also work for subtypes of ArrayRef and HashRef
2749 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2750 - new test added for this (thanks to ashley)
2753 - added basic support for runtime role composition
2754 but this is still *highly experimental*, so feedback
2755 is much appreciated :)
2756 - added tests for this
2758 * Moose::Meta::TypeConstraint
2759 - the type constraint now handles the coercion process
2760 through delegation, this is to support the coercion
2763 * Moose::Meta::TypeConstraint::Union
2764 - it is now possible for coercions to be performed
2766 - added tests for this (thanks to konobi)
2768 * Moose::Meta::TypeCoercion
2769 - properly capturing error when type constraint
2773 - Scalar::Util 1.18 is bad on Win32, so temporarily
2774 only require version 1.17 for Win32 and cygwin.
2775 (thanks Adam Kennedy)
2777 0.12 Sat. Sept. 1, 2006
2779 - Recipe5 (subtypes & coercion) has been written
2782 - fixed "bad meta" error message to be more descriptive
2783 - fixed &unimport to not remove the &inner and &super
2784 keywords because we need to localize them.
2785 - fixed number of spelling/grammer issues, thanks Theory :)
2787 **~~ experimental & undocumented feature ~~**
2788 - added the method and self keywords, they are basically
2789 just sugar, and they may not stay around.
2792 - added &dump method to easily Data::Dumper
2795 * Moose::Meta::TypeConstraint
2796 - added the &is_a_type_of method to check both the current
2797 and the subtype of a method (similar to &isa with classes)
2800 - this is now a subclass of Class::MOP::Module, and no longer
2801 creates the _role_meta ugliness of before.
2802 - fixed tests to reflect this change
2804 0.11 Wed. July 12, 2006
2806 - added an &unimport method to remove all the keywords
2807 that Moose will import, simply add 'no Moose' to the
2808 bottom of your class file.
2811 - fixed some test failures caused by a forgotten test
2814 0.10 Thurs. July 6, 2006
2816 - improved error message when loading modules so
2817 it is less confusing when you load a role.
2818 - added &calculate_all_roles method to
2819 Moose::Meta::Class and Moose::Meta::Role
2822 This module has been tested against Class::MOP 0.30
2823 but it does not yet utilize the optimizations
2824 it makes available. Stay tuned for that ;)
2826 0.09_03 Fri. June 23, 2006
2827 ++ DEVELOPER RELEASE ++
2829 - 'use strict' and 'use warnings' are no longer
2830 needed in Moose classes, Moose itself will
2831 turn them on for you.
2832 - added tests for this
2833 - moved code from exported subs to private methods
2834 in Moose::Meta::Class
2837 - as with Moose, strict and warnings are
2838 automatically turned on for you.
2839 - added tests for this
2842 - now handles an edge case for override errors
2843 - added tests for this
2844 - added some more edge case tests
2846 0.09_02 Tues. May 16, 2006
2847 ++ DEVELOPER RELEASE ++
2849 - added prototypes to the exported subs
2853 - added prototypes to the exported subs
2856 * Moose::Util::TypeConstraints
2857 - cleaned up prototypes for the subs
2860 0.09_01 Fri. May 12, 2006
2861 ++ DEVELOPER RELEASE ++
2862 - This release works in combination with
2863 Class::MOP 0.29_01, it is a developer
2864 release because it uses the a new
2865 instance sub-protocol and a fairly
2866 complete Role implementation. It has
2867 not yet been optimized, so it slower
2868 the the previous CPAN version. This
2869 release also lacks good updated docs,
2870 the official release will have updated docs.
2873 - refactored the keyword exports
2874 - 'with' now checks Role validaity and
2875 accepts more than one Role at a time
2876 - 'extends' makes metaclass adjustments as
2877 needed to ensure metaclass compatibility
2880 - refactored the keyword exports
2881 - 'with' now checks Role validaity and
2882 accepts more than one Role at a time
2884 * Moose::Util::TypeConstraints
2885 - added the 'enum' keyword for simple
2886 string enumerations which can be used as
2888 - see example of usage in t/202_example.t
2891 - more careful checking of params to new()
2894 - much work done on the role composition
2895 - many new tests for conflict detection
2896 and composition edge cases
2897 - not enough documentation, I suggest
2898 looking at the tests
2900 * Moose::Meta::Instance
2901 - added new Instance metaclass to support
2902 the new Class::MOP instance protocol
2904 * Moose::Meta::Class
2905 - some small changes to support the new
2907 - some small additions to support Roles
2909 * Moose::Meta::Attribute
2910 - some improvements to the accessor generation code
2912 - some small changes to support the new
2914 - (still somewhat) experimental delegation support
2915 with the 'handles' option
2916 - added several tests for this
2917 - no docs for this yet
2919 0.05 Thurs. April 27, 2006
2921 - keywords are now exported with Sub::Exporter
2922 thanks to chansen for this commit
2923 - has keyword now takes a 'metaclass' option
2924 to support custom attribute meta-classes
2925 on a per-attribute basis
2926 - added tests for this
2927 - the 'has' keyword not accepts inherited slot
2928 specifications (has '+foo'). This is still an
2929 experimental feature and probably not finished
2930 see t/038_attribute_inherited_slot_specs.t for
2931 more details, or ask about it on #moose
2932 - added tests for this
2935 - keywords are now exported with Sub::Exporter
2937 * Moose::Utils::TypeConstraints
2938 - reorganized the type constraint hierarchy, thanks
2939 to nothingmuch and chansen for his help and advice
2941 - added some tests for this
2942 - keywords are now exported with Sub::Exporter
2943 thanks to chansen for this commit
2945 * Moose::Meta::Class
2946 - due to changes in Class::MOP, we had to change
2947 construct_instance (for the better)
2949 * Moose::Meta::Attribute
2950 - due to changes in Class::MOP, we had to add the
2951 initialize_instance_slot method (it's a good thing)
2953 * Moose::Meta::TypeConstraint
2954 - added type constraint unions
2955 - added tests for this
2956 - added the is_subtype_of predicate method
2957 - added tests for this
2959 0.04 Sun. April 16th, 2006
2961 - Roles can now consume other roles
2962 - added tests for this
2963 - Roles can specify required methods now with
2964 the requires() keyword
2965 - added tests for this
2968 - ripped out much of it's guts ,.. much cleaner now
2969 - added required methods and correct handling of
2970 them in apply() for both classes and roles
2971 - added tests for this
2972 - no longer adds a does() method to consuming classes
2973 it relys on the one in Moose::Object
2974 - added roles attribute and some methods to support
2975 roles consuming roles
2977 * Moose::Meta::Attribute
2978 - added support for triggers on attributes
2979 - added tests for this
2980 - added support for does option on an attribute
2981 - added tests for this
2983 * Moose::Meta::Class
2984 - added support for attribute triggers in the
2986 - added tests for this
2989 - Moose no longer creates a subtype for your class
2990 if a subtype of the same name already exists, this
2991 should DWIM in 99.9999% of all cases
2993 * Moose::Util::TypeConstraints
2994 - fixed bug where incorrect subtype conflicts were
2996 - added test for this
2999 - this class can now be extended with 'use base' if
3000 you need it, it properly loads the metaclass class now
3001 - added test for this
3003 0.03_02 Wed. April 12, 2006
3005 - you must now explictly use Moose::Util::TypeConstraints
3006 it no longer gets exported for you automatically
3009 - new() now accepts hash-refs as well as key/value lists
3010 - added does() method to check for Roles
3011 - added tests for this
3013 * Moose::Meta::Class
3014 - added roles attribute along with the add_role() and
3016 - added tests for this
3019 - now adds a does() method to consuming classes
3020 which tests the class's hierarchy for roles
3021 - added tests for this
3023 0.03_01 Mon. April 10, 2006
3025 - added new Role recipe (no content yet, only code)
3028 - added 'with' keyword for Role support
3029 - added test and docs for this
3030 - fixed subtype quoting bug
3031 - added test for this
3035 - added test and docs
3037 * Moose::Util::TypeConstraints
3038 - added the message keyword to add custom
3039 error messages to type constraints
3042 - the meta role to support Moose::Role
3043 - added tests and docs
3045 * Moose::Meta::Class
3046 - moved a number of things from Moose.pm
3047 to here, they should have been here
3050 * Moose::Meta::Attribute
3051 - moved the attribute option macros here
3052 instead of putting them in Moose.pm
3054 * Moose::Meta::TypeConstraint
3055 - added the message attributes and the
3057 - added tests and docs for this
3059 0.03 Thurs. March 30, 2006
3061 - added the Moose::Cookbook with 5 recipes,
3062 describing all the stuff Moose can do.
3065 - fixed an issue with &extends super class loading
3066 it now captures errors and deals with inline
3067 packages correctly (bug found by mst, solution
3069 - added super/override & inner/augment features
3070 - added tests and docs for these
3073 - BUILDALL now takes a reference of the %params
3074 that are passed to &new, and passes that to
3077 * Moose::Util::TypeConstraints
3078 - Type constraints now survive runtime reloading
3079 - added test for this
3081 * Moose::Meta::Class
3082 - fixed the way attribute defaults are handled
3083 during instance construction (bug found by chansen)
3085 * Moose::Meta::Attribute
3086 - read-only attributes now actually enforce their
3087 read-only-ness (this corrected in Class::MOP as
3090 0.02 Tues. March 21, 2006
3092 - many more tests, fixing some bugs and
3094 - &extends now loads the base module with
3096 - added UNIVERSAL::require to the
3099 - each new Moose class will also create
3100 and register a subtype of Object which
3101 correspond to the new Moose class.
3102 - the 'isa' option in &has now only
3103 accepts strings, and will DWIM in
3106 * Moose::Util::TypeConstraints
3107 - added type coercion features
3108 - added tests for this
3109 - added support for this in attributes
3110 and instance construction
3112 - type construction no longer creates a
3113 function, it registers the type instead.
3114 - added several functions to get the
3118 - BUILDALL and DEMOLISHALL were broken
3119 because of a mis-named hash key, Whoops :)
3121 * Moose::Meta::Attribute
3122 - adding support for coercion in the
3123 autogenerated accessors
3125 * Moose::Meta::Class
3126 - adding support for coercion in the
3127 instance construction
3129 * Moose::Meta::TypeConstraint
3130 * Moose::Meta::TypeCoercion
3131 - type constraints and coercions are now
3132 full fledges meta-objects
3134 0.01 Wed. March 15, 2006
3135 - Moooooooooooooooooose!!!