1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
5 * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
6 - Merged these documents into what is now Moose::Manual::FAQ
9 - Moved to Moose::Manual::Unsweetened
11 * Moose::Cookbook::Basics::Recipes 9-12
12 - Renamed to be 8-11, since recipe 8 did not exist
15 - Make Moose::Exporter import strict and warnings into packages
19 - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
20 methods during global destruction (doy)
23 * Moose::Meta::Role::Application::ToClass
24 - Track the Role::Application objects created during class-role
28 - Fix metaclass incompatibility errors when extending a vanilla perl
29 class which isa Moose class with a metaclass role applied (t0m)
32 - Add a role-combination hook, role_for_combination, for the
33 benefit of MooseX::Role::Parameterized (Sartak)
37 - Add explicit use of Devel::GlobalDestruction and Sub::Name
41 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
42 or not we are currently in global destruction (doy)
43 - Add explicit use of Devel::GlobalDestruction and Sub::Name
46 * Moose::Cookbook::FAQ
47 - Reworked much of the existing content to be more useful to
48 modern Moose hackers (Sartak)
51 - Depend on Class::MOP 0.83 instead of 0.82_01. It seems that if
52 we use a dev version number there CPAN.pm will not follow the
55 0.76 Mon, April 27, 2009
56 * Moose::Meta::TypeConstraint
57 - Do not run coercions in coerce() if the value already passes the type
60 * Moose::Meta::TypeConstraint::Class
61 - In validation error messages, specifically say that the value is not
62 an instance of the class. This should alleviate some frustrating
63 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
65 * Moose::Meta::Role::Application::ToClass
66 - Revert the class-overrides-role warning in favor of a solution outside
67 of the Moose core (Sartak)
70 - Make Test::Output optional again, since it's only used in a few files
73 0.75_01 Thu, April 23, 2009
74 * Moose::Meta::Role::Application::ToClass
75 - Moose now warns about each class overriding methods from roles it
79 - Warnings tests have standardized on Test::Output which is now an
80 unconditionally dependency (Sartak)
83 - Changes to immutabilization to work with Class::MOP 0.82_01+.
85 0.75 Mon, April 20, 2009
88 - Move validation of not inheriting from roles from Moose::extends to
89 Moose::Meta::Class::superclasses (doy)
92 - add ensure_all_roles() function to encapsulate the common "apply this
93 role unless the object already does it" pattern (hdp)
96 - Users can now select a different metaclass with the "-metaclass"
97 option to import, for classes and roles (Sartak)
100 - Make method_metaclass an attr so that it can accept a metarole
103 0.74 Tue, April 7, 2009
105 * Moose::Meta::Method::Destructor
106 - Include stack traces in the deprecation warnings.
110 - Removed the long-deprecated _apply_all_roles method.
112 * Moose::Meta::TypeConstraint
113 - Removed the long-deprecated union method.
116 0.73_02 Mon, April 6, 2009
117 * More deprecations and renamings
118 - Moose::Meta::Method::Constructor
119 - initialize_body => _initialize_body (this is always called
120 when an object is constructed)
123 - The DEMOLISHALL method could throw an exception during global
124 destruction, meaning that your class's DEMOLISH methods would
125 not be properly called. Reported by t0m.
127 * Moose::Meta::Method::Destructor
128 - Destructor inlining was totally broken by the change to the
129 is_needed method in 0.72_01. Now there is a test for this
130 feature, and it works again.
133 - Bold the word 'not' in the POD for find_meta (t0m)
135 0.73_01 Sun, April 5, 2009
137 - Call user_class->meta in fewer places, with the eventual goal
138 of allowing the user to rename or exclude ->meta
139 altogether. Instead uses Class::MOP::class_of. (Sartak)
141 * Moose::Meta::Method::Accessor
142 - If an attribute had a lazy default, and that value did not
143 pass the attribute's type constraint, it did not get the
144 message from the type constraint, instead using a generic
145 message. Test provided by perigrin.
147 * Moose::Util::TypeConstraints
148 - Add duck_type keyword. It's sugar over making sure an object
149 can() a list of methods. This is easier than jrockway's
150 suggestion to fork all of CPAN. (perigrin)
151 - add tests and documentation (perigrin)
154 - Document the fact that init_meta() returns the target class's
155 metaclass object. (hdp)
157 * Moose::Cookbook::Extending::Recipe1
158 * Moose::Cookbook::Extending::Recipe2
159 * Moose::Cookbook::Extending::Recipe3
160 * Moose::Cookbook::Extending::Recipe4
161 - Make init_meta() examples explicitly return the metaclass and
162 point out this fact. (hdp)
164 * Moose::Cookbook::Basics::Recipe12
165 - A new recipe, creating a custom meta-method class.
167 * Moose::Cookbook::Meta::Recipe6
168 - A new recipe, creating a custom meta-method class.
171 * Moose::Meta::Method::Constructor
172 - Attribute triggers no longer receive the meta-attribute object
173 as an argument in any circumstance. Previously, triggers
174 called during instance construction were passed the
175 meta-attribute, but triggers called by normal accessors were
176 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
178 * Moose::Manual::Attributes
179 - Remove references to triggers receving the meta-attribute object as an
182 * Moose::Cookbook::FAQ
183 - Remove recommendation for deprecated Moose::Policy and
184 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
187 * Many methods have been renamed with a leading underscore, and a
188 few have been deprecated entirely. The methods with a leading
189 underscore are consider "internals only". People writing
190 subclasses or extensions to Moose should feel free to override
191 them, but they are not for "public" use.
194 - check_metaclass_compatibility => _check_metaclass_compatibility
196 - Moose::Meta::Method::Accessor
197 - initialize_body => _initialize_body (this is always called
198 when an object is constructed)
199 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
201 - Moose::Meta::Method::Constructor
202 - initialize_body => _initialize_body (this is always called
203 when an object is constructed)
204 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
205 - attributes => _attributes (now inherited from parent)
206 - meta_instance => _meta_instance (now inherited from parent)
209 - alias_method is deprecated. Use add_method
211 0.73 Fri, March 29, 2009
212 * No changes from 0.72_01.
214 0.72_01 Thu, March 26, 2009
216 - Almost every module has complete API documentation. A few
217 methods (and even whole classes) have been intentionally
218 excluded pending some rethinking of their APIs.
220 * Moose::Util::TypeConstraints
221 - Calling subtype with a name as the only argument is now an
222 exception. If you want an anonymous subtype do:
224 my $subtype = subtype as 'Foo';
226 * Moose::Cookbook::Meta::Recipe7
227 - A new recipe, creating a custom meta-instance class.
229 * Moose::Cookbook::Basics::Recipe5
230 - Fix various typos and mistakes. Includes a patch from Radu
233 * Moose::Cookbook::Basics::Recipe9
234 - Link to this recipe from Moose.pm's builder blurb
237 - When wrapping a function with a prototype, Moose::Exporter now
238 makes sure the wrapped function still has the same
239 prototype. (Daisuke Maki)
241 * Moose::Meta::Attribute
242 - Allow a subclass to set lazy_build for an inherited
246 - Explicitly depend on Data::OptList. We already had this dependency
247 via Sub::Exporter, but since we're using it directly we're
248 better off with it listed. (Sartak)
250 * Moose::Meta::Method::Constructor
251 - Make it easier to subclass the inlining behaviour. (Ash
254 * Moose::Manual::Delta
255 - Details significant changes in the history of Moose, along
256 with recommended workarounds.
258 * Moose::Manual::Contributing
259 - Contributor's guide to Moose.
261 * Moose::Meta::Method::Constructor
262 - The long-deprecated intialize_body method has been removed
263 (yes, spelled like that).
265 * Moose::Meta::Method::Destructor
266 - This is_needed method is now always a class method.
269 - Changes to the internals of how make_immutable works to match
270 changes in latest Class::MOP.
272 0.72 Mon, February 23, 2009
274 * Moose::Meta::Method::Constructor
275 - A mutable class accepted Foo->new(undef) without complaint,
276 while an immutable class would blow up with an unhelpful
277 error. Now, in both cases we throw a helpful error
278 instead. Reported by doy.
280 0.71_01 Sun, February 22, 2009
282 - Hopefully fixed some POD errors in a few recipes that caused
283 them to display weird on search.cpan.org.
285 * Moose::Util::TypeConstraints
286 - Calling type or subtype without the sugar helpers (as, where,
287 message) is now deprecated.
288 - The subtype function tried hard to guess what you meant, but
289 often got it wrong. For example:
291 my $subtype = subtype as 'ArrayRef[Object]';
293 This caused an error in the past, but now works as you'd
297 - Make sure Moose.pm is loaded before calling
298 Moose->throw_error. This wasn't normally an issue, but could
299 bite you in weird cases.
301 0.71 Thu, February 19, 2009
302 * Moose::Cookbook::Basics::Recipe11
303 - A new recipe which demonstrates the use of BUILDARGS and
306 * Moose::Cookbook::Roles::Recipe3
307 - A new recipe, applying a role to an object instance. (Dave
311 - Allow overriding specific keywords from "also" packages. (doy)
314 - Replace hardcoded cookbook tests with Test::Inline to ensure
315 the tests match the actual code in the recipes. (Dave Rolsky)
318 - Working on the above turned up a number of little bugs in the
319 recipe code. (Dave Rolsky)
321 * Moose::Util::TypeConstraints::Optimized
322 - Just use Class::MOP for the optimized ClassName check. (Dave
325 0.70 Sat, February 14, 2009
326 * Moose::Util::TypeConstraints
327 - Added the RoleName type (stevan)
328 - added tests for this (stevan)
330 * Moose::Cookbook::Basics::Recipe3
331 - Updated the before qw[left right] sub to be a little more
332 defensive about what it accepts (stevan)
333 - added more tests to t/000_recipies/basics/003_binary_tree.t
337 - We now always call DEMOLISHALL, even if a class does not
338 define DEMOLISH. This makes sure that method modifiers on
339 DEMOLISHALL work as expected. (doy)
340 - added tests for this (EvanCarroll)
342 * Moose::Util::MetaRole
343 - Accept roles for the wrapped_method_metaclass (rafl)
344 - added tests for this (rafl)
346 * Moose::Meta::Attribute
347 - We no longer pass the meta-attribute object as a final
348 argument to triggers. This actually changed for inlined code a
349 while back, but the non-inlined version and the docs were
353 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
354 they require 0.11. (Dave Rolsky)
357 - Lots of small changes to the manual, cookbook, and
358 elsewhere. These were based on feedback from various
359 users, too many to list here. (Dave Rolsky)
361 0.69 Thu, February 12, 2009
363 - Make some keyword errors use throw_error instead of croak
364 since Moose::Exporter wraps keywords now (Sartak)
367 - Revised every recipe for style and clarity. Also moved some
368 documentation out of cookbook recipes and into Moose::Manual
369 pages. This work was funded as part of the Moose docs grant
370 from TPF. (Dave Rolsky)
372 * Moose::Meta::Method::Delegation
373 - If the attribute doing the delegation was not populated, the
374 error message did not specify the attribute name
377 0.68 Wed, February 4, 2009
379 - Many spelling, typo, and formatting fixes by daxim.
381 * Moose::Manual::Attributes
382 - The NAME section in the POD used "Attribute" so search.cpan
383 didn't resolve links from other documents properly.
385 * Moose::Meta::Method::Overriden
386 - Now properly spelled as Overridden. Thanks to daxim for
389 0.67 Tue, February 3, 2009
391 - Lots of little typo fixes and a few clarifications. Several
392 pages didn't have proper titles, and so weren't actually
393 visible on search.cpan.org. Thanks to hanekomu for a variety
394 of fixes and formatting improvements.
396 0.66 Tue, February 3, 2009
398 - This is a brand new, extensive manual for Moose. This aims to
399 provide a complete introduction to all of Moose's
400 features. This work was funded as part of the Moose docs grant
401 from TPF. (Dave Rolsky)
403 * Moose::Meta::Attribute
404 - Added a delegation_metaclass method to replace a hard-coded
405 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
407 * Moose::Util::TypeConstraints
408 - If you created a subtype and passed a parent that Moose didn't
409 know about, it simply ignored the parent. Now it automatically
410 creates the parent as a class type. This may not be what you
411 want, but is less broken than before. (Dave Rolsky)
413 * Moose::Util::TypeConstraints
414 - This module tried throw errors by calling Moose->throw_error,
415 but it did not ensure that Moose was loaded first. This could
416 cause very unhelpful errors when it tried to throw an error
417 before Moose was loaded. (Dave Rolsky)
419 * Moose::Util::TypeConstraints
420 - You could declare a name with subtype such as "Foo!Bar" that
421 would be allowed, but if you used it in a parameterized type
422 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
423 vetting on names created via the sugar functions, so that they
424 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
426 0.65 Thu, January 22, 2008
427 * Moose and Moose::Meta::Method::Overridden
428 - If an overridden method called super(), and then the
429 superclass's method (not overridden) _also_ called super(),
430 Moose went into an endless recursion loop. Test provided by
431 Chris Prather. (Dave Rolsky)
433 * Moose::Meta::TypeConstraint
434 - All methods are now documented. (gphat)
436 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
437 - Fixed some bogus failures that occurred because we tried to
438 validate filesystem paths in a very ad-hoc and
439 not-quite-correct way. (Dave Rolsky)
441 * Moose::Util::TypeConstraints
442 - Added maybe_type to exports. See docs for details. (rjbs)
445 - Added Moose::Util::TypeConstraints to the SEE ALSO
449 - Methods created via an attribute can now fulfill a "requires"
450 declaration for a role. (nothingmuch)
452 * Moose::Meta::Method::*
453 - Stack traces from inlined code will now report its line and
454 file as being in your class, as opposed to in Moose
457 0.64 Wed, December 31, 2008
458 * Moose::Meta::Method::Accessor
459 - Always inline predicate and clearer methods (Sartak)
461 * Moose::Meta::Attribute
462 - Support for parameterized traits (Sartak)
463 - verify_against_type_constraint method to avoid duplication
464 and enhance extensibility (Sartak)
467 - Tests (but no support yet) for parameterized traits (Sartak)
470 - Require Class::MOP 0.75+, which has the side effect of making
471 sure we work on Win32. (Dave Rolsky)
473 0.63 Mon, December 8, 2008
475 - Some small grammar tweaks and bug fixes in non-Moose example
478 0.62_02 Fri, December 5, 2008
479 * Moose::Meta::Role::Application::ToClass
480 - When a class does not provide all of a role's required
481 methods, the error thrown now mentions all of the missing
482 methods, as opposed to just the first one found. Requested by
483 Curtis Poe (RT #41119). (Dave Rolsky)
485 * Moose::Meta::Method::Constructor
486 - Moose will no longer inline a constructor for your class
487 unless it inherits its constructor from Moose::Object, and
488 will warn when it doesn't inline. If you want to force
489 inlining anyway, pass "replace_constructor => 1" to
490 make_immutable. Addresses RT #40968, reported by Jon
491 Swartz. (Dave Rolsky)
492 - The quoting of default values could be broken if the default
493 contained a single quote ('). Now we use quotemeta to escape
494 anything potentially dangerous in the defaults. (Dave Rolsky)
496 0.62_01 Wed, December 3, 2008
498 - use the method->execute API for BUILDALL
499 and DEMOLISHALL (Sartak)
501 * Moose::Util::TypeConstraints
502 - We now make all the type constraint meta classes immutable
503 before creating the default types provided by Moose. This
504 should make loading Moose a little faster. (Dave Rolsky)
506 0.62 Wed November 26, 2008
507 * Moose::Meta::Role::Application::ToClass
508 Moose::Meta::Role::Application::ToRole
509 - fixed issues where excluding and aliasing the
510 same methods for a single role did not work
511 right (worked just fine with multiple
513 - added test for this (stevan)
515 * Moose::Meta::Role::Application::RoleSummation
516 - fixed the error message when trying to compose
517 a role with a role it excludes (Sartak)
520 - Catch another case where recursion caused the value
521 of $CALLER to be stamped on (t0m)
522 - added test for this (t0m)
525 - Remove the make_immutable keyword, which has been
526 deprecated since April. It breaks metaclasses that
527 use Moose without no Moose (Sartak)
529 * Moose::Meta::Attribute
530 - Removing an attribute from a class now also removes delegation
531 (handles) methods installed for that attribute (t0m)
532 - added test for this (t0m)
534 * Moose::Meta::Method::Constructor
535 - An attribute with a default that looked like a number (but was
536 really a string) would accidentally be treated as a number
537 when the constructor was made immutable (perigrin)
538 - added test for this (perigrin)
541 - create method for constructing a role
543 - added test for this (Sartak)
544 - anonymous roles! (Sartak)
545 - added test for this (Sartak)
548 - more consistent error messages (Sartak)
550 * Moose::Cookbook::Roles::Recipe1
551 - attempt to explain why a role that just requires
552 methods is useful (Sartak)
554 0.61 Fri November 7, 2008
555 * Moose::Meta::Attribute
556 - When passing a role to handles, it will be loaded if necessary
560 - Method objects returned by get_method (and other methods)
561 Could end up being returned without an associated_metaclass
562 attribute. Removing get_method_map, which is provided by
563 Class::MOP::Class, fixed this. The Moose version did nothing
564 different from its parent except introduce a bug. (Dave Rolsky)
565 - added tests for this (jdv79)
568 - Added a $VERSION to all .pm files which didn't have one. Fixes
569 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
571 * Moose::Cookbook::Basics::Recipe4
572 * Moose::Cookbook::Basics::Recipe6
573 - These files had spaces on the first line of the SYNOPSIS, as
574 opposed to a totally empty line. According to RT #40432, this
575 confuses POD parsers. (Dave Rolsky)
577 0.60 Fri October 24, 2008
579 - Passing "-traits" when loading Moose caused the Moose.pm
580 exports to be broken. Reported by t0m. (Dave Rolsky)
581 - Tests for this bug. (t0m)
584 - Change resolve_metaclass alias to use the new
585 load_first_existing_class function. This makes it a lot
586 simpler, and also around 5 times faster. (t0m)
587 - Add caching to resolve_metaclass_alias, which gives an order
588 of magnitude speedup to things which repeatedly call the
589 Moose::Meta::Attribute->does method, notably MooseX::Storage
592 * Moose::Util::TypeConstraint
593 - Put back the changes for parameterized constraints that
594 shouldn't have been removed in 0.59. We still cannot parse
595 them, but MooseX modules can create them in some other
596 way. See the 0.58 changes for more details. (jnapiorkowski)
597 - Changed the way subtypes are created so that the job is
598 delegated to a type constraint parent. This clears up some
599 hardcoded checking and should allow correct subtypes of
600 Moose::Meta::Type::Constraint. Don't rely on this new API too
601 much (create_child_type) because it may go away in the
602 future. (jnapiorkowski)
604 * Moose::Meta::TypeConstraint::Union
605 - Type constraint names are sorted as strings, not numbers.
608 * Moose::Meta::TypeConstraint::Parameterizable
609 - New parameterize method. This can be used as a factory method
610 to make a new type constraint with a given parameterized
611 type. (jnapiorkowski)
612 - added tests (jnapiorkowski)
614 0.59 Tue October 14, 2008
616 - Add abridged documentation for builder/default/initializer/
617 predicate, and link to more details sections in
618 Class::MOP::Attribute. (t0m)
620 * Moose::Util::TypeConstraints
621 - removed prototypes from all but the &-based stuff (mst)
623 * Moose::Util::TypeConstraints
624 - Creating a anonymous subtype with both a constraint and a
625 message failed with a very unhelpful error, but should just
626 work. Reported by t0m. (Dave Rolsky)
629 - Some tests that used Test::Warn if it was available failed
630 with older versions of Test::Warn. Reported by Fayland. (Dave
632 - Test firing behavior of triggers in relation to builder/default/
634 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
635 kinds of supported type. (t0m)
638 - In create(), do not pass "roles" option to the superclass
639 - added related test that creates an anon metaclass with
642 * Moose::Meta::TypeConstraint::Class
643 * Moose::Meta::TypeConstraint::Role
644 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
645 other types (as per change in 0.55_02). (t0m)
647 * Moose::Meta::TypeConstraint::Registry
648 - Fix warning when dealing with unknown type names (t0m)
650 * Moose::Util::TypeConstraints
651 - Reverted changes from 0.58 related to handle parameterized
652 types. This caused random failures on BSD and Win32 systems,
653 apparently related to the regex engine. This means that Moose
654 can no longer parse structured type constraints like
655 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
656 supported in a slightly different way via MooseX::Types some
657 time in the future. (Dave Rolsky)
659 0.58 Sat September 20, 2008
660 !! This release has an incompatible change regarding !!
661 !! how roles add methods to a class !!
663 * Roles and role application
664 ! Roles now add methods by calling add_method, not
665 alias_method. They make sure to always provide a method
666 object, which will be cloned internally. This means that it is
667 now possible to track the source of a method provided by a
668 role, and even follow its history through intermediate roles.
670 This means that methods added by a role now show up when
671 looking at a class's method list/map. (Dave Rolsky)
674 - From this release on, we'll try to maintain a list of
675 conflicting modules, and warn you if you have one
676 installed. For example, this release conflicts with ...
677 - MooseX::Singleton <= 0.11
678 - MooseX::Params::Validate <= 0.05
681 In general, we try to not break backwards compatibility for
682 most Moose users, but MooseX modules and other code which
683 extends Moose's metaclasses is often affected by very small
684 changes in the Moose internals.
686 * Moose::Meta::Method::Delegation
687 * Moose::Meta::Attribute
688 - Delegation methods now have their own method class. (Dave
691 * Moose::Meta::TypeConstraint::Parameterizable
692 - Added a new method 'parameterize' which is basically a factory
693 for the containing constraint. This makes it easier to create
694 new types of parameterized constraints. (jnapiorkowski)
696 * Moose::Meta::TypeConstraint::Union
697 - Changed the way Union types canonicalize their names to follow
698 the normalized TC naming rules, which means we strip all
699 whitespace. (jnapiorkowski)
701 * Moose::Util::TypeConstraints
702 - Parameter and Union args are now sorted, this makes Int|Str
703 the same constraint as Str|Int. (jnapiorkowski)
704 - Changes to the way Union types are parsed to more correctly
705 stringify their names. (jnapiorkowski)
706 - When creating a parameterized type, we now use the new
707 parameterize method. (jnapiorkowski)
708 - Incoming type constraint strings are now normalized to remove
709 all whitespace differences. (jnapiorkowski)
710 - Changed the way we parse type constraint strings so that we now
711 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
712 constraints. This lays the foundation for more flexible type
713 constraint implementations.
715 * Tests and docs for all the above. (jnapiorkowski)
719 - Moose::Exporter will no longer remove a subroutine that the
720 exporting package re-exports. Moose re-exports the
721 Carp::confess function, among others. The reasoning is that we
722 cannot know whether you have also explicitly imported those
723 functions for your own use, so we err on the safe side and
724 always keep them. (Dave Rolsky)
725 - added tests for this (rafl)
728 - Changes to how we fix metaclass compatibility that are much
729 too complicated to go into. The summary is that Moose is much
730 less likely to complain about metaclass incompatibility
731 now. In particular, if two metaclasses differ because
732 Moose::Util::MetaRole was used on the two corresponding
733 classes, then the difference in roles is reconciled for the
734 subclass's metaclass. (Dave Rolsky)
735 - Squashed an warning in _process_attribute (thepler)
738 - throw exceptions (sooner) for invalid attribute names (thepler)
739 - added tests for this (thepler)
741 * Moose::Util::MetaRole
742 - If you explicitly set a constructor or destructor class for a
743 metaclass object, and then applied roles to the metaclass,
744 that explicitly set class would be lost and replaced with the
748 * Moose::Meta::Attribute
749 * Moose::Meta::Method
752 * Moose::Error::Default
753 * Moose::Error::Croak
754 * Moose::Error::Confess
755 - All instances of confess() changed to use overridable
756 C<throw_error> method. This method ultimately calls a class
757 constructor, and you can change the class being called. In
758 addition, errors now pass more information than just a string.
759 The default C<error_class> behaves like C<Carp::confess>, so
760 the behavior is not visibly different for end users.
762 0.57 Wed September 3, 2008
764 - A new bit of doc intended to introduce folks familiar with
765 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
768 - Shows examples of two classes, each done first with and then
769 without Moose. This makes a nice parallel to
770 Moose::Intro. (Dave Rolsky)
772 * Moose::Util::TypeConstraints
773 - Fixed a bug in find_or_parse_type_constraint so that it
774 accepts a Moose::Meta::TypeConstraint object as the parent
775 type, not just a name (jnapiorkowski)
776 - added tests (jnapiorkowski)
779 - If Sub::Name was not present, unimporting failed to actually
780 remove some sugar subs, causing test failures (Dave Rolsky)
782 0.56 Mon September 1, 2008
783 For those not following the series of dev releases, there are
784 several major changes in this release of Moose.
785 ! Moose::init_meta should now be called as a method. See the
788 - Major performance improvements by nothingmuch.
790 - New modules for extension writers, Moose::Exporter and
791 Moose::Util::MetaRole by Dave Rolsky.
793 - Lots of doc improvements and additions, especially in the
798 * Removed all references to the experimental-but-no-longer-needed
799 Moose::Meta::Role::Application::ToMetaclassInstance.
801 * Require Class::MOP 0.65.
803 0.55_04 Sat August 30, 2008
804 * Moose::Util::MetaRole
805 * Moose::Cookbook::Extending::Recipe2
806 - This simplifies the application of roles to any meta class, as
807 well as the base object class. Reimplemented metaclass traits
808 using this module. (Dave Rolsky)
810 * Moose::Cookbook::Extending::Recipe1
811 - This a new recipe, an overview of various ways to write Moose
812 extensions (Dave Rolsky)
814 * Moose::Cookbook::Extending::Recipe3
815 * Moose::Cookbook::Extending::Recipe4
816 - These used to be Extending::Recipe1 and Extending::Recipe2,
819 0.55_03 Fri August 29, 2008
820 * No changes from 0.55_02 except increasing the Class::MOP
821 dependency to 0.64_07.
823 0.55_02 Fri August 29, 2008
824 * Makefile.PL and Moose.pm
825 - explicitly require Perl 5.8.0+ (Dave Rolsky)
827 * Moose::Util::TypeConstraints
828 - Fix warnings from find_type_constraint if the type is not
831 * Moose::Meta::TypeConstraint
832 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
833 return false if the type you specify cannot be found in the
834 type registry, rather than throwing an unhelpful and
835 coincidental exception. (t0m).
836 - added docs & test for this (t0m)
838 * Moose::Meta::TypeConstraint::Registry
839 - add_type_constraint now throws an exception if a parameter is
841 - added docs & test for this (t0m)
843 * Moose::Cookbook::FAQ
844 - Added a faq entry on the difference between "role" and "trait"
848 - Fixed a bug that caused role composition to not see a required
849 method when that method was provided by another role being
850 composed at the same time. (Dave Rolsky)
851 - test and bug finding (tokuhirom)
853 0.55_01 Wed August 20, 2008
855 !! Calling Moose::init_meta as a function is now !!
856 !! deprecated. Please see the Moose.pm docs for details. !!
858 * Moose::Meta::Method::Constructor
859 - Fix inlined constructor so that values produced by default
860 or builder methods are coerced as required. (t0m)
861 - added test for this (t0m)
863 * Moose::Meta::Attribute
864 - A lazy attribute with a default or builder did not attempt to
865 coerce the default value. The immutable code _did_
867 - added test for this (t0m)
870 - This is a new helper module for writing "Moose-alike"
871 modules. This should make the lives of MooseX module authors
872 much easier. (Dave Rolsky)
875 * Moose::Cookbook::Meta::Recipe5
876 - Implemented metaclass traits (and wrote a recipe for it):
878 use Moose -traits => 'Foo'
880 This should make writing small Moose extensions a little
883 * Moose::Cookbook::Basics::Recipe1
884 - Removed any examples of direct hashref access, and applied an
885 editorial axe to reduce verbosity. (Dave Rolsky)
887 * Moose::Cookbook::Basics::Recipe1
888 - Also applied an editorial axe here. (Dave Rolsky)
891 * Moose::Cookbook::Extending::Recipe1
892 * Moose::Cookbook::Extending::Recipe2
893 - Rewrote extending and embedding moose documentation and
894 recipes to use Moose::Exporter (Dave Rolsky)
898 - These two modules now warn when you load them from the main
899 package "main" package, because we will not export sugar to
900 main. Previously it just did nothing. (Dave Rolsky)
903 - Now provide an init_meta method just like Moose.pm, and you
904 can call this to provide an alternate role metaclass. (Dave
905 Rolsky and nothingmuch)
906 - get_method_map now respects the package cache flag (nothingmuch)
909 - Two new methods - add_method and wrap_method_body
913 - Optimizations including allowing constructors to accept hash
914 refs, making many more classes immutable, and making
915 constructors immutable. (nothingmuch)
917 0.55 Sun August 3, 2008
918 * Moose::Meta::Attribute
919 - breaking down the way 'handles' methods are
920 created so that the process can be more easily
921 overridden by subclasses (stevan)
923 * Moose::Meta::TypeConstraint
924 - fixing what is passed into a ->message with
925 the type constraints (RT #37569)
926 - added tests for this (Charles Alderman)
928 * Moose::Util::TypeConstraints
929 - fix coerce to accept anon types like subtype can (mst)
932 - reorganized the recipes into sections - Basics, Roles, Meta,
933 Extending - and wrote abstracts for each section (Dave Rolsky)
935 * Moose::Cookbook::Basics::Recipe10
936 - A new recipe that demonstrates operator overloading
937 in combination with Moose. (bluefeet)
939 * Moose::Cookbook::Meta::Recipe1
940 - an introduction to what meta is and why you'd want to make
941 your own metaclass extensions (Dave Rolsky)
943 * Moose::Cookbook::Meta::Recipe4
944 - a very simple metaclass example (Dave Rolsky)
946 * Moose::Cookbook::Extending::Recipe1
947 - how to write a Moose-alike module to use your own object base
950 * Moose::Cookbook::Extending::Recipe2
951 - how to write modules with an API just like C<Moose.pm> (Dave
955 - Tons of fixes, both syntactical and grammatical (Dave
956 Rolsky, Paul Fenwick)
958 0.54 Thurs. July 3, 2008
959 ... this is not my day today ...
961 * Moose::Meta::Attribute
962 - fixed legal_options_for_inheritance such that
963 clone_and_inherit options still works for
964 Class::MOP::Attribute objects and therefore
965 does not break MooseX::AttributeHelpers
968 0.53 Thurs. July 3, 2008
969 * Whoops, I guess I should run 'make manifest' before
970 actually releasing the module. No actual changes
971 in this release, except the fact that it includes
972 the changes that I didn't include in the last
975 0.52 Thurs. July 3, 2008
977 - added "FEATURE REQUESTS" section to the Moose docs
978 to properly direct people (stevan) (RT #34333)
979 - making 'extends' croak if it is passed a Role since
980 this is not ever something you want to do
981 (fixed by stevan, found by obra)
982 - added tests for this (stevan)
985 - adding support for DOES (as in UNIVERSAL::DOES)
987 - added test for this
989 * Moose::Meta::Attribute
990 - added legal_options_for_inheritance (wreis)
991 - added tests for this (wreis)
993 * Moose::Cookbook::Snacks::*
994 - removed some of the unfinished snacks that should
995 not have been released yet. Added some more examples
996 to the 'Keywords' snack. (stevan)
998 * Moose::Cookbook::Style
999 - added general Moose "style guide" of sorts to the
1000 cookbook (nothingmuch) (RT #34335)
1003 - added more BUILDARGS tests (stevan)
1005 0.51 Thurs. Jun 26, 2008
1007 - add unimport so "no Moose::Role" actually does
1010 * Moose::Meta::Role::Application::ToRole
1011 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1012 order to provide its own implementation, that method still got
1013 added to the list of required methods for consumers of
1014 RoleB. Now an aliased method is only added to the list of
1015 required methods if the role doing the aliasing does not
1016 provide its own implementation. See Recipe 11 for an example
1017 of all this. (Dave Rolsky)
1018 - added tests for this
1020 * Moose::Meta::Method::Constructor
1021 - when a single argument that wasn't a hashref was provided to
1022 an immutabilized constructor, the error message was very
1023 unhelpful, as opposed to the non-immutable error. Reported by
1025 - added test for this (Dave Rolsky)
1027 * Moose::Meta::Attribute
1028 - added support for meta_attr->does("ShortAlias") (sartak)
1029 - added tests for this (sartak)
1030 - moved the bulk of the `handles` handling to the new
1031 install_delegation method (Stevan)
1034 - Added BUILDARGS, a new step in new()
1036 * Moose::Meta::Role::Application::RoleSummation
1037 - fix typos no one ever sees (sartak)
1039 * Moose::Util::TypeConstraints
1040 * Moose::Meta::TypeConstraint
1041 * Moose::Meta::TypeCoercion
1042 - Attempt to work around the ??{ } vs. threads issue
1044 - Some null_constraint optimizations
1046 0.50 Thurs. Jun 11, 2008
1047 - Fixed a version number issue by bumping all modules
1050 0.49 Thurs. Jun 11, 2008
1051 !! This version now approx. 20-25% !!
1052 !! faster with new Class::MOP 0.59 !!
1054 * Moose::Meta::Attribute
1055 - fixed how the is => (ro|rw) works with
1056 custom defined reader, writer and accessor
1058 - added docs for this (TODO).
1059 - added tests for this (Thanks to Penfold)
1060 - added the custom attribute alias for regular
1061 Moose attributes which is "Moose"
1062 - fix builder and default both being used
1067 Moose::Meta::Attribute
1069 Moose::Meta::Role::Composite
1070 Moose::Util::TypeConstraints
1071 - switched usage of reftype to ref because
1075 - changing add_package_symbol to use the new
1079 - fixed how DEMOLISHALL is called so that it
1080 can be overrided in subclasses (thanks to Sartak)
1081 - added test for this (thanks to Sartak)
1083 * Moose::Util::TypeConstraints
1084 - move the ClassName type check code to
1085 Class::MOP::is_class_loaded (thanks to Sartak)
1087 * Moose::Cookbook::Recipe11
1088 - add tests for this (thanks to tokuhirom)
1090 0.48 Thurs. May 29, 2008
1091 (early morning release engineering)--
1093 - fixing the version in Moose::Meta::Method::Destructor
1094 which was causing the indexer to choke
1096 0.47 Thurs. May 29, 2008
1097 (late night release engineering)--
1099 - fixing the version is META.yml, no functional
1100 changes in this release
1102 0.46 Wed. May 28, 2008
1103 !! This version now approx. 20-25% !!
1104 !! faster with new Class::MOP 0.57 !!
1106 * Moose::Meta::Class
1107 - some optimizations of the &initialize method
1108 since it is called so often by &meta
1110 * Moose::Meta::Class
1112 - now use the get_all_package_symbols from the
1113 updated Class::MOP, test suite is now 10 seconds
1116 * Moose::Meta::Method::Destructor
1117 - is_needed can now also be called as a class
1118 method for immutablization to check if the
1119 destructor object even needs to be created
1122 * Moose::Meta::Method::Destructor
1123 Moose::Meta::Method::Constructor
1124 - added more descriptive error message to help
1125 keep people from wasting time tracking an error
1126 that is easily fixed by upgrading.
1128 0.45 Saturday, May 24, 2008
1130 - Because of work in Class::MOP 0.57, all
1131 XS based functionality is now optional
1132 and a Pure Perl version is supplied
1133 - the CLASS_MOP_NO_XS environment variable
1134 can now be used to force non-XS versions
1136 - several of the packages have been tweaked
1137 to take care of this, mostly we added
1138 support for the package_name and name
1139 variables in all the Method metaclasses
1140 - before/around/after method modifiers now
1141 support regexp matching of names
1142 (thanks to Takatoshi Kitano)
1143 - tests added for this
1144 - NOTE: this only works for classes, it
1145 is currently not supported in roles,
1146 but, ... patches welcome
1147 - All usage of Carp::confess have been replaced
1148 by Carp::croak in the "keyword" functions since
1149 the stack trace is usually not helpful
1152 - All usage of Carp::confess have been replaced
1153 by Carp::croak in the "keyword" functions since
1154 the stack trace is usually not helpful
1155 - The 'has' keyword for roles now accepts the
1156 same array ref form that Moose.pm does
1157 (has [qw/foo bar/] => (is => 'rw', ...))
1158 - added test for this
1160 * Moose::Meta::Attribute
1161 - trigger on a ro-attribute is no longer an
1162 error, as it's useful to trigger off of the
1165 * Moose::Meta::Class
1166 - added same 'add_package_symbol' fix as in
1170 - does_role now handles non-Moose classes
1172 - added tests for this
1173 - added the 'add_method_modifier' function
1174 (thanks to Takatoshi Kitano)
1176 * Moose::Util::TypeConstraints
1177 - subtypes of parameterizable types now are
1178 themselves parameterizable types
1180 * Moose::Meta::Method::Constructor
1181 - fixed bug where trigger was not being
1182 called by the inlined immutable
1184 - added test for this (thanks to Caelum)
1186 * Moose::Meta::Role::Application::ToInstance
1187 - now uses the metaclass of the instance
1188 (if possible) to create the anon-class
1189 (thanks Jonathan Rockway)
1191 * Moose::Cookbook::Recipe22
1192 - added the meta-attribute trait recipe
1196 - fixed hash-ordering test bug that was
1197 causing occasional cpantester failures
1198 - renamed the t/000_recipe/*.t tests to be
1199 more descriptive (thanks to Sartak)
1201 0.44 Sat. May 10, 2008
1203 - made make_immutable warning cluck to
1204 show where the error is (thanks mst)
1207 - BUILDALL and DEMOLISHALL now call
1208 ->body when looping through the
1209 methods, to avoid the overloaded
1211 - fixed issue where DEMOLISHALL was
1212 eating the $@ values, and so not
1213 working correctly, it still kind of
1214 eats them, but so does vanilla perl
1215 - added tests for this
1217 * Moose::Cookbook::Recipe7
1218 - added new recipe for immutable
1219 functionality (thanks Dave Rolsky)
1221 * Moose::Cookbook::Recipe9
1222 - added new recipe for builder and
1223 lazy_build (thanks Dave Rolsky)
1225 * Moose::Cookbook::Recipe11
1226 - added new recipe for method aliasing
1227 and exclusion with Roles (thanks Dave Rolsky)
1230 - fixed Win32 test failure (thanks spicyjack)
1232 ~ removed Build.PL and Module::Build compat
1233 since Module::Install has done that.
1235 0.43 Wed. April, 30, 2008
1237 drink more coffee before
1238 doing release engineering
1240 - whoops, forgot to do the smolder tests,
1241 and we broke some of the custom meta-attr
1242 modules. This fixes that.
1244 0.42 Mon. April 28, 2008
1245 - some bad tests slipped by, nothing else
1246 changed in this release (cpantesters++)
1248 - upped the Class::MOP dependency to 0.55
1249 since we have tests which need the C3
1252 0.41 Mon. April 28, 2008
1253 ~~ numerous documentation updates ~~
1255 - Changed all usage of die to Carp::croak for better
1256 error reporting (initial patch by Tod Hagan)
1258 ** IMPORTANT NOTE **
1259 - the make_immutable keyword is now deprecated, don't
1260 use it in any new code and please fix your old code
1261 as well. There will be 2 releases, and then it will
1267 - refactored the way inner and super work to avoid
1268 any method/@ISA cache penalty (nothingmuch)
1270 * Moose::Meta::Class
1271 - fixing &new_object to make sure trigger gets the
1272 coerced value (spotted by Charles Alderman on the
1274 - added test for this
1276 * Moose::Meta::Method::Constructor
1277 - immutable classes which had non-lazy attributes were calling
1278 the default generating sub twice in the constructor. (bug
1279 found by Jesse Luehrs, fixed by Dave Rolsky)
1280 - added tests for this (Dave Rolsky)
1281 - fix typo in initialize_body method (nothingmuch)
1283 * Moose::Meta::Method::Destructor
1284 - fix typo in initialize_body method (nothingmuch)
1286 * Moose::Meta::Method::Overriden
1287 Moose::Meta::Method::Augmented
1288 - moved the logic for these into their own
1289 classes (nothingmuch)
1291 * Moose::Meta::Attribute
1292 - inherited attributes may now be extended without
1293 restriction on the type ('isa', 'does') (Sartak)
1294 - added tests for this (Sartak)
1295 - when an attribute property is malformed (such as lazy without
1296 a default), give the name of the attribute in the error
1298 - added the &applied_traits and &has_applied_traits methods
1299 to allow introspection of traits
1300 - added tests for this
1301 - moved 'trait' and 'metaclass' argument handling to here from
1303 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1304 '+foo' syntax) (nothingmuch)
1305 - added tests for this (t0m)
1308 - localize $@ inside DEMOLISHALL to avoid it
1309 eating $@ (found by Ernesto)
1310 - added test for this (thanks to Ernesto)
1312 * Moose::Util::TypeConstraints
1313 - &find_type_constraint now DWIMs when given an
1314 type constraint object or name (nothingmuch)
1315 - &find_or_create_type_constraint superseded with a number of more
1317 - find_or_create_{isa,does}_type_constraint
1318 - find_or_parse_type_constraint
1320 * Moose::Meta::TypeConstraint
1321 Moose::Meta::TypeConstraint::Class
1322 Moose::Meta::TypeConstraint::Role
1323 Moose::Meta::TypeConstraint::Enum
1324 Moose::Meta::TypeConstraint::Union
1325 Moose::Meta::TypeConstraint::Parameterized
1326 - added the &equals method for comparing two type
1327 constraints (nothingmuch)
1328 - added tests for this (nothingmuch)
1330 * Moose::Meta::TypeConstraint
1331 - add the &parents method, which is just an alias to &parent.
1332 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1334 * Moose::Meta::TypeConstraint::Class
1335 - added the class attribute for introspection purposes
1337 - added tests for this
1339 * Moose::Meta::TypeConstraint::Enum
1340 Moose::Meta::TypeConstraint::Role
1341 - broke these out into their own classes (nothingmuch)
1343 * Moose::Cookbook::Recipe*
1344 - fixed references to test file locations in the POD
1345 and updated up some text for new Moose features
1349 - Added &resolve_metaclass_alias, a helper function for finding an actual
1350 class for a short name (e.g. in the traits list)
1352 0.40 Fri. March 14, 2008
1353 - I hate Pod::Coverage
1355 0.39 Fri. March 14, 2008
1357 - documenting the use of '+name' with attributes
1358 that come from recently composed roles. It makes
1359 sense, people are using it, and so why not just
1360 officially support it.
1361 - fixing the 'extends' keyword so that it will not
1362 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1365 - added the perl -Moose=+Class::Name feature to allow
1366 monkeypatching of classes in one liners
1369 - fixing the 'apply_all_roles' keyword so that it will not
1370 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1372 * Moose::Meta::Class
1373 - added ->create method which now supports roles (thanks to jrockway)
1374 - added tests for this
1375 - added ->create_anon_class which now supports roles and caching of
1376 the results (thanks to jrockway)
1377 - added tests for this
1378 - made ->does_role a little more forgiving when it is
1379 checking a Class::MOP era metaclasses.
1381 * Moose::Meta::Role::Application::ToInstance
1382 - it is now possible to pass extra params to be used when
1383 a role is applied to an the instance (rebless_params)
1384 - added tests for this
1386 * Moose::Util::TypeConstraints
1387 - class_type now accepts an optional second argument for a
1388 custom message. POD anotated accordingly (groditi)
1389 - added tests for this
1390 - it is now possible to make anon-enums by passing 'enum' an
1391 ARRAY ref instead of the $name => @values. Everything else
1393 - added tests for this
1396 - making test for using '+name' on attributes consumed
1397 from a role, it works and makes sense too.
1399 * Moose::Meta::Attribute
1400 - fix handles so that it doesn't return nothing
1401 when the method cannot be found, not sure why
1402 it ever did this originally, this means we now
1403 have slightly better support for AUTOLOADed
1405 - added more delegation tests
1406 - adding ->does method to this so as to better
1407 support traits and their introspection.
1408 - added tests for this
1411 - localizing the Data::Dumper configurations so
1412 that it does not pollute others (RT #33509)
1413 - made ->does a little more forgiving when it is
1414 passed Class::MOP era metaclasses.
1416 0.38 Fri. Feb. 15, 2008
1417 * Moose::Meta::Attribute
1418 - fixed initializer to correctly do
1419 type checking and coercion in the
1421 - added tests for this
1424 - fixed some finicky tests (thanks to konobi)
1426 0.37 Thurs. Feb. 14, 2008
1428 - fixed some details in Moose::init_meta
1429 and its superclass handling (thanks thepler)
1430 - added tests for this (thanks thepler)
1431 - 'has' now dies if you don't pass in name
1433 - added the 'make_immutable' keyword as a shortcut
1436 * Moose::Meta::Class
1437 Moose::Meta::Method::Constructor
1438 Moose::Meta::Attribute
1439 - making (init_arg => undef) work here too
1440 (thanks to nothingmuch)
1442 * Moose::Meta::Attribute
1443 Moose::Meta::Method::Constructor
1444 Moose::Meta::Method::Accessor
1445 - make lazy attributes respect attr initializers (rjbs)
1446 - added tests for this
1448 * Moose::Util::TypeConstraints
1449 Moose::Util::TypeConstraints::OptimizedConstraints
1450 Moose::Meta::TypeConstraints
1451 Moose::Meta::Attribute
1452 Moose::Meta::Method::Constructor
1453 Moose::Meta::Method::Accessor
1454 - making type errors use the
1455 assigned message (thanks to Sartak)
1456 - added tests for this
1458 * Moose::Meta::Method::Destructor
1459 - making sure DESTROY gets inlined properly
1460 with successive DEMOLISH calls (thanks to manito)
1462 * Moose::Meta::Attribute
1463 Moose::Meta::Method::Accessor
1464 - fixed handling of undef with type constraints
1466 - added tests for this
1469 - added &get_all_init_args and &get_all_attribute_values
1470 (thanks to Sartak and nothingmuch)
1472 0.36 Sat. Jan. 26, 2008
1474 Moose::Meta::Attribute
1475 - role type tests now support when roles are
1476 applied to non-Moose classes (found by ash)
1477 - added tests for this (thanks to ash)
1478 - couple extra tests to boost code coverage
1480 * Moose::Meta::Method::Constructor
1481 - improved fix for handling Class::MOP attributes
1482 - added test for this
1484 * Moose::Meta::Class
1485 - handled the add_attribute($attribute_meta_object)
1487 - added test for this
1489 0.35 Tues. Jan. 22, 2008
1490 * Moose::Meta::Method::Constructor
1491 - fix to make sure even Class::MOP attributes
1492 are handled correctly (Thanks to Dave Rolsky)
1493 - added test for this (also Dave Rolsky)
1495 * Moose::Meta::Class
1496 - improved error message on _apply_all_roles,
1497 you should now use Moose::Util::apply_all_roles
1498 and you shouldnt have been using a _ prefixed
1499 method in the first place ;)
1501 0.34 Mon. Jan. 21, 2008
1502 ~~~ more misc. doc. fixes ~~~
1503 ~~ updated copyright dates ~~
1505 Moose is now a postmodern object system :)
1506 - (see the POD for details)
1508 * <<Role System Refactoring>>
1509 - this release contains a major reworking and
1510 cleanup of the role system
1511 - 100% backwards compat.
1512 - Role application now restructured into seperate
1513 classes based on type of applicants
1514 - Role summation (combining of more than one role)
1515 is much cleaner and anon-classes are no longer
1516 used in this process
1517 - new Composite role metaclass
1518 - runtime application of roles to instances
1519 is now more efficient and re-uses generated
1520 classes when applicable
1522 * <<New Role composition features>>
1523 - methods can now be excluded from a given role
1525 - methods can now be aliased to another name (and
1526 still retain the original as well)
1528 * Moose::Util::TypeConstraints::OptimizedConstraints
1529 - added this module (see above)
1531 * Moose::Meta::Class
1532 - fixed the &_process_attribute method to be called
1533 by &add_attribute, so that the API is now correct
1535 * Moose::Meta::Method::Accessor
1536 - fixed bug when passing a list of values to
1537 an accessor would get (incorrectly) ignored.
1538 Thanks to Sartak for finding this ;)
1539 - added tests for this (Sartak again)
1541 * Moose::Meta::Method::Accessor
1542 Moose::Meta::Method::Constructor
1543 Moose::Meta::Attribute
1544 Moose::Meta::TypeConstraint
1545 Moose::Meta::TypeCoercion
1546 - lots of cleanup of such things as:
1548 - type constraint handling
1549 - error handling/messages
1550 (thanks to nothingmuch)
1552 * Moose::Meta::TypeConstraint::Parameterizable
1553 - added this module to support the refactor
1554 in Moose::Meta::TypeConstraint::Parameterized
1556 * Moose::Meta::TypeConstraint::Parameterized
1557 - refactored how these types are handled so they
1558 are more generic and not confined to ArrayRef
1562 - shortened some file names for better VMS support (RT #32381)
1564 0.33 Fri. Dec. 14, 2007
1565 !! Moose now loads 2 x faster !!
1566 !! with new Class::MOP 0.49 !!
1568 ++ new oose.pm module to make command line
1569 Moose-ness easier (see POD docs for more)
1571 * Moose::Meta::Class
1573 - several tweaks to take advantage of the
1574 new method map caching in Class::MOP
1576 * Moose::Meta::TypeConstraint::Parameterized
1577 - allow subtypes of ArrayRef and HashRef to
1578 be used as a container (sartak)
1579 - added tests for this
1580 - basic support for coercion to ArrayRef and
1581 HashRef for containers (sartak)
1582 - added tests for this
1584 * Moose::Meta::TypeCoercion
1585 - coercions will now create subtypes as needed
1586 so you can now add coercions to parameterized
1587 types without having to explictly define them
1588 - added tests for this
1590 * Moose::Meta::Method::Accessor
1591 - allow subclasses to decide whether we need
1592 to copy the value into a new variable (sartak)
1594 0.32 Tues. Dec. 4, 2007
1595 * Moose::Util::TypeConstraints
1596 - fixing how subtype aliases of unions work
1597 they should inherit the parent's coercion
1598 - added tests for this
1599 - you can now define multiple coercions on
1600 a single type at different times instead of
1601 having to do it all in one place
1602 - added tests for this
1604 * Moose::Meta::TypeConstraint
1605 - there is now a default constraint of sub { 1 }
1606 instead of Moose::Util::TypeConstraints setting
1609 * Moose::Meta::TypeCoercion
1610 * Moose::Meta::TypeCoercion::Union
1611 - added the &has_coercion_for_type and
1612 &add_type_coercions methods to support the
1613 new features above (although you cannot add
1614 more type coercions for Union types)
1616 0.31 Mon. Nov. 26, 2007
1617 * Moose::Meta::Attribute
1618 - made the +attr syntax handle extending types with
1619 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1620 now works if the original foo is an ArrayRef.
1621 - added tests for this.
1622 - delegation now works even if the attribute does not
1623 have a reader method using the get_read_method_ref
1624 method from Class::MOP::Attribute.
1625 - added tests for this
1626 - added docs for this
1628 * Moose::Util::TypeConstraints
1629 - passing no "additional attribute info" to
1630 &find_or_create_type_constraint will no longer
1631 attempt to create an __ANON__ type for you,
1632 instead it will just return undef.
1633 - added docs for this
1635 0.30 Fri. Nov. 23, 2007
1636 * Moose::Meta::Method::Constructor
1637 -builder related bug in inlined constructor. (groditi)
1639 * Moose::Meta::Method::Accessor
1640 - genereate unnecessary calls to predicates and refactor
1641 code generation for runtime speed (groditi)
1643 * Moose::Util::TypeConstraints
1644 - fix ClassName constraint to introspect symbol table (mst)
1645 - added more tests for this (mst)
1646 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1647 with work correctly.
1648 - added tests for this
1651 - adding the link to Recipie 11 (written by Sartak)
1652 - adding test for SYNOPSIS code
1655 - New tests for builder bug. Upon instantiation, if an
1656 attribute had a builder, no value and was not lazy the
1657 builder default was not getting run, oops. (groditi)
1659 0.29 Tues. Nov. 13, 2007
1660 * Moose::Meta::Attribute
1661 - Fix error message on missing builder method (groditi)
1663 * Moose::Meta::Method::Accessor
1664 - Fix error message on missing builder method (groditi)
1667 - Add test to check for the correct error message when
1668 builder method is missing (groditi)
1670 0.28 Tues. Nov. 13, 2007
1671 - 0.27 packaged incorrectly (groditi)
1673 0.27 Tues. Nov. 13, 2007
1674 * Moose::Meta::Attribute
1675 - Added support for the new builder option (groditi)
1676 - Added support for lazy_build option (groditi)
1677 - Changed slot initialization for predicate changes (groditi)
1679 * Moose::Meta::Method::Accessor
1680 - Added support for lazy_build option (groditi)
1681 - Fix inline methods to work with corrected predicate
1684 * Moose::Meta::Method::Constructor
1685 - Added support for lazy_build option (groditi)
1688 - tests for builder and lazy_build (groditi)
1690 * fixing some misc. bits in the docs that
1691 got mentioned on CPAN Forum & perlmonks
1694 - fixed how required methods are handled
1695 when they encounter overriden or modified
1696 methods from a class (thanks to confound).
1697 - added tests for this
1699 * Moose::Util::TypeConstraint
1700 - fixed the type notation parser so that
1701 the | always creates a union and so is
1702 no longer a valid type char (thanks to
1703 konobi, mugwump and #moose for working
1705 - added more tests for this
1707 0.26 Thurs. Sept. 27, 2007
1710 * Parameterized Types
1711 We now support parameterized collection types, such as:
1712 ArrayRef[Int] # array or integers
1713 HashRef[Object] # a hash with object values
1714 They can also be nested:
1715 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1716 And work with the type unions as well:
1717 ArrayRef[Int | Str] # array of integers of strings
1719 * Better Framework Extendability
1720 Moose.pm is now "extendable" such that it is now much
1721 easier to extend the framework and add your own keywords
1722 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1723 section of the Moose.pm docs.
1726 In an effort to begin documenting some of the various
1727 details of Moose as well as some common idioms, we have
1728 created Moose::Cookbook::Snacks as a place to find
1729 small (easily digestable) nuggets of Moose code.
1732 ~ Several doc updates/cleanup thanks to castaway ~
1734 - converted build system to use Module::Install instead of
1735 Module::Build (thanks to jrockway)
1738 - added all the meta classes to the immutable list and
1739 set it to inline the accessors
1740 - fix import to allow Sub::Exporter like { into => }
1741 and { into_level => } (perigrin)
1742 - exposed and documented init_meta() to allow better
1743 embedding and extending of Moose (perigrin)
1746 - complete re-organization of the test suite
1747 - added some new tests as well
1748 - finally re-enabled the Moose::POOP test since
1749 the new version of DBM::Deep now works again
1752 * Moose::Meta::Class
1753 - fixed very odd and very nasty recursion bug with
1755 - added tests for this (eilara)
1757 * Moose::Meta::Attribute
1758 Moose::Meta::Method::Constructor
1759 Moose::Meta::Method::Accessor
1760 - fixed issue with overload::Overloaded getting called
1761 on non-blessed items. (RT #29269)
1762 - added tests for this
1764 * Moose::Meta::Method::Accessor
1765 - fixed issue with generated accessor code making
1766 assumptions about hash based classes (thanks to dexter)
1768 * Moose::Coookbook::Snacks
1769 - these are bits of documentation, not quite as big as
1770 Recipes but which have no clear place in the module docs.
1771 So they are Snacks! (horray for castaway++)
1773 * Moose::Cookbook::Recipe4
1774 - updated it to use the new ArrayRef[MyType] construct
1775 - updated the accompanying test as well
1777 +++ Major Refactor of the Type Constraint system +++
1778 +++ with new features added as well +++
1780 * Moose::Util::TypeConstraint
1781 - no longer uses package variable to keep track of
1782 the type constraints, now uses the an instance of
1783 Moose::Meta::TypeConstraint::Registry to do it
1784 - added more sophisticated type notation parsing
1786 - added tests for this
1788 * Moose::Meta::TypeConstraint
1789 - some minor adjustments to make subclassing easier
1790 - added the package_defined_in attribute so that we
1791 can track where the type constraints are created
1793 * Moose::Meta::TypeConstraint::Union
1794 - this is now been refactored to be a subclass of
1795 Moose::Meta::TypeConstraint
1797 * Moose::Meta::TypeCoercion::Union
1798 - this has been added to service the newly refactored
1799 Moose::Meta::TypeConstraint::Union and is itself
1800 a subclass of Moose::Meta::TypeCoercion
1802 * Moose::Meta::TypeConstraint::Parameterized
1803 - added this module (taken from MooseX::AttributeHelpers)
1804 to help construct nested collection types
1805 - added tests for this
1807 * Moose::Meta::TypeConstraint::Registry
1808 - added this class to keep track of type constraints
1810 0.25 Mon. Aug. 13, 2007
1812 - Documentation update to reference Moose::Util::TypeConstraints
1813 under 'isa' in 'has' for how to define a new type
1814 (thanks to shlomif).
1816 * Moose::Meta::Attribute
1817 - required attributes now will no longer accept undef
1818 from the constructor, even if there is a default and lazy
1819 - added tests for this
1820 - default subroutines must return a value which passes the
1822 - added tests for this
1824 * Moose::Meta::Attribute
1825 * Moose::Meta::Method::Constructor
1826 * Moose::Meta::Method::Accessor
1827 - type-constraint tests now handle overloaded objects correctly
1828 in the error message
1829 - added tests for this (thanks to EvanCarroll)
1831 * Moose::Meta::TypeConstraint::Union
1832 - added (has_)hand_optimized_constraint to this class so that
1833 it behaves as the regular Moose::Meta::TypeConstraint does.
1836 - large refactoring of this code
1837 - added several more tests
1838 - tests for subtle conflict resolition issues
1839 added, but not currently running
1842 * Moose::Cookbook::Recipe7
1843 - added new recipe for augment/inner functionality
1845 - added test for this
1848 - a formal definition of roles (still in progress)
1851 - utilities for easier working with Moose classes
1852 - added tests for these
1855 - This contains Moose specific test functions
1856 - added tests for these
1858 0.24 Tues. July 3, 2007
1859 ~ Some doc updates/cleanup ~
1861 * Moose::Meta::Attribute
1862 - added support for roles to be given as parameters
1863 to the 'handles' option.
1864 - added tests and docs for this
1865 - the has '+foo' attribute form now accepts changes to
1866 the lazy option, and the addition of a handles option
1867 (but not changing the handles option)
1868 - added tests and docs for this
1871 - required methods are now fetched using find_method_by_name
1872 so that required methods can come from superclasses
1873 - adjusted tests for this
1875 0.23 Mon. June 18, 2007
1876 * Moose::Meta::Method::Constructor
1877 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1878 * Moose::Meta::Class
1879 - Modify make_immutable to work with the new Class::MOP immutable
1880 mechanism + POD + very basic test (groditi)
1881 * Moose::Meta::Attribute
1882 - Fix handles to use goto() so that caller() comes out properly on
1883 the other side (perigrin)
1885 0.22 Thurs. May 31, 2007
1886 * Moose::Util::TypeConstraints
1887 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1888 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1889 prototypes for functions
1890 - added the ClassName type constraint, this checks for strings
1891 which will respond true to ->isa(UNIVERSAL).
1892 - added tests and docs for this
1893 - subtyping just in name now works correctly by making the
1894 default for where be { 1 }
1895 - added test for this
1897 * Moose::Meta::Method::Accessor
1898 - coerce and lazy now work together correctly, thanks to
1899 merlyn for finding this bug
1900 - tests added for this
1901 - fix reader presedence bug in Moose::Meta::Attribute + tests
1904 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1905 a HASH-ref and missed. This produces better error messages then
1906 having it die cause undef is not a HASH.
1907 - added tests for this
1909 0.21 Thursday, May 2nd, 2007
1911 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1912 - modified unimport to remove super and inner along with the rest
1913 - altered unimport tests to handle this
1916 - altered super export to populate SUPER_SLOT
1918 * Moose::Meta::Class
1919 - altered augment and override modifier application to use *_SLOT
1920 - modified tests for these to unimport one test class each to test
1923 - fixed issue where custom attribute metaclasses
1924 where not handled correctly in roles
1925 - added tests for this
1927 * Moose::Meta::Class
1928 - fixed issue where extending metaclasses with
1929 roles would blow up. Thanks to Aankhen`` for
1930 finding this insidious error, and it's solution.
1932 ~~ lots of spelling and grammer fixes in the docs,
1933 many many thanks to rlb3 and Aankhen for these :)
1935 0.20 Friday, April 6th, 2007
1936 >> I messed up the SKIP logic in one test
1937 so this release is just to fix that.
1940 - 'has' now also accepts an ARRAY ref
1941 to create multiple attrs (see docs)
1942 (thanks to konobi for this)
1943 - added tests and docs
1945 0.19 Thurs. April 5th, 2007
1946 ~~ More documentation updates ~~
1948 * Moose::Util::TypeConstraints
1949 - 'type' now supports messages as well
1950 thanks to phaylon for finding this
1951 - added tests for this
1952 - added &list_all_type_constraints and
1953 &list_all_builtin_type_constraints
1954 functions to facilitate introspection.
1956 * Moose::Meta::Attribute
1957 - fixed regexp 'handles' declarations
1958 to build the list of delegated methods
1959 correctly (and not override important
1960 things like &new) thanks to ashleyb
1962 - added tests and docs for this
1963 - added the 'documentation' attributes
1964 so that you can actually document your
1965 attributes and inspect them through the
1967 - added tests and docs for this
1969 * Moose::Meta::Class
1970 - when loading custom attribute metaclasses
1971 it will first look in for the class in the
1972 Moose::Meta::Attribute::Custom::$name, and
1973 then default to just loading $name.
1974 - added tests and docs for this
1976 * Moose::Meta::TypeConstraint
1977 - type constraints now stringify to their names.
1978 - added test for this
1981 - added tests to assure we work with Module::Refresh
1982 - added stricter test skip logic in the Moose POOP
1983 test, ask Rob Kinyon why.
1984 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1986 0.18 Sat. March 10, 2007
1987 ~~ Many, many documentation updates ~~
1990 - We now use Class::MOP::load_class to
1992 - added tests to show types and subtypes
1993 working with Declare::Constraints::Simple
1994 and Test::Deep as constraint engines.
1997 !! You must have Class::MOP 0.37_001 !!
1998 !! for this developer release to work !!
2000 This release was primarily adding the immutable
2001 feature to Moose. An immutable class is one which
2002 you promise not to alter. When you set the class
2003 as immutable it will perform various bits of
2004 memoization and inline certain part of the code
2005 (constructors, destructors and accessors). This
2006 minimizes (and in some cases totally eliminates)
2007 one of Moose's biggest performance hits. This
2008 feature is not on by default, and is 100% optional.
2009 It has several configurable bits as well, so you
2010 can pick and choose to your specific needs.
2012 The changes involved in this were fairly wide and
2013 highly specific, but 100% backwards compatible, so
2014 I am not going to enumerate them here. If you are
2015 truely interested in what was changed, please do
2018 0.17 Tues. Nov. 14, 2006
2019 * Moose::Meta::Method::Accessor
2020 - bugfix for read-only accessors which
2021 are have a type constraint and lazy.
2022 Thanks to chansen for finding it.
2024 0.16 Tues. Nov. 14, 2006
2026 There are some speed improvements in this release,
2027 but they are only the begining, so stay tuned.
2030 - BUILDALL and DEMOLISHALL no longer get
2031 called unless they actually need to be.
2032 This gave us a signifigant speed boost
2033 for the cases when there is no BUILD or
2034 DEMOLISH method present.
2036 * Moose::Util::TypeConstraints
2037 * Moose::Meta::TypeConstraint
2038 - added an 'optimize_as' option to the
2039 type constraint, which allows for a
2040 hand optimized version of the type
2041 constraint to be used when possible.
2042 - Any internally created type constraints
2043 now provide an optimized version as well.
2045 0.15 Sun. Nov. 5, 2006
2047 This version of Moose *must* have Class::MOP 0.36 in order
2048 to work correctly. A number of small internal tweaks have
2049 been made in order to be compatible with that release.
2051 * Moose::Util::TypeConstraints
2052 - added &unimport so that you can clean out
2053 your class namespace of these exported
2056 * Moose::Meta::Class
2057 - fixed minor issue which occasionally
2058 comes up during global destruction
2060 - moved Moose::Meta::Method::Overriden into
2064 - moved Moose::Meta::Role::Method into
2067 * Moose::Meta::Attribute
2068 - changed how we do type checks so that
2069 we reduce the overall cost, but still
2072 - moved accessor generation methods to
2073 Moose::Meta::Method::Accessor to
2074 conform to the API changes from
2077 * Moose::Meta::TypeConstraint
2078 - changed how constraints are compiled
2079 so that we do less recursion and more
2080 iteration. This makes the type check
2082 - moved Moose::Meta::TypeConstraint::Union
2085 * Moose::Meta::Method::Accessor
2086 - created this from methods formerly found in
2087 Moose::Meta::Attribute
2089 * Moose::Meta::Role::Method
2090 - moved this from Moose::Meta::Role
2092 * Moose::Meta::Method::Overriden
2093 - moved this from Moose::Meta::Class
2095 * Moose::Meta::TypeConstraint::Union
2096 - moved this from Moose::Meta::TypeConstraint
2098 0.14 Mon. Oct. 9, 2006
2100 * Moose::Meta::Attribute
2101 - fixed lazy attributes which were not getting
2102 checked with the type constraint (thanks ashley)
2103 - added tests for this
2104 - removed the over-enthusiastic DWIMery of the
2105 automatic ArrayRef and HashRef defaults, it
2106 broke predicates in an ugly way.
2107 - removed tests for this
2109 0.13 Sat. Sept. 30, 2006
2111 This version of Moose *must* have Class::MOP 0.35 in order
2112 to work correctly. A number of small internal tweaks have
2113 been made in order to be compatible with that release.
2116 - Removed the use of UNIVERSAL::require to be a better
2117 symbol table citizen and remove a dependency
2118 (thanks Adam Kennedy)
2120 **~~ removed experimental & undocumented feature ~~**
2121 - commented out the 'method' and 'self' keywords, see the
2122 comments for more info.
2125 - added a FAQ and WTF files to document frequently
2126 asked questions and common problems
2128 * Moose::Util::TypeConstraints
2129 - added GlobRef and FileHandle type constraint
2130 - added tests for this
2132 * Moose::Meta::Attribute
2133 - if your attribute 'isa' ArrayRef of HashRef, and you have
2134 not explicitly set a default, then make the default DWIM.
2135 This will also work for subtypes of ArrayRef and HashRef
2137 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2138 - new test added for this (thanks to ashley)
2141 - added basic support for runtime role composition
2142 but this is still *highly experimental*, so feedback
2143 is much appreciated :)
2144 - added tests for this
2146 * Moose::Meta::TypeConstraint
2147 - the type constraint now handles the coercion process
2148 through delegation, this is to support the coercion
2151 * Moose::Meta::TypeConstraint::Union
2152 - it is now possible for coercions to be performed
2154 - added tests for this (thanks to konobi)
2156 * Moose::Meta::TypeCoercion
2157 - properly capturing error when type constraint
2161 - Scalar::Util 1.18 is bad on Win32, so temporarily
2162 only require version 1.17 for Win32 and cygwin.
2163 (thanks Adam Kennedy)
2165 0.12 Sat. Sept. 1, 2006
2167 - Recipe5 (subtypes & coercion) has been written
2170 - fixed "bad meta" error message to be more descriptive
2171 - fixed &unimport to not remove the &inner and &super
2172 keywords because we need to localize them.
2173 - fixed number of spelling/grammer issues, thanks Theory :)
2175 **~~ experimental & undocumented feature ~~**
2176 - added the method and self keywords, they are basically
2177 just sugar, and they may not stay around.
2180 - added &dump method to easily Data::Dumper
2183 * Moose::Meta::TypeConstraint
2184 - added the &is_a_type_of method to check both the current
2185 and the subtype of a method (similar to &isa with classes)
2188 - this is now a subclass of Class::MOP::Module, and no longer
2189 creates the _role_meta ugliness of before.
2190 - fixed tests to reflect this change
2192 0.11 Wed. July 12, 2006
2194 - added an &unimport method to remove all the keywords
2195 that Moose will import, simply add 'no Moose' to the
2196 bottom of your class file.
2199 - fixed some test failures caused by a forgotten test
2202 0.10 Thurs. July 6, 2006
2204 - improved error message when loading modules so
2205 it is less confusing when you load a role.
2206 - added &calculate_all_roles method to
2207 Moose::Meta::Class and Moose::Meta::Role
2210 This module has been tested against Class::MOP 0.30
2211 but it does not yet utilize the optimizations
2212 it makes available. Stay tuned for that ;)
2214 0.09_03 Fri. June 23, 2006
2215 ++ DEVELOPER RELEASE ++
2217 - 'use strict' and 'use warnings' are no longer
2218 needed in Moose classes, Moose itself will
2219 turn them on for you.
2220 - added tests for this
2221 - moved code from exported subs to private methods
2222 in Moose::Meta::Class
2225 - as with Moose, strict and warnings are
2226 automatically turned on for you.
2227 - added tests for this
2230 - now handles an edge case for override errors
2231 - added tests for this
2232 - added some more edge case tests
2234 0.09_02 Tues. May 16, 2006
2235 ++ DEVELOPER RELEASE ++
2237 - added prototypes to the exported subs
2241 - added prototypes to the exported subs
2244 * Moose::Util::TypeConstraints
2245 - cleaned up prototypes for the subs
2248 0.09_01 Fri. May 12, 2006
2249 ++ DEVELOPER RELEASE ++
2250 - This release works in combination with
2251 Class::MOP 0.29_01, it is a developer
2252 release because it uses the a new
2253 instance sub-protocol and a fairly
2254 complete Role implementation. It has
2255 not yet been optimized, so it slower
2256 the the previous CPAN version. This
2257 release also lacks good updated docs,
2258 the official release will have updated docs.
2261 - refactored the keyword exports
2262 - 'with' now checks Role validaity and
2263 accepts more than one Role at a time
2264 - 'extends' makes metaclass adjustments as
2265 needed to ensure metaclass compatibility
2268 - refactored the keyword exports
2269 - 'with' now checks Role validaity and
2270 accepts more than one Role at a time
2272 * Moose::Util::TypeConstraints
2273 - added the 'enum' keyword for simple
2274 string enumerations which can be used as
2276 - see example of usage in t/202_example.t
2279 - more careful checking of params to new()
2282 - much work done on the role composition
2283 - many new tests for conflict detection
2284 and composition edge cases
2285 - not enough documentation, I suggest
2286 looking at the tests
2288 * Moose::Meta::Instance
2289 - added new Instance metaclass to support
2290 the new Class::MOP instance protocol
2292 * Moose::Meta::Class
2293 - some small changes to support the new
2295 - some small additions to support Roles
2297 * Moose::Meta::Attribute
2298 - some improvements to the accessor generation code
2300 - some small changes to support the new
2302 - (still somewhat) experimental delegation support
2303 with the 'handles' option
2304 - added several tests for this
2305 - no docs for this yet
2307 0.05 Thurs. April 27, 2006
2309 - keywords are now exported with Sub::Exporter
2310 thanks to chansen for this commit
2311 - has keyword now takes a 'metaclass' option
2312 to support custom attribute meta-classes
2313 on a per-attribute basis
2314 - added tests for this
2315 - the 'has' keyword not accepts inherited slot
2316 specifications (has '+foo'). This is still an
2317 experimental feature and probably not finished
2318 see t/038_attribute_inherited_slot_specs.t for
2319 more details, or ask about it on #moose
2320 - added tests for this
2323 - keywords are now exported with Sub::Exporter
2325 * Moose::Utils::TypeConstraints
2326 - reorganized the type constraint hierarchy, thanks
2327 to nothingmuch and chansen for his help and advice
2329 - added some tests for this
2330 - keywords are now exported with Sub::Exporter
2331 thanks to chansen for this commit
2333 * Moose::Meta::Class
2334 - due to changes in Class::MOP, we had to change
2335 construct_instance (for the better)
2337 * Moose::Meta::Attribute
2338 - due to changes in Class::MOP, we had to add the
2339 initialize_instance_slot method (it's a good thing)
2341 * Moose::Meta::TypeConstraint
2342 - added type constraint unions
2343 - added tests for this
2344 - added the is_subtype_of predicate method
2345 - added tests for this
2347 0.04 Sun. April 16th, 2006
2349 - Roles can now consume other roles
2350 - added tests for this
2351 - Roles can specify required methods now with
2352 the requires() keyword
2353 - added tests for this
2356 - ripped out much of it's guts ,.. much cleaner now
2357 - added required methods and correct handling of
2358 them in apply() for both classes and roles
2359 - added tests for this
2360 - no longer adds a does() method to consuming classes
2361 it relys on the one in Moose::Object
2362 - added roles attribute and some methods to support
2363 roles consuming roles
2365 * Moose::Meta::Attribute
2366 - added support for triggers on attributes
2367 - added tests for this
2368 - added support for does option on an attribute
2369 - added tests for this
2371 * Moose::Meta::Class
2372 - added support for attribute triggers in the
2374 - added tests for this
2377 - Moose no longer creates a subtype for your class
2378 if a subtype of the same name already exists, this
2379 should DWIM in 99.9999% of all cases
2381 * Moose::Util::TypeConstraints
2382 - fixed bug where incorrect subtype conflicts were
2384 - added test for this
2387 - this class can now be extended with 'use base' if
2388 you need it, it properly loads the metaclass class now
2389 - added test for this
2391 0.03_02 Wed. April 12, 2006
2393 - you must now explictly use Moose::Util::TypeConstraints
2394 it no longer gets exported for you automatically
2397 - new() now accepts hash-refs as well as key/value lists
2398 - added does() method to check for Roles
2399 - added tests for this
2401 * Moose::Meta::Class
2402 - added roles attribute along with the add_role() and
2404 - added tests for this
2407 - now adds a does() method to consuming classes
2408 which tests the class's hierarchy for roles
2409 - added tests for this
2411 0.03_01 Mon. April 10, 2006
2413 - added new Role recipe (no content yet, only code)
2416 - added 'with' keyword for Role support
2417 - added test and docs for this
2418 - fixed subtype quoting bug
2419 - added test for this
2423 - added test and docs
2425 * Moose::Util::TypeConstraints
2426 - added the message keyword to add custom
2427 error messages to type constraints
2430 - the meta role to support Moose::Role
2431 - added tests and docs
2433 * Moose::Meta::Class
2434 - moved a number of things from Moose.pm
2435 to here, they should have been here
2438 * Moose::Meta::Attribute
2439 - moved the attribute option macros here
2440 instead of putting them in Moose.pm
2442 * Moose::Meta::TypeConstraint
2443 - added the message attributes and the
2445 - added tests and docs for this
2447 0.03 Thurs. March 30, 2006
2449 - added the Moose::Cookbook with 5 recipes,
2450 describing all the stuff Moose can do.
2453 - fixed an issue with &extends super class loading
2454 it now captures errors and deals with inline
2455 packages correctly (bug found by mst, solution
2457 - added super/override & inner/augment features
2458 - added tests and docs for these
2461 - BUILDALL now takes a reference of the %params
2462 that are passed to &new, and passes that to
2465 * Moose::Util::TypeConstraints
2466 - Type constraints now survive runtime reloading
2467 - added test for this
2469 * Moose::Meta::Class
2470 - fixed the way attribute defaults are handled
2471 during instance construction (bug found by chansen)
2473 * Moose::Meta::Attribute
2474 - read-only attributes now actually enforce their
2475 read-only-ness (this corrected in Class::MOP as
2478 0.02 Tues. March 21, 2006
2480 - many more tests, fixing some bugs and
2482 - &extends now loads the base module with
2484 - added UNIVERSAL::require to the
2487 - each new Moose class will also create
2488 and register a subtype of Object which
2489 correspond to the new Moose class.
2490 - the 'isa' option in &has now only
2491 accepts strings, and will DWIM in
2494 * Moose::Util::TypeConstraints
2495 - added type coercion features
2496 - added tests for this
2497 - added support for this in attributes
2498 and instance construction
2500 - type construction no longer creates a
2501 function, it registers the type instead.
2502 - added several functions to get the
2506 - BUILDALL and DEMOLISHALL were broken
2507 because of a mis-named hash key, Whoops :)
2509 * Moose::Meta::Attribute
2510 - adding support for coercion in the
2511 autogenerated accessors
2513 * Moose::Meta::Class
2514 - adding support for coercion in the
2515 instance construction
2517 * Moose::Meta::TypeConstraint
2518 * Moose::Meta::TypeCoercion
2519 - type constraints and coercions are now
2520 full fledges meta-objects
2522 0.01 Wed. March 15, 2006
2523 - Moooooooooooooooooose!!!