1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
4 0.76 Sat, April 25, 2009
5 * Moose::Meta::TypeConstraint
6 - Do not run coercions in coerce() if the value already passes the type
9 * Moose::Meta::TypeConstraint::Class
10 - In validation error messages, specifically say that the value is not
11 an instance of the class. This should alleviate some frustrating
12 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
14 * Moose::Meta::Role::Application::ToClass
15 - Revert the class-overrides-role warning in favor of a solution outside
16 of the Moose core (Sartak)
18 0.75_01 Thu, April 23, 2009
19 * Moose::Meta::Role::Application::ToClass
20 - Moose now warns about each class overriding methods from roles it
24 - Warnings tests have standardized on Test::Output which is now an
25 unconditionally dependency (Sartak)
28 - Changes to immutabilization to work with Class::MOP 0.82_01+.
30 0.75 Mon, April 20, 2009
33 - Move validation of not inheriting from roles from Moose::extends to
34 Moose::Meta::Class::superclasses (doy)
37 - add ensure_all_roles() function to encapsulate the common "apply this
38 role unless the object already does it" pattern (hdp)
41 - Users can now select a different metaclass with the "-metaclass"
42 option to import, for classes and roles (Sartak)
45 - Make method_metaclass an attr so that it can accept a metarole
48 0.74 Tue, April 7, 2009
50 * Moose::Meta::Method::Destructor
51 - Include stack traces in the deprecation warnings.
55 - Removed the long-deprecated _apply_all_roles method.
57 * Moose::Meta::TypeConstraint
58 - Removed the long-deprecated union method.
61 0.73_02 Mon, April 6, 2009
62 * More deprecations and renamings
63 - Moose::Meta::Method::Constructor
64 - initialize_body => _initialize_body (this is always called
65 when an object is constructed)
68 - The DEMOLISHALL method could throw an exception during global
69 destruction, meaning that your class's DEMOLISH methods would
70 not be properly called. Reported by t0m.
72 * Moose::Meta::Method::Destructor
73 - Destructor inlining was totally broken by the change to the
74 is_needed method in 0.72_01. Now there is a test for this
75 feature, and it works again.
78 - Bold the word 'not' in the POD for find_meta (t0m)
80 0.73_01 Sun, April 5, 2009
82 - Call user_class->meta in fewer places, with the eventual goal
83 of allowing the user to rename or exclude ->meta
84 altogether. Instead uses Class::MOP::class_of. (Sartak)
86 * Moose::Meta::Method::Accessor
87 - If an attribute had a lazy default, and that value did not
88 pass the attribute's type constraint, it did not get the
89 message from the type constraint, instead using a generic
90 message. Test provided by perigrin.
92 * Moose::Util::TypeConstraints
93 - Add duck_type keyword. It's sugar over making sure an object
94 can() a list of methods. This is easier than jrockway's
95 suggestion to fork all of CPAN. (perigrin)
96 - add tests and documentation (perigrin)
99 - Document the fact that init_meta() returns the target class's
100 metaclass object. (hdp)
102 * Moose::Cookbook::Extending::Recipe1
103 * Moose::Cookbook::Extending::Recipe2
104 * Moose::Cookbook::Extending::Recipe3
105 * Moose::Cookbook::Extending::Recipe4
106 - Make init_meta() examples explicitly return the metaclass and
107 point out this fact. (hdp)
109 * Moose::Cookbook::Basics::Recipe12
110 - A new recipe, creating a custom meta-method class.
112 * Moose::Cookbook::Meta::Recipe6
113 - A new recipe, creating a custom meta-method class.
116 * Moose::Meta::Method::Constructor
117 - Attribute triggers no longer receive the meta-attribute object
118 as an argument in any circumstance. Previously, triggers
119 called during instance construction were passed the
120 meta-attribute, but triggers called by normal accessors were
121 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
123 * Moose::Manual::Attributes
124 - Remove references to triggers receving the meta-attribute object as an
127 * Moose::Cookbook::FAQ
128 - Remove recommendation for deprecated Moose::Policy and
129 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
132 * Many methods have been renamed with a leading underscore, and a
133 few have been deprecated entirely. The methods with a leading
134 underscore are consider "internals only". People writing
135 subclasses or extensions to Moose should feel free to override
136 them, but they are not for "public" use.
139 - check_metaclass_compatibility => _check_metaclass_compatibility
141 - Moose::Meta::Method::Accessor
142 - initialize_body => _initialize_body (this is always called
143 when an object is constructed)
144 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
146 - Moose::Meta::Method::Constructor
147 - initialize_body => _initialize_body (this is always called
148 when an object is constructed)
149 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
150 - attributes => _attributes (now inherited from parent)
151 - meta_instance => _meta_instance (now inherited from parent)
154 - alias_method is deprecated. Use add_method
156 0.73 Fri, March 29, 2009
157 * No changes from 0.72_01.
159 0.72_01 Thu, March 26, 2009
161 - Almost every module has complete API documentation. A few
162 methods (and even whole classes) have been intentionally
163 excluded pending some rethinking of their APIs.
165 * Moose::Util::TypeConstraints
166 - Calling subtype with a name as the only argument is now an
167 exception. If you want an anonymous subtype do:
169 my $subtype = subtype as 'Foo';
171 * Moose::Cookbook::Meta::Recipe7
172 - A new recipe, creating a custom meta-instance class.
174 * Moose::Cookbook::Basics::Recipe5
175 - Fix various typos and mistakes. Includes a patch from Radu
178 * Moose::Cookbook::Basics::Recipe9
179 - Link to this recipe from Moose.pm's builder blurb
182 - When wrapping a function with a prototype, Moose::Exporter now
183 makes sure the wrapped function still has the same
184 prototype. (Daisuke Maki)
186 * Moose::Meta::Attribute
187 - Allow a subclass to set lazy_build for an inherited
191 - Explicitly depend on Data::OptList. We already had this dependency
192 via Sub::Exporter, but since we're using it directly we're
193 better off with it listed. (Sartak)
195 * Moose::Meta::Method::Constructor
196 - Make it easier to subclass the inlining behaviour. (Ash
199 * Moose::Manual::Delta
200 - Details significant changes in the history of Moose, along
201 with recommended workarounds.
203 * Moose::Manual::Contributing
204 - Contributor's guide to Moose.
206 * Moose::Meta::Method::Constructor
207 - The long-deprecated intialize_body method has been removed
208 (yes, spelled like that).
210 * Moose::Meta::Method::Destructor
211 - This is_needed method is now always a class method.
214 - Changes to the internals of how make_immutable works to match
215 changes in latest Class::MOP.
217 0.72 Mon, February 23, 2009
219 * Moose::Meta::Method::Constructor
220 - A mutable class accepted Foo->new(undef) without complaint,
221 while an immutable class would blow up with an unhelpful
222 error. Now, in both cases we throw a helpful error
223 instead. Reported by doy.
225 0.71_01 Sun, February 22, 2009
227 - Hopefully fixed some POD errors in a few recipes that caused
228 them to display weird on search.cpan.org.
230 * Moose::Util::TypeConstraints
231 - Calling type or subtype without the sugar helpers (as, where,
232 message) is now deprecated.
233 - The subtype function tried hard to guess what you meant, but
234 often got it wrong. For example:
236 my $subtype = subtype as 'ArrayRef[Object]';
238 This caused an error in the past, but now works as you'd
242 - Make sure Moose.pm is loaded before calling
243 Moose->throw_error. This wasn't normally an issue, but could
244 bite you in weird cases.
246 0.71 Thu, February 19, 2009
247 * Moose::Cookbook::Basics::Recipe11
248 - A new recipe which demonstrates the use of BUILDARGS and
251 * Moose::Cookbook::Roles::Recipe3
252 - A new recipe, applying a role to an object instance. (Dave
256 - Allow overriding specific keywords from "also" packages. (doy)
259 - Replace hardcoded cookbook tests with Test::Inline to ensure
260 the tests match the actual code in the recipes. (Dave Rolsky)
263 - Working on the above turned up a number of little bugs in the
264 recipe code. (Dave Rolsky)
266 * Moose::Util::TypeConstraints::Optimized
267 - Just use Class::MOP for the optimized ClassName check. (Dave
270 0.70 Sat, February 14, 2009
271 * Moose::Util::TypeConstraints
272 - Added the RoleName type (stevan)
273 - added tests for this (stevan)
275 * Moose::Cookbook::Basics::Recipe3
276 - Updated the before qw[left right] sub to be a little more
277 defensive about what it accepts (stevan)
278 - added more tests to t/000_recipies/basics/003_binary_tree.t
282 - We now always call DEMOLISHALL, even if a class does not
283 define DEMOLISH. This makes sure that method modifiers on
284 DEMOLISHALL work as expected. (doy)
285 - added tests for this (EvanCarroll)
287 * Moose::Util::MetaRole
288 - Accept roles for the wrapped_method_metaclass (rafl)
289 - added tests for this (rafl)
291 * Moose::Meta::Attribute
292 - We no longer pass the meta-attribute object as a final
293 argument to triggers. This actually changed for inlined code a
294 while back, but the non-inlined version and the docs were
298 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
299 they require 0.11. (Dave Rolsky)
302 - Lots of small changes to the manual, cookbook, and
303 elsewhere. These were based on feedback from various
304 users, too many to list here. (Dave Rolsky)
306 0.69 Thu, February 12, 2009
308 - Make some keyword errors use throw_error instead of croak
309 since Moose::Exporter wraps keywords now (Sartak)
312 - Revised every recipe for style and clarity. Also moved some
313 documentation out of cookbook recipes and into Moose::Manual
314 pages. This work was funded as part of the Moose docs grant
315 from TPF. (Dave Rolsky)
317 * Moose::Meta::Method::Delegation
318 - If the attribute doing the delegation was not populated, the
319 error message did not specify the attribute name
322 0.68 Wed, February 4, 2009
324 - Many spelling, typo, and formatting fixes by daxim.
326 * Moose::Manual::Attributes
327 - The NAME section in the POD used "Attribute" so search.cpan
328 didn't resolve links from other documents properly.
330 * Moose::Meta::Method::Overriden
331 - Now properly spelled as Overridden. Thanks to daxim for
334 0.67 Tue, February 3, 2009
336 - Lots of little typo fixes and a few clarifications. Several
337 pages didn't have proper titles, and so weren't actually
338 visible on search.cpan.org. Thanks to hanekomu for a variety
339 of fixes and formatting improvements.
341 0.66 Tue, February 3, 2009
343 - This is a brand new, extensive manual for Moose. This aims to
344 provide a complete introduction to all of Moose's
345 features. This work was funded as part of the Moose docs grant
346 from TPF. (Dave Rolsky)
348 * Moose::Meta::Attribute
349 - Added a delegation_metaclass method to replace a hard-coded
350 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
352 * Moose::Util::TypeConstraints
353 - If you created a subtype and passed a parent that Moose didn't
354 know about, it simply ignored the parent. Now it automatically
355 creates the parent as a class type. This may not be what you
356 want, but is less broken than before. (Dave Rolsky)
358 * Moose::Util::TypeConstraints
359 - This module tried throw errors by calling Moose->throw_error,
360 but it did not ensure that Moose was loaded first. This could
361 cause very unhelpful errors when it tried to throw an error
362 before Moose was loaded. (Dave Rolsky)
364 * Moose::Util::TypeConstraints
365 - You could declare a name with subtype such as "Foo!Bar" that
366 would be allowed, but if you used it in a parameterized type
367 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
368 vetting on names created via the sugar functions, so that they
369 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
371 0.65 Thu, January 22, 2008
372 * Moose and Moose::Meta::Method::Overridden
373 - If an overridden method called super(), and then the
374 superclass's method (not overridden) _also_ called super(),
375 Moose went into an endless recursion loop. Test provided by
376 Chris Prather. (Dave Rolsky)
378 * Moose::Meta::TypeConstraint
379 - All methods are now documented. (gphat)
381 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
382 - Fixed some bogus failures that occurred because we tried to
383 validate filesystem paths in a very ad-hoc and
384 not-quite-correct way. (Dave Rolsky)
386 * Moose::Util::TypeConstraints
387 - Added maybe_type to exports. See docs for details. (rjbs)
390 - Added Moose::Util::TypeConstraints to the SEE ALSO
394 - Methods created via an attribute can now fulfill a "requires"
395 declaration for a role. (nothingmuch)
397 * Moose::Meta::Method::*
398 - Stack traces from inlined code will now report its line and
399 file as being in your class, as opposed to in Moose
402 0.64 Wed, December 31, 2008
403 * Moose::Meta::Method::Accessor
404 - Always inline predicate and clearer methods (Sartak)
406 * Moose::Meta::Attribute
407 - Support for parameterized traits (Sartak)
408 - verify_against_type_constraint method to avoid duplication
409 and enhance extensibility (Sartak)
412 - Tests (but no support yet) for parameterized traits (Sartak)
415 - Require Class::MOP 0.75+, which has the side effect of making
416 sure we work on Win32. (Dave Rolsky)
418 0.63 Mon, December 8, 2008
420 - Some small grammar tweaks and bug fixes in non-Moose example
423 0.62_02 Fri, December 5, 2008
424 * Moose::Meta::Role::Application::ToClass
425 - When a class does not provide all of a role's required
426 methods, the error thrown now mentions all of the missing
427 methods, as opposed to just the first one found. Requested by
428 Curtis Poe (RT #41119). (Dave Rolsky)
430 * Moose::Meta::Method::Constructor
431 - Moose will no longer inline a constructor for your class
432 unless it inherits its constructor from Moose::Object, and
433 will warn when it doesn't inline. If you want to force
434 inlining anyway, pass "replace_constructor => 1" to
435 make_immutable. Addresses RT #40968, reported by Jon
436 Swartz. (Dave Rolsky)
437 - The quoting of default values could be broken if the default
438 contained a single quote ('). Now we use quotemeta to escape
439 anything potentially dangerous in the defaults. (Dave Rolsky)
441 0.62_01 Wed, December 3, 2008
443 - use the method->execute API for BUILDALL
444 and DEMOLISHALL (Sartak)
446 * Moose::Util::TypeConstraints
447 - We now make all the type constraint meta classes immutable
448 before creating the default types provided by Moose. This
449 should make loading Moose a little faster. (Dave Rolsky)
451 0.62 Wed November 26, 2008
452 * Moose::Meta::Role::Application::ToClass
453 Moose::Meta::Role::Application::ToRole
454 - fixed issues where excluding and aliasing the
455 same methods for a single role did not work
456 right (worked just fine with multiple
458 - added test for this (stevan)
460 * Moose::Meta::Role::Application::RoleSummation
461 - fixed the error message when trying to compose
462 a role with a role it excludes (Sartak)
465 - Catch another case where recursion caused the value
466 of $CALLER to be stamped on (t0m)
467 - added test for this (t0m)
470 - Remove the make_immutable keyword, which has been
471 deprecated since April. It breaks metaclasses that
472 use Moose without no Moose (Sartak)
474 * Moose::Meta::Attribute
475 - Removing an attribute from a class now also removes delegation
476 (handles) methods installed for that attribute (t0m)
477 - added test for this (t0m)
479 * Moose::Meta::Method::Constructor
480 - An attribute with a default that looked like a number (but was
481 really a string) would accidentally be treated as a number
482 when the constructor was made immutable (perigrin)
483 - added test for this (perigrin)
486 - create method for constructing a role
488 - added test for this (Sartak)
489 - anonymous roles! (Sartak)
490 - added test for this (Sartak)
493 - more consistent error messages (Sartak)
495 * Moose::Cookbook::Roles::Recipe1
496 - attempt to explain why a role that just requires
497 methods is useful (Sartak)
499 0.61 Fri November 7, 2008
500 * Moose::Meta::Attribute
501 - When passing a role to handles, it will be loaded if necessary
505 - Method objects returned by get_method (and other methods)
506 Could end up being returned without an associated_metaclass
507 attribute. Removing get_method_map, which is provided by
508 Class::MOP::Class, fixed this. The Moose version did nothing
509 different from its parent except introduce a bug. (Dave Rolsky)
510 - added tests for this (jdv79)
513 - Added a $VERSION to all .pm files which didn't have one. Fixes
514 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
516 * Moose::Cookbook::Basics::Recipe4
517 * Moose::Cookbook::Basics::Recipe6
518 - These files had spaces on the first line of the SYNOPSIS, as
519 opposed to a totally empty line. According to RT #40432, this
520 confuses POD parsers. (Dave Rolsky)
522 0.60 Fri October 24, 2008
524 - Passing "-traits" when loading Moose caused the Moose.pm
525 exports to be broken. Reported by t0m. (Dave Rolsky)
526 - Tests for this bug. (t0m)
529 - Change resolve_metaclass alias to use the new
530 load_first_existing_class function. This makes it a lot
531 simpler, and also around 5 times faster. (t0m)
532 - Add caching to resolve_metaclass_alias, which gives an order
533 of magnitude speedup to things which repeatedly call the
534 Moose::Meta::Attribute->does method, notably MooseX::Storage
537 * Moose::Util::TypeConstraint
538 - Put back the changes for parameterized constraints that
539 shouldn't have been removed in 0.59. We still cannot parse
540 them, but MooseX modules can create them in some other
541 way. See the 0.58 changes for more details. (jnapiorkowski)
542 - Changed the way subtypes are created so that the job is
543 delegated to a type constraint parent. This clears up some
544 hardcoded checking and should allow correct subtypes of
545 Moose::Meta::Type::Constraint. Don't rely on this new API too
546 much (create_child_type) because it may go away in the
547 future. (jnapiorkowski)
549 * Moose::Meta::TypeConstraint::Union
550 - Type constraint names are sorted as strings, not numbers.
553 * Moose::Meta::TypeConstraint::Parameterizable
554 - New parameterize method. This can be used as a factory method
555 to make a new type constraint with a given parameterized
556 type. (jnapiorkowski)
557 - added tests (jnapiorkowski)
559 0.59 Tue October 14, 2008
561 - Add abridged documentation for builder/default/initializer/
562 predicate, and link to more details sections in
563 Class::MOP::Attribute. (t0m)
565 * Moose::Util::TypeConstraints
566 - removed prototypes from all but the &-based stuff (mst)
568 * Moose::Util::TypeConstraints
569 - Creating a anonymous subtype with both a constraint and a
570 message failed with a very unhelpful error, but should just
571 work. Reported by t0m. (Dave Rolsky)
574 - Some tests that used Test::Warn if it was available failed
575 with older versions of Test::Warn. Reported by Fayland. (Dave
577 - Test firing behavior of triggers in relation to builder/default/
579 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
580 kinds of supported type. (t0m)
583 - In create(), do not pass "roles" option to the superclass
584 - added related test that creates an anon metaclass with
587 * Moose::Meta::TypeConstraint::Class
588 * Moose::Meta::TypeConstraint::Role
589 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
590 other types (as per change in 0.55_02). (t0m)
592 * Moose::Meta::TypeConstraint::Registry
593 - Fix warning when dealing with unknown type names (t0m)
595 * Moose::Util::TypeConstraints
596 - Reverted changes from 0.58 related to handle parameterized
597 types. This caused random failures on BSD and Win32 systems,
598 apparently related to the regex engine. This means that Moose
599 can no longer parse structured type constraints like
600 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
601 supported in a slightly different way via MooseX::Types some
602 time in the future. (Dave Rolsky)
604 0.58 Sat September 20, 2008
605 !! This release has an incompatible change regarding !!
606 !! how roles add methods to a class !!
608 * Roles and role application
609 ! Roles now add methods by calling add_method, not
610 alias_method. They make sure to always provide a method
611 object, which will be cloned internally. This means that it is
612 now possible to track the source of a method provided by a
613 role, and even follow its history through intermediate roles.
615 This means that methods added by a role now show up when
616 looking at a class's method list/map. (Dave Rolsky)
619 - From this release on, we'll try to maintain a list of
620 conflicting modules, and warn you if you have one
621 installed. For example, this release conflicts with ...
622 - MooseX::Singleton <= 0.11
623 - MooseX::Params::Validate <= 0.05
626 In general, we try to not break backwards compatibility for
627 most Moose users, but MooseX modules and other code which
628 extends Moose's metaclasses is often affected by very small
629 changes in the Moose internals.
631 * Moose::Meta::Method::Delegation
632 * Moose::Meta::Attribute
633 - Delegation methods now have their own method class. (Dave
636 * Moose::Meta::TypeConstraint::Parameterizable
637 - Added a new method 'parameterize' which is basically a factory
638 for the containing constraint. This makes it easier to create
639 new types of parameterized constraints. (jnapiorkowski)
641 * Moose::Meta::TypeConstraint::Union
642 - Changed the way Union types canonicalize their names to follow
643 the normalized TC naming rules, which means we strip all
644 whitespace. (jnapiorkowski)
646 * Moose::Util::TypeConstraints
647 - Parameter and Union args are now sorted, this makes Int|Str
648 the same constraint as Str|Int. (jnapiorkowski)
649 - Changes to the way Union types are parsed to more correctly
650 stringify their names. (jnapiorkowski)
651 - When creating a parameterized type, we now use the new
652 parameterize method. (jnapiorkowski)
653 - Incoming type constraint strings are now normalized to remove
654 all whitespace differences. (jnapiorkowski)
655 - Changed the way we parse type constraint strings so that we now
656 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
657 constraints. This lays the foundation for more flexible type
658 constraint implementations.
660 * Tests and docs for all the above. (jnapiorkowski)
664 - Moose::Exporter will no longer remove a subroutine that the
665 exporting package re-exports. Moose re-exports the
666 Carp::confess function, among others. The reasoning is that we
667 cannot know whether you have also explicitly imported those
668 functions for your own use, so we err on the safe side and
669 always keep them. (Dave Rolsky)
670 - added tests for this (rafl)
673 - Changes to how we fix metaclass compatibility that are much
674 too complicated to go into. The summary is that Moose is much
675 less likely to complain about metaclass incompatibility
676 now. In particular, if two metaclasses differ because
677 Moose::Util::MetaRole was used on the two corresponding
678 classes, then the difference in roles is reconciled for the
679 subclass's metaclass. (Dave Rolsky)
680 - Squashed an warning in _process_attribute (thepler)
683 - throw exceptions (sooner) for invalid attribute names (thepler)
684 - added tests for this (thepler)
686 * Moose::Util::MetaRole
687 - If you explicitly set a constructor or destructor class for a
688 metaclass object, and then applied roles to the metaclass,
689 that explicitly set class would be lost and replaced with the
693 * Moose::Meta::Attribute
694 * Moose::Meta::Method
697 * Moose::Error::Default
698 * Moose::Error::Croak
699 * Moose::Error::Confess
700 - All instances of confess() changed to use overridable
701 C<throw_error> method. This method ultimately calls a class
702 constructor, and you can change the class being called. In
703 addition, errors now pass more information than just a string.
704 The default C<error_class> behaves like C<Carp::confess>, so
705 the behavior is not visibly different for end users.
707 0.57 Wed September 3, 2008
709 - A new bit of doc intended to introduce folks familiar with
710 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
713 - Shows examples of two classes, each done first with and then
714 without Moose. This makes a nice parallel to
715 Moose::Intro. (Dave Rolsky)
717 * Moose::Util::TypeConstraints
718 - Fixed a bug in find_or_parse_type_constraint so that it
719 accepts a Moose::Meta::TypeConstraint object as the parent
720 type, not just a name (jnapiorkowski)
721 - added tests (jnapiorkowski)
724 - If Sub::Name was not present, unimporting failed to actually
725 remove some sugar subs, causing test failures (Dave Rolsky)
727 0.56 Mon September 1, 2008
728 For those not following the series of dev releases, there are
729 several major changes in this release of Moose.
730 ! Moose::init_meta should now be called as a method. See the
733 - Major performance improvements by nothingmuch.
735 - New modules for extension writers, Moose::Exporter and
736 Moose::Util::MetaRole by Dave Rolsky.
738 - Lots of doc improvements and additions, especially in the
743 * Removed all references to the experimental-but-no-longer-needed
744 Moose::Meta::Role::Application::ToMetaclassInstance.
746 * Require Class::MOP 0.65.
748 0.55_04 Sat August 30, 2008
749 * Moose::Util::MetaRole
750 * Moose::Cookbook::Extending::Recipe2
751 - This simplifies the application of roles to any meta class, as
752 well as the base object class. Reimplemented metaclass traits
753 using this module. (Dave Rolsky)
755 * Moose::Cookbook::Extending::Recipe1
756 - This a new recipe, an overview of various ways to write Moose
757 extensions (Dave Rolsky)
759 * Moose::Cookbook::Extending::Recipe3
760 * Moose::Cookbook::Extending::Recipe4
761 - These used to be Extending::Recipe1 and Extending::Recipe2,
764 0.55_03 Fri August 29, 2008
765 * No changes from 0.55_02 except increasing the Class::MOP
766 dependency to 0.64_07.
768 0.55_02 Fri August 29, 2008
769 * Makefile.PL and Moose.pm
770 - explicitly require Perl 5.8.0+ (Dave Rolsky)
772 * Moose::Util::TypeConstraints
773 - Fix warnings from find_type_constraint if the type is not
776 * Moose::Meta::TypeConstraint
777 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
778 return false if the type you specify cannot be found in the
779 type registry, rather than throwing an unhelpful and
780 coincidental exception. (t0m).
781 - added docs & test for this (t0m)
783 * Moose::Meta::TypeConstraint::Registry
784 - add_type_constraint now throws an exception if a parameter is
786 - added docs & test for this (t0m)
788 * Moose::Cookbook::FAQ
789 - Added a faq entry on the difference between "role" and "trait"
793 - Fixed a bug that caused role composition to not see a required
794 method when that method was provided by another role being
795 composed at the same time. (Dave Rolsky)
796 - test and bug finding (tokuhirom)
798 0.55_01 Wed August 20, 2008
800 !! Calling Moose::init_meta as a function is now !!
801 !! deprecated. Please see the Moose.pm docs for details. !!
803 * Moose::Meta::Method::Constructor
804 - Fix inlined constructor so that values produced by default
805 or builder methods are coerced as required. (t0m)
806 - added test for this (t0m)
808 * Moose::Meta::Attribute
809 - A lazy attribute with a default or builder did not attempt to
810 coerce the default value. The immutable code _did_
812 - added test for this (t0m)
815 - This is a new helper module for writing "Moose-alike"
816 modules. This should make the lives of MooseX module authors
817 much easier. (Dave Rolsky)
820 * Moose::Cookbook::Meta::Recipe5
821 - Implemented metaclass traits (and wrote a recipe for it):
823 use Moose -traits => 'Foo'
825 This should make writing small Moose extensions a little
828 * Moose::Cookbook::Basics::Recipe1
829 - Removed any examples of direct hashref access, and applied an
830 editorial axe to reduce verbosity. (Dave Rolsky)
832 * Moose::Cookbook::Basics::Recipe1
833 - Also applied an editorial axe here. (Dave Rolsky)
836 * Moose::Cookbook::Extending::Recipe1
837 * Moose::Cookbook::Extending::Recipe2
838 - Rewrote extending and embedding moose documentation and
839 recipes to use Moose::Exporter (Dave Rolsky)
843 - These two modules now warn when you load them from the main
844 package "main" package, because we will not export sugar to
845 main. Previously it just did nothing. (Dave Rolsky)
848 - Now provide an init_meta method just like Moose.pm, and you
849 can call this to provide an alternate role metaclass. (Dave
850 Rolsky and nothingmuch)
851 - get_method_map now respects the package cache flag (nothingmuch)
854 - Two new methods - add_method and wrap_method_body
858 - Optimizations including allowing constructors to accept hash
859 refs, making many more classes immutable, and making
860 constructors immutable. (nothingmuch)
862 0.55 Sun August 3, 2008
863 * Moose::Meta::Attribute
864 - breaking down the way 'handles' methods are
865 created so that the process can be more easily
866 overridden by subclasses (stevan)
868 * Moose::Meta::TypeConstraint
869 - fixing what is passed into a ->message with
870 the type constraints (RT #37569)
871 - added tests for this (Charles Alderman)
873 * Moose::Util::TypeConstraints
874 - fix coerce to accept anon types like subtype can (mst)
877 - reorganized the recipes into sections - Basics, Roles, Meta,
878 Extending - and wrote abstracts for each section (Dave Rolsky)
880 * Moose::Cookbook::Basics::Recipe10
881 - A new recipe that demonstrates operator overloading
882 in combination with Moose. (bluefeet)
884 * Moose::Cookbook::Meta::Recipe1
885 - an introduction to what meta is and why you'd want to make
886 your own metaclass extensions (Dave Rolsky)
888 * Moose::Cookbook::Meta::Recipe4
889 - a very simple metaclass example (Dave Rolsky)
891 * Moose::Cookbook::Extending::Recipe1
892 - how to write a Moose-alike module to use your own object base
895 * Moose::Cookbook::Extending::Recipe2
896 - how to write modules with an API just like C<Moose.pm> (Dave
900 - Tons of fixes, both syntactical and grammatical (Dave
901 Rolsky, Paul Fenwick)
903 0.54 Thurs. July 3, 2008
904 ... this is not my day today ...
906 * Moose::Meta::Attribute
907 - fixed legal_options_for_inheritance such that
908 clone_and_inherit options still works for
909 Class::MOP::Attribute objects and therefore
910 does not break MooseX::AttributeHelpers
913 0.53 Thurs. July 3, 2008
914 * Whoops, I guess I should run 'make manifest' before
915 actually releasing the module. No actual changes
916 in this release, except the fact that it includes
917 the changes that I didn't include in the last
920 0.52 Thurs. July 3, 2008
922 - added "FEATURE REQUESTS" section to the Moose docs
923 to properly direct people (stevan) (RT #34333)
924 - making 'extends' croak if it is passed a Role since
925 this is not ever something you want to do
926 (fixed by stevan, found by obra)
927 - added tests for this (stevan)
930 - adding support for DOES (as in UNIVERSAL::DOES)
932 - added test for this
934 * Moose::Meta::Attribute
935 - added legal_options_for_inheritance (wreis)
936 - added tests for this (wreis)
938 * Moose::Cookbook::Snacks::*
939 - removed some of the unfinished snacks that should
940 not have been released yet. Added some more examples
941 to the 'Keywords' snack. (stevan)
943 * Moose::Cookbook::Style
944 - added general Moose "style guide" of sorts to the
945 cookbook (nothingmuch) (RT #34335)
948 - added more BUILDARGS tests (stevan)
950 0.51 Thurs. Jun 26, 2008
952 - add unimport so "no Moose::Role" actually does
955 * Moose::Meta::Role::Application::ToRole
956 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
957 order to provide its own implementation, that method still got
958 added to the list of required methods for consumers of
959 RoleB. Now an aliased method is only added to the list of
960 required methods if the role doing the aliasing does not
961 provide its own implementation. See Recipe 11 for an example
962 of all this. (Dave Rolsky)
963 - added tests for this
965 * Moose::Meta::Method::Constructor
966 - when a single argument that wasn't a hashref was provided to
967 an immutabilized constructor, the error message was very
968 unhelpful, as opposed to the non-immutable error. Reported by
970 - added test for this (Dave Rolsky)
972 * Moose::Meta::Attribute
973 - added support for meta_attr->does("ShortAlias") (sartak)
974 - added tests for this (sartak)
975 - moved the bulk of the `handles` handling to the new
976 install_delegation method (Stevan)
979 - Added BUILDARGS, a new step in new()
981 * Moose::Meta::Role::Application::RoleSummation
982 - fix typos no one ever sees (sartak)
984 * Moose::Util::TypeConstraints
985 * Moose::Meta::TypeConstraint
986 * Moose::Meta::TypeCoercion
987 - Attempt to work around the ??{ } vs. threads issue
989 - Some null_constraint optimizations
991 0.50 Thurs. Jun 11, 2008
992 - Fixed a version number issue by bumping all modules
995 0.49 Thurs. Jun 11, 2008
996 !! This version now approx. 20-25% !!
997 !! faster with new Class::MOP 0.59 !!
999 * Moose::Meta::Attribute
1000 - fixed how the is => (ro|rw) works with
1001 custom defined reader, writer and accessor
1003 - added docs for this (TODO).
1004 - added tests for this (Thanks to Penfold)
1005 - added the custom attribute alias for regular
1006 Moose attributes which is "Moose"
1007 - fix builder and default both being used
1012 Moose::Meta::Attribute
1014 Moose::Meta::Role::Composite
1015 Moose::Util::TypeConstraints
1016 - switched usage of reftype to ref because
1020 - changing add_package_symbol to use the new
1024 - fixed how DEMOLISHALL is called so that it
1025 can be overrided in subclasses (thanks to Sartak)
1026 - added test for this (thanks to Sartak)
1028 * Moose::Util::TypeConstraints
1029 - move the ClassName type check code to
1030 Class::MOP::is_class_loaded (thanks to Sartak)
1032 * Moose::Cookbook::Recipe11
1033 - add tests for this (thanks to tokuhirom)
1035 0.48 Thurs. May 29, 2008
1036 (early morning release engineering)--
1038 - fixing the version in Moose::Meta::Method::Destructor
1039 which was causing the indexer to choke
1041 0.47 Thurs. May 29, 2008
1042 (late night release engineering)--
1044 - fixing the version is META.yml, no functional
1045 changes in this release
1047 0.46 Wed. May 28, 2008
1048 !! This version now approx. 20-25% !!
1049 !! faster with new Class::MOP 0.57 !!
1051 * Moose::Meta::Class
1052 - some optimizations of the &initialize method
1053 since it is called so often by &meta
1055 * Moose::Meta::Class
1057 - now use the get_all_package_symbols from the
1058 updated Class::MOP, test suite is now 10 seconds
1061 * Moose::Meta::Method::Destructor
1062 - is_needed can now also be called as a class
1063 method for immutablization to check if the
1064 destructor object even needs to be created
1067 * Moose::Meta::Method::Destructor
1068 Moose::Meta::Method::Constructor
1069 - added more descriptive error message to help
1070 keep people from wasting time tracking an error
1071 that is easily fixed by upgrading.
1073 0.45 Saturday, May 24, 2008
1075 - Because of work in Class::MOP 0.57, all
1076 XS based functionality is now optional
1077 and a Pure Perl version is supplied
1078 - the CLASS_MOP_NO_XS environment variable
1079 can now be used to force non-XS versions
1081 - several of the packages have been tweaked
1082 to take care of this, mostly we added
1083 support for the package_name and name
1084 variables in all the Method metaclasses
1085 - before/around/after method modifiers now
1086 support regexp matching of names
1087 (thanks to Takatoshi Kitano)
1088 - tests added for this
1089 - NOTE: this only works for classes, it
1090 is currently not supported in roles,
1091 but, ... patches welcome
1092 - All usage of Carp::confess have been replaced
1093 by Carp::croak in the "keyword" functions since
1094 the stack trace is usually not helpful
1097 - All usage of Carp::confess have been replaced
1098 by Carp::croak in the "keyword" functions since
1099 the stack trace is usually not helpful
1100 - The 'has' keyword for roles now accepts the
1101 same array ref form that Moose.pm does
1102 (has [qw/foo bar/] => (is => 'rw', ...))
1103 - added test for this
1105 * Moose::Meta::Attribute
1106 - trigger on a ro-attribute is no longer an
1107 error, as it's useful to trigger off of the
1110 * Moose::Meta::Class
1111 - added same 'add_package_symbol' fix as in
1115 - does_role now handles non-Moose classes
1117 - added tests for this
1118 - added the 'add_method_modifier' function
1119 (thanks to Takatoshi Kitano)
1121 * Moose::Util::TypeConstraints
1122 - subtypes of parameterizable types now are
1123 themselves parameterizable types
1125 * Moose::Meta::Method::Constructor
1126 - fixed bug where trigger was not being
1127 called by the inlined immutable
1129 - added test for this (thanks to Caelum)
1131 * Moose::Meta::Role::Application::ToInstance
1132 - now uses the metaclass of the instance
1133 (if possible) to create the anon-class
1134 (thanks Jonathan Rockway)
1136 * Moose::Cookbook::Recipe22
1137 - added the meta-attribute trait recipe
1141 - fixed hash-ordering test bug that was
1142 causing occasional cpantester failures
1143 - renamed the t/000_recipe/*.t tests to be
1144 more descriptive (thanks to Sartak)
1146 0.44 Sat. May 10, 2008
1148 - made make_immutable warning cluck to
1149 show where the error is (thanks mst)
1152 - BUILDALL and DEMOLISHALL now call
1153 ->body when looping through the
1154 methods, to avoid the overloaded
1156 - fixed issue where DEMOLISHALL was
1157 eating the $@ values, and so not
1158 working correctly, it still kind of
1159 eats them, but so does vanilla perl
1160 - added tests for this
1162 * Moose::Cookbook::Recipe7
1163 - added new recipe for immutable
1164 functionality (thanks Dave Rolsky)
1166 * Moose::Cookbook::Recipe9
1167 - added new recipe for builder and
1168 lazy_build (thanks Dave Rolsky)
1170 * Moose::Cookbook::Recipe11
1171 - added new recipe for method aliasing
1172 and exclusion with Roles (thanks Dave Rolsky)
1175 - fixed Win32 test failure (thanks spicyjack)
1177 ~ removed Build.PL and Module::Build compat
1178 since Module::Install has done that.
1180 0.43 Wed. April, 30, 2008
1182 drink more coffee before
1183 doing release engineering
1185 - whoops, forgot to do the smolder tests,
1186 and we broke some of the custom meta-attr
1187 modules. This fixes that.
1189 0.42 Mon. April 28, 2008
1190 - some bad tests slipped by, nothing else
1191 changed in this release (cpantesters++)
1193 - upped the Class::MOP dependency to 0.55
1194 since we have tests which need the C3
1197 0.41 Mon. April 28, 2008
1198 ~~ numerous documentation updates ~~
1200 - Changed all usage of die to Carp::croak for better
1201 error reporting (initial patch by Tod Hagan)
1203 ** IMPORTANT NOTE **
1204 - the make_immutable keyword is now deprecated, don't
1205 use it in any new code and please fix your old code
1206 as well. There will be 2 releases, and then it will
1212 - refactored the way inner and super work to avoid
1213 any method/@ISA cache penalty (nothingmuch)
1215 * Moose::Meta::Class
1216 - fixing &new_object to make sure trigger gets the
1217 coerced value (spotted by Charles Alderman on the
1219 - added test for this
1221 * Moose::Meta::Method::Constructor
1222 - immutable classes which had non-lazy attributes were calling
1223 the default generating sub twice in the constructor. (bug
1224 found by Jesse Luehrs, fixed by Dave Rolsky)
1225 - added tests for this (Dave Rolsky)
1226 - fix typo in initialize_body method (nothingmuch)
1228 * Moose::Meta::Method::Destructor
1229 - fix typo in initialize_body method (nothingmuch)
1231 * Moose::Meta::Method::Overriden
1232 Moose::Meta::Method::Augmented
1233 - moved the logic for these into their own
1234 classes (nothingmuch)
1236 * Moose::Meta::Attribute
1237 - inherited attributes may now be extended without
1238 restriction on the type ('isa', 'does') (Sartak)
1239 - added tests for this (Sartak)
1240 - when an attribute property is malformed (such as lazy without
1241 a default), give the name of the attribute in the error
1243 - added the &applied_traits and &has_applied_traits methods
1244 to allow introspection of traits
1245 - added tests for this
1246 - moved 'trait' and 'metaclass' argument handling to here from
1248 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1249 '+foo' syntax) (nothingmuch)
1250 - added tests for this (t0m)
1253 - localize $@ inside DEMOLISHALL to avoid it
1254 eating $@ (found by Ernesto)
1255 - added test for this (thanks to Ernesto)
1257 * Moose::Util::TypeConstraints
1258 - &find_type_constraint now DWIMs when given an
1259 type constraint object or name (nothingmuch)
1260 - &find_or_create_type_constraint superseded with a number of more
1262 - find_or_create_{isa,does}_type_constraint
1263 - find_or_parse_type_constraint
1265 * Moose::Meta::TypeConstraint
1266 Moose::Meta::TypeConstraint::Class
1267 Moose::Meta::TypeConstraint::Role
1268 Moose::Meta::TypeConstraint::Enum
1269 Moose::Meta::TypeConstraint::Union
1270 Moose::Meta::TypeConstraint::Parameterized
1271 - added the &equals method for comparing two type
1272 constraints (nothingmuch)
1273 - added tests for this (nothingmuch)
1275 * Moose::Meta::TypeConstraint
1276 - add the &parents method, which is just an alias to &parent.
1277 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1279 * Moose::Meta::TypeConstraint::Class
1280 - added the class attribute for introspection purposes
1282 - added tests for this
1284 * Moose::Meta::TypeConstraint::Enum
1285 Moose::Meta::TypeConstraint::Role
1286 - broke these out into their own classes (nothingmuch)
1288 * Moose::Cookbook::Recipe*
1289 - fixed references to test file locations in the POD
1290 and updated up some text for new Moose features
1294 - Added &resolve_metaclass_alias, a helper function for finding an actual
1295 class for a short name (e.g. in the traits list)
1297 0.40 Fri. March 14, 2008
1298 - I hate Pod::Coverage
1300 0.39 Fri. March 14, 2008
1302 - documenting the use of '+name' with attributes
1303 that come from recently composed roles. It makes
1304 sense, people are using it, and so why not just
1305 officially support it.
1306 - fixing the 'extends' keyword so that it will not
1307 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1310 - added the perl -Moose=+Class::Name feature to allow
1311 monkeypatching of classes in one liners
1314 - fixing the 'apply_all_roles' keyword so that it will not
1315 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1317 * Moose::Meta::Class
1318 - added ->create method which now supports roles (thanks to jrockway)
1319 - added tests for this
1320 - added ->create_anon_class which now supports roles and caching of
1321 the results (thanks to jrockway)
1322 - added tests for this
1323 - made ->does_role a little more forgiving when it is
1324 checking a Class::MOP era metaclasses.
1326 * Moose::Meta::Role::Application::ToInstance
1327 - it is now possible to pass extra params to be used when
1328 a role is applied to an the instance (rebless_params)
1329 - added tests for this
1331 * Moose::Util::TypeConstraints
1332 - class_type now accepts an optional second argument for a
1333 custom message. POD anotated accordingly (groditi)
1334 - added tests for this
1335 - it is now possible to make anon-enums by passing 'enum' an
1336 ARRAY ref instead of the $name => @values. Everything else
1338 - added tests for this
1341 - making test for using '+name' on attributes consumed
1342 from a role, it works and makes sense too.
1344 * Moose::Meta::Attribute
1345 - fix handles so that it doesn't return nothing
1346 when the method cannot be found, not sure why
1347 it ever did this originally, this means we now
1348 have slightly better support for AUTOLOADed
1350 - added more delegation tests
1351 - adding ->does method to this so as to better
1352 support traits and their introspection.
1353 - added tests for this
1356 - localizing the Data::Dumper configurations so
1357 that it does not pollute others (RT #33509)
1358 - made ->does a little more forgiving when it is
1359 passed Class::MOP era metaclasses.
1361 0.38 Fri. Feb. 15, 2008
1362 * Moose::Meta::Attribute
1363 - fixed initializer to correctly do
1364 type checking and coercion in the
1366 - added tests for this
1369 - fixed some finicky tests (thanks to konobi)
1371 0.37 Thurs. Feb. 14, 2008
1373 - fixed some details in Moose::init_meta
1374 and its superclass handling (thanks thepler)
1375 - added tests for this (thanks thepler)
1376 - 'has' now dies if you don't pass in name
1378 - added the 'make_immutable' keyword as a shortcut
1381 * Moose::Meta::Class
1382 Moose::Meta::Method::Constructor
1383 Moose::Meta::Attribute
1384 - making (init_arg => undef) work here too
1385 (thanks to nothingmuch)
1387 * Moose::Meta::Attribute
1388 Moose::Meta::Method::Constructor
1389 Moose::Meta::Method::Accessor
1390 - make lazy attributes respect attr initializers (rjbs)
1391 - added tests for this
1393 * Moose::Util::TypeConstraints
1394 Moose::Util::TypeConstraints::OptimizedConstraints
1395 Moose::Meta::TypeConstraints
1396 Moose::Meta::Attribute
1397 Moose::Meta::Method::Constructor
1398 Moose::Meta::Method::Accessor
1399 - making type errors use the
1400 assigned message (thanks to Sartak)
1401 - added tests for this
1403 * Moose::Meta::Method::Destructor
1404 - making sure DESTROY gets inlined properly
1405 with successive DEMOLISH calls (thanks to manito)
1407 * Moose::Meta::Attribute
1408 Moose::Meta::Method::Accessor
1409 - fixed handling of undef with type constraints
1411 - added tests for this
1414 - added &get_all_init_args and &get_all_attribute_values
1415 (thanks to Sartak and nothingmuch)
1417 0.36 Sat. Jan. 26, 2008
1419 Moose::Meta::Attribute
1420 - role type tests now support when roles are
1421 applied to non-Moose classes (found by ash)
1422 - added tests for this (thanks to ash)
1423 - couple extra tests to boost code coverage
1425 * Moose::Meta::Method::Constructor
1426 - improved fix for handling Class::MOP attributes
1427 - added test for this
1429 * Moose::Meta::Class
1430 - handled the add_attribute($attribute_meta_object)
1432 - added test for this
1434 0.35 Tues. Jan. 22, 2008
1435 * Moose::Meta::Method::Constructor
1436 - fix to make sure even Class::MOP attributes
1437 are handled correctly (Thanks to Dave Rolsky)
1438 - added test for this (also Dave Rolsky)
1440 * Moose::Meta::Class
1441 - improved error message on _apply_all_roles,
1442 you should now use Moose::Util::apply_all_roles
1443 and you shouldnt have been using a _ prefixed
1444 method in the first place ;)
1446 0.34 Mon. Jan. 21, 2008
1447 ~~~ more misc. doc. fixes ~~~
1448 ~~ updated copyright dates ~~
1450 Moose is now a postmodern object system :)
1451 - (see the POD for details)
1453 * <<Role System Refactoring>>
1454 - this release contains a major reworking and
1455 cleanup of the role system
1456 - 100% backwards compat.
1457 - Role application now restructured into seperate
1458 classes based on type of applicants
1459 - Role summation (combining of more than one role)
1460 is much cleaner and anon-classes are no longer
1461 used in this process
1462 - new Composite role metaclass
1463 - runtime application of roles to instances
1464 is now more efficient and re-uses generated
1465 classes when applicable
1467 * <<New Role composition features>>
1468 - methods can now be excluded from a given role
1470 - methods can now be aliased to another name (and
1471 still retain the original as well)
1473 * Moose::Util::TypeConstraints::OptimizedConstraints
1474 - added this module (see above)
1476 * Moose::Meta::Class
1477 - fixed the &_process_attribute method to be called
1478 by &add_attribute, so that the API is now correct
1480 * Moose::Meta::Method::Accessor
1481 - fixed bug when passing a list of values to
1482 an accessor would get (incorrectly) ignored.
1483 Thanks to Sartak for finding this ;)
1484 - added tests for this (Sartak again)
1486 * Moose::Meta::Method::Accessor
1487 Moose::Meta::Method::Constructor
1488 Moose::Meta::Attribute
1489 Moose::Meta::TypeConstraint
1490 Moose::Meta::TypeCoercion
1491 - lots of cleanup of such things as:
1493 - type constraint handling
1494 - error handling/messages
1495 (thanks to nothingmuch)
1497 * Moose::Meta::TypeConstraint::Parameterizable
1498 - added this module to support the refactor
1499 in Moose::Meta::TypeConstraint::Parameterized
1501 * Moose::Meta::TypeConstraint::Parameterized
1502 - refactored how these types are handled so they
1503 are more generic and not confined to ArrayRef
1507 - shortened some file names for better VMS support (RT #32381)
1509 0.33 Fri. Dec. 14, 2007
1510 !! Moose now loads 2 x faster !!
1511 !! with new Class::MOP 0.49 !!
1513 ++ new oose.pm module to make command line
1514 Moose-ness easier (see POD docs for more)
1516 * Moose::Meta::Class
1518 - several tweaks to take advantage of the
1519 new method map caching in Class::MOP
1521 * Moose::Meta::TypeConstraint::Parameterized
1522 - allow subtypes of ArrayRef and HashRef to
1523 be used as a container (sartak)
1524 - added tests for this
1525 - basic support for coercion to ArrayRef and
1526 HashRef for containers (sartak)
1527 - added tests for this
1529 * Moose::Meta::TypeCoercion
1530 - coercions will now create subtypes as needed
1531 so you can now add coercions to parameterized
1532 types without having to explictly define them
1533 - added tests for this
1535 * Moose::Meta::Method::Accessor
1536 - allow subclasses to decide whether we need
1537 to copy the value into a new variable (sartak)
1539 0.32 Tues. Dec. 4, 2007
1540 * Moose::Util::TypeConstraints
1541 - fixing how subtype aliases of unions work
1542 they should inherit the parent's coercion
1543 - added tests for this
1544 - you can now define multiple coercions on
1545 a single type at different times instead of
1546 having to do it all in one place
1547 - added tests for this
1549 * Moose::Meta::TypeConstraint
1550 - there is now a default constraint of sub { 1 }
1551 instead of Moose::Util::TypeConstraints setting
1554 * Moose::Meta::TypeCoercion
1555 * Moose::Meta::TypeCoercion::Union
1556 - added the &has_coercion_for_type and
1557 &add_type_coercions methods to support the
1558 new features above (although you cannot add
1559 more type coercions for Union types)
1561 0.31 Mon. Nov. 26, 2007
1562 * Moose::Meta::Attribute
1563 - made the +attr syntax handle extending types with
1564 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1565 now works if the original foo is an ArrayRef.
1566 - added tests for this.
1567 - delegation now works even if the attribute does not
1568 have a reader method using the get_read_method_ref
1569 method from Class::MOP::Attribute.
1570 - added tests for this
1571 - added docs for this
1573 * Moose::Util::TypeConstraints
1574 - passing no "additional attribute info" to
1575 &find_or_create_type_constraint will no longer
1576 attempt to create an __ANON__ type for you,
1577 instead it will just return undef.
1578 - added docs for this
1580 0.30 Fri. Nov. 23, 2007
1581 * Moose::Meta::Method::Constructor
1582 -builder related bug in inlined constructor. (groditi)
1584 * Moose::Meta::Method::Accessor
1585 - genereate unnecessary calls to predicates and refactor
1586 code generation for runtime speed (groditi)
1588 * Moose::Util::TypeConstraints
1589 - fix ClassName constraint to introspect symbol table (mst)
1590 - added more tests for this (mst)
1591 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1592 with work correctly.
1593 - added tests for this
1596 - adding the link to Recipie 11 (written by Sartak)
1597 - adding test for SYNOPSIS code
1600 - New tests for builder bug. Upon instantiation, if an
1601 attribute had a builder, no value and was not lazy the
1602 builder default was not getting run, oops. (groditi)
1604 0.29 Tues. Nov. 13, 2007
1605 * Moose::Meta::Attribute
1606 - Fix error message on missing builder method (groditi)
1608 * Moose::Meta::Method::Accessor
1609 - Fix error message on missing builder method (groditi)
1612 - Add test to check for the correct error message when
1613 builder method is missing (groditi)
1615 0.28 Tues. Nov. 13, 2007
1616 - 0.27 packaged incorrectly (groditi)
1618 0.27 Tues. Nov. 13, 2007
1619 * Moose::Meta::Attribute
1620 - Added support for the new builder option (groditi)
1621 - Added support for lazy_build option (groditi)
1622 - Changed slot initialization for predicate changes (groditi)
1624 * Moose::Meta::Method::Accessor
1625 - Added support for lazy_build option (groditi)
1626 - Fix inline methods to work with corrected predicate
1629 * Moose::Meta::Method::Constructor
1630 - Added support for lazy_build option (groditi)
1633 - tests for builder and lazy_build (groditi)
1635 * fixing some misc. bits in the docs that
1636 got mentioned on CPAN Forum & perlmonks
1639 - fixed how required methods are handled
1640 when they encounter overriden or modified
1641 methods from a class (thanks to confound).
1642 - added tests for this
1644 * Moose::Util::TypeConstraint
1645 - fixed the type notation parser so that
1646 the | always creates a union and so is
1647 no longer a valid type char (thanks to
1648 konobi, mugwump and #moose for working
1650 - added more tests for this
1652 0.26 Thurs. Sept. 27, 2007
1655 * Parameterized Types
1656 We now support parameterized collection types, such as:
1657 ArrayRef[Int] # array or integers
1658 HashRef[Object] # a hash with object values
1659 They can also be nested:
1660 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1661 And work with the type unions as well:
1662 ArrayRef[Int | Str] # array of integers of strings
1664 * Better Framework Extendability
1665 Moose.pm is now "extendable" such that it is now much
1666 easier to extend the framework and add your own keywords
1667 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1668 section of the Moose.pm docs.
1671 In an effort to begin documenting some of the various
1672 details of Moose as well as some common idioms, we have
1673 created Moose::Cookbook::Snacks as a place to find
1674 small (easily digestable) nuggets of Moose code.
1677 ~ Several doc updates/cleanup thanks to castaway ~
1679 - converted build system to use Module::Install instead of
1680 Module::Build (thanks to jrockway)
1683 - added all the meta classes to the immutable list and
1684 set it to inline the accessors
1685 - fix import to allow Sub::Exporter like { into => }
1686 and { into_level => } (perigrin)
1687 - exposed and documented init_meta() to allow better
1688 embedding and extending of Moose (perigrin)
1691 - complete re-organization of the test suite
1692 - added some new tests as well
1693 - finally re-enabled the Moose::POOP test since
1694 the new version of DBM::Deep now works again
1697 * Moose::Meta::Class
1698 - fixed very odd and very nasty recursion bug with
1700 - added tests for this (eilara)
1702 * Moose::Meta::Attribute
1703 Moose::Meta::Method::Constructor
1704 Moose::Meta::Method::Accessor
1705 - fixed issue with overload::Overloaded getting called
1706 on non-blessed items. (RT #29269)
1707 - added tests for this
1709 * Moose::Meta::Method::Accessor
1710 - fixed issue with generated accessor code making
1711 assumptions about hash based classes (thanks to dexter)
1713 * Moose::Coookbook::Snacks
1714 - these are bits of documentation, not quite as big as
1715 Recipes but which have no clear place in the module docs.
1716 So they are Snacks! (horray for castaway++)
1718 * Moose::Cookbook::Recipe4
1719 - updated it to use the new ArrayRef[MyType] construct
1720 - updated the accompanying test as well
1722 +++ Major Refactor of the Type Constraint system +++
1723 +++ with new features added as well +++
1725 * Moose::Util::TypeConstraint
1726 - no longer uses package variable to keep track of
1727 the type constraints, now uses the an instance of
1728 Moose::Meta::TypeConstraint::Registry to do it
1729 - added more sophisticated type notation parsing
1731 - added tests for this
1733 * Moose::Meta::TypeConstraint
1734 - some minor adjustments to make subclassing easier
1735 - added the package_defined_in attribute so that we
1736 can track where the type constraints are created
1738 * Moose::Meta::TypeConstraint::Union
1739 - this is now been refactored to be a subclass of
1740 Moose::Meta::TypeConstraint
1742 * Moose::Meta::TypeCoercion::Union
1743 - this has been added to service the newly refactored
1744 Moose::Meta::TypeConstraint::Union and is itself
1745 a subclass of Moose::Meta::TypeCoercion
1747 * Moose::Meta::TypeConstraint::Parameterized
1748 - added this module (taken from MooseX::AttributeHelpers)
1749 to help construct nested collection types
1750 - added tests for this
1752 * Moose::Meta::TypeConstraint::Registry
1753 - added this class to keep track of type constraints
1755 0.25 Mon. Aug. 13, 2007
1757 - Documentation update to reference Moose::Util::TypeConstraints
1758 under 'isa' in 'has' for how to define a new type
1759 (thanks to shlomif).
1761 * Moose::Meta::Attribute
1762 - required attributes now will no longer accept undef
1763 from the constructor, even if there is a default and lazy
1764 - added tests for this
1765 - default subroutines must return a value which passes the
1767 - added tests for this
1769 * Moose::Meta::Attribute
1770 * Moose::Meta::Method::Constructor
1771 * Moose::Meta::Method::Accessor
1772 - type-constraint tests now handle overloaded objects correctly
1773 in the error message
1774 - added tests for this (thanks to EvanCarroll)
1776 * Moose::Meta::TypeConstraint::Union
1777 - added (has_)hand_optimized_constraint to this class so that
1778 it behaves as the regular Moose::Meta::TypeConstraint does.
1781 - large refactoring of this code
1782 - added several more tests
1783 - tests for subtle conflict resolition issues
1784 added, but not currently running
1787 * Moose::Cookbook::Recipe7
1788 - added new recipe for augment/inner functionality
1790 - added test for this
1793 - a formal definition of roles (still in progress)
1796 - utilities for easier working with Moose classes
1797 - added tests for these
1800 - This contains Moose specific test functions
1801 - added tests for these
1803 0.24 Tues. July 3, 2007
1804 ~ Some doc updates/cleanup ~
1806 * Moose::Meta::Attribute
1807 - added support for roles to be given as parameters
1808 to the 'handles' option.
1809 - added tests and docs for this
1810 - the has '+foo' attribute form now accepts changes to
1811 the lazy option, and the addition of a handles option
1812 (but not changing the handles option)
1813 - added tests and docs for this
1816 - required methods are now fetched using find_method_by_name
1817 so that required methods can come from superclasses
1818 - adjusted tests for this
1820 0.23 Mon. June 18, 2007
1821 * Moose::Meta::Method::Constructor
1822 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1823 * Moose::Meta::Class
1824 - Modify make_immutable to work with the new Class::MOP immutable
1825 mechanism + POD + very basic test (groditi)
1826 * Moose::Meta::Attribute
1827 - Fix handles to use goto() so that caller() comes out properly on
1828 the other side (perigrin)
1830 0.22 Thurs. May 31, 2007
1831 * Moose::Util::TypeConstraints
1832 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1833 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1834 prototypes for functions
1835 - added the ClassName type constraint, this checks for strings
1836 which will respond true to ->isa(UNIVERSAL).
1837 - added tests and docs for this
1838 - subtyping just in name now works correctly by making the
1839 default for where be { 1 }
1840 - added test for this
1842 * Moose::Meta::Method::Accessor
1843 - coerce and lazy now work together correctly, thanks to
1844 merlyn for finding this bug
1845 - tests added for this
1846 - fix reader presedence bug in Moose::Meta::Attribute + tests
1849 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1850 a HASH-ref and missed. This produces better error messages then
1851 having it die cause undef is not a HASH.
1852 - added tests for this
1854 0.21 Thursday, May 2nd, 2007
1856 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1857 - modified unimport to remove super and inner along with the rest
1858 - altered unimport tests to handle this
1861 - altered super export to populate SUPER_SLOT
1863 * Moose::Meta::Class
1864 - altered augment and override modifier application to use *_SLOT
1865 - modified tests for these to unimport one test class each to test
1868 - fixed issue where custom attribute metaclasses
1869 where not handled correctly in roles
1870 - added tests for this
1872 * Moose::Meta::Class
1873 - fixed issue where extending metaclasses with
1874 roles would blow up. Thanks to Aankhen`` for
1875 finding this insidious error, and it's solution.
1877 ~~ lots of spelling and grammer fixes in the docs,
1878 many many thanks to rlb3 and Aankhen for these :)
1880 0.20 Friday, April 6th, 2007
1881 >> I messed up the SKIP logic in one test
1882 so this release is just to fix that.
1885 - 'has' now also accepts an ARRAY ref
1886 to create multiple attrs (see docs)
1887 (thanks to konobi for this)
1888 - added tests and docs
1890 0.19 Thurs. April 5th, 2007
1891 ~~ More documentation updates ~~
1893 * Moose::Util::TypeConstraints
1894 - 'type' now supports messages as well
1895 thanks to phaylon for finding this
1896 - added tests for this
1897 - added &list_all_type_constraints and
1898 &list_all_builtin_type_constraints
1899 functions to facilitate introspection.
1901 * Moose::Meta::Attribute
1902 - fixed regexp 'handles' declarations
1903 to build the list of delegated methods
1904 correctly (and not override important
1905 things like &new) thanks to ashleyb
1907 - added tests and docs for this
1908 - added the 'documentation' attributes
1909 so that you can actually document your
1910 attributes and inspect them through the
1912 - added tests and docs for this
1914 * Moose::Meta::Class
1915 - when loading custom attribute metaclasses
1916 it will first look in for the class in the
1917 Moose::Meta::Attribute::Custom::$name, and
1918 then default to just loading $name.
1919 - added tests and docs for this
1921 * Moose::Meta::TypeConstraint
1922 - type constraints now stringify to their names.
1923 - added test for this
1926 - added tests to assure we work with Module::Refresh
1927 - added stricter test skip logic in the Moose POOP
1928 test, ask Rob Kinyon why.
1929 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1931 0.18 Sat. March 10, 2007
1932 ~~ Many, many documentation updates ~~
1935 - We now use Class::MOP::load_class to
1937 - added tests to show types and subtypes
1938 working with Declare::Constraints::Simple
1939 and Test::Deep as constraint engines.
1942 !! You must have Class::MOP 0.37_001 !!
1943 !! for this developer release to work !!
1945 This release was primarily adding the immutable
1946 feature to Moose. An immutable class is one which
1947 you promise not to alter. When you set the class
1948 as immutable it will perform various bits of
1949 memoization and inline certain part of the code
1950 (constructors, destructors and accessors). This
1951 minimizes (and in some cases totally eliminates)
1952 one of Moose's biggest performance hits. This
1953 feature is not on by default, and is 100% optional.
1954 It has several configurable bits as well, so you
1955 can pick and choose to your specific needs.
1957 The changes involved in this were fairly wide and
1958 highly specific, but 100% backwards compatible, so
1959 I am not going to enumerate them here. If you are
1960 truely interested in what was changed, please do
1963 0.17 Tues. Nov. 14, 2006
1964 * Moose::Meta::Method::Accessor
1965 - bugfix for read-only accessors which
1966 are have a type constraint and lazy.
1967 Thanks to chansen for finding it.
1969 0.16 Tues. Nov. 14, 2006
1971 There are some speed improvements in this release,
1972 but they are only the begining, so stay tuned.
1975 - BUILDALL and DEMOLISHALL no longer get
1976 called unless they actually need to be.
1977 This gave us a signifigant speed boost
1978 for the cases when there is no BUILD or
1979 DEMOLISH method present.
1981 * Moose::Util::TypeConstraints
1982 * Moose::Meta::TypeConstraint
1983 - added an 'optimize_as' option to the
1984 type constraint, which allows for a
1985 hand optimized version of the type
1986 constraint to be used when possible.
1987 - Any internally created type constraints
1988 now provide an optimized version as well.
1990 0.15 Sun. Nov. 5, 2006
1992 This version of Moose *must* have Class::MOP 0.36 in order
1993 to work correctly. A number of small internal tweaks have
1994 been made in order to be compatible with that release.
1996 * Moose::Util::TypeConstraints
1997 - added &unimport so that you can clean out
1998 your class namespace of these exported
2001 * Moose::Meta::Class
2002 - fixed minor issue which occasionally
2003 comes up during global destruction
2005 - moved Moose::Meta::Method::Overriden into
2009 - moved Moose::Meta::Role::Method into
2012 * Moose::Meta::Attribute
2013 - changed how we do type checks so that
2014 we reduce the overall cost, but still
2017 - moved accessor generation methods to
2018 Moose::Meta::Method::Accessor to
2019 conform to the API changes from
2022 * Moose::Meta::TypeConstraint
2023 - changed how constraints are compiled
2024 so that we do less recursion and more
2025 iteration. This makes the type check
2027 - moved Moose::Meta::TypeConstraint::Union
2030 * Moose::Meta::Method::Accessor
2031 - created this from methods formerly found in
2032 Moose::Meta::Attribute
2034 * Moose::Meta::Role::Method
2035 - moved this from Moose::Meta::Role
2037 * Moose::Meta::Method::Overriden
2038 - moved this from Moose::Meta::Class
2040 * Moose::Meta::TypeConstraint::Union
2041 - moved this from Moose::Meta::TypeConstraint
2043 0.14 Mon. Oct. 9, 2006
2045 * Moose::Meta::Attribute
2046 - fixed lazy attributes which were not getting
2047 checked with the type constraint (thanks ashley)
2048 - added tests for this
2049 - removed the over-enthusiastic DWIMery of the
2050 automatic ArrayRef and HashRef defaults, it
2051 broke predicates in an ugly way.
2052 - removed tests for this
2054 0.13 Sat. Sept. 30, 2006
2056 This version of Moose *must* have Class::MOP 0.35 in order
2057 to work correctly. A number of small internal tweaks have
2058 been made in order to be compatible with that release.
2061 - Removed the use of UNIVERSAL::require to be a better
2062 symbol table citizen and remove a dependency
2063 (thanks Adam Kennedy)
2065 **~~ removed experimental & undocumented feature ~~**
2066 - commented out the 'method' and 'self' keywords, see the
2067 comments for more info.
2070 - added a FAQ and WTF files to document frequently
2071 asked questions and common problems
2073 * Moose::Util::TypeConstraints
2074 - added GlobRef and FileHandle type constraint
2075 - added tests for this
2077 * Moose::Meta::Attribute
2078 - if your attribute 'isa' ArrayRef of HashRef, and you have
2079 not explicitly set a default, then make the default DWIM.
2080 This will also work for subtypes of ArrayRef and HashRef
2082 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2083 - new test added for this (thanks to ashley)
2086 - added basic support for runtime role composition
2087 but this is still *highly experimental*, so feedback
2088 is much appreciated :)
2089 - added tests for this
2091 * Moose::Meta::TypeConstraint
2092 - the type constraint now handles the coercion process
2093 through delegation, this is to support the coercion
2096 * Moose::Meta::TypeConstraint::Union
2097 - it is now possible for coercions to be performed
2099 - added tests for this (thanks to konobi)
2101 * Moose::Meta::TypeCoercion
2102 - properly capturing error when type constraint
2106 - Scalar::Util 1.18 is bad on Win32, so temporarily
2107 only require version 1.17 for Win32 and cygwin.
2108 (thanks Adam Kennedy)
2110 0.12 Sat. Sept. 1, 2006
2112 - Recipe5 (subtypes & coercion) has been written
2115 - fixed "bad meta" error message to be more descriptive
2116 - fixed &unimport to not remove the &inner and &super
2117 keywords because we need to localize them.
2118 - fixed number of spelling/grammer issues, thanks Theory :)
2120 **~~ experimental & undocumented feature ~~**
2121 - added the method and self keywords, they are basically
2122 just sugar, and they may not stay around.
2125 - added &dump method to easily Data::Dumper
2128 * Moose::Meta::TypeConstraint
2129 - added the &is_a_type_of method to check both the current
2130 and the subtype of a method (similar to &isa with classes)
2133 - this is now a subclass of Class::MOP::Module, and no longer
2134 creates the _role_meta ugliness of before.
2135 - fixed tests to reflect this change
2137 0.11 Wed. July 12, 2006
2139 - added an &unimport method to remove all the keywords
2140 that Moose will import, simply add 'no Moose' to the
2141 bottom of your class file.
2144 - fixed some test failures caused by a forgotten test
2147 0.10 Thurs. July 6, 2006
2149 - improved error message when loading modules so
2150 it is less confusing when you load a role.
2151 - added &calculate_all_roles method to
2152 Moose::Meta::Class and Moose::Meta::Role
2155 This module has been tested against Class::MOP 0.30
2156 but it does not yet utilize the optimizations
2157 it makes available. Stay tuned for that ;)
2159 0.09_03 Fri. June 23, 2006
2160 ++ DEVELOPER RELEASE ++
2162 - 'use strict' and 'use warnings' are no longer
2163 needed in Moose classes, Moose itself will
2164 turn them on for you.
2165 - added tests for this
2166 - moved code from exported subs to private methods
2167 in Moose::Meta::Class
2170 - as with Moose, strict and warnings are
2171 automatically turned on for you.
2172 - added tests for this
2175 - now handles an edge case for override errors
2176 - added tests for this
2177 - added some more edge case tests
2179 0.09_02 Tues. May 16, 2006
2180 ++ DEVELOPER RELEASE ++
2182 - added prototypes to the exported subs
2186 - added prototypes to the exported subs
2189 * Moose::Util::TypeConstraints
2190 - cleaned up prototypes for the subs
2193 0.09_01 Fri. May 12, 2006
2194 ++ DEVELOPER RELEASE ++
2195 - This release works in combination with
2196 Class::MOP 0.29_01, it is a developer
2197 release because it uses the a new
2198 instance sub-protocol and a fairly
2199 complete Role implementation. It has
2200 not yet been optimized, so it slower
2201 the the previous CPAN version. This
2202 release also lacks good updated docs,
2203 the official release will have updated docs.
2206 - refactored the keyword exports
2207 - 'with' now checks Role validaity and
2208 accepts more than one Role at a time
2209 - 'extends' makes metaclass adjustments as
2210 needed to ensure metaclass compatibility
2213 - refactored the keyword exports
2214 - 'with' now checks Role validaity and
2215 accepts more than one Role at a time
2217 * Moose::Util::TypeConstraints
2218 - added the 'enum' keyword for simple
2219 string enumerations which can be used as
2221 - see example of usage in t/202_example.t
2224 - more careful checking of params to new()
2227 - much work done on the role composition
2228 - many new tests for conflict detection
2229 and composition edge cases
2230 - not enough documentation, I suggest
2231 looking at the tests
2233 * Moose::Meta::Instance
2234 - added new Instance metaclass to support
2235 the new Class::MOP instance protocol
2237 * Moose::Meta::Class
2238 - some small changes to support the new
2240 - some small additions to support Roles
2242 * Moose::Meta::Attribute
2243 - some improvements to the accessor generation code
2245 - some small changes to support the new
2247 - (still somewhat) experimental delegation support
2248 with the 'handles' option
2249 - added several tests for this
2250 - no docs for this yet
2252 0.05 Thurs. April 27, 2006
2254 - keywords are now exported with Sub::Exporter
2255 thanks to chansen for this commit
2256 - has keyword now takes a 'metaclass' option
2257 to support custom attribute meta-classes
2258 on a per-attribute basis
2259 - added tests for this
2260 - the 'has' keyword not accepts inherited slot
2261 specifications (has '+foo'). This is still an
2262 experimental feature and probably not finished
2263 see t/038_attribute_inherited_slot_specs.t for
2264 more details, or ask about it on #moose
2265 - added tests for this
2268 - keywords are now exported with Sub::Exporter
2270 * Moose::Utils::TypeConstraints
2271 - reorganized the type constraint hierarchy, thanks
2272 to nothingmuch and chansen for his help and advice
2274 - added some tests for this
2275 - keywords are now exported with Sub::Exporter
2276 thanks to chansen for this commit
2278 * Moose::Meta::Class
2279 - due to changes in Class::MOP, we had to change
2280 construct_instance (for the better)
2282 * Moose::Meta::Attribute
2283 - due to changes in Class::MOP, we had to add the
2284 initialize_instance_slot method (it's a good thing)
2286 * Moose::Meta::TypeConstraint
2287 - added type constraint unions
2288 - added tests for this
2289 - added the is_subtype_of predicate method
2290 - added tests for this
2292 0.04 Sun. April 16th, 2006
2294 - Roles can now consume other roles
2295 - added tests for this
2296 - Roles can specify required methods now with
2297 the requires() keyword
2298 - added tests for this
2301 - ripped out much of it's guts ,.. much cleaner now
2302 - added required methods and correct handling of
2303 them in apply() for both classes and roles
2304 - added tests for this
2305 - no longer adds a does() method to consuming classes
2306 it relys on the one in Moose::Object
2307 - added roles attribute and some methods to support
2308 roles consuming roles
2310 * Moose::Meta::Attribute
2311 - added support for triggers on attributes
2312 - added tests for this
2313 - added support for does option on an attribute
2314 - added tests for this
2316 * Moose::Meta::Class
2317 - added support for attribute triggers in the
2319 - added tests for this
2322 - Moose no longer creates a subtype for your class
2323 if a subtype of the same name already exists, this
2324 should DWIM in 99.9999% of all cases
2326 * Moose::Util::TypeConstraints
2327 - fixed bug where incorrect subtype conflicts were
2329 - added test for this
2332 - this class can now be extended with 'use base' if
2333 you need it, it properly loads the metaclass class now
2334 - added test for this
2336 0.03_02 Wed. April 12, 2006
2338 - you must now explictly use Moose::Util::TypeConstraints
2339 it no longer gets exported for you automatically
2342 - new() now accepts hash-refs as well as key/value lists
2343 - added does() method to check for Roles
2344 - added tests for this
2346 * Moose::Meta::Class
2347 - added roles attribute along with the add_role() and
2349 - added tests for this
2352 - now adds a does() method to consuming classes
2353 which tests the class's hierarchy for roles
2354 - added tests for this
2356 0.03_01 Mon. April 10, 2006
2358 - added new Role recipe (no content yet, only code)
2361 - added 'with' keyword for Role support
2362 - added test and docs for this
2363 - fixed subtype quoting bug
2364 - added test for this
2368 - added test and docs
2370 * Moose::Util::TypeConstraints
2371 - added the message keyword to add custom
2372 error messages to type constraints
2375 - the meta role to support Moose::Role
2376 - added tests and docs
2378 * Moose::Meta::Class
2379 - moved a number of things from Moose.pm
2380 to here, they should have been here
2383 * Moose::Meta::Attribute
2384 - moved the attribute option macros here
2385 instead of putting them in Moose.pm
2387 * Moose::Meta::TypeConstraint
2388 - added the message attributes and the
2390 - added tests and docs for this
2392 0.03 Thurs. March 30, 2006
2394 - added the Moose::Cookbook with 5 recipes,
2395 describing all the stuff Moose can do.
2398 - fixed an issue with &extends super class loading
2399 it now captures errors and deals with inline
2400 packages correctly (bug found by mst, solution
2402 - added super/override & inner/augment features
2403 - added tests and docs for these
2406 - BUILDALL now takes a reference of the %params
2407 that are passed to &new, and passes that to
2410 * Moose::Util::TypeConstraints
2411 - Type constraints now survive runtime reloading
2412 - added test for this
2414 * Moose::Meta::Class
2415 - fixed the way attribute defaults are handled
2416 during instance construction (bug found by chansen)
2418 * Moose::Meta::Attribute
2419 - read-only attributes now actually enforce their
2420 read-only-ness (this corrected in Class::MOP as
2423 0.02 Tues. March 21, 2006
2425 - many more tests, fixing some bugs and
2427 - &extends now loads the base module with
2429 - added UNIVERSAL::require to the
2432 - each new Moose class will also create
2433 and register a subtype of Object which
2434 correspond to the new Moose class.
2435 - the 'isa' option in &has now only
2436 accepts strings, and will DWIM in
2439 * Moose::Util::TypeConstraints
2440 - added type coercion features
2441 - added tests for this
2442 - added support for this in attributes
2443 and instance construction
2445 - type construction no longer creates a
2446 function, it registers the type instead.
2447 - added several functions to get the
2451 - BUILDALL and DEMOLISHALL were broken
2452 because of a mis-named hash key, Whoops :)
2454 * Moose::Meta::Attribute
2455 - adding support for coercion in the
2456 autogenerated accessors
2458 * Moose::Meta::Class
2459 - adding support for coercion in the
2460 instance construction
2462 * Moose::Meta::TypeConstraint
2463 * Moose::Meta::TypeCoercion
2464 - type constraints and coercions are now
2465 full fledges meta-objects
2467 0.01 Wed. March 15, 2006
2468 - Moooooooooooooooooose!!!