1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
4 * Moose::Meta::Attribute
5 - Added the currying syntax for delegation from AttributeHelpers
6 to the existing delegation API. (hdp)
8 * Moose::Meta::Attribute::Native
9 - Moved in from MooseX::AttributeHelpers with API tweaks. See
10 Moose::Manual::Delta for details. (hdp, jhannah, rbuels, Sartak,
14 * Moose::Error::Confess
15 - Clarify documentation on how to use. (Curtis Jewell)
17 - Correct POD for builder to point to Recipe8, not 9. (gphat)
20 * Moose::Manual::Attributes
21 - Clarify "is", include discussion of "bare". (Sartak)
23 * Moose::Meta::Role::Method::Conflicting
24 * Moose::Meta::Role::Application::ToClass
25 - For the first set of roles involved in a conflict, report all
26 unresolved method conflicts, not just the first method. Fixes #47210
27 reported by Ovid. (Sartak)
29 * Moose::Meta::TypeConstraint
30 - Add assert_valid method to use a TypeConstraint for assertion (rjbs)
33 - Make "use Moose -metaclass => 'Foo'" do alias resolution, like -traits
35 - Allow specifying role options (alias, excludes, MXRP stuff) in the
36 arrayref passed to "use Moose -traits" (doy)
39 - Add functions meta_class_alias and meta_attribute_alias for creating
40 aliases for class and attribute metaclasses and metatraits. (doy)
42 * Moose::Meta::Attribute
43 * Moose::Meta::Method::Accessor
44 - A trigger now receives the old value as a second argument, if the
45 attribute had one. (Dave Rolsky)
47 * Moose::Meta::Method::Constructor
48 - Fix a bug with $obj->new when $obj has stringify overloading.
49 Reported by Andrew Suffield [rt.cpan.org #47882] (Sartak)
50 - However, we will probably deprecate $obj->new, so please don't start
51 using it for new code!
53 * Moose::Meta::Role::Application
54 * Moose::Meta::Role::Application::RoleSummation
55 - Rename alias and excludes to -alias and -excludes (but keep the old
56 names for now, for backcompat) (doy)
59 * Moose::Manual::Contributing
60 - Re-write the Moose::Manual::Contributing document to reflect
61 the new layout and methods of work for the Git repository. All
62 work now should be done in topic branches and reviewed by a
63 core committer before being applied to master. All releases
64 are done by a cabal member and merged from master to
65 stable. This plan was devised by Yuval, blame him. (perigrin)
68 - Create metaclass attributes for the different role application
71 * Moose::Util::MetaRole
72 - Allow applying roles to a meta role's role application
75 * Moose::Meta::Attribute
76 - Add weak_ref to allowed options for "has '+foo'" (mst)
78 * Moose::Meta::Method::Accessor
79 - No longer uses inline_slot_access in accessors, to support
80 non-lvalue-based meta instances. (sorear)
83 * Moose::Meta::Method::Delegation
84 - Once again allow class names as well as objects for
85 delegation. This was changed in 0.86.
88 * Moose::Meta::Class::Immutable::Trait
89 - Fixes to work with the latest Class::MOP.
91 * Moose::Meta::Method::Delegation
92 - Delegation now dies with a more useful error message if the
93 attribute's accessor returns something defined but
96 0.85 Fri, Jun 26, 2009
97 * Moose::Meta::Attribute
98 - The warning for 'no associated methods' is now split out into
99 the _check_associated_methods method, so that extensions can
100 safely call 'after install_accessors => ...'. This fixes a
101 warning from MooseX::AttributeHelpers. (hdp)
103 0.84 Fri, Jun 26, 2009
105 - has now sets definition_context for attributes defined in
108 * Moose::Meta::Attribute
109 - When adding an attribute to a metaclass, if the attribute has
110 no associated methods, it will give a deprecation
112 - Methods generated by delegation were not being added to
113 associated_methods. (hdp)
114 - Attribute accessors (reader, writer, accessor, predicate,
115 clearer) now warn if they overwrite an existing method. (doy)
116 - Attribute constructors now warn very noisily about unknown (or
117 misspelled) arguments
119 * Moose::Util::TypeConstraints
120 - Deprecated the totally useless Role type name, which just
121 checked if $object->can('does'). Note that this is _not_ the
122 same as a type created by calling role_type('RoleName').
124 * Moose::Util::TypeConstraints
125 * Moose::Meta::TypeConstraint::DuckType
126 - Reify duck type from a regular subtype into an actual class
128 - Document this because Sartak did all my work for me
131 * Moose::Meta::Attribute
132 - Allow Moose::Meta::TypeConstraint::DuckType in handles, since
133 it is just a list of methods (Sartak)
136 - The get_*_method_modifiers methods would die if the role had
137 no modifiers of the given type (Robert Buels).
139 0.83 Tue, Jun 23, 2009
141 - Fix _construct_instance not setting the special __MOP__ object
142 key in instances of anon classes. (doy)
144 0.82 Sun, Jun 21, 2009
145 * Moose::Manual::Types
146 - Mention MooseX::Types early to avoid users falling down the
147 string parsing rathole (mst)
149 * Moose::Manual::MooseX
150 - Add warnings about class-level extensions and mention considering
151 using plain objects instead
153 0.81 Sun, Jun 7, 2009
154 * Bumped our Class::MOP prereq to the latest version (0.85), since
157 0.80 Sat, Jun 6, 2009
159 - Add FAQ about the coercion change from 0.76 because it came up
160 three times today (perigrin)
161 - Win doy $10 dollars because Sartak didn't think anybody
162 would document this fast enough (perigrin)
164 * Moose::Meta::Method::Destructor
165 - Inline a DESTROY method even if there are no DEMOLISH methods
166 to prevent unnecessary introspection in
167 Moose::Object::DEMOLISHALL
170 - A role's required methods are now represented by
171 Moose::Meta::Role::Method::Required objects. Conflicts are now
172 represented by Moose::Meta::Role::Method::Conflicting
173 objects. The benefit for end-users in that unresolved
174 conflicts generate different, more instructive, errors,
175 resolving Ovid's #44895. (Sartak)
178 - Improve the error message of "extends" as suggested by Adam
179 Kennedy and confound (Sartak)
180 - Link to Moose::Manual::Roles from Moose::Role as we now have
181 excellent documentation (Adam Kennedy)
184 - Update test suite for subname change in Class::MOP
186 - Add TODO test for infinite recursion in Moose::Meta::Class
189 0.79 Wed, May 13, 2009
191 - More fixes for Win32 problems. Reported by Robert Krimen.
194 - The DEMOLISHALL method could still blow up in some cases
195 during global destruction. This method has been made more
196 resilient in the face of global destruction's random garbage
200 - If you "also" a module that isn't loaded, the error message
201 now acknowledges that (Sartak)
204 - When your ->meta method does not return a Moose::Meta::Class,
205 the error message gave the wrong output (Sartak)
207 0.78 Tue, May 12, 2009
208 * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
209 - Merged these documents into what is now Moose::Manual::FAQ
212 - Moved to Moose::Manual::Unsweetened
214 * Moose::Cookbook::Basics::Recipes 9-12
215 - Renamed to be 8-11, since recipe 8 did not exist
218 - Make Moose::Exporter import strict and warnings into packages
222 - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
223 methods during global destruction (doy)
226 * Moose::Meta::Role::Application::ToClass
227 - Track the Role::Application objects created during class-role
231 - Fix metaclass incompatibility errors when extending a vanilla perl
232 class which isa Moose class with a metaclass role applied (t0m)
235 - Add a role-combination hook, _role_for_combination, for the
236 benefit of MooseX::Role::Parameterized (Sartak)
239 - Some tests were failing on Win32 because they explicit checked
240 warning output for newlines. Reported by Nickolay Platonov.
242 0.77 Sat, May 2, 2009
244 - Add explicit use of Devel::GlobalDestruction and Sub::Name
248 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
249 or not we are currently in global destruction (doy)
250 - Add explicit use of Devel::GlobalDestruction and Sub::Name
253 * Moose::Cookbook::FAQ
254 - Reworked much of the existing content to be more useful to
255 modern Moose hackers (Sartak)
258 - Depend on Class::MOP 0.83 instead of 0.82_01.
260 0.76 Mon, April 27, 2009
261 * Moose::Meta::TypeConstraint
262 - Do not run coercions in coerce() if the value already passes the type
265 * Moose::Meta::TypeConstraint::Class
266 - In validation error messages, specifically say that the value is not
267 an instance of the class. This should alleviate some frustrating
268 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
270 * Moose::Meta::Role::Application::ToClass
271 - Revert the class-overrides-role warning in favor of a solution outside
272 of the Moose core (Sartak)
275 - Make Test::Output optional again, since it's only used in a few files
278 0.75_01 Thu, April 23, 2009
279 * Moose::Meta::Role::Application::ToClass
280 - Moose now warns about each class overriding methods from roles it
284 - Warnings tests have standardized on Test::Output which is now an
285 unconditionally dependency (Sartak)
288 - Changes to immutabilization to work with Class::MOP 0.82_01+.
290 0.75 Mon, April 20, 2009
293 - Move validation of not inheriting from roles from Moose::extends to
294 Moose::Meta::Class::superclasses (doy)
297 - add ensure_all_roles() function to encapsulate the common "apply this
298 role unless the object already does it" pattern (hdp)
301 - Users can now select a different metaclass with the "-metaclass"
302 option to import, for classes and roles (Sartak)
305 - Make method_metaclass an attr so that it can accept a metarole
308 0.74 Tue, April 7, 2009
310 * Moose::Meta::Method::Destructor
311 - Include stack traces in the deprecation warnings.
315 - Removed the long-deprecated _apply_all_roles method.
317 * Moose::Meta::TypeConstraint
318 - Removed the long-deprecated union method.
321 0.73_02 Mon, April 6, 2009
322 * More deprecations and renamings
323 - Moose::Meta::Method::Constructor
324 - initialize_body => _initialize_body (this is always called
325 when an object is constructed)
328 - The DEMOLISHALL method could throw an exception during global
329 destruction, meaning that your class's DEMOLISH methods would
330 not be properly called. Reported by t0m.
332 * Moose::Meta::Method::Destructor
333 - Destructor inlining was totally broken by the change to the
334 is_needed method in 0.72_01. Now there is a test for this
335 feature, and it works again.
338 - Bold the word 'not' in the POD for find_meta (t0m)
340 0.73_01 Sun, April 5, 2009
342 - Call user_class->meta in fewer places, with the eventual goal
343 of allowing the user to rename or exclude ->meta
344 altogether. Instead uses Class::MOP::class_of. (Sartak)
346 * Moose::Meta::Method::Accessor
347 - If an attribute had a lazy default, and that value did not
348 pass the attribute's type constraint, it did not get the
349 message from the type constraint, instead using a generic
350 message. Test provided by perigrin.
352 * Moose::Util::TypeConstraints
353 - Add duck_type keyword. It's sugar over making sure an object
354 can() a list of methods. This is easier than jrockway's
355 suggestion to fork all of CPAN. (perigrin)
356 - add tests and documentation (perigrin)
359 - Document the fact that init_meta() returns the target class's
360 metaclass object. (hdp)
362 * Moose::Cookbook::Extending::Recipe1
363 * Moose::Cookbook::Extending::Recipe2
364 * Moose::Cookbook::Extending::Recipe3
365 * Moose::Cookbook::Extending::Recipe4
366 - Make init_meta() examples explicitly return the metaclass and
367 point out this fact. (hdp)
369 * Moose::Cookbook::Basics::Recipe12
370 - A new recipe, creating a custom meta-method class.
372 * Moose::Cookbook::Meta::Recipe6
373 - A new recipe, creating a custom meta-method class.
376 * Moose::Meta::Method::Constructor
377 - Attribute triggers no longer receive the meta-attribute object
378 as an argument in any circumstance. Previously, triggers
379 called during instance construction were passed the
380 meta-attribute, but triggers called by normal accessors were
381 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
383 * Moose::Manual::Attributes
384 - Remove references to triggers receving the meta-attribute object as an
387 * Moose::Cookbook::FAQ
388 - Remove recommendation for deprecated Moose::Policy and
389 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
392 * Many methods have been renamed with a leading underscore, and a
393 few have been deprecated entirely. The methods with a leading
394 underscore are consider "internals only". People writing
395 subclasses or extensions to Moose should feel free to override
396 them, but they are not for "public" use.
399 - check_metaclass_compatibility => _check_metaclass_compatibility
401 - Moose::Meta::Method::Accessor
402 - initialize_body => _initialize_body (this is always called
403 when an object is constructed)
404 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
406 - Moose::Meta::Method::Constructor
407 - initialize_body => _initialize_body (this is always called
408 when an object is constructed)
409 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
410 - attributes => _attributes (now inherited from parent)
411 - meta_instance => _meta_instance (now inherited from parent)
414 - alias_method is deprecated. Use add_method
416 0.73 Fri, March 29, 2009
417 * No changes from 0.72_01.
419 0.72_01 Thu, March 26, 2009
421 - Almost every module has complete API documentation. A few
422 methods (and even whole classes) have been intentionally
423 excluded pending some rethinking of their APIs.
425 * Moose::Util::TypeConstraints
426 - Calling subtype with a name as the only argument is now an
427 exception. If you want an anonymous subtype do:
429 my $subtype = subtype as 'Foo';
431 * Moose::Cookbook::Meta::Recipe7
432 - A new recipe, creating a custom meta-instance class.
434 * Moose::Cookbook::Basics::Recipe5
435 - Fix various typos and mistakes. Includes a patch from Radu
438 * Moose::Cookbook::Basics::Recipe9
439 - Link to this recipe from Moose.pm's builder blurb
442 - When wrapping a function with a prototype, Moose::Exporter now
443 makes sure the wrapped function still has the same
444 prototype. (Daisuke Maki)
446 * Moose::Meta::Attribute
447 - Allow a subclass to set lazy_build for an inherited
451 - Explicitly depend on Data::OptList. We already had this dependency
452 via Sub::Exporter, but since we're using it directly we're
453 better off with it listed. (Sartak)
455 * Moose::Meta::Method::Constructor
456 - Make it easier to subclass the inlining behaviour. (Ash
459 * Moose::Manual::Delta
460 - Details significant changes in the history of Moose, along
461 with recommended workarounds.
463 * Moose::Manual::Contributing
464 - Contributor's guide to Moose.
466 * Moose::Meta::Method::Constructor
467 - The long-deprecated intialize_body method has been removed
468 (yes, spelled like that).
470 * Moose::Meta::Method::Destructor
471 - This is_needed method is now always a class method.
474 - Changes to the internals of how make_immutable works to match
475 changes in latest Class::MOP.
477 0.72 Mon, February 23, 2009
479 * Moose::Meta::Method::Constructor
480 - A mutable class accepted Foo->new(undef) without complaint,
481 while an immutable class would blow up with an unhelpful
482 error. Now, in both cases we throw a helpful error
483 instead. Reported by doy.
485 0.71_01 Sun, February 22, 2009
487 - Hopefully fixed some POD errors in a few recipes that caused
488 them to display weird on search.cpan.org.
490 * Moose::Util::TypeConstraints
491 - Calling type or subtype without the sugar helpers (as, where,
492 message) is now deprecated.
493 - The subtype function tried hard to guess what you meant, but
494 often got it wrong. For example:
496 my $subtype = subtype as 'ArrayRef[Object]';
498 This caused an error in the past, but now works as you'd
502 - Make sure Moose.pm is loaded before calling
503 Moose->throw_error. This wasn't normally an issue, but could
504 bite you in weird cases.
506 0.71 Thu, February 19, 2009
507 * Moose::Cookbook::Basics::Recipe11
508 - A new recipe which demonstrates the use of BUILDARGS and
511 * Moose::Cookbook::Roles::Recipe3
512 - A new recipe, applying a role to an object instance. (Dave
516 - Allow overriding specific keywords from "also" packages. (doy)
519 - Replace hardcoded cookbook tests with Test::Inline to ensure
520 the tests match the actual code in the recipes. (Dave Rolsky)
523 - Working on the above turned up a number of little bugs in the
524 recipe code. (Dave Rolsky)
526 * Moose::Util::TypeConstraints::Optimized
527 - Just use Class::MOP for the optimized ClassName check. (Dave
530 0.70 Sat, February 14, 2009
531 * Moose::Util::TypeConstraints
532 - Added the RoleName type (stevan)
533 - added tests for this (stevan)
535 * Moose::Cookbook::Basics::Recipe3
536 - Updated the before qw[left right] sub to be a little more
537 defensive about what it accepts (stevan)
538 - added more tests to t/000_recipies/basics/003_binary_tree.t
542 - We now always call DEMOLISHALL, even if a class does not
543 define DEMOLISH. This makes sure that method modifiers on
544 DEMOLISHALL work as expected. (doy)
545 - added tests for this (EvanCarroll)
547 * Moose::Util::MetaRole
548 - Accept roles for the wrapped_method_metaclass (rafl)
549 - added tests for this (rafl)
551 * Moose::Meta::Attribute
552 - We no longer pass the meta-attribute object as a final
553 argument to triggers. This actually changed for inlined code a
554 while back, but the non-inlined version and the docs were
558 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
559 they require 0.11. (Dave Rolsky)
562 - Lots of small changes to the manual, cookbook, and
563 elsewhere. These were based on feedback from various
564 users, too many to list here. (Dave Rolsky)
566 0.69 Thu, February 12, 2009
568 - Make some keyword errors use throw_error instead of croak
569 since Moose::Exporter wraps keywords now (Sartak)
572 - Revised every recipe for style and clarity. Also moved some
573 documentation out of cookbook recipes and into Moose::Manual
574 pages. This work was funded as part of the Moose docs grant
575 from TPF. (Dave Rolsky)
577 * Moose::Meta::Method::Delegation
578 - If the attribute doing the delegation was not populated, the
579 error message did not specify the attribute name
582 0.68 Wed, February 4, 2009
584 - Many spelling, typo, and formatting fixes by daxim.
586 * Moose::Manual::Attributes
587 - The NAME section in the POD used "Attribute" so search.cpan
588 didn't resolve links from other documents properly.
590 * Moose::Meta::Method::Overriden
591 - Now properly spelled as Overridden. Thanks to daxim for
594 0.67 Tue, February 3, 2009
596 - Lots of little typo fixes and a few clarifications. Several
597 pages didn't have proper titles, and so weren't actually
598 visible on search.cpan.org. Thanks to hanekomu for a variety
599 of fixes and formatting improvements.
601 0.66 Tue, February 3, 2009
603 - This is a brand new, extensive manual for Moose. This aims to
604 provide a complete introduction to all of Moose's
605 features. This work was funded as part of the Moose docs grant
606 from TPF. (Dave Rolsky)
608 * Moose::Meta::Attribute
609 - Added a delegation_metaclass method to replace a hard-coded
610 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
612 * Moose::Util::TypeConstraints
613 - If you created a subtype and passed a parent that Moose didn't
614 know about, it simply ignored the parent. Now it automatically
615 creates the parent as a class type. This may not be what you
616 want, but is less broken than before. (Dave Rolsky)
618 * Moose::Util::TypeConstraints
619 - This module tried throw errors by calling Moose->throw_error,
620 but it did not ensure that Moose was loaded first. This could
621 cause very unhelpful errors when it tried to throw an error
622 before Moose was loaded. (Dave Rolsky)
624 * Moose::Util::TypeConstraints
625 - You could declare a name with subtype such as "Foo!Bar" that
626 would be allowed, but if you used it in a parameterized type
627 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
628 vetting on names created via the sugar functions, so that they
629 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
631 0.65 Thu, January 22, 2008
632 * Moose and Moose::Meta::Method::Overridden
633 - If an overridden method called super(), and then the
634 superclass's method (not overridden) _also_ called super(),
635 Moose went into an endless recursion loop. Test provided by
636 Chris Prather. (Dave Rolsky)
638 * Moose::Meta::TypeConstraint
639 - All methods are now documented. (gphat)
641 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
642 - Fixed some bogus failures that occurred because we tried to
643 validate filesystem paths in a very ad-hoc and
644 not-quite-correct way. (Dave Rolsky)
646 * Moose::Util::TypeConstraints
647 - Added maybe_type to exports. See docs for details. (rjbs)
650 - Added Moose::Util::TypeConstraints to the SEE ALSO
654 - Methods created via an attribute can now fulfill a "requires"
655 declaration for a role. (nothingmuch)
657 * Moose::Meta::Method::*
658 - Stack traces from inlined code will now report its line and
659 file as being in your class, as opposed to in Moose
662 0.64 Wed, December 31, 2008
663 * Moose::Meta::Method::Accessor
664 - Always inline predicate and clearer methods (Sartak)
666 * Moose::Meta::Attribute
667 - Support for parameterized traits (Sartak)
668 - verify_against_type_constraint method to avoid duplication
669 and enhance extensibility (Sartak)
672 - Tests (but no support yet) for parameterized traits (Sartak)
675 - Require Class::MOP 0.75+, which has the side effect of making
676 sure we work on Win32. (Dave Rolsky)
678 0.63 Mon, December 8, 2008
680 - Some small grammar tweaks and bug fixes in non-Moose example
683 0.62_02 Fri, December 5, 2008
684 * Moose::Meta::Role::Application::ToClass
685 - When a class does not provide all of a role's required
686 methods, the error thrown now mentions all of the missing
687 methods, as opposed to just the first one found. Requested by
688 Curtis Poe (RT #41119). (Dave Rolsky)
690 * Moose::Meta::Method::Constructor
691 - Moose will no longer inline a constructor for your class
692 unless it inherits its constructor from Moose::Object, and
693 will warn when it doesn't inline. If you want to force
694 inlining anyway, pass "replace_constructor => 1" to
695 make_immutable. Addresses RT #40968, reported by Jon
696 Swartz. (Dave Rolsky)
697 - The quoting of default values could be broken if the default
698 contained a single quote ('). Now we use quotemeta to escape
699 anything potentially dangerous in the defaults. (Dave Rolsky)
701 0.62_01 Wed, December 3, 2008
703 - use the method->execute API for BUILDALL
704 and DEMOLISHALL (Sartak)
706 * Moose::Util::TypeConstraints
707 - We now make all the type constraint meta classes immutable
708 before creating the default types provided by Moose. This
709 should make loading Moose a little faster. (Dave Rolsky)
711 0.62 Wed November 26, 2008
712 * Moose::Meta::Role::Application::ToClass
713 Moose::Meta::Role::Application::ToRole
714 - fixed issues where excluding and aliasing the
715 same methods for a single role did not work
716 right (worked just fine with multiple
718 - added test for this (stevan)
720 * Moose::Meta::Role::Application::RoleSummation
721 - fixed the error message when trying to compose
722 a role with a role it excludes (Sartak)
725 - Catch another case where recursion caused the value
726 of $CALLER to be stamped on (t0m)
727 - added test for this (t0m)
730 - Remove the make_immutable keyword, which has been
731 deprecated since April. It breaks metaclasses that
732 use Moose without no Moose (Sartak)
734 * Moose::Meta::Attribute
735 - Removing an attribute from a class now also removes delegation
736 (handles) methods installed for that attribute (t0m)
737 - added test for this (t0m)
739 * Moose::Meta::Method::Constructor
740 - An attribute with a default that looked like a number (but was
741 really a string) would accidentally be treated as a number
742 when the constructor was made immutable (perigrin)
743 - added test for this (perigrin)
746 - create method for constructing a role
748 - added test for this (Sartak)
749 - anonymous roles! (Sartak)
750 - added test for this (Sartak)
753 - more consistent error messages (Sartak)
755 * Moose::Cookbook::Roles::Recipe1
756 - attempt to explain why a role that just requires
757 methods is useful (Sartak)
759 0.61 Fri November 7, 2008
760 * Moose::Meta::Attribute
761 - When passing a role to handles, it will be loaded if necessary
765 - Method objects returned by get_method (and other methods)
766 Could end up being returned without an associated_metaclass
767 attribute. Removing get_method_map, which is provided by
768 Class::MOP::Class, fixed this. The Moose version did nothing
769 different from its parent except introduce a bug. (Dave Rolsky)
770 - added tests for this (jdv79)
773 - Added a $VERSION to all .pm files which didn't have one. Fixes
774 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
776 * Moose::Cookbook::Basics::Recipe4
777 * Moose::Cookbook::Basics::Recipe6
778 - These files had spaces on the first line of the SYNOPSIS, as
779 opposed to a totally empty line. According to RT #40432, this
780 confuses POD parsers. (Dave Rolsky)
782 0.60 Fri October 24, 2008
784 - Passing "-traits" when loading Moose caused the Moose.pm
785 exports to be broken. Reported by t0m. (Dave Rolsky)
786 - Tests for this bug. (t0m)
789 - Change resolve_metaclass alias to use the new
790 load_first_existing_class function. This makes it a lot
791 simpler, and also around 5 times faster. (t0m)
792 - Add caching to resolve_metaclass_alias, which gives an order
793 of magnitude speedup to things which repeatedly call the
794 Moose::Meta::Attribute->does method, notably MooseX::Storage
797 * Moose::Util::TypeConstraint
798 - Put back the changes for parameterized constraints that
799 shouldn't have been removed in 0.59. We still cannot parse
800 them, but MooseX modules can create them in some other
801 way. See the 0.58 changes for more details. (jnapiorkowski)
802 - Changed the way subtypes are created so that the job is
803 delegated to a type constraint parent. This clears up some
804 hardcoded checking and should allow correct subtypes of
805 Moose::Meta::Type::Constraint. Don't rely on this new API too
806 much (create_child_type) because it may go away in the
807 future. (jnapiorkowski)
809 * Moose::Meta::TypeConstraint::Union
810 - Type constraint names are sorted as strings, not numbers.
813 * Moose::Meta::TypeConstraint::Parameterizable
814 - New parameterize method. This can be used as a factory method
815 to make a new type constraint with a given parameterized
816 type. (jnapiorkowski)
817 - added tests (jnapiorkowski)
819 0.59 Tue October 14, 2008
821 - Add abridged documentation for builder/default/initializer/
822 predicate, and link to more details sections in
823 Class::MOP::Attribute. (t0m)
825 * Moose::Util::TypeConstraints
826 - removed prototypes from all but the &-based stuff (mst)
828 * Moose::Util::TypeConstraints
829 - Creating a anonymous subtype with both a constraint and a
830 message failed with a very unhelpful error, but should just
831 work. Reported by t0m. (Dave Rolsky)
834 - Some tests that used Test::Warn if it was available failed
835 with older versions of Test::Warn. Reported by Fayland. (Dave
837 - Test firing behavior of triggers in relation to builder/default/
839 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
840 kinds of supported type. (t0m)
843 - In create(), do not pass "roles" option to the superclass
844 - added related test that creates an anon metaclass with
847 * Moose::Meta::TypeConstraint::Class
848 * Moose::Meta::TypeConstraint::Role
849 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
850 other types (as per change in 0.55_02). (t0m)
852 * Moose::Meta::TypeConstraint::Registry
853 - Fix warning when dealing with unknown type names (t0m)
855 * Moose::Util::TypeConstraints
856 - Reverted changes from 0.58 related to handle parameterized
857 types. This caused random failures on BSD and Win32 systems,
858 apparently related to the regex engine. This means that Moose
859 can no longer parse structured type constraints like
860 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
861 supported in a slightly different way via MooseX::Types some
862 time in the future. (Dave Rolsky)
864 0.58 Sat September 20, 2008
865 !! This release has an incompatible change regarding !!
866 !! how roles add methods to a class !!
868 * Roles and role application
869 ! Roles now add methods by calling add_method, not
870 alias_method. They make sure to always provide a method
871 object, which will be cloned internally. This means that it is
872 now possible to track the source of a method provided by a
873 role, and even follow its history through intermediate roles.
875 This means that methods added by a role now show up when
876 looking at a class's method list/map. (Dave Rolsky)
879 - From this release on, we'll try to maintain a list of
880 conflicting modules, and warn you if you have one
881 installed. For example, this release conflicts with ...
882 - MooseX::Singleton <= 0.11
883 - MooseX::Params::Validate <= 0.05
886 In general, we try to not break backwards compatibility for
887 most Moose users, but MooseX modules and other code which
888 extends Moose's metaclasses is often affected by very small
889 changes in the Moose internals.
891 * Moose::Meta::Method::Delegation
892 * Moose::Meta::Attribute
893 - Delegation methods now have their own method class. (Dave
896 * Moose::Meta::TypeConstraint::Parameterizable
897 - Added a new method 'parameterize' which is basically a factory
898 for the containing constraint. This makes it easier to create
899 new types of parameterized constraints. (jnapiorkowski)
901 * Moose::Meta::TypeConstraint::Union
902 - Changed the way Union types canonicalize their names to follow
903 the normalized TC naming rules, which means we strip all
904 whitespace. (jnapiorkowski)
906 * Moose::Util::TypeConstraints
907 - Parameter and Union args are now sorted, this makes Int|Str
908 the same constraint as Str|Int. (jnapiorkowski)
909 - Changes to the way Union types are parsed to more correctly
910 stringify their names. (jnapiorkowski)
911 - When creating a parameterized type, we now use the new
912 parameterize method. (jnapiorkowski)
913 - Incoming type constraint strings are now normalized to remove
914 all whitespace differences. (jnapiorkowski)
915 - Changed the way we parse type constraint strings so that we now
916 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
917 constraints. This lays the foundation for more flexible type
918 constraint implementations.
920 * Tests and docs for all the above. (jnapiorkowski)
924 - Moose::Exporter will no longer remove a subroutine that the
925 exporting package re-exports. Moose re-exports the
926 Carp::confess function, among others. The reasoning is that we
927 cannot know whether you have also explicitly imported those
928 functions for your own use, so we err on the safe side and
929 always keep them. (Dave Rolsky)
930 - added tests for this (rafl)
933 - Changes to how we fix metaclass compatibility that are much
934 too complicated to go into. The summary is that Moose is much
935 less likely to complain about metaclass incompatibility
936 now. In particular, if two metaclasses differ because
937 Moose::Util::MetaRole was used on the two corresponding
938 classes, then the difference in roles is reconciled for the
939 subclass's metaclass. (Dave Rolsky)
940 - Squashed an warning in _process_attribute (thepler)
943 - throw exceptions (sooner) for invalid attribute names (thepler)
944 - added tests for this (thepler)
946 * Moose::Util::MetaRole
947 - If you explicitly set a constructor or destructor class for a
948 metaclass object, and then applied roles to the metaclass,
949 that explicitly set class would be lost and replaced with the
953 * Moose::Meta::Attribute
954 * Moose::Meta::Method
957 * Moose::Error::Default
958 * Moose::Error::Croak
959 * Moose::Error::Confess
960 - All instances of confess() changed to use overridable
961 C<throw_error> method. This method ultimately calls a class
962 constructor, and you can change the class being called. In
963 addition, errors now pass more information than just a string.
964 The default C<error_class> behaves like C<Carp::confess>, so
965 the behavior is not visibly different for end users.
967 0.57 Wed September 3, 2008
969 - A new bit of doc intended to introduce folks familiar with
970 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
973 - Shows examples of two classes, each done first with and then
974 without Moose. This makes a nice parallel to
975 Moose::Intro. (Dave Rolsky)
977 * Moose::Util::TypeConstraints
978 - Fixed a bug in find_or_parse_type_constraint so that it
979 accepts a Moose::Meta::TypeConstraint object as the parent
980 type, not just a name (jnapiorkowski)
981 - added tests (jnapiorkowski)
984 - If Sub::Name was not present, unimporting failed to actually
985 remove some sugar subs, causing test failures (Dave Rolsky)
987 0.56 Mon September 1, 2008
988 For those not following the series of dev releases, there are
989 several major changes in this release of Moose.
990 ! Moose::init_meta should now be called as a method. See the
993 - Major performance improvements by nothingmuch.
995 - New modules for extension writers, Moose::Exporter and
996 Moose::Util::MetaRole by Dave Rolsky.
998 - Lots of doc improvements and additions, especially in the
1001 - Various bug fixes.
1003 * Removed all references to the experimental-but-no-longer-needed
1004 Moose::Meta::Role::Application::ToMetaclassInstance.
1006 * Require Class::MOP 0.65.
1008 0.55_04 Sat August 30, 2008
1009 * Moose::Util::MetaRole
1010 * Moose::Cookbook::Extending::Recipe2
1011 - This simplifies the application of roles to any meta class, as
1012 well as the base object class. Reimplemented metaclass traits
1013 using this module. (Dave Rolsky)
1015 * Moose::Cookbook::Extending::Recipe1
1016 - This a new recipe, an overview of various ways to write Moose
1017 extensions (Dave Rolsky)
1019 * Moose::Cookbook::Extending::Recipe3
1020 * Moose::Cookbook::Extending::Recipe4
1021 - These used to be Extending::Recipe1 and Extending::Recipe2,
1024 0.55_03 Fri August 29, 2008
1025 * No changes from 0.55_02 except increasing the Class::MOP
1026 dependency to 0.64_07.
1028 0.55_02 Fri August 29, 2008
1029 * Makefile.PL and Moose.pm
1030 - explicitly require Perl 5.8.0+ (Dave Rolsky)
1032 * Moose::Util::TypeConstraints
1033 - Fix warnings from find_type_constraint if the type is not
1036 * Moose::Meta::TypeConstraint
1037 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
1038 return false if the type you specify cannot be found in the
1039 type registry, rather than throwing an unhelpful and
1040 coincidental exception. (t0m).
1041 - added docs & test for this (t0m)
1043 * Moose::Meta::TypeConstraint::Registry
1044 - add_type_constraint now throws an exception if a parameter is
1046 - added docs & test for this (t0m)
1048 * Moose::Cookbook::FAQ
1049 - Added a faq entry on the difference between "role" and "trait"
1053 - Fixed a bug that caused role composition to not see a required
1054 method when that method was provided by another role being
1055 composed at the same time. (Dave Rolsky)
1056 - test and bug finding (tokuhirom)
1058 0.55_01 Wed August 20, 2008
1060 !! Calling Moose::init_meta as a function is now !!
1061 !! deprecated. Please see the Moose.pm docs for details. !!
1063 * Moose::Meta::Method::Constructor
1064 - Fix inlined constructor so that values produced by default
1065 or builder methods are coerced as required. (t0m)
1066 - added test for this (t0m)
1068 * Moose::Meta::Attribute
1069 - A lazy attribute with a default or builder did not attempt to
1070 coerce the default value. The immutable code _did_
1072 - added test for this (t0m)
1075 - This is a new helper module for writing "Moose-alike"
1076 modules. This should make the lives of MooseX module authors
1077 much easier. (Dave Rolsky)
1080 * Moose::Cookbook::Meta::Recipe5
1081 - Implemented metaclass traits (and wrote a recipe for it):
1083 use Moose -traits => 'Foo'
1085 This should make writing small Moose extensions a little
1086 easier (Dave Rolsky)
1088 * Moose::Cookbook::Basics::Recipe1
1089 - Removed any examples of direct hashref access, and applied an
1090 editorial axe to reduce verbosity. (Dave Rolsky)
1092 * Moose::Cookbook::Basics::Recipe1
1093 - Also applied an editorial axe here. (Dave Rolsky)
1096 * Moose::Cookbook::Extending::Recipe1
1097 * Moose::Cookbook::Extending::Recipe2
1098 - Rewrote extending and embedding moose documentation and
1099 recipes to use Moose::Exporter (Dave Rolsky)
1103 - These two modules now warn when you load them from the main
1104 package "main" package, because we will not export sugar to
1105 main. Previously it just did nothing. (Dave Rolsky)
1108 - Now provide an init_meta method just like Moose.pm, and you
1109 can call this to provide an alternate role metaclass. (Dave
1110 Rolsky and nothingmuch)
1111 - get_method_map now respects the package cache flag (nothingmuch)
1114 - Two new methods - add_method and wrap_method_body
1118 - Optimizations including allowing constructors to accept hash
1119 refs, making many more classes immutable, and making
1120 constructors immutable. (nothingmuch)
1122 0.55 Sun August 3, 2008
1123 * Moose::Meta::Attribute
1124 - breaking down the way 'handles' methods are
1125 created so that the process can be more easily
1126 overridden by subclasses (stevan)
1128 * Moose::Meta::TypeConstraint
1129 - fixing what is passed into a ->message with
1130 the type constraints (RT #37569)
1131 - added tests for this (Charles Alderman)
1133 * Moose::Util::TypeConstraints
1134 - fix coerce to accept anon types like subtype can (mst)
1137 - reorganized the recipes into sections - Basics, Roles, Meta,
1138 Extending - and wrote abstracts for each section (Dave Rolsky)
1140 * Moose::Cookbook::Basics::Recipe10
1141 - A new recipe that demonstrates operator overloading
1142 in combination with Moose. (bluefeet)
1144 * Moose::Cookbook::Meta::Recipe1
1145 - an introduction to what meta is and why you'd want to make
1146 your own metaclass extensions (Dave Rolsky)
1148 * Moose::Cookbook::Meta::Recipe4
1149 - a very simple metaclass example (Dave Rolsky)
1151 * Moose::Cookbook::Extending::Recipe1
1152 - how to write a Moose-alike module to use your own object base
1155 * Moose::Cookbook::Extending::Recipe2
1156 - how to write modules with an API just like C<Moose.pm> (Dave
1160 - Tons of fixes, both syntactical and grammatical (Dave
1161 Rolsky, Paul Fenwick)
1163 0.54 Thurs. July 3, 2008
1164 ... this is not my day today ...
1166 * Moose::Meta::Attribute
1167 - fixed legal_options_for_inheritance such that
1168 clone_and_inherit options still works for
1169 Class::MOP::Attribute objects and therefore
1170 does not break MooseX::AttributeHelpers
1173 0.53 Thurs. July 3, 2008
1174 * Whoops, I guess I should run 'make manifest' before
1175 actually releasing the module. No actual changes
1176 in this release, except the fact that it includes
1177 the changes that I didn't include in the last
1180 0.52 Thurs. July 3, 2008
1182 - added "FEATURE REQUESTS" section to the Moose docs
1183 to properly direct people (stevan) (RT #34333)
1184 - making 'extends' croak if it is passed a Role since
1185 this is not ever something you want to do
1186 (fixed by stevan, found by obra)
1187 - added tests for this (stevan)
1190 - adding support for DOES (as in UNIVERSAL::DOES)
1192 - added test for this
1194 * Moose::Meta::Attribute
1195 - added legal_options_for_inheritance (wreis)
1196 - added tests for this (wreis)
1198 * Moose::Cookbook::Snacks::*
1199 - removed some of the unfinished snacks that should
1200 not have been released yet. Added some more examples
1201 to the 'Keywords' snack. (stevan)
1203 * Moose::Cookbook::Style
1204 - added general Moose "style guide" of sorts to the
1205 cookbook (nothingmuch) (RT #34335)
1208 - added more BUILDARGS tests (stevan)
1210 0.51 Thurs. Jun 26, 2008
1212 - add unimport so "no Moose::Role" actually does
1215 * Moose::Meta::Role::Application::ToRole
1216 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1217 order to provide its own implementation, that method still got
1218 added to the list of required methods for consumers of
1219 RoleB. Now an aliased method is only added to the list of
1220 required methods if the role doing the aliasing does not
1221 provide its own implementation. See Recipe 11 for an example
1222 of all this. (Dave Rolsky)
1223 - added tests for this
1225 * Moose::Meta::Method::Constructor
1226 - when a single argument that wasn't a hashref was provided to
1227 an immutabilized constructor, the error message was very
1228 unhelpful, as opposed to the non-immutable error. Reported by
1230 - added test for this (Dave Rolsky)
1232 * Moose::Meta::Attribute
1233 - added support for meta_attr->does("ShortAlias") (sartak)
1234 - added tests for this (sartak)
1235 - moved the bulk of the `handles` handling to the new
1236 install_delegation method (Stevan)
1239 - Added BUILDARGS, a new step in new()
1241 * Moose::Meta::Role::Application::RoleSummation
1242 - fix typos no one ever sees (sartak)
1244 * Moose::Util::TypeConstraints
1245 * Moose::Meta::TypeConstraint
1246 * Moose::Meta::TypeCoercion
1247 - Attempt to work around the ??{ } vs. threads issue
1249 - Some null_constraint optimizations
1251 0.50 Thurs. Jun 11, 2008
1252 - Fixed a version number issue by bumping all modules
1255 0.49 Thurs. Jun 11, 2008
1256 !! This version now approx. 20-25% !!
1257 !! faster with new Class::MOP 0.59 !!
1259 * Moose::Meta::Attribute
1260 - fixed how the is => (ro|rw) works with
1261 custom defined reader, writer and accessor
1263 - added docs for this (TODO).
1264 - added tests for this (Thanks to Penfold)
1265 - added the custom attribute alias for regular
1266 Moose attributes which is "Moose"
1267 - fix builder and default both being used
1272 Moose::Meta::Attribute
1274 Moose::Meta::Role::Composite
1275 Moose::Util::TypeConstraints
1276 - switched usage of reftype to ref because
1280 - changing add_package_symbol to use the new
1284 - fixed how DEMOLISHALL is called so that it
1285 can be overrided in subclasses (thanks to Sartak)
1286 - added test for this (thanks to Sartak)
1288 * Moose::Util::TypeConstraints
1289 - move the ClassName type check code to
1290 Class::MOP::is_class_loaded (thanks to Sartak)
1292 * Moose::Cookbook::Recipe11
1293 - add tests for this (thanks to tokuhirom)
1295 0.48 Thurs. May 29, 2008
1296 (early morning release engineering)--
1298 - fixing the version in Moose::Meta::Method::Destructor
1299 which was causing the indexer to choke
1301 0.47 Thurs. May 29, 2008
1302 (late night release engineering)--
1304 - fixing the version is META.yml, no functional
1305 changes in this release
1307 0.46 Wed. May 28, 2008
1308 !! This version now approx. 20-25% !!
1309 !! faster with new Class::MOP 0.57 !!
1311 * Moose::Meta::Class
1312 - some optimizations of the &initialize method
1313 since it is called so often by &meta
1315 * Moose::Meta::Class
1317 - now use the get_all_package_symbols from the
1318 updated Class::MOP, test suite is now 10 seconds
1321 * Moose::Meta::Method::Destructor
1322 - is_needed can now also be called as a class
1323 method for immutablization to check if the
1324 destructor object even needs to be created
1327 * Moose::Meta::Method::Destructor
1328 Moose::Meta::Method::Constructor
1329 - added more descriptive error message to help
1330 keep people from wasting time tracking an error
1331 that is easily fixed by upgrading.
1333 0.45 Saturday, May 24, 2008
1335 - Because of work in Class::MOP 0.57, all
1336 XS based functionality is now optional
1337 and a Pure Perl version is supplied
1338 - the CLASS_MOP_NO_XS environment variable
1339 can now be used to force non-XS versions
1341 - several of the packages have been tweaked
1342 to take care of this, mostly we added
1343 support for the package_name and name
1344 variables in all the Method metaclasses
1345 - before/around/after method modifiers now
1346 support regexp matching of names
1347 (thanks to Takatoshi Kitano)
1348 - tests added for this
1349 - NOTE: this only works for classes, it
1350 is currently not supported in roles,
1351 but, ... patches welcome
1352 - All usage of Carp::confess have been replaced
1353 by Carp::croak in the "keyword" functions since
1354 the stack trace is usually not helpful
1357 - All usage of Carp::confess have been replaced
1358 by Carp::croak in the "keyword" functions since
1359 the stack trace is usually not helpful
1360 - The 'has' keyword for roles now accepts the
1361 same array ref form that Moose.pm does
1362 (has [qw/foo bar/] => (is => 'rw', ...))
1363 - added test for this
1365 * Moose::Meta::Attribute
1366 - trigger on a ro-attribute is no longer an
1367 error, as it's useful to trigger off of the
1370 * Moose::Meta::Class
1371 - added same 'add_package_symbol' fix as in
1375 - does_role now handles non-Moose classes
1377 - added tests for this
1378 - added the 'add_method_modifier' function
1379 (thanks to Takatoshi Kitano)
1381 * Moose::Util::TypeConstraints
1382 - subtypes of parameterizable types now are
1383 themselves parameterizable types
1385 * Moose::Meta::Method::Constructor
1386 - fixed bug where trigger was not being
1387 called by the inlined immutable
1389 - added test for this (thanks to Caelum)
1391 * Moose::Meta::Role::Application::ToInstance
1392 - now uses the metaclass of the instance
1393 (if possible) to create the anon-class
1394 (thanks Jonathan Rockway)
1396 * Moose::Cookbook::Recipe22
1397 - added the meta-attribute trait recipe
1401 - fixed hash-ordering test bug that was
1402 causing occasional cpantester failures
1403 - renamed the t/000_recipe/*.t tests to be
1404 more descriptive (thanks to Sartak)
1406 0.44 Sat. May 10, 2008
1408 - made make_immutable warning cluck to
1409 show where the error is (thanks mst)
1412 - BUILDALL and DEMOLISHALL now call
1413 ->body when looping through the
1414 methods, to avoid the overloaded
1416 - fixed issue where DEMOLISHALL was
1417 eating the $@ values, and so not
1418 working correctly, it still kind of
1419 eats them, but so does vanilla perl
1420 - added tests for this
1422 * Moose::Cookbook::Recipe7
1423 - added new recipe for immutable
1424 functionality (thanks Dave Rolsky)
1426 * Moose::Cookbook::Recipe9
1427 - added new recipe for builder and
1428 lazy_build (thanks Dave Rolsky)
1430 * Moose::Cookbook::Recipe11
1431 - added new recipe for method aliasing
1432 and exclusion with Roles (thanks Dave Rolsky)
1435 - fixed Win32 test failure (thanks spicyjack)
1437 ~ removed Build.PL and Module::Build compat
1438 since Module::Install has done that.
1440 0.43 Wed. April, 30, 2008
1442 drink more coffee before
1443 doing release engineering
1445 - whoops, forgot to do the smolder tests,
1446 and we broke some of the custom meta-attr
1447 modules. This fixes that.
1449 0.42 Mon. April 28, 2008
1450 - some bad tests slipped by, nothing else
1451 changed in this release (cpantesters++)
1453 - upped the Class::MOP dependency to 0.55
1454 since we have tests which need the C3
1457 0.41 Mon. April 28, 2008
1458 ~~ numerous documentation updates ~~
1460 - Changed all usage of die to Carp::croak for better
1461 error reporting (initial patch by Tod Hagan)
1463 ** IMPORTANT NOTE **
1464 - the make_immutable keyword is now deprecated, don't
1465 use it in any new code and please fix your old code
1466 as well. There will be 2 releases, and then it will
1472 - refactored the way inner and super work to avoid
1473 any method/@ISA cache penalty (nothingmuch)
1475 * Moose::Meta::Class
1476 - fixing &new_object to make sure trigger gets the
1477 coerced value (spotted by Charles Alderman on the
1479 - added test for this
1481 * Moose::Meta::Method::Constructor
1482 - immutable classes which had non-lazy attributes were calling
1483 the default generating sub twice in the constructor. (bug
1484 found by Jesse Luehrs, fixed by Dave Rolsky)
1485 - added tests for this (Dave Rolsky)
1486 - fix typo in initialize_body method (nothingmuch)
1488 * Moose::Meta::Method::Destructor
1489 - fix typo in initialize_body method (nothingmuch)
1491 * Moose::Meta::Method::Overriden
1492 Moose::Meta::Method::Augmented
1493 - moved the logic for these into their own
1494 classes (nothingmuch)
1496 * Moose::Meta::Attribute
1497 - inherited attributes may now be extended without
1498 restriction on the type ('isa', 'does') (Sartak)
1499 - added tests for this (Sartak)
1500 - when an attribute property is malformed (such as lazy without
1501 a default), give the name of the attribute in the error
1503 - added the &applied_traits and &has_applied_traits methods
1504 to allow introspection of traits
1505 - added tests for this
1506 - moved 'trait' and 'metaclass' argument handling to here from
1508 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1509 '+foo' syntax) (nothingmuch)
1510 - added tests for this (t0m)
1513 - localize $@ inside DEMOLISHALL to avoid it
1514 eating $@ (found by Ernesto)
1515 - added test for this (thanks to Ernesto)
1517 * Moose::Util::TypeConstraints
1518 - &find_type_constraint now DWIMs when given an
1519 type constraint object or name (nothingmuch)
1520 - &find_or_create_type_constraint superseded with a number of more
1522 - find_or_create_{isa,does}_type_constraint
1523 - find_or_parse_type_constraint
1525 * Moose::Meta::TypeConstraint
1526 Moose::Meta::TypeConstraint::Class
1527 Moose::Meta::TypeConstraint::Role
1528 Moose::Meta::TypeConstraint::Enum
1529 Moose::Meta::TypeConstraint::Union
1530 Moose::Meta::TypeConstraint::Parameterized
1531 - added the &equals method for comparing two type
1532 constraints (nothingmuch)
1533 - added tests for this (nothingmuch)
1535 * Moose::Meta::TypeConstraint
1536 - add the &parents method, which is just an alias to &parent.
1537 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1539 * Moose::Meta::TypeConstraint::Class
1540 - added the class attribute for introspection purposes
1542 - added tests for this
1544 * Moose::Meta::TypeConstraint::Enum
1545 Moose::Meta::TypeConstraint::Role
1546 - broke these out into their own classes (nothingmuch)
1548 * Moose::Cookbook::Recipe*
1549 - fixed references to test file locations in the POD
1550 and updated up some text for new Moose features
1554 - Added &resolve_metaclass_alias, a helper function for finding an actual
1555 class for a short name (e.g. in the traits list)
1557 0.40 Fri. March 14, 2008
1558 - I hate Pod::Coverage
1560 0.39 Fri. March 14, 2008
1562 - documenting the use of '+name' with attributes
1563 that come from recently composed roles. It makes
1564 sense, people are using it, and so why not just
1565 officially support it.
1566 - fixing the 'extends' keyword so that it will not
1567 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1570 - added the perl -Moose=+Class::Name feature to allow
1571 monkeypatching of classes in one liners
1574 - fixing the 'apply_all_roles' keyword so that it will not
1575 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1577 * Moose::Meta::Class
1578 - added ->create method which now supports roles (thanks to jrockway)
1579 - added tests for this
1580 - added ->create_anon_class which now supports roles and caching of
1581 the results (thanks to jrockway)
1582 - added tests for this
1583 - made ->does_role a little more forgiving when it is
1584 checking a Class::MOP era metaclasses.
1586 * Moose::Meta::Role::Application::ToInstance
1587 - it is now possible to pass extra params to be used when
1588 a role is applied to an the instance (rebless_params)
1589 - added tests for this
1591 * Moose::Util::TypeConstraints
1592 - class_type now accepts an optional second argument for a
1593 custom message. POD anotated accordingly (groditi)
1594 - added tests for this
1595 - it is now possible to make anon-enums by passing 'enum' an
1596 ARRAY ref instead of the $name => @values. Everything else
1598 - added tests for this
1601 - making test for using '+name' on attributes consumed
1602 from a role, it works and makes sense too.
1604 * Moose::Meta::Attribute
1605 - fix handles so that it doesn't return nothing
1606 when the method cannot be found, not sure why
1607 it ever did this originally, this means we now
1608 have slightly better support for AUTOLOADed
1610 - added more delegation tests
1611 - adding ->does method to this so as to better
1612 support traits and their introspection.
1613 - added tests for this
1616 - localizing the Data::Dumper configurations so
1617 that it does not pollute others (RT #33509)
1618 - made ->does a little more forgiving when it is
1619 passed Class::MOP era metaclasses.
1621 0.38 Fri. Feb. 15, 2008
1622 * Moose::Meta::Attribute
1623 - fixed initializer to correctly do
1624 type checking and coercion in the
1626 - added tests for this
1629 - fixed some finicky tests (thanks to konobi)
1631 0.37 Thurs. Feb. 14, 2008
1633 - fixed some details in Moose::init_meta
1634 and its superclass handling (thanks thepler)
1635 - added tests for this (thanks thepler)
1636 - 'has' now dies if you don't pass in name
1638 - added the 'make_immutable' keyword as a shortcut
1641 * Moose::Meta::Class
1642 Moose::Meta::Method::Constructor
1643 Moose::Meta::Attribute
1644 - making (init_arg => undef) work here too
1645 (thanks to nothingmuch)
1647 * Moose::Meta::Attribute
1648 Moose::Meta::Method::Constructor
1649 Moose::Meta::Method::Accessor
1650 - make lazy attributes respect attr initializers (rjbs)
1651 - added tests for this
1653 * Moose::Util::TypeConstraints
1654 Moose::Util::TypeConstraints::OptimizedConstraints
1655 Moose::Meta::TypeConstraints
1656 Moose::Meta::Attribute
1657 Moose::Meta::Method::Constructor
1658 Moose::Meta::Method::Accessor
1659 - making type errors use the
1660 assigned message (thanks to Sartak)
1661 - added tests for this
1663 * Moose::Meta::Method::Destructor
1664 - making sure DESTROY gets inlined properly
1665 with successive DEMOLISH calls (thanks to manito)
1667 * Moose::Meta::Attribute
1668 Moose::Meta::Method::Accessor
1669 - fixed handling of undef with type constraints
1671 - added tests for this
1674 - added &get_all_init_args and &get_all_attribute_values
1675 (thanks to Sartak and nothingmuch)
1677 0.36 Sat. Jan. 26, 2008
1679 Moose::Meta::Attribute
1680 - role type tests now support when roles are
1681 applied to non-Moose classes (found by ash)
1682 - added tests for this (thanks to ash)
1683 - couple extra tests to boost code coverage
1685 * Moose::Meta::Method::Constructor
1686 - improved fix for handling Class::MOP attributes
1687 - added test for this
1689 * Moose::Meta::Class
1690 - handled the add_attribute($attribute_meta_object)
1692 - added test for this
1694 0.35 Tues. Jan. 22, 2008
1695 * Moose::Meta::Method::Constructor
1696 - fix to make sure even Class::MOP attributes
1697 are handled correctly (Thanks to Dave Rolsky)
1698 - added test for this (also Dave Rolsky)
1700 * Moose::Meta::Class
1701 - improved error message on _apply_all_roles,
1702 you should now use Moose::Util::apply_all_roles
1703 and you shouldnt have been using a _ prefixed
1704 method in the first place ;)
1706 0.34 Mon. Jan. 21, 2008
1707 ~~~ more misc. doc. fixes ~~~
1708 ~~ updated copyright dates ~~
1710 Moose is now a postmodern object system :)
1711 - (see the POD for details)
1713 * <<Role System Refactoring>>
1714 - this release contains a major reworking and
1715 cleanup of the role system
1716 - 100% backwards compat.
1717 - Role application now restructured into seperate
1718 classes based on type of applicants
1719 - Role summation (combining of more than one role)
1720 is much cleaner and anon-classes are no longer
1721 used in this process
1722 - new Composite role metaclass
1723 - runtime application of roles to instances
1724 is now more efficient and re-uses generated
1725 classes when applicable
1727 * <<New Role composition features>>
1728 - methods can now be excluded from a given role
1730 - methods can now be aliased to another name (and
1731 still retain the original as well)
1733 * Moose::Util::TypeConstraints::OptimizedConstraints
1734 - added this module (see above)
1736 * Moose::Meta::Class
1737 - fixed the &_process_attribute method to be called
1738 by &add_attribute, so that the API is now correct
1740 * Moose::Meta::Method::Accessor
1741 - fixed bug when passing a list of values to
1742 an accessor would get (incorrectly) ignored.
1743 Thanks to Sartak for finding this ;)
1744 - added tests for this (Sartak again)
1746 * Moose::Meta::Method::Accessor
1747 Moose::Meta::Method::Constructor
1748 Moose::Meta::Attribute
1749 Moose::Meta::TypeConstraint
1750 Moose::Meta::TypeCoercion
1751 - lots of cleanup of such things as:
1753 - type constraint handling
1754 - error handling/messages
1755 (thanks to nothingmuch)
1757 * Moose::Meta::TypeConstraint::Parameterizable
1758 - added this module to support the refactor
1759 in Moose::Meta::TypeConstraint::Parameterized
1761 * Moose::Meta::TypeConstraint::Parameterized
1762 - refactored how these types are handled so they
1763 are more generic and not confined to ArrayRef
1767 - shortened some file names for better VMS support (RT #32381)
1769 0.33 Fri. Dec. 14, 2007
1770 !! Moose now loads 2 x faster !!
1771 !! with new Class::MOP 0.49 !!
1773 ++ new oose.pm module to make command line
1774 Moose-ness easier (see POD docs for more)
1776 * Moose::Meta::Class
1778 - several tweaks to take advantage of the
1779 new method map caching in Class::MOP
1781 * Moose::Meta::TypeConstraint::Parameterized
1782 - allow subtypes of ArrayRef and HashRef to
1783 be used as a container (sartak)
1784 - added tests for this
1785 - basic support for coercion to ArrayRef and
1786 HashRef for containers (sartak)
1787 - added tests for this
1789 * Moose::Meta::TypeCoercion
1790 - coercions will now create subtypes as needed
1791 so you can now add coercions to parameterized
1792 types without having to explictly define them
1793 - added tests for this
1795 * Moose::Meta::Method::Accessor
1796 - allow subclasses to decide whether we need
1797 to copy the value into a new variable (sartak)
1799 0.32 Tues. Dec. 4, 2007
1800 * Moose::Util::TypeConstraints
1801 - fixing how subtype aliases of unions work
1802 they should inherit the parent's coercion
1803 - added tests for this
1804 - you can now define multiple coercions on
1805 a single type at different times instead of
1806 having to do it all in one place
1807 - added tests for this
1809 * Moose::Meta::TypeConstraint
1810 - there is now a default constraint of sub { 1 }
1811 instead of Moose::Util::TypeConstraints setting
1814 * Moose::Meta::TypeCoercion
1815 * Moose::Meta::TypeCoercion::Union
1816 - added the &has_coercion_for_type and
1817 &add_type_coercions methods to support the
1818 new features above (although you cannot add
1819 more type coercions for Union types)
1821 0.31 Mon. Nov. 26, 2007
1822 * Moose::Meta::Attribute
1823 - made the +attr syntax handle extending types with
1824 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1825 now works if the original foo is an ArrayRef.
1826 - added tests for this.
1827 - delegation now works even if the attribute does not
1828 have a reader method using the get_read_method_ref
1829 method from Class::MOP::Attribute.
1830 - added tests for this
1831 - added docs for this
1833 * Moose::Util::TypeConstraints
1834 - passing no "additional attribute info" to
1835 &find_or_create_type_constraint will no longer
1836 attempt to create an __ANON__ type for you,
1837 instead it will just return undef.
1838 - added docs for this
1840 0.30 Fri. Nov. 23, 2007
1841 * Moose::Meta::Method::Constructor
1842 -builder related bug in inlined constructor. (groditi)
1844 * Moose::Meta::Method::Accessor
1845 - genereate unnecessary calls to predicates and refactor
1846 code generation for runtime speed (groditi)
1848 * Moose::Util::TypeConstraints
1849 - fix ClassName constraint to introspect symbol table (mst)
1850 - added more tests for this (mst)
1851 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1852 with work correctly.
1853 - added tests for this
1856 - adding the link to Recipie 11 (written by Sartak)
1857 - adding test for SYNOPSIS code
1860 - New tests for builder bug. Upon instantiation, if an
1861 attribute had a builder, no value and was not lazy the
1862 builder default was not getting run, oops. (groditi)
1864 0.29 Tues. Nov. 13, 2007
1865 * Moose::Meta::Attribute
1866 - Fix error message on missing builder method (groditi)
1868 * Moose::Meta::Method::Accessor
1869 - Fix error message on missing builder method (groditi)
1872 - Add test to check for the correct error message when
1873 builder method is missing (groditi)
1875 0.28 Tues. Nov. 13, 2007
1876 - 0.27 packaged incorrectly (groditi)
1878 0.27 Tues. Nov. 13, 2007
1879 * Moose::Meta::Attribute
1880 - Added support for the new builder option (groditi)
1881 - Added support for lazy_build option (groditi)
1882 - Changed slot initialization for predicate changes (groditi)
1884 * Moose::Meta::Method::Accessor
1885 - Added support for lazy_build option (groditi)
1886 - Fix inline methods to work with corrected predicate
1889 * Moose::Meta::Method::Constructor
1890 - Added support for lazy_build option (groditi)
1893 - tests for builder and lazy_build (groditi)
1895 * fixing some misc. bits in the docs that
1896 got mentioned on CPAN Forum & perlmonks
1899 - fixed how required methods are handled
1900 when they encounter overriden or modified
1901 methods from a class (thanks to confound).
1902 - added tests for this
1904 * Moose::Util::TypeConstraint
1905 - fixed the type notation parser so that
1906 the | always creates a union and so is
1907 no longer a valid type char (thanks to
1908 konobi, mugwump and #moose for working
1910 - added more tests for this
1912 0.26 Thurs. Sept. 27, 2007
1915 * Parameterized Types
1916 We now support parameterized collection types, such as:
1917 ArrayRef[Int] # array or integers
1918 HashRef[Object] # a hash with object values
1919 They can also be nested:
1920 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1921 And work with the type unions as well:
1922 ArrayRef[Int | Str] # array of integers of strings
1924 * Better Framework Extendability
1925 Moose.pm is now "extendable" such that it is now much
1926 easier to extend the framework and add your own keywords
1927 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1928 section of the Moose.pm docs.
1931 In an effort to begin documenting some of the various
1932 details of Moose as well as some common idioms, we have
1933 created Moose::Cookbook::Snacks as a place to find
1934 small (easily digestable) nuggets of Moose code.
1937 ~ Several doc updates/cleanup thanks to castaway ~
1939 - converted build system to use Module::Install instead of
1940 Module::Build (thanks to jrockway)
1943 - added all the meta classes to the immutable list and
1944 set it to inline the accessors
1945 - fix import to allow Sub::Exporter like { into => }
1946 and { into_level => } (perigrin)
1947 - exposed and documented init_meta() to allow better
1948 embedding and extending of Moose (perigrin)
1951 - complete re-organization of the test suite
1952 - added some new tests as well
1953 - finally re-enabled the Moose::POOP test since
1954 the new version of DBM::Deep now works again
1957 * Moose::Meta::Class
1958 - fixed very odd and very nasty recursion bug with
1960 - added tests for this (eilara)
1962 * Moose::Meta::Attribute
1963 Moose::Meta::Method::Constructor
1964 Moose::Meta::Method::Accessor
1965 - fixed issue with overload::Overloaded getting called
1966 on non-blessed items. (RT #29269)
1967 - added tests for this
1969 * Moose::Meta::Method::Accessor
1970 - fixed issue with generated accessor code making
1971 assumptions about hash based classes (thanks to dexter)
1973 * Moose::Coookbook::Snacks
1974 - these are bits of documentation, not quite as big as
1975 Recipes but which have no clear place in the module docs.
1976 So they are Snacks! (horray for castaway++)
1978 * Moose::Cookbook::Recipe4
1979 - updated it to use the new ArrayRef[MyType] construct
1980 - updated the accompanying test as well
1982 +++ Major Refactor of the Type Constraint system +++
1983 +++ with new features added as well +++
1985 * Moose::Util::TypeConstraint
1986 - no longer uses package variable to keep track of
1987 the type constraints, now uses the an instance of
1988 Moose::Meta::TypeConstraint::Registry to do it
1989 - added more sophisticated type notation parsing
1991 - added tests for this
1993 * Moose::Meta::TypeConstraint
1994 - some minor adjustments to make subclassing easier
1995 - added the package_defined_in attribute so that we
1996 can track where the type constraints are created
1998 * Moose::Meta::TypeConstraint::Union
1999 - this is now been refactored to be a subclass of
2000 Moose::Meta::TypeConstraint
2002 * Moose::Meta::TypeCoercion::Union
2003 - this has been added to service the newly refactored
2004 Moose::Meta::TypeConstraint::Union and is itself
2005 a subclass of Moose::Meta::TypeCoercion
2007 * Moose::Meta::TypeConstraint::Parameterized
2008 - added this module (taken from MooseX::AttributeHelpers)
2009 to help construct nested collection types
2010 - added tests for this
2012 * Moose::Meta::TypeConstraint::Registry
2013 - added this class to keep track of type constraints
2015 0.25 Mon. Aug. 13, 2007
2017 - Documentation update to reference Moose::Util::TypeConstraints
2018 under 'isa' in 'has' for how to define a new type
2019 (thanks to shlomif).
2021 * Moose::Meta::Attribute
2022 - required attributes now will no longer accept undef
2023 from the constructor, even if there is a default and lazy
2024 - added tests for this
2025 - default subroutines must return a value which passes the
2027 - added tests for this
2029 * Moose::Meta::Attribute
2030 * Moose::Meta::Method::Constructor
2031 * Moose::Meta::Method::Accessor
2032 - type-constraint tests now handle overloaded objects correctly
2033 in the error message
2034 - added tests for this (thanks to EvanCarroll)
2036 * Moose::Meta::TypeConstraint::Union
2037 - added (has_)hand_optimized_constraint to this class so that
2038 it behaves as the regular Moose::Meta::TypeConstraint does.
2041 - large refactoring of this code
2042 - added several more tests
2043 - tests for subtle conflict resolition issues
2044 added, but not currently running
2047 * Moose::Cookbook::Recipe7
2048 - added new recipe for augment/inner functionality
2050 - added test for this
2053 - a formal definition of roles (still in progress)
2056 - utilities for easier working with Moose classes
2057 - added tests for these
2060 - This contains Moose specific test functions
2061 - added tests for these
2063 0.24 Tues. July 3, 2007
2064 ~ Some doc updates/cleanup ~
2066 * Moose::Meta::Attribute
2067 - added support for roles to be given as parameters
2068 to the 'handles' option.
2069 - added tests and docs for this
2070 - the has '+foo' attribute form now accepts changes to
2071 the lazy option, and the addition of a handles option
2072 (but not changing the handles option)
2073 - added tests and docs for this
2076 - required methods are now fetched using find_method_by_name
2077 so that required methods can come from superclasses
2078 - adjusted tests for this
2080 0.23 Mon. June 18, 2007
2081 * Moose::Meta::Method::Constructor
2082 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
2083 * Moose::Meta::Class
2084 - Modify make_immutable to work with the new Class::MOP immutable
2085 mechanism + POD + very basic test (groditi)
2086 * Moose::Meta::Attribute
2087 - Fix handles to use goto() so that caller() comes out properly on
2088 the other side (perigrin)
2090 0.22 Thurs. May 31, 2007
2091 * Moose::Util::TypeConstraints
2092 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
2093 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
2094 prototypes for functions
2095 - added the ClassName type constraint, this checks for strings
2096 which will respond true to ->isa(UNIVERSAL).
2097 - added tests and docs for this
2098 - subtyping just in name now works correctly by making the
2099 default for where be { 1 }
2100 - added test for this
2102 * Moose::Meta::Method::Accessor
2103 - coerce and lazy now work together correctly, thanks to
2104 merlyn for finding this bug
2105 - tests added for this
2106 - fix reader presedence bug in Moose::Meta::Attribute + tests
2109 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
2110 a HASH-ref and missed. This produces better error messages then
2111 having it die cause undef is not a HASH.
2112 - added tests for this
2114 0.21 Thursday, May 2nd, 2007
2116 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
2117 - modified unimport to remove super and inner along with the rest
2118 - altered unimport tests to handle this
2121 - altered super export to populate SUPER_SLOT
2123 * Moose::Meta::Class
2124 - altered augment and override modifier application to use *_SLOT
2125 - modified tests for these to unimport one test class each to test
2128 - fixed issue where custom attribute metaclasses
2129 where not handled correctly in roles
2130 - added tests for this
2132 * Moose::Meta::Class
2133 - fixed issue where extending metaclasses with
2134 roles would blow up. Thanks to Aankhen`` for
2135 finding this insidious error, and it's solution.
2137 ~~ lots of spelling and grammer fixes in the docs,
2138 many many thanks to rlb3 and Aankhen for these :)
2140 0.20 Friday, April 6th, 2007
2141 >> I messed up the SKIP logic in one test
2142 so this release is just to fix that.
2145 - 'has' now also accepts an ARRAY ref
2146 to create multiple attrs (see docs)
2147 (thanks to konobi for this)
2148 - added tests and docs
2150 0.19 Thurs. April 5th, 2007
2151 ~~ More documentation updates ~~
2153 * Moose::Util::TypeConstraints
2154 - 'type' now supports messages as well
2155 thanks to phaylon for finding this
2156 - added tests for this
2157 - added &list_all_type_constraints and
2158 &list_all_builtin_type_constraints
2159 functions to facilitate introspection.
2161 * Moose::Meta::Attribute
2162 - fixed regexp 'handles' declarations
2163 to build the list of delegated methods
2164 correctly (and not override important
2165 things like &new) thanks to ashleyb
2167 - added tests and docs for this
2168 - added the 'documentation' attributes
2169 so that you can actually document your
2170 attributes and inspect them through the
2172 - added tests and docs for this
2174 * Moose::Meta::Class
2175 - when loading custom attribute metaclasses
2176 it will first look in for the class in the
2177 Moose::Meta::Attribute::Custom::$name, and
2178 then default to just loading $name.
2179 - added tests and docs for this
2181 * Moose::Meta::TypeConstraint
2182 - type constraints now stringify to their names.
2183 - added test for this
2186 - added tests to assure we work with Module::Refresh
2187 - added stricter test skip logic in the Moose POOP
2188 test, ask Rob Kinyon why.
2189 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
2191 0.18 Sat. March 10, 2007
2192 ~~ Many, many documentation updates ~~
2195 - We now use Class::MOP::load_class to
2197 - added tests to show types and subtypes
2198 working with Declare::Constraints::Simple
2199 and Test::Deep as constraint engines.
2202 !! You must have Class::MOP 0.37_001 !!
2203 !! for this developer release to work !!
2205 This release was primarily adding the immutable
2206 feature to Moose. An immutable class is one which
2207 you promise not to alter. When you set the class
2208 as immutable it will perform various bits of
2209 memoization and inline certain part of the code
2210 (constructors, destructors and accessors). This
2211 minimizes (and in some cases totally eliminates)
2212 one of Moose's biggest performance hits. This
2213 feature is not on by default, and is 100% optional.
2214 It has several configurable bits as well, so you
2215 can pick and choose to your specific needs.
2217 The changes involved in this were fairly wide and
2218 highly specific, but 100% backwards compatible, so
2219 I am not going to enumerate them here. If you are
2220 truely interested in what was changed, please do
2223 0.17 Tues. Nov. 14, 2006
2224 * Moose::Meta::Method::Accessor
2225 - bugfix for read-only accessors which
2226 are have a type constraint and lazy.
2227 Thanks to chansen for finding it.
2229 0.16 Tues. Nov. 14, 2006
2231 There are some speed improvements in this release,
2232 but they are only the begining, so stay tuned.
2235 - BUILDALL and DEMOLISHALL no longer get
2236 called unless they actually need to be.
2237 This gave us a signifigant speed boost
2238 for the cases when there is no BUILD or
2239 DEMOLISH method present.
2241 * Moose::Util::TypeConstraints
2242 * Moose::Meta::TypeConstraint
2243 - added an 'optimize_as' option to the
2244 type constraint, which allows for a
2245 hand optimized version of the type
2246 constraint to be used when possible.
2247 - Any internally created type constraints
2248 now provide an optimized version as well.
2250 0.15 Sun. Nov. 5, 2006
2252 This version of Moose *must* have Class::MOP 0.36 in order
2253 to work correctly. A number of small internal tweaks have
2254 been made in order to be compatible with that release.
2256 * Moose::Util::TypeConstraints
2257 - added &unimport so that you can clean out
2258 your class namespace of these exported
2261 * Moose::Meta::Class
2262 - fixed minor issue which occasionally
2263 comes up during global destruction
2265 - moved Moose::Meta::Method::Overriden into
2269 - moved Moose::Meta::Role::Method into
2272 * Moose::Meta::Attribute
2273 - changed how we do type checks so that
2274 we reduce the overall cost, but still
2277 - moved accessor generation methods to
2278 Moose::Meta::Method::Accessor to
2279 conform to the API changes from
2282 * Moose::Meta::TypeConstraint
2283 - changed how constraints are compiled
2284 so that we do less recursion and more
2285 iteration. This makes the type check
2287 - moved Moose::Meta::TypeConstraint::Union
2290 * Moose::Meta::Method::Accessor
2291 - created this from methods formerly found in
2292 Moose::Meta::Attribute
2294 * Moose::Meta::Role::Method
2295 - moved this from Moose::Meta::Role
2297 * Moose::Meta::Method::Overriden
2298 - moved this from Moose::Meta::Class
2300 * Moose::Meta::TypeConstraint::Union
2301 - moved this from Moose::Meta::TypeConstraint
2303 0.14 Mon. Oct. 9, 2006
2305 * Moose::Meta::Attribute
2306 - fixed lazy attributes which were not getting
2307 checked with the type constraint (thanks ashley)
2308 - added tests for this
2309 - removed the over-enthusiastic DWIMery of the
2310 automatic ArrayRef and HashRef defaults, it
2311 broke predicates in an ugly way.
2312 - removed tests for this
2314 0.13 Sat. Sept. 30, 2006
2316 This version of Moose *must* have Class::MOP 0.35 in order
2317 to work correctly. A number of small internal tweaks have
2318 been made in order to be compatible with that release.
2321 - Removed the use of UNIVERSAL::require to be a better
2322 symbol table citizen and remove a dependency
2323 (thanks Adam Kennedy)
2325 **~~ removed experimental & undocumented feature ~~**
2326 - commented out the 'method' and 'self' keywords, see the
2327 comments for more info.
2330 - added a FAQ and WTF files to document frequently
2331 asked questions and common problems
2333 * Moose::Util::TypeConstraints
2334 - added GlobRef and FileHandle type constraint
2335 - added tests for this
2337 * Moose::Meta::Attribute
2338 - if your attribute 'isa' ArrayRef of HashRef, and you have
2339 not explicitly set a default, then make the default DWIM.
2340 This will also work for subtypes of ArrayRef and HashRef
2342 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2343 - new test added for this (thanks to ashley)
2346 - added basic support for runtime role composition
2347 but this is still *highly experimental*, so feedback
2348 is much appreciated :)
2349 - added tests for this
2351 * Moose::Meta::TypeConstraint
2352 - the type constraint now handles the coercion process
2353 through delegation, this is to support the coercion
2356 * Moose::Meta::TypeConstraint::Union
2357 - it is now possible for coercions to be performed
2359 - added tests for this (thanks to konobi)
2361 * Moose::Meta::TypeCoercion
2362 - properly capturing error when type constraint
2366 - Scalar::Util 1.18 is bad on Win32, so temporarily
2367 only require version 1.17 for Win32 and cygwin.
2368 (thanks Adam Kennedy)
2370 0.12 Sat. Sept. 1, 2006
2372 - Recipe5 (subtypes & coercion) has been written
2375 - fixed "bad meta" error message to be more descriptive
2376 - fixed &unimport to not remove the &inner and &super
2377 keywords because we need to localize them.
2378 - fixed number of spelling/grammer issues, thanks Theory :)
2380 **~~ experimental & undocumented feature ~~**
2381 - added the method and self keywords, they are basically
2382 just sugar, and they may not stay around.
2385 - added &dump method to easily Data::Dumper
2388 * Moose::Meta::TypeConstraint
2389 - added the &is_a_type_of method to check both the current
2390 and the subtype of a method (similar to &isa with classes)
2393 - this is now a subclass of Class::MOP::Module, and no longer
2394 creates the _role_meta ugliness of before.
2395 - fixed tests to reflect this change
2397 0.11 Wed. July 12, 2006
2399 - added an &unimport method to remove all the keywords
2400 that Moose will import, simply add 'no Moose' to the
2401 bottom of your class file.
2404 - fixed some test failures caused by a forgotten test
2407 0.10 Thurs. July 6, 2006
2409 - improved error message when loading modules so
2410 it is less confusing when you load a role.
2411 - added &calculate_all_roles method to
2412 Moose::Meta::Class and Moose::Meta::Role
2415 This module has been tested against Class::MOP 0.30
2416 but it does not yet utilize the optimizations
2417 it makes available. Stay tuned for that ;)
2419 0.09_03 Fri. June 23, 2006
2420 ++ DEVELOPER RELEASE ++
2422 - 'use strict' and 'use warnings' are no longer
2423 needed in Moose classes, Moose itself will
2424 turn them on for you.
2425 - added tests for this
2426 - moved code from exported subs to private methods
2427 in Moose::Meta::Class
2430 - as with Moose, strict and warnings are
2431 automatically turned on for you.
2432 - added tests for this
2435 - now handles an edge case for override errors
2436 - added tests for this
2437 - added some more edge case tests
2439 0.09_02 Tues. May 16, 2006
2440 ++ DEVELOPER RELEASE ++
2442 - added prototypes to the exported subs
2446 - added prototypes to the exported subs
2449 * Moose::Util::TypeConstraints
2450 - cleaned up prototypes for the subs
2453 0.09_01 Fri. May 12, 2006
2454 ++ DEVELOPER RELEASE ++
2455 - This release works in combination with
2456 Class::MOP 0.29_01, it is a developer
2457 release because it uses the a new
2458 instance sub-protocol and a fairly
2459 complete Role implementation. It has
2460 not yet been optimized, so it slower
2461 the the previous CPAN version. This
2462 release also lacks good updated docs,
2463 the official release will have updated docs.
2466 - refactored the keyword exports
2467 - 'with' now checks Role validaity and
2468 accepts more than one Role at a time
2469 - 'extends' makes metaclass adjustments as
2470 needed to ensure metaclass compatibility
2473 - refactored the keyword exports
2474 - 'with' now checks Role validaity and
2475 accepts more than one Role at a time
2477 * Moose::Util::TypeConstraints
2478 - added the 'enum' keyword for simple
2479 string enumerations which can be used as
2481 - see example of usage in t/202_example.t
2484 - more careful checking of params to new()
2487 - much work done on the role composition
2488 - many new tests for conflict detection
2489 and composition edge cases
2490 - not enough documentation, I suggest
2491 looking at the tests
2493 * Moose::Meta::Instance
2494 - added new Instance metaclass to support
2495 the new Class::MOP instance protocol
2497 * Moose::Meta::Class
2498 - some small changes to support the new
2500 - some small additions to support Roles
2502 * Moose::Meta::Attribute
2503 - some improvements to the accessor generation code
2505 - some small changes to support the new
2507 - (still somewhat) experimental delegation support
2508 with the 'handles' option
2509 - added several tests for this
2510 - no docs for this yet
2512 0.05 Thurs. April 27, 2006
2514 - keywords are now exported with Sub::Exporter
2515 thanks to chansen for this commit
2516 - has keyword now takes a 'metaclass' option
2517 to support custom attribute meta-classes
2518 on a per-attribute basis
2519 - added tests for this
2520 - the 'has' keyword not accepts inherited slot
2521 specifications (has '+foo'). This is still an
2522 experimental feature and probably not finished
2523 see t/038_attribute_inherited_slot_specs.t for
2524 more details, or ask about it on #moose
2525 - added tests for this
2528 - keywords are now exported with Sub::Exporter
2530 * Moose::Utils::TypeConstraints
2531 - reorganized the type constraint hierarchy, thanks
2532 to nothingmuch and chansen for his help and advice
2534 - added some tests for this
2535 - keywords are now exported with Sub::Exporter
2536 thanks to chansen for this commit
2538 * Moose::Meta::Class
2539 - due to changes in Class::MOP, we had to change
2540 construct_instance (for the better)
2542 * Moose::Meta::Attribute
2543 - due to changes in Class::MOP, we had to add the
2544 initialize_instance_slot method (it's a good thing)
2546 * Moose::Meta::TypeConstraint
2547 - added type constraint unions
2548 - added tests for this
2549 - added the is_subtype_of predicate method
2550 - added tests for this
2552 0.04 Sun. April 16th, 2006
2554 - Roles can now consume other roles
2555 - added tests for this
2556 - Roles can specify required methods now with
2557 the requires() keyword
2558 - added tests for this
2561 - ripped out much of it's guts ,.. much cleaner now
2562 - added required methods and correct handling of
2563 them in apply() for both classes and roles
2564 - added tests for this
2565 - no longer adds a does() method to consuming classes
2566 it relys on the one in Moose::Object
2567 - added roles attribute and some methods to support
2568 roles consuming roles
2570 * Moose::Meta::Attribute
2571 - added support for triggers on attributes
2572 - added tests for this
2573 - added support for does option on an attribute
2574 - added tests for this
2576 * Moose::Meta::Class
2577 - added support for attribute triggers in the
2579 - added tests for this
2582 - Moose no longer creates a subtype for your class
2583 if a subtype of the same name already exists, this
2584 should DWIM in 99.9999% of all cases
2586 * Moose::Util::TypeConstraints
2587 - fixed bug where incorrect subtype conflicts were
2589 - added test for this
2592 - this class can now be extended with 'use base' if
2593 you need it, it properly loads the metaclass class now
2594 - added test for this
2596 0.03_02 Wed. April 12, 2006
2598 - you must now explictly use Moose::Util::TypeConstraints
2599 it no longer gets exported for you automatically
2602 - new() now accepts hash-refs as well as key/value lists
2603 - added does() method to check for Roles
2604 - added tests for this
2606 * Moose::Meta::Class
2607 - added roles attribute along with the add_role() and
2609 - added tests for this
2612 - now adds a does() method to consuming classes
2613 which tests the class's hierarchy for roles
2614 - added tests for this
2616 0.03_01 Mon. April 10, 2006
2618 - added new Role recipe (no content yet, only code)
2621 - added 'with' keyword for Role support
2622 - added test and docs for this
2623 - fixed subtype quoting bug
2624 - added test for this
2628 - added test and docs
2630 * Moose::Util::TypeConstraints
2631 - added the message keyword to add custom
2632 error messages to type constraints
2635 - the meta role to support Moose::Role
2636 - added tests and docs
2638 * Moose::Meta::Class
2639 - moved a number of things from Moose.pm
2640 to here, they should have been here
2643 * Moose::Meta::Attribute
2644 - moved the attribute option macros here
2645 instead of putting them in Moose.pm
2647 * Moose::Meta::TypeConstraint
2648 - added the message attributes and the
2650 - added tests and docs for this
2652 0.03 Thurs. March 30, 2006
2654 - added the Moose::Cookbook with 5 recipes,
2655 describing all the stuff Moose can do.
2658 - fixed an issue with &extends super class loading
2659 it now captures errors and deals with inline
2660 packages correctly (bug found by mst, solution
2662 - added super/override & inner/augment features
2663 - added tests and docs for these
2666 - BUILDALL now takes a reference of the %params
2667 that are passed to &new, and passes that to
2670 * Moose::Util::TypeConstraints
2671 - Type constraints now survive runtime reloading
2672 - added test for this
2674 * Moose::Meta::Class
2675 - fixed the way attribute defaults are handled
2676 during instance construction (bug found by chansen)
2678 * Moose::Meta::Attribute
2679 - read-only attributes now actually enforce their
2680 read-only-ness (this corrected in Class::MOP as
2683 0.02 Tues. March 21, 2006
2685 - many more tests, fixing some bugs and
2687 - &extends now loads the base module with
2689 - added UNIVERSAL::require to the
2692 - each new Moose class will also create
2693 and register a subtype of Object which
2694 correspond to the new Moose class.
2695 - the 'isa' option in &has now only
2696 accepts strings, and will DWIM in
2699 * Moose::Util::TypeConstraints
2700 - added type coercion features
2701 - added tests for this
2702 - added support for this in attributes
2703 and instance construction
2705 - type construction no longer creates a
2706 function, it registers the type instead.
2707 - added several functions to get the
2711 - BUILDALL and DEMOLISHALL were broken
2712 because of a mis-named hash key, Whoops :)
2714 * Moose::Meta::Attribute
2715 - adding support for coercion in the
2716 autogenerated accessors
2718 * Moose::Meta::Class
2719 - adding support for coercion in the
2720 instance construction
2722 * Moose::Meta::TypeConstraint
2723 * Moose::Meta::TypeCoercion
2724 - type constraints and coercions are now
2725 full fledges meta-objects
2727 0.01 Wed. March 15, 2006
2728 - Moooooooooooooooooose!!!