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)
24 - Add explicit use of Devel::GlobalDestruction and Sub::Name
28 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
29 or not we are currently in global destruction (doy)
30 - Add explicit use of Devel::GlobalDestruction and Sub::Name
33 * Moose::Cookbook::FAQ
34 - Reworked much of the existing content to be more useful to
35 modern Moose hackers (Sartak)
38 - Depend on Class::MOP 0.83 instead of 0.82_01. It seems that if
39 we use a dev version number there CPAN.pm will not follow the
42 0.76 Mon, April 27, 2009
43 * Moose::Meta::TypeConstraint
44 - Do not run coercions in coerce() if the value already passes the type
47 * Moose::Meta::TypeConstraint::Class
48 - In validation error messages, specifically say that the value is not
49 an instance of the class. This should alleviate some frustrating
50 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
52 * Moose::Meta::Role::Application::ToClass
53 - Revert the class-overrides-role warning in favor of a solution outside
54 of the Moose core (Sartak)
57 - Make Test::Output optional again, since it's only used in a few files
60 0.75_01 Thu, April 23, 2009
61 * Moose::Meta::Role::Application::ToClass
62 - Moose now warns about each class overriding methods from roles it
66 - Warnings tests have standardized on Test::Output which is now an
67 unconditionally dependency (Sartak)
70 - Changes to immutabilization to work with Class::MOP 0.82_01+.
72 0.75 Mon, April 20, 2009
75 - Move validation of not inheriting from roles from Moose::extends to
76 Moose::Meta::Class::superclasses (doy)
79 - add ensure_all_roles() function to encapsulate the common "apply this
80 role unless the object already does it" pattern (hdp)
83 - Users can now select a different metaclass with the "-metaclass"
84 option to import, for classes and roles (Sartak)
87 - Make method_metaclass an attr so that it can accept a metarole
90 0.74 Tue, April 7, 2009
92 * Moose::Meta::Method::Destructor
93 - Include stack traces in the deprecation warnings.
97 - Removed the long-deprecated _apply_all_roles method.
99 * Moose::Meta::TypeConstraint
100 - Removed the long-deprecated union method.
103 0.73_02 Mon, April 6, 2009
104 * More deprecations and renamings
105 - Moose::Meta::Method::Constructor
106 - initialize_body => _initialize_body (this is always called
107 when an object is constructed)
110 - The DEMOLISHALL method could throw an exception during global
111 destruction, meaning that your class's DEMOLISH methods would
112 not be properly called. Reported by t0m.
114 * Moose::Meta::Method::Destructor
115 - Destructor inlining was totally broken by the change to the
116 is_needed method in 0.72_01. Now there is a test for this
117 feature, and it works again.
120 - Bold the word 'not' in the POD for find_meta (t0m)
122 0.73_01 Sun, April 5, 2009
124 - Call user_class->meta in fewer places, with the eventual goal
125 of allowing the user to rename or exclude ->meta
126 altogether. Instead uses Class::MOP::class_of. (Sartak)
128 * Moose::Meta::Method::Accessor
129 - If an attribute had a lazy default, and that value did not
130 pass the attribute's type constraint, it did not get the
131 message from the type constraint, instead using a generic
132 message. Test provided by perigrin.
134 * Moose::Util::TypeConstraints
135 - Add duck_type keyword. It's sugar over making sure an object
136 can() a list of methods. This is easier than jrockway's
137 suggestion to fork all of CPAN. (perigrin)
138 - add tests and documentation (perigrin)
141 - Document the fact that init_meta() returns the target class's
142 metaclass object. (hdp)
144 * Moose::Cookbook::Extending::Recipe1
145 * Moose::Cookbook::Extending::Recipe2
146 * Moose::Cookbook::Extending::Recipe3
147 * Moose::Cookbook::Extending::Recipe4
148 - Make init_meta() examples explicitly return the metaclass and
149 point out this fact. (hdp)
151 * Moose::Cookbook::Basics::Recipe12
152 - A new recipe, creating a custom meta-method class.
154 * Moose::Cookbook::Meta::Recipe6
155 - A new recipe, creating a custom meta-method class.
158 * Moose::Meta::Method::Constructor
159 - Attribute triggers no longer receive the meta-attribute object
160 as an argument in any circumstance. Previously, triggers
161 called during instance construction were passed the
162 meta-attribute, but triggers called by normal accessors were
163 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
165 * Moose::Manual::Attributes
166 - Remove references to triggers receving the meta-attribute object as an
169 * Moose::Cookbook::FAQ
170 - Remove recommendation for deprecated Moose::Policy and
171 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
174 * Many methods have been renamed with a leading underscore, and a
175 few have been deprecated entirely. The methods with a leading
176 underscore are consider "internals only". People writing
177 subclasses or extensions to Moose should feel free to override
178 them, but they are not for "public" use.
181 - check_metaclass_compatibility => _check_metaclass_compatibility
183 - Moose::Meta::Method::Accessor
184 - initialize_body => _initialize_body (this is always called
185 when an object is constructed)
186 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
188 - Moose::Meta::Method::Constructor
189 - initialize_body => _initialize_body (this is always called
190 when an object is constructed)
191 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
192 - attributes => _attributes (now inherited from parent)
193 - meta_instance => _meta_instance (now inherited from parent)
196 - alias_method is deprecated. Use add_method
198 0.73 Fri, March 29, 2009
199 * No changes from 0.72_01.
201 0.72_01 Thu, March 26, 2009
203 - Almost every module has complete API documentation. A few
204 methods (and even whole classes) have been intentionally
205 excluded pending some rethinking of their APIs.
207 * Moose::Util::TypeConstraints
208 - Calling subtype with a name as the only argument is now an
209 exception. If you want an anonymous subtype do:
211 my $subtype = subtype as 'Foo';
213 * Moose::Cookbook::Meta::Recipe7
214 - A new recipe, creating a custom meta-instance class.
216 * Moose::Cookbook::Basics::Recipe5
217 - Fix various typos and mistakes. Includes a patch from Radu
220 * Moose::Cookbook::Basics::Recipe9
221 - Link to this recipe from Moose.pm's builder blurb
224 - When wrapping a function with a prototype, Moose::Exporter now
225 makes sure the wrapped function still has the same
226 prototype. (Daisuke Maki)
228 * Moose::Meta::Attribute
229 - Allow a subclass to set lazy_build for an inherited
233 - Explicitly depend on Data::OptList. We already had this dependency
234 via Sub::Exporter, but since we're using it directly we're
235 better off with it listed. (Sartak)
237 * Moose::Meta::Method::Constructor
238 - Make it easier to subclass the inlining behaviour. (Ash
241 * Moose::Manual::Delta
242 - Details significant changes in the history of Moose, along
243 with recommended workarounds.
245 * Moose::Manual::Contributing
246 - Contributor's guide to Moose.
248 * Moose::Meta::Method::Constructor
249 - The long-deprecated intialize_body method has been removed
250 (yes, spelled like that).
252 * Moose::Meta::Method::Destructor
253 - This is_needed method is now always a class method.
256 - Changes to the internals of how make_immutable works to match
257 changes in latest Class::MOP.
259 0.72 Mon, February 23, 2009
261 * Moose::Meta::Method::Constructor
262 - A mutable class accepted Foo->new(undef) without complaint,
263 while an immutable class would blow up with an unhelpful
264 error. Now, in both cases we throw a helpful error
265 instead. Reported by doy.
267 0.71_01 Sun, February 22, 2009
269 - Hopefully fixed some POD errors in a few recipes that caused
270 them to display weird on search.cpan.org.
272 * Moose::Util::TypeConstraints
273 - Calling type or subtype without the sugar helpers (as, where,
274 message) is now deprecated.
275 - The subtype function tried hard to guess what you meant, but
276 often got it wrong. For example:
278 my $subtype = subtype as 'ArrayRef[Object]';
280 This caused an error in the past, but now works as you'd
284 - Make sure Moose.pm is loaded before calling
285 Moose->throw_error. This wasn't normally an issue, but could
286 bite you in weird cases.
288 0.71 Thu, February 19, 2009
289 * Moose::Cookbook::Basics::Recipe11
290 - A new recipe which demonstrates the use of BUILDARGS and
293 * Moose::Cookbook::Roles::Recipe3
294 - A new recipe, applying a role to an object instance. (Dave
298 - Allow overriding specific keywords from "also" packages. (doy)
301 - Replace hardcoded cookbook tests with Test::Inline to ensure
302 the tests match the actual code in the recipes. (Dave Rolsky)
305 - Working on the above turned up a number of little bugs in the
306 recipe code. (Dave Rolsky)
308 * Moose::Util::TypeConstraints::Optimized
309 - Just use Class::MOP for the optimized ClassName check. (Dave
312 0.70 Sat, February 14, 2009
313 * Moose::Util::TypeConstraints
314 - Added the RoleName type (stevan)
315 - added tests for this (stevan)
317 * Moose::Cookbook::Basics::Recipe3
318 - Updated the before qw[left right] sub to be a little more
319 defensive about what it accepts (stevan)
320 - added more tests to t/000_recipies/basics/003_binary_tree.t
324 - We now always call DEMOLISHALL, even if a class does not
325 define DEMOLISH. This makes sure that method modifiers on
326 DEMOLISHALL work as expected. (doy)
327 - added tests for this (EvanCarroll)
329 * Moose::Util::MetaRole
330 - Accept roles for the wrapped_method_metaclass (rafl)
331 - added tests for this (rafl)
333 * Moose::Meta::Attribute
334 - We no longer pass the meta-attribute object as a final
335 argument to triggers. This actually changed for inlined code a
336 while back, but the non-inlined version and the docs were
340 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
341 they require 0.11. (Dave Rolsky)
344 - Lots of small changes to the manual, cookbook, and
345 elsewhere. These were based on feedback from various
346 users, too many to list here. (Dave Rolsky)
348 0.69 Thu, February 12, 2009
350 - Make some keyword errors use throw_error instead of croak
351 since Moose::Exporter wraps keywords now (Sartak)
354 - Revised every recipe for style and clarity. Also moved some
355 documentation out of cookbook recipes and into Moose::Manual
356 pages. This work was funded as part of the Moose docs grant
357 from TPF. (Dave Rolsky)
359 * Moose::Meta::Method::Delegation
360 - If the attribute doing the delegation was not populated, the
361 error message did not specify the attribute name
364 0.68 Wed, February 4, 2009
366 - Many spelling, typo, and formatting fixes by daxim.
368 * Moose::Manual::Attributes
369 - The NAME section in the POD used "Attribute" so search.cpan
370 didn't resolve links from other documents properly.
372 * Moose::Meta::Method::Overriden
373 - Now properly spelled as Overridden. Thanks to daxim for
376 0.67 Tue, February 3, 2009
378 - Lots of little typo fixes and a few clarifications. Several
379 pages didn't have proper titles, and so weren't actually
380 visible on search.cpan.org. Thanks to hanekomu for a variety
381 of fixes and formatting improvements.
383 0.66 Tue, February 3, 2009
385 - This is a brand new, extensive manual for Moose. This aims to
386 provide a complete introduction to all of Moose's
387 features. This work was funded as part of the Moose docs grant
388 from TPF. (Dave Rolsky)
390 * Moose::Meta::Attribute
391 - Added a delegation_metaclass method to replace a hard-coded
392 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
394 * Moose::Util::TypeConstraints
395 - If you created a subtype and passed a parent that Moose didn't
396 know about, it simply ignored the parent. Now it automatically
397 creates the parent as a class type. This may not be what you
398 want, but is less broken than before. (Dave Rolsky)
400 * Moose::Util::TypeConstraints
401 - This module tried throw errors by calling Moose->throw_error,
402 but it did not ensure that Moose was loaded first. This could
403 cause very unhelpful errors when it tried to throw an error
404 before Moose was loaded. (Dave Rolsky)
406 * Moose::Util::TypeConstraints
407 - You could declare a name with subtype such as "Foo!Bar" that
408 would be allowed, but if you used it in a parameterized type
409 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
410 vetting on names created via the sugar functions, so that they
411 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
413 0.65 Thu, January 22, 2008
414 * Moose and Moose::Meta::Method::Overridden
415 - If an overridden method called super(), and then the
416 superclass's method (not overridden) _also_ called super(),
417 Moose went into an endless recursion loop. Test provided by
418 Chris Prather. (Dave Rolsky)
420 * Moose::Meta::TypeConstraint
421 - All methods are now documented. (gphat)
423 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
424 - Fixed some bogus failures that occurred because we tried to
425 validate filesystem paths in a very ad-hoc and
426 not-quite-correct way. (Dave Rolsky)
428 * Moose::Util::TypeConstraints
429 - Added maybe_type to exports. See docs for details. (rjbs)
432 - Added Moose::Util::TypeConstraints to the SEE ALSO
436 - Methods created via an attribute can now fulfill a "requires"
437 declaration for a role. (nothingmuch)
439 * Moose::Meta::Method::*
440 - Stack traces from inlined code will now report its line and
441 file as being in your class, as opposed to in Moose
444 0.64 Wed, December 31, 2008
445 * Moose::Meta::Method::Accessor
446 - Always inline predicate and clearer methods (Sartak)
448 * Moose::Meta::Attribute
449 - Support for parameterized traits (Sartak)
450 - verify_against_type_constraint method to avoid duplication
451 and enhance extensibility (Sartak)
454 - Tests (but no support yet) for parameterized traits (Sartak)
457 - Require Class::MOP 0.75+, which has the side effect of making
458 sure we work on Win32. (Dave Rolsky)
460 0.63 Mon, December 8, 2008
462 - Some small grammar tweaks and bug fixes in non-Moose example
465 0.62_02 Fri, December 5, 2008
466 * Moose::Meta::Role::Application::ToClass
467 - When a class does not provide all of a role's required
468 methods, the error thrown now mentions all of the missing
469 methods, as opposed to just the first one found. Requested by
470 Curtis Poe (RT #41119). (Dave Rolsky)
472 * Moose::Meta::Method::Constructor
473 - Moose will no longer inline a constructor for your class
474 unless it inherits its constructor from Moose::Object, and
475 will warn when it doesn't inline. If you want to force
476 inlining anyway, pass "replace_constructor => 1" to
477 make_immutable. Addresses RT #40968, reported by Jon
478 Swartz. (Dave Rolsky)
479 - The quoting of default values could be broken if the default
480 contained a single quote ('). Now we use quotemeta to escape
481 anything potentially dangerous in the defaults. (Dave Rolsky)
483 0.62_01 Wed, December 3, 2008
485 - use the method->execute API for BUILDALL
486 and DEMOLISHALL (Sartak)
488 * Moose::Util::TypeConstraints
489 - We now make all the type constraint meta classes immutable
490 before creating the default types provided by Moose. This
491 should make loading Moose a little faster. (Dave Rolsky)
493 0.62 Wed November 26, 2008
494 * Moose::Meta::Role::Application::ToClass
495 Moose::Meta::Role::Application::ToRole
496 - fixed issues where excluding and aliasing the
497 same methods for a single role did not work
498 right (worked just fine with multiple
500 - added test for this (stevan)
502 * Moose::Meta::Role::Application::RoleSummation
503 - fixed the error message when trying to compose
504 a role with a role it excludes (Sartak)
507 - Catch another case where recursion caused the value
508 of $CALLER to be stamped on (t0m)
509 - added test for this (t0m)
512 - Remove the make_immutable keyword, which has been
513 deprecated since April. It breaks metaclasses that
514 use Moose without no Moose (Sartak)
516 * Moose::Meta::Attribute
517 - Removing an attribute from a class now also removes delegation
518 (handles) methods installed for that attribute (t0m)
519 - added test for this (t0m)
521 * Moose::Meta::Method::Constructor
522 - An attribute with a default that looked like a number (but was
523 really a string) would accidentally be treated as a number
524 when the constructor was made immutable (perigrin)
525 - added test for this (perigrin)
528 - create method for constructing a role
530 - added test for this (Sartak)
531 - anonymous roles! (Sartak)
532 - added test for this (Sartak)
535 - more consistent error messages (Sartak)
537 * Moose::Cookbook::Roles::Recipe1
538 - attempt to explain why a role that just requires
539 methods is useful (Sartak)
541 0.61 Fri November 7, 2008
542 * Moose::Meta::Attribute
543 - When passing a role to handles, it will be loaded if necessary
547 - Method objects returned by get_method (and other methods)
548 Could end up being returned without an associated_metaclass
549 attribute. Removing get_method_map, which is provided by
550 Class::MOP::Class, fixed this. The Moose version did nothing
551 different from its parent except introduce a bug. (Dave Rolsky)
552 - added tests for this (jdv79)
555 - Added a $VERSION to all .pm files which didn't have one. Fixes
556 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
558 * Moose::Cookbook::Basics::Recipe4
559 * Moose::Cookbook::Basics::Recipe6
560 - These files had spaces on the first line of the SYNOPSIS, as
561 opposed to a totally empty line. According to RT #40432, this
562 confuses POD parsers. (Dave Rolsky)
564 0.60 Fri October 24, 2008
566 - Passing "-traits" when loading Moose caused the Moose.pm
567 exports to be broken. Reported by t0m. (Dave Rolsky)
568 - Tests for this bug. (t0m)
571 - Change resolve_metaclass alias to use the new
572 load_first_existing_class function. This makes it a lot
573 simpler, and also around 5 times faster. (t0m)
574 - Add caching to resolve_metaclass_alias, which gives an order
575 of magnitude speedup to things which repeatedly call the
576 Moose::Meta::Attribute->does method, notably MooseX::Storage
579 * Moose::Util::TypeConstraint
580 - Put back the changes for parameterized constraints that
581 shouldn't have been removed in 0.59. We still cannot parse
582 them, but MooseX modules can create them in some other
583 way. See the 0.58 changes for more details. (jnapiorkowski)
584 - Changed the way subtypes are created so that the job is
585 delegated to a type constraint parent. This clears up some
586 hardcoded checking and should allow correct subtypes of
587 Moose::Meta::Type::Constraint. Don't rely on this new API too
588 much (create_child_type) because it may go away in the
589 future. (jnapiorkowski)
591 * Moose::Meta::TypeConstraint::Union
592 - Type constraint names are sorted as strings, not numbers.
595 * Moose::Meta::TypeConstraint::Parameterizable
596 - New parameterize method. This can be used as a factory method
597 to make a new type constraint with a given parameterized
598 type. (jnapiorkowski)
599 - added tests (jnapiorkowski)
601 0.59 Tue October 14, 2008
603 - Add abridged documentation for builder/default/initializer/
604 predicate, and link to more details sections in
605 Class::MOP::Attribute. (t0m)
607 * Moose::Util::TypeConstraints
608 - removed prototypes from all but the &-based stuff (mst)
610 * Moose::Util::TypeConstraints
611 - Creating a anonymous subtype with both a constraint and a
612 message failed with a very unhelpful error, but should just
613 work. Reported by t0m. (Dave Rolsky)
616 - Some tests that used Test::Warn if it was available failed
617 with older versions of Test::Warn. Reported by Fayland. (Dave
619 - Test firing behavior of triggers in relation to builder/default/
621 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
622 kinds of supported type. (t0m)
625 - In create(), do not pass "roles" option to the superclass
626 - added related test that creates an anon metaclass with
629 * Moose::Meta::TypeConstraint::Class
630 * Moose::Meta::TypeConstraint::Role
631 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
632 other types (as per change in 0.55_02). (t0m)
634 * Moose::Meta::TypeConstraint::Registry
635 - Fix warning when dealing with unknown type names (t0m)
637 * Moose::Util::TypeConstraints
638 - Reverted changes from 0.58 related to handle parameterized
639 types. This caused random failures on BSD and Win32 systems,
640 apparently related to the regex engine. This means that Moose
641 can no longer parse structured type constraints like
642 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
643 supported in a slightly different way via MooseX::Types some
644 time in the future. (Dave Rolsky)
646 0.58 Sat September 20, 2008
647 !! This release has an incompatible change regarding !!
648 !! how roles add methods to a class !!
650 * Roles and role application
651 ! Roles now add methods by calling add_method, not
652 alias_method. They make sure to always provide a method
653 object, which will be cloned internally. This means that it is
654 now possible to track the source of a method provided by a
655 role, and even follow its history through intermediate roles.
657 This means that methods added by a role now show up when
658 looking at a class's method list/map. (Dave Rolsky)
661 - From this release on, we'll try to maintain a list of
662 conflicting modules, and warn you if you have one
663 installed. For example, this release conflicts with ...
664 - MooseX::Singleton <= 0.11
665 - MooseX::Params::Validate <= 0.05
668 In general, we try to not break backwards compatibility for
669 most Moose users, but MooseX modules and other code which
670 extends Moose's metaclasses is often affected by very small
671 changes in the Moose internals.
673 * Moose::Meta::Method::Delegation
674 * Moose::Meta::Attribute
675 - Delegation methods now have their own method class. (Dave
678 * Moose::Meta::TypeConstraint::Parameterizable
679 - Added a new method 'parameterize' which is basically a factory
680 for the containing constraint. This makes it easier to create
681 new types of parameterized constraints. (jnapiorkowski)
683 * Moose::Meta::TypeConstraint::Union
684 - Changed the way Union types canonicalize their names to follow
685 the normalized TC naming rules, which means we strip all
686 whitespace. (jnapiorkowski)
688 * Moose::Util::TypeConstraints
689 - Parameter and Union args are now sorted, this makes Int|Str
690 the same constraint as Str|Int. (jnapiorkowski)
691 - Changes to the way Union types are parsed to more correctly
692 stringify their names. (jnapiorkowski)
693 - When creating a parameterized type, we now use the new
694 parameterize method. (jnapiorkowski)
695 - Incoming type constraint strings are now normalized to remove
696 all whitespace differences. (jnapiorkowski)
697 - Changed the way we parse type constraint strings so that we now
698 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
699 constraints. This lays the foundation for more flexible type
700 constraint implementations.
702 * Tests and docs for all the above. (jnapiorkowski)
706 - Moose::Exporter will no longer remove a subroutine that the
707 exporting package re-exports. Moose re-exports the
708 Carp::confess function, among others. The reasoning is that we
709 cannot know whether you have also explicitly imported those
710 functions for your own use, so we err on the safe side and
711 always keep them. (Dave Rolsky)
712 - added tests for this (rafl)
715 - Changes to how we fix metaclass compatibility that are much
716 too complicated to go into. The summary is that Moose is much
717 less likely to complain about metaclass incompatibility
718 now. In particular, if two metaclasses differ because
719 Moose::Util::MetaRole was used on the two corresponding
720 classes, then the difference in roles is reconciled for the
721 subclass's metaclass. (Dave Rolsky)
722 - Squashed an warning in _process_attribute (thepler)
725 - throw exceptions (sooner) for invalid attribute names (thepler)
726 - added tests for this (thepler)
728 * Moose::Util::MetaRole
729 - If you explicitly set a constructor or destructor class for a
730 metaclass object, and then applied roles to the metaclass,
731 that explicitly set class would be lost and replaced with the
735 * Moose::Meta::Attribute
736 * Moose::Meta::Method
739 * Moose::Error::Default
740 * Moose::Error::Croak
741 * Moose::Error::Confess
742 - All instances of confess() changed to use overridable
743 C<throw_error> method. This method ultimately calls a class
744 constructor, and you can change the class being called. In
745 addition, errors now pass more information than just a string.
746 The default C<error_class> behaves like C<Carp::confess>, so
747 the behavior is not visibly different for end users.
749 0.57 Wed September 3, 2008
751 - A new bit of doc intended to introduce folks familiar with
752 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
755 - Shows examples of two classes, each done first with and then
756 without Moose. This makes a nice parallel to
757 Moose::Intro. (Dave Rolsky)
759 * Moose::Util::TypeConstraints
760 - Fixed a bug in find_or_parse_type_constraint so that it
761 accepts a Moose::Meta::TypeConstraint object as the parent
762 type, not just a name (jnapiorkowski)
763 - added tests (jnapiorkowski)
766 - If Sub::Name was not present, unimporting failed to actually
767 remove some sugar subs, causing test failures (Dave Rolsky)
769 0.56 Mon September 1, 2008
770 For those not following the series of dev releases, there are
771 several major changes in this release of Moose.
772 ! Moose::init_meta should now be called as a method. See the
775 - Major performance improvements by nothingmuch.
777 - New modules for extension writers, Moose::Exporter and
778 Moose::Util::MetaRole by Dave Rolsky.
780 - Lots of doc improvements and additions, especially in the
785 * Removed all references to the experimental-but-no-longer-needed
786 Moose::Meta::Role::Application::ToMetaclassInstance.
788 * Require Class::MOP 0.65.
790 0.55_04 Sat August 30, 2008
791 * Moose::Util::MetaRole
792 * Moose::Cookbook::Extending::Recipe2
793 - This simplifies the application of roles to any meta class, as
794 well as the base object class. Reimplemented metaclass traits
795 using this module. (Dave Rolsky)
797 * Moose::Cookbook::Extending::Recipe1
798 - This a new recipe, an overview of various ways to write Moose
799 extensions (Dave Rolsky)
801 * Moose::Cookbook::Extending::Recipe3
802 * Moose::Cookbook::Extending::Recipe4
803 - These used to be Extending::Recipe1 and Extending::Recipe2,
806 0.55_03 Fri August 29, 2008
807 * No changes from 0.55_02 except increasing the Class::MOP
808 dependency to 0.64_07.
810 0.55_02 Fri August 29, 2008
811 * Makefile.PL and Moose.pm
812 - explicitly require Perl 5.8.0+ (Dave Rolsky)
814 * Moose::Util::TypeConstraints
815 - Fix warnings from find_type_constraint if the type is not
818 * Moose::Meta::TypeConstraint
819 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
820 return false if the type you specify cannot be found in the
821 type registry, rather than throwing an unhelpful and
822 coincidental exception. (t0m).
823 - added docs & test for this (t0m)
825 * Moose::Meta::TypeConstraint::Registry
826 - add_type_constraint now throws an exception if a parameter is
828 - added docs & test for this (t0m)
830 * Moose::Cookbook::FAQ
831 - Added a faq entry on the difference between "role" and "trait"
835 - Fixed a bug that caused role composition to not see a required
836 method when that method was provided by another role being
837 composed at the same time. (Dave Rolsky)
838 - test and bug finding (tokuhirom)
840 0.55_01 Wed August 20, 2008
842 !! Calling Moose::init_meta as a function is now !!
843 !! deprecated. Please see the Moose.pm docs for details. !!
845 * Moose::Meta::Method::Constructor
846 - Fix inlined constructor so that values produced by default
847 or builder methods are coerced as required. (t0m)
848 - added test for this (t0m)
850 * Moose::Meta::Attribute
851 - A lazy attribute with a default or builder did not attempt to
852 coerce the default value. The immutable code _did_
854 - added test for this (t0m)
857 - This is a new helper module for writing "Moose-alike"
858 modules. This should make the lives of MooseX module authors
859 much easier. (Dave Rolsky)
862 * Moose::Cookbook::Meta::Recipe5
863 - Implemented metaclass traits (and wrote a recipe for it):
865 use Moose -traits => 'Foo'
867 This should make writing small Moose extensions a little
870 * Moose::Cookbook::Basics::Recipe1
871 - Removed any examples of direct hashref access, and applied an
872 editorial axe to reduce verbosity. (Dave Rolsky)
874 * Moose::Cookbook::Basics::Recipe1
875 - Also applied an editorial axe here. (Dave Rolsky)
878 * Moose::Cookbook::Extending::Recipe1
879 * Moose::Cookbook::Extending::Recipe2
880 - Rewrote extending and embedding moose documentation and
881 recipes to use Moose::Exporter (Dave Rolsky)
885 - These two modules now warn when you load them from the main
886 package "main" package, because we will not export sugar to
887 main. Previously it just did nothing. (Dave Rolsky)
890 - Now provide an init_meta method just like Moose.pm, and you
891 can call this to provide an alternate role metaclass. (Dave
892 Rolsky and nothingmuch)
893 - get_method_map now respects the package cache flag (nothingmuch)
896 - Two new methods - add_method and wrap_method_body
900 - Optimizations including allowing constructors to accept hash
901 refs, making many more classes immutable, and making
902 constructors immutable. (nothingmuch)
904 0.55 Sun August 3, 2008
905 * Moose::Meta::Attribute
906 - breaking down the way 'handles' methods are
907 created so that the process can be more easily
908 overridden by subclasses (stevan)
910 * Moose::Meta::TypeConstraint
911 - fixing what is passed into a ->message with
912 the type constraints (RT #37569)
913 - added tests for this (Charles Alderman)
915 * Moose::Util::TypeConstraints
916 - fix coerce to accept anon types like subtype can (mst)
919 - reorganized the recipes into sections - Basics, Roles, Meta,
920 Extending - and wrote abstracts for each section (Dave Rolsky)
922 * Moose::Cookbook::Basics::Recipe10
923 - A new recipe that demonstrates operator overloading
924 in combination with Moose. (bluefeet)
926 * Moose::Cookbook::Meta::Recipe1
927 - an introduction to what meta is and why you'd want to make
928 your own metaclass extensions (Dave Rolsky)
930 * Moose::Cookbook::Meta::Recipe4
931 - a very simple metaclass example (Dave Rolsky)
933 * Moose::Cookbook::Extending::Recipe1
934 - how to write a Moose-alike module to use your own object base
937 * Moose::Cookbook::Extending::Recipe2
938 - how to write modules with an API just like C<Moose.pm> (Dave
942 - Tons of fixes, both syntactical and grammatical (Dave
943 Rolsky, Paul Fenwick)
945 0.54 Thurs. July 3, 2008
946 ... this is not my day today ...
948 * Moose::Meta::Attribute
949 - fixed legal_options_for_inheritance such that
950 clone_and_inherit options still works for
951 Class::MOP::Attribute objects and therefore
952 does not break MooseX::AttributeHelpers
955 0.53 Thurs. July 3, 2008
956 * Whoops, I guess I should run 'make manifest' before
957 actually releasing the module. No actual changes
958 in this release, except the fact that it includes
959 the changes that I didn't include in the last
962 0.52 Thurs. July 3, 2008
964 - added "FEATURE REQUESTS" section to the Moose docs
965 to properly direct people (stevan) (RT #34333)
966 - making 'extends' croak if it is passed a Role since
967 this is not ever something you want to do
968 (fixed by stevan, found by obra)
969 - added tests for this (stevan)
972 - adding support for DOES (as in UNIVERSAL::DOES)
974 - added test for this
976 * Moose::Meta::Attribute
977 - added legal_options_for_inheritance (wreis)
978 - added tests for this (wreis)
980 * Moose::Cookbook::Snacks::*
981 - removed some of the unfinished snacks that should
982 not have been released yet. Added some more examples
983 to the 'Keywords' snack. (stevan)
985 * Moose::Cookbook::Style
986 - added general Moose "style guide" of sorts to the
987 cookbook (nothingmuch) (RT #34335)
990 - added more BUILDARGS tests (stevan)
992 0.51 Thurs. Jun 26, 2008
994 - add unimport so "no Moose::Role" actually does
997 * Moose::Meta::Role::Application::ToRole
998 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
999 order to provide its own implementation, that method still got
1000 added to the list of required methods for consumers of
1001 RoleB. Now an aliased method is only added to the list of
1002 required methods if the role doing the aliasing does not
1003 provide its own implementation. See Recipe 11 for an example
1004 of all this. (Dave Rolsky)
1005 - added tests for this
1007 * Moose::Meta::Method::Constructor
1008 - when a single argument that wasn't a hashref was provided to
1009 an immutabilized constructor, the error message was very
1010 unhelpful, as opposed to the non-immutable error. Reported by
1012 - added test for this (Dave Rolsky)
1014 * Moose::Meta::Attribute
1015 - added support for meta_attr->does("ShortAlias") (sartak)
1016 - added tests for this (sartak)
1017 - moved the bulk of the `handles` handling to the new
1018 install_delegation method (Stevan)
1021 - Added BUILDARGS, a new step in new()
1023 * Moose::Meta::Role::Application::RoleSummation
1024 - fix typos no one ever sees (sartak)
1026 * Moose::Util::TypeConstraints
1027 * Moose::Meta::TypeConstraint
1028 * Moose::Meta::TypeCoercion
1029 - Attempt to work around the ??{ } vs. threads issue
1031 - Some null_constraint optimizations
1033 0.50 Thurs. Jun 11, 2008
1034 - Fixed a version number issue by bumping all modules
1037 0.49 Thurs. Jun 11, 2008
1038 !! This version now approx. 20-25% !!
1039 !! faster with new Class::MOP 0.59 !!
1041 * Moose::Meta::Attribute
1042 - fixed how the is => (ro|rw) works with
1043 custom defined reader, writer and accessor
1045 - added docs for this (TODO).
1046 - added tests for this (Thanks to Penfold)
1047 - added the custom attribute alias for regular
1048 Moose attributes which is "Moose"
1049 - fix builder and default both being used
1054 Moose::Meta::Attribute
1056 Moose::Meta::Role::Composite
1057 Moose::Util::TypeConstraints
1058 - switched usage of reftype to ref because
1062 - changing add_package_symbol to use the new
1066 - fixed how DEMOLISHALL is called so that it
1067 can be overrided in subclasses (thanks to Sartak)
1068 - added test for this (thanks to Sartak)
1070 * Moose::Util::TypeConstraints
1071 - move the ClassName type check code to
1072 Class::MOP::is_class_loaded (thanks to Sartak)
1074 * Moose::Cookbook::Recipe11
1075 - add tests for this (thanks to tokuhirom)
1077 0.48 Thurs. May 29, 2008
1078 (early morning release engineering)--
1080 - fixing the version in Moose::Meta::Method::Destructor
1081 which was causing the indexer to choke
1083 0.47 Thurs. May 29, 2008
1084 (late night release engineering)--
1086 - fixing the version is META.yml, no functional
1087 changes in this release
1089 0.46 Wed. May 28, 2008
1090 !! This version now approx. 20-25% !!
1091 !! faster with new Class::MOP 0.57 !!
1093 * Moose::Meta::Class
1094 - some optimizations of the &initialize method
1095 since it is called so often by &meta
1097 * Moose::Meta::Class
1099 - now use the get_all_package_symbols from the
1100 updated Class::MOP, test suite is now 10 seconds
1103 * Moose::Meta::Method::Destructor
1104 - is_needed can now also be called as a class
1105 method for immutablization to check if the
1106 destructor object even needs to be created
1109 * Moose::Meta::Method::Destructor
1110 Moose::Meta::Method::Constructor
1111 - added more descriptive error message to help
1112 keep people from wasting time tracking an error
1113 that is easily fixed by upgrading.
1115 0.45 Saturday, May 24, 2008
1117 - Because of work in Class::MOP 0.57, all
1118 XS based functionality is now optional
1119 and a Pure Perl version is supplied
1120 - the CLASS_MOP_NO_XS environment variable
1121 can now be used to force non-XS versions
1123 - several of the packages have been tweaked
1124 to take care of this, mostly we added
1125 support for the package_name and name
1126 variables in all the Method metaclasses
1127 - before/around/after method modifiers now
1128 support regexp matching of names
1129 (thanks to Takatoshi Kitano)
1130 - tests added for this
1131 - NOTE: this only works for classes, it
1132 is currently not supported in roles,
1133 but, ... patches welcome
1134 - All usage of Carp::confess have been replaced
1135 by Carp::croak in the "keyword" functions since
1136 the stack trace is usually not helpful
1139 - All usage of Carp::confess have been replaced
1140 by Carp::croak in the "keyword" functions since
1141 the stack trace is usually not helpful
1142 - The 'has' keyword for roles now accepts the
1143 same array ref form that Moose.pm does
1144 (has [qw/foo bar/] => (is => 'rw', ...))
1145 - added test for this
1147 * Moose::Meta::Attribute
1148 - trigger on a ro-attribute is no longer an
1149 error, as it's useful to trigger off of the
1152 * Moose::Meta::Class
1153 - added same 'add_package_symbol' fix as in
1157 - does_role now handles non-Moose classes
1159 - added tests for this
1160 - added the 'add_method_modifier' function
1161 (thanks to Takatoshi Kitano)
1163 * Moose::Util::TypeConstraints
1164 - subtypes of parameterizable types now are
1165 themselves parameterizable types
1167 * Moose::Meta::Method::Constructor
1168 - fixed bug where trigger was not being
1169 called by the inlined immutable
1171 - added test for this (thanks to Caelum)
1173 * Moose::Meta::Role::Application::ToInstance
1174 - now uses the metaclass of the instance
1175 (if possible) to create the anon-class
1176 (thanks Jonathan Rockway)
1178 * Moose::Cookbook::Recipe22
1179 - added the meta-attribute trait recipe
1183 - fixed hash-ordering test bug that was
1184 causing occasional cpantester failures
1185 - renamed the t/000_recipe/*.t tests to be
1186 more descriptive (thanks to Sartak)
1188 0.44 Sat. May 10, 2008
1190 - made make_immutable warning cluck to
1191 show where the error is (thanks mst)
1194 - BUILDALL and DEMOLISHALL now call
1195 ->body when looping through the
1196 methods, to avoid the overloaded
1198 - fixed issue where DEMOLISHALL was
1199 eating the $@ values, and so not
1200 working correctly, it still kind of
1201 eats them, but so does vanilla perl
1202 - added tests for this
1204 * Moose::Cookbook::Recipe7
1205 - added new recipe for immutable
1206 functionality (thanks Dave Rolsky)
1208 * Moose::Cookbook::Recipe9
1209 - added new recipe for builder and
1210 lazy_build (thanks Dave Rolsky)
1212 * Moose::Cookbook::Recipe11
1213 - added new recipe for method aliasing
1214 and exclusion with Roles (thanks Dave Rolsky)
1217 - fixed Win32 test failure (thanks spicyjack)
1219 ~ removed Build.PL and Module::Build compat
1220 since Module::Install has done that.
1222 0.43 Wed. April, 30, 2008
1224 drink more coffee before
1225 doing release engineering
1227 - whoops, forgot to do the smolder tests,
1228 and we broke some of the custom meta-attr
1229 modules. This fixes that.
1231 0.42 Mon. April 28, 2008
1232 - some bad tests slipped by, nothing else
1233 changed in this release (cpantesters++)
1235 - upped the Class::MOP dependency to 0.55
1236 since we have tests which need the C3
1239 0.41 Mon. April 28, 2008
1240 ~~ numerous documentation updates ~~
1242 - Changed all usage of die to Carp::croak for better
1243 error reporting (initial patch by Tod Hagan)
1245 ** IMPORTANT NOTE **
1246 - the make_immutable keyword is now deprecated, don't
1247 use it in any new code and please fix your old code
1248 as well. There will be 2 releases, and then it will
1254 - refactored the way inner and super work to avoid
1255 any method/@ISA cache penalty (nothingmuch)
1257 * Moose::Meta::Class
1258 - fixing &new_object to make sure trigger gets the
1259 coerced value (spotted by Charles Alderman on the
1261 - added test for this
1263 * Moose::Meta::Method::Constructor
1264 - immutable classes which had non-lazy attributes were calling
1265 the default generating sub twice in the constructor. (bug
1266 found by Jesse Luehrs, fixed by Dave Rolsky)
1267 - added tests for this (Dave Rolsky)
1268 - fix typo in initialize_body method (nothingmuch)
1270 * Moose::Meta::Method::Destructor
1271 - fix typo in initialize_body method (nothingmuch)
1273 * Moose::Meta::Method::Overriden
1274 Moose::Meta::Method::Augmented
1275 - moved the logic for these into their own
1276 classes (nothingmuch)
1278 * Moose::Meta::Attribute
1279 - inherited attributes may now be extended without
1280 restriction on the type ('isa', 'does') (Sartak)
1281 - added tests for this (Sartak)
1282 - when an attribute property is malformed (such as lazy without
1283 a default), give the name of the attribute in the error
1285 - added the &applied_traits and &has_applied_traits methods
1286 to allow introspection of traits
1287 - added tests for this
1288 - moved 'trait' and 'metaclass' argument handling to here from
1290 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1291 '+foo' syntax) (nothingmuch)
1292 - added tests for this (t0m)
1295 - localize $@ inside DEMOLISHALL to avoid it
1296 eating $@ (found by Ernesto)
1297 - added test for this (thanks to Ernesto)
1299 * Moose::Util::TypeConstraints
1300 - &find_type_constraint now DWIMs when given an
1301 type constraint object or name (nothingmuch)
1302 - &find_or_create_type_constraint superseded with a number of more
1304 - find_or_create_{isa,does}_type_constraint
1305 - find_or_parse_type_constraint
1307 * Moose::Meta::TypeConstraint
1308 Moose::Meta::TypeConstraint::Class
1309 Moose::Meta::TypeConstraint::Role
1310 Moose::Meta::TypeConstraint::Enum
1311 Moose::Meta::TypeConstraint::Union
1312 Moose::Meta::TypeConstraint::Parameterized
1313 - added the &equals method for comparing two type
1314 constraints (nothingmuch)
1315 - added tests for this (nothingmuch)
1317 * Moose::Meta::TypeConstraint
1318 - add the &parents method, which is just an alias to &parent.
1319 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1321 * Moose::Meta::TypeConstraint::Class
1322 - added the class attribute for introspection purposes
1324 - added tests for this
1326 * Moose::Meta::TypeConstraint::Enum
1327 Moose::Meta::TypeConstraint::Role
1328 - broke these out into their own classes (nothingmuch)
1330 * Moose::Cookbook::Recipe*
1331 - fixed references to test file locations in the POD
1332 and updated up some text for new Moose features
1336 - Added &resolve_metaclass_alias, a helper function for finding an actual
1337 class for a short name (e.g. in the traits list)
1339 0.40 Fri. March 14, 2008
1340 - I hate Pod::Coverage
1342 0.39 Fri. March 14, 2008
1344 - documenting the use of '+name' with attributes
1345 that come from recently composed roles. It makes
1346 sense, people are using it, and so why not just
1347 officially support it.
1348 - fixing the 'extends' keyword so that it will not
1349 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1352 - added the perl -Moose=+Class::Name feature to allow
1353 monkeypatching of classes in one liners
1356 - fixing the 'apply_all_roles' keyword so that it will not
1357 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1359 * Moose::Meta::Class
1360 - added ->create method which now supports roles (thanks to jrockway)
1361 - added tests for this
1362 - added ->create_anon_class which now supports roles and caching of
1363 the results (thanks to jrockway)
1364 - added tests for this
1365 - made ->does_role a little more forgiving when it is
1366 checking a Class::MOP era metaclasses.
1368 * Moose::Meta::Role::Application::ToInstance
1369 - it is now possible to pass extra params to be used when
1370 a role is applied to an the instance (rebless_params)
1371 - added tests for this
1373 * Moose::Util::TypeConstraints
1374 - class_type now accepts an optional second argument for a
1375 custom message. POD anotated accordingly (groditi)
1376 - added tests for this
1377 - it is now possible to make anon-enums by passing 'enum' an
1378 ARRAY ref instead of the $name => @values. Everything else
1380 - added tests for this
1383 - making test for using '+name' on attributes consumed
1384 from a role, it works and makes sense too.
1386 * Moose::Meta::Attribute
1387 - fix handles so that it doesn't return nothing
1388 when the method cannot be found, not sure why
1389 it ever did this originally, this means we now
1390 have slightly better support for AUTOLOADed
1392 - added more delegation tests
1393 - adding ->does method to this so as to better
1394 support traits and their introspection.
1395 - added tests for this
1398 - localizing the Data::Dumper configurations so
1399 that it does not pollute others (RT #33509)
1400 - made ->does a little more forgiving when it is
1401 passed Class::MOP era metaclasses.
1403 0.38 Fri. Feb. 15, 2008
1404 * Moose::Meta::Attribute
1405 - fixed initializer to correctly do
1406 type checking and coercion in the
1408 - added tests for this
1411 - fixed some finicky tests (thanks to konobi)
1413 0.37 Thurs. Feb. 14, 2008
1415 - fixed some details in Moose::init_meta
1416 and its superclass handling (thanks thepler)
1417 - added tests for this (thanks thepler)
1418 - 'has' now dies if you don't pass in name
1420 - added the 'make_immutable' keyword as a shortcut
1423 * Moose::Meta::Class
1424 Moose::Meta::Method::Constructor
1425 Moose::Meta::Attribute
1426 - making (init_arg => undef) work here too
1427 (thanks to nothingmuch)
1429 * Moose::Meta::Attribute
1430 Moose::Meta::Method::Constructor
1431 Moose::Meta::Method::Accessor
1432 - make lazy attributes respect attr initializers (rjbs)
1433 - added tests for this
1435 * Moose::Util::TypeConstraints
1436 Moose::Util::TypeConstraints::OptimizedConstraints
1437 Moose::Meta::TypeConstraints
1438 Moose::Meta::Attribute
1439 Moose::Meta::Method::Constructor
1440 Moose::Meta::Method::Accessor
1441 - making type errors use the
1442 assigned message (thanks to Sartak)
1443 - added tests for this
1445 * Moose::Meta::Method::Destructor
1446 - making sure DESTROY gets inlined properly
1447 with successive DEMOLISH calls (thanks to manito)
1449 * Moose::Meta::Attribute
1450 Moose::Meta::Method::Accessor
1451 - fixed handling of undef with type constraints
1453 - added tests for this
1456 - added &get_all_init_args and &get_all_attribute_values
1457 (thanks to Sartak and nothingmuch)
1459 0.36 Sat. Jan. 26, 2008
1461 Moose::Meta::Attribute
1462 - role type tests now support when roles are
1463 applied to non-Moose classes (found by ash)
1464 - added tests for this (thanks to ash)
1465 - couple extra tests to boost code coverage
1467 * Moose::Meta::Method::Constructor
1468 - improved fix for handling Class::MOP attributes
1469 - added test for this
1471 * Moose::Meta::Class
1472 - handled the add_attribute($attribute_meta_object)
1474 - added test for this
1476 0.35 Tues. Jan. 22, 2008
1477 * Moose::Meta::Method::Constructor
1478 - fix to make sure even Class::MOP attributes
1479 are handled correctly (Thanks to Dave Rolsky)
1480 - added test for this (also Dave Rolsky)
1482 * Moose::Meta::Class
1483 - improved error message on _apply_all_roles,
1484 you should now use Moose::Util::apply_all_roles
1485 and you shouldnt have been using a _ prefixed
1486 method in the first place ;)
1488 0.34 Mon. Jan. 21, 2008
1489 ~~~ more misc. doc. fixes ~~~
1490 ~~ updated copyright dates ~~
1492 Moose is now a postmodern object system :)
1493 - (see the POD for details)
1495 * <<Role System Refactoring>>
1496 - this release contains a major reworking and
1497 cleanup of the role system
1498 - 100% backwards compat.
1499 - Role application now restructured into seperate
1500 classes based on type of applicants
1501 - Role summation (combining of more than one role)
1502 is much cleaner and anon-classes are no longer
1503 used in this process
1504 - new Composite role metaclass
1505 - runtime application of roles to instances
1506 is now more efficient and re-uses generated
1507 classes when applicable
1509 * <<New Role composition features>>
1510 - methods can now be excluded from a given role
1512 - methods can now be aliased to another name (and
1513 still retain the original as well)
1515 * Moose::Util::TypeConstraints::OptimizedConstraints
1516 - added this module (see above)
1518 * Moose::Meta::Class
1519 - fixed the &_process_attribute method to be called
1520 by &add_attribute, so that the API is now correct
1522 * Moose::Meta::Method::Accessor
1523 - fixed bug when passing a list of values to
1524 an accessor would get (incorrectly) ignored.
1525 Thanks to Sartak for finding this ;)
1526 - added tests for this (Sartak again)
1528 * Moose::Meta::Method::Accessor
1529 Moose::Meta::Method::Constructor
1530 Moose::Meta::Attribute
1531 Moose::Meta::TypeConstraint
1532 Moose::Meta::TypeCoercion
1533 - lots of cleanup of such things as:
1535 - type constraint handling
1536 - error handling/messages
1537 (thanks to nothingmuch)
1539 * Moose::Meta::TypeConstraint::Parameterizable
1540 - added this module to support the refactor
1541 in Moose::Meta::TypeConstraint::Parameterized
1543 * Moose::Meta::TypeConstraint::Parameterized
1544 - refactored how these types are handled so they
1545 are more generic and not confined to ArrayRef
1549 - shortened some file names for better VMS support (RT #32381)
1551 0.33 Fri. Dec. 14, 2007
1552 !! Moose now loads 2 x faster !!
1553 !! with new Class::MOP 0.49 !!
1555 ++ new oose.pm module to make command line
1556 Moose-ness easier (see POD docs for more)
1558 * Moose::Meta::Class
1560 - several tweaks to take advantage of the
1561 new method map caching in Class::MOP
1563 * Moose::Meta::TypeConstraint::Parameterized
1564 - allow subtypes of ArrayRef and HashRef to
1565 be used as a container (sartak)
1566 - added tests for this
1567 - basic support for coercion to ArrayRef and
1568 HashRef for containers (sartak)
1569 - added tests for this
1571 * Moose::Meta::TypeCoercion
1572 - coercions will now create subtypes as needed
1573 so you can now add coercions to parameterized
1574 types without having to explictly define them
1575 - added tests for this
1577 * Moose::Meta::Method::Accessor
1578 - allow subclasses to decide whether we need
1579 to copy the value into a new variable (sartak)
1581 0.32 Tues. Dec. 4, 2007
1582 * Moose::Util::TypeConstraints
1583 - fixing how subtype aliases of unions work
1584 they should inherit the parent's coercion
1585 - added tests for this
1586 - you can now define multiple coercions on
1587 a single type at different times instead of
1588 having to do it all in one place
1589 - added tests for this
1591 * Moose::Meta::TypeConstraint
1592 - there is now a default constraint of sub { 1 }
1593 instead of Moose::Util::TypeConstraints setting
1596 * Moose::Meta::TypeCoercion
1597 * Moose::Meta::TypeCoercion::Union
1598 - added the &has_coercion_for_type and
1599 &add_type_coercions methods to support the
1600 new features above (although you cannot add
1601 more type coercions for Union types)
1603 0.31 Mon. Nov. 26, 2007
1604 * Moose::Meta::Attribute
1605 - made the +attr syntax handle extending types with
1606 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1607 now works if the original foo is an ArrayRef.
1608 - added tests for this.
1609 - delegation now works even if the attribute does not
1610 have a reader method using the get_read_method_ref
1611 method from Class::MOP::Attribute.
1612 - added tests for this
1613 - added docs for this
1615 * Moose::Util::TypeConstraints
1616 - passing no "additional attribute info" to
1617 &find_or_create_type_constraint will no longer
1618 attempt to create an __ANON__ type for you,
1619 instead it will just return undef.
1620 - added docs for this
1622 0.30 Fri. Nov. 23, 2007
1623 * Moose::Meta::Method::Constructor
1624 -builder related bug in inlined constructor. (groditi)
1626 * Moose::Meta::Method::Accessor
1627 - genereate unnecessary calls to predicates and refactor
1628 code generation for runtime speed (groditi)
1630 * Moose::Util::TypeConstraints
1631 - fix ClassName constraint to introspect symbol table (mst)
1632 - added more tests for this (mst)
1633 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1634 with work correctly.
1635 - added tests for this
1638 - adding the link to Recipie 11 (written by Sartak)
1639 - adding test for SYNOPSIS code
1642 - New tests for builder bug. Upon instantiation, if an
1643 attribute had a builder, no value and was not lazy the
1644 builder default was not getting run, oops. (groditi)
1646 0.29 Tues. Nov. 13, 2007
1647 * Moose::Meta::Attribute
1648 - Fix error message on missing builder method (groditi)
1650 * Moose::Meta::Method::Accessor
1651 - Fix error message on missing builder method (groditi)
1654 - Add test to check for the correct error message when
1655 builder method is missing (groditi)
1657 0.28 Tues. Nov. 13, 2007
1658 - 0.27 packaged incorrectly (groditi)
1660 0.27 Tues. Nov. 13, 2007
1661 * Moose::Meta::Attribute
1662 - Added support for the new builder option (groditi)
1663 - Added support for lazy_build option (groditi)
1664 - Changed slot initialization for predicate changes (groditi)
1666 * Moose::Meta::Method::Accessor
1667 - Added support for lazy_build option (groditi)
1668 - Fix inline methods to work with corrected predicate
1671 * Moose::Meta::Method::Constructor
1672 - Added support for lazy_build option (groditi)
1675 - tests for builder and lazy_build (groditi)
1677 * fixing some misc. bits in the docs that
1678 got mentioned on CPAN Forum & perlmonks
1681 - fixed how required methods are handled
1682 when they encounter overriden or modified
1683 methods from a class (thanks to confound).
1684 - added tests for this
1686 * Moose::Util::TypeConstraint
1687 - fixed the type notation parser so that
1688 the | always creates a union and so is
1689 no longer a valid type char (thanks to
1690 konobi, mugwump and #moose for working
1692 - added more tests for this
1694 0.26 Thurs. Sept. 27, 2007
1697 * Parameterized Types
1698 We now support parameterized collection types, such as:
1699 ArrayRef[Int] # array or integers
1700 HashRef[Object] # a hash with object values
1701 They can also be nested:
1702 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1703 And work with the type unions as well:
1704 ArrayRef[Int | Str] # array of integers of strings
1706 * Better Framework Extendability
1707 Moose.pm is now "extendable" such that it is now much
1708 easier to extend the framework and add your own keywords
1709 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1710 section of the Moose.pm docs.
1713 In an effort to begin documenting some of the various
1714 details of Moose as well as some common idioms, we have
1715 created Moose::Cookbook::Snacks as a place to find
1716 small (easily digestable) nuggets of Moose code.
1719 ~ Several doc updates/cleanup thanks to castaway ~
1721 - converted build system to use Module::Install instead of
1722 Module::Build (thanks to jrockway)
1725 - added all the meta classes to the immutable list and
1726 set it to inline the accessors
1727 - fix import to allow Sub::Exporter like { into => }
1728 and { into_level => } (perigrin)
1729 - exposed and documented init_meta() to allow better
1730 embedding and extending of Moose (perigrin)
1733 - complete re-organization of the test suite
1734 - added some new tests as well
1735 - finally re-enabled the Moose::POOP test since
1736 the new version of DBM::Deep now works again
1739 * Moose::Meta::Class
1740 - fixed very odd and very nasty recursion bug with
1742 - added tests for this (eilara)
1744 * Moose::Meta::Attribute
1745 Moose::Meta::Method::Constructor
1746 Moose::Meta::Method::Accessor
1747 - fixed issue with overload::Overloaded getting called
1748 on non-blessed items. (RT #29269)
1749 - added tests for this
1751 * Moose::Meta::Method::Accessor
1752 - fixed issue with generated accessor code making
1753 assumptions about hash based classes (thanks to dexter)
1755 * Moose::Coookbook::Snacks
1756 - these are bits of documentation, not quite as big as
1757 Recipes but which have no clear place in the module docs.
1758 So they are Snacks! (horray for castaway++)
1760 * Moose::Cookbook::Recipe4
1761 - updated it to use the new ArrayRef[MyType] construct
1762 - updated the accompanying test as well
1764 +++ Major Refactor of the Type Constraint system +++
1765 +++ with new features added as well +++
1767 * Moose::Util::TypeConstraint
1768 - no longer uses package variable to keep track of
1769 the type constraints, now uses the an instance of
1770 Moose::Meta::TypeConstraint::Registry to do it
1771 - added more sophisticated type notation parsing
1773 - added tests for this
1775 * Moose::Meta::TypeConstraint
1776 - some minor adjustments to make subclassing easier
1777 - added the package_defined_in attribute so that we
1778 can track where the type constraints are created
1780 * Moose::Meta::TypeConstraint::Union
1781 - this is now been refactored to be a subclass of
1782 Moose::Meta::TypeConstraint
1784 * Moose::Meta::TypeCoercion::Union
1785 - this has been added to service the newly refactored
1786 Moose::Meta::TypeConstraint::Union and is itself
1787 a subclass of Moose::Meta::TypeCoercion
1789 * Moose::Meta::TypeConstraint::Parameterized
1790 - added this module (taken from MooseX::AttributeHelpers)
1791 to help construct nested collection types
1792 - added tests for this
1794 * Moose::Meta::TypeConstraint::Registry
1795 - added this class to keep track of type constraints
1797 0.25 Mon. Aug. 13, 2007
1799 - Documentation update to reference Moose::Util::TypeConstraints
1800 under 'isa' in 'has' for how to define a new type
1801 (thanks to shlomif).
1803 * Moose::Meta::Attribute
1804 - required attributes now will no longer accept undef
1805 from the constructor, even if there is a default and lazy
1806 - added tests for this
1807 - default subroutines must return a value which passes the
1809 - added tests for this
1811 * Moose::Meta::Attribute
1812 * Moose::Meta::Method::Constructor
1813 * Moose::Meta::Method::Accessor
1814 - type-constraint tests now handle overloaded objects correctly
1815 in the error message
1816 - added tests for this (thanks to EvanCarroll)
1818 * Moose::Meta::TypeConstraint::Union
1819 - added (has_)hand_optimized_constraint to this class so that
1820 it behaves as the regular Moose::Meta::TypeConstraint does.
1823 - large refactoring of this code
1824 - added several more tests
1825 - tests for subtle conflict resolition issues
1826 added, but not currently running
1829 * Moose::Cookbook::Recipe7
1830 - added new recipe for augment/inner functionality
1832 - added test for this
1835 - a formal definition of roles (still in progress)
1838 - utilities for easier working with Moose classes
1839 - added tests for these
1842 - This contains Moose specific test functions
1843 - added tests for these
1845 0.24 Tues. July 3, 2007
1846 ~ Some doc updates/cleanup ~
1848 * Moose::Meta::Attribute
1849 - added support for roles to be given as parameters
1850 to the 'handles' option.
1851 - added tests and docs for this
1852 - the has '+foo' attribute form now accepts changes to
1853 the lazy option, and the addition of a handles option
1854 (but not changing the handles option)
1855 - added tests and docs for this
1858 - required methods are now fetched using find_method_by_name
1859 so that required methods can come from superclasses
1860 - adjusted tests for this
1862 0.23 Mon. June 18, 2007
1863 * Moose::Meta::Method::Constructor
1864 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1865 * Moose::Meta::Class
1866 - Modify make_immutable to work with the new Class::MOP immutable
1867 mechanism + POD + very basic test (groditi)
1868 * Moose::Meta::Attribute
1869 - Fix handles to use goto() so that caller() comes out properly on
1870 the other side (perigrin)
1872 0.22 Thurs. May 31, 2007
1873 * Moose::Util::TypeConstraints
1874 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1875 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1876 prototypes for functions
1877 - added the ClassName type constraint, this checks for strings
1878 which will respond true to ->isa(UNIVERSAL).
1879 - added tests and docs for this
1880 - subtyping just in name now works correctly by making the
1881 default for where be { 1 }
1882 - added test for this
1884 * Moose::Meta::Method::Accessor
1885 - coerce and lazy now work together correctly, thanks to
1886 merlyn for finding this bug
1887 - tests added for this
1888 - fix reader presedence bug in Moose::Meta::Attribute + tests
1891 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1892 a HASH-ref and missed. This produces better error messages then
1893 having it die cause undef is not a HASH.
1894 - added tests for this
1896 0.21 Thursday, May 2nd, 2007
1898 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1899 - modified unimport to remove super and inner along with the rest
1900 - altered unimport tests to handle this
1903 - altered super export to populate SUPER_SLOT
1905 * Moose::Meta::Class
1906 - altered augment and override modifier application to use *_SLOT
1907 - modified tests for these to unimport one test class each to test
1910 - fixed issue where custom attribute metaclasses
1911 where not handled correctly in roles
1912 - added tests for this
1914 * Moose::Meta::Class
1915 - fixed issue where extending metaclasses with
1916 roles would blow up. Thanks to Aankhen`` for
1917 finding this insidious error, and it's solution.
1919 ~~ lots of spelling and grammer fixes in the docs,
1920 many many thanks to rlb3 and Aankhen for these :)
1922 0.20 Friday, April 6th, 2007
1923 >> I messed up the SKIP logic in one test
1924 so this release is just to fix that.
1927 - 'has' now also accepts an ARRAY ref
1928 to create multiple attrs (see docs)
1929 (thanks to konobi for this)
1930 - added tests and docs
1932 0.19 Thurs. April 5th, 2007
1933 ~~ More documentation updates ~~
1935 * Moose::Util::TypeConstraints
1936 - 'type' now supports messages as well
1937 thanks to phaylon for finding this
1938 - added tests for this
1939 - added &list_all_type_constraints and
1940 &list_all_builtin_type_constraints
1941 functions to facilitate introspection.
1943 * Moose::Meta::Attribute
1944 - fixed regexp 'handles' declarations
1945 to build the list of delegated methods
1946 correctly (and not override important
1947 things like &new) thanks to ashleyb
1949 - added tests and docs for this
1950 - added the 'documentation' attributes
1951 so that you can actually document your
1952 attributes and inspect them through the
1954 - added tests and docs for this
1956 * Moose::Meta::Class
1957 - when loading custom attribute metaclasses
1958 it will first look in for the class in the
1959 Moose::Meta::Attribute::Custom::$name, and
1960 then default to just loading $name.
1961 - added tests and docs for this
1963 * Moose::Meta::TypeConstraint
1964 - type constraints now stringify to their names.
1965 - added test for this
1968 - added tests to assure we work with Module::Refresh
1969 - added stricter test skip logic in the Moose POOP
1970 test, ask Rob Kinyon why.
1971 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1973 0.18 Sat. March 10, 2007
1974 ~~ Many, many documentation updates ~~
1977 - We now use Class::MOP::load_class to
1979 - added tests to show types and subtypes
1980 working with Declare::Constraints::Simple
1981 and Test::Deep as constraint engines.
1984 !! You must have Class::MOP 0.37_001 !!
1985 !! for this developer release to work !!
1987 This release was primarily adding the immutable
1988 feature to Moose. An immutable class is one which
1989 you promise not to alter. When you set the class
1990 as immutable it will perform various bits of
1991 memoization and inline certain part of the code
1992 (constructors, destructors and accessors). This
1993 minimizes (and in some cases totally eliminates)
1994 one of Moose's biggest performance hits. This
1995 feature is not on by default, and is 100% optional.
1996 It has several configurable bits as well, so you
1997 can pick and choose to your specific needs.
1999 The changes involved in this were fairly wide and
2000 highly specific, but 100% backwards compatible, so
2001 I am not going to enumerate them here. If you are
2002 truely interested in what was changed, please do
2005 0.17 Tues. Nov. 14, 2006
2006 * Moose::Meta::Method::Accessor
2007 - bugfix for read-only accessors which
2008 are have a type constraint and lazy.
2009 Thanks to chansen for finding it.
2011 0.16 Tues. Nov. 14, 2006
2013 There are some speed improvements in this release,
2014 but they are only the begining, so stay tuned.
2017 - BUILDALL and DEMOLISHALL no longer get
2018 called unless they actually need to be.
2019 This gave us a signifigant speed boost
2020 for the cases when there is no BUILD or
2021 DEMOLISH method present.
2023 * Moose::Util::TypeConstraints
2024 * Moose::Meta::TypeConstraint
2025 - added an 'optimize_as' option to the
2026 type constraint, which allows for a
2027 hand optimized version of the type
2028 constraint to be used when possible.
2029 - Any internally created type constraints
2030 now provide an optimized version as well.
2032 0.15 Sun. Nov. 5, 2006
2034 This version of Moose *must* have Class::MOP 0.36 in order
2035 to work correctly. A number of small internal tweaks have
2036 been made in order to be compatible with that release.
2038 * Moose::Util::TypeConstraints
2039 - added &unimport so that you can clean out
2040 your class namespace of these exported
2043 * Moose::Meta::Class
2044 - fixed minor issue which occasionally
2045 comes up during global destruction
2047 - moved Moose::Meta::Method::Overriden into
2051 - moved Moose::Meta::Role::Method into
2054 * Moose::Meta::Attribute
2055 - changed how we do type checks so that
2056 we reduce the overall cost, but still
2059 - moved accessor generation methods to
2060 Moose::Meta::Method::Accessor to
2061 conform to the API changes from
2064 * Moose::Meta::TypeConstraint
2065 - changed how constraints are compiled
2066 so that we do less recursion and more
2067 iteration. This makes the type check
2069 - moved Moose::Meta::TypeConstraint::Union
2072 * Moose::Meta::Method::Accessor
2073 - created this from methods formerly found in
2074 Moose::Meta::Attribute
2076 * Moose::Meta::Role::Method
2077 - moved this from Moose::Meta::Role
2079 * Moose::Meta::Method::Overriden
2080 - moved this from Moose::Meta::Class
2082 * Moose::Meta::TypeConstraint::Union
2083 - moved this from Moose::Meta::TypeConstraint
2085 0.14 Mon. Oct. 9, 2006
2087 * Moose::Meta::Attribute
2088 - fixed lazy attributes which were not getting
2089 checked with the type constraint (thanks ashley)
2090 - added tests for this
2091 - removed the over-enthusiastic DWIMery of the
2092 automatic ArrayRef and HashRef defaults, it
2093 broke predicates in an ugly way.
2094 - removed tests for this
2096 0.13 Sat. Sept. 30, 2006
2098 This version of Moose *must* have Class::MOP 0.35 in order
2099 to work correctly. A number of small internal tweaks have
2100 been made in order to be compatible with that release.
2103 - Removed the use of UNIVERSAL::require to be a better
2104 symbol table citizen and remove a dependency
2105 (thanks Adam Kennedy)
2107 **~~ removed experimental & undocumented feature ~~**
2108 - commented out the 'method' and 'self' keywords, see the
2109 comments for more info.
2112 - added a FAQ and WTF files to document frequently
2113 asked questions and common problems
2115 * Moose::Util::TypeConstraints
2116 - added GlobRef and FileHandle type constraint
2117 - added tests for this
2119 * Moose::Meta::Attribute
2120 - if your attribute 'isa' ArrayRef of HashRef, and you have
2121 not explicitly set a default, then make the default DWIM.
2122 This will also work for subtypes of ArrayRef and HashRef
2124 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2125 - new test added for this (thanks to ashley)
2128 - added basic support for runtime role composition
2129 but this is still *highly experimental*, so feedback
2130 is much appreciated :)
2131 - added tests for this
2133 * Moose::Meta::TypeConstraint
2134 - the type constraint now handles the coercion process
2135 through delegation, this is to support the coercion
2138 * Moose::Meta::TypeConstraint::Union
2139 - it is now possible for coercions to be performed
2141 - added tests for this (thanks to konobi)
2143 * Moose::Meta::TypeCoercion
2144 - properly capturing error when type constraint
2148 - Scalar::Util 1.18 is bad on Win32, so temporarily
2149 only require version 1.17 for Win32 and cygwin.
2150 (thanks Adam Kennedy)
2152 0.12 Sat. Sept. 1, 2006
2154 - Recipe5 (subtypes & coercion) has been written
2157 - fixed "bad meta" error message to be more descriptive
2158 - fixed &unimport to not remove the &inner and &super
2159 keywords because we need to localize them.
2160 - fixed number of spelling/grammer issues, thanks Theory :)
2162 **~~ experimental & undocumented feature ~~**
2163 - added the method and self keywords, they are basically
2164 just sugar, and they may not stay around.
2167 - added &dump method to easily Data::Dumper
2170 * Moose::Meta::TypeConstraint
2171 - added the &is_a_type_of method to check both the current
2172 and the subtype of a method (similar to &isa with classes)
2175 - this is now a subclass of Class::MOP::Module, and no longer
2176 creates the _role_meta ugliness of before.
2177 - fixed tests to reflect this change
2179 0.11 Wed. July 12, 2006
2181 - added an &unimport method to remove all the keywords
2182 that Moose will import, simply add 'no Moose' to the
2183 bottom of your class file.
2186 - fixed some test failures caused by a forgotten test
2189 0.10 Thurs. July 6, 2006
2191 - improved error message when loading modules so
2192 it is less confusing when you load a role.
2193 - added &calculate_all_roles method to
2194 Moose::Meta::Class and Moose::Meta::Role
2197 This module has been tested against Class::MOP 0.30
2198 but it does not yet utilize the optimizations
2199 it makes available. Stay tuned for that ;)
2201 0.09_03 Fri. June 23, 2006
2202 ++ DEVELOPER RELEASE ++
2204 - 'use strict' and 'use warnings' are no longer
2205 needed in Moose classes, Moose itself will
2206 turn them on for you.
2207 - added tests for this
2208 - moved code from exported subs to private methods
2209 in Moose::Meta::Class
2212 - as with Moose, strict and warnings are
2213 automatically turned on for you.
2214 - added tests for this
2217 - now handles an edge case for override errors
2218 - added tests for this
2219 - added some more edge case tests
2221 0.09_02 Tues. May 16, 2006
2222 ++ DEVELOPER RELEASE ++
2224 - added prototypes to the exported subs
2228 - added prototypes to the exported subs
2231 * Moose::Util::TypeConstraints
2232 - cleaned up prototypes for the subs
2235 0.09_01 Fri. May 12, 2006
2236 ++ DEVELOPER RELEASE ++
2237 - This release works in combination with
2238 Class::MOP 0.29_01, it is a developer
2239 release because it uses the a new
2240 instance sub-protocol and a fairly
2241 complete Role implementation. It has
2242 not yet been optimized, so it slower
2243 the the previous CPAN version. This
2244 release also lacks good updated docs,
2245 the official release will have updated docs.
2248 - refactored the keyword exports
2249 - 'with' now checks Role validaity and
2250 accepts more than one Role at a time
2251 - 'extends' makes metaclass adjustments as
2252 needed to ensure metaclass compatibility
2255 - refactored the keyword exports
2256 - 'with' now checks Role validaity and
2257 accepts more than one Role at a time
2259 * Moose::Util::TypeConstraints
2260 - added the 'enum' keyword for simple
2261 string enumerations which can be used as
2263 - see example of usage in t/202_example.t
2266 - more careful checking of params to new()
2269 - much work done on the role composition
2270 - many new tests for conflict detection
2271 and composition edge cases
2272 - not enough documentation, I suggest
2273 looking at the tests
2275 * Moose::Meta::Instance
2276 - added new Instance metaclass to support
2277 the new Class::MOP instance protocol
2279 * Moose::Meta::Class
2280 - some small changes to support the new
2282 - some small additions to support Roles
2284 * Moose::Meta::Attribute
2285 - some improvements to the accessor generation code
2287 - some small changes to support the new
2289 - (still somewhat) experimental delegation support
2290 with the 'handles' option
2291 - added several tests for this
2292 - no docs for this yet
2294 0.05 Thurs. April 27, 2006
2296 - keywords are now exported with Sub::Exporter
2297 thanks to chansen for this commit
2298 - has keyword now takes a 'metaclass' option
2299 to support custom attribute meta-classes
2300 on a per-attribute basis
2301 - added tests for this
2302 - the 'has' keyword not accepts inherited slot
2303 specifications (has '+foo'). This is still an
2304 experimental feature and probably not finished
2305 see t/038_attribute_inherited_slot_specs.t for
2306 more details, or ask about it on #moose
2307 - added tests for this
2310 - keywords are now exported with Sub::Exporter
2312 * Moose::Utils::TypeConstraints
2313 - reorganized the type constraint hierarchy, thanks
2314 to nothingmuch and chansen for his help and advice
2316 - added some tests for this
2317 - keywords are now exported with Sub::Exporter
2318 thanks to chansen for this commit
2320 * Moose::Meta::Class
2321 - due to changes in Class::MOP, we had to change
2322 construct_instance (for the better)
2324 * Moose::Meta::Attribute
2325 - due to changes in Class::MOP, we had to add the
2326 initialize_instance_slot method (it's a good thing)
2328 * Moose::Meta::TypeConstraint
2329 - added type constraint unions
2330 - added tests for this
2331 - added the is_subtype_of predicate method
2332 - added tests for this
2334 0.04 Sun. April 16th, 2006
2336 - Roles can now consume other roles
2337 - added tests for this
2338 - Roles can specify required methods now with
2339 the requires() keyword
2340 - added tests for this
2343 - ripped out much of it's guts ,.. much cleaner now
2344 - added required methods and correct handling of
2345 them in apply() for both classes and roles
2346 - added tests for this
2347 - no longer adds a does() method to consuming classes
2348 it relys on the one in Moose::Object
2349 - added roles attribute and some methods to support
2350 roles consuming roles
2352 * Moose::Meta::Attribute
2353 - added support for triggers on attributes
2354 - added tests for this
2355 - added support for does option on an attribute
2356 - added tests for this
2358 * Moose::Meta::Class
2359 - added support for attribute triggers in the
2361 - added tests for this
2364 - Moose no longer creates a subtype for your class
2365 if a subtype of the same name already exists, this
2366 should DWIM in 99.9999% of all cases
2368 * Moose::Util::TypeConstraints
2369 - fixed bug where incorrect subtype conflicts were
2371 - added test for this
2374 - this class can now be extended with 'use base' if
2375 you need it, it properly loads the metaclass class now
2376 - added test for this
2378 0.03_02 Wed. April 12, 2006
2380 - you must now explictly use Moose::Util::TypeConstraints
2381 it no longer gets exported for you automatically
2384 - new() now accepts hash-refs as well as key/value lists
2385 - added does() method to check for Roles
2386 - added tests for this
2388 * Moose::Meta::Class
2389 - added roles attribute along with the add_role() and
2391 - added tests for this
2394 - now adds a does() method to consuming classes
2395 which tests the class's hierarchy for roles
2396 - added tests for this
2398 0.03_01 Mon. April 10, 2006
2400 - added new Role recipe (no content yet, only code)
2403 - added 'with' keyword for Role support
2404 - added test and docs for this
2405 - fixed subtype quoting bug
2406 - added test for this
2410 - added test and docs
2412 * Moose::Util::TypeConstraints
2413 - added the message keyword to add custom
2414 error messages to type constraints
2417 - the meta role to support Moose::Role
2418 - added tests and docs
2420 * Moose::Meta::Class
2421 - moved a number of things from Moose.pm
2422 to here, they should have been here
2425 * Moose::Meta::Attribute
2426 - moved the attribute option macros here
2427 instead of putting them in Moose.pm
2429 * Moose::Meta::TypeConstraint
2430 - added the message attributes and the
2432 - added tests and docs for this
2434 0.03 Thurs. March 30, 2006
2436 - added the Moose::Cookbook with 5 recipes,
2437 describing all the stuff Moose can do.
2440 - fixed an issue with &extends super class loading
2441 it now captures errors and deals with inline
2442 packages correctly (bug found by mst, solution
2444 - added super/override & inner/augment features
2445 - added tests and docs for these
2448 - BUILDALL now takes a reference of the %params
2449 that are passed to &new, and passes that to
2452 * Moose::Util::TypeConstraints
2453 - Type constraints now survive runtime reloading
2454 - added test for this
2456 * Moose::Meta::Class
2457 - fixed the way attribute defaults are handled
2458 during instance construction (bug found by chansen)
2460 * Moose::Meta::Attribute
2461 - read-only attributes now actually enforce their
2462 read-only-ness (this corrected in Class::MOP as
2465 0.02 Tues. March 21, 2006
2467 - many more tests, fixing some bugs and
2469 - &extends now loads the base module with
2471 - added UNIVERSAL::require to the
2474 - each new Moose class will also create
2475 and register a subtype of Object which
2476 correspond to the new Moose class.
2477 - the 'isa' option in &has now only
2478 accepts strings, and will DWIM in
2481 * Moose::Util::TypeConstraints
2482 - added type coercion features
2483 - added tests for this
2484 - added support for this in attributes
2485 and instance construction
2487 - type construction no longer creates a
2488 function, it registers the type instead.
2489 - added several functions to get the
2493 - BUILDALL and DEMOLISHALL were broken
2494 because of a mis-named hash key, Whoops :)
2496 * Moose::Meta::Attribute
2497 - adding support for coercion in the
2498 autogenerated accessors
2500 * Moose::Meta::Class
2501 - adding support for coercion in the
2502 instance construction
2504 * Moose::Meta::TypeConstraint
2505 * Moose::Meta::TypeCoercion
2506 - type constraints and coercions are now
2507 full fledges meta-objects
2509 0.01 Wed. March 15, 2006
2510 - Moooooooooooooooooose!!!