1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
4 0.75 Mon, April 20, 2009
7 - Move validation of not inheriting from roles from Moose::extends to
8 Moose::Meta::Class::superclasses (doy)
11 - add ensure_all_roles() function to encapsulate the common "apply this
12 role unless the object already does it" pattern (hdp)
15 - Users can now select a different metaclass with the "-metaclass"
16 option to import, for classes and roles (Sartak)
19 - Make method_metaclass an attr so that it can accept a metarole
22 0.74 Tue, April 7, 2009
24 * Moose::Meta::Method::Destructor
25 - Include stack traces in the deprecation warnings.
29 - Removed the long-deprecated _apply_all_roles method.
31 * Moose::Meta::TypeConstraint
32 - Removed the long-deprecated union method.
35 0.73_02 Mon, April 6, 2009
36 * More deprecations and renamings
37 - Moose::Meta::Method::Constructor
38 - initialize_body => _initialize_body (this is always called
39 when an object is constructed)
42 - The DEMOLISHALL method could throw an exception during global
43 destruction, meaning that your class's DEMOLISH methods would
44 not be properly called. Reported by t0m.
46 * Moose::Meta::Method::Destructor
47 - Destructor inlining was totally broken by the change to the
48 is_needed method in 0.72_01. Now there is a test for this
49 feature, and it works again.
52 - Bold the word 'not' in the POD for find_meta (t0m)
54 0.73_01 Sun, April 5, 2009
56 - Call user_class->meta in fewer places, with the eventual goal
57 of allowing the user to rename or exclude ->meta
58 altogether. Instead uses Class::MOP::class_of. (Sartak)
60 * Moose::Meta::Method::Accessor
61 - If an attribute had a lazy default, and that value did not
62 pass the attribute's type constraint, it did not get the
63 message from the type constraint, instead using a generic
64 message. Test provided by perigrin.
66 * Moose::Util::TypeConstraints
67 - Add duck_type keyword. It's sugar over making sure an object
68 can() a list of methods. This is easier than jrockway's
69 suggestion to fork all of CPAN. (perigrin)
70 - add tests and documentation (perigrin)
73 - Document the fact that init_meta() returns the target class's
74 metaclass object. (hdp)
76 * Moose::Cookbook::Extending::Recipe1
77 * Moose::Cookbook::Extending::Recipe2
78 * Moose::Cookbook::Extending::Recipe3
79 * Moose::Cookbook::Extending::Recipe4
80 - Make init_meta() examples explicitly return the metaclass and
81 point out this fact. (hdp)
83 * Moose::Cookbook::Basics::Recipe12
84 - A new recipe, creating a custom meta-method class.
86 * Moose::Cookbook::Meta::Recipe6
87 - A new recipe, creating a custom meta-method class.
90 * Moose::Meta::Method::Constructor
91 - Attribute triggers no longer receive the meta-attribute object
92 as an argument in any circumstance. Previously, triggers
93 called during instance construction were passed the
94 meta-attribute, but triggers called by normal accessors were
95 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
97 * Moose::Manual::Attributes
98 - Remove references to triggers receving the meta-attribute object as an
101 * Moose::Cookbook::FAQ
102 - Remove recommendation for deprecated Moose::Policy and
103 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
106 * Many methods have been renamed with a leading underscore, and a
107 few have been deprecated entirely. The methods with a leading
108 underscore are consider "internals only". People writing
109 subclasses or extensions to Moose should feel free to override
110 them, but they are not for "public" use.
113 - check_metaclass_compatibility => _check_metaclass_compatibility
115 - Moose::Meta::Method::Accessor
116 - initialize_body => _initialize_body (this is always called
117 when an object is constructed)
118 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
120 - Moose::Meta::Method::Constructor
121 - initialize_body => _initialize_body (this is always called
122 when an object is constructed)
123 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
124 - attributes => _attributes (now inherited from parent)
125 - meta_instance => _meta_instance (now inherited from parent)
128 - alias_method is deprecated. Use add_method
130 0.73 Fri, March 29, 2009
131 * No changes from 0.72_01.
133 0.72_01 Thu, March 26, 2009
135 - Almost every module has complete API documentation. A few
136 methods (and even whole classes) have been intentionally
137 excluded pending some rethinking of their APIs.
139 * Moose::Util::TypeConstraints
140 - Calling subtype with a name as the only argument is now an
141 exception. If you want an anonymous subtype do:
143 my $subtype = subtype as 'Foo';
145 * Moose::Cookbook::Meta::Recipe7
146 - A new recipe, creating a custom meta-instance class.
148 * Moose::Cookbook::Basics::Recipe5
149 - Fix various typos and mistakes. Includes a patch from Radu
152 * Moose::Cookbook::Basics::Recipe9
153 - Link to this recipe from Moose.pm's builder blurb
156 - When wrapping a function with a prototype, Moose::Exporter now
157 makes sure the wrapped function still has the same
158 prototype. (Daisuke Maki)
160 * Moose::Meta::Attribute
161 - Allow a subclass to set lazy_build for an inherited
165 - Explicitly depend on Data::OptList. We already had this dependency
166 via Sub::Exporter, but since we're using it directly we're
167 better off with it listed. (Sartak)
169 * Moose::Meta::Method::Constructor
170 - Make it easier to subclass the inlining behaviour. (Ash
173 * Moose::Manual::Delta
174 - Details significant changes in the history of Moose, along
175 with recommended workarounds.
177 * Moose::Manual::Contributing
178 - Contributor's guide to Moose.
180 * Moose::Meta::Method::Constructor
181 - The long-deprecated intialize_body method has been removed
182 (yes, spelled like that).
184 * Moose::Meta::Method::Destructor
185 - This is_needed method is now always a class method.
188 - Changes to the internals of how make_immutable works to match
189 changes in latest Class::MOP.
191 0.72 Mon, February 23, 2009
193 * Moose::Meta::Method::Constructor
194 - A mutable class accepted Foo->new(undef) without complaint,
195 while an immutable class would blow up with an unhelpful
196 error. Now, in both cases we throw a helpful error
197 instead. Reported by doy.
199 0.71_01 Sun, February 22, 2009
201 - Hopefully fixed some POD errors in a few recipes that caused
202 them to display weird on search.cpan.org.
204 * Moose::Util::TypeConstraints
205 - Calling type or subtype without the sugar helpers (as, where,
206 message) is now deprecated.
207 - The subtype function tried hard to guess what you meant, but
208 often got it wrong. For example:
210 my $subtype = subtype as 'ArrayRef[Object]';
212 This caused an error in the past, but now works as you'd
216 - Make sure Moose.pm is loaded before calling
217 Moose->throw_error. This wasn't normally an issue, but could
218 bite you in weird cases.
220 0.71 Thu, February 19, 2009
221 * Moose::Cookbook::Basics::Recipe11
222 - A new recipe which demonstrates the use of BUILDARGS and
225 * Moose::Cookbook::Roles::Recipe3
226 - A new recipe, applying a role to an object instance. (Dave
230 - Allow overriding specific keywords from "also" packages. (doy)
233 - Replace hardcoded cookbook tests with Test::Inline to ensure
234 the tests match the actual code in the recipes. (Dave Rolsky)
237 - Working on the above turned up a number of little bugs in the
238 recipe code. (Dave Rolsky)
240 * Moose::Util::TypeConstraints::Optimized
241 - Just use Class::MOP for the optimized ClassName check. (Dave
244 0.70 Sat, February 14, 2009
245 * Moose::Util::TypeConstraints
246 - Added the RoleName type (stevan)
247 - added tests for this (stevan)
249 * Moose::Cookbook::Basics::Recipe3
250 - Updated the before qw[left right] sub to be a little more
251 defensive about what it accepts (stevan)
252 - added more tests to t/000_recipies/basics/003_binary_tree.t
256 - We now always call DEMOLISHALL, even if a class does not
257 define DEMOLISH. This makes sure that method modifiers on
258 DEMOLISHALL work as expected. (doy)
259 - added tests for this (EvanCarroll)
261 * Moose::Util::MetaRole
262 - Accept roles for the wrapped_method_metaclass (rafl)
263 - added tests for this (rafl)
265 * Moose::Meta::Attribute
266 - We no longer pass the meta-attribute object as a final
267 argument to triggers. This actually changed for inlined code a
268 while back, but the non-inlined version and the docs were
272 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
273 they require 0.11. (Dave Rolsky)
276 - Lots of small changes to the manual, cookbook, and
277 elsewhere. These were based on feedback from various
278 users, too many to list here. (Dave Rolsky)
280 0.69 Thu, February 12, 2009
282 - Make some keyword errors use throw_error instead of croak
283 since Moose::Exporter wraps keywords now (Sartak)
286 - Revised every recipe for style and clarity. Also moved some
287 documentation out of cookbook recipes and into Moose::Manual
288 pages. This work was funded as part of the Moose docs grant
289 from TPF. (Dave Rolsky)
291 * Moose::Meta::Method::Delegation
292 - If the attribute doing the delegation was not populated, the
293 error message did not specify the attribute name
296 0.68 Wed, February 4, 2009
298 - Many spelling, typo, and formatting fixes by daxim.
300 * Moose::Manual::Attributes
301 - The NAME section in the POD used "Attribute" so search.cpan
302 didn't resolve links from other documents properly.
304 * Moose::Meta::Method::Overriden
305 - Now properly spelled as Overridden. Thanks to daxim for
308 0.67 Tue, February 3, 2009
310 - Lots of little typo fixes and a few clarifications. Several
311 pages didn't have proper titles, and so weren't actually
312 visible on search.cpan.org. Thanks to hanekomu for a variety
313 of fixes and formatting improvements.
315 0.66 Tue, February 3, 2009
317 - This is a brand new, extensive manual for Moose. This aims to
318 provide a complete introduction to all of Moose's
319 features. This work was funded as part of the Moose docs grant
320 from TPF. (Dave Rolsky)
322 * Moose::Meta::Attribute
323 - Added a delegation_metaclass method to replace a hard-coded
324 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
326 * Moose::Util::TypeConstraints
327 - If you created a subtype and passed a parent that Moose didn't
328 know about, it simply ignored the parent. Now it automatically
329 creates the parent as a class type. This may not be what you
330 want, but is less broken than before. (Dave Rolsky)
332 * Moose::Util::TypeConstraints
333 - This module tried throw errors by calling Moose->throw_error,
334 but it did not ensure that Moose was loaded first. This could
335 cause very unhelpful errors when it tried to throw an error
336 before Moose was loaded. (Dave Rolsky)
338 * Moose::Util::TypeConstraints
339 - You could declare a name with subtype such as "Foo!Bar" that
340 would be allowed, but if you used it in a parameterized type
341 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
342 vetting on names created via the sugar functions, so that they
343 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
345 0.65 Thu, January 22, 2008
346 * Moose and Moose::Meta::Method::Overridden
347 - If an overridden method called super(), and then the
348 superclass's method (not overridden) _also_ called super(),
349 Moose went into an endless recursion loop. Test provided by
350 Chris Prather. (Dave Rolsky)
352 * Moose::Meta::TypeConstraint
353 - All methods are now documented. (gphat)
355 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
356 - Fixed some bogus failures that occurred because we tried to
357 validate filesystem paths in a very ad-hoc and
358 not-quite-correct way. (Dave Rolsky)
360 * Moose::Util::TypeConstraints
361 - Added maybe_type to exports. See docs for details. (rjbs)
364 - Added Moose::Util::TypeConstraints to the SEE ALSO
368 - Methods created via an attribute can now fulfill a "requires"
369 declaration for a role. (nothingmuch)
371 * Moose::Meta::Method::*
372 - Stack traces from inlined code will now report its line and
373 file as being in your class, as opposed to in Moose
376 0.64 Wed, December 31, 2008
377 * Moose::Meta::Method::Accessor
378 - Always inline predicate and clearer methods (Sartak)
380 * Moose::Meta::Attribute
381 - Support for parameterized traits (Sartak)
382 - verify_against_type_constraint method to avoid duplication
383 and enhance extensibility (Sartak)
386 - Tests (but no support yet) for parameterized traits (Sartak)
389 - Require Class::MOP 0.75+, which has the side effect of making
390 sure we work on Win32. (Dave Rolsky)
392 0.63 Mon, December 8, 2008
394 - Some small grammar tweaks and bug fixes in non-Moose example
397 0.62_02 Fri, December 5, 2008
398 * Moose::Meta::Role::Application::ToClass
399 - When a class does not provide all of a role's required
400 methods, the error thrown now mentions all of the missing
401 methods, as opposed to just the first one found. Requested by
402 Curtis Poe (RT #41119). (Dave Rolsky)
404 * Moose::Meta::Method::Constructor
405 - Moose will no longer inline a constructor for your class
406 unless it inherits its constructor from Moose::Object, and
407 will warn when it doesn't inline. If you want to force
408 inlining anyway, pass "replace_constructor => 1" to
409 make_immutable. Addresses RT #40968, reported by Jon
410 Swartz. (Dave Rolsky)
411 - The quoting of default values could be broken if the default
412 contained a single quote ('). Now we use quotemeta to escape
413 anything potentially dangerous in the defaults. (Dave Rolsky)
415 0.62_01 Wed, December 3, 2008
417 - use the method->execute API for BUILDALL
418 and DEMOLISHALL (Sartak)
420 * Moose::Util::TypeConstraints
421 - We now make all the type constraint meta classes immutable
422 before creating the default types provided by Moose. This
423 should make loading Moose a little faster. (Dave Rolsky)
425 0.62 Wed November 26, 2008
426 * Moose::Meta::Role::Application::ToClass
427 Moose::Meta::Role::Application::ToRole
428 - fixed issues where excluding and aliasing the
429 same methods for a single role did not work
430 right (worked just fine with multiple
432 - added test for this (stevan)
434 * Moose::Meta::Role::Application::RoleSummation
435 - fixed the error message when trying to compose
436 a role with a role it excludes (Sartak)
439 - Catch another case where recursion caused the value
440 of $CALLER to be stamped on (t0m)
441 - added test for this (t0m)
444 - Remove the make_immutable keyword, which has been
445 deprecated since April. It breaks metaclasses that
446 use Moose without no Moose (Sartak)
448 * Moose::Meta::Attribute
449 - Removing an attribute from a class now also removes delegation
450 (handles) methods installed for that attribute (t0m)
451 - added test for this (t0m)
453 * Moose::Meta::Method::Constructor
454 - An attribute with a default that looked like a number (but was
455 really a string) would accidentally be treated as a number
456 when the constructor was made immutable (perigrin)
457 - added test for this (perigrin)
460 - create method for constructing a role
462 - added test for this (Sartak)
463 - anonymous roles! (Sartak)
464 - added test for this (Sartak)
467 - more consistent error messages (Sartak)
469 * Moose::Cookbook::Roles::Recipe1
470 - attempt to explain why a role that just requires
471 methods is useful (Sartak)
473 0.61 Fri November 7, 2008
474 * Moose::Meta::Attribute
475 - When passing a role to handles, it will be loaded if necessary
479 - Method objects returned by get_method (and other methods)
480 Could end up being returned without an associated_metaclass
481 attribute. Removing get_method_map, which is provided by
482 Class::MOP::Class, fixed this. The Moose version did nothing
483 different from its parent except introduce a bug. (Dave Rolsky)
484 - added tests for this (jdv79)
487 - Added a $VERSION to all .pm files which didn't have one. Fixes
488 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
490 * Moose::Cookbook::Basics::Recipe4
491 * Moose::Cookbook::Basics::Recipe6
492 - These files had spaces on the first line of the SYNOPSIS, as
493 opposed to a totally empty line. According to RT #40432, this
494 confuses POD parsers. (Dave Rolsky)
496 0.60 Fri October 24, 2008
498 - Passing "-traits" when loading Moose caused the Moose.pm
499 exports to be broken. Reported by t0m. (Dave Rolsky)
500 - Tests for this bug. (t0m)
503 - Change resolve_metaclass alias to use the new
504 load_first_existing_class function. This makes it a lot
505 simpler, and also around 5 times faster. (t0m)
506 - Add caching to resolve_metaclass_alias, which gives an order
507 of magnitude speedup to things which repeatedly call the
508 Moose::Meta::Attribute->does method, notably MooseX::Storage
511 * Moose::Util::TypeConstraint
512 - Put back the changes for parameterized constraints that
513 shouldn't have been removed in 0.59. We still cannot parse
514 them, but MooseX modules can create them in some other
515 way. See the 0.58 changes for more details. (jnapiorkowski)
516 - Changed the way subtypes are created so that the job is
517 delegated to a type constraint parent. This clears up some
518 hardcoded checking and should allow correct subtypes of
519 Moose::Meta::Type::Constraint. Don't rely on this new API too
520 much (create_child_type) because it may go away in the
521 future. (jnapiorkowski)
523 * Moose::Meta::TypeConstraint::Union
524 - Type constraint names are sorted as strings, not numbers.
527 * Moose::Meta::TypeConstraint::Parameterizable
528 - New parameterize method. This can be used as a factory method
529 to make a new type constraint with a given parameterized
530 type. (jnapiorkowski)
531 - added tests (jnapiorkowski)
533 0.59 Tue October 14, 2008
535 - Add abridged documentation for builder/default/initializer/
536 predicate, and link to more details sections in
537 Class::MOP::Attribute. (t0m)
539 * Moose::Util::TypeConstraints
540 - removed prototypes from all but the &-based stuff (mst)
542 * Moose::Util::TypeConstraints
543 - Creating a anonymous subtype with both a constraint and a
544 message failed with a very unhelpful error, but should just
545 work. Reported by t0m. (Dave Rolsky)
548 - Some tests that used Test::Warn if it was available failed
549 with older versions of Test::Warn. Reported by Fayland. (Dave
551 - Test firing behavior of triggers in relation to builder/default/
553 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
554 kinds of supported type. (t0m)
557 - In create(), do not pass "roles" option to the superclass
558 - added related test that creates an anon metaclass with
561 * Moose::Meta::TypeConstraint::Class
562 * Moose::Meta::TypeConstraint::Role
563 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
564 other types (as per change in 0.55_02). (t0m)
566 * Moose::Meta::TypeConstraint::Registry
567 - Fix warning when dealing with unknown type names (t0m)
569 * Moose::Util::TypeConstraints
570 - Reverted changes from 0.58 related to handle parameterized
571 types. This caused random failures on BSD and Win32 systems,
572 apparently related to the regex engine. This means that Moose
573 can no longer parse structured type constraints like
574 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
575 supported in a slightly different way via MooseX::Types some
576 time in the future. (Dave Rolsky)
578 0.58 Sat September 20, 2008
579 !! This release has an incompatible change regarding !!
580 !! how roles add methods to a class !!
582 * Roles and role application
583 ! Roles now add methods by calling add_method, not
584 alias_method. They make sure to always provide a method
585 object, which will be cloned internally. This means that it is
586 now possible to track the source of a method provided by a
587 role, and even follow its history through intermediate roles.
589 This means that methods added by a role now show up when
590 looking at a class's method list/map. (Dave Rolsky)
593 - From this release on, we'll try to maintain a list of
594 conflicting modules, and warn you if you have one
595 installed. For example, this release conflicts with ...
596 - MooseX::Singleton <= 0.11
597 - MooseX::Params::Validate <= 0.05
600 In general, we try to not break backwards compatibility for
601 most Moose users, but MooseX modules and other code which
602 extends Moose's metaclasses is often affected by very small
603 changes in the Moose internals.
605 * Moose::Meta::Method::Delegation
606 * Moose::Meta::Attribute
607 - Delegation methods now have their own method class. (Dave
610 * Moose::Meta::TypeConstraint::Parameterizable
611 - Added a new method 'parameterize' which is basically a factory
612 for the containing constraint. This makes it easier to create
613 new types of parameterized constraints. (jnapiorkowski)
615 * Moose::Meta::TypeConstraint::Union
616 - Changed the way Union types canonicalize their names to follow
617 the normalized TC naming rules, which means we strip all
618 whitespace. (jnapiorkowski)
620 * Moose::Util::TypeConstraints
621 - Parameter and Union args are now sorted, this makes Int|Str
622 the same constraint as Str|Int. (jnapiorkowski)
623 - Changes to the way Union types are parsed to more correctly
624 stringify their names. (jnapiorkowski)
625 - When creating a parameterized type, we now use the new
626 parameterize method. (jnapiorkowski)
627 - Incoming type constraint strings are now normalized to remove
628 all whitespace differences. (jnapiorkowski)
629 - Changed the way we parse type constraint strings so that we now
630 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
631 constraints. This lays the foundation for more flexible type
632 constraint implementations.
634 * Tests and docs for all the above. (jnapiorkowski)
638 - Moose::Exporter will no longer remove a subroutine that the
639 exporting package re-exports. Moose re-exports the
640 Carp::confess function, among others. The reasoning is that we
641 cannot know whether you have also explicitly imported those
642 functions for your own use, so we err on the safe side and
643 always keep them. (Dave Rolsky)
644 - added tests for this (rafl)
647 - Changes to how we fix metaclass compatibility that are much
648 too complicated to go into. The summary is that Moose is much
649 less likely to complain about metaclass incompatibility
650 now. In particular, if two metaclasses differ because
651 Moose::Util::MetaRole was used on the two corresponding
652 classes, then the difference in roles is reconciled for the
653 subclass's metaclass. (Dave Rolsky)
654 - Squashed an warning in _process_attribute (thepler)
657 - throw exceptions (sooner) for invalid attribute names (thepler)
658 - added tests for this (thepler)
660 * Moose::Util::MetaRole
661 - If you explicitly set a constructor or destructor class for a
662 metaclass object, and then applied roles to the metaclass,
663 that explicitly set class would be lost and replaced with the
667 * Moose::Meta::Attribute
668 * Moose::Meta::Method
671 * Moose::Error::Default
672 * Moose::Error::Croak
673 * Moose::Error::Confess
674 - All instances of confess() changed to use overridable
675 C<throw_error> method. This method ultimately calls a class
676 constructor, and you can change the class being called. In
677 addition, errors now pass more information than just a string.
678 The default C<error_class> behaves like C<Carp::confess>, so
679 the behavior is not visibly different for end users.
681 0.57 Wed September 3, 2008
683 - A new bit of doc intended to introduce folks familiar with
684 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
687 - Shows examples of two classes, each done first with and then
688 without Moose. This makes a nice parallel to
689 Moose::Intro. (Dave Rolsky)
691 * Moose::Util::TypeConstraints
692 - Fixed a bug in find_or_parse_type_constraint so that it
693 accepts a Moose::Meta::TypeConstraint object as the parent
694 type, not just a name (jnapiorkowski)
695 - added tests (jnapiorkowski)
698 - If Sub::Name was not present, unimporting failed to actually
699 remove some sugar subs, causing test failures (Dave Rolsky)
701 0.56 Mon September 1, 2008
702 For those not following the series of dev releases, there are
703 several major changes in this release of Moose.
704 ! Moose::init_meta should now be called as a method. See the
707 - Major performance improvements by nothingmuch.
709 - New modules for extension writers, Moose::Exporter and
710 Moose::Util::MetaRole by Dave Rolsky.
712 - Lots of doc improvements and additions, especially in the
717 * Removed all references to the experimental-but-no-longer-needed
718 Moose::Meta::Role::Application::ToMetaclassInstance.
720 * Require Class::MOP 0.65.
722 0.55_04 Sat August 30, 2008
723 * Moose::Util::MetaRole
724 * Moose::Cookbook::Extending::Recipe2
725 - This simplifies the application of roles to any meta class, as
726 well as the base object class. Reimplemented metaclass traits
727 using this module. (Dave Rolsky)
729 * Moose::Cookbook::Extending::Recipe1
730 - This a new recipe, an overview of various ways to write Moose
731 extensions (Dave Rolsky)
733 * Moose::Cookbook::Extending::Recipe3
734 * Moose::Cookbook::Extending::Recipe4
735 - These used to be Extending::Recipe1 and Extending::Recipe2,
738 0.55_03 Fri August 29, 2008
739 * No changes from 0.55_02 except increasing the Class::MOP
740 dependency to 0.64_07.
742 0.55_02 Fri August 29, 2008
743 * Makefile.PL and Moose.pm
744 - explicitly require Perl 5.8.0+ (Dave Rolsky)
746 * Moose::Util::TypeConstraints
747 - Fix warnings from find_type_constraint if the type is not
750 * Moose::Meta::TypeConstraint
751 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
752 return false if the type you specify cannot be found in the
753 type registry, rather than throwing an unhelpful and
754 coincidental exception. (t0m).
755 - added docs & test for this (t0m)
757 * Moose::Meta::TypeConstraint::Registry
758 - add_type_constraint now throws an exception if a parameter is
760 - added docs & test for this (t0m)
762 * Moose::Cookbook::FAQ
763 - Added a faq entry on the difference between "role" and "trait"
767 - Fixed a bug that caused role composition to not see a required
768 method when that method was provided by another role being
769 composed at the same time. (Dave Rolsky)
770 - test and bug finding (tokuhirom)
772 0.55_01 Wed August 20, 2008
774 !! Calling Moose::init_meta as a function is now !!
775 !! deprecated. Please see the Moose.pm docs for details. !!
777 * Moose::Meta::Method::Constructor
778 - Fix inlined constructor so that values produced by default
779 or builder methods are coerced as required. (t0m)
780 - added test for this (t0m)
782 * Moose::Meta::Attribute
783 - A lazy attribute with a default or builder did not attempt to
784 coerce the default value. The immutable code _did_
786 - added test for this (t0m)
789 - This is a new helper module for writing "Moose-alike"
790 modules. This should make the lives of MooseX module authors
791 much easier. (Dave Rolsky)
794 * Moose::Cookbook::Meta::Recipe5
795 - Implemented metaclass traits (and wrote a recipe for it):
797 use Moose -traits => 'Foo'
799 This should make writing small Moose extensions a little
802 * Moose::Cookbook::Basics::Recipe1
803 - Removed any examples of direct hashref access, and applied an
804 editorial axe to reduce verbosity. (Dave Rolsky)
806 * Moose::Cookbook::Basics::Recipe1
807 - Also applied an editorial axe here. (Dave Rolsky)
810 * Moose::Cookbook::Extending::Recipe1
811 * Moose::Cookbook::Extending::Recipe2
812 - Rewrote extending and embedding moose documentation and
813 recipes to use Moose::Exporter (Dave Rolsky)
817 - These two modules now warn when you load them from the main
818 package "main" package, because we will not export sugar to
819 main. Previously it just did nothing. (Dave Rolsky)
822 - Now provide an init_meta method just like Moose.pm, and you
823 can call this to provide an alternate role metaclass. (Dave
824 Rolsky and nothingmuch)
825 - get_method_map now respects the package cache flag (nothingmuch)
828 - Two new methods - add_method and wrap_method_body
832 - Optimizations including allowing constructors to accept hash
833 refs, making many more classes immutable, and making
834 constructors immutable. (nothingmuch)
836 0.55 Sun August 3, 2008
837 * Moose::Meta::Attribute
838 - breaking down the way 'handles' methods are
839 created so that the process can be more easily
840 overridden by subclasses (stevan)
842 * Moose::Meta::TypeConstraint
843 - fixing what is passed into a ->message with
844 the type constraints (RT #37569)
845 - added tests for this (Charles Alderman)
847 * Moose::Util::TypeConstraints
848 - fix coerce to accept anon types like subtype can (mst)
851 - reorganized the recipes into sections - Basics, Roles, Meta,
852 Extending - and wrote abstracts for each section (Dave Rolsky)
854 * Moose::Cookbook::Basics::Recipe10
855 - A new recipe that demonstrates operator overloading
856 in combination with Moose. (bluefeet)
858 * Moose::Cookbook::Meta::Recipe1
859 - an introduction to what meta is and why you'd want to make
860 your own metaclass extensions (Dave Rolsky)
862 * Moose::Cookbook::Meta::Recipe4
863 - a very simple metaclass example (Dave Rolsky)
865 * Moose::Cookbook::Extending::Recipe1
866 - how to write a Moose-alike module to use your own object base
869 * Moose::Cookbook::Extending::Recipe2
870 - how to write modules with an API just like C<Moose.pm> (Dave
874 - Tons of fixes, both syntactical and grammatical (Dave
875 Rolsky, Paul Fenwick)
877 0.54 Thurs. July 3, 2008
878 ... this is not my day today ...
880 * Moose::Meta::Attribute
881 - fixed legal_options_for_inheritance such that
882 clone_and_inherit options still works for
883 Class::MOP::Attribute objects and therefore
884 does not break MooseX::AttributeHelpers
887 0.53 Thurs. July 3, 2008
888 * Whoops, I guess I should run 'make manifest' before
889 actually releasing the module. No actual changes
890 in this release, except the fact that it includes
891 the changes that I didn't include in the last
894 0.52 Thurs. July 3, 2008
896 - added "FEATURE REQUESTS" section to the Moose docs
897 to properly direct people (stevan) (RT #34333)
898 - making 'extends' croak if it is passed a Role since
899 this is not ever something you want to do
900 (fixed by stevan, found by obra)
901 - added tests for this (stevan)
904 - adding support for DOES (as in UNIVERSAL::DOES)
906 - added test for this
908 * Moose::Meta::Attribute
909 - added legal_options_for_inheritance (wreis)
910 - added tests for this (wreis)
912 * Moose::Cookbook::Snacks::*
913 - removed some of the unfinished snacks that should
914 not have been released yet. Added some more examples
915 to the 'Keywords' snack. (stevan)
917 * Moose::Cookbook::Style
918 - added general Moose "style guide" of sorts to the
919 cookbook (nothingmuch) (RT #34335)
922 - added more BUILDARGS tests (stevan)
924 0.51 Thurs. Jun 26, 2008
926 - add unimport so "no Moose::Role" actually does
929 * Moose::Meta::Role::Application::ToRole
930 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
931 order to provide its own implementation, that method still got
932 added to the list of required methods for consumers of
933 RoleB. Now an aliased method is only added to the list of
934 required methods if the role doing the aliasing does not
935 provide its own implementation. See Recipe 11 for an example
936 of all this. (Dave Rolsky)
937 - added tests for this
939 * Moose::Meta::Method::Constructor
940 - when a single argument that wasn't a hashref was provided to
941 an immutabilized constructor, the error message was very
942 unhelpful, as opposed to the non-immutable error. Reported by
944 - added test for this (Dave Rolsky)
946 * Moose::Meta::Attribute
947 - added support for meta_attr->does("ShortAlias") (sartak)
948 - added tests for this (sartak)
949 - moved the bulk of the `handles` handling to the new
950 install_delegation method (Stevan)
953 - Added BUILDARGS, a new step in new()
955 * Moose::Meta::Role::Application::RoleSummation
956 - fix typos no one ever sees (sartak)
958 * Moose::Util::TypeConstraints
959 * Moose::Meta::TypeConstraint
960 * Moose::Meta::TypeCoercion
961 - Attempt to work around the ??{ } vs. threads issue
963 - Some null_constraint optimizations
965 0.50 Thurs. Jun 11, 2008
966 - Fixed a version number issue by bumping all modules
969 0.49 Thurs. Jun 11, 2008
970 !! This version now approx. 20-25% !!
971 !! faster with new Class::MOP 0.59 !!
973 * Moose::Meta::Attribute
974 - fixed how the is => (ro|rw) works with
975 custom defined reader, writer and accessor
977 - added docs for this (TODO).
978 - added tests for this (Thanks to Penfold)
979 - added the custom attribute alias for regular
980 Moose attributes which is "Moose"
981 - fix builder and default both being used
986 Moose::Meta::Attribute
988 Moose::Meta::Role::Composite
989 Moose::Util::TypeConstraints
990 - switched usage of reftype to ref because
994 - changing add_package_symbol to use the new
998 - fixed how DEMOLISHALL is called so that it
999 can be overrided in subclasses (thanks to Sartak)
1000 - added test for this (thanks to Sartak)
1002 * Moose::Util::TypeConstraints
1003 - move the ClassName type check code to
1004 Class::MOP::is_class_loaded (thanks to Sartak)
1006 * Moose::Cookbook::Recipe11
1007 - add tests for this (thanks to tokuhirom)
1009 0.48 Thurs. May 29, 2008
1010 (early morning release engineering)--
1012 - fixing the version in Moose::Meta::Method::Destructor
1013 which was causing the indexer to choke
1015 0.47 Thurs. May 29, 2008
1016 (late night release engineering)--
1018 - fixing the version is META.yml, no functional
1019 changes in this release
1021 0.46 Wed. May 28, 2008
1022 !! This version now approx. 20-25% !!
1023 !! faster with new Class::MOP 0.57 !!
1025 * Moose::Meta::Class
1026 - some optimizations of the &initialize method
1027 since it is called so often by &meta
1029 * Moose::Meta::Class
1031 - now use the get_all_package_symbols from the
1032 updated Class::MOP, test suite is now 10 seconds
1035 * Moose::Meta::Method::Destructor
1036 - is_needed can now also be called as a class
1037 method for immutablization to check if the
1038 destructor object even needs to be created
1041 * Moose::Meta::Method::Destructor
1042 Moose::Meta::Method::Constructor
1043 - added more descriptive error message to help
1044 keep people from wasting time tracking an error
1045 that is easily fixed by upgrading.
1047 0.45 Saturday, May 24, 2008
1049 - Because of work in Class::MOP 0.57, all
1050 XS based functionality is now optional
1051 and a Pure Perl version is supplied
1052 - the CLASS_MOP_NO_XS environment variable
1053 can now be used to force non-XS versions
1055 - several of the packages have been tweaked
1056 to take care of this, mostly we added
1057 support for the package_name and name
1058 variables in all the Method metaclasses
1059 - before/around/after method modifiers now
1060 support regexp matching of names
1061 (thanks to Takatoshi Kitano)
1062 - tests added for this
1063 - NOTE: this only works for classes, it
1064 is currently not supported in roles,
1065 but, ... patches welcome
1066 - All usage of Carp::confess have been replaced
1067 by Carp::croak in the "keyword" functions since
1068 the stack trace is usually not helpful
1071 - All usage of Carp::confess have been replaced
1072 by Carp::croak in the "keyword" functions since
1073 the stack trace is usually not helpful
1074 - The 'has' keyword for roles now accepts the
1075 same array ref form that Moose.pm does
1076 (has [qw/foo bar/] => (is => 'rw', ...))
1077 - added test for this
1079 * Moose::Meta::Attribute
1080 - trigger on a ro-attribute is no longer an
1081 error, as it's useful to trigger off of the
1084 * Moose::Meta::Class
1085 - added same 'add_package_symbol' fix as in
1089 - does_role now handles non-Moose classes
1091 - added tests for this
1092 - added the 'add_method_modifier' function
1093 (thanks to Takatoshi Kitano)
1095 * Moose::Util::TypeConstraints
1096 - subtypes of parameterizable types now are
1097 themselves parameterizable types
1099 * Moose::Meta::Method::Constructor
1100 - fixed bug where trigger was not being
1101 called by the inlined immutable
1103 - added test for this (thanks to Caelum)
1105 * Moose::Meta::Role::Application::ToInstance
1106 - now uses the metaclass of the instance
1107 (if possible) to create the anon-class
1108 (thanks Jonathan Rockway)
1110 * Moose::Cookbook::Recipe22
1111 - added the meta-attribute trait recipe
1115 - fixed hash-ordering test bug that was
1116 causing occasional cpantester failures
1117 - renamed the t/000_recipe/*.t tests to be
1118 more descriptive (thanks to Sartak)
1120 0.44 Sat. May 10, 2008
1122 - made make_immutable warning cluck to
1123 show where the error is (thanks mst)
1126 - BUILDALL and DEMOLISHALL now call
1127 ->body when looping through the
1128 methods, to avoid the overloaded
1130 - fixed issue where DEMOLISHALL was
1131 eating the $@ values, and so not
1132 working correctly, it still kind of
1133 eats them, but so does vanilla perl
1134 - added tests for this
1136 * Moose::Cookbook::Recipe7
1137 - added new recipe for immutable
1138 functionality (thanks Dave Rolsky)
1140 * Moose::Cookbook::Recipe9
1141 - added new recipe for builder and
1142 lazy_build (thanks Dave Rolsky)
1144 * Moose::Cookbook::Recipe11
1145 - added new recipe for method aliasing
1146 and exclusion with Roles (thanks Dave Rolsky)
1149 - fixed Win32 test failure (thanks spicyjack)
1151 ~ removed Build.PL and Module::Build compat
1152 since Module::Install has done that.
1154 0.43 Wed. April, 30, 2008
1156 drink more coffee before
1157 doing release engineering
1159 - whoops, forgot to do the smolder tests,
1160 and we broke some of the custom meta-attr
1161 modules. This fixes that.
1163 0.42 Mon. April 28, 2008
1164 - some bad tests slipped by, nothing else
1165 changed in this release (cpantesters++)
1167 - upped the Class::MOP dependency to 0.55
1168 since we have tests which need the C3
1171 0.41 Mon. April 28, 2008
1172 ~~ numerous documentation updates ~~
1174 - Changed all usage of die to Carp::croak for better
1175 error reporting (initial patch by Tod Hagan)
1177 ** IMPORTANT NOTE **
1178 - the make_immutable keyword is now deprecated, don't
1179 use it in any new code and please fix your old code
1180 as well. There will be 2 releases, and then it will
1186 - refactored the way inner and super work to avoid
1187 any method/@ISA cache penalty (nothingmuch)
1189 * Moose::Meta::Class
1190 - fixing &new_object to make sure trigger gets the
1191 coerced value (spotted by Charles Alderman on the
1193 - added test for this
1195 * Moose::Meta::Method::Constructor
1196 - immutable classes which had non-lazy attributes were calling
1197 the default generating sub twice in the constructor. (bug
1198 found by Jesse Luehrs, fixed by Dave Rolsky)
1199 - added tests for this (Dave Rolsky)
1200 - fix typo in initialize_body method (nothingmuch)
1202 * Moose::Meta::Method::Destructor
1203 - fix typo in initialize_body method (nothingmuch)
1205 * Moose::Meta::Method::Overriden
1206 Moose::Meta::Method::Augmented
1207 - moved the logic for these into their own
1208 classes (nothingmuch)
1210 * Moose::Meta::Attribute
1211 - inherited attributes may now be extended without
1212 restriction on the type ('isa', 'does') (Sartak)
1213 - added tests for this (Sartak)
1214 - when an attribute property is malformed (such as lazy without
1215 a default), give the name of the attribute in the error
1217 - added the &applied_traits and &has_applied_traits methods
1218 to allow introspection of traits
1219 - added tests for this
1220 - moved 'trait' and 'metaclass' argument handling to here from
1222 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1223 '+foo' syntax) (nothingmuch)
1224 - added tests for this (t0m)
1227 - localize $@ inside DEMOLISHALL to avoid it
1228 eating $@ (found by Ernesto)
1229 - added test for this (thanks to Ernesto)
1231 * Moose::Util::TypeConstraints
1232 - &find_type_constraint now DWIMs when given an
1233 type constraint object or name (nothingmuch)
1234 - &find_or_create_type_constraint superseded with a number of more
1236 - find_or_create_{isa,does}_type_constraint
1237 - find_or_parse_type_constraint
1239 * Moose::Meta::TypeConstraint
1240 Moose::Meta::TypeConstraint::Class
1241 Moose::Meta::TypeConstraint::Role
1242 Moose::Meta::TypeConstraint::Enum
1243 Moose::Meta::TypeConstraint::Union
1244 Moose::Meta::TypeConstraint::Parameterized
1245 - added the &equals method for comparing two type
1246 constraints (nothingmuch)
1247 - added tests for this (nothingmuch)
1249 * Moose::Meta::TypeConstraint
1250 - add the &parents method, which is just an alias to &parent.
1251 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1253 * Moose::Meta::TypeConstraint::Class
1254 - added the class attribute for introspection purposes
1256 - added tests for this
1258 * Moose::Meta::TypeConstraint::Enum
1259 Moose::Meta::TypeConstraint::Role
1260 - broke these out into their own classes (nothingmuch)
1262 * Moose::Cookbook::Recipe*
1263 - fixed references to test file locations in the POD
1264 and updated up some text for new Moose features
1268 - Added &resolve_metaclass_alias, a helper function for finding an actual
1269 class for a short name (e.g. in the traits list)
1271 0.40 Fri. March 14, 2008
1272 - I hate Pod::Coverage
1274 0.39 Fri. March 14, 2008
1276 - documenting the use of '+name' with attributes
1277 that come from recently composed roles. It makes
1278 sense, people are using it, and so why not just
1279 officially support it.
1280 - fixing the 'extends' keyword so that it will not
1281 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1284 - added the perl -Moose=+Class::Name feature to allow
1285 monkeypatching of classes in one liners
1288 - fixing the 'apply_all_roles' keyword so that it will not
1289 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1291 * Moose::Meta::Class
1292 - added ->create method which now supports roles (thanks to jrockway)
1293 - added tests for this
1294 - added ->create_anon_class which now supports roles and caching of
1295 the results (thanks to jrockway)
1296 - added tests for this
1297 - made ->does_role a little more forgiving when it is
1298 checking a Class::MOP era metaclasses.
1300 * Moose::Meta::Role::Application::ToInstance
1301 - it is now possible to pass extra params to be used when
1302 a role is applied to an the instance (rebless_params)
1303 - added tests for this
1305 * Moose::Util::TypeConstraints
1306 - class_type now accepts an optional second argument for a
1307 custom message. POD anotated accordingly (groditi)
1308 - added tests for this
1309 - it is now possible to make anon-enums by passing 'enum' an
1310 ARRAY ref instead of the $name => @values. Everything else
1312 - added tests for this
1315 - making test for using '+name' on attributes consumed
1316 from a role, it works and makes sense too.
1318 * Moose::Meta::Attribute
1319 - fix handles so that it doesn't return nothing
1320 when the method cannot be found, not sure why
1321 it ever did this originally, this means we now
1322 have slightly better support for AUTOLOADed
1324 - added more delegation tests
1325 - adding ->does method to this so as to better
1326 support traits and their introspection.
1327 - added tests for this
1330 - localizing the Data::Dumper configurations so
1331 that it does not pollute others (RT #33509)
1332 - made ->does a little more forgiving when it is
1333 passed Class::MOP era metaclasses.
1335 0.38 Fri. Feb. 15, 2008
1336 * Moose::Meta::Attribute
1337 - fixed initializer to correctly do
1338 type checking and coercion in the
1340 - added tests for this
1343 - fixed some finicky tests (thanks to konobi)
1345 0.37 Thurs. Feb. 14, 2008
1347 - fixed some details in Moose::init_meta
1348 and its superclass handling (thanks thepler)
1349 - added tests for this (thanks thepler)
1350 - 'has' now dies if you don't pass in name
1352 - added the 'make_immutable' keyword as a shortcut
1355 * Moose::Meta::Class
1356 Moose::Meta::Method::Constructor
1357 Moose::Meta::Attribute
1358 - making (init_arg => undef) work here too
1359 (thanks to nothingmuch)
1361 * Moose::Meta::Attribute
1362 Moose::Meta::Method::Constructor
1363 Moose::Meta::Method::Accessor
1364 - make lazy attributes respect attr initializers (rjbs)
1365 - added tests for this
1367 * Moose::Util::TypeConstraints
1368 Moose::Util::TypeConstraints::OptimizedConstraints
1369 Moose::Meta::TypeConstraints
1370 Moose::Meta::Attribute
1371 Moose::Meta::Method::Constructor
1372 Moose::Meta::Method::Accessor
1373 - making type errors use the
1374 assigned message (thanks to Sartak)
1375 - added tests for this
1377 * Moose::Meta::Method::Destructor
1378 - making sure DESTROY gets inlined properly
1379 with successive DEMOLISH calls (thanks to manito)
1381 * Moose::Meta::Attribute
1382 Moose::Meta::Method::Accessor
1383 - fixed handling of undef with type constraints
1385 - added tests for this
1388 - added &get_all_init_args and &get_all_attribute_values
1389 (thanks to Sartak and nothingmuch)
1391 0.36 Sat. Jan. 26, 2008
1393 Moose::Meta::Attribute
1394 - role type tests now support when roles are
1395 applied to non-Moose classes (found by ash)
1396 - added tests for this (thanks to ash)
1397 - couple extra tests to boost code coverage
1399 * Moose::Meta::Method::Constructor
1400 - improved fix for handling Class::MOP attributes
1401 - added test for this
1403 * Moose::Meta::Class
1404 - handled the add_attribute($attribute_meta_object)
1406 - added test for this
1408 0.35 Tues. Jan. 22, 2008
1409 * Moose::Meta::Method::Constructor
1410 - fix to make sure even Class::MOP attributes
1411 are handled correctly (Thanks to Dave Rolsky)
1412 - added test for this (also Dave Rolsky)
1414 * Moose::Meta::Class
1415 - improved error message on _apply_all_roles,
1416 you should now use Moose::Util::apply_all_roles
1417 and you shouldnt have been using a _ prefixed
1418 method in the first place ;)
1420 0.34 Mon. Jan. 21, 2008
1421 ~~~ more misc. doc. fixes ~~~
1422 ~~ updated copyright dates ~~
1424 Moose is now a postmodern object system :)
1425 - (see the POD for details)
1427 * <<Role System Refactoring>>
1428 - this release contains a major reworking and
1429 cleanup of the role system
1430 - 100% backwards compat.
1431 - Role application now restructured into seperate
1432 classes based on type of applicants
1433 - Role summation (combining of more than one role)
1434 is much cleaner and anon-classes are no longer
1435 used in this process
1436 - new Composite role metaclass
1437 - runtime application of roles to instances
1438 is now more efficient and re-uses generated
1439 classes when applicable
1441 * <<New Role composition features>>
1442 - methods can now be excluded from a given role
1444 - methods can now be aliased to another name (and
1445 still retain the original as well)
1447 * Moose::Util::TypeConstraints::OptimizedConstraints
1448 - added this module (see above)
1450 * Moose::Meta::Class
1451 - fixed the &_process_attribute method to be called
1452 by &add_attribute, so that the API is now correct
1454 * Moose::Meta::Method::Accessor
1455 - fixed bug when passing a list of values to
1456 an accessor would get (incorrectly) ignored.
1457 Thanks to Sartak for finding this ;)
1458 - added tests for this (Sartak again)
1460 * Moose::Meta::Method::Accessor
1461 Moose::Meta::Method::Constructor
1462 Moose::Meta::Attribute
1463 Moose::Meta::TypeConstraint
1464 Moose::Meta::TypeCoercion
1465 - lots of cleanup of such things as:
1467 - type constraint handling
1468 - error handling/messages
1469 (thanks to nothingmuch)
1471 * Moose::Meta::TypeConstraint::Parameterizable
1472 - added this module to support the refactor
1473 in Moose::Meta::TypeConstraint::Parameterized
1475 * Moose::Meta::TypeConstraint::Parameterized
1476 - refactored how these types are handled so they
1477 are more generic and not confined to ArrayRef
1481 - shortened some file names for better VMS support (RT #32381)
1483 0.33 Fri. Dec. 14, 2007
1484 !! Moose now loads 2 x faster !!
1485 !! with new Class::MOP 0.49 !!
1487 ++ new oose.pm module to make command line
1488 Moose-ness easier (see POD docs for more)
1490 * Moose::Meta::Class
1492 - several tweaks to take advantage of the
1493 new method map caching in Class::MOP
1495 * Moose::Meta::TypeConstraint::Parameterized
1496 - allow subtypes of ArrayRef and HashRef to
1497 be used as a container (sartak)
1498 - added tests for this
1499 - basic support for coercion to ArrayRef and
1500 HashRef for containers (sartak)
1501 - added tests for this
1503 * Moose::Meta::TypeCoercion
1504 - coercions will now create subtypes as needed
1505 so you can now add coercions to parameterized
1506 types without having to explictly define them
1507 - added tests for this
1509 * Moose::Meta::Method::Accessor
1510 - allow subclasses to decide whether we need
1511 to copy the value into a new variable (sartak)
1513 0.32 Tues. Dec. 4, 2007
1514 * Moose::Util::TypeConstraints
1515 - fixing how subtype aliases of unions work
1516 they should inherit the parent's coercion
1517 - added tests for this
1518 - you can now define multiple coercions on
1519 a single type at different times instead of
1520 having to do it all in one place
1521 - added tests for this
1523 * Moose::Meta::TypeConstraint
1524 - there is now a default constraint of sub { 1 }
1525 instead of Moose::Util::TypeConstraints setting
1528 * Moose::Meta::TypeCoercion
1529 * Moose::Meta::TypeCoercion::Union
1530 - added the &has_coercion_for_type and
1531 &add_type_coercions methods to support the
1532 new features above (although you cannot add
1533 more type coercions for Union types)
1535 0.31 Mon. Nov. 26, 2007
1536 * Moose::Meta::Attribute
1537 - made the +attr syntax handle extending types with
1538 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1539 now works if the original foo is an ArrayRef.
1540 - added tests for this.
1541 - delegation now works even if the attribute does not
1542 have a reader method using the get_read_method_ref
1543 method from Class::MOP::Attribute.
1544 - added tests for this
1545 - added docs for this
1547 * Moose::Util::TypeConstraints
1548 - passing no "additional attribute info" to
1549 &find_or_create_type_constraint will no longer
1550 attempt to create an __ANON__ type for you,
1551 instead it will just return undef.
1552 - added docs for this
1554 0.30 Fri. Nov. 23, 2007
1555 * Moose::Meta::Method::Constructor
1556 -builder related bug in inlined constructor. (groditi)
1558 * Moose::Meta::Method::Accessor
1559 - genereate unnecessary calls to predicates and refactor
1560 code generation for runtime speed (groditi)
1562 * Moose::Util::TypeConstraints
1563 - fix ClassName constraint to introspect symbol table (mst)
1564 - added more tests for this (mst)
1565 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1566 with work correctly.
1567 - added tests for this
1570 - adding the link to Recipie 11 (written by Sartak)
1571 - adding test for SYNOPSIS code
1574 - New tests for builder bug. Upon instantiation, if an
1575 attribute had a builder, no value and was not lazy the
1576 builder default was not getting run, oops. (groditi)
1578 0.29 Tues. Nov. 13, 2007
1579 * Moose::Meta::Attribute
1580 - Fix error message on missing builder method (groditi)
1582 * Moose::Meta::Method::Accessor
1583 - Fix error message on missing builder method (groditi)
1586 - Add test to check for the correct error message when
1587 builder method is missing (groditi)
1589 0.28 Tues. Nov. 13, 2007
1590 - 0.27 packaged incorrectly (groditi)
1592 0.27 Tues. Nov. 13, 2007
1593 * Moose::Meta::Attribute
1594 - Added support for the new builder option (groditi)
1595 - Added support for lazy_build option (groditi)
1596 - Changed slot initialization for predicate changes (groditi)
1598 * Moose::Meta::Method::Accessor
1599 - Added support for lazy_build option (groditi)
1600 - Fix inline methods to work with corrected predicate
1603 * Moose::Meta::Method::Constructor
1604 - Added support for lazy_build option (groditi)
1607 - tests for builder and lazy_build (groditi)
1609 * fixing some misc. bits in the docs that
1610 got mentioned on CPAN Forum & perlmonks
1613 - fixed how required methods are handled
1614 when they encounter overriden or modified
1615 methods from a class (thanks to confound).
1616 - added tests for this
1618 * Moose::Util::TypeConstraint
1619 - fixed the type notation parser so that
1620 the | always creates a union and so is
1621 no longer a valid type char (thanks to
1622 konobi, mugwump and #moose for working
1624 - added more tests for this
1626 0.26 Thurs. Sept. 27, 2007
1629 * Parameterized Types
1630 We now support parameterized collection types, such as:
1631 ArrayRef[Int] # array or integers
1632 HashRef[Object] # a hash with object values
1633 They can also be nested:
1634 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1635 And work with the type unions as well:
1636 ArrayRef[Int | Str] # array of integers of strings
1638 * Better Framework Extendability
1639 Moose.pm is now "extendable" such that it is now much
1640 easier to extend the framework and add your own keywords
1641 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1642 section of the Moose.pm docs.
1645 In an effort to begin documenting some of the various
1646 details of Moose as well as some common idioms, we have
1647 created Moose::Cookbook::Snacks as a place to find
1648 small (easily digestable) nuggets of Moose code.
1651 ~ Several doc updates/cleanup thanks to castaway ~
1653 - converted build system to use Module::Install instead of
1654 Module::Build (thanks to jrockway)
1657 - added all the meta classes to the immutable list and
1658 set it to inline the accessors
1659 - fix import to allow Sub::Exporter like { into => }
1660 and { into_level => } (perigrin)
1661 - exposed and documented init_meta() to allow better
1662 embedding and extending of Moose (perigrin)
1665 - complete re-organization of the test suite
1666 - added some new tests as well
1667 - finally re-enabled the Moose::POOP test since
1668 the new version of DBM::Deep now works again
1671 * Moose::Meta::Class
1672 - fixed very odd and very nasty recursion bug with
1674 - added tests for this (eilara)
1676 * Moose::Meta::Attribute
1677 Moose::Meta::Method::Constructor
1678 Moose::Meta::Method::Accessor
1679 - fixed issue with overload::Overloaded getting called
1680 on non-blessed items. (RT #29269)
1681 - added tests for this
1683 * Moose::Meta::Method::Accessor
1684 - fixed issue with generated accessor code making
1685 assumptions about hash based classes (thanks to dexter)
1687 * Moose::Coookbook::Snacks
1688 - these are bits of documentation, not quite as big as
1689 Recipes but which have no clear place in the module docs.
1690 So they are Snacks! (horray for castaway++)
1692 * Moose::Cookbook::Recipe4
1693 - updated it to use the new ArrayRef[MyType] construct
1694 - updated the accompanying test as well
1696 +++ Major Refactor of the Type Constraint system +++
1697 +++ with new features added as well +++
1699 * Moose::Util::TypeConstraint
1700 - no longer uses package variable to keep track of
1701 the type constraints, now uses the an instance of
1702 Moose::Meta::TypeConstraint::Registry to do it
1703 - added more sophisticated type notation parsing
1705 - added tests for this
1707 * Moose::Meta::TypeConstraint
1708 - some minor adjustments to make subclassing easier
1709 - added the package_defined_in attribute so that we
1710 can track where the type constraints are created
1712 * Moose::Meta::TypeConstraint::Union
1713 - this is now been refactored to be a subclass of
1714 Moose::Meta::TypeConstraint
1716 * Moose::Meta::TypeCoercion::Union
1717 - this has been added to service the newly refactored
1718 Moose::Meta::TypeConstraint::Union and is itself
1719 a subclass of Moose::Meta::TypeCoercion
1721 * Moose::Meta::TypeConstraint::Parameterized
1722 - added this module (taken from MooseX::AttributeHelpers)
1723 to help construct nested collection types
1724 - added tests for this
1726 * Moose::Meta::TypeConstraint::Registry
1727 - added this class to keep track of type constraints
1729 0.25 Mon. Aug. 13, 2007
1731 - Documentation update to reference Moose::Util::TypeConstraints
1732 under 'isa' in 'has' for how to define a new type
1733 (thanks to shlomif).
1735 * Moose::Meta::Attribute
1736 - required attributes now will no longer accept undef
1737 from the constructor, even if there is a default and lazy
1738 - added tests for this
1739 - default subroutines must return a value which passes the
1741 - added tests for this
1743 * Moose::Meta::Attribute
1744 * Moose::Meta::Method::Constructor
1745 * Moose::Meta::Method::Accessor
1746 - type-constraint tests now handle overloaded objects correctly
1747 in the error message
1748 - added tests for this (thanks to EvanCarroll)
1750 * Moose::Meta::TypeConstraint::Union
1751 - added (has_)hand_optimized_constraint to this class so that
1752 it behaves as the regular Moose::Meta::TypeConstraint does.
1755 - large refactoring of this code
1756 - added several more tests
1757 - tests for subtle conflict resolition issues
1758 added, but not currently running
1761 * Moose::Cookbook::Recipe7
1762 - added new recipe for augment/inner functionality
1764 - added test for this
1767 - a formal definition of roles (still in progress)
1770 - utilities for easier working with Moose classes
1771 - added tests for these
1774 - This contains Moose specific test functions
1775 - added tests for these
1777 0.24 Tues. July 3, 2007
1778 ~ Some doc updates/cleanup ~
1780 * Moose::Meta::Attribute
1781 - added support for roles to be given as parameters
1782 to the 'handles' option.
1783 - added tests and docs for this
1784 - the has '+foo' attribute form now accepts changes to
1785 the lazy option, and the addition of a handles option
1786 (but not changing the handles option)
1787 - added tests and docs for this
1790 - required methods are now fetched using find_method_by_name
1791 so that required methods can come from superclasses
1792 - adjusted tests for this
1794 0.23 Mon. June 18, 2007
1795 * Moose::Meta::Method::Constructor
1796 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1797 * Moose::Meta::Class
1798 - Modify make_immutable to work with the new Class::MOP immutable
1799 mechanism + POD + very basic test (groditi)
1800 * Moose::Meta::Attribute
1801 - Fix handles to use goto() so that caller() comes out properly on
1802 the other side (perigrin)
1804 0.22 Thurs. May 31, 2007
1805 * Moose::Util::TypeConstraints
1806 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1807 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1808 prototypes for functions
1809 - added the ClassName type constraint, this checks for strings
1810 which will respond true to ->isa(UNIVERSAL).
1811 - added tests and docs for this
1812 - subtyping just in name now works correctly by making the
1813 default for where be { 1 }
1814 - added test for this
1816 * Moose::Meta::Method::Accessor
1817 - coerce and lazy now work together correctly, thanks to
1818 merlyn for finding this bug
1819 - tests added for this
1820 - fix reader presedence bug in Moose::Meta::Attribute + tests
1823 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1824 a HASH-ref and missed. This produces better error messages then
1825 having it die cause undef is not a HASH.
1826 - added tests for this
1828 0.21 Thursday, May 2nd, 2007
1830 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1831 - modified unimport to remove super and inner along with the rest
1832 - altered unimport tests to handle this
1835 - altered super export to populate SUPER_SLOT
1837 * Moose::Meta::Class
1838 - altered augment and override modifier application to use *_SLOT
1839 - modified tests for these to unimport one test class each to test
1842 - fixed issue where custom attribute metaclasses
1843 where not handled correctly in roles
1844 - added tests for this
1846 * Moose::Meta::Class
1847 - fixed issue where extending metaclasses with
1848 roles would blow up. Thanks to Aankhen`` for
1849 finding this insidious error, and it's solution.
1851 ~~ lots of spelling and grammer fixes in the docs,
1852 many many thanks to rlb3 and Aankhen for these :)
1854 0.20 Friday, April 6th, 2007
1855 >> I messed up the SKIP logic in one test
1856 so this release is just to fix that.
1859 - 'has' now also accepts an ARRAY ref
1860 to create multiple attrs (see docs)
1861 (thanks to konobi for this)
1862 - added tests and docs
1864 0.19 Thurs. April 5th, 2007
1865 ~~ More documentation updates ~~
1867 * Moose::Util::TypeConstraints
1868 - 'type' now supports messages as well
1869 thanks to phaylon for finding this
1870 - added tests for this
1871 - added &list_all_type_constraints and
1872 &list_all_builtin_type_constraints
1873 functions to facilitate introspection.
1875 * Moose::Meta::Attribute
1876 - fixed regexp 'handles' declarations
1877 to build the list of delegated methods
1878 correctly (and not override important
1879 things like &new) thanks to ashleyb
1881 - added tests and docs for this
1882 - added the 'documentation' attributes
1883 so that you can actually document your
1884 attributes and inspect them through the
1886 - added tests and docs for this
1888 * Moose::Meta::Class
1889 - when loading custom attribute metaclasses
1890 it will first look in for the class in the
1891 Moose::Meta::Attribute::Custom::$name, and
1892 then default to just loading $name.
1893 - added tests and docs for this
1895 * Moose::Meta::TypeConstraint
1896 - type constraints now stringify to their names.
1897 - added test for this
1900 - added tests to assure we work with Module::Refresh
1901 - added stricter test skip logic in the Moose POOP
1902 test, ask Rob Kinyon why.
1903 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1905 0.18 Sat. March 10, 2007
1906 ~~ Many, many documentation updates ~~
1909 - We now use Class::MOP::load_class to
1911 - added tests to show types and subtypes
1912 working with Declare::Constraints::Simple
1913 and Test::Deep as constraint engines.
1916 !! You must have Class::MOP 0.37_001 !!
1917 !! for this developer release to work !!
1919 This release was primarily adding the immutable
1920 feature to Moose. An immutable class is one which
1921 you promise not to alter. When you set the class
1922 as immutable it will perform various bits of
1923 memoization and inline certain part of the code
1924 (constructors, destructors and accessors). This
1925 minimizes (and in some cases totally eliminates)
1926 one of Moose's biggest performance hits. This
1927 feature is not on by default, and is 100% optional.
1928 It has several configurable bits as well, so you
1929 can pick and choose to your specific needs.
1931 The changes involved in this were fairly wide and
1932 highly specific, but 100% backwards compatible, so
1933 I am not going to enumerate them here. If you are
1934 truely interested in what was changed, please do
1937 0.17 Tues. Nov. 14, 2006
1938 * Moose::Meta::Method::Accessor
1939 - bugfix for read-only accessors which
1940 are have a type constraint and lazy.
1941 Thanks to chansen for finding it.
1943 0.16 Tues. Nov. 14, 2006
1945 There are some speed improvements in this release,
1946 but they are only the begining, so stay tuned.
1949 - BUILDALL and DEMOLISHALL no longer get
1950 called unless they actually need to be.
1951 This gave us a signifigant speed boost
1952 for the cases when there is no BUILD or
1953 DEMOLISH method present.
1955 * Moose::Util::TypeConstraints
1956 * Moose::Meta::TypeConstraint
1957 - added an 'optimize_as' option to the
1958 type constraint, which allows for a
1959 hand optimized version of the type
1960 constraint to be used when possible.
1961 - Any internally created type constraints
1962 now provide an optimized version as well.
1964 0.15 Sun. Nov. 5, 2006
1966 This version of Moose *must* have Class::MOP 0.36 in order
1967 to work correctly. A number of small internal tweaks have
1968 been made in order to be compatible with that release.
1970 * Moose::Util::TypeConstraints
1971 - added &unimport so that you can clean out
1972 your class namespace of these exported
1975 * Moose::Meta::Class
1976 - fixed minor issue which occasionally
1977 comes up during global destruction
1979 - moved Moose::Meta::Method::Overriden into
1983 - moved Moose::Meta::Role::Method into
1986 * Moose::Meta::Attribute
1987 - changed how we do type checks so that
1988 we reduce the overall cost, but still
1991 - moved accessor generation methods to
1992 Moose::Meta::Method::Accessor to
1993 conform to the API changes from
1996 * Moose::Meta::TypeConstraint
1997 - changed how constraints are compiled
1998 so that we do less recursion and more
1999 iteration. This makes the type check
2001 - moved Moose::Meta::TypeConstraint::Union
2004 * Moose::Meta::Method::Accessor
2005 - created this from methods formerly found in
2006 Moose::Meta::Attribute
2008 * Moose::Meta::Role::Method
2009 - moved this from Moose::Meta::Role
2011 * Moose::Meta::Method::Overriden
2012 - moved this from Moose::Meta::Class
2014 * Moose::Meta::TypeConstraint::Union
2015 - moved this from Moose::Meta::TypeConstraint
2017 0.14 Mon. Oct. 9, 2006
2019 * Moose::Meta::Attribute
2020 - fixed lazy attributes which were not getting
2021 checked with the type constraint (thanks ashley)
2022 - added tests for this
2023 - removed the over-enthusiastic DWIMery of the
2024 automatic ArrayRef and HashRef defaults, it
2025 broke predicates in an ugly way.
2026 - removed tests for this
2028 0.13 Sat. Sept. 30, 2006
2030 This version of Moose *must* have Class::MOP 0.35 in order
2031 to work correctly. A number of small internal tweaks have
2032 been made in order to be compatible with that release.
2035 - Removed the use of UNIVERSAL::require to be a better
2036 symbol table citizen and remove a dependency
2037 (thanks Adam Kennedy)
2039 **~~ removed experimental & undocumented feature ~~**
2040 - commented out the 'method' and 'self' keywords, see the
2041 comments for more info.
2044 - added a FAQ and WTF files to document frequently
2045 asked questions and common problems
2047 * Moose::Util::TypeConstraints
2048 - added GlobRef and FileHandle type constraint
2049 - added tests for this
2051 * Moose::Meta::Attribute
2052 - if your attribute 'isa' ArrayRef of HashRef, and you have
2053 not explicitly set a default, then make the default DWIM.
2054 This will also work for subtypes of ArrayRef and HashRef
2056 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2057 - new test added for this (thanks to ashley)
2060 - added basic support for runtime role composition
2061 but this is still *highly experimental*, so feedback
2062 is much appreciated :)
2063 - added tests for this
2065 * Moose::Meta::TypeConstraint
2066 - the type constraint now handles the coercion process
2067 through delegation, this is to support the coercion
2070 * Moose::Meta::TypeConstraint::Union
2071 - it is now possible for coercions to be performed
2073 - added tests for this (thanks to konobi)
2075 * Moose::Meta::TypeCoercion
2076 - properly capturing error when type constraint
2080 - Scalar::Util 1.18 is bad on Win32, so temporarily
2081 only require version 1.17 for Win32 and cygwin.
2082 (thanks Adam Kennedy)
2084 0.12 Sat. Sept. 1, 2006
2086 - Recipe5 (subtypes & coercion) has been written
2089 - fixed "bad meta" error message to be more descriptive
2090 - fixed &unimport to not remove the &inner and &super
2091 keywords because we need to localize them.
2092 - fixed number of spelling/grammer issues, thanks Theory :)
2094 **~~ experimental & undocumented feature ~~**
2095 - added the method and self keywords, they are basically
2096 just sugar, and they may not stay around.
2099 - added &dump method to easily Data::Dumper
2102 * Moose::Meta::TypeConstraint
2103 - added the &is_a_type_of method to check both the current
2104 and the subtype of a method (similar to &isa with classes)
2107 - this is now a subclass of Class::MOP::Module, and no longer
2108 creates the _role_meta ugliness of before.
2109 - fixed tests to reflect this change
2111 0.11 Wed. July 12, 2006
2113 - added an &unimport method to remove all the keywords
2114 that Moose will import, simply add 'no Moose' to the
2115 bottom of your class file.
2118 - fixed some test failures caused by a forgotten test
2121 0.10 Thurs. July 6, 2006
2123 - improved error message when loading modules so
2124 it is less confusing when you load a role.
2125 - added &calculate_all_roles method to
2126 Moose::Meta::Class and Moose::Meta::Role
2129 This module has been tested against Class::MOP 0.30
2130 but it does not yet utilize the optimizations
2131 it makes available. Stay tuned for that ;)
2133 0.09_03 Fri. June 23, 2006
2134 ++ DEVELOPER RELEASE ++
2136 - 'use strict' and 'use warnings' are no longer
2137 needed in Moose classes, Moose itself will
2138 turn them on for you.
2139 - added tests for this
2140 - moved code from exported subs to private methods
2141 in Moose::Meta::Class
2144 - as with Moose, strict and warnings are
2145 automatically turned on for you.
2146 - added tests for this
2149 - now handles an edge case for override errors
2150 - added tests for this
2151 - added some more edge case tests
2153 0.09_02 Tues. May 16, 2006
2154 ++ DEVELOPER RELEASE ++
2156 - added prototypes to the exported subs
2160 - added prototypes to the exported subs
2163 * Moose::Util::TypeConstraints
2164 - cleaned up prototypes for the subs
2167 0.09_01 Fri. May 12, 2006
2168 ++ DEVELOPER RELEASE ++
2169 - This release works in combination with
2170 Class::MOP 0.29_01, it is a developer
2171 release because it uses the a new
2172 instance sub-protocol and a fairly
2173 complete Role implementation. It has
2174 not yet been optimized, so it slower
2175 the the previous CPAN version. This
2176 release also lacks good updated docs,
2177 the official release will have updated docs.
2180 - refactored the keyword exports
2181 - 'with' now checks Role validaity and
2182 accepts more than one Role at a time
2183 - 'extends' makes metaclass adjustments as
2184 needed to ensure metaclass compatibility
2187 - refactored the keyword exports
2188 - 'with' now checks Role validaity and
2189 accepts more than one Role at a time
2191 * Moose::Util::TypeConstraints
2192 - added the 'enum' keyword for simple
2193 string enumerations which can be used as
2195 - see example of usage in t/202_example.t
2198 - more careful checking of params to new()
2201 - much work done on the role composition
2202 - many new tests for conflict detection
2203 and composition edge cases
2204 - not enough documentation, I suggest
2205 looking at the tests
2207 * Moose::Meta::Instance
2208 - added new Instance metaclass to support
2209 the new Class::MOP instance protocol
2211 * Moose::Meta::Class
2212 - some small changes to support the new
2214 - some small additions to support Roles
2216 * Moose::Meta::Attribute
2217 - some improvements to the accessor generation code
2219 - some small changes to support the new
2221 - (still somewhat) experimental delegation support
2222 with the 'handles' option
2223 - added several tests for this
2224 - no docs for this yet
2226 0.05 Thurs. April 27, 2006
2228 - keywords are now exported with Sub::Exporter
2229 thanks to chansen for this commit
2230 - has keyword now takes a 'metaclass' option
2231 to support custom attribute meta-classes
2232 on a per-attribute basis
2233 - added tests for this
2234 - the 'has' keyword not accepts inherited slot
2235 specifications (has '+foo'). This is still an
2236 experimental feature and probably not finished
2237 see t/038_attribute_inherited_slot_specs.t for
2238 more details, or ask about it on #moose
2239 - added tests for this
2242 - keywords are now exported with Sub::Exporter
2244 * Moose::Utils::TypeConstraints
2245 - reorganized the type constraint hierarchy, thanks
2246 to nothingmuch and chansen for his help and advice
2248 - added some tests for this
2249 - keywords are now exported with Sub::Exporter
2250 thanks to chansen for this commit
2252 * Moose::Meta::Class
2253 - due to changes in Class::MOP, we had to change
2254 construct_instance (for the better)
2256 * Moose::Meta::Attribute
2257 - due to changes in Class::MOP, we had to add the
2258 initialize_instance_slot method (it's a good thing)
2260 * Moose::Meta::TypeConstraint
2261 - added type constraint unions
2262 - added tests for this
2263 - added the is_subtype_of predicate method
2264 - added tests for this
2266 0.04 Sun. April 16th, 2006
2268 - Roles can now consume other roles
2269 - added tests for this
2270 - Roles can specify required methods now with
2271 the requires() keyword
2272 - added tests for this
2275 - ripped out much of it's guts ,.. much cleaner now
2276 - added required methods and correct handling of
2277 them in apply() for both classes and roles
2278 - added tests for this
2279 - no longer adds a does() method to consuming classes
2280 it relys on the one in Moose::Object
2281 - added roles attribute and some methods to support
2282 roles consuming roles
2284 * Moose::Meta::Attribute
2285 - added support for triggers on attributes
2286 - added tests for this
2287 - added support for does option on an attribute
2288 - added tests for this
2290 * Moose::Meta::Class
2291 - added support for attribute triggers in the
2293 - added tests for this
2296 - Moose no longer creates a subtype for your class
2297 if a subtype of the same name already exists, this
2298 should DWIM in 99.9999% of all cases
2300 * Moose::Util::TypeConstraints
2301 - fixed bug where incorrect subtype conflicts were
2303 - added test for this
2306 - this class can now be extended with 'use base' if
2307 you need it, it properly loads the metaclass class now
2308 - added test for this
2310 0.03_02 Wed. April 12, 2006
2312 - you must now explictly use Moose::Util::TypeConstraints
2313 it no longer gets exported for you automatically
2316 - new() now accepts hash-refs as well as key/value lists
2317 - added does() method to check for Roles
2318 - added tests for this
2320 * Moose::Meta::Class
2321 - added roles attribute along with the add_role() and
2323 - added tests for this
2326 - now adds a does() method to consuming classes
2327 which tests the class's hierarchy for roles
2328 - added tests for this
2330 0.03_01 Mon. April 10, 2006
2332 - added new Role recipe (no content yet, only code)
2335 - added 'with' keyword for Role support
2336 - added test and docs for this
2337 - fixed subtype quoting bug
2338 - added test for this
2342 - added test and docs
2344 * Moose::Util::TypeConstraints
2345 - added the message keyword to add custom
2346 error messages to type constraints
2349 - the meta role to support Moose::Role
2350 - added tests and docs
2352 * Moose::Meta::Class
2353 - moved a number of things from Moose.pm
2354 to here, they should have been here
2357 * Moose::Meta::Attribute
2358 - moved the attribute option macros here
2359 instead of putting them in Moose.pm
2361 * Moose::Meta::TypeConstraint
2362 - added the message attributes and the
2364 - added tests and docs for this
2366 0.03 Thurs. March 30, 2006
2368 - added the Moose::Cookbook with 5 recipes,
2369 describing all the stuff Moose can do.
2372 - fixed an issue with &extends super class loading
2373 it now captures errors and deals with inline
2374 packages correctly (bug found by mst, solution
2376 - added super/override & inner/augment features
2377 - added tests and docs for these
2380 - BUILDALL now takes a reference of the %params
2381 that are passed to &new, and passes that to
2384 * Moose::Util::TypeConstraints
2385 - Type constraints now survive runtime reloading
2386 - added test for this
2388 * Moose::Meta::Class
2389 - fixed the way attribute defaults are handled
2390 during instance construction (bug found by chansen)
2392 * Moose::Meta::Attribute
2393 - read-only attributes now actually enforce their
2394 read-only-ness (this corrected in Class::MOP as
2397 0.02 Tues. March 21, 2006
2399 - many more tests, fixing some bugs and
2401 - &extends now loads the base module with
2403 - added UNIVERSAL::require to the
2406 - each new Moose class will also create
2407 and register a subtype of Object which
2408 correspond to the new Moose class.
2409 - the 'isa' option in &has now only
2410 accepts strings, and will DWIM in
2413 * Moose::Util::TypeConstraints
2414 - added type coercion features
2415 - added tests for this
2416 - added support for this in attributes
2417 and instance construction
2419 - type construction no longer creates a
2420 function, it registers the type instead.
2421 - added several functions to get the
2425 - BUILDALL and DEMOLISHALL were broken
2426 because of a mis-named hash key, Whoops :)
2428 * Moose::Meta::Attribute
2429 - adding support for coercion in the
2430 autogenerated accessors
2432 * Moose::Meta::Class
2433 - adding support for coercion in the
2434 instance construction
2436 * Moose::Meta::TypeConstraint
2437 * Moose::Meta::TypeCoercion
2438 - type constraints and coercions are now
2439 full fledges meta-objects
2441 0.01 Wed. March 15, 2006
2442 - Moooooooooooooooooose!!!