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)
10 0.74 Tue, April 7, 2009
12 * Moose::Meta::Method::Destructor
13 - Include stack traces in the deprecation warnings.
17 - Removed the long-deprecated _apply_all_roles method.
19 * Moose::Meta::TypeConstraint
20 - Removed the long-deprecated union method.
23 0.73_02 Mon, April 6, 2009
24 * More deprecations and renamings
25 - Moose::Meta::Method::Constructor
26 - initialize_body => _initialize_body (this is always called
27 when an object is constructed)
30 - The DEMOLISHALL method could throw an exception during global
31 destruction, meaning that your class's DEMOLISH methods would
32 not be properly called. Reported by t0m.
34 * Moose::Meta::Method::Destructor
35 - Destructor inlining was totally broken by the change to the
36 is_needed method in 0.72_01. Now there is a test for this
37 feature, and it works again.
39 0.73_01 Sun, April 5, 2009
41 - Call user_class->meta in fewer places, with the eventual goal
42 of allowing the user to rename or exclude ->meta
43 altogether. Instead uses Class::MOP::class_of. (Sartak)
45 * Moose::Meta::Method::Accessor
46 - If an attribute had a lazy default, and that value did not
47 pass the attribute's type constraint, it did not get the
48 message from the type constraint, instead using a generic
49 message. Test provided by perigrin.
51 * Moose::Util::TypeConstraints
52 - Add duck_type keyword. It's sugar over making sure an object
53 can() a list of methods. This is easier than jrockway's
54 suggestion to fork all of CPAN. (perigrin)
55 - add tests and documentation (perigrin)
58 - Document the fact that init_meta() returns the target class's
59 metaclass object. (hdp)
61 * Moose::Cookbook::Extending::Recipe1
62 * Moose::Cookbook::Extending::Recipe2
63 * Moose::Cookbook::Extending::Recipe3
64 * Moose::Cookbook::Extending::Recipe4
65 - Make init_meta() examples explicitly return the metaclass and
66 point out this fact. (hdp)
68 * Moose::Cookbook::Basics::Recipe12
69 - A new recipe, creating a custom meta-method class.
71 * Moose::Cookbook::Meta::Recipe6
72 - A new recipe, creating a custom meta-method class.
75 * Moose::Meta::Method::Constructor
76 - Attribute triggers no longer receive the meta-attribute object
77 as an argument in any circumstance. Previously, triggers
78 called during instance construction were passed the
79 meta-attribute, but triggers called by normal accessors were
80 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
82 * Moose::Manual::Attributes
83 - Remove references to triggers receving the meta-attribute object as an
86 * Moose::Cookbook::FAQ
87 - Remove recommendation for deprecated Moose::Policy and
88 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
91 * Many methods have been renamed with a leading underscore, and a
92 few have been deprecated entirely. The methods with a leading
93 underscore are consider "internals only". People writing
94 subclasses or extensions to Moose should feel free to override
95 them, but they are not for "public" use.
98 - check_metaclass_compatibility => _check_metaclass_compatibility
100 - Moose::Meta::Method::Accessor
101 - initialize_body => _initialize_body (this is always called
102 when an object is constructed)
103 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
105 - Moose::Meta::Method::Constructor
106 - initialize_body => _initialize_body (this is always called
107 when an object is constructed)
108 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
109 - attributes => _attributes (now inherited from parent)
110 - meta_instance => _meta_instance (now inherited from parent)
113 - alias_method is deprecated. Use add_method
115 0.73 Fri, March 29, 2009
116 * No changes from 0.72_01.
118 0.72_01 Thu, March 26, 2009
120 - Almost every module has complete API documentation. A few
121 methods (and even whole classes) have been intentionally
122 excluded pending some rethinking of their APIs.
124 * Moose::Util::TypeConstraints
125 - Calling subtype with a name as the only argument is now an
126 exception. If you want an anonymous subtype do:
128 my $subtype = subtype as 'Foo';
130 * Moose::Cookbook::Meta::Recipe7
131 - A new recipe, creating a custom meta-instance class.
133 * Moose::Cookbook::Basics::Recipe5
134 - Fix various typos and mistakes. Includes a patch from Radu
137 * Moose::Cookbook::Basics::Recipe9
138 - Link to this recipe from Moose.pm's builder blurb
141 - When wrapping a function with a prototype, Moose::Exporter now
142 makes sure the wrapped function still has the same
143 prototype. (Daisuke Maki)
145 * Moose::Meta::Attribute
146 - Allow a subclass to set lazy_build for an inherited
150 - Explicitly depend on Data::OptList. We already had this dependency
151 via Sub::Exporter, but since we're using it directly we're
152 better off with it listed. (Sartak)
154 * Moose::Meta::Method::Constructor
155 - Make it easier to subclass the inlining behaviour. (Ash
158 * Moose::Manual::Delta
159 - Details significant changes in the history of Moose, along
160 with recommended workarounds.
162 * Moose::Manual::Contributing
163 - Contributor's guide to Moose.
165 * Moose::Meta::Method::Constructor
166 - The long-deprecated intialize_body method has been removed
167 (yes, spelled like that).
169 * Moose::Meta::Method::Destructor
170 - This is_needed method is now always a class method.
173 - Changes to the internals of how make_immutable works to match
174 changes in latest Class::MOP.
176 0.72 Mon, February 23, 2009
178 * Moose::Meta::Method::Constructor
179 - A mutable class accepted Foo->new(undef) without complaint,
180 while an immutable class would blow up with an unhelpful
181 error. Now, in both cases we throw a helpful error
182 instead. Reported by doy.
184 0.71_01 Sun, February 22, 2009
186 - Hopefully fixed some POD errors in a few recipes that caused
187 them to display weird on search.cpan.org.
189 * Moose::Util::TypeConstraints
190 - Calling type or subtype without the sugar helpers (as, where,
191 message) is now deprecated.
192 - The subtype function tried hard to guess what you meant, but
193 often got it wrong. For example:
195 my $subtype = subtype as 'ArrayRef[Object]';
197 This caused an error in the past, but now works as you'd
201 - Make sure Moose.pm is loaded before calling
202 Moose->throw_error. This wasn't normally an issue, but could
203 bite you in weird cases.
205 0.71 Thu, February 19, 2009
206 * Moose::Cookbook::Basics::Recipe11
207 - A new recipe which demonstrates the use of BUILDARGS and
210 * Moose::Cookbook::Roles::Recipe3
211 - A new recipe, applying a role to an object instance. (Dave
215 - Allow overriding specific keywords from "also" packages. (doy)
218 - Replace hardcoded cookbook tests with Test::Inline to ensure
219 the tests match the actual code in the recipes. (Dave Rolsky)
222 - Working on the above turned up a number of little bugs in the
223 recipe code. (Dave Rolsky)
225 * Moose::Util::TypeConstraints::Optimized
226 - Just use Class::MOP for the optimized ClassName check. (Dave
229 0.70 Sat, February 14, 2009
230 * Moose::Util::TypeConstraints
231 - Added the RoleName type (stevan)
232 - added tests for this (stevan)
234 * Moose::Cookbook::Basics::Recipe3
235 - Updated the before qw[left right] sub to be a little more
236 defensive about what it accepts (stevan)
237 - added more tests to t/000_recipies/basics/003_binary_tree.t
241 - We now always call DEMOLISHALL, even if a class does not
242 define DEMOLISH. This makes sure that method modifiers on
243 DEMOLISHALL work as expected. (doy)
244 - added tests for this (EvanCarroll)
246 * Moose::Util::MetaRole
247 - Accept roles for the wrapped_method_metaclass (rafl)
248 - added tests for this (rafl)
250 * Moose::Meta::Attribute
251 - We no longer pass the meta-attribute object as a final
252 argument to triggers. This actually changed for inlined code a
253 while back, but the non-inlined version and the docs were
257 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
258 they require 0.11. (Dave Rolsky)
261 - Lots of small changes to the manual, cookbook, and
262 elsewhere. These were based on feedback from various
263 users, too many to list here. (Dave Rolsky)
265 0.69 Thu, February 12, 2009
267 - Make some keyword errors use throw_error instead of croak
268 since Moose::Exporter wraps keywords now (Sartak)
271 - Revised every recipe for style and clarity. Also moved some
272 documentation out of cookbook recipes and into Moose::Manual
273 pages. This work was funded as part of the Moose docs grant
274 from TPF. (Dave Rolsky)
276 * Moose::Meta::Method::Delegation
277 - If the attribute doing the delegation was not populated, the
278 error message did not specify the attribute name
281 0.68 Wed, February 4, 2009
283 - Many spelling, typo, and formatting fixes by daxim.
285 * Moose::Manual::Attributes
286 - The NAME section in the POD used "Attribute" so search.cpan
287 didn't resolve links from other documents properly.
289 * Moose::Meta::Method::Overriden
290 - Now properly spelled as Overridden. Thanks to daxim for
293 0.67 Tue, February 3, 2009
295 - Lots of little typo fixes and a few clarifications. Several
296 pages didn't have proper titles, and so weren't actually
297 visible on search.cpan.org. Thanks to hanekomu for a variety
298 of fixes and formatting improvements.
300 0.66 Tue, February 3, 2009
302 - This is a brand new, extensive manual for Moose. This aims to
303 provide a complete introduction to all of Moose's
304 features. This work was funded as part of the Moose docs grant
305 from TPF. (Dave Rolsky)
307 * Moose::Meta::Attribute
308 - Added a delegation_metaclass method to replace a hard-coded
309 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
311 * Moose::Util::TypeConstraints
312 - If you created a subtype and passed a parent that Moose didn't
313 know about, it simply ignored the parent. Now it automatically
314 creates the parent as a class type. This may not be what you
315 want, but is less broken than before. (Dave Rolsky)
317 * Moose::Util::TypeConstraints
318 - This module tried throw errors by calling Moose->throw_error,
319 but it did not ensure that Moose was loaded first. This could
320 cause very unhelpful errors when it tried to throw an error
321 before Moose was loaded. (Dave Rolsky)
323 * Moose::Util::TypeConstraints
324 - You could declare a name with subtype such as "Foo!Bar" that
325 would be allowed, but if you used it in a parameterized type
326 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
327 vetting on names created via the sugar functions, so that they
328 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
330 0.65 Thu, January 22, 2008
331 * Moose and Moose::Meta::Method::Overridden
332 - If an overridden method called super(), and then the
333 superclass's method (not overridden) _also_ called super(),
334 Moose went into an endless recursion loop. Test provided by
335 Chris Prather. (Dave Rolsky)
337 * Moose::Meta::TypeConstraint
338 - All methods are now documented. (gphat)
340 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
341 - Fixed some bogus failures that occurred because we tried to
342 validate filesystem paths in a very ad-hoc and
343 not-quite-correct way. (Dave Rolsky)
345 * Moose::Util::TypeConstraints
346 - Added maybe_type to exports. See docs for details. (rjbs)
349 - Added Moose::Util::TypeConstraints to the SEE ALSO
353 - Methods created via an attribute can now fulfill a "requires"
354 declaration for a role. (nothingmuch)
356 * Moose::Meta::Method::*
357 - Stack traces from inlined code will now report its line and
358 file as being in your class, as opposed to in Moose
361 0.64 Wed, December 31, 2008
362 * Moose::Meta::Method::Accessor
363 - Always inline predicate and clearer methods (Sartak)
365 * Moose::Meta::Attribute
366 - Support for parameterized traits (Sartak)
367 - verify_against_type_constraint method to avoid duplication
368 and enhance extensibility (Sartak)
371 - Tests (but no support yet) for parameterized traits (Sartak)
374 - Require Class::MOP 0.75+, which has the side effect of making
375 sure we work on Win32. (Dave Rolsky)
377 0.63 Mon, December 8, 2008
379 - Some small grammar tweaks and bug fixes in non-Moose example
382 0.62_02 Fri, December 5, 2008
383 * Moose::Meta::Role::Application::ToClass
384 - When a class does not provide all of a role's required
385 methods, the error thrown now mentions all of the missing
386 methods, as opposed to just the first one found. Requested by
387 Curtis Poe (RT #41119). (Dave Rolsky)
389 * Moose::Meta::Method::Constructor
390 - Moose will no longer inline a constructor for your class
391 unless it inherits its constructor from Moose::Object, and
392 will warn when it doesn't inline. If you want to force
393 inlining anyway, pass "replace_constructor => 1" to
394 make_immutable. Addresses RT #40968, reported by Jon
395 Swartz. (Dave Rolsky)
396 - The quoting of default values could be broken if the default
397 contained a single quote ('). Now we use quotemeta to escape
398 anything potentially dangerous in the defaults. (Dave Rolsky)
400 0.62_01 Wed, December 3, 2008
402 - use the method->execute API for BUILDALL
403 and DEMOLISHALL (Sartak)
405 * Moose::Util::TypeConstraints
406 - We now make all the type constraint meta classes immutable
407 before creating the default types provided by Moose. This
408 should make loading Moose a little faster. (Dave Rolsky)
410 0.62 Wed November 26, 2008
411 * Moose::Meta::Role::Application::ToClass
412 Moose::Meta::Role::Application::ToRole
413 - fixed issues where excluding and aliasing the
414 same methods for a single role did not work
415 right (worked just fine with multiple
417 - added test for this (stevan)
419 * Moose::Meta::Role::Application::RoleSummation
420 - fixed the error message when trying to compose
421 a role with a role it excludes (Sartak)
424 - Catch another case where recursion caused the value
425 of $CALLER to be stamped on (t0m)
426 - added test for this (t0m)
429 - Remove the make_immutable keyword, which has been
430 deprecated since April. It breaks metaclasses that
431 use Moose without no Moose (Sartak)
433 * Moose::Meta::Attribute
434 - Removing an attribute from a class now also removes delegation
435 (handles) methods installed for that attribute (t0m)
436 - added test for this (t0m)
438 * Moose::Meta::Method::Constructor
439 - An attribute with a default that looked like a number (but was
440 really a string) would accidentally be treated as a number
441 when the constructor was made immutable (perigrin)
442 - added test for this (perigrin)
445 - create method for constructing a role
447 - added test for this (Sartak)
448 - anonymous roles! (Sartak)
449 - added test for this (Sartak)
452 - more consistent error messages (Sartak)
454 * Moose::Cookbook::Roles::Recipe1
455 - attempt to explain why a role that just requires
456 methods is useful (Sartak)
458 0.61 Fri November 7, 2008
459 * Moose::Meta::Attribute
460 - When passing a role to handles, it will be loaded if necessary
464 - Method objects returned by get_method (and other methods)
465 Could end up being returned without an associated_metaclass
466 attribute. Removing get_method_map, which is provided by
467 Class::MOP::Class, fixed this. The Moose version did nothing
468 different from its parent except introduce a bug. (Dave Rolsky)
469 - added tests for this (jdv79)
472 - Added a $VERSION to all .pm files which didn't have one. Fixes
473 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
475 * Moose::Cookbook::Basics::Recipe4
476 * Moose::Cookbook::Basics::Recipe6
477 - These files had spaces on the first line of the SYNOPSIS, as
478 opposed to a totally empty line. According to RT #40432, this
479 confuses POD parsers. (Dave Rolsky)
481 0.60 Fri October 24, 2008
483 - Passing "-traits" when loading Moose caused the Moose.pm
484 exports to be broken. Reported by t0m. (Dave Rolsky)
485 - Tests for this bug. (t0m)
488 - Change resolve_metaclass alias to use the new
489 load_first_existing_class function. This makes it a lot
490 simpler, and also around 5 times faster. (t0m)
491 - Add caching to resolve_metaclass_alias, which gives an order
492 of magnitude speedup to things which repeatedly call the
493 Moose::Meta::Attribute->does method, notably MooseX::Storage
496 * Moose::Util::TypeConstraint
497 - Put back the changes for parameterized constraints that
498 shouldn't have been removed in 0.59. We still cannot parse
499 them, but MooseX modules can create them in some other
500 way. See the 0.58 changes for more details. (jnapiorkowski)
501 - Changed the way subtypes are created so that the job is
502 delegated to a type constraint parent. This clears up some
503 hardcoded checking and should allow correct subtypes of
504 Moose::Meta::Type::Constraint. Don't rely on this new API too
505 much (create_child_type) because it may go away in the
506 future. (jnapiorkowski)
508 * Moose::Meta::TypeConstraint::Union
509 - Type constraint names are sorted as strings, not numbers.
512 * Moose::Meta::TypeConstraint::Parameterizable
513 - New parameterize method. This can be used as a factory method
514 to make a new type constraint with a given parameterized
515 type. (jnapiorkowski)
516 - added tests (jnapiorkowski)
518 0.59 Tue October 14, 2008
520 - Add abridged documentation for builder/default/initializer/
521 predicate, and link to more details sections in
522 Class::MOP::Attribute. (t0m)
524 * Moose::Util::TypeConstraints
525 - removed prototypes from all but the &-based stuff (mst)
527 * Moose::Util::TypeConstraints
528 - Creating a anonymous subtype with both a constraint and a
529 message failed with a very unhelpful error, but should just
530 work. Reported by t0m. (Dave Rolsky)
533 - Some tests that used Test::Warn if it was available failed
534 with older versions of Test::Warn. Reported by Fayland. (Dave
536 - Test firing behavior of triggers in relation to builder/default/
538 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
539 kinds of supported type. (t0m)
542 - In create(), do not pass "roles" option to the superclass
543 - added related test that creates an anon metaclass with
546 * Moose::Meta::TypeConstraint::Class
547 * Moose::Meta::TypeConstraint::Role
548 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
549 other types (as per change in 0.55_02). (t0m)
551 * Moose::Meta::TypeConstraint::Registry
552 - Fix warning when dealing with unknown type names (t0m)
554 * Moose::Util::TypeConstraints
555 - Reverted changes from 0.58 related to handle parameterized
556 types. This caused random failures on BSD and Win32 systems,
557 apparently related to the regex engine. This means that Moose
558 can no longer parse structured type constraints like
559 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
560 supported in a slightly different way via MooseX::Types some
561 time in the future. (Dave Rolsky)
563 0.58 Sat September 20, 2008
564 !! This release has an incompatible change regarding !!
565 !! how roles add methods to a class !!
567 * Roles and role application
568 ! Roles now add methods by calling add_method, not
569 alias_method. They make sure to always provide a method
570 object, which will be cloned internally. This means that it is
571 now possible to track the source of a method provided by a
572 role, and even follow its history through intermediate roles.
574 This means that methods added by a role now show up when
575 looking at a class's method list/map. (Dave Rolsky)
578 - From this release on, we'll try to maintain a list of
579 conflicting modules, and warn you if you have one
580 installed. For example, this release conflicts with ...
581 - MooseX::Singleton <= 0.11
582 - MooseX::Params::Validate <= 0.05
585 In general, we try to not break backwards compatibility for
586 most Moose users, but MooseX modules and other code which
587 extends Moose's metaclasses is often affected by very small
588 changes in the Moose internals.
590 * Moose::Meta::Method::Delegation
591 * Moose::Meta::Attribute
592 - Delegation methods now have their own method class. (Dave
595 * Moose::Meta::TypeConstraint::Parameterizable
596 - Added a new method 'parameterize' which is basically a factory
597 for the containing constraint. This makes it easier to create
598 new types of parameterized constraints. (jnapiorkowski)
600 * Moose::Meta::TypeConstraint::Union
601 - Changed the way Union types canonicalize their names to follow
602 the normalized TC naming rules, which means we strip all
603 whitespace. (jnapiorkowski)
605 * Moose::Util::TypeConstraints
606 - Parameter and Union args are now sorted, this makes Int|Str
607 the same constraint as Str|Int. (jnapiorkowski)
608 - Changes to the way Union types are parsed to more correctly
609 stringify their names. (jnapiorkowski)
610 - When creating a parameterized type, we now use the new
611 parameterize method. (jnapiorkowski)
612 - Incoming type constraint strings are now normalized to remove
613 all whitespace differences. (jnapiorkowski)
614 - Changed the way we parse type constraint strings so that we now
615 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
616 constraints. This lays the foundation for more flexible type
617 constraint implementations.
619 * Tests and docs for all the above. (jnapiorkowski)
623 - Moose::Exporter will no longer remove a subroutine that the
624 exporting package re-exports. Moose re-exports the
625 Carp::confess function, among others. The reasoning is that we
626 cannot know whether you have also explicitly imported those
627 functions for your own use, so we err on the safe side and
628 always keep them. (Dave Rolsky)
629 - added tests for this (rafl)
632 - Changes to how we fix metaclass compatibility that are much
633 too complicated to go into. The summary is that Moose is much
634 less likely to complain about metaclass incompatibility
635 now. In particular, if two metaclasses differ because
636 Moose::Util::MetaRole was used on the two corresponding
637 classes, then the difference in roles is reconciled for the
638 subclass's metaclass. (Dave Rolsky)
639 - Squashed an warning in _process_attribute (thepler)
642 - throw exceptions (sooner) for invalid attribute names (thepler)
643 - added tests for this (thepler)
645 * Moose::Util::MetaRole
646 - If you explicitly set a constructor or destructor class for a
647 metaclass object, and then applied roles to the metaclass,
648 that explicitly set class would be lost and replaced with the
652 * Moose::Meta::Attribute
653 * Moose::Meta::Method
656 * Moose::Error::Default
657 * Moose::Error::Croak
658 * Moose::Error::Confess
659 - All instances of confess() changed to use overridable
660 C<throw_error> method. This method ultimately calls a class
661 constructor, and you can change the class being called. In
662 addition, errors now pass more information than just a string.
663 The default C<error_class> behaves like C<Carp::confess>, so
664 the behavior is not visibly different for end users.
666 0.57 Wed September 3, 2008
668 - A new bit of doc intended to introduce folks familiar with
669 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
672 - Shows examples of two classes, each done first with and then
673 without Moose. This makes a nice parallel to
674 Moose::Intro. (Dave Rolsky)
676 * Moose::Util::TypeConstraints
677 - Fixed a bug in find_or_parse_type_constraint so that it
678 accepts a Moose::Meta::TypeConstraint object as the parent
679 type, not just a name (jnapiorkowski)
680 - added tests (jnapiorkowski)
683 - If Sub::Name was not present, unimporting failed to actually
684 remove some sugar subs, causing test failures (Dave Rolsky)
686 0.56 Mon September 1, 2008
687 For those not following the series of dev releases, there are
688 several major changes in this release of Moose.
689 ! Moose::init_meta should now be called as a method. See the
692 - Major performance improvements by nothingmuch.
694 - New modules for extension writers, Moose::Exporter and
695 Moose::Util::MetaRole by Dave Rolsky.
697 - Lots of doc improvements and additions, especially in the
702 * Removed all references to the experimental-but-no-longer-needed
703 Moose::Meta::Role::Application::ToMetaclassInstance.
705 * Require Class::MOP 0.65.
707 0.55_04 Sat August 30, 2008
708 * Moose::Util::MetaRole
709 * Moose::Cookbook::Extending::Recipe2
710 - This simplifies the application of roles to any meta class, as
711 well as the base object class. Reimplemented metaclass traits
712 using this module. (Dave Rolsky)
714 * Moose::Cookbook::Extending::Recipe1
715 - This a new recipe, an overview of various ways to write Moose
716 extensions (Dave Rolsky)
718 * Moose::Cookbook::Extending::Recipe3
719 * Moose::Cookbook::Extending::Recipe4
720 - These used to be Extending::Recipe1 and Extending::Recipe2,
723 0.55_03 Fri August 29, 2008
724 * No changes from 0.55_02 except increasing the Class::MOP
725 dependency to 0.64_07.
727 0.55_02 Fri August 29, 2008
728 * Makefile.PL and Moose.pm
729 - explicitly require Perl 5.8.0+ (Dave Rolsky)
731 * Moose::Util::TypeConstraints
732 - Fix warnings from find_type_constraint if the type is not
735 * Moose::Meta::TypeConstraint
736 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
737 return false if the type you specify cannot be found in the
738 type registry, rather than throwing an unhelpful and
739 coincidental exception. (t0m).
740 - added docs & test for this (t0m)
742 * Moose::Meta::TypeConstraint::Registry
743 - add_type_constraint now throws an exception if a parameter is
745 - added docs & test for this (t0m)
747 * Moose::Cookbook::FAQ
748 - Added a faq entry on the difference between "role" and "trait"
752 - Fixed a bug that caused role composition to not see a required
753 method when that method was provided by another role being
754 composed at the same time. (Dave Rolsky)
755 - test and bug finding (tokuhirom)
757 0.55_01 Wed August 20, 2008
759 !! Calling Moose::init_meta as a function is now !!
760 !! deprecated. Please see the Moose.pm docs for details. !!
762 * Moose::Meta::Method::Constructor
763 - Fix inlined constructor so that values produced by default
764 or builder methods are coerced as required. (t0m)
765 - added test for this (t0m)
767 * Moose::Meta::Attribute
768 - A lazy attribute with a default or builder did not attempt to
769 coerce the default value. The immutable code _did_
771 - added test for this (t0m)
774 - This is a new helper module for writing "Moose-alike"
775 modules. This should make the lives of MooseX module authors
776 much easier. (Dave Rolsky)
779 * Moose::Cookbook::Meta::Recipe5
780 - Implemented metaclass traits (and wrote a recipe for it):
782 use Moose -traits => 'Foo'
784 This should make writing small Moose extensions a little
787 * Moose::Cookbook::Basics::Recipe1
788 - Removed any examples of direct hashref access, and applied an
789 editorial axe to reduce verbosity. (Dave Rolsky)
791 * Moose::Cookbook::Basics::Recipe1
792 - Also applied an editorial axe here. (Dave Rolsky)
795 * Moose::Cookbook::Extending::Recipe1
796 * Moose::Cookbook::Extending::Recipe2
797 - Rewrote extending and embedding moose documentation and
798 recipes to use Moose::Exporter (Dave Rolsky)
802 - These two modules now warn when you load them from the main
803 package "main" package, because we will not export sugar to
804 main. Previously it just did nothing. (Dave Rolsky)
807 - Now provide an init_meta method just like Moose.pm, and you
808 can call this to provide an alternate role metaclass. (Dave
809 Rolsky and nothingmuch)
810 - get_method_map now respects the package cache flag (nothingmuch)
813 - Two new methods - add_method and wrap_method_body
817 - Optimizations including allowing constructors to accept hash
818 refs, making many more classes immutable, and making
819 constructors immutable. (nothingmuch)
821 0.55 Sun August 3, 2008
822 * Moose::Meta::Attribute
823 - breaking down the way 'handles' methods are
824 created so that the process can be more easily
825 overridden by subclasses (stevan)
827 * Moose::Meta::TypeConstraint
828 - fixing what is passed into a ->message with
829 the type constraints (RT #37569)
830 - added tests for this (Charles Alderman)
832 * Moose::Util::TypeConstraints
833 - fix coerce to accept anon types like subtype can (mst)
836 - reorganized the recipes into sections - Basics, Roles, Meta,
837 Extending - and wrote abstracts for each section (Dave Rolsky)
839 * Moose::Cookbook::Basics::Recipe10
840 - A new recipe that demonstrates operator overloading
841 in combination with Moose. (bluefeet)
843 * Moose::Cookbook::Meta::Recipe1
844 - an introduction to what meta is and why you'd want to make
845 your own metaclass extensions (Dave Rolsky)
847 * Moose::Cookbook::Meta::Recipe4
848 - a very simple metaclass example (Dave Rolsky)
850 * Moose::Cookbook::Extending::Recipe1
851 - how to write a Moose-alike module to use your own object base
854 * Moose::Cookbook::Extending::Recipe2
855 - how to write modules with an API just like C<Moose.pm> (Dave
859 - Tons of fixes, both syntactical and grammatical (Dave
860 Rolsky, Paul Fenwick)
862 0.54 Thurs. July 3, 2008
863 ... this is not my day today ...
865 * Moose::Meta::Attribute
866 - fixed legal_options_for_inheritance such that
867 clone_and_inherit options still works for
868 Class::MOP::Attribute objects and therefore
869 does not break MooseX::AttributeHelpers
872 0.53 Thurs. July 3, 2008
873 * Whoops, I guess I should run 'make manifest' before
874 actually releasing the module. No actual changes
875 in this release, except the fact that it includes
876 the changes that I didn't include in the last
879 0.52 Thurs. July 3, 2008
881 - added "FEATURE REQUESTS" section to the Moose docs
882 to properly direct people (stevan) (RT #34333)
883 - making 'extends' croak if it is passed a Role since
884 this is not ever something you want to do
885 (fixed by stevan, found by obra)
886 - added tests for this (stevan)
889 - adding support for DOES (as in UNIVERSAL::DOES)
891 - added test for this
893 * Moose::Meta::Attribute
894 - added legal_options_for_inheritance (wreis)
895 - added tests for this (wreis)
897 * Moose::Cookbook::Snacks::*
898 - removed some of the unfinished snacks that should
899 not have been released yet. Added some more examples
900 to the 'Keywords' snack. (stevan)
902 * Moose::Cookbook::Style
903 - added general Moose "style guide" of sorts to the
904 cookbook (nothingmuch) (RT #34335)
907 - added more BUILDARGS tests (stevan)
909 0.51 Thurs. Jun 26, 2008
911 - add unimport so "no Moose::Role" actually does
914 * Moose::Meta::Role::Application::ToRole
915 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
916 order to provide its own implementation, that method still got
917 added to the list of required methods for consumers of
918 RoleB. Now an aliased method is only added to the list of
919 required methods if the role doing the aliasing does not
920 provide its own implementation. See Recipe 11 for an example
921 of all this. (Dave Rolsky)
922 - added tests for this
924 * Moose::Meta::Method::Constructor
925 - when a single argument that wasn't a hashref was provided to
926 an immutabilized constructor, the error message was very
927 unhelpful, as opposed to the non-immutable error. Reported by
929 - added test for this (Dave Rolsky)
931 * Moose::Meta::Attribute
932 - added support for meta_attr->does("ShortAlias") (sartak)
933 - added tests for this (sartak)
934 - moved the bulk of the `handles` handling to the new
935 install_delegation method (Stevan)
938 - Added BUILDARGS, a new step in new()
940 * Moose::Meta::Role::Application::RoleSummation
941 - fix typos no one ever sees (sartak)
943 * Moose::Util::TypeConstraints
944 * Moose::Meta::TypeConstraint
945 * Moose::Meta::TypeCoercion
946 - Attempt to work around the ??{ } vs. threads issue
948 - Some null_constraint optimizations
950 0.50 Thurs. Jun 11, 2008
951 - Fixed a version number issue by bumping all modules
954 0.49 Thurs. Jun 11, 2008
955 !! This version now approx. 20-25% !!
956 !! faster with new Class::MOP 0.59 !!
958 * Moose::Meta::Attribute
959 - fixed how the is => (ro|rw) works with
960 custom defined reader, writer and accessor
962 - added docs for this (TODO).
963 - added tests for this (Thanks to Penfold)
964 - added the custom attribute alias for regular
965 Moose attributes which is "Moose"
966 - fix builder and default both being used
971 Moose::Meta::Attribute
973 Moose::Meta::Role::Composite
974 Moose::Util::TypeConstraints
975 - switched usage of reftype to ref because
979 - changing add_package_symbol to use the new
983 - fixed how DEMOLISHALL is called so that it
984 can be overrided in subclasses (thanks to Sartak)
985 - added test for this (thanks to Sartak)
987 * Moose::Util::TypeConstraints
988 - move the ClassName type check code to
989 Class::MOP::is_class_loaded (thanks to Sartak)
991 * Moose::Cookbook::Recipe11
992 - add tests for this (thanks to tokuhirom)
994 0.48 Thurs. May 29, 2008
995 (early morning release engineering)--
997 - fixing the version in Moose::Meta::Method::Destructor
998 which was causing the indexer to choke
1000 0.47 Thurs. May 29, 2008
1001 (late night release engineering)--
1003 - fixing the version is META.yml, no functional
1004 changes in this release
1006 0.46 Wed. May 28, 2008
1007 !! This version now approx. 20-25% !!
1008 !! faster with new Class::MOP 0.57 !!
1010 * Moose::Meta::Class
1011 - some optimizations of the &initialize method
1012 since it is called so often by &meta
1014 * Moose::Meta::Class
1016 - now use the get_all_package_symbols from the
1017 updated Class::MOP, test suite is now 10 seconds
1020 * Moose::Meta::Method::Destructor
1021 - is_needed can now also be called as a class
1022 method for immutablization to check if the
1023 destructor object even needs to be created
1026 * Moose::Meta::Method::Destructor
1027 Moose::Meta::Method::Constructor
1028 - added more descriptive error message to help
1029 keep people from wasting time tracking an error
1030 that is easily fixed by upgrading.
1032 0.45 Saturday, May 24, 2008
1034 - Because of work in Class::MOP 0.57, all
1035 XS based functionality is now optional
1036 and a Pure Perl version is supplied
1037 - the CLASS_MOP_NO_XS environment variable
1038 can now be used to force non-XS versions
1040 - several of the packages have been tweaked
1041 to take care of this, mostly we added
1042 support for the package_name and name
1043 variables in all the Method metaclasses
1044 - before/around/after method modifiers now
1045 support regexp matching of names
1046 (thanks to Takatoshi Kitano)
1047 - tests added for this
1048 - NOTE: this only works for classes, it
1049 is currently not supported in roles,
1050 but, ... patches welcome
1051 - All usage of Carp::confess have been replaced
1052 by Carp::croak in the "keyword" functions since
1053 the stack trace is usually not helpful
1056 - All usage of Carp::confess have been replaced
1057 by Carp::croak in the "keyword" functions since
1058 the stack trace is usually not helpful
1059 - The 'has' keyword for roles now accepts the
1060 same array ref form that Moose.pm does
1061 (has [qw/foo bar/] => (is => 'rw', ...))
1062 - added test for this
1064 * Moose::Meta::Attribute
1065 - trigger on a ro-attribute is no longer an
1066 error, as it's useful to trigger off of the
1069 * Moose::Meta::Class
1070 - added same 'add_package_symbol' fix as in
1074 - does_role now handles non-Moose classes
1076 - added tests for this
1077 - added the 'add_method_modifier' function
1078 (thanks to Takatoshi Kitano)
1080 * Moose::Util::TypeConstraints
1081 - subtypes of parameterizable types now are
1082 themselves parameterizable types
1084 * Moose::Meta::Method::Constructor
1085 - fixed bug where trigger was not being
1086 called by the inlined immutable
1088 - added test for this (thanks to Caelum)
1090 * Moose::Meta::Role::Application::ToInstance
1091 - now uses the metaclass of the instance
1092 (if possible) to create the anon-class
1093 (thanks Jonathan Rockway)
1095 * Moose::Cookbook::Recipe22
1096 - added the meta-attribute trait recipe
1100 - fixed hash-ordering test bug that was
1101 causing occasional cpantester failures
1102 - renamed the t/000_recipe/*.t tests to be
1103 more descriptive (thanks to Sartak)
1105 0.44 Sat. May 10, 2008
1107 - made make_immutable warning cluck to
1108 show where the error is (thanks mst)
1111 - BUILDALL and DEMOLISHALL now call
1112 ->body when looping through the
1113 methods, to avoid the overloaded
1115 - fixed issue where DEMOLISHALL was
1116 eating the $@ values, and so not
1117 working correctly, it still kind of
1118 eats them, but so does vanilla perl
1119 - added tests for this
1121 * Moose::Cookbook::Recipe7
1122 - added new recipe for immutable
1123 functionality (thanks Dave Rolsky)
1125 * Moose::Cookbook::Recipe9
1126 - added new recipe for builder and
1127 lazy_build (thanks Dave Rolsky)
1129 * Moose::Cookbook::Recipe11
1130 - added new recipe for method aliasing
1131 and exclusion with Roles (thanks Dave Rolsky)
1134 - fixed Win32 test failure (thanks spicyjack)
1136 ~ removed Build.PL and Module::Build compat
1137 since Module::Install has done that.
1139 0.43 Wed. April, 30, 2008
1141 drink more coffee before
1142 doing release engineering
1144 - whoops, forgot to do the smolder tests,
1145 and we broke some of the custom meta-attr
1146 modules. This fixes that.
1148 0.42 Mon. April 28, 2008
1149 - some bad tests slipped by, nothing else
1150 changed in this release (cpantesters++)
1152 - upped the Class::MOP dependency to 0.55
1153 since we have tests which need the C3
1156 0.41 Mon. April 28, 2008
1157 ~~ numerous documentation updates ~~
1159 - Changed all usage of die to Carp::croak for better
1160 error reporting (initial patch by Tod Hagan)
1162 ** IMPORTANT NOTE **
1163 - the make_immutable keyword is now deprecated, don't
1164 use it in any new code and please fix your old code
1165 as well. There will be 2 releases, and then it will
1171 - refactored the way inner and super work to avoid
1172 any method/@ISA cache penalty (nothingmuch)
1174 * Moose::Meta::Class
1175 - fixing &new_object to make sure trigger gets the
1176 coerced value (spotted by Charles Alderman on the
1178 - added test for this
1180 * Moose::Meta::Method::Constructor
1181 - immutable classes which had non-lazy attributes were calling
1182 the default generating sub twice in the constructor. (bug
1183 found by Jesse Luehrs, fixed by Dave Rolsky)
1184 - added tests for this (Dave Rolsky)
1185 - fix typo in initialize_body method (nothingmuch)
1187 * Moose::Meta::Method::Destructor
1188 - fix typo in initialize_body method (nothingmuch)
1190 * Moose::Meta::Method::Overriden
1191 Moose::Meta::Method::Augmented
1192 - moved the logic for these into their own
1193 classes (nothingmuch)
1195 * Moose::Meta::Attribute
1196 - inherited attributes may now be extended without
1197 restriction on the type ('isa', 'does') (Sartak)
1198 - added tests for this (Sartak)
1199 - when an attribute property is malformed (such as lazy without
1200 a default), give the name of the attribute in the error
1202 - added the &applied_traits and &has_applied_traits methods
1203 to allow introspection of traits
1204 - added tests for this
1205 - moved 'trait' and 'metaclass' argument handling to here from
1207 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1208 '+foo' syntax) (nothingmuch)
1209 - added tests for this (t0m)
1212 - localize $@ inside DEMOLISHALL to avoid it
1213 eating $@ (found by Ernesto)
1214 - added test for this (thanks to Ernesto)
1216 * Moose::Util::TypeConstraints
1217 - &find_type_constraint now DWIMs when given an
1218 type constraint object or name (nothingmuch)
1219 - &find_or_create_type_constraint superseded with a number of more
1221 - find_or_create_{isa,does}_type_constraint
1222 - find_or_parse_type_constraint
1224 * Moose::Meta::TypeConstraint
1225 Moose::Meta::TypeConstraint::Class
1226 Moose::Meta::TypeConstraint::Role
1227 Moose::Meta::TypeConstraint::Enum
1228 Moose::Meta::TypeConstraint::Union
1229 Moose::Meta::TypeConstraint::Parameterized
1230 - added the &equals method for comparing two type
1231 constraints (nothingmuch)
1232 - added tests for this (nothingmuch)
1234 * Moose::Meta::TypeConstraint
1235 - add the &parents method, which is just an alias to &parent.
1236 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1238 * Moose::Meta::TypeConstraint::Class
1239 - added the class attribute for introspection purposes
1241 - added tests for this
1243 * Moose::Meta::TypeConstraint::Enum
1244 Moose::Meta::TypeConstraint::Role
1245 - broke these out into their own classes (nothingmuch)
1247 * Moose::Cookbook::Recipe*
1248 - fixed references to test file locations in the POD
1249 and updated up some text for new Moose features
1253 - Added &resolve_metaclass_alias, a helper function for finding an actual
1254 class for a short name (e.g. in the traits list)
1256 0.40 Fri. March 14, 2008
1257 - I hate Pod::Coverage
1259 0.39 Fri. March 14, 2008
1261 - documenting the use of '+name' with attributes
1262 that come from recently composed roles. It makes
1263 sense, people are using it, and so why not just
1264 officially support it.
1265 - fixing the 'extends' keyword so that it will not
1266 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1269 - added the perl -Moose=+Class::Name feature to allow
1270 monkeypatching of classes in one liners
1273 - fixing the 'apply_all_roles' keyword so that it will not
1274 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1276 * Moose::Meta::Class
1277 - added ->create method which now supports roles (thanks to jrockway)
1278 - added tests for this
1279 - added ->create_anon_class which now supports roles and caching of
1280 the results (thanks to jrockway)
1281 - added tests for this
1282 - made ->does_role a little more forgiving when it is
1283 checking a Class::MOP era metaclasses.
1285 * Moose::Meta::Role::Application::ToInstance
1286 - it is now possible to pass extra params to be used when
1287 a role is applied to an the instance (rebless_params)
1288 - added tests for this
1290 * Moose::Util::TypeConstraints
1291 - class_type now accepts an optional second argument for a
1292 custom message. POD anotated accordingly (groditi)
1293 - added tests for this
1294 - it is now possible to make anon-enums by passing 'enum' an
1295 ARRAY ref instead of the $name => @values. Everything else
1297 - added tests for this
1300 - making test for using '+name' on attributes consumed
1301 from a role, it works and makes sense too.
1303 * Moose::Meta::Attribute
1304 - fix handles so that it doesn't return nothing
1305 when the method cannot be found, not sure why
1306 it ever did this originally, this means we now
1307 have slightly better support for AUTOLOADed
1309 - added more delegation tests
1310 - adding ->does method to this so as to better
1311 support traits and their introspection.
1312 - added tests for this
1315 - localizing the Data::Dumper configurations so
1316 that it does not pollute others (RT #33509)
1317 - made ->does a little more forgiving when it is
1318 passed Class::MOP era metaclasses.
1320 0.38 Fri. Feb. 15, 2008
1321 * Moose::Meta::Attribute
1322 - fixed initializer to correctly do
1323 type checking and coercion in the
1325 - added tests for this
1328 - fixed some finicky tests (thanks to konobi)
1330 0.37 Thurs. Feb. 14, 2008
1332 - fixed some details in Moose::init_meta
1333 and its superclass handling (thanks thepler)
1334 - added tests for this (thanks thepler)
1335 - 'has' now dies if you don't pass in name
1337 - added the 'make_immutable' keyword as a shortcut
1340 * Moose::Meta::Class
1341 Moose::Meta::Method::Constructor
1342 Moose::Meta::Attribute
1343 - making (init_arg => undef) work here too
1344 (thanks to nothingmuch)
1346 * Moose::Meta::Attribute
1347 Moose::Meta::Method::Constructor
1348 Moose::Meta::Method::Accessor
1349 - make lazy attributes respect attr initializers (rjbs)
1350 - added tests for this
1352 * Moose::Util::TypeConstraints
1353 Moose::Util::TypeConstraints::OptimizedConstraints
1354 Moose::Meta::TypeConstraints
1355 Moose::Meta::Attribute
1356 Moose::Meta::Method::Constructor
1357 Moose::Meta::Method::Accessor
1358 - making type errors use the
1359 assigned message (thanks to Sartak)
1360 - added tests for this
1362 * Moose::Meta::Method::Destructor
1363 - making sure DESTROY gets inlined properly
1364 with successive DEMOLISH calls (thanks to manito)
1366 * Moose::Meta::Attribute
1367 Moose::Meta::Method::Accessor
1368 - fixed handling of undef with type constraints
1370 - added tests for this
1373 - added &get_all_init_args and &get_all_attribute_values
1374 (thanks to Sartak and nothingmuch)
1376 0.36 Sat. Jan. 26, 2008
1378 Moose::Meta::Attribute
1379 - role type tests now support when roles are
1380 applied to non-Moose classes (found by ash)
1381 - added tests for this (thanks to ash)
1382 - couple extra tests to boost code coverage
1384 * Moose::Meta::Method::Constructor
1385 - improved fix for handling Class::MOP attributes
1386 - added test for this
1388 * Moose::Meta::Class
1389 - handled the add_attribute($attribute_meta_object)
1391 - added test for this
1393 0.35 Tues. Jan. 22, 2008
1394 * Moose::Meta::Method::Constructor
1395 - fix to make sure even Class::MOP attributes
1396 are handled correctly (Thanks to Dave Rolsky)
1397 - added test for this (also Dave Rolsky)
1399 * Moose::Meta::Class
1400 - improved error message on _apply_all_roles,
1401 you should now use Moose::Util::apply_all_roles
1402 and you shouldnt have been using a _ prefixed
1403 method in the first place ;)
1405 0.34 Mon. Jan. 21, 2008
1406 ~~~ more misc. doc. fixes ~~~
1407 ~~ updated copyright dates ~~
1409 Moose is now a postmodern object system :)
1410 - (see the POD for details)
1412 * <<Role System Refactoring>>
1413 - this release contains a major reworking and
1414 cleanup of the role system
1415 - 100% backwards compat.
1416 - Role application now restructured into seperate
1417 classes based on type of applicants
1418 - Role summation (combining of more than one role)
1419 is much cleaner and anon-classes are no longer
1420 used in this process
1421 - new Composite role metaclass
1422 - runtime application of roles to instances
1423 is now more efficient and re-uses generated
1424 classes when applicable
1426 * <<New Role composition features>>
1427 - methods can now be excluded from a given role
1429 - methods can now be aliased to another name (and
1430 still retain the original as well)
1432 * Moose::Util::TypeConstraints::OptimizedConstraints
1433 - added this module (see above)
1435 * Moose::Meta::Class
1436 - fixed the &_process_attribute method to be called
1437 by &add_attribute, so that the API is now correct
1439 * Moose::Meta::Method::Accessor
1440 - fixed bug when passing a list of values to
1441 an accessor would get (incorrectly) ignored.
1442 Thanks to Sartak for finding this ;)
1443 - added tests for this (Sartak again)
1445 * Moose::Meta::Method::Accessor
1446 Moose::Meta::Method::Constructor
1447 Moose::Meta::Attribute
1448 Moose::Meta::TypeConstraint
1449 Moose::Meta::TypeCoercion
1450 - lots of cleanup of such things as:
1452 - type constraint handling
1453 - error handling/messages
1454 (thanks to nothingmuch)
1456 * Moose::Meta::TypeConstraint::Parameterizable
1457 - added this module to support the refactor
1458 in Moose::Meta::TypeConstraint::Parameterized
1460 * Moose::Meta::TypeConstraint::Parameterized
1461 - refactored how these types are handled so they
1462 are more generic and not confined to ArrayRef
1466 - shortened some file names for better VMS support (RT #32381)
1468 0.33 Fri. Dec. 14, 2007
1469 !! Moose now loads 2 x faster !!
1470 !! with new Class::MOP 0.49 !!
1472 ++ new oose.pm module to make command line
1473 Moose-ness easier (see POD docs for more)
1475 * Moose::Meta::Class
1477 - several tweaks to take advantage of the
1478 new method map caching in Class::MOP
1480 * Moose::Meta::TypeConstraint::Parameterized
1481 - allow subtypes of ArrayRef and HashRef to
1482 be used as a container (sartak)
1483 - added tests for this
1484 - basic support for coercion to ArrayRef and
1485 HashRef for containers (sartak)
1486 - added tests for this
1488 * Moose::Meta::TypeCoercion
1489 - coercions will now create subtypes as needed
1490 so you can now add coercions to parameterized
1491 types without having to explictly define them
1492 - added tests for this
1494 * Moose::Meta::Method::Accessor
1495 - allow subclasses to decide whether we need
1496 to copy the value into a new variable (sartak)
1498 0.32 Tues. Dec. 4, 2007
1499 * Moose::Util::TypeConstraints
1500 - fixing how subtype aliases of unions work
1501 they should inherit the parent's coercion
1502 - added tests for this
1503 - you can now define multiple coercions on
1504 a single type at different times instead of
1505 having to do it all in one place
1506 - added tests for this
1508 * Moose::Meta::TypeConstraint
1509 - there is now a default constraint of sub { 1 }
1510 instead of Moose::Util::TypeConstraints setting
1513 * Moose::Meta::TypeCoercion
1514 * Moose::Meta::TypeCoercion::Union
1515 - added the &has_coercion_for_type and
1516 &add_type_coercions methods to support the
1517 new features above (although you cannot add
1518 more type coercions for Union types)
1520 0.31 Mon. Nov. 26, 2007
1521 * Moose::Meta::Attribute
1522 - made the +attr syntax handle extending types with
1523 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1524 now works if the original foo is an ArrayRef.
1525 - added tests for this.
1526 - delegation now works even if the attribute does not
1527 have a reader method using the get_read_method_ref
1528 method from Class::MOP::Attribute.
1529 - added tests for this
1530 - added docs for this
1532 * Moose::Util::TypeConstraints
1533 - passing no "additional attribute info" to
1534 &find_or_create_type_constraint will no longer
1535 attempt to create an __ANON__ type for you,
1536 instead it will just return undef.
1537 - added docs for this
1539 0.30 Fri. Nov. 23, 2007
1540 * Moose::Meta::Method::Constructor
1541 -builder related bug in inlined constructor. (groditi)
1543 * Moose::Meta::Method::Accessor
1544 - genereate unnecessary calls to predicates and refactor
1545 code generation for runtime speed (groditi)
1547 * Moose::Util::TypeConstraints
1548 - fix ClassName constraint to introspect symbol table (mst)
1549 - added more tests for this (mst)
1550 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1551 with work correctly.
1552 - added tests for this
1555 - adding the link to Recipie 11 (written by Sartak)
1556 - adding test for SYNOPSIS code
1559 - New tests for builder bug. Upon instantiation, if an
1560 attribute had a builder, no value and was not lazy the
1561 builder default was not getting run, oops. (groditi)
1563 0.29 Tues. Nov. 13, 2007
1564 * Moose::Meta::Attribute
1565 - Fix error message on missing builder method (groditi)
1567 * Moose::Meta::Method::Accessor
1568 - Fix error message on missing builder method (groditi)
1571 - Add test to check for the correct error message when
1572 builder method is missing (groditi)
1574 0.28 Tues. Nov. 13, 2007
1575 - 0.27 packaged incorrectly (groditi)
1577 0.27 Tues. Nov. 13, 2007
1578 * Moose::Meta::Attribute
1579 - Added support for the new builder option (groditi)
1580 - Added support for lazy_build option (groditi)
1581 - Changed slot initialization for predicate changes (groditi)
1583 * Moose::Meta::Method::Accessor
1584 - Added support for lazy_build option (groditi)
1585 - Fix inline methods to work with corrected predicate
1588 * Moose::Meta::Method::Constructor
1589 - Added support for lazy_build option (groditi)
1592 - tests for builder and lazy_build (groditi)
1594 * fixing some misc. bits in the docs that
1595 got mentioned on CPAN Forum & perlmonks
1598 - fixed how required methods are handled
1599 when they encounter overriden or modified
1600 methods from a class (thanks to confound).
1601 - added tests for this
1603 * Moose::Util::TypeConstraint
1604 - fixed the type notation parser so that
1605 the | always creates a union and so is
1606 no longer a valid type char (thanks to
1607 konobi, mugwump and #moose for working
1609 - added more tests for this
1611 0.26 Thurs. Sept. 27, 2007
1614 * Parameterized Types
1615 We now support parameterized collection types, such as:
1616 ArrayRef[Int] # array or integers
1617 HashRef[Object] # a hash with object values
1618 They can also be nested:
1619 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1620 And work with the type unions as well:
1621 ArrayRef[Int | Str] # array of integers of strings
1623 * Better Framework Extendability
1624 Moose.pm is now "extendable" such that it is now much
1625 easier to extend the framework and add your own keywords
1626 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1627 section of the Moose.pm docs.
1630 In an effort to begin documenting some of the various
1631 details of Moose as well as some common idioms, we have
1632 created Moose::Cookbook::Snacks as a place to find
1633 small (easily digestable) nuggets of Moose code.
1636 ~ Several doc updates/cleanup thanks to castaway ~
1638 - converted build system to use Module::Install instead of
1639 Module::Build (thanks to jrockway)
1642 - added all the meta classes to the immutable list and
1643 set it to inline the accessors
1644 - fix import to allow Sub::Exporter like { into => }
1645 and { into_level => } (perigrin)
1646 - exposed and documented init_meta() to allow better
1647 embedding and extending of Moose (perigrin)
1650 - complete re-organization of the test suite
1651 - added some new tests as well
1652 - finally re-enabled the Moose::POOP test since
1653 the new version of DBM::Deep now works again
1656 * Moose::Meta::Class
1657 - fixed very odd and very nasty recursion bug with
1659 - added tests for this (eilara)
1661 * Moose::Meta::Attribute
1662 Moose::Meta::Method::Constructor
1663 Moose::Meta::Method::Accessor
1664 - fixed issue with overload::Overloaded getting called
1665 on non-blessed items. (RT #29269)
1666 - added tests for this
1668 * Moose::Meta::Method::Accessor
1669 - fixed issue with generated accessor code making
1670 assumptions about hash based classes (thanks to dexter)
1672 * Moose::Coookbook::Snacks
1673 - these are bits of documentation, not quite as big as
1674 Recipes but which have no clear place in the module docs.
1675 So they are Snacks! (horray for castaway++)
1677 * Moose::Cookbook::Recipe4
1678 - updated it to use the new ArrayRef[MyType] construct
1679 - updated the accompanying test as well
1681 +++ Major Refactor of the Type Constraint system +++
1682 +++ with new features added as well +++
1684 * Moose::Util::TypeConstraint
1685 - no longer uses package variable to keep track of
1686 the type constraints, now uses the an instance of
1687 Moose::Meta::TypeConstraint::Registry to do it
1688 - added more sophisticated type notation parsing
1690 - added tests for this
1692 * Moose::Meta::TypeConstraint
1693 - some minor adjustments to make subclassing easier
1694 - added the package_defined_in attribute so that we
1695 can track where the type constraints are created
1697 * Moose::Meta::TypeConstraint::Union
1698 - this is now been refactored to be a subclass of
1699 Moose::Meta::TypeConstraint
1701 * Moose::Meta::TypeCoercion::Union
1702 - this has been added to service the newly refactored
1703 Moose::Meta::TypeConstraint::Union and is itself
1704 a subclass of Moose::Meta::TypeCoercion
1706 * Moose::Meta::TypeConstraint::Parameterized
1707 - added this module (taken from MooseX::AttributeHelpers)
1708 to help construct nested collection types
1709 - added tests for this
1711 * Moose::Meta::TypeConstraint::Registry
1712 - added this class to keep track of type constraints
1714 0.25 Mon. Aug. 13, 2007
1716 - Documentation update to reference Moose::Util::TypeConstraints
1717 under 'isa' in 'has' for how to define a new type
1718 (thanks to shlomif).
1720 * Moose::Meta::Attribute
1721 - required attributes now will no longer accept undef
1722 from the constructor, even if there is a default and lazy
1723 - added tests for this
1724 - default subroutines must return a value which passes the
1726 - added tests for this
1728 * Moose::Meta::Attribute
1729 * Moose::Meta::Method::Constructor
1730 * Moose::Meta::Method::Accessor
1731 - type-constraint tests now handle overloaded objects correctly
1732 in the error message
1733 - added tests for this (thanks to EvanCarroll)
1735 * Moose::Meta::TypeConstraint::Union
1736 - added (has_)hand_optimized_constraint to this class so that
1737 it behaves as the regular Moose::Meta::TypeConstraint does.
1740 - large refactoring of this code
1741 - added several more tests
1742 - tests for subtle conflict resolition issues
1743 added, but not currently running
1746 * Moose::Cookbook::Recipe7
1747 - added new recipe for augment/inner functionality
1749 - added test for this
1752 - a formal definition of roles (still in progress)
1755 - utilities for easier working with Moose classes
1756 - added tests for these
1759 - This contains Moose specific test functions
1760 - added tests for these
1762 0.24 Tues. July 3, 2007
1763 ~ Some doc updates/cleanup ~
1765 * Moose::Meta::Attribute
1766 - added support for roles to be given as parameters
1767 to the 'handles' option.
1768 - added tests and docs for this
1769 - the has '+foo' attribute form now accepts changes to
1770 the lazy option, and the addition of a handles option
1771 (but not changing the handles option)
1772 - added tests and docs for this
1775 - required methods are now fetched using find_method_by_name
1776 so that required methods can come from superclasses
1777 - adjusted tests for this
1779 0.23 Mon. June 18, 2007
1780 * Moose::Meta::Method::Constructor
1781 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1782 * Moose::Meta::Class
1783 - Modify make_immutable to work with the new Class::MOP immutable
1784 mechanism + POD + very basic test (groditi)
1785 * Moose::Meta::Attribute
1786 - Fix handles to use goto() so that caller() comes out properly on
1787 the other side (perigrin)
1789 0.22 Thurs. May 31, 2007
1790 * Moose::Util::TypeConstraints
1791 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1792 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1793 prototypes for functions
1794 - added the ClassName type constraint, this checks for strings
1795 which will respond true to ->isa(UNIVERSAL).
1796 - added tests and docs for this
1797 - subtyping just in name now works correctly by making the
1798 default for where be { 1 }
1799 - added test for this
1801 * Moose::Meta::Method::Accessor
1802 - coerce and lazy now work together correctly, thanks to
1803 merlyn for finding this bug
1804 - tests added for this
1805 - fix reader presedence bug in Moose::Meta::Attribute + tests
1808 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1809 a HASH-ref and missed. This produces better error messages then
1810 having it die cause undef is not a HASH.
1811 - added tests for this
1813 0.21 Thursday, May 2nd, 2007
1815 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1816 - modified unimport to remove super and inner along with the rest
1817 - altered unimport tests to handle this
1820 - altered super export to populate SUPER_SLOT
1822 * Moose::Meta::Class
1823 - altered augment and override modifier application to use *_SLOT
1824 - modified tests for these to unimport one test class each to test
1827 - fixed issue where custom attribute metaclasses
1828 where not handled correctly in roles
1829 - added tests for this
1831 * Moose::Meta::Class
1832 - fixed issue where extending metaclasses with
1833 roles would blow up. Thanks to Aankhen`` for
1834 finding this insidious error, and it's solution.
1836 ~~ lots of spelling and grammer fixes in the docs,
1837 many many thanks to rlb3 and Aankhen for these :)
1839 0.20 Friday, April 6th, 2007
1840 >> I messed up the SKIP logic in one test
1841 so this release is just to fix that.
1844 - 'has' now also accepts an ARRAY ref
1845 to create multiple attrs (see docs)
1846 (thanks to konobi for this)
1847 - added tests and docs
1849 0.19 Thurs. April 5th, 2007
1850 ~~ More documentation updates ~~
1852 * Moose::Util::TypeConstraints
1853 - 'type' now supports messages as well
1854 thanks to phaylon for finding this
1855 - added tests for this
1856 - added &list_all_type_constraints and
1857 &list_all_builtin_type_constraints
1858 functions to facilitate introspection.
1860 * Moose::Meta::Attribute
1861 - fixed regexp 'handles' declarations
1862 to build the list of delegated methods
1863 correctly (and not override important
1864 things like &new) thanks to ashleyb
1866 - added tests and docs for this
1867 - added the 'documentation' attributes
1868 so that you can actually document your
1869 attributes and inspect them through the
1871 - added tests and docs for this
1873 * Moose::Meta::Class
1874 - when loading custom attribute metaclasses
1875 it will first look in for the class in the
1876 Moose::Meta::Attribute::Custom::$name, and
1877 then default to just loading $name.
1878 - added tests and docs for this
1880 * Moose::Meta::TypeConstraint
1881 - type constraints now stringify to their names.
1882 - added test for this
1885 - added tests to assure we work with Module::Refresh
1886 - added stricter test skip logic in the Moose POOP
1887 test, ask Rob Kinyon why.
1888 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1890 0.18 Sat. March 10, 2007
1891 ~~ Many, many documentation updates ~~
1894 - We now use Class::MOP::load_class to
1896 - added tests to show types and subtypes
1897 working with Declare::Constraints::Simple
1898 and Test::Deep as constraint engines.
1901 !! You must have Class::MOP 0.37_001 !!
1902 !! for this developer release to work !!
1904 This release was primarily adding the immutable
1905 feature to Moose. An immutable class is one which
1906 you promise not to alter. When you set the class
1907 as immutable it will perform various bits of
1908 memoization and inline certain part of the code
1909 (constructors, destructors and accessors). This
1910 minimizes (and in some cases totally eliminates)
1911 one of Moose's biggest performance hits. This
1912 feature is not on by default, and is 100% optional.
1913 It has several configurable bits as well, so you
1914 can pick and choose to your specific needs.
1916 The changes involved in this were fairly wide and
1917 highly specific, but 100% backwards compatible, so
1918 I am not going to enumerate them here. If you are
1919 truely interested in what was changed, please do
1922 0.17 Tues. Nov. 14, 2006
1923 * Moose::Meta::Method::Accessor
1924 - bugfix for read-only accessors which
1925 are have a type constraint and lazy.
1926 Thanks to chansen for finding it.
1928 0.16 Tues. Nov. 14, 2006
1930 There are some speed improvements in this release,
1931 but they are only the begining, so stay tuned.
1934 - BUILDALL and DEMOLISHALL no longer get
1935 called unless they actually need to be.
1936 This gave us a signifigant speed boost
1937 for the cases when there is no BUILD or
1938 DEMOLISH method present.
1940 * Moose::Util::TypeConstraints
1941 * Moose::Meta::TypeConstraint
1942 - added an 'optimize_as' option to the
1943 type constraint, which allows for a
1944 hand optimized version of the type
1945 constraint to be used when possible.
1946 - Any internally created type constraints
1947 now provide an optimized version as well.
1949 0.15 Sun. Nov. 5, 2006
1951 This version of Moose *must* have Class::MOP 0.36 in order
1952 to work correctly. A number of small internal tweaks have
1953 been made in order to be compatible with that release.
1955 * Moose::Util::TypeConstraints
1956 - added &unimport so that you can clean out
1957 your class namespace of these exported
1960 * Moose::Meta::Class
1961 - fixed minor issue which occasionally
1962 comes up during global destruction
1964 - moved Moose::Meta::Method::Overriden into
1968 - moved Moose::Meta::Role::Method into
1971 * Moose::Meta::Attribute
1972 - changed how we do type checks so that
1973 we reduce the overall cost, but still
1976 - moved accessor generation methods to
1977 Moose::Meta::Method::Accessor to
1978 conform to the API changes from
1981 * Moose::Meta::TypeConstraint
1982 - changed how constraints are compiled
1983 so that we do less recursion and more
1984 iteration. This makes the type check
1986 - moved Moose::Meta::TypeConstraint::Union
1989 * Moose::Meta::Method::Accessor
1990 - created this from methods formerly found in
1991 Moose::Meta::Attribute
1993 * Moose::Meta::Role::Method
1994 - moved this from Moose::Meta::Role
1996 * Moose::Meta::Method::Overriden
1997 - moved this from Moose::Meta::Class
1999 * Moose::Meta::TypeConstraint::Union
2000 - moved this from Moose::Meta::TypeConstraint
2002 0.14 Mon. Oct. 9, 2006
2004 * Moose::Meta::Attribute
2005 - fixed lazy attributes which were not getting
2006 checked with the type constraint (thanks ashley)
2007 - added tests for this
2008 - removed the over-enthusiastic DWIMery of the
2009 automatic ArrayRef and HashRef defaults, it
2010 broke predicates in an ugly way.
2011 - removed tests for this
2013 0.13 Sat. Sept. 30, 2006
2015 This version of Moose *must* have Class::MOP 0.35 in order
2016 to work correctly. A number of small internal tweaks have
2017 been made in order to be compatible with that release.
2020 - Removed the use of UNIVERSAL::require to be a better
2021 symbol table citizen and remove a dependency
2022 (thanks Adam Kennedy)
2024 **~~ removed experimental & undocumented feature ~~**
2025 - commented out the 'method' and 'self' keywords, see the
2026 comments for more info.
2029 - added a FAQ and WTF files to document frequently
2030 asked questions and common problems
2032 * Moose::Util::TypeConstraints
2033 - added GlobRef and FileHandle type constraint
2034 - added tests for this
2036 * Moose::Meta::Attribute
2037 - if your attribute 'isa' ArrayRef of HashRef, and you have
2038 not explicitly set a default, then make the default DWIM.
2039 This will also work for subtypes of ArrayRef and HashRef
2041 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2042 - new test added for this (thanks to ashley)
2045 - added basic support for runtime role composition
2046 but this is still *highly experimental*, so feedback
2047 is much appreciated :)
2048 - added tests for this
2050 * Moose::Meta::TypeConstraint
2051 - the type constraint now handles the coercion process
2052 through delegation, this is to support the coercion
2055 * Moose::Meta::TypeConstraint::Union
2056 - it is now possible for coercions to be performed
2058 - added tests for this (thanks to konobi)
2060 * Moose::Meta::TypeCoercion
2061 - properly capturing error when type constraint
2065 - Scalar::Util 1.18 is bad on Win32, so temporarily
2066 only require version 1.17 for Win32 and cygwin.
2067 (thanks Adam Kennedy)
2069 0.12 Sat. Sept. 1, 2006
2071 - Recipe5 (subtypes & coercion) has been written
2074 - fixed "bad meta" error message to be more descriptive
2075 - fixed &unimport to not remove the &inner and &super
2076 keywords because we need to localize them.
2077 - fixed number of spelling/grammer issues, thanks Theory :)
2079 **~~ experimental & undocumented feature ~~**
2080 - added the method and self keywords, they are basically
2081 just sugar, and they may not stay around.
2084 - added &dump method to easily Data::Dumper
2087 * Moose::Meta::TypeConstraint
2088 - added the &is_a_type_of method to check both the current
2089 and the subtype of a method (similar to &isa with classes)
2092 - this is now a subclass of Class::MOP::Module, and no longer
2093 creates the _role_meta ugliness of before.
2094 - fixed tests to reflect this change
2096 0.11 Wed. July 12, 2006
2098 - added an &unimport method to remove all the keywords
2099 that Moose will import, simply add 'no Moose' to the
2100 bottom of your class file.
2103 - fixed some test failures caused by a forgotten test
2106 0.10 Thurs. July 6, 2006
2108 - improved error message when loading modules so
2109 it is less confusing when you load a role.
2110 - added &calculate_all_roles method to
2111 Moose::Meta::Class and Moose::Meta::Role
2114 This module has been tested against Class::MOP 0.30
2115 but it does not yet utilize the optimizations
2116 it makes available. Stay tuned for that ;)
2118 0.09_03 Fri. June 23, 2006
2119 ++ DEVELOPER RELEASE ++
2121 - 'use strict' and 'use warnings' are no longer
2122 needed in Moose classes, Moose itself will
2123 turn them on for you.
2124 - added tests for this
2125 - moved code from exported subs to private methods
2126 in Moose::Meta::Class
2129 - as with Moose, strict and warnings are
2130 automatically turned on for you.
2131 - added tests for this
2134 - now handles an edge case for override errors
2135 - added tests for this
2136 - added some more edge case tests
2138 0.09_02 Tues. May 16, 2006
2139 ++ DEVELOPER RELEASE ++
2141 - added prototypes to the exported subs
2145 - added prototypes to the exported subs
2148 * Moose::Util::TypeConstraints
2149 - cleaned up prototypes for the subs
2152 0.09_01 Fri. May 12, 2006
2153 ++ DEVELOPER RELEASE ++
2154 - This release works in combination with
2155 Class::MOP 0.29_01, it is a developer
2156 release because it uses the a new
2157 instance sub-protocol and a fairly
2158 complete Role implementation. It has
2159 not yet been optimized, so it slower
2160 the the previous CPAN version. This
2161 release also lacks good updated docs,
2162 the official release will have updated docs.
2165 - refactored the keyword exports
2166 - 'with' now checks Role validaity and
2167 accepts more than one Role at a time
2168 - 'extends' makes metaclass adjustments as
2169 needed to ensure metaclass compatibility
2172 - refactored the keyword exports
2173 - 'with' now checks Role validaity and
2174 accepts more than one Role at a time
2176 * Moose::Util::TypeConstraints
2177 - added the 'enum' keyword for simple
2178 string enumerations which can be used as
2180 - see example of usage in t/202_example.t
2183 - more careful checking of params to new()
2186 - much work done on the role composition
2187 - many new tests for conflict detection
2188 and composition edge cases
2189 - not enough documentation, I suggest
2190 looking at the tests
2192 * Moose::Meta::Instance
2193 - added new Instance metaclass to support
2194 the new Class::MOP instance protocol
2196 * Moose::Meta::Class
2197 - some small changes to support the new
2199 - some small additions to support Roles
2201 * Moose::Meta::Attribute
2202 - some improvements to the accessor generation code
2204 - some small changes to support the new
2206 - (still somewhat) experimental delegation support
2207 with the 'handles' option
2208 - added several tests for this
2209 - no docs for this yet
2211 0.05 Thurs. April 27, 2006
2213 - keywords are now exported with Sub::Exporter
2214 thanks to chansen for this commit
2215 - has keyword now takes a 'metaclass' option
2216 to support custom attribute meta-classes
2217 on a per-attribute basis
2218 - added tests for this
2219 - the 'has' keyword not accepts inherited slot
2220 specifications (has '+foo'). This is still an
2221 experimental feature and probably not finished
2222 see t/038_attribute_inherited_slot_specs.t for
2223 more details, or ask about it on #moose
2224 - added tests for this
2227 - keywords are now exported with Sub::Exporter
2229 * Moose::Utils::TypeConstraints
2230 - reorganized the type constraint hierarchy, thanks
2231 to nothingmuch and chansen for his help and advice
2233 - added some tests for this
2234 - keywords are now exported with Sub::Exporter
2235 thanks to chansen for this commit
2237 * Moose::Meta::Class
2238 - due to changes in Class::MOP, we had to change
2239 construct_instance (for the better)
2241 * Moose::Meta::Attribute
2242 - due to changes in Class::MOP, we had to add the
2243 initialize_instance_slot method (it's a good thing)
2245 * Moose::Meta::TypeConstraint
2246 - added type constraint unions
2247 - added tests for this
2248 - added the is_subtype_of predicate method
2249 - added tests for this
2251 0.04 Sun. April 16th, 2006
2253 - Roles can now consume other roles
2254 - added tests for this
2255 - Roles can specify required methods now with
2256 the requires() keyword
2257 - added tests for this
2260 - ripped out much of it's guts ,.. much cleaner now
2261 - added required methods and correct handling of
2262 them in apply() for both classes and roles
2263 - added tests for this
2264 - no longer adds a does() method to consuming classes
2265 it relys on the one in Moose::Object
2266 - added roles attribute and some methods to support
2267 roles consuming roles
2269 * Moose::Meta::Attribute
2270 - added support for triggers on attributes
2271 - added tests for this
2272 - added support for does option on an attribute
2273 - added tests for this
2275 * Moose::Meta::Class
2276 - added support for attribute triggers in the
2278 - added tests for this
2281 - Moose no longer creates a subtype for your class
2282 if a subtype of the same name already exists, this
2283 should DWIM in 99.9999% of all cases
2285 * Moose::Util::TypeConstraints
2286 - fixed bug where incorrect subtype conflicts were
2288 - added test for this
2291 - this class can now be extended with 'use base' if
2292 you need it, it properly loads the metaclass class now
2293 - added test for this
2295 0.03_02 Wed. April 12, 2006
2297 - you must now explictly use Moose::Util::TypeConstraints
2298 it no longer gets exported for you automatically
2301 - new() now accepts hash-refs as well as key/value lists
2302 - added does() method to check for Roles
2303 - added tests for this
2305 * Moose::Meta::Class
2306 - added roles attribute along with the add_role() and
2308 - added tests for this
2311 - now adds a does() method to consuming classes
2312 which tests the class's hierarchy for roles
2313 - added tests for this
2315 0.03_01 Mon. April 10, 2006
2317 - added new Role recipe (no content yet, only code)
2320 - added 'with' keyword for Role support
2321 - added test and docs for this
2322 - fixed subtype quoting bug
2323 - added test for this
2327 - added test and docs
2329 * Moose::Util::TypeConstraints
2330 - added the message keyword to add custom
2331 error messages to type constraints
2334 - the meta role to support Moose::Role
2335 - added tests and docs
2337 * Moose::Meta::Class
2338 - moved a number of things from Moose.pm
2339 to here, they should have been here
2342 * Moose::Meta::Attribute
2343 - moved the attribute option macros here
2344 instead of putting them in Moose.pm
2346 * Moose::Meta::TypeConstraint
2347 - added the message attributes and the
2349 - added tests and docs for this
2351 0.03 Thurs. March 30, 2006
2353 - added the Moose::Cookbook with 5 recipes,
2354 describing all the stuff Moose can do.
2357 - fixed an issue with &extends super class loading
2358 it now captures errors and deals with inline
2359 packages correctly (bug found by mst, solution
2361 - added super/override & inner/augment features
2362 - added tests and docs for these
2365 - BUILDALL now takes a reference of the %params
2366 that are passed to &new, and passes that to
2369 * Moose::Util::TypeConstraints
2370 - Type constraints now survive runtime reloading
2371 - added test for this
2373 * Moose::Meta::Class
2374 - fixed the way attribute defaults are handled
2375 during instance construction (bug found by chansen)
2377 * Moose::Meta::Attribute
2378 - read-only attributes now actually enforce their
2379 read-only-ness (this corrected in Class::MOP as
2382 0.02 Tues. March 21, 2006
2384 - many more tests, fixing some bugs and
2386 - &extends now loads the base module with
2388 - added UNIVERSAL::require to the
2391 - each new Moose class will also create
2392 and register a subtype of Object which
2393 correspond to the new Moose class.
2394 - the 'isa' option in &has now only
2395 accepts strings, and will DWIM in
2398 * Moose::Util::TypeConstraints
2399 - added type coercion features
2400 - added tests for this
2401 - added support for this in attributes
2402 and instance construction
2404 - type construction no longer creates a
2405 function, it registers the type instead.
2406 - added several functions to get the
2410 - BUILDALL and DEMOLISHALL were broken
2411 because of a mis-named hash key, Whoops :)
2413 * Moose::Meta::Attribute
2414 - adding support for coercion in the
2415 autogenerated accessors
2417 * Moose::Meta::Class
2418 - adding support for coercion in the
2419 instance construction
2421 * Moose::Meta::TypeConstraint
2422 * Moose::Meta::TypeCoercion
2423 - type constraints and coercions are now
2424 full fledges meta-objects
2426 0.01 Wed. March 15, 2006
2427 - Moooooooooooooooooose!!!