1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
6 - Make Moose::Exporter import strict and warnings into packages
11 - Add explicit use of Devel::GlobalDestruction and Sub::Name
15 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
16 or not we are currently in global destruction (doy)
17 - Add explicit use of Devel::GlobalDestruction and Sub::Name
20 * Moose::Cookbook::FAQ
21 - Reworked much of the existing content to be more useful to
22 modern Moose hackers (Sartak)
25 - Depend on Class::MOP 0.83 instead of 0.82_01. It seems that if
26 we use a dev version number there CPAN.pm will not follow the
29 0.76 Mon, April 27, 2009
30 * Moose::Meta::TypeConstraint
31 - Do not run coercions in coerce() if the value already passes the type
34 * Moose::Meta::TypeConstraint::Class
35 - In validation error messages, specifically say that the value is not
36 an instance of the class. This should alleviate some frustrating
37 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
39 * Moose::Meta::Role::Application::ToClass
40 - Revert the class-overrides-role warning in favor of a solution outside
41 of the Moose core (Sartak)
44 - Make Test::Output optional again, since it's only used in a few files
47 0.75_01 Thu, April 23, 2009
48 * Moose::Meta::Role::Application::ToClass
49 - Moose now warns about each class overriding methods from roles it
53 - Warnings tests have standardized on Test::Output which is now an
54 unconditionally dependency (Sartak)
57 - Changes to immutabilization to work with Class::MOP 0.82_01+.
59 0.75 Mon, April 20, 2009
62 - Move validation of not inheriting from roles from Moose::extends to
63 Moose::Meta::Class::superclasses (doy)
66 - add ensure_all_roles() function to encapsulate the common "apply this
67 role unless the object already does it" pattern (hdp)
70 - Users can now select a different metaclass with the "-metaclass"
71 option to import, for classes and roles (Sartak)
74 - Make method_metaclass an attr so that it can accept a metarole
77 0.74 Tue, April 7, 2009
79 * Moose::Meta::Method::Destructor
80 - Include stack traces in the deprecation warnings.
84 - Removed the long-deprecated _apply_all_roles method.
86 * Moose::Meta::TypeConstraint
87 - Removed the long-deprecated union method.
90 0.73_02 Mon, April 6, 2009
91 * More deprecations and renamings
92 - Moose::Meta::Method::Constructor
93 - initialize_body => _initialize_body (this is always called
94 when an object is constructed)
97 - The DEMOLISHALL method could throw an exception during global
98 destruction, meaning that your class's DEMOLISH methods would
99 not be properly called. Reported by t0m.
101 * Moose::Meta::Method::Destructor
102 - Destructor inlining was totally broken by the change to the
103 is_needed method in 0.72_01. Now there is a test for this
104 feature, and it works again.
107 - Bold the word 'not' in the POD for find_meta (t0m)
109 0.73_01 Sun, April 5, 2009
111 - Call user_class->meta in fewer places, with the eventual goal
112 of allowing the user to rename or exclude ->meta
113 altogether. Instead uses Class::MOP::class_of. (Sartak)
115 * Moose::Meta::Method::Accessor
116 - If an attribute had a lazy default, and that value did not
117 pass the attribute's type constraint, it did not get the
118 message from the type constraint, instead using a generic
119 message. Test provided by perigrin.
121 * Moose::Util::TypeConstraints
122 - Add duck_type keyword. It's sugar over making sure an object
123 can() a list of methods. This is easier than jrockway's
124 suggestion to fork all of CPAN. (perigrin)
125 - add tests and documentation (perigrin)
128 - Document the fact that init_meta() returns the target class's
129 metaclass object. (hdp)
131 * Moose::Cookbook::Extending::Recipe1
132 * Moose::Cookbook::Extending::Recipe2
133 * Moose::Cookbook::Extending::Recipe3
134 * Moose::Cookbook::Extending::Recipe4
135 - Make init_meta() examples explicitly return the metaclass and
136 point out this fact. (hdp)
138 * Moose::Cookbook::Basics::Recipe12
139 - A new recipe, creating a custom meta-method class.
141 * Moose::Cookbook::Meta::Recipe6
142 - A new recipe, creating a custom meta-method class.
145 * Moose::Meta::Method::Constructor
146 - Attribute triggers no longer receive the meta-attribute object
147 as an argument in any circumstance. Previously, triggers
148 called during instance construction were passed the
149 meta-attribute, but triggers called by normal accessors were
150 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
152 * Moose::Manual::Attributes
153 - Remove references to triggers receving the meta-attribute object as an
156 * Moose::Cookbook::FAQ
157 - Remove recommendation for deprecated Moose::Policy and
158 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
161 * Many methods have been renamed with a leading underscore, and a
162 few have been deprecated entirely. The methods with a leading
163 underscore are consider "internals only". People writing
164 subclasses or extensions to Moose should feel free to override
165 them, but they are not for "public" use.
168 - check_metaclass_compatibility => _check_metaclass_compatibility
170 - Moose::Meta::Method::Accessor
171 - initialize_body => _initialize_body (this is always called
172 when an object is constructed)
173 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
175 - Moose::Meta::Method::Constructor
176 - initialize_body => _initialize_body (this is always called
177 when an object is constructed)
178 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
179 - attributes => _attributes (now inherited from parent)
180 - meta_instance => _meta_instance (now inherited from parent)
183 - alias_method is deprecated. Use add_method
185 0.73 Fri, March 29, 2009
186 * No changes from 0.72_01.
188 0.72_01 Thu, March 26, 2009
190 - Almost every module has complete API documentation. A few
191 methods (and even whole classes) have been intentionally
192 excluded pending some rethinking of their APIs.
194 * Moose::Util::TypeConstraints
195 - Calling subtype with a name as the only argument is now an
196 exception. If you want an anonymous subtype do:
198 my $subtype = subtype as 'Foo';
200 * Moose::Cookbook::Meta::Recipe7
201 - A new recipe, creating a custom meta-instance class.
203 * Moose::Cookbook::Basics::Recipe5
204 - Fix various typos and mistakes. Includes a patch from Radu
207 * Moose::Cookbook::Basics::Recipe9
208 - Link to this recipe from Moose.pm's builder blurb
211 - When wrapping a function with a prototype, Moose::Exporter now
212 makes sure the wrapped function still has the same
213 prototype. (Daisuke Maki)
215 * Moose::Meta::Attribute
216 - Allow a subclass to set lazy_build for an inherited
220 - Explicitly depend on Data::OptList. We already had this dependency
221 via Sub::Exporter, but since we're using it directly we're
222 better off with it listed. (Sartak)
224 * Moose::Meta::Method::Constructor
225 - Make it easier to subclass the inlining behaviour. (Ash
228 * Moose::Manual::Delta
229 - Details significant changes in the history of Moose, along
230 with recommended workarounds.
232 * Moose::Manual::Contributing
233 - Contributor's guide to Moose.
235 * Moose::Meta::Method::Constructor
236 - The long-deprecated intialize_body method has been removed
237 (yes, spelled like that).
239 * Moose::Meta::Method::Destructor
240 - This is_needed method is now always a class method.
243 - Changes to the internals of how make_immutable works to match
244 changes in latest Class::MOP.
246 0.72 Mon, February 23, 2009
248 * Moose::Meta::Method::Constructor
249 - A mutable class accepted Foo->new(undef) without complaint,
250 while an immutable class would blow up with an unhelpful
251 error. Now, in both cases we throw a helpful error
252 instead. Reported by doy.
254 0.71_01 Sun, February 22, 2009
256 - Hopefully fixed some POD errors in a few recipes that caused
257 them to display weird on search.cpan.org.
259 * Moose::Util::TypeConstraints
260 - Calling type or subtype without the sugar helpers (as, where,
261 message) is now deprecated.
262 - The subtype function tried hard to guess what you meant, but
263 often got it wrong. For example:
265 my $subtype = subtype as 'ArrayRef[Object]';
267 This caused an error in the past, but now works as you'd
271 - Make sure Moose.pm is loaded before calling
272 Moose->throw_error. This wasn't normally an issue, but could
273 bite you in weird cases.
275 0.71 Thu, February 19, 2009
276 * Moose::Cookbook::Basics::Recipe11
277 - A new recipe which demonstrates the use of BUILDARGS and
280 * Moose::Cookbook::Roles::Recipe3
281 - A new recipe, applying a role to an object instance. (Dave
285 - Allow overriding specific keywords from "also" packages. (doy)
288 - Replace hardcoded cookbook tests with Test::Inline to ensure
289 the tests match the actual code in the recipes. (Dave Rolsky)
292 - Working on the above turned up a number of little bugs in the
293 recipe code. (Dave Rolsky)
295 * Moose::Util::TypeConstraints::Optimized
296 - Just use Class::MOP for the optimized ClassName check. (Dave
299 0.70 Sat, February 14, 2009
300 * Moose::Util::TypeConstraints
301 - Added the RoleName type (stevan)
302 - added tests for this (stevan)
304 * Moose::Cookbook::Basics::Recipe3
305 - Updated the before qw[left right] sub to be a little more
306 defensive about what it accepts (stevan)
307 - added more tests to t/000_recipies/basics/003_binary_tree.t
311 - We now always call DEMOLISHALL, even if a class does not
312 define DEMOLISH. This makes sure that method modifiers on
313 DEMOLISHALL work as expected. (doy)
314 - added tests for this (EvanCarroll)
316 * Moose::Util::MetaRole
317 - Accept roles for the wrapped_method_metaclass (rafl)
318 - added tests for this (rafl)
320 * Moose::Meta::Attribute
321 - We no longer pass the meta-attribute object as a final
322 argument to triggers. This actually changed for inlined code a
323 while back, but the non-inlined version and the docs were
327 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
328 they require 0.11. (Dave Rolsky)
331 - Lots of small changes to the manual, cookbook, and
332 elsewhere. These were based on feedback from various
333 users, too many to list here. (Dave Rolsky)
335 0.69 Thu, February 12, 2009
337 - Make some keyword errors use throw_error instead of croak
338 since Moose::Exporter wraps keywords now (Sartak)
341 - Revised every recipe for style and clarity. Also moved some
342 documentation out of cookbook recipes and into Moose::Manual
343 pages. This work was funded as part of the Moose docs grant
344 from TPF. (Dave Rolsky)
346 * Moose::Meta::Method::Delegation
347 - If the attribute doing the delegation was not populated, the
348 error message did not specify the attribute name
351 0.68 Wed, February 4, 2009
353 - Many spelling, typo, and formatting fixes by daxim.
355 * Moose::Manual::Attributes
356 - The NAME section in the POD used "Attribute" so search.cpan
357 didn't resolve links from other documents properly.
359 * Moose::Meta::Method::Overriden
360 - Now properly spelled as Overridden. Thanks to daxim for
363 0.67 Tue, February 3, 2009
365 - Lots of little typo fixes and a few clarifications. Several
366 pages didn't have proper titles, and so weren't actually
367 visible on search.cpan.org. Thanks to hanekomu for a variety
368 of fixes and formatting improvements.
370 0.66 Tue, February 3, 2009
372 - This is a brand new, extensive manual for Moose. This aims to
373 provide a complete introduction to all of Moose's
374 features. This work was funded as part of the Moose docs grant
375 from TPF. (Dave Rolsky)
377 * Moose::Meta::Attribute
378 - Added a delegation_metaclass method to replace a hard-coded
379 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
381 * Moose::Util::TypeConstraints
382 - If you created a subtype and passed a parent that Moose didn't
383 know about, it simply ignored the parent. Now it automatically
384 creates the parent as a class type. This may not be what you
385 want, but is less broken than before. (Dave Rolsky)
387 * Moose::Util::TypeConstraints
388 - This module tried throw errors by calling Moose->throw_error,
389 but it did not ensure that Moose was loaded first. This could
390 cause very unhelpful errors when it tried to throw an error
391 before Moose was loaded. (Dave Rolsky)
393 * Moose::Util::TypeConstraints
394 - You could declare a name with subtype such as "Foo!Bar" that
395 would be allowed, but if you used it in a parameterized type
396 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
397 vetting on names created via the sugar functions, so that they
398 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
400 0.65 Thu, January 22, 2008
401 * Moose and Moose::Meta::Method::Overridden
402 - If an overridden method called super(), and then the
403 superclass's method (not overridden) _also_ called super(),
404 Moose went into an endless recursion loop. Test provided by
405 Chris Prather. (Dave Rolsky)
407 * Moose::Meta::TypeConstraint
408 - All methods are now documented. (gphat)
410 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
411 - Fixed some bogus failures that occurred because we tried to
412 validate filesystem paths in a very ad-hoc and
413 not-quite-correct way. (Dave Rolsky)
415 * Moose::Util::TypeConstraints
416 - Added maybe_type to exports. See docs for details. (rjbs)
419 - Added Moose::Util::TypeConstraints to the SEE ALSO
423 - Methods created via an attribute can now fulfill a "requires"
424 declaration for a role. (nothingmuch)
426 * Moose::Meta::Method::*
427 - Stack traces from inlined code will now report its line and
428 file as being in your class, as opposed to in Moose
431 0.64 Wed, December 31, 2008
432 * Moose::Meta::Method::Accessor
433 - Always inline predicate and clearer methods (Sartak)
435 * Moose::Meta::Attribute
436 - Support for parameterized traits (Sartak)
437 - verify_against_type_constraint method to avoid duplication
438 and enhance extensibility (Sartak)
441 - Tests (but no support yet) for parameterized traits (Sartak)
444 - Require Class::MOP 0.75+, which has the side effect of making
445 sure we work on Win32. (Dave Rolsky)
447 0.63 Mon, December 8, 2008
449 - Some small grammar tweaks and bug fixes in non-Moose example
452 0.62_02 Fri, December 5, 2008
453 * Moose::Meta::Role::Application::ToClass
454 - When a class does not provide all of a role's required
455 methods, the error thrown now mentions all of the missing
456 methods, as opposed to just the first one found. Requested by
457 Curtis Poe (RT #41119). (Dave Rolsky)
459 * Moose::Meta::Method::Constructor
460 - Moose will no longer inline a constructor for your class
461 unless it inherits its constructor from Moose::Object, and
462 will warn when it doesn't inline. If you want to force
463 inlining anyway, pass "replace_constructor => 1" to
464 make_immutable. Addresses RT #40968, reported by Jon
465 Swartz. (Dave Rolsky)
466 - The quoting of default values could be broken if the default
467 contained a single quote ('). Now we use quotemeta to escape
468 anything potentially dangerous in the defaults. (Dave Rolsky)
470 0.62_01 Wed, December 3, 2008
472 - use the method->execute API for BUILDALL
473 and DEMOLISHALL (Sartak)
475 * Moose::Util::TypeConstraints
476 - We now make all the type constraint meta classes immutable
477 before creating the default types provided by Moose. This
478 should make loading Moose a little faster. (Dave Rolsky)
480 0.62 Wed November 26, 2008
481 * Moose::Meta::Role::Application::ToClass
482 Moose::Meta::Role::Application::ToRole
483 - fixed issues where excluding and aliasing the
484 same methods for a single role did not work
485 right (worked just fine with multiple
487 - added test for this (stevan)
489 * Moose::Meta::Role::Application::RoleSummation
490 - fixed the error message when trying to compose
491 a role with a role it excludes (Sartak)
494 - Catch another case where recursion caused the value
495 of $CALLER to be stamped on (t0m)
496 - added test for this (t0m)
499 - Remove the make_immutable keyword, which has been
500 deprecated since April. It breaks metaclasses that
501 use Moose without no Moose (Sartak)
503 * Moose::Meta::Attribute
504 - Removing an attribute from a class now also removes delegation
505 (handles) methods installed for that attribute (t0m)
506 - added test for this (t0m)
508 * Moose::Meta::Method::Constructor
509 - An attribute with a default that looked like a number (but was
510 really a string) would accidentally be treated as a number
511 when the constructor was made immutable (perigrin)
512 - added test for this (perigrin)
515 - create method for constructing a role
517 - added test for this (Sartak)
518 - anonymous roles! (Sartak)
519 - added test for this (Sartak)
522 - more consistent error messages (Sartak)
524 * Moose::Cookbook::Roles::Recipe1
525 - attempt to explain why a role that just requires
526 methods is useful (Sartak)
528 0.61 Fri November 7, 2008
529 * Moose::Meta::Attribute
530 - When passing a role to handles, it will be loaded if necessary
534 - Method objects returned by get_method (and other methods)
535 Could end up being returned without an associated_metaclass
536 attribute. Removing get_method_map, which is provided by
537 Class::MOP::Class, fixed this. The Moose version did nothing
538 different from its parent except introduce a bug. (Dave Rolsky)
539 - added tests for this (jdv79)
542 - Added a $VERSION to all .pm files which didn't have one. Fixes
543 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
545 * Moose::Cookbook::Basics::Recipe4
546 * Moose::Cookbook::Basics::Recipe6
547 - These files had spaces on the first line of the SYNOPSIS, as
548 opposed to a totally empty line. According to RT #40432, this
549 confuses POD parsers. (Dave Rolsky)
551 0.60 Fri October 24, 2008
553 - Passing "-traits" when loading Moose caused the Moose.pm
554 exports to be broken. Reported by t0m. (Dave Rolsky)
555 - Tests for this bug. (t0m)
558 - Change resolve_metaclass alias to use the new
559 load_first_existing_class function. This makes it a lot
560 simpler, and also around 5 times faster. (t0m)
561 - Add caching to resolve_metaclass_alias, which gives an order
562 of magnitude speedup to things which repeatedly call the
563 Moose::Meta::Attribute->does method, notably MooseX::Storage
566 * Moose::Util::TypeConstraint
567 - Put back the changes for parameterized constraints that
568 shouldn't have been removed in 0.59. We still cannot parse
569 them, but MooseX modules can create them in some other
570 way. See the 0.58 changes for more details. (jnapiorkowski)
571 - Changed the way subtypes are created so that the job is
572 delegated to a type constraint parent. This clears up some
573 hardcoded checking and should allow correct subtypes of
574 Moose::Meta::Type::Constraint. Don't rely on this new API too
575 much (create_child_type) because it may go away in the
576 future. (jnapiorkowski)
578 * Moose::Meta::TypeConstraint::Union
579 - Type constraint names are sorted as strings, not numbers.
582 * Moose::Meta::TypeConstraint::Parameterizable
583 - New parameterize method. This can be used as a factory method
584 to make a new type constraint with a given parameterized
585 type. (jnapiorkowski)
586 - added tests (jnapiorkowski)
588 0.59 Tue October 14, 2008
590 - Add abridged documentation for builder/default/initializer/
591 predicate, and link to more details sections in
592 Class::MOP::Attribute. (t0m)
594 * Moose::Util::TypeConstraints
595 - removed prototypes from all but the &-based stuff (mst)
597 * Moose::Util::TypeConstraints
598 - Creating a anonymous subtype with both a constraint and a
599 message failed with a very unhelpful error, but should just
600 work. Reported by t0m. (Dave Rolsky)
603 - Some tests that used Test::Warn if it was available failed
604 with older versions of Test::Warn. Reported by Fayland. (Dave
606 - Test firing behavior of triggers in relation to builder/default/
608 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
609 kinds of supported type. (t0m)
612 - In create(), do not pass "roles" option to the superclass
613 - added related test that creates an anon metaclass with
616 * Moose::Meta::TypeConstraint::Class
617 * Moose::Meta::TypeConstraint::Role
618 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
619 other types (as per change in 0.55_02). (t0m)
621 * Moose::Meta::TypeConstraint::Registry
622 - Fix warning when dealing with unknown type names (t0m)
624 * Moose::Util::TypeConstraints
625 - Reverted changes from 0.58 related to handle parameterized
626 types. This caused random failures on BSD and Win32 systems,
627 apparently related to the regex engine. This means that Moose
628 can no longer parse structured type constraints like
629 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
630 supported in a slightly different way via MooseX::Types some
631 time in the future. (Dave Rolsky)
633 0.58 Sat September 20, 2008
634 !! This release has an incompatible change regarding !!
635 !! how roles add methods to a class !!
637 * Roles and role application
638 ! Roles now add methods by calling add_method, not
639 alias_method. They make sure to always provide a method
640 object, which will be cloned internally. This means that it is
641 now possible to track the source of a method provided by a
642 role, and even follow its history through intermediate roles.
644 This means that methods added by a role now show up when
645 looking at a class's method list/map. (Dave Rolsky)
648 - From this release on, we'll try to maintain a list of
649 conflicting modules, and warn you if you have one
650 installed. For example, this release conflicts with ...
651 - MooseX::Singleton <= 0.11
652 - MooseX::Params::Validate <= 0.05
655 In general, we try to not break backwards compatibility for
656 most Moose users, but MooseX modules and other code which
657 extends Moose's metaclasses is often affected by very small
658 changes in the Moose internals.
660 * Moose::Meta::Method::Delegation
661 * Moose::Meta::Attribute
662 - Delegation methods now have their own method class. (Dave
665 * Moose::Meta::TypeConstraint::Parameterizable
666 - Added a new method 'parameterize' which is basically a factory
667 for the containing constraint. This makes it easier to create
668 new types of parameterized constraints. (jnapiorkowski)
670 * Moose::Meta::TypeConstraint::Union
671 - Changed the way Union types canonicalize their names to follow
672 the normalized TC naming rules, which means we strip all
673 whitespace. (jnapiorkowski)
675 * Moose::Util::TypeConstraints
676 - Parameter and Union args are now sorted, this makes Int|Str
677 the same constraint as Str|Int. (jnapiorkowski)
678 - Changes to the way Union types are parsed to more correctly
679 stringify their names. (jnapiorkowski)
680 - When creating a parameterized type, we now use the new
681 parameterize method. (jnapiorkowski)
682 - Incoming type constraint strings are now normalized to remove
683 all whitespace differences. (jnapiorkowski)
684 - Changed the way we parse type constraint strings so that we now
685 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
686 constraints. This lays the foundation for more flexible type
687 constraint implementations.
689 * Tests and docs for all the above. (jnapiorkowski)
693 - Moose::Exporter will no longer remove a subroutine that the
694 exporting package re-exports. Moose re-exports the
695 Carp::confess function, among others. The reasoning is that we
696 cannot know whether you have also explicitly imported those
697 functions for your own use, so we err on the safe side and
698 always keep them. (Dave Rolsky)
699 - added tests for this (rafl)
702 - Changes to how we fix metaclass compatibility that are much
703 too complicated to go into. The summary is that Moose is much
704 less likely to complain about metaclass incompatibility
705 now. In particular, if two metaclasses differ because
706 Moose::Util::MetaRole was used on the two corresponding
707 classes, then the difference in roles is reconciled for the
708 subclass's metaclass. (Dave Rolsky)
709 - Squashed an warning in _process_attribute (thepler)
712 - throw exceptions (sooner) for invalid attribute names (thepler)
713 - added tests for this (thepler)
715 * Moose::Util::MetaRole
716 - If you explicitly set a constructor or destructor class for a
717 metaclass object, and then applied roles to the metaclass,
718 that explicitly set class would be lost and replaced with the
722 * Moose::Meta::Attribute
723 * Moose::Meta::Method
726 * Moose::Error::Default
727 * Moose::Error::Croak
728 * Moose::Error::Confess
729 - All instances of confess() changed to use overridable
730 C<throw_error> method. This method ultimately calls a class
731 constructor, and you can change the class being called. In
732 addition, errors now pass more information than just a string.
733 The default C<error_class> behaves like C<Carp::confess>, so
734 the behavior is not visibly different for end users.
736 0.57 Wed September 3, 2008
738 - A new bit of doc intended to introduce folks familiar with
739 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
742 - Shows examples of two classes, each done first with and then
743 without Moose. This makes a nice parallel to
744 Moose::Intro. (Dave Rolsky)
746 * Moose::Util::TypeConstraints
747 - Fixed a bug in find_or_parse_type_constraint so that it
748 accepts a Moose::Meta::TypeConstraint object as the parent
749 type, not just a name (jnapiorkowski)
750 - added tests (jnapiorkowski)
753 - If Sub::Name was not present, unimporting failed to actually
754 remove some sugar subs, causing test failures (Dave Rolsky)
756 0.56 Mon September 1, 2008
757 For those not following the series of dev releases, there are
758 several major changes in this release of Moose.
759 ! Moose::init_meta should now be called as a method. See the
762 - Major performance improvements by nothingmuch.
764 - New modules for extension writers, Moose::Exporter and
765 Moose::Util::MetaRole by Dave Rolsky.
767 - Lots of doc improvements and additions, especially in the
772 * Removed all references to the experimental-but-no-longer-needed
773 Moose::Meta::Role::Application::ToMetaclassInstance.
775 * Require Class::MOP 0.65.
777 0.55_04 Sat August 30, 2008
778 * Moose::Util::MetaRole
779 * Moose::Cookbook::Extending::Recipe2
780 - This simplifies the application of roles to any meta class, as
781 well as the base object class. Reimplemented metaclass traits
782 using this module. (Dave Rolsky)
784 * Moose::Cookbook::Extending::Recipe1
785 - This a new recipe, an overview of various ways to write Moose
786 extensions (Dave Rolsky)
788 * Moose::Cookbook::Extending::Recipe3
789 * Moose::Cookbook::Extending::Recipe4
790 - These used to be Extending::Recipe1 and Extending::Recipe2,
793 0.55_03 Fri August 29, 2008
794 * No changes from 0.55_02 except increasing the Class::MOP
795 dependency to 0.64_07.
797 0.55_02 Fri August 29, 2008
798 * Makefile.PL and Moose.pm
799 - explicitly require Perl 5.8.0+ (Dave Rolsky)
801 * Moose::Util::TypeConstraints
802 - Fix warnings from find_type_constraint if the type is not
805 * Moose::Meta::TypeConstraint
806 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
807 return false if the type you specify cannot be found in the
808 type registry, rather than throwing an unhelpful and
809 coincidental exception. (t0m).
810 - added docs & test for this (t0m)
812 * Moose::Meta::TypeConstraint::Registry
813 - add_type_constraint now throws an exception if a parameter is
815 - added docs & test for this (t0m)
817 * Moose::Cookbook::FAQ
818 - Added a faq entry on the difference between "role" and "trait"
822 - Fixed a bug that caused role composition to not see a required
823 method when that method was provided by another role being
824 composed at the same time. (Dave Rolsky)
825 - test and bug finding (tokuhirom)
827 0.55_01 Wed August 20, 2008
829 !! Calling Moose::init_meta as a function is now !!
830 !! deprecated. Please see the Moose.pm docs for details. !!
832 * Moose::Meta::Method::Constructor
833 - Fix inlined constructor so that values produced by default
834 or builder methods are coerced as required. (t0m)
835 - added test for this (t0m)
837 * Moose::Meta::Attribute
838 - A lazy attribute with a default or builder did not attempt to
839 coerce the default value. The immutable code _did_
841 - added test for this (t0m)
844 - This is a new helper module for writing "Moose-alike"
845 modules. This should make the lives of MooseX module authors
846 much easier. (Dave Rolsky)
849 * Moose::Cookbook::Meta::Recipe5
850 - Implemented metaclass traits (and wrote a recipe for it):
852 use Moose -traits => 'Foo'
854 This should make writing small Moose extensions a little
857 * Moose::Cookbook::Basics::Recipe1
858 - Removed any examples of direct hashref access, and applied an
859 editorial axe to reduce verbosity. (Dave Rolsky)
861 * Moose::Cookbook::Basics::Recipe1
862 - Also applied an editorial axe here. (Dave Rolsky)
865 * Moose::Cookbook::Extending::Recipe1
866 * Moose::Cookbook::Extending::Recipe2
867 - Rewrote extending and embedding moose documentation and
868 recipes to use Moose::Exporter (Dave Rolsky)
872 - These two modules now warn when you load them from the main
873 package "main" package, because we will not export sugar to
874 main. Previously it just did nothing. (Dave Rolsky)
877 - Now provide an init_meta method just like Moose.pm, and you
878 can call this to provide an alternate role metaclass. (Dave
879 Rolsky and nothingmuch)
880 - get_method_map now respects the package cache flag (nothingmuch)
883 - Two new methods - add_method and wrap_method_body
887 - Optimizations including allowing constructors to accept hash
888 refs, making many more classes immutable, and making
889 constructors immutable. (nothingmuch)
891 0.55 Sun August 3, 2008
892 * Moose::Meta::Attribute
893 - breaking down the way 'handles' methods are
894 created so that the process can be more easily
895 overridden by subclasses (stevan)
897 * Moose::Meta::TypeConstraint
898 - fixing what is passed into a ->message with
899 the type constraints (RT #37569)
900 - added tests for this (Charles Alderman)
902 * Moose::Util::TypeConstraints
903 - fix coerce to accept anon types like subtype can (mst)
906 - reorganized the recipes into sections - Basics, Roles, Meta,
907 Extending - and wrote abstracts for each section (Dave Rolsky)
909 * Moose::Cookbook::Basics::Recipe10
910 - A new recipe that demonstrates operator overloading
911 in combination with Moose. (bluefeet)
913 * Moose::Cookbook::Meta::Recipe1
914 - an introduction to what meta is and why you'd want to make
915 your own metaclass extensions (Dave Rolsky)
917 * Moose::Cookbook::Meta::Recipe4
918 - a very simple metaclass example (Dave Rolsky)
920 * Moose::Cookbook::Extending::Recipe1
921 - how to write a Moose-alike module to use your own object base
924 * Moose::Cookbook::Extending::Recipe2
925 - how to write modules with an API just like C<Moose.pm> (Dave
929 - Tons of fixes, both syntactical and grammatical (Dave
930 Rolsky, Paul Fenwick)
932 0.54 Thurs. July 3, 2008
933 ... this is not my day today ...
935 * Moose::Meta::Attribute
936 - fixed legal_options_for_inheritance such that
937 clone_and_inherit options still works for
938 Class::MOP::Attribute objects and therefore
939 does not break MooseX::AttributeHelpers
942 0.53 Thurs. July 3, 2008
943 * Whoops, I guess I should run 'make manifest' before
944 actually releasing the module. No actual changes
945 in this release, except the fact that it includes
946 the changes that I didn't include in the last
949 0.52 Thurs. July 3, 2008
951 - added "FEATURE REQUESTS" section to the Moose docs
952 to properly direct people (stevan) (RT #34333)
953 - making 'extends' croak if it is passed a Role since
954 this is not ever something you want to do
955 (fixed by stevan, found by obra)
956 - added tests for this (stevan)
959 - adding support for DOES (as in UNIVERSAL::DOES)
961 - added test for this
963 * Moose::Meta::Attribute
964 - added legal_options_for_inheritance (wreis)
965 - added tests for this (wreis)
967 * Moose::Cookbook::Snacks::*
968 - removed some of the unfinished snacks that should
969 not have been released yet. Added some more examples
970 to the 'Keywords' snack. (stevan)
972 * Moose::Cookbook::Style
973 - added general Moose "style guide" of sorts to the
974 cookbook (nothingmuch) (RT #34335)
977 - added more BUILDARGS tests (stevan)
979 0.51 Thurs. Jun 26, 2008
981 - add unimport so "no Moose::Role" actually does
984 * Moose::Meta::Role::Application::ToRole
985 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
986 order to provide its own implementation, that method still got
987 added to the list of required methods for consumers of
988 RoleB. Now an aliased method is only added to the list of
989 required methods if the role doing the aliasing does not
990 provide its own implementation. See Recipe 11 for an example
991 of all this. (Dave Rolsky)
992 - added tests for this
994 * Moose::Meta::Method::Constructor
995 - when a single argument that wasn't a hashref was provided to
996 an immutabilized constructor, the error message was very
997 unhelpful, as opposed to the non-immutable error. Reported by
999 - added test for this (Dave Rolsky)
1001 * Moose::Meta::Attribute
1002 - added support for meta_attr->does("ShortAlias") (sartak)
1003 - added tests for this (sartak)
1004 - moved the bulk of the `handles` handling to the new
1005 install_delegation method (Stevan)
1008 - Added BUILDARGS, a new step in new()
1010 * Moose::Meta::Role::Application::RoleSummation
1011 - fix typos no one ever sees (sartak)
1013 * Moose::Util::TypeConstraints
1014 * Moose::Meta::TypeConstraint
1015 * Moose::Meta::TypeCoercion
1016 - Attempt to work around the ??{ } vs. threads issue
1018 - Some null_constraint optimizations
1020 0.50 Thurs. Jun 11, 2008
1021 - Fixed a version number issue by bumping all modules
1024 0.49 Thurs. Jun 11, 2008
1025 !! This version now approx. 20-25% !!
1026 !! faster with new Class::MOP 0.59 !!
1028 * Moose::Meta::Attribute
1029 - fixed how the is => (ro|rw) works with
1030 custom defined reader, writer and accessor
1032 - added docs for this (TODO).
1033 - added tests for this (Thanks to Penfold)
1034 - added the custom attribute alias for regular
1035 Moose attributes which is "Moose"
1036 - fix builder and default both being used
1041 Moose::Meta::Attribute
1043 Moose::Meta::Role::Composite
1044 Moose::Util::TypeConstraints
1045 - switched usage of reftype to ref because
1049 - changing add_package_symbol to use the new
1053 - fixed how DEMOLISHALL is called so that it
1054 can be overrided in subclasses (thanks to Sartak)
1055 - added test for this (thanks to Sartak)
1057 * Moose::Util::TypeConstraints
1058 - move the ClassName type check code to
1059 Class::MOP::is_class_loaded (thanks to Sartak)
1061 * Moose::Cookbook::Recipe11
1062 - add tests for this (thanks to tokuhirom)
1064 0.48 Thurs. May 29, 2008
1065 (early morning release engineering)--
1067 - fixing the version in Moose::Meta::Method::Destructor
1068 which was causing the indexer to choke
1070 0.47 Thurs. May 29, 2008
1071 (late night release engineering)--
1073 - fixing the version is META.yml, no functional
1074 changes in this release
1076 0.46 Wed. May 28, 2008
1077 !! This version now approx. 20-25% !!
1078 !! faster with new Class::MOP 0.57 !!
1080 * Moose::Meta::Class
1081 - some optimizations of the &initialize method
1082 since it is called so often by &meta
1084 * Moose::Meta::Class
1086 - now use the get_all_package_symbols from the
1087 updated Class::MOP, test suite is now 10 seconds
1090 * Moose::Meta::Method::Destructor
1091 - is_needed can now also be called as a class
1092 method for immutablization to check if the
1093 destructor object even needs to be created
1096 * Moose::Meta::Method::Destructor
1097 Moose::Meta::Method::Constructor
1098 - added more descriptive error message to help
1099 keep people from wasting time tracking an error
1100 that is easily fixed by upgrading.
1102 0.45 Saturday, May 24, 2008
1104 - Because of work in Class::MOP 0.57, all
1105 XS based functionality is now optional
1106 and a Pure Perl version is supplied
1107 - the CLASS_MOP_NO_XS environment variable
1108 can now be used to force non-XS versions
1110 - several of the packages have been tweaked
1111 to take care of this, mostly we added
1112 support for the package_name and name
1113 variables in all the Method metaclasses
1114 - before/around/after method modifiers now
1115 support regexp matching of names
1116 (thanks to Takatoshi Kitano)
1117 - tests added for this
1118 - NOTE: this only works for classes, it
1119 is currently not supported in roles,
1120 but, ... patches welcome
1121 - All usage of Carp::confess have been replaced
1122 by Carp::croak in the "keyword" functions since
1123 the stack trace is usually not helpful
1126 - All usage of Carp::confess have been replaced
1127 by Carp::croak in the "keyword" functions since
1128 the stack trace is usually not helpful
1129 - The 'has' keyword for roles now accepts the
1130 same array ref form that Moose.pm does
1131 (has [qw/foo bar/] => (is => 'rw', ...))
1132 - added test for this
1134 * Moose::Meta::Attribute
1135 - trigger on a ro-attribute is no longer an
1136 error, as it's useful to trigger off of the
1139 * Moose::Meta::Class
1140 - added same 'add_package_symbol' fix as in
1144 - does_role now handles non-Moose classes
1146 - added tests for this
1147 - added the 'add_method_modifier' function
1148 (thanks to Takatoshi Kitano)
1150 * Moose::Util::TypeConstraints
1151 - subtypes of parameterizable types now are
1152 themselves parameterizable types
1154 * Moose::Meta::Method::Constructor
1155 - fixed bug where trigger was not being
1156 called by the inlined immutable
1158 - added test for this (thanks to Caelum)
1160 * Moose::Meta::Role::Application::ToInstance
1161 - now uses the metaclass of the instance
1162 (if possible) to create the anon-class
1163 (thanks Jonathan Rockway)
1165 * Moose::Cookbook::Recipe22
1166 - added the meta-attribute trait recipe
1170 - fixed hash-ordering test bug that was
1171 causing occasional cpantester failures
1172 - renamed the t/000_recipe/*.t tests to be
1173 more descriptive (thanks to Sartak)
1175 0.44 Sat. May 10, 2008
1177 - made make_immutable warning cluck to
1178 show where the error is (thanks mst)
1181 - BUILDALL and DEMOLISHALL now call
1182 ->body when looping through the
1183 methods, to avoid the overloaded
1185 - fixed issue where DEMOLISHALL was
1186 eating the $@ values, and so not
1187 working correctly, it still kind of
1188 eats them, but so does vanilla perl
1189 - added tests for this
1191 * Moose::Cookbook::Recipe7
1192 - added new recipe for immutable
1193 functionality (thanks Dave Rolsky)
1195 * Moose::Cookbook::Recipe9
1196 - added new recipe for builder and
1197 lazy_build (thanks Dave Rolsky)
1199 * Moose::Cookbook::Recipe11
1200 - added new recipe for method aliasing
1201 and exclusion with Roles (thanks Dave Rolsky)
1204 - fixed Win32 test failure (thanks spicyjack)
1206 ~ removed Build.PL and Module::Build compat
1207 since Module::Install has done that.
1209 0.43 Wed. April, 30, 2008
1211 drink more coffee before
1212 doing release engineering
1214 - whoops, forgot to do the smolder tests,
1215 and we broke some of the custom meta-attr
1216 modules. This fixes that.
1218 0.42 Mon. April 28, 2008
1219 - some bad tests slipped by, nothing else
1220 changed in this release (cpantesters++)
1222 - upped the Class::MOP dependency to 0.55
1223 since we have tests which need the C3
1226 0.41 Mon. April 28, 2008
1227 ~~ numerous documentation updates ~~
1229 - Changed all usage of die to Carp::croak for better
1230 error reporting (initial patch by Tod Hagan)
1232 ** IMPORTANT NOTE **
1233 - the make_immutable keyword is now deprecated, don't
1234 use it in any new code and please fix your old code
1235 as well. There will be 2 releases, and then it will
1241 - refactored the way inner and super work to avoid
1242 any method/@ISA cache penalty (nothingmuch)
1244 * Moose::Meta::Class
1245 - fixing &new_object to make sure trigger gets the
1246 coerced value (spotted by Charles Alderman on the
1248 - added test for this
1250 * Moose::Meta::Method::Constructor
1251 - immutable classes which had non-lazy attributes were calling
1252 the default generating sub twice in the constructor. (bug
1253 found by Jesse Luehrs, fixed by Dave Rolsky)
1254 - added tests for this (Dave Rolsky)
1255 - fix typo in initialize_body method (nothingmuch)
1257 * Moose::Meta::Method::Destructor
1258 - fix typo in initialize_body method (nothingmuch)
1260 * Moose::Meta::Method::Overriden
1261 Moose::Meta::Method::Augmented
1262 - moved the logic for these into their own
1263 classes (nothingmuch)
1265 * Moose::Meta::Attribute
1266 - inherited attributes may now be extended without
1267 restriction on the type ('isa', 'does') (Sartak)
1268 - added tests for this (Sartak)
1269 - when an attribute property is malformed (such as lazy without
1270 a default), give the name of the attribute in the error
1272 - added the &applied_traits and &has_applied_traits methods
1273 to allow introspection of traits
1274 - added tests for this
1275 - moved 'trait' and 'metaclass' argument handling to here from
1277 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1278 '+foo' syntax) (nothingmuch)
1279 - added tests for this (t0m)
1282 - localize $@ inside DEMOLISHALL to avoid it
1283 eating $@ (found by Ernesto)
1284 - added test for this (thanks to Ernesto)
1286 * Moose::Util::TypeConstraints
1287 - &find_type_constraint now DWIMs when given an
1288 type constraint object or name (nothingmuch)
1289 - &find_or_create_type_constraint superseded with a number of more
1291 - find_or_create_{isa,does}_type_constraint
1292 - find_or_parse_type_constraint
1294 * Moose::Meta::TypeConstraint
1295 Moose::Meta::TypeConstraint::Class
1296 Moose::Meta::TypeConstraint::Role
1297 Moose::Meta::TypeConstraint::Enum
1298 Moose::Meta::TypeConstraint::Union
1299 Moose::Meta::TypeConstraint::Parameterized
1300 - added the &equals method for comparing two type
1301 constraints (nothingmuch)
1302 - added tests for this (nothingmuch)
1304 * Moose::Meta::TypeConstraint
1305 - add the &parents method, which is just an alias to &parent.
1306 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1308 * Moose::Meta::TypeConstraint::Class
1309 - added the class attribute for introspection purposes
1311 - added tests for this
1313 * Moose::Meta::TypeConstraint::Enum
1314 Moose::Meta::TypeConstraint::Role
1315 - broke these out into their own classes (nothingmuch)
1317 * Moose::Cookbook::Recipe*
1318 - fixed references to test file locations in the POD
1319 and updated up some text for new Moose features
1323 - Added &resolve_metaclass_alias, a helper function for finding an actual
1324 class for a short name (e.g. in the traits list)
1326 0.40 Fri. March 14, 2008
1327 - I hate Pod::Coverage
1329 0.39 Fri. March 14, 2008
1331 - documenting the use of '+name' with attributes
1332 that come from recently composed roles. It makes
1333 sense, people are using it, and so why not just
1334 officially support it.
1335 - fixing the 'extends' keyword so that it will not
1336 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1339 - added the perl -Moose=+Class::Name feature to allow
1340 monkeypatching of classes in one liners
1343 - fixing the 'apply_all_roles' keyword so that it will not
1344 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1346 * Moose::Meta::Class
1347 - added ->create method which now supports roles (thanks to jrockway)
1348 - added tests for this
1349 - added ->create_anon_class which now supports roles and caching of
1350 the results (thanks to jrockway)
1351 - added tests for this
1352 - made ->does_role a little more forgiving when it is
1353 checking a Class::MOP era metaclasses.
1355 * Moose::Meta::Role::Application::ToInstance
1356 - it is now possible to pass extra params to be used when
1357 a role is applied to an the instance (rebless_params)
1358 - added tests for this
1360 * Moose::Util::TypeConstraints
1361 - class_type now accepts an optional second argument for a
1362 custom message. POD anotated accordingly (groditi)
1363 - added tests for this
1364 - it is now possible to make anon-enums by passing 'enum' an
1365 ARRAY ref instead of the $name => @values. Everything else
1367 - added tests for this
1370 - making test for using '+name' on attributes consumed
1371 from a role, it works and makes sense too.
1373 * Moose::Meta::Attribute
1374 - fix handles so that it doesn't return nothing
1375 when the method cannot be found, not sure why
1376 it ever did this originally, this means we now
1377 have slightly better support for AUTOLOADed
1379 - added more delegation tests
1380 - adding ->does method to this so as to better
1381 support traits and their introspection.
1382 - added tests for this
1385 - localizing the Data::Dumper configurations so
1386 that it does not pollute others (RT #33509)
1387 - made ->does a little more forgiving when it is
1388 passed Class::MOP era metaclasses.
1390 0.38 Fri. Feb. 15, 2008
1391 * Moose::Meta::Attribute
1392 - fixed initializer to correctly do
1393 type checking and coercion in the
1395 - added tests for this
1398 - fixed some finicky tests (thanks to konobi)
1400 0.37 Thurs. Feb. 14, 2008
1402 - fixed some details in Moose::init_meta
1403 and its superclass handling (thanks thepler)
1404 - added tests for this (thanks thepler)
1405 - 'has' now dies if you don't pass in name
1407 - added the 'make_immutable' keyword as a shortcut
1410 * Moose::Meta::Class
1411 Moose::Meta::Method::Constructor
1412 Moose::Meta::Attribute
1413 - making (init_arg => undef) work here too
1414 (thanks to nothingmuch)
1416 * Moose::Meta::Attribute
1417 Moose::Meta::Method::Constructor
1418 Moose::Meta::Method::Accessor
1419 - make lazy attributes respect attr initializers (rjbs)
1420 - added tests for this
1422 * Moose::Util::TypeConstraints
1423 Moose::Util::TypeConstraints::OptimizedConstraints
1424 Moose::Meta::TypeConstraints
1425 Moose::Meta::Attribute
1426 Moose::Meta::Method::Constructor
1427 Moose::Meta::Method::Accessor
1428 - making type errors use the
1429 assigned message (thanks to Sartak)
1430 - added tests for this
1432 * Moose::Meta::Method::Destructor
1433 - making sure DESTROY gets inlined properly
1434 with successive DEMOLISH calls (thanks to manito)
1436 * Moose::Meta::Attribute
1437 Moose::Meta::Method::Accessor
1438 - fixed handling of undef with type constraints
1440 - added tests for this
1443 - added &get_all_init_args and &get_all_attribute_values
1444 (thanks to Sartak and nothingmuch)
1446 0.36 Sat. Jan. 26, 2008
1448 Moose::Meta::Attribute
1449 - role type tests now support when roles are
1450 applied to non-Moose classes (found by ash)
1451 - added tests for this (thanks to ash)
1452 - couple extra tests to boost code coverage
1454 * Moose::Meta::Method::Constructor
1455 - improved fix for handling Class::MOP attributes
1456 - added test for this
1458 * Moose::Meta::Class
1459 - handled the add_attribute($attribute_meta_object)
1461 - added test for this
1463 0.35 Tues. Jan. 22, 2008
1464 * Moose::Meta::Method::Constructor
1465 - fix to make sure even Class::MOP attributes
1466 are handled correctly (Thanks to Dave Rolsky)
1467 - added test for this (also Dave Rolsky)
1469 * Moose::Meta::Class
1470 - improved error message on _apply_all_roles,
1471 you should now use Moose::Util::apply_all_roles
1472 and you shouldnt have been using a _ prefixed
1473 method in the first place ;)
1475 0.34 Mon. Jan. 21, 2008
1476 ~~~ more misc. doc. fixes ~~~
1477 ~~ updated copyright dates ~~
1479 Moose is now a postmodern object system :)
1480 - (see the POD for details)
1482 * <<Role System Refactoring>>
1483 - this release contains a major reworking and
1484 cleanup of the role system
1485 - 100% backwards compat.
1486 - Role application now restructured into seperate
1487 classes based on type of applicants
1488 - Role summation (combining of more than one role)
1489 is much cleaner and anon-classes are no longer
1490 used in this process
1491 - new Composite role metaclass
1492 - runtime application of roles to instances
1493 is now more efficient and re-uses generated
1494 classes when applicable
1496 * <<New Role composition features>>
1497 - methods can now be excluded from a given role
1499 - methods can now be aliased to another name (and
1500 still retain the original as well)
1502 * Moose::Util::TypeConstraints::OptimizedConstraints
1503 - added this module (see above)
1505 * Moose::Meta::Class
1506 - fixed the &_process_attribute method to be called
1507 by &add_attribute, so that the API is now correct
1509 * Moose::Meta::Method::Accessor
1510 - fixed bug when passing a list of values to
1511 an accessor would get (incorrectly) ignored.
1512 Thanks to Sartak for finding this ;)
1513 - added tests for this (Sartak again)
1515 * Moose::Meta::Method::Accessor
1516 Moose::Meta::Method::Constructor
1517 Moose::Meta::Attribute
1518 Moose::Meta::TypeConstraint
1519 Moose::Meta::TypeCoercion
1520 - lots of cleanup of such things as:
1522 - type constraint handling
1523 - error handling/messages
1524 (thanks to nothingmuch)
1526 * Moose::Meta::TypeConstraint::Parameterizable
1527 - added this module to support the refactor
1528 in Moose::Meta::TypeConstraint::Parameterized
1530 * Moose::Meta::TypeConstraint::Parameterized
1531 - refactored how these types are handled so they
1532 are more generic and not confined to ArrayRef
1536 - shortened some file names for better VMS support (RT #32381)
1538 0.33 Fri. Dec. 14, 2007
1539 !! Moose now loads 2 x faster !!
1540 !! with new Class::MOP 0.49 !!
1542 ++ new oose.pm module to make command line
1543 Moose-ness easier (see POD docs for more)
1545 * Moose::Meta::Class
1547 - several tweaks to take advantage of the
1548 new method map caching in Class::MOP
1550 * Moose::Meta::TypeConstraint::Parameterized
1551 - allow subtypes of ArrayRef and HashRef to
1552 be used as a container (sartak)
1553 - added tests for this
1554 - basic support for coercion to ArrayRef and
1555 HashRef for containers (sartak)
1556 - added tests for this
1558 * Moose::Meta::TypeCoercion
1559 - coercions will now create subtypes as needed
1560 so you can now add coercions to parameterized
1561 types without having to explictly define them
1562 - added tests for this
1564 * Moose::Meta::Method::Accessor
1565 - allow subclasses to decide whether we need
1566 to copy the value into a new variable (sartak)
1568 0.32 Tues. Dec. 4, 2007
1569 * Moose::Util::TypeConstraints
1570 - fixing how subtype aliases of unions work
1571 they should inherit the parent's coercion
1572 - added tests for this
1573 - you can now define multiple coercions on
1574 a single type at different times instead of
1575 having to do it all in one place
1576 - added tests for this
1578 * Moose::Meta::TypeConstraint
1579 - there is now a default constraint of sub { 1 }
1580 instead of Moose::Util::TypeConstraints setting
1583 * Moose::Meta::TypeCoercion
1584 * Moose::Meta::TypeCoercion::Union
1585 - added the &has_coercion_for_type and
1586 &add_type_coercions methods to support the
1587 new features above (although you cannot add
1588 more type coercions for Union types)
1590 0.31 Mon. Nov. 26, 2007
1591 * Moose::Meta::Attribute
1592 - made the +attr syntax handle extending types with
1593 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1594 now works if the original foo is an ArrayRef.
1595 - added tests for this.
1596 - delegation now works even if the attribute does not
1597 have a reader method using the get_read_method_ref
1598 method from Class::MOP::Attribute.
1599 - added tests for this
1600 - added docs for this
1602 * Moose::Util::TypeConstraints
1603 - passing no "additional attribute info" to
1604 &find_or_create_type_constraint will no longer
1605 attempt to create an __ANON__ type for you,
1606 instead it will just return undef.
1607 - added docs for this
1609 0.30 Fri. Nov. 23, 2007
1610 * Moose::Meta::Method::Constructor
1611 -builder related bug in inlined constructor. (groditi)
1613 * Moose::Meta::Method::Accessor
1614 - genereate unnecessary calls to predicates and refactor
1615 code generation for runtime speed (groditi)
1617 * Moose::Util::TypeConstraints
1618 - fix ClassName constraint to introspect symbol table (mst)
1619 - added more tests for this (mst)
1620 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1621 with work correctly.
1622 - added tests for this
1625 - adding the link to Recipie 11 (written by Sartak)
1626 - adding test for SYNOPSIS code
1629 - New tests for builder bug. Upon instantiation, if an
1630 attribute had a builder, no value and was not lazy the
1631 builder default was not getting run, oops. (groditi)
1633 0.29 Tues. Nov. 13, 2007
1634 * Moose::Meta::Attribute
1635 - Fix error message on missing builder method (groditi)
1637 * Moose::Meta::Method::Accessor
1638 - Fix error message on missing builder method (groditi)
1641 - Add test to check for the correct error message when
1642 builder method is missing (groditi)
1644 0.28 Tues. Nov. 13, 2007
1645 - 0.27 packaged incorrectly (groditi)
1647 0.27 Tues. Nov. 13, 2007
1648 * Moose::Meta::Attribute
1649 - Added support for the new builder option (groditi)
1650 - Added support for lazy_build option (groditi)
1651 - Changed slot initialization for predicate changes (groditi)
1653 * Moose::Meta::Method::Accessor
1654 - Added support for lazy_build option (groditi)
1655 - Fix inline methods to work with corrected predicate
1658 * Moose::Meta::Method::Constructor
1659 - Added support for lazy_build option (groditi)
1662 - tests for builder and lazy_build (groditi)
1664 * fixing some misc. bits in the docs that
1665 got mentioned on CPAN Forum & perlmonks
1668 - fixed how required methods are handled
1669 when they encounter overriden or modified
1670 methods from a class (thanks to confound).
1671 - added tests for this
1673 * Moose::Util::TypeConstraint
1674 - fixed the type notation parser so that
1675 the | always creates a union and so is
1676 no longer a valid type char (thanks to
1677 konobi, mugwump and #moose for working
1679 - added more tests for this
1681 0.26 Thurs. Sept. 27, 2007
1684 * Parameterized Types
1685 We now support parameterized collection types, such as:
1686 ArrayRef[Int] # array or integers
1687 HashRef[Object] # a hash with object values
1688 They can also be nested:
1689 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1690 And work with the type unions as well:
1691 ArrayRef[Int | Str] # array of integers of strings
1693 * Better Framework Extendability
1694 Moose.pm is now "extendable" such that it is now much
1695 easier to extend the framework and add your own keywords
1696 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1697 section of the Moose.pm docs.
1700 In an effort to begin documenting some of the various
1701 details of Moose as well as some common idioms, we have
1702 created Moose::Cookbook::Snacks as a place to find
1703 small (easily digestable) nuggets of Moose code.
1706 ~ Several doc updates/cleanup thanks to castaway ~
1708 - converted build system to use Module::Install instead of
1709 Module::Build (thanks to jrockway)
1712 - added all the meta classes to the immutable list and
1713 set it to inline the accessors
1714 - fix import to allow Sub::Exporter like { into => }
1715 and { into_level => } (perigrin)
1716 - exposed and documented init_meta() to allow better
1717 embedding and extending of Moose (perigrin)
1720 - complete re-organization of the test suite
1721 - added some new tests as well
1722 - finally re-enabled the Moose::POOP test since
1723 the new version of DBM::Deep now works again
1726 * Moose::Meta::Class
1727 - fixed very odd and very nasty recursion bug with
1729 - added tests for this (eilara)
1731 * Moose::Meta::Attribute
1732 Moose::Meta::Method::Constructor
1733 Moose::Meta::Method::Accessor
1734 - fixed issue with overload::Overloaded getting called
1735 on non-blessed items. (RT #29269)
1736 - added tests for this
1738 * Moose::Meta::Method::Accessor
1739 - fixed issue with generated accessor code making
1740 assumptions about hash based classes (thanks to dexter)
1742 * Moose::Coookbook::Snacks
1743 - these are bits of documentation, not quite as big as
1744 Recipes but which have no clear place in the module docs.
1745 So they are Snacks! (horray for castaway++)
1747 * Moose::Cookbook::Recipe4
1748 - updated it to use the new ArrayRef[MyType] construct
1749 - updated the accompanying test as well
1751 +++ Major Refactor of the Type Constraint system +++
1752 +++ with new features added as well +++
1754 * Moose::Util::TypeConstraint
1755 - no longer uses package variable to keep track of
1756 the type constraints, now uses the an instance of
1757 Moose::Meta::TypeConstraint::Registry to do it
1758 - added more sophisticated type notation parsing
1760 - added tests for this
1762 * Moose::Meta::TypeConstraint
1763 - some minor adjustments to make subclassing easier
1764 - added the package_defined_in attribute so that we
1765 can track where the type constraints are created
1767 * Moose::Meta::TypeConstraint::Union
1768 - this is now been refactored to be a subclass of
1769 Moose::Meta::TypeConstraint
1771 * Moose::Meta::TypeCoercion::Union
1772 - this has been added to service the newly refactored
1773 Moose::Meta::TypeConstraint::Union and is itself
1774 a subclass of Moose::Meta::TypeCoercion
1776 * Moose::Meta::TypeConstraint::Parameterized
1777 - added this module (taken from MooseX::AttributeHelpers)
1778 to help construct nested collection types
1779 - added tests for this
1781 * Moose::Meta::TypeConstraint::Registry
1782 - added this class to keep track of type constraints
1784 0.25 Mon. Aug. 13, 2007
1786 - Documentation update to reference Moose::Util::TypeConstraints
1787 under 'isa' in 'has' for how to define a new type
1788 (thanks to shlomif).
1790 * Moose::Meta::Attribute
1791 - required attributes now will no longer accept undef
1792 from the constructor, even if there is a default and lazy
1793 - added tests for this
1794 - default subroutines must return a value which passes the
1796 - added tests for this
1798 * Moose::Meta::Attribute
1799 * Moose::Meta::Method::Constructor
1800 * Moose::Meta::Method::Accessor
1801 - type-constraint tests now handle overloaded objects correctly
1802 in the error message
1803 - added tests for this (thanks to EvanCarroll)
1805 * Moose::Meta::TypeConstraint::Union
1806 - added (has_)hand_optimized_constraint to this class so that
1807 it behaves as the regular Moose::Meta::TypeConstraint does.
1810 - large refactoring of this code
1811 - added several more tests
1812 - tests for subtle conflict resolition issues
1813 added, but not currently running
1816 * Moose::Cookbook::Recipe7
1817 - added new recipe for augment/inner functionality
1819 - added test for this
1822 - a formal definition of roles (still in progress)
1825 - utilities for easier working with Moose classes
1826 - added tests for these
1829 - This contains Moose specific test functions
1830 - added tests for these
1832 0.24 Tues. July 3, 2007
1833 ~ Some doc updates/cleanup ~
1835 * Moose::Meta::Attribute
1836 - added support for roles to be given as parameters
1837 to the 'handles' option.
1838 - added tests and docs for this
1839 - the has '+foo' attribute form now accepts changes to
1840 the lazy option, and the addition of a handles option
1841 (but not changing the handles option)
1842 - added tests and docs for this
1845 - required methods are now fetched using find_method_by_name
1846 so that required methods can come from superclasses
1847 - adjusted tests for this
1849 0.23 Mon. June 18, 2007
1850 * Moose::Meta::Method::Constructor
1851 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1852 * Moose::Meta::Class
1853 - Modify make_immutable to work with the new Class::MOP immutable
1854 mechanism + POD + very basic test (groditi)
1855 * Moose::Meta::Attribute
1856 - Fix handles to use goto() so that caller() comes out properly on
1857 the other side (perigrin)
1859 0.22 Thurs. May 31, 2007
1860 * Moose::Util::TypeConstraints
1861 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1862 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1863 prototypes for functions
1864 - added the ClassName type constraint, this checks for strings
1865 which will respond true to ->isa(UNIVERSAL).
1866 - added tests and docs for this
1867 - subtyping just in name now works correctly by making the
1868 default for where be { 1 }
1869 - added test for this
1871 * Moose::Meta::Method::Accessor
1872 - coerce and lazy now work together correctly, thanks to
1873 merlyn for finding this bug
1874 - tests added for this
1875 - fix reader presedence bug in Moose::Meta::Attribute + tests
1878 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1879 a HASH-ref and missed. This produces better error messages then
1880 having it die cause undef is not a HASH.
1881 - added tests for this
1883 0.21 Thursday, May 2nd, 2007
1885 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1886 - modified unimport to remove super and inner along with the rest
1887 - altered unimport tests to handle this
1890 - altered super export to populate SUPER_SLOT
1892 * Moose::Meta::Class
1893 - altered augment and override modifier application to use *_SLOT
1894 - modified tests for these to unimport one test class each to test
1897 - fixed issue where custom attribute metaclasses
1898 where not handled correctly in roles
1899 - added tests for this
1901 * Moose::Meta::Class
1902 - fixed issue where extending metaclasses with
1903 roles would blow up. Thanks to Aankhen`` for
1904 finding this insidious error, and it's solution.
1906 ~~ lots of spelling and grammer fixes in the docs,
1907 many many thanks to rlb3 and Aankhen for these :)
1909 0.20 Friday, April 6th, 2007
1910 >> I messed up the SKIP logic in one test
1911 so this release is just to fix that.
1914 - 'has' now also accepts an ARRAY ref
1915 to create multiple attrs (see docs)
1916 (thanks to konobi for this)
1917 - added tests and docs
1919 0.19 Thurs. April 5th, 2007
1920 ~~ More documentation updates ~~
1922 * Moose::Util::TypeConstraints
1923 - 'type' now supports messages as well
1924 thanks to phaylon for finding this
1925 - added tests for this
1926 - added &list_all_type_constraints and
1927 &list_all_builtin_type_constraints
1928 functions to facilitate introspection.
1930 * Moose::Meta::Attribute
1931 - fixed regexp 'handles' declarations
1932 to build the list of delegated methods
1933 correctly (and not override important
1934 things like &new) thanks to ashleyb
1936 - added tests and docs for this
1937 - added the 'documentation' attributes
1938 so that you can actually document your
1939 attributes and inspect them through the
1941 - added tests and docs for this
1943 * Moose::Meta::Class
1944 - when loading custom attribute metaclasses
1945 it will first look in for the class in the
1946 Moose::Meta::Attribute::Custom::$name, and
1947 then default to just loading $name.
1948 - added tests and docs for this
1950 * Moose::Meta::TypeConstraint
1951 - type constraints now stringify to their names.
1952 - added test for this
1955 - added tests to assure we work with Module::Refresh
1956 - added stricter test skip logic in the Moose POOP
1957 test, ask Rob Kinyon why.
1958 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1960 0.18 Sat. March 10, 2007
1961 ~~ Many, many documentation updates ~~
1964 - We now use Class::MOP::load_class to
1966 - added tests to show types and subtypes
1967 working with Declare::Constraints::Simple
1968 and Test::Deep as constraint engines.
1971 !! You must have Class::MOP 0.37_001 !!
1972 !! for this developer release to work !!
1974 This release was primarily adding the immutable
1975 feature to Moose. An immutable class is one which
1976 you promise not to alter. When you set the class
1977 as immutable it will perform various bits of
1978 memoization and inline certain part of the code
1979 (constructors, destructors and accessors). This
1980 minimizes (and in some cases totally eliminates)
1981 one of Moose's biggest performance hits. This
1982 feature is not on by default, and is 100% optional.
1983 It has several configurable bits as well, so you
1984 can pick and choose to your specific needs.
1986 The changes involved in this were fairly wide and
1987 highly specific, but 100% backwards compatible, so
1988 I am not going to enumerate them here. If you are
1989 truely interested in what was changed, please do
1992 0.17 Tues. Nov. 14, 2006
1993 * Moose::Meta::Method::Accessor
1994 - bugfix for read-only accessors which
1995 are have a type constraint and lazy.
1996 Thanks to chansen for finding it.
1998 0.16 Tues. Nov. 14, 2006
2000 There are some speed improvements in this release,
2001 but they are only the begining, so stay tuned.
2004 - BUILDALL and DEMOLISHALL no longer get
2005 called unless they actually need to be.
2006 This gave us a signifigant speed boost
2007 for the cases when there is no BUILD or
2008 DEMOLISH method present.
2010 * Moose::Util::TypeConstraints
2011 * Moose::Meta::TypeConstraint
2012 - added an 'optimize_as' option to the
2013 type constraint, which allows for a
2014 hand optimized version of the type
2015 constraint to be used when possible.
2016 - Any internally created type constraints
2017 now provide an optimized version as well.
2019 0.15 Sun. Nov. 5, 2006
2021 This version of Moose *must* have Class::MOP 0.36 in order
2022 to work correctly. A number of small internal tweaks have
2023 been made in order to be compatible with that release.
2025 * Moose::Util::TypeConstraints
2026 - added &unimport so that you can clean out
2027 your class namespace of these exported
2030 * Moose::Meta::Class
2031 - fixed minor issue which occasionally
2032 comes up during global destruction
2034 - moved Moose::Meta::Method::Overriden into
2038 - moved Moose::Meta::Role::Method into
2041 * Moose::Meta::Attribute
2042 - changed how we do type checks so that
2043 we reduce the overall cost, but still
2046 - moved accessor generation methods to
2047 Moose::Meta::Method::Accessor to
2048 conform to the API changes from
2051 * Moose::Meta::TypeConstraint
2052 - changed how constraints are compiled
2053 so that we do less recursion and more
2054 iteration. This makes the type check
2056 - moved Moose::Meta::TypeConstraint::Union
2059 * Moose::Meta::Method::Accessor
2060 - created this from methods formerly found in
2061 Moose::Meta::Attribute
2063 * Moose::Meta::Role::Method
2064 - moved this from Moose::Meta::Role
2066 * Moose::Meta::Method::Overriden
2067 - moved this from Moose::Meta::Class
2069 * Moose::Meta::TypeConstraint::Union
2070 - moved this from Moose::Meta::TypeConstraint
2072 0.14 Mon. Oct. 9, 2006
2074 * Moose::Meta::Attribute
2075 - fixed lazy attributes which were not getting
2076 checked with the type constraint (thanks ashley)
2077 - added tests for this
2078 - removed the over-enthusiastic DWIMery of the
2079 automatic ArrayRef and HashRef defaults, it
2080 broke predicates in an ugly way.
2081 - removed tests for this
2083 0.13 Sat. Sept. 30, 2006
2085 This version of Moose *must* have Class::MOP 0.35 in order
2086 to work correctly. A number of small internal tweaks have
2087 been made in order to be compatible with that release.
2090 - Removed the use of UNIVERSAL::require to be a better
2091 symbol table citizen and remove a dependency
2092 (thanks Adam Kennedy)
2094 **~~ removed experimental & undocumented feature ~~**
2095 - commented out the 'method' and 'self' keywords, see the
2096 comments for more info.
2099 - added a FAQ and WTF files to document frequently
2100 asked questions and common problems
2102 * Moose::Util::TypeConstraints
2103 - added GlobRef and FileHandle type constraint
2104 - added tests for this
2106 * Moose::Meta::Attribute
2107 - if your attribute 'isa' ArrayRef of HashRef, and you have
2108 not explicitly set a default, then make the default DWIM.
2109 This will also work for subtypes of ArrayRef and HashRef
2111 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2112 - new test added for this (thanks to ashley)
2115 - added basic support for runtime role composition
2116 but this is still *highly experimental*, so feedback
2117 is much appreciated :)
2118 - added tests for this
2120 * Moose::Meta::TypeConstraint
2121 - the type constraint now handles the coercion process
2122 through delegation, this is to support the coercion
2125 * Moose::Meta::TypeConstraint::Union
2126 - it is now possible for coercions to be performed
2128 - added tests for this (thanks to konobi)
2130 * Moose::Meta::TypeCoercion
2131 - properly capturing error when type constraint
2135 - Scalar::Util 1.18 is bad on Win32, so temporarily
2136 only require version 1.17 for Win32 and cygwin.
2137 (thanks Adam Kennedy)
2139 0.12 Sat. Sept. 1, 2006
2141 - Recipe5 (subtypes & coercion) has been written
2144 - fixed "bad meta" error message to be more descriptive
2145 - fixed &unimport to not remove the &inner and &super
2146 keywords because we need to localize them.
2147 - fixed number of spelling/grammer issues, thanks Theory :)
2149 **~~ experimental & undocumented feature ~~**
2150 - added the method and self keywords, they are basically
2151 just sugar, and they may not stay around.
2154 - added &dump method to easily Data::Dumper
2157 * Moose::Meta::TypeConstraint
2158 - added the &is_a_type_of method to check both the current
2159 and the subtype of a method (similar to &isa with classes)
2162 - this is now a subclass of Class::MOP::Module, and no longer
2163 creates the _role_meta ugliness of before.
2164 - fixed tests to reflect this change
2166 0.11 Wed. July 12, 2006
2168 - added an &unimport method to remove all the keywords
2169 that Moose will import, simply add 'no Moose' to the
2170 bottom of your class file.
2173 - fixed some test failures caused by a forgotten test
2176 0.10 Thurs. July 6, 2006
2178 - improved error message when loading modules so
2179 it is less confusing when you load a role.
2180 - added &calculate_all_roles method to
2181 Moose::Meta::Class and Moose::Meta::Role
2184 This module has been tested against Class::MOP 0.30
2185 but it does not yet utilize the optimizations
2186 it makes available. Stay tuned for that ;)
2188 0.09_03 Fri. June 23, 2006
2189 ++ DEVELOPER RELEASE ++
2191 - 'use strict' and 'use warnings' are no longer
2192 needed in Moose classes, Moose itself will
2193 turn them on for you.
2194 - added tests for this
2195 - moved code from exported subs to private methods
2196 in Moose::Meta::Class
2199 - as with Moose, strict and warnings are
2200 automatically turned on for you.
2201 - added tests for this
2204 - now handles an edge case for override errors
2205 - added tests for this
2206 - added some more edge case tests
2208 0.09_02 Tues. May 16, 2006
2209 ++ DEVELOPER RELEASE ++
2211 - added prototypes to the exported subs
2215 - added prototypes to the exported subs
2218 * Moose::Util::TypeConstraints
2219 - cleaned up prototypes for the subs
2222 0.09_01 Fri. May 12, 2006
2223 ++ DEVELOPER RELEASE ++
2224 - This release works in combination with
2225 Class::MOP 0.29_01, it is a developer
2226 release because it uses the a new
2227 instance sub-protocol and a fairly
2228 complete Role implementation. It has
2229 not yet been optimized, so it slower
2230 the the previous CPAN version. This
2231 release also lacks good updated docs,
2232 the official release will have updated docs.
2235 - refactored the keyword exports
2236 - 'with' now checks Role validaity and
2237 accepts more than one Role at a time
2238 - 'extends' makes metaclass adjustments as
2239 needed to ensure metaclass compatibility
2242 - refactored the keyword exports
2243 - 'with' now checks Role validaity and
2244 accepts more than one Role at a time
2246 * Moose::Util::TypeConstraints
2247 - added the 'enum' keyword for simple
2248 string enumerations which can be used as
2250 - see example of usage in t/202_example.t
2253 - more careful checking of params to new()
2256 - much work done on the role composition
2257 - many new tests for conflict detection
2258 and composition edge cases
2259 - not enough documentation, I suggest
2260 looking at the tests
2262 * Moose::Meta::Instance
2263 - added new Instance metaclass to support
2264 the new Class::MOP instance protocol
2266 * Moose::Meta::Class
2267 - some small changes to support the new
2269 - some small additions to support Roles
2271 * Moose::Meta::Attribute
2272 - some improvements to the accessor generation code
2274 - some small changes to support the new
2276 - (still somewhat) experimental delegation support
2277 with the 'handles' option
2278 - added several tests for this
2279 - no docs for this yet
2281 0.05 Thurs. April 27, 2006
2283 - keywords are now exported with Sub::Exporter
2284 thanks to chansen for this commit
2285 - has keyword now takes a 'metaclass' option
2286 to support custom attribute meta-classes
2287 on a per-attribute basis
2288 - added tests for this
2289 - the 'has' keyword not accepts inherited slot
2290 specifications (has '+foo'). This is still an
2291 experimental feature and probably not finished
2292 see t/038_attribute_inherited_slot_specs.t for
2293 more details, or ask about it on #moose
2294 - added tests for this
2297 - keywords are now exported with Sub::Exporter
2299 * Moose::Utils::TypeConstraints
2300 - reorganized the type constraint hierarchy, thanks
2301 to nothingmuch and chansen for his help and advice
2303 - added some tests for this
2304 - keywords are now exported with Sub::Exporter
2305 thanks to chansen for this commit
2307 * Moose::Meta::Class
2308 - due to changes in Class::MOP, we had to change
2309 construct_instance (for the better)
2311 * Moose::Meta::Attribute
2312 - due to changes in Class::MOP, we had to add the
2313 initialize_instance_slot method (it's a good thing)
2315 * Moose::Meta::TypeConstraint
2316 - added type constraint unions
2317 - added tests for this
2318 - added the is_subtype_of predicate method
2319 - added tests for this
2321 0.04 Sun. April 16th, 2006
2323 - Roles can now consume other roles
2324 - added tests for this
2325 - Roles can specify required methods now with
2326 the requires() keyword
2327 - added tests for this
2330 - ripped out much of it's guts ,.. much cleaner now
2331 - added required methods and correct handling of
2332 them in apply() for both classes and roles
2333 - added tests for this
2334 - no longer adds a does() method to consuming classes
2335 it relys on the one in Moose::Object
2336 - added roles attribute and some methods to support
2337 roles consuming roles
2339 * Moose::Meta::Attribute
2340 - added support for triggers on attributes
2341 - added tests for this
2342 - added support for does option on an attribute
2343 - added tests for this
2345 * Moose::Meta::Class
2346 - added support for attribute triggers in the
2348 - added tests for this
2351 - Moose no longer creates a subtype for your class
2352 if a subtype of the same name already exists, this
2353 should DWIM in 99.9999% of all cases
2355 * Moose::Util::TypeConstraints
2356 - fixed bug where incorrect subtype conflicts were
2358 - added test for this
2361 - this class can now be extended with 'use base' if
2362 you need it, it properly loads the metaclass class now
2363 - added test for this
2365 0.03_02 Wed. April 12, 2006
2367 - you must now explictly use Moose::Util::TypeConstraints
2368 it no longer gets exported for you automatically
2371 - new() now accepts hash-refs as well as key/value lists
2372 - added does() method to check for Roles
2373 - added tests for this
2375 * Moose::Meta::Class
2376 - added roles attribute along with the add_role() and
2378 - added tests for this
2381 - now adds a does() method to consuming classes
2382 which tests the class's hierarchy for roles
2383 - added tests for this
2385 0.03_01 Mon. April 10, 2006
2387 - added new Role recipe (no content yet, only code)
2390 - added 'with' keyword for Role support
2391 - added test and docs for this
2392 - fixed subtype quoting bug
2393 - added test for this
2397 - added test and docs
2399 * Moose::Util::TypeConstraints
2400 - added the message keyword to add custom
2401 error messages to type constraints
2404 - the meta role to support Moose::Role
2405 - added tests and docs
2407 * Moose::Meta::Class
2408 - moved a number of things from Moose.pm
2409 to here, they should have been here
2412 * Moose::Meta::Attribute
2413 - moved the attribute option macros here
2414 instead of putting them in Moose.pm
2416 * Moose::Meta::TypeConstraint
2417 - added the message attributes and the
2419 - added tests and docs for this
2421 0.03 Thurs. March 30, 2006
2423 - added the Moose::Cookbook with 5 recipes,
2424 describing all the stuff Moose can do.
2427 - fixed an issue with &extends super class loading
2428 it now captures errors and deals with inline
2429 packages correctly (bug found by mst, solution
2431 - added super/override & inner/augment features
2432 - added tests and docs for these
2435 - BUILDALL now takes a reference of the %params
2436 that are passed to &new, and passes that to
2439 * Moose::Util::TypeConstraints
2440 - Type constraints now survive runtime reloading
2441 - added test for this
2443 * Moose::Meta::Class
2444 - fixed the way attribute defaults are handled
2445 during instance construction (bug found by chansen)
2447 * Moose::Meta::Attribute
2448 - read-only attributes now actually enforce their
2449 read-only-ness (this corrected in Class::MOP as
2452 0.02 Tues. March 21, 2006
2454 - many more tests, fixing some bugs and
2456 - &extends now loads the base module with
2458 - added UNIVERSAL::require to the
2461 - each new Moose class will also create
2462 and register a subtype of Object which
2463 correspond to the new Moose class.
2464 - the 'isa' option in &has now only
2465 accepts strings, and will DWIM in
2468 * Moose::Util::TypeConstraints
2469 - added type coercion features
2470 - added tests for this
2471 - added support for this in attributes
2472 and instance construction
2474 - type construction no longer creates a
2475 function, it registers the type instead.
2476 - added several functions to get the
2480 - BUILDALL and DEMOLISHALL were broken
2481 because of a mis-named hash key, Whoops :)
2483 * Moose::Meta::Attribute
2484 - adding support for coercion in the
2485 autogenerated accessors
2487 * Moose::Meta::Class
2488 - adding support for coercion in the
2489 instance construction
2491 * Moose::Meta::TypeConstraint
2492 * Moose::Meta::TypeCoercion
2493 - type constraints and coercions are now
2494 full fledges meta-objects
2496 0.01 Wed. March 15, 2006
2497 - Moooooooooooooooooose!!!