1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
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)
14 0.74 Tue, April 7, 2009
16 * Moose::Meta::Method::Destructor
17 - Include stack traces in the deprecation warnings.
21 - Removed the long-deprecated _apply_all_roles method.
23 * Moose::Meta::TypeConstraint
24 - Removed the long-deprecated union method.
27 0.73_02 Mon, April 6, 2009
28 * More deprecations and renamings
29 - Moose::Meta::Method::Constructor
30 - initialize_body => _initialize_body (this is always called
31 when an object is constructed)
34 - The DEMOLISHALL method could throw an exception during global
35 destruction, meaning that your class's DEMOLISH methods would
36 not be properly called. Reported by t0m.
38 * Moose::Meta::Method::Destructor
39 - Destructor inlining was totally broken by the change to the
40 is_needed method in 0.72_01. Now there is a test for this
41 feature, and it works again.
43 0.73_01 Sun, April 5, 2009
45 - Call user_class->meta in fewer places, with the eventual goal
46 of allowing the user to rename or exclude ->meta
47 altogether. Instead uses Class::MOP::class_of. (Sartak)
49 * Moose::Meta::Method::Accessor
50 - If an attribute had a lazy default, and that value did not
51 pass the attribute's type constraint, it did not get the
52 message from the type constraint, instead using a generic
53 message. Test provided by perigrin.
55 * Moose::Util::TypeConstraints
56 - Add duck_type keyword. It's sugar over making sure an object
57 can() a list of methods. This is easier than jrockway's
58 suggestion to fork all of CPAN. (perigrin)
59 - add tests and documentation (perigrin)
62 - Document the fact that init_meta() returns the target class's
63 metaclass object. (hdp)
65 * Moose::Cookbook::Extending::Recipe1
66 * Moose::Cookbook::Extending::Recipe2
67 * Moose::Cookbook::Extending::Recipe3
68 * Moose::Cookbook::Extending::Recipe4
69 - Make init_meta() examples explicitly return the metaclass and
70 point out this fact. (hdp)
72 * Moose::Cookbook::Basics::Recipe12
73 - A new recipe, creating a custom meta-method class.
75 * Moose::Cookbook::Meta::Recipe6
76 - A new recipe, creating a custom meta-method class.
79 * Moose::Meta::Method::Constructor
80 - Attribute triggers no longer receive the meta-attribute object
81 as an argument in any circumstance. Previously, triggers
82 called during instance construction were passed the
83 meta-attribute, but triggers called by normal accessors were
84 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
86 * Moose::Manual::Attributes
87 - Remove references to triggers receving the meta-attribute object as an
90 * Moose::Cookbook::FAQ
91 - Remove recommendation for deprecated Moose::Policy and
92 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
95 * Many methods have been renamed with a leading underscore, and a
96 few have been deprecated entirely. The methods with a leading
97 underscore are consider "internals only". People writing
98 subclasses or extensions to Moose should feel free to override
99 them, but they are not for "public" use.
102 - check_metaclass_compatibility => _check_metaclass_compatibility
104 - Moose::Meta::Method::Accessor
105 - initialize_body => _initialize_body (this is always called
106 when an object is constructed)
107 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
109 - Moose::Meta::Method::Constructor
110 - initialize_body => _initialize_body (this is always called
111 when an object is constructed)
112 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
113 - attributes => _attributes (now inherited from parent)
114 - meta_instance => _meta_instance (now inherited from parent)
117 - alias_method is deprecated. Use add_method
119 0.73 Fri, March 29, 2009
120 * No changes from 0.72_01.
122 0.72_01 Thu, March 26, 2009
124 - Almost every module has complete API documentation. A few
125 methods (and even whole classes) have been intentionally
126 excluded pending some rethinking of their APIs.
128 * Moose::Util::TypeConstraints
129 - Calling subtype with a name as the only argument is now an
130 exception. If you want an anonymous subtype do:
132 my $subtype = subtype as 'Foo';
134 * Moose::Cookbook::Meta::Recipe7
135 - A new recipe, creating a custom meta-instance class.
137 * Moose::Cookbook::Basics::Recipe5
138 - Fix various typos and mistakes. Includes a patch from Radu
141 * Moose::Cookbook::Basics::Recipe9
142 - Link to this recipe from Moose.pm's builder blurb
145 - When wrapping a function with a prototype, Moose::Exporter now
146 makes sure the wrapped function still has the same
147 prototype. (Daisuke Maki)
149 * Moose::Meta::Attribute
150 - Allow a subclass to set lazy_build for an inherited
154 - Explicitly depend on Data::OptList. We already had this dependency
155 via Sub::Exporter, but since we're using it directly we're
156 better off with it listed. (Sartak)
158 * Moose::Meta::Method::Constructor
159 - Make it easier to subclass the inlining behaviour. (Ash
162 * Moose::Manual::Delta
163 - Details significant changes in the history of Moose, along
164 with recommended workarounds.
166 * Moose::Manual::Contributing
167 - Contributor's guide to Moose.
169 * Moose::Meta::Method::Constructor
170 - The long-deprecated intialize_body method has been removed
171 (yes, spelled like that).
173 * Moose::Meta::Method::Destructor
174 - This is_needed method is now always a class method.
177 - Changes to the internals of how make_immutable works to match
178 changes in latest Class::MOP.
180 0.72 Mon, February 23, 2009
182 * Moose::Meta::Method::Constructor
183 - A mutable class accepted Foo->new(undef) without complaint,
184 while an immutable class would blow up with an unhelpful
185 error. Now, in both cases we throw a helpful error
186 instead. Reported by doy.
188 0.71_01 Sun, February 22, 2009
190 - Hopefully fixed some POD errors in a few recipes that caused
191 them to display weird on search.cpan.org.
193 * Moose::Util::TypeConstraints
194 - Calling type or subtype without the sugar helpers (as, where,
195 message) is now deprecated.
196 - The subtype function tried hard to guess what you meant, but
197 often got it wrong. For example:
199 my $subtype = subtype as 'ArrayRef[Object]';
201 This caused an error in the past, but now works as you'd
205 - Make sure Moose.pm is loaded before calling
206 Moose->throw_error. This wasn't normally an issue, but could
207 bite you in weird cases.
209 0.71 Thu, February 19, 2009
210 * Moose::Cookbook::Basics::Recipe11
211 - A new recipe which demonstrates the use of BUILDARGS and
214 * Moose::Cookbook::Roles::Recipe3
215 - A new recipe, applying a role to an object instance. (Dave
219 - Allow overriding specific keywords from "also" packages. (doy)
222 - Replace hardcoded cookbook tests with Test::Inline to ensure
223 the tests match the actual code in the recipes. (Dave Rolsky)
226 - Working on the above turned up a number of little bugs in the
227 recipe code. (Dave Rolsky)
229 * Moose::Util::TypeConstraints::Optimized
230 - Just use Class::MOP for the optimized ClassName check. (Dave
233 0.70 Sat, February 14, 2009
234 * Moose::Util::TypeConstraints
235 - Added the RoleName type (stevan)
236 - added tests for this (stevan)
238 * Moose::Cookbook::Basics::Recipe3
239 - Updated the before qw[left right] sub to be a little more
240 defensive about what it accepts (stevan)
241 - added more tests to t/000_recipies/basics/003_binary_tree.t
245 - We now always call DEMOLISHALL, even if a class does not
246 define DEMOLISH. This makes sure that method modifiers on
247 DEMOLISHALL work as expected. (doy)
248 - added tests for this (EvanCarroll)
250 * Moose::Util::MetaRole
251 - Accept roles for the wrapped_method_metaclass (rafl)
252 - added tests for this (rafl)
254 * Moose::Meta::Attribute
255 - We no longer pass the meta-attribute object as a final
256 argument to triggers. This actually changed for inlined code a
257 while back, but the non-inlined version and the docs were
261 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
262 they require 0.11. (Dave Rolsky)
265 - Lots of small changes to the manual, cookbook, and
266 elsewhere. These were based on feedback from various
267 users, too many to list here. (Dave Rolsky)
269 0.69 Thu, February 12, 2009
271 - Make some keyword errors use throw_error instead of croak
272 since Moose::Exporter wraps keywords now (Sartak)
275 - Revised every recipe for style and clarity. Also moved some
276 documentation out of cookbook recipes and into Moose::Manual
277 pages. This work was funded as part of the Moose docs grant
278 from TPF. (Dave Rolsky)
280 * Moose::Meta::Method::Delegation
281 - If the attribute doing the delegation was not populated, the
282 error message did not specify the attribute name
285 0.68 Wed, February 4, 2009
287 - Many spelling, typo, and formatting fixes by daxim.
289 * Moose::Manual::Attributes
290 - The NAME section in the POD used "Attribute" so search.cpan
291 didn't resolve links from other documents properly.
293 * Moose::Meta::Method::Overriden
294 - Now properly spelled as Overridden. Thanks to daxim for
297 0.67 Tue, February 3, 2009
299 - Lots of little typo fixes and a few clarifications. Several
300 pages didn't have proper titles, and so weren't actually
301 visible on search.cpan.org. Thanks to hanekomu for a variety
302 of fixes and formatting improvements.
304 0.66 Tue, February 3, 2009
306 - This is a brand new, extensive manual for Moose. This aims to
307 provide a complete introduction to all of Moose's
308 features. This work was funded as part of the Moose docs grant
309 from TPF. (Dave Rolsky)
311 * Moose::Meta::Attribute
312 - Added a delegation_metaclass method to replace a hard-coded
313 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
315 * Moose::Util::TypeConstraints
316 - If you created a subtype and passed a parent that Moose didn't
317 know about, it simply ignored the parent. Now it automatically
318 creates the parent as a class type. This may not be what you
319 want, but is less broken than before. (Dave Rolsky)
321 * Moose::Util::TypeConstraints
322 - This module tried throw errors by calling Moose->throw_error,
323 but it did not ensure that Moose was loaded first. This could
324 cause very unhelpful errors when it tried to throw an error
325 before Moose was loaded. (Dave Rolsky)
327 * Moose::Util::TypeConstraints
328 - You could declare a name with subtype such as "Foo!Bar" that
329 would be allowed, but if you used it in a parameterized type
330 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
331 vetting on names created via the sugar functions, so that they
332 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
334 0.65 Thu, January 22, 2008
335 * Moose and Moose::Meta::Method::Overridden
336 - If an overridden method called super(), and then the
337 superclass's method (not overridden) _also_ called super(),
338 Moose went into an endless recursion loop. Test provided by
339 Chris Prather. (Dave Rolsky)
341 * Moose::Meta::TypeConstraint
342 - All methods are now documented. (gphat)
344 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
345 - Fixed some bogus failures that occurred because we tried to
346 validate filesystem paths in a very ad-hoc and
347 not-quite-correct way. (Dave Rolsky)
349 * Moose::Util::TypeConstraints
350 - Added maybe_type to exports. See docs for details. (rjbs)
353 - Added Moose::Util::TypeConstraints to the SEE ALSO
357 - Methods created via an attribute can now fulfill a "requires"
358 declaration for a role. (nothingmuch)
360 * Moose::Meta::Method::*
361 - Stack traces from inlined code will now report its line and
362 file as being in your class, as opposed to in Moose
365 0.64 Wed, December 31, 2008
366 * Moose::Meta::Method::Accessor
367 - Always inline predicate and clearer methods (Sartak)
369 * Moose::Meta::Attribute
370 - Support for parameterized traits (Sartak)
371 - verify_against_type_constraint method to avoid duplication
372 and enhance extensibility (Sartak)
375 - Tests (but no support yet) for parameterized traits (Sartak)
378 - Require Class::MOP 0.75+, which has the side effect of making
379 sure we work on Win32. (Dave Rolsky)
381 0.63 Mon, December 8, 2008
383 - Some small grammar tweaks and bug fixes in non-Moose example
386 0.62_02 Fri, December 5, 2008
387 * Moose::Meta::Role::Application::ToClass
388 - When a class does not provide all of a role's required
389 methods, the error thrown now mentions all of the missing
390 methods, as opposed to just the first one found. Requested by
391 Curtis Poe (RT #41119). (Dave Rolsky)
393 * Moose::Meta::Method::Constructor
394 - Moose will no longer inline a constructor for your class
395 unless it inherits its constructor from Moose::Object, and
396 will warn when it doesn't inline. If you want to force
397 inlining anyway, pass "replace_constructor => 1" to
398 make_immutable. Addresses RT #40968, reported by Jon
399 Swartz. (Dave Rolsky)
400 - The quoting of default values could be broken if the default
401 contained a single quote ('). Now we use quotemeta to escape
402 anything potentially dangerous in the defaults. (Dave Rolsky)
404 0.62_01 Wed, December 3, 2008
406 - use the method->execute API for BUILDALL
407 and DEMOLISHALL (Sartak)
409 * Moose::Util::TypeConstraints
410 - We now make all the type constraint meta classes immutable
411 before creating the default types provided by Moose. This
412 should make loading Moose a little faster. (Dave Rolsky)
414 0.62 Wed November 26, 2008
415 * Moose::Meta::Role::Application::ToClass
416 Moose::Meta::Role::Application::ToRole
417 - fixed issues where excluding and aliasing the
418 same methods for a single role did not work
419 right (worked just fine with multiple
421 - added test for this (stevan)
423 * Moose::Meta::Role::Application::RoleSummation
424 - fixed the error message when trying to compose
425 a role with a role it excludes (Sartak)
428 - Catch another case where recursion caused the value
429 of $CALLER to be stamped on (t0m)
430 - added test for this (t0m)
433 - Remove the make_immutable keyword, which has been
434 deprecated since April. It breaks metaclasses that
435 use Moose without no Moose (Sartak)
437 * Moose::Meta::Attribute
438 - Removing an attribute from a class now also removes delegation
439 (handles) methods installed for that attribute (t0m)
440 - added test for this (t0m)
442 * Moose::Meta::Method::Constructor
443 - An attribute with a default that looked like a number (but was
444 really a string) would accidentally be treated as a number
445 when the constructor was made immutable (perigrin)
446 - added test for this (perigrin)
449 - create method for constructing a role
451 - added test for this (Sartak)
452 - anonymous roles! (Sartak)
453 - added test for this (Sartak)
456 - more consistent error messages (Sartak)
458 * Moose::Cookbook::Roles::Recipe1
459 - attempt to explain why a role that just requires
460 methods is useful (Sartak)
462 0.61 Fri November 7, 2008
463 * Moose::Meta::Attribute
464 - When passing a role to handles, it will be loaded if necessary
468 - Method objects returned by get_method (and other methods)
469 Could end up being returned without an associated_metaclass
470 attribute. Removing get_method_map, which is provided by
471 Class::MOP::Class, fixed this. The Moose version did nothing
472 different from its parent except introduce a bug. (Dave Rolsky)
473 - added tests for this (jdv79)
476 - Added a $VERSION to all .pm files which didn't have one. Fixes
477 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
479 * Moose::Cookbook::Basics::Recipe4
480 * Moose::Cookbook::Basics::Recipe6
481 - These files had spaces on the first line of the SYNOPSIS, as
482 opposed to a totally empty line. According to RT #40432, this
483 confuses POD parsers. (Dave Rolsky)
485 0.60 Fri October 24, 2008
487 - Passing "-traits" when loading Moose caused the Moose.pm
488 exports to be broken. Reported by t0m. (Dave Rolsky)
489 - Tests for this bug. (t0m)
492 - Change resolve_metaclass alias to use the new
493 load_first_existing_class function. This makes it a lot
494 simpler, and also around 5 times faster. (t0m)
495 - Add caching to resolve_metaclass_alias, which gives an order
496 of magnitude speedup to things which repeatedly call the
497 Moose::Meta::Attribute->does method, notably MooseX::Storage
500 * Moose::Util::TypeConstraint
501 - Put back the changes for parameterized constraints that
502 shouldn't have been removed in 0.59. We still cannot parse
503 them, but MooseX modules can create them in some other
504 way. See the 0.58 changes for more details. (jnapiorkowski)
505 - Changed the way subtypes are created so that the job is
506 delegated to a type constraint parent. This clears up some
507 hardcoded checking and should allow correct subtypes of
508 Moose::Meta::Type::Constraint. Don't rely on this new API too
509 much (create_child_type) because it may go away in the
510 future. (jnapiorkowski)
512 * Moose::Meta::TypeConstraint::Union
513 - Type constraint names are sorted as strings, not numbers.
516 * Moose::Meta::TypeConstraint::Parameterizable
517 - New parameterize method. This can be used as a factory method
518 to make a new type constraint with a given parameterized
519 type. (jnapiorkowski)
520 - added tests (jnapiorkowski)
522 0.59 Tue October 14, 2008
524 - Add abridged documentation for builder/default/initializer/
525 predicate, and link to more details sections in
526 Class::MOP::Attribute. (t0m)
528 * Moose::Util::TypeConstraints
529 - removed prototypes from all but the &-based stuff (mst)
531 * Moose::Util::TypeConstraints
532 - Creating a anonymous subtype with both a constraint and a
533 message failed with a very unhelpful error, but should just
534 work. Reported by t0m. (Dave Rolsky)
537 - Some tests that used Test::Warn if it was available failed
538 with older versions of Test::Warn. Reported by Fayland. (Dave
540 - Test firing behavior of triggers in relation to builder/default/
542 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
543 kinds of supported type. (t0m)
546 - In create(), do not pass "roles" option to the superclass
547 - added related test that creates an anon metaclass with
550 * Moose::Meta::TypeConstraint::Class
551 * Moose::Meta::TypeConstraint::Role
552 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
553 other types (as per change in 0.55_02). (t0m)
555 * Moose::Meta::TypeConstraint::Registry
556 - Fix warning when dealing with unknown type names (t0m)
558 * Moose::Util::TypeConstraints
559 - Reverted changes from 0.58 related to handle parameterized
560 types. This caused random failures on BSD and Win32 systems,
561 apparently related to the regex engine. This means that Moose
562 can no longer parse structured type constraints like
563 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
564 supported in a slightly different way via MooseX::Types some
565 time in the future. (Dave Rolsky)
567 0.58 Sat September 20, 2008
568 !! This release has an incompatible change regarding !!
569 !! how roles add methods to a class !!
571 * Roles and role application
572 ! Roles now add methods by calling add_method, not
573 alias_method. They make sure to always provide a method
574 object, which will be cloned internally. This means that it is
575 now possible to track the source of a method provided by a
576 role, and even follow its history through intermediate roles.
578 This means that methods added by a role now show up when
579 looking at a class's method list/map. (Dave Rolsky)
582 - From this release on, we'll try to maintain a list of
583 conflicting modules, and warn you if you have one
584 installed. For example, this release conflicts with ...
585 - MooseX::Singleton <= 0.11
586 - MooseX::Params::Validate <= 0.05
589 In general, we try to not break backwards compatibility for
590 most Moose users, but MooseX modules and other code which
591 extends Moose's metaclasses is often affected by very small
592 changes in the Moose internals.
594 * Moose::Meta::Method::Delegation
595 * Moose::Meta::Attribute
596 - Delegation methods now have their own method class. (Dave
599 * Moose::Meta::TypeConstraint::Parameterizable
600 - Added a new method 'parameterize' which is basically a factory
601 for the containing constraint. This makes it easier to create
602 new types of parameterized constraints. (jnapiorkowski)
604 * Moose::Meta::TypeConstraint::Union
605 - Changed the way Union types canonicalize their names to follow
606 the normalized TC naming rules, which means we strip all
607 whitespace. (jnapiorkowski)
609 * Moose::Util::TypeConstraints
610 - Parameter and Union args are now sorted, this makes Int|Str
611 the same constraint as Str|Int. (jnapiorkowski)
612 - Changes to the way Union types are parsed to more correctly
613 stringify their names. (jnapiorkowski)
614 - When creating a parameterized type, we now use the new
615 parameterize method. (jnapiorkowski)
616 - Incoming type constraint strings are now normalized to remove
617 all whitespace differences. (jnapiorkowski)
618 - Changed the way we parse type constraint strings so that we now
619 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
620 constraints. This lays the foundation for more flexible type
621 constraint implementations.
623 * Tests and docs for all the above. (jnapiorkowski)
627 - Moose::Exporter will no longer remove a subroutine that the
628 exporting package re-exports. Moose re-exports the
629 Carp::confess function, among others. The reasoning is that we
630 cannot know whether you have also explicitly imported those
631 functions for your own use, so we err on the safe side and
632 always keep them. (Dave Rolsky)
633 - added tests for this (rafl)
636 - Changes to how we fix metaclass compatibility that are much
637 too complicated to go into. The summary is that Moose is much
638 less likely to complain about metaclass incompatibility
639 now. In particular, if two metaclasses differ because
640 Moose::Util::MetaRole was used on the two corresponding
641 classes, then the difference in roles is reconciled for the
642 subclass's metaclass. (Dave Rolsky)
643 - Squashed an warning in _process_attribute (thepler)
646 - throw exceptions (sooner) for invalid attribute names (thepler)
647 - added tests for this (thepler)
649 * Moose::Util::MetaRole
650 - If you explicitly set a constructor or destructor class for a
651 metaclass object, and then applied roles to the metaclass,
652 that explicitly set class would be lost and replaced with the
656 * Moose::Meta::Attribute
657 * Moose::Meta::Method
660 * Moose::Error::Default
661 * Moose::Error::Croak
662 * Moose::Error::Confess
663 - All instances of confess() changed to use overridable
664 C<throw_error> method. This method ultimately calls a class
665 constructor, and you can change the class being called. In
666 addition, errors now pass more information than just a string.
667 The default C<error_class> behaves like C<Carp::confess>, so
668 the behavior is not visibly different for end users.
670 0.57 Wed September 3, 2008
672 - A new bit of doc intended to introduce folks familiar with
673 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
676 - Shows examples of two classes, each done first with and then
677 without Moose. This makes a nice parallel to
678 Moose::Intro. (Dave Rolsky)
680 * Moose::Util::TypeConstraints
681 - Fixed a bug in find_or_parse_type_constraint so that it
682 accepts a Moose::Meta::TypeConstraint object as the parent
683 type, not just a name (jnapiorkowski)
684 - added tests (jnapiorkowski)
687 - If Sub::Name was not present, unimporting failed to actually
688 remove some sugar subs, causing test failures (Dave Rolsky)
690 0.56 Mon September 1, 2008
691 For those not following the series of dev releases, there are
692 several major changes in this release of Moose.
693 ! Moose::init_meta should now be called as a method. See the
696 - Major performance improvements by nothingmuch.
698 - New modules for extension writers, Moose::Exporter and
699 Moose::Util::MetaRole by Dave Rolsky.
701 - Lots of doc improvements and additions, especially in the
706 * Removed all references to the experimental-but-no-longer-needed
707 Moose::Meta::Role::Application::ToMetaclassInstance.
709 * Require Class::MOP 0.65.
711 0.55_04 Sat August 30, 2008
712 * Moose::Util::MetaRole
713 * Moose::Cookbook::Extending::Recipe2
714 - This simplifies the application of roles to any meta class, as
715 well as the base object class. Reimplemented metaclass traits
716 using this module. (Dave Rolsky)
718 * Moose::Cookbook::Extending::Recipe1
719 - This a new recipe, an overview of various ways to write Moose
720 extensions (Dave Rolsky)
722 * Moose::Cookbook::Extending::Recipe3
723 * Moose::Cookbook::Extending::Recipe4
724 - These used to be Extending::Recipe1 and Extending::Recipe2,
727 0.55_03 Fri August 29, 2008
728 * No changes from 0.55_02 except increasing the Class::MOP
729 dependency to 0.64_07.
731 0.55_02 Fri August 29, 2008
732 * Makefile.PL and Moose.pm
733 - explicitly require Perl 5.8.0+ (Dave Rolsky)
735 * Moose::Util::TypeConstraints
736 - Fix warnings from find_type_constraint if the type is not
739 * Moose::Meta::TypeConstraint
740 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
741 return false if the type you specify cannot be found in the
742 type registry, rather than throwing an unhelpful and
743 coincidental exception. (t0m).
744 - added docs & test for this (t0m)
746 * Moose::Meta::TypeConstraint::Registry
747 - add_type_constraint now throws an exception if a parameter is
749 - added docs & test for this (t0m)
751 * Moose::Cookbook::FAQ
752 - Added a faq entry on the difference between "role" and "trait"
756 - Fixed a bug that caused role composition to not see a required
757 method when that method was provided by another role being
758 composed at the same time. (Dave Rolsky)
759 - test and bug finding (tokuhirom)
761 0.55_01 Wed August 20, 2008
763 !! Calling Moose::init_meta as a function is now !!
764 !! deprecated. Please see the Moose.pm docs for details. !!
766 * Moose::Meta::Method::Constructor
767 - Fix inlined constructor so that values produced by default
768 or builder methods are coerced as required. (t0m)
769 - added test for this (t0m)
771 * Moose::Meta::Attribute
772 - A lazy attribute with a default or builder did not attempt to
773 coerce the default value. The immutable code _did_
775 - added test for this (t0m)
778 - This is a new helper module for writing "Moose-alike"
779 modules. This should make the lives of MooseX module authors
780 much easier. (Dave Rolsky)
783 * Moose::Cookbook::Meta::Recipe5
784 - Implemented metaclass traits (and wrote a recipe for it):
786 use Moose -traits => 'Foo'
788 This should make writing small Moose extensions a little
791 * Moose::Cookbook::Basics::Recipe1
792 - Removed any examples of direct hashref access, and applied an
793 editorial axe to reduce verbosity. (Dave Rolsky)
795 * Moose::Cookbook::Basics::Recipe1
796 - Also applied an editorial axe here. (Dave Rolsky)
799 * Moose::Cookbook::Extending::Recipe1
800 * Moose::Cookbook::Extending::Recipe2
801 - Rewrote extending and embedding moose documentation and
802 recipes to use Moose::Exporter (Dave Rolsky)
806 - These two modules now warn when you load them from the main
807 package "main" package, because we will not export sugar to
808 main. Previously it just did nothing. (Dave Rolsky)
811 - Now provide an init_meta method just like Moose.pm, and you
812 can call this to provide an alternate role metaclass. (Dave
813 Rolsky and nothingmuch)
814 - get_method_map now respects the package cache flag (nothingmuch)
817 - Two new methods - add_method and wrap_method_body
821 - Optimizations including allowing constructors to accept hash
822 refs, making many more classes immutable, and making
823 constructors immutable. (nothingmuch)
825 0.55 Sun August 3, 2008
826 * Moose::Meta::Attribute
827 - breaking down the way 'handles' methods are
828 created so that the process can be more easily
829 overridden by subclasses (stevan)
831 * Moose::Meta::TypeConstraint
832 - fixing what is passed into a ->message with
833 the type constraints (RT #37569)
834 - added tests for this (Charles Alderman)
836 * Moose::Util::TypeConstraints
837 - fix coerce to accept anon types like subtype can (mst)
840 - reorganized the recipes into sections - Basics, Roles, Meta,
841 Extending - and wrote abstracts for each section (Dave Rolsky)
843 * Moose::Cookbook::Basics::Recipe10
844 - A new recipe that demonstrates operator overloading
845 in combination with Moose. (bluefeet)
847 * Moose::Cookbook::Meta::Recipe1
848 - an introduction to what meta is and why you'd want to make
849 your own metaclass extensions (Dave Rolsky)
851 * Moose::Cookbook::Meta::Recipe4
852 - a very simple metaclass example (Dave Rolsky)
854 * Moose::Cookbook::Extending::Recipe1
855 - how to write a Moose-alike module to use your own object base
858 * Moose::Cookbook::Extending::Recipe2
859 - how to write modules with an API just like C<Moose.pm> (Dave
863 - Tons of fixes, both syntactical and grammatical (Dave
864 Rolsky, Paul Fenwick)
866 0.54 Thurs. July 3, 2008
867 ... this is not my day today ...
869 * Moose::Meta::Attribute
870 - fixed legal_options_for_inheritance such that
871 clone_and_inherit options still works for
872 Class::MOP::Attribute objects and therefore
873 does not break MooseX::AttributeHelpers
876 0.53 Thurs. July 3, 2008
877 * Whoops, I guess I should run 'make manifest' before
878 actually releasing the module. No actual changes
879 in this release, except the fact that it includes
880 the changes that I didn't include in the last
883 0.52 Thurs. July 3, 2008
885 - added "FEATURE REQUESTS" section to the Moose docs
886 to properly direct people (stevan) (RT #34333)
887 - making 'extends' croak if it is passed a Role since
888 this is not ever something you want to do
889 (fixed by stevan, found by obra)
890 - added tests for this (stevan)
893 - adding support for DOES (as in UNIVERSAL::DOES)
895 - added test for this
897 * Moose::Meta::Attribute
898 - added legal_options_for_inheritance (wreis)
899 - added tests for this (wreis)
901 * Moose::Cookbook::Snacks::*
902 - removed some of the unfinished snacks that should
903 not have been released yet. Added some more examples
904 to the 'Keywords' snack. (stevan)
906 * Moose::Cookbook::Style
907 - added general Moose "style guide" of sorts to the
908 cookbook (nothingmuch) (RT #34335)
911 - added more BUILDARGS tests (stevan)
913 0.51 Thurs. Jun 26, 2008
915 - add unimport so "no Moose::Role" actually does
918 * Moose::Meta::Role::Application::ToRole
919 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
920 order to provide its own implementation, that method still got
921 added to the list of required methods for consumers of
922 RoleB. Now an aliased method is only added to the list of
923 required methods if the role doing the aliasing does not
924 provide its own implementation. See Recipe 11 for an example
925 of all this. (Dave Rolsky)
926 - added tests for this
928 * Moose::Meta::Method::Constructor
929 - when a single argument that wasn't a hashref was provided to
930 an immutabilized constructor, the error message was very
931 unhelpful, as opposed to the non-immutable error. Reported by
933 - added test for this (Dave Rolsky)
935 * Moose::Meta::Attribute
936 - added support for meta_attr->does("ShortAlias") (sartak)
937 - added tests for this (sartak)
938 - moved the bulk of the `handles` handling to the new
939 install_delegation method (Stevan)
942 - Added BUILDARGS, a new step in new()
944 * Moose::Meta::Role::Application::RoleSummation
945 - fix typos no one ever sees (sartak)
947 * Moose::Util::TypeConstraints
948 * Moose::Meta::TypeConstraint
949 * Moose::Meta::TypeCoercion
950 - Attempt to work around the ??{ } vs. threads issue
952 - Some null_constraint optimizations
954 0.50 Thurs. Jun 11, 2008
955 - Fixed a version number issue by bumping all modules
958 0.49 Thurs. Jun 11, 2008
959 !! This version now approx. 20-25% !!
960 !! faster with new Class::MOP 0.59 !!
962 * Moose::Meta::Attribute
963 - fixed how the is => (ro|rw) works with
964 custom defined reader, writer and accessor
966 - added docs for this (TODO).
967 - added tests for this (Thanks to Penfold)
968 - added the custom attribute alias for regular
969 Moose attributes which is "Moose"
970 - fix builder and default both being used
975 Moose::Meta::Attribute
977 Moose::Meta::Role::Composite
978 Moose::Util::TypeConstraints
979 - switched usage of reftype to ref because
983 - changing add_package_symbol to use the new
987 - fixed how DEMOLISHALL is called so that it
988 can be overrided in subclasses (thanks to Sartak)
989 - added test for this (thanks to Sartak)
991 * Moose::Util::TypeConstraints
992 - move the ClassName type check code to
993 Class::MOP::is_class_loaded (thanks to Sartak)
995 * Moose::Cookbook::Recipe11
996 - add tests for this (thanks to tokuhirom)
998 0.48 Thurs. May 29, 2008
999 (early morning release engineering)--
1001 - fixing the version in Moose::Meta::Method::Destructor
1002 which was causing the indexer to choke
1004 0.47 Thurs. May 29, 2008
1005 (late night release engineering)--
1007 - fixing the version is META.yml, no functional
1008 changes in this release
1010 0.46 Wed. May 28, 2008
1011 !! This version now approx. 20-25% !!
1012 !! faster with new Class::MOP 0.57 !!
1014 * Moose::Meta::Class
1015 - some optimizations of the &initialize method
1016 since it is called so often by &meta
1018 * Moose::Meta::Class
1020 - now use the get_all_package_symbols from the
1021 updated Class::MOP, test suite is now 10 seconds
1024 * Moose::Meta::Method::Destructor
1025 - is_needed can now also be called as a class
1026 method for immutablization to check if the
1027 destructor object even needs to be created
1030 * Moose::Meta::Method::Destructor
1031 Moose::Meta::Method::Constructor
1032 - added more descriptive error message to help
1033 keep people from wasting time tracking an error
1034 that is easily fixed by upgrading.
1036 0.45 Saturday, May 24, 2008
1038 - Because of work in Class::MOP 0.57, all
1039 XS based functionality is now optional
1040 and a Pure Perl version is supplied
1041 - the CLASS_MOP_NO_XS environment variable
1042 can now be used to force non-XS versions
1044 - several of the packages have been tweaked
1045 to take care of this, mostly we added
1046 support for the package_name and name
1047 variables in all the Method metaclasses
1048 - before/around/after method modifiers now
1049 support regexp matching of names
1050 (thanks to Takatoshi Kitano)
1051 - tests added for this
1052 - NOTE: this only works for classes, it
1053 is currently not supported in roles,
1054 but, ... patches welcome
1055 - All usage of Carp::confess have been replaced
1056 by Carp::croak in the "keyword" functions since
1057 the stack trace is usually not helpful
1060 - All usage of Carp::confess have been replaced
1061 by Carp::croak in the "keyword" functions since
1062 the stack trace is usually not helpful
1063 - The 'has' keyword for roles now accepts the
1064 same array ref form that Moose.pm does
1065 (has [qw/foo bar/] => (is => 'rw', ...))
1066 - added test for this
1068 * Moose::Meta::Attribute
1069 - trigger on a ro-attribute is no longer an
1070 error, as it's useful to trigger off of the
1073 * Moose::Meta::Class
1074 - added same 'add_package_symbol' fix as in
1078 - does_role now handles non-Moose classes
1080 - added tests for this
1081 - added the 'add_method_modifier' function
1082 (thanks to Takatoshi Kitano)
1084 * Moose::Util::TypeConstraints
1085 - subtypes of parameterizable types now are
1086 themselves parameterizable types
1088 * Moose::Meta::Method::Constructor
1089 - fixed bug where trigger was not being
1090 called by the inlined immutable
1092 - added test for this (thanks to Caelum)
1094 * Moose::Meta::Role::Application::ToInstance
1095 - now uses the metaclass of the instance
1096 (if possible) to create the anon-class
1097 (thanks Jonathan Rockway)
1099 * Moose::Cookbook::Recipe22
1100 - added the meta-attribute trait recipe
1104 - fixed hash-ordering test bug that was
1105 causing occasional cpantester failures
1106 - renamed the t/000_recipe/*.t tests to be
1107 more descriptive (thanks to Sartak)
1109 0.44 Sat. May 10, 2008
1111 - made make_immutable warning cluck to
1112 show where the error is (thanks mst)
1115 - BUILDALL and DEMOLISHALL now call
1116 ->body when looping through the
1117 methods, to avoid the overloaded
1119 - fixed issue where DEMOLISHALL was
1120 eating the $@ values, and so not
1121 working correctly, it still kind of
1122 eats them, but so does vanilla perl
1123 - added tests for this
1125 * Moose::Cookbook::Recipe7
1126 - added new recipe for immutable
1127 functionality (thanks Dave Rolsky)
1129 * Moose::Cookbook::Recipe9
1130 - added new recipe for builder and
1131 lazy_build (thanks Dave Rolsky)
1133 * Moose::Cookbook::Recipe11
1134 - added new recipe for method aliasing
1135 and exclusion with Roles (thanks Dave Rolsky)
1138 - fixed Win32 test failure (thanks spicyjack)
1140 ~ removed Build.PL and Module::Build compat
1141 since Module::Install has done that.
1143 0.43 Wed. April, 30, 2008
1145 drink more coffee before
1146 doing release engineering
1148 - whoops, forgot to do the smolder tests,
1149 and we broke some of the custom meta-attr
1150 modules. This fixes that.
1152 0.42 Mon. April 28, 2008
1153 - some bad tests slipped by, nothing else
1154 changed in this release (cpantesters++)
1156 - upped the Class::MOP dependency to 0.55
1157 since we have tests which need the C3
1160 0.41 Mon. April 28, 2008
1161 ~~ numerous documentation updates ~~
1163 - Changed all usage of die to Carp::croak for better
1164 error reporting (initial patch by Tod Hagan)
1166 ** IMPORTANT NOTE **
1167 - the make_immutable keyword is now deprecated, don't
1168 use it in any new code and please fix your old code
1169 as well. There will be 2 releases, and then it will
1175 - refactored the way inner and super work to avoid
1176 any method/@ISA cache penalty (nothingmuch)
1178 * Moose::Meta::Class
1179 - fixing &new_object to make sure trigger gets the
1180 coerced value (spotted by Charles Alderman on the
1182 - added test for this
1184 * Moose::Meta::Method::Constructor
1185 - immutable classes which had non-lazy attributes were calling
1186 the default generating sub twice in the constructor. (bug
1187 found by Jesse Luehrs, fixed by Dave Rolsky)
1188 - added tests for this (Dave Rolsky)
1189 - fix typo in initialize_body method (nothingmuch)
1191 * Moose::Meta::Method::Destructor
1192 - fix typo in initialize_body method (nothingmuch)
1194 * Moose::Meta::Method::Overriden
1195 Moose::Meta::Method::Augmented
1196 - moved the logic for these into their own
1197 classes (nothingmuch)
1199 * Moose::Meta::Attribute
1200 - inherited attributes may now be extended without
1201 restriction on the type ('isa', 'does') (Sartak)
1202 - added tests for this (Sartak)
1203 - when an attribute property is malformed (such as lazy without
1204 a default), give the name of the attribute in the error
1206 - added the &applied_traits and &has_applied_traits methods
1207 to allow introspection of traits
1208 - added tests for this
1209 - moved 'trait' and 'metaclass' argument handling to here from
1211 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1212 '+foo' syntax) (nothingmuch)
1213 - added tests for this (t0m)
1216 - localize $@ inside DEMOLISHALL to avoid it
1217 eating $@ (found by Ernesto)
1218 - added test for this (thanks to Ernesto)
1220 * Moose::Util::TypeConstraints
1221 - &find_type_constraint now DWIMs when given an
1222 type constraint object or name (nothingmuch)
1223 - &find_or_create_type_constraint superseded with a number of more
1225 - find_or_create_{isa,does}_type_constraint
1226 - find_or_parse_type_constraint
1228 * Moose::Meta::TypeConstraint
1229 Moose::Meta::TypeConstraint::Class
1230 Moose::Meta::TypeConstraint::Role
1231 Moose::Meta::TypeConstraint::Enum
1232 Moose::Meta::TypeConstraint::Union
1233 Moose::Meta::TypeConstraint::Parameterized
1234 - added the &equals method for comparing two type
1235 constraints (nothingmuch)
1236 - added tests for this (nothingmuch)
1238 * Moose::Meta::TypeConstraint
1239 - add the &parents method, which is just an alias to &parent.
1240 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1242 * Moose::Meta::TypeConstraint::Class
1243 - added the class attribute for introspection purposes
1245 - added tests for this
1247 * Moose::Meta::TypeConstraint::Enum
1248 Moose::Meta::TypeConstraint::Role
1249 - broke these out into their own classes (nothingmuch)
1251 * Moose::Cookbook::Recipe*
1252 - fixed references to test file locations in the POD
1253 and updated up some text for new Moose features
1257 - Added &resolve_metaclass_alias, a helper function for finding an actual
1258 class for a short name (e.g. in the traits list)
1260 0.40 Fri. March 14, 2008
1261 - I hate Pod::Coverage
1263 0.39 Fri. March 14, 2008
1265 - documenting the use of '+name' with attributes
1266 that come from recently composed roles. It makes
1267 sense, people are using it, and so why not just
1268 officially support it.
1269 - fixing the 'extends' keyword so that it will not
1270 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1273 - added the perl -Moose=+Class::Name feature to allow
1274 monkeypatching of classes in one liners
1277 - fixing the 'apply_all_roles' keyword so that it will not
1278 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1280 * Moose::Meta::Class
1281 - added ->create method which now supports roles (thanks to jrockway)
1282 - added tests for this
1283 - added ->create_anon_class which now supports roles and caching of
1284 the results (thanks to jrockway)
1285 - added tests for this
1286 - made ->does_role a little more forgiving when it is
1287 checking a Class::MOP era metaclasses.
1289 * Moose::Meta::Role::Application::ToInstance
1290 - it is now possible to pass extra params to be used when
1291 a role is applied to an the instance (rebless_params)
1292 - added tests for this
1294 * Moose::Util::TypeConstraints
1295 - class_type now accepts an optional second argument for a
1296 custom message. POD anotated accordingly (groditi)
1297 - added tests for this
1298 - it is now possible to make anon-enums by passing 'enum' an
1299 ARRAY ref instead of the $name => @values. Everything else
1301 - added tests for this
1304 - making test for using '+name' on attributes consumed
1305 from a role, it works and makes sense too.
1307 * Moose::Meta::Attribute
1308 - fix handles so that it doesn't return nothing
1309 when the method cannot be found, not sure why
1310 it ever did this originally, this means we now
1311 have slightly better support for AUTOLOADed
1313 - added more delegation tests
1314 - adding ->does method to this so as to better
1315 support traits and their introspection.
1316 - added tests for this
1319 - localizing the Data::Dumper configurations so
1320 that it does not pollute others (RT #33509)
1321 - made ->does a little more forgiving when it is
1322 passed Class::MOP era metaclasses.
1324 0.38 Fri. Feb. 15, 2008
1325 * Moose::Meta::Attribute
1326 - fixed initializer to correctly do
1327 type checking and coercion in the
1329 - added tests for this
1332 - fixed some finicky tests (thanks to konobi)
1334 0.37 Thurs. Feb. 14, 2008
1336 - fixed some details in Moose::init_meta
1337 and its superclass handling (thanks thepler)
1338 - added tests for this (thanks thepler)
1339 - 'has' now dies if you don't pass in name
1341 - added the 'make_immutable' keyword as a shortcut
1344 * Moose::Meta::Class
1345 Moose::Meta::Method::Constructor
1346 Moose::Meta::Attribute
1347 - making (init_arg => undef) work here too
1348 (thanks to nothingmuch)
1350 * Moose::Meta::Attribute
1351 Moose::Meta::Method::Constructor
1352 Moose::Meta::Method::Accessor
1353 - make lazy attributes respect attr initializers (rjbs)
1354 - added tests for this
1356 * Moose::Util::TypeConstraints
1357 Moose::Util::TypeConstraints::OptimizedConstraints
1358 Moose::Meta::TypeConstraints
1359 Moose::Meta::Attribute
1360 Moose::Meta::Method::Constructor
1361 Moose::Meta::Method::Accessor
1362 - making type errors use the
1363 assigned message (thanks to Sartak)
1364 - added tests for this
1366 * Moose::Meta::Method::Destructor
1367 - making sure DESTROY gets inlined properly
1368 with successive DEMOLISH calls (thanks to manito)
1370 * Moose::Meta::Attribute
1371 Moose::Meta::Method::Accessor
1372 - fixed handling of undef with type constraints
1374 - added tests for this
1377 - added &get_all_init_args and &get_all_attribute_values
1378 (thanks to Sartak and nothingmuch)
1380 0.36 Sat. Jan. 26, 2008
1382 Moose::Meta::Attribute
1383 - role type tests now support when roles are
1384 applied to non-Moose classes (found by ash)
1385 - added tests for this (thanks to ash)
1386 - couple extra tests to boost code coverage
1388 * Moose::Meta::Method::Constructor
1389 - improved fix for handling Class::MOP attributes
1390 - added test for this
1392 * Moose::Meta::Class
1393 - handled the add_attribute($attribute_meta_object)
1395 - added test for this
1397 0.35 Tues. Jan. 22, 2008
1398 * Moose::Meta::Method::Constructor
1399 - fix to make sure even Class::MOP attributes
1400 are handled correctly (Thanks to Dave Rolsky)
1401 - added test for this (also Dave Rolsky)
1403 * Moose::Meta::Class
1404 - improved error message on _apply_all_roles,
1405 you should now use Moose::Util::apply_all_roles
1406 and you shouldnt have been using a _ prefixed
1407 method in the first place ;)
1409 0.34 Mon. Jan. 21, 2008
1410 ~~~ more misc. doc. fixes ~~~
1411 ~~ updated copyright dates ~~
1413 Moose is now a postmodern object system :)
1414 - (see the POD for details)
1416 * <<Role System Refactoring>>
1417 - this release contains a major reworking and
1418 cleanup of the role system
1419 - 100% backwards compat.
1420 - Role application now restructured into seperate
1421 classes based on type of applicants
1422 - Role summation (combining of more than one role)
1423 is much cleaner and anon-classes are no longer
1424 used in this process
1425 - new Composite role metaclass
1426 - runtime application of roles to instances
1427 is now more efficient and re-uses generated
1428 classes when applicable
1430 * <<New Role composition features>>
1431 - methods can now be excluded from a given role
1433 - methods can now be aliased to another name (and
1434 still retain the original as well)
1436 * Moose::Util::TypeConstraints::OptimizedConstraints
1437 - added this module (see above)
1439 * Moose::Meta::Class
1440 - fixed the &_process_attribute method to be called
1441 by &add_attribute, so that the API is now correct
1443 * Moose::Meta::Method::Accessor
1444 - fixed bug when passing a list of values to
1445 an accessor would get (incorrectly) ignored.
1446 Thanks to Sartak for finding this ;)
1447 - added tests for this (Sartak again)
1449 * Moose::Meta::Method::Accessor
1450 Moose::Meta::Method::Constructor
1451 Moose::Meta::Attribute
1452 Moose::Meta::TypeConstraint
1453 Moose::Meta::TypeCoercion
1454 - lots of cleanup of such things as:
1456 - type constraint handling
1457 - error handling/messages
1458 (thanks to nothingmuch)
1460 * Moose::Meta::TypeConstraint::Parameterizable
1461 - added this module to support the refactor
1462 in Moose::Meta::TypeConstraint::Parameterized
1464 * Moose::Meta::TypeConstraint::Parameterized
1465 - refactored how these types are handled so they
1466 are more generic and not confined to ArrayRef
1470 - shortened some file names for better VMS support (RT #32381)
1472 0.33 Fri. Dec. 14, 2007
1473 !! Moose now loads 2 x faster !!
1474 !! with new Class::MOP 0.49 !!
1476 ++ new oose.pm module to make command line
1477 Moose-ness easier (see POD docs for more)
1479 * Moose::Meta::Class
1481 - several tweaks to take advantage of the
1482 new method map caching in Class::MOP
1484 * Moose::Meta::TypeConstraint::Parameterized
1485 - allow subtypes of ArrayRef and HashRef to
1486 be used as a container (sartak)
1487 - added tests for this
1488 - basic support for coercion to ArrayRef and
1489 HashRef for containers (sartak)
1490 - added tests for this
1492 * Moose::Meta::TypeCoercion
1493 - coercions will now create subtypes as needed
1494 so you can now add coercions to parameterized
1495 types without having to explictly define them
1496 - added tests for this
1498 * Moose::Meta::Method::Accessor
1499 - allow subclasses to decide whether we need
1500 to copy the value into a new variable (sartak)
1502 0.32 Tues. Dec. 4, 2007
1503 * Moose::Util::TypeConstraints
1504 - fixing how subtype aliases of unions work
1505 they should inherit the parent's coercion
1506 - added tests for this
1507 - you can now define multiple coercions on
1508 a single type at different times instead of
1509 having to do it all in one place
1510 - added tests for this
1512 * Moose::Meta::TypeConstraint
1513 - there is now a default constraint of sub { 1 }
1514 instead of Moose::Util::TypeConstraints setting
1517 * Moose::Meta::TypeCoercion
1518 * Moose::Meta::TypeCoercion::Union
1519 - added the &has_coercion_for_type and
1520 &add_type_coercions methods to support the
1521 new features above (although you cannot add
1522 more type coercions for Union types)
1524 0.31 Mon. Nov. 26, 2007
1525 * Moose::Meta::Attribute
1526 - made the +attr syntax handle extending types with
1527 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1528 now works if the original foo is an ArrayRef.
1529 - added tests for this.
1530 - delegation now works even if the attribute does not
1531 have a reader method using the get_read_method_ref
1532 method from Class::MOP::Attribute.
1533 - added tests for this
1534 - added docs for this
1536 * Moose::Util::TypeConstraints
1537 - passing no "additional attribute info" to
1538 &find_or_create_type_constraint will no longer
1539 attempt to create an __ANON__ type for you,
1540 instead it will just return undef.
1541 - added docs for this
1543 0.30 Fri. Nov. 23, 2007
1544 * Moose::Meta::Method::Constructor
1545 -builder related bug in inlined constructor. (groditi)
1547 * Moose::Meta::Method::Accessor
1548 - genereate unnecessary calls to predicates and refactor
1549 code generation for runtime speed (groditi)
1551 * Moose::Util::TypeConstraints
1552 - fix ClassName constraint to introspect symbol table (mst)
1553 - added more tests for this (mst)
1554 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1555 with work correctly.
1556 - added tests for this
1559 - adding the link to Recipie 11 (written by Sartak)
1560 - adding test for SYNOPSIS code
1563 - New tests for builder bug. Upon instantiation, if an
1564 attribute had a builder, no value and was not lazy the
1565 builder default was not getting run, oops. (groditi)
1567 0.29 Tues. Nov. 13, 2007
1568 * Moose::Meta::Attribute
1569 - Fix error message on missing builder method (groditi)
1571 * Moose::Meta::Method::Accessor
1572 - Fix error message on missing builder method (groditi)
1575 - Add test to check for the correct error message when
1576 builder method is missing (groditi)
1578 0.28 Tues. Nov. 13, 2007
1579 - 0.27 packaged incorrectly (groditi)
1581 0.27 Tues. Nov. 13, 2007
1582 * Moose::Meta::Attribute
1583 - Added support for the new builder option (groditi)
1584 - Added support for lazy_build option (groditi)
1585 - Changed slot initialization for predicate changes (groditi)
1587 * Moose::Meta::Method::Accessor
1588 - Added support for lazy_build option (groditi)
1589 - Fix inline methods to work with corrected predicate
1592 * Moose::Meta::Method::Constructor
1593 - Added support for lazy_build option (groditi)
1596 - tests for builder and lazy_build (groditi)
1598 * fixing some misc. bits in the docs that
1599 got mentioned on CPAN Forum & perlmonks
1602 - fixed how required methods are handled
1603 when they encounter overriden or modified
1604 methods from a class (thanks to confound).
1605 - added tests for this
1607 * Moose::Util::TypeConstraint
1608 - fixed the type notation parser so that
1609 the | always creates a union and so is
1610 no longer a valid type char (thanks to
1611 konobi, mugwump and #moose for working
1613 - added more tests for this
1615 0.26 Thurs. Sept. 27, 2007
1618 * Parameterized Types
1619 We now support parameterized collection types, such as:
1620 ArrayRef[Int] # array or integers
1621 HashRef[Object] # a hash with object values
1622 They can also be nested:
1623 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1624 And work with the type unions as well:
1625 ArrayRef[Int | Str] # array of integers of strings
1627 * Better Framework Extendability
1628 Moose.pm is now "extendable" such that it is now much
1629 easier to extend the framework and add your own keywords
1630 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1631 section of the Moose.pm docs.
1634 In an effort to begin documenting some of the various
1635 details of Moose as well as some common idioms, we have
1636 created Moose::Cookbook::Snacks as a place to find
1637 small (easily digestable) nuggets of Moose code.
1640 ~ Several doc updates/cleanup thanks to castaway ~
1642 - converted build system to use Module::Install instead of
1643 Module::Build (thanks to jrockway)
1646 - added all the meta classes to the immutable list and
1647 set it to inline the accessors
1648 - fix import to allow Sub::Exporter like { into => }
1649 and { into_level => } (perigrin)
1650 - exposed and documented init_meta() to allow better
1651 embedding and extending of Moose (perigrin)
1654 - complete re-organization of the test suite
1655 - added some new tests as well
1656 - finally re-enabled the Moose::POOP test since
1657 the new version of DBM::Deep now works again
1660 * Moose::Meta::Class
1661 - fixed very odd and very nasty recursion bug with
1663 - added tests for this (eilara)
1665 * Moose::Meta::Attribute
1666 Moose::Meta::Method::Constructor
1667 Moose::Meta::Method::Accessor
1668 - fixed issue with overload::Overloaded getting called
1669 on non-blessed items. (RT #29269)
1670 - added tests for this
1672 * Moose::Meta::Method::Accessor
1673 - fixed issue with generated accessor code making
1674 assumptions about hash based classes (thanks to dexter)
1676 * Moose::Coookbook::Snacks
1677 - these are bits of documentation, not quite as big as
1678 Recipes but which have no clear place in the module docs.
1679 So they are Snacks! (horray for castaway++)
1681 * Moose::Cookbook::Recipe4
1682 - updated it to use the new ArrayRef[MyType] construct
1683 - updated the accompanying test as well
1685 +++ Major Refactor of the Type Constraint system +++
1686 +++ with new features added as well +++
1688 * Moose::Util::TypeConstraint
1689 - no longer uses package variable to keep track of
1690 the type constraints, now uses the an instance of
1691 Moose::Meta::TypeConstraint::Registry to do it
1692 - added more sophisticated type notation parsing
1694 - added tests for this
1696 * Moose::Meta::TypeConstraint
1697 - some minor adjustments to make subclassing easier
1698 - added the package_defined_in attribute so that we
1699 can track where the type constraints are created
1701 * Moose::Meta::TypeConstraint::Union
1702 - this is now been refactored to be a subclass of
1703 Moose::Meta::TypeConstraint
1705 * Moose::Meta::TypeCoercion::Union
1706 - this has been added to service the newly refactored
1707 Moose::Meta::TypeConstraint::Union and is itself
1708 a subclass of Moose::Meta::TypeCoercion
1710 * Moose::Meta::TypeConstraint::Parameterized
1711 - added this module (taken from MooseX::AttributeHelpers)
1712 to help construct nested collection types
1713 - added tests for this
1715 * Moose::Meta::TypeConstraint::Registry
1716 - added this class to keep track of type constraints
1718 0.25 Mon. Aug. 13, 2007
1720 - Documentation update to reference Moose::Util::TypeConstraints
1721 under 'isa' in 'has' for how to define a new type
1722 (thanks to shlomif).
1724 * Moose::Meta::Attribute
1725 - required attributes now will no longer accept undef
1726 from the constructor, even if there is a default and lazy
1727 - added tests for this
1728 - default subroutines must return a value which passes the
1730 - added tests for this
1732 * Moose::Meta::Attribute
1733 * Moose::Meta::Method::Constructor
1734 * Moose::Meta::Method::Accessor
1735 - type-constraint tests now handle overloaded objects correctly
1736 in the error message
1737 - added tests for this (thanks to EvanCarroll)
1739 * Moose::Meta::TypeConstraint::Union
1740 - added (has_)hand_optimized_constraint to this class so that
1741 it behaves as the regular Moose::Meta::TypeConstraint does.
1744 - large refactoring of this code
1745 - added several more tests
1746 - tests for subtle conflict resolition issues
1747 added, but not currently running
1750 * Moose::Cookbook::Recipe7
1751 - added new recipe for augment/inner functionality
1753 - added test for this
1756 - a formal definition of roles (still in progress)
1759 - utilities for easier working with Moose classes
1760 - added tests for these
1763 - This contains Moose specific test functions
1764 - added tests for these
1766 0.24 Tues. July 3, 2007
1767 ~ Some doc updates/cleanup ~
1769 * Moose::Meta::Attribute
1770 - added support for roles to be given as parameters
1771 to the 'handles' option.
1772 - added tests and docs for this
1773 - the has '+foo' attribute form now accepts changes to
1774 the lazy option, and the addition of a handles option
1775 (but not changing the handles option)
1776 - added tests and docs for this
1779 - required methods are now fetched using find_method_by_name
1780 so that required methods can come from superclasses
1781 - adjusted tests for this
1783 0.23 Mon. June 18, 2007
1784 * Moose::Meta::Method::Constructor
1785 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1786 * Moose::Meta::Class
1787 - Modify make_immutable to work with the new Class::MOP immutable
1788 mechanism + POD + very basic test (groditi)
1789 * Moose::Meta::Attribute
1790 - Fix handles to use goto() so that caller() comes out properly on
1791 the other side (perigrin)
1793 0.22 Thurs. May 31, 2007
1794 * Moose::Util::TypeConstraints
1795 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1796 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1797 prototypes for functions
1798 - added the ClassName type constraint, this checks for strings
1799 which will respond true to ->isa(UNIVERSAL).
1800 - added tests and docs for this
1801 - subtyping just in name now works correctly by making the
1802 default for where be { 1 }
1803 - added test for this
1805 * Moose::Meta::Method::Accessor
1806 - coerce and lazy now work together correctly, thanks to
1807 merlyn for finding this bug
1808 - tests added for this
1809 - fix reader presedence bug in Moose::Meta::Attribute + tests
1812 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1813 a HASH-ref and missed. This produces better error messages then
1814 having it die cause undef is not a HASH.
1815 - added tests for this
1817 0.21 Thursday, May 2nd, 2007
1819 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1820 - modified unimport to remove super and inner along with the rest
1821 - altered unimport tests to handle this
1824 - altered super export to populate SUPER_SLOT
1826 * Moose::Meta::Class
1827 - altered augment and override modifier application to use *_SLOT
1828 - modified tests for these to unimport one test class each to test
1831 - fixed issue where custom attribute metaclasses
1832 where not handled correctly in roles
1833 - added tests for this
1835 * Moose::Meta::Class
1836 - fixed issue where extending metaclasses with
1837 roles would blow up. Thanks to Aankhen`` for
1838 finding this insidious error, and it's solution.
1840 ~~ lots of spelling and grammer fixes in the docs,
1841 many many thanks to rlb3 and Aankhen for these :)
1843 0.20 Friday, April 6th, 2007
1844 >> I messed up the SKIP logic in one test
1845 so this release is just to fix that.
1848 - 'has' now also accepts an ARRAY ref
1849 to create multiple attrs (see docs)
1850 (thanks to konobi for this)
1851 - added tests and docs
1853 0.19 Thurs. April 5th, 2007
1854 ~~ More documentation updates ~~
1856 * Moose::Util::TypeConstraints
1857 - 'type' now supports messages as well
1858 thanks to phaylon for finding this
1859 - added tests for this
1860 - added &list_all_type_constraints and
1861 &list_all_builtin_type_constraints
1862 functions to facilitate introspection.
1864 * Moose::Meta::Attribute
1865 - fixed regexp 'handles' declarations
1866 to build the list of delegated methods
1867 correctly (and not override important
1868 things like &new) thanks to ashleyb
1870 - added tests and docs for this
1871 - added the 'documentation' attributes
1872 so that you can actually document your
1873 attributes and inspect them through the
1875 - added tests and docs for this
1877 * Moose::Meta::Class
1878 - when loading custom attribute metaclasses
1879 it will first look in for the class in the
1880 Moose::Meta::Attribute::Custom::$name, and
1881 then default to just loading $name.
1882 - added tests and docs for this
1884 * Moose::Meta::TypeConstraint
1885 - type constraints now stringify to their names.
1886 - added test for this
1889 - added tests to assure we work with Module::Refresh
1890 - added stricter test skip logic in the Moose POOP
1891 test, ask Rob Kinyon why.
1892 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1894 0.18 Sat. March 10, 2007
1895 ~~ Many, many documentation updates ~~
1898 - We now use Class::MOP::load_class to
1900 - added tests to show types and subtypes
1901 working with Declare::Constraints::Simple
1902 and Test::Deep as constraint engines.
1905 !! You must have Class::MOP 0.37_001 !!
1906 !! for this developer release to work !!
1908 This release was primarily adding the immutable
1909 feature to Moose. An immutable class is one which
1910 you promise not to alter. When you set the class
1911 as immutable it will perform various bits of
1912 memoization and inline certain part of the code
1913 (constructors, destructors and accessors). This
1914 minimizes (and in some cases totally eliminates)
1915 one of Moose's biggest performance hits. This
1916 feature is not on by default, and is 100% optional.
1917 It has several configurable bits as well, so you
1918 can pick and choose to your specific needs.
1920 The changes involved in this were fairly wide and
1921 highly specific, but 100% backwards compatible, so
1922 I am not going to enumerate them here. If you are
1923 truely interested in what was changed, please do
1926 0.17 Tues. Nov. 14, 2006
1927 * Moose::Meta::Method::Accessor
1928 - bugfix for read-only accessors which
1929 are have a type constraint and lazy.
1930 Thanks to chansen for finding it.
1932 0.16 Tues. Nov. 14, 2006
1934 There are some speed improvements in this release,
1935 but they are only the begining, so stay tuned.
1938 - BUILDALL and DEMOLISHALL no longer get
1939 called unless they actually need to be.
1940 This gave us a signifigant speed boost
1941 for the cases when there is no BUILD or
1942 DEMOLISH method present.
1944 * Moose::Util::TypeConstraints
1945 * Moose::Meta::TypeConstraint
1946 - added an 'optimize_as' option to the
1947 type constraint, which allows for a
1948 hand optimized version of the type
1949 constraint to be used when possible.
1950 - Any internally created type constraints
1951 now provide an optimized version as well.
1953 0.15 Sun. Nov. 5, 2006
1955 This version of Moose *must* have Class::MOP 0.36 in order
1956 to work correctly. A number of small internal tweaks have
1957 been made in order to be compatible with that release.
1959 * Moose::Util::TypeConstraints
1960 - added &unimport so that you can clean out
1961 your class namespace of these exported
1964 * Moose::Meta::Class
1965 - fixed minor issue which occasionally
1966 comes up during global destruction
1968 - moved Moose::Meta::Method::Overriden into
1972 - moved Moose::Meta::Role::Method into
1975 * Moose::Meta::Attribute
1976 - changed how we do type checks so that
1977 we reduce the overall cost, but still
1980 - moved accessor generation methods to
1981 Moose::Meta::Method::Accessor to
1982 conform to the API changes from
1985 * Moose::Meta::TypeConstraint
1986 - changed how constraints are compiled
1987 so that we do less recursion and more
1988 iteration. This makes the type check
1990 - moved Moose::Meta::TypeConstraint::Union
1993 * Moose::Meta::Method::Accessor
1994 - created this from methods formerly found in
1995 Moose::Meta::Attribute
1997 * Moose::Meta::Role::Method
1998 - moved this from Moose::Meta::Role
2000 * Moose::Meta::Method::Overriden
2001 - moved this from Moose::Meta::Class
2003 * Moose::Meta::TypeConstraint::Union
2004 - moved this from Moose::Meta::TypeConstraint
2006 0.14 Mon. Oct. 9, 2006
2008 * Moose::Meta::Attribute
2009 - fixed lazy attributes which were not getting
2010 checked with the type constraint (thanks ashley)
2011 - added tests for this
2012 - removed the over-enthusiastic DWIMery of the
2013 automatic ArrayRef and HashRef defaults, it
2014 broke predicates in an ugly way.
2015 - removed tests for this
2017 0.13 Sat. Sept. 30, 2006
2019 This version of Moose *must* have Class::MOP 0.35 in order
2020 to work correctly. A number of small internal tweaks have
2021 been made in order to be compatible with that release.
2024 - Removed the use of UNIVERSAL::require to be a better
2025 symbol table citizen and remove a dependency
2026 (thanks Adam Kennedy)
2028 **~~ removed experimental & undocumented feature ~~**
2029 - commented out the 'method' and 'self' keywords, see the
2030 comments for more info.
2033 - added a FAQ and WTF files to document frequently
2034 asked questions and common problems
2036 * Moose::Util::TypeConstraints
2037 - added GlobRef and FileHandle type constraint
2038 - added tests for this
2040 * Moose::Meta::Attribute
2041 - if your attribute 'isa' ArrayRef of HashRef, and you have
2042 not explicitly set a default, then make the default DWIM.
2043 This will also work for subtypes of ArrayRef and HashRef
2045 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2046 - new test added for this (thanks to ashley)
2049 - added basic support for runtime role composition
2050 but this is still *highly experimental*, so feedback
2051 is much appreciated :)
2052 - added tests for this
2054 * Moose::Meta::TypeConstraint
2055 - the type constraint now handles the coercion process
2056 through delegation, this is to support the coercion
2059 * Moose::Meta::TypeConstraint::Union
2060 - it is now possible for coercions to be performed
2062 - added tests for this (thanks to konobi)
2064 * Moose::Meta::TypeCoercion
2065 - properly capturing error when type constraint
2069 - Scalar::Util 1.18 is bad on Win32, so temporarily
2070 only require version 1.17 for Win32 and cygwin.
2071 (thanks Adam Kennedy)
2073 0.12 Sat. Sept. 1, 2006
2075 - Recipe5 (subtypes & coercion) has been written
2078 - fixed "bad meta" error message to be more descriptive
2079 - fixed &unimport to not remove the &inner and &super
2080 keywords because we need to localize them.
2081 - fixed number of spelling/grammer issues, thanks Theory :)
2083 **~~ experimental & undocumented feature ~~**
2084 - added the method and self keywords, they are basically
2085 just sugar, and they may not stay around.
2088 - added &dump method to easily Data::Dumper
2091 * Moose::Meta::TypeConstraint
2092 - added the &is_a_type_of method to check both the current
2093 and the subtype of a method (similar to &isa with classes)
2096 - this is now a subclass of Class::MOP::Module, and no longer
2097 creates the _role_meta ugliness of before.
2098 - fixed tests to reflect this change
2100 0.11 Wed. July 12, 2006
2102 - added an &unimport method to remove all the keywords
2103 that Moose will import, simply add 'no Moose' to the
2104 bottom of your class file.
2107 - fixed some test failures caused by a forgotten test
2110 0.10 Thurs. July 6, 2006
2112 - improved error message when loading modules so
2113 it is less confusing when you load a role.
2114 - added &calculate_all_roles method to
2115 Moose::Meta::Class and Moose::Meta::Role
2118 This module has been tested against Class::MOP 0.30
2119 but it does not yet utilize the optimizations
2120 it makes available. Stay tuned for that ;)
2122 0.09_03 Fri. June 23, 2006
2123 ++ DEVELOPER RELEASE ++
2125 - 'use strict' and 'use warnings' are no longer
2126 needed in Moose classes, Moose itself will
2127 turn them on for you.
2128 - added tests for this
2129 - moved code from exported subs to private methods
2130 in Moose::Meta::Class
2133 - as with Moose, strict and warnings are
2134 automatically turned on for you.
2135 - added tests for this
2138 - now handles an edge case for override errors
2139 - added tests for this
2140 - added some more edge case tests
2142 0.09_02 Tues. May 16, 2006
2143 ++ DEVELOPER RELEASE ++
2145 - added prototypes to the exported subs
2149 - added prototypes to the exported subs
2152 * Moose::Util::TypeConstraints
2153 - cleaned up prototypes for the subs
2156 0.09_01 Fri. May 12, 2006
2157 ++ DEVELOPER RELEASE ++
2158 - This release works in combination with
2159 Class::MOP 0.29_01, it is a developer
2160 release because it uses the a new
2161 instance sub-protocol and a fairly
2162 complete Role implementation. It has
2163 not yet been optimized, so it slower
2164 the the previous CPAN version. This
2165 release also lacks good updated docs,
2166 the official release will have updated docs.
2169 - refactored the keyword exports
2170 - 'with' now checks Role validaity and
2171 accepts more than one Role at a time
2172 - 'extends' makes metaclass adjustments as
2173 needed to ensure metaclass compatibility
2176 - refactored the keyword exports
2177 - 'with' now checks Role validaity and
2178 accepts more than one Role at a time
2180 * Moose::Util::TypeConstraints
2181 - added the 'enum' keyword for simple
2182 string enumerations which can be used as
2184 - see example of usage in t/202_example.t
2187 - more careful checking of params to new()
2190 - much work done on the role composition
2191 - many new tests for conflict detection
2192 and composition edge cases
2193 - not enough documentation, I suggest
2194 looking at the tests
2196 * Moose::Meta::Instance
2197 - added new Instance metaclass to support
2198 the new Class::MOP instance protocol
2200 * Moose::Meta::Class
2201 - some small changes to support the new
2203 - some small additions to support Roles
2205 * Moose::Meta::Attribute
2206 - some improvements to the accessor generation code
2208 - some small changes to support the new
2210 - (still somewhat) experimental delegation support
2211 with the 'handles' option
2212 - added several tests for this
2213 - no docs for this yet
2215 0.05 Thurs. April 27, 2006
2217 - keywords are now exported with Sub::Exporter
2218 thanks to chansen for this commit
2219 - has keyword now takes a 'metaclass' option
2220 to support custom attribute meta-classes
2221 on a per-attribute basis
2222 - added tests for this
2223 - the 'has' keyword not accepts inherited slot
2224 specifications (has '+foo'). This is still an
2225 experimental feature and probably not finished
2226 see t/038_attribute_inherited_slot_specs.t for
2227 more details, or ask about it on #moose
2228 - added tests for this
2231 - keywords are now exported with Sub::Exporter
2233 * Moose::Utils::TypeConstraints
2234 - reorganized the type constraint hierarchy, thanks
2235 to nothingmuch and chansen for his help and advice
2237 - added some tests for this
2238 - keywords are now exported with Sub::Exporter
2239 thanks to chansen for this commit
2241 * Moose::Meta::Class
2242 - due to changes in Class::MOP, we had to change
2243 construct_instance (for the better)
2245 * Moose::Meta::Attribute
2246 - due to changes in Class::MOP, we had to add the
2247 initialize_instance_slot method (it's a good thing)
2249 * Moose::Meta::TypeConstraint
2250 - added type constraint unions
2251 - added tests for this
2252 - added the is_subtype_of predicate method
2253 - added tests for this
2255 0.04 Sun. April 16th, 2006
2257 - Roles can now consume other roles
2258 - added tests for this
2259 - Roles can specify required methods now with
2260 the requires() keyword
2261 - added tests for this
2264 - ripped out much of it's guts ,.. much cleaner now
2265 - added required methods and correct handling of
2266 them in apply() for both classes and roles
2267 - added tests for this
2268 - no longer adds a does() method to consuming classes
2269 it relys on the one in Moose::Object
2270 - added roles attribute and some methods to support
2271 roles consuming roles
2273 * Moose::Meta::Attribute
2274 - added support for triggers on attributes
2275 - added tests for this
2276 - added support for does option on an attribute
2277 - added tests for this
2279 * Moose::Meta::Class
2280 - added support for attribute triggers in the
2282 - added tests for this
2285 - Moose no longer creates a subtype for your class
2286 if a subtype of the same name already exists, this
2287 should DWIM in 99.9999% of all cases
2289 * Moose::Util::TypeConstraints
2290 - fixed bug where incorrect subtype conflicts were
2292 - added test for this
2295 - this class can now be extended with 'use base' if
2296 you need it, it properly loads the metaclass class now
2297 - added test for this
2299 0.03_02 Wed. April 12, 2006
2301 - you must now explictly use Moose::Util::TypeConstraints
2302 it no longer gets exported for you automatically
2305 - new() now accepts hash-refs as well as key/value lists
2306 - added does() method to check for Roles
2307 - added tests for this
2309 * Moose::Meta::Class
2310 - added roles attribute along with the add_role() and
2312 - added tests for this
2315 - now adds a does() method to consuming classes
2316 which tests the class's hierarchy for roles
2317 - added tests for this
2319 0.03_01 Mon. April 10, 2006
2321 - added new Role recipe (no content yet, only code)
2324 - added 'with' keyword for Role support
2325 - added test and docs for this
2326 - fixed subtype quoting bug
2327 - added test for this
2331 - added test and docs
2333 * Moose::Util::TypeConstraints
2334 - added the message keyword to add custom
2335 error messages to type constraints
2338 - the meta role to support Moose::Role
2339 - added tests and docs
2341 * Moose::Meta::Class
2342 - moved a number of things from Moose.pm
2343 to here, they should have been here
2346 * Moose::Meta::Attribute
2347 - moved the attribute option macros here
2348 instead of putting them in Moose.pm
2350 * Moose::Meta::TypeConstraint
2351 - added the message attributes and the
2353 - added tests and docs for this
2355 0.03 Thurs. March 30, 2006
2357 - added the Moose::Cookbook with 5 recipes,
2358 describing all the stuff Moose can do.
2361 - fixed an issue with &extends super class loading
2362 it now captures errors and deals with inline
2363 packages correctly (bug found by mst, solution
2365 - added super/override & inner/augment features
2366 - added tests and docs for these
2369 - BUILDALL now takes a reference of the %params
2370 that are passed to &new, and passes that to
2373 * Moose::Util::TypeConstraints
2374 - Type constraints now survive runtime reloading
2375 - added test for this
2377 * Moose::Meta::Class
2378 - fixed the way attribute defaults are handled
2379 during instance construction (bug found by chansen)
2381 * Moose::Meta::Attribute
2382 - read-only attributes now actually enforce their
2383 read-only-ness (this corrected in Class::MOP as
2386 0.02 Tues. March 21, 2006
2388 - many more tests, fixing some bugs and
2390 - &extends now loads the base module with
2392 - added UNIVERSAL::require to the
2395 - each new Moose class will also create
2396 and register a subtype of Object which
2397 correspond to the new Moose class.
2398 - the 'isa' option in &has now only
2399 accepts strings, and will DWIM in
2402 * Moose::Util::TypeConstraints
2403 - added type coercion features
2404 - added tests for this
2405 - added support for this in attributes
2406 and instance construction
2408 - type construction no longer creates a
2409 function, it registers the type instead.
2410 - added several functions to get the
2414 - BUILDALL and DEMOLISHALL were broken
2415 because of a mis-named hash key, Whoops :)
2417 * Moose::Meta::Attribute
2418 - adding support for coercion in the
2419 autogenerated accessors
2421 * Moose::Meta::Class
2422 - adding support for coercion in the
2423 instance construction
2425 * Moose::Meta::TypeConstraint
2426 * Moose::Meta::TypeCoercion
2427 - type constraints and coercions are now
2428 full fledges meta-objects
2430 0.01 Wed. March 15, 2006
2431 - Moooooooooooooooooose!!!