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)
15 - Users can now select a different metaclass with the "-metaclass"
16 option to import, for classes and roles (Sartak)
18 0.74 Tue, April 7, 2009
20 * Moose::Meta::Method::Destructor
21 - Include stack traces in the deprecation warnings.
25 - Removed the long-deprecated _apply_all_roles method.
27 * Moose::Meta::TypeConstraint
28 - Removed the long-deprecated union method.
31 0.73_02 Mon, April 6, 2009
32 * More deprecations and renamings
33 - Moose::Meta::Method::Constructor
34 - initialize_body => _initialize_body (this is always called
35 when an object is constructed)
38 - The DEMOLISHALL method could throw an exception during global
39 destruction, meaning that your class's DEMOLISH methods would
40 not be properly called. Reported by t0m.
42 * Moose::Meta::Method::Destructor
43 - Destructor inlining was totally broken by the change to the
44 is_needed method in 0.72_01. Now there is a test for this
45 feature, and it works again.
47 0.73_01 Sun, April 5, 2009
49 - Call user_class->meta in fewer places, with the eventual goal
50 of allowing the user to rename or exclude ->meta
51 altogether. Instead uses Class::MOP::class_of. (Sartak)
53 * Moose::Meta::Method::Accessor
54 - If an attribute had a lazy default, and that value did not
55 pass the attribute's type constraint, it did not get the
56 message from the type constraint, instead using a generic
57 message. Test provided by perigrin.
59 * Moose::Util::TypeConstraints
60 - Add duck_type keyword. It's sugar over making sure an object
61 can() a list of methods. This is easier than jrockway's
62 suggestion to fork all of CPAN. (perigrin)
63 - add tests and documentation (perigrin)
66 - Document the fact that init_meta() returns the target class's
67 metaclass object. (hdp)
69 * Moose::Cookbook::Extending::Recipe1
70 * Moose::Cookbook::Extending::Recipe2
71 * Moose::Cookbook::Extending::Recipe3
72 * Moose::Cookbook::Extending::Recipe4
73 - Make init_meta() examples explicitly return the metaclass and
74 point out this fact. (hdp)
76 * Moose::Cookbook::Basics::Recipe12
77 - A new recipe, creating a custom meta-method class.
79 * Moose::Cookbook::Meta::Recipe6
80 - A new recipe, creating a custom meta-method class.
83 * Moose::Meta::Method::Constructor
84 - Attribute triggers no longer receive the meta-attribute object
85 as an argument in any circumstance. Previously, triggers
86 called during instance construction were passed the
87 meta-attribute, but triggers called by normal accessors were
88 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
90 * Moose::Manual::Attributes
91 - Remove references to triggers receving the meta-attribute object as an
94 * Moose::Cookbook::FAQ
95 - Remove recommendation for deprecated Moose::Policy and
96 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
99 * Many methods have been renamed with a leading underscore, and a
100 few have been deprecated entirely. The methods with a leading
101 underscore are consider "internals only". People writing
102 subclasses or extensions to Moose should feel free to override
103 them, but they are not for "public" use.
106 - check_metaclass_compatibility => _check_metaclass_compatibility
108 - Moose::Meta::Method::Accessor
109 - initialize_body => _initialize_body (this is always called
110 when an object is constructed)
111 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
113 - Moose::Meta::Method::Constructor
114 - initialize_body => _initialize_body (this is always called
115 when an object is constructed)
116 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
117 - attributes => _attributes (now inherited from parent)
118 - meta_instance => _meta_instance (now inherited from parent)
121 - alias_method is deprecated. Use add_method
123 0.73 Fri, March 29, 2009
124 * No changes from 0.72_01.
126 0.72_01 Thu, March 26, 2009
128 - Almost every module has complete API documentation. A few
129 methods (and even whole classes) have been intentionally
130 excluded pending some rethinking of their APIs.
132 * Moose::Util::TypeConstraints
133 - Calling subtype with a name as the only argument is now an
134 exception. If you want an anonymous subtype do:
136 my $subtype = subtype as 'Foo';
138 * Moose::Cookbook::Meta::Recipe7
139 - A new recipe, creating a custom meta-instance class.
141 * Moose::Cookbook::Basics::Recipe5
142 - Fix various typos and mistakes. Includes a patch from Radu
145 * Moose::Cookbook::Basics::Recipe9
146 - Link to this recipe from Moose.pm's builder blurb
149 - When wrapping a function with a prototype, Moose::Exporter now
150 makes sure the wrapped function still has the same
151 prototype. (Daisuke Maki)
153 * Moose::Meta::Attribute
154 - Allow a subclass to set lazy_build for an inherited
158 - Explicitly depend on Data::OptList. We already had this dependency
159 via Sub::Exporter, but since we're using it directly we're
160 better off with it listed. (Sartak)
162 * Moose::Meta::Method::Constructor
163 - Make it easier to subclass the inlining behaviour. (Ash
166 * Moose::Manual::Delta
167 - Details significant changes in the history of Moose, along
168 with recommended workarounds.
170 * Moose::Manual::Contributing
171 - Contributor's guide to Moose.
173 * Moose::Meta::Method::Constructor
174 - The long-deprecated intialize_body method has been removed
175 (yes, spelled like that).
177 * Moose::Meta::Method::Destructor
178 - This is_needed method is now always a class method.
181 - Changes to the internals of how make_immutable works to match
182 changes in latest Class::MOP.
184 0.72 Mon, February 23, 2009
186 * Moose::Meta::Method::Constructor
187 - A mutable class accepted Foo->new(undef) without complaint,
188 while an immutable class would blow up with an unhelpful
189 error. Now, in both cases we throw a helpful error
190 instead. Reported by doy.
192 0.71_01 Sun, February 22, 2009
194 - Hopefully fixed some POD errors in a few recipes that caused
195 them to display weird on search.cpan.org.
197 * Moose::Util::TypeConstraints
198 - Calling type or subtype without the sugar helpers (as, where,
199 message) is now deprecated.
200 - The subtype function tried hard to guess what you meant, but
201 often got it wrong. For example:
203 my $subtype = subtype as 'ArrayRef[Object]';
205 This caused an error in the past, but now works as you'd
209 - Make sure Moose.pm is loaded before calling
210 Moose->throw_error. This wasn't normally an issue, but could
211 bite you in weird cases.
213 0.71 Thu, February 19, 2009
214 * Moose::Cookbook::Basics::Recipe11
215 - A new recipe which demonstrates the use of BUILDARGS and
218 * Moose::Cookbook::Roles::Recipe3
219 - A new recipe, applying a role to an object instance. (Dave
223 - Allow overriding specific keywords from "also" packages. (doy)
226 - Replace hardcoded cookbook tests with Test::Inline to ensure
227 the tests match the actual code in the recipes. (Dave Rolsky)
230 - Working on the above turned up a number of little bugs in the
231 recipe code. (Dave Rolsky)
233 * Moose::Util::TypeConstraints::Optimized
234 - Just use Class::MOP for the optimized ClassName check. (Dave
237 0.70 Sat, February 14, 2009
238 * Moose::Util::TypeConstraints
239 - Added the RoleName type (stevan)
240 - added tests for this (stevan)
242 * Moose::Cookbook::Basics::Recipe3
243 - Updated the before qw[left right] sub to be a little more
244 defensive about what it accepts (stevan)
245 - added more tests to t/000_recipies/basics/003_binary_tree.t
249 - We now always call DEMOLISHALL, even if a class does not
250 define DEMOLISH. This makes sure that method modifiers on
251 DEMOLISHALL work as expected. (doy)
252 - added tests for this (EvanCarroll)
254 * Moose::Util::MetaRole
255 - Accept roles for the wrapped_method_metaclass (rafl)
256 - added tests for this (rafl)
258 * Moose::Meta::Attribute
259 - We no longer pass the meta-attribute object as a final
260 argument to triggers. This actually changed for inlined code a
261 while back, but the non-inlined version and the docs were
265 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
266 they require 0.11. (Dave Rolsky)
269 - Lots of small changes to the manual, cookbook, and
270 elsewhere. These were based on feedback from various
271 users, too many to list here. (Dave Rolsky)
273 0.69 Thu, February 12, 2009
275 - Make some keyword errors use throw_error instead of croak
276 since Moose::Exporter wraps keywords now (Sartak)
279 - Revised every recipe for style and clarity. Also moved some
280 documentation out of cookbook recipes and into Moose::Manual
281 pages. This work was funded as part of the Moose docs grant
282 from TPF. (Dave Rolsky)
284 * Moose::Meta::Method::Delegation
285 - If the attribute doing the delegation was not populated, the
286 error message did not specify the attribute name
289 0.68 Wed, February 4, 2009
291 - Many spelling, typo, and formatting fixes by daxim.
293 * Moose::Manual::Attributes
294 - The NAME section in the POD used "Attribute" so search.cpan
295 didn't resolve links from other documents properly.
297 * Moose::Meta::Method::Overriden
298 - Now properly spelled as Overridden. Thanks to daxim for
301 0.67 Tue, February 3, 2009
303 - Lots of little typo fixes and a few clarifications. Several
304 pages didn't have proper titles, and so weren't actually
305 visible on search.cpan.org. Thanks to hanekomu for a variety
306 of fixes and formatting improvements.
308 0.66 Tue, February 3, 2009
310 - This is a brand new, extensive manual for Moose. This aims to
311 provide a complete introduction to all of Moose's
312 features. This work was funded as part of the Moose docs grant
313 from TPF. (Dave Rolsky)
315 * Moose::Meta::Attribute
316 - Added a delegation_metaclass method to replace a hard-coded
317 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
319 * Moose::Util::TypeConstraints
320 - If you created a subtype and passed a parent that Moose didn't
321 know about, it simply ignored the parent. Now it automatically
322 creates the parent as a class type. This may not be what you
323 want, but is less broken than before. (Dave Rolsky)
325 * Moose::Util::TypeConstraints
326 - This module tried throw errors by calling Moose->throw_error,
327 but it did not ensure that Moose was loaded first. This could
328 cause very unhelpful errors when it tried to throw an error
329 before Moose was loaded. (Dave Rolsky)
331 * Moose::Util::TypeConstraints
332 - You could declare a name with subtype such as "Foo!Bar" that
333 would be allowed, but if you used it in a parameterized type
334 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
335 vetting on names created via the sugar functions, so that they
336 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
338 0.65 Thu, January 22, 2008
339 * Moose and Moose::Meta::Method::Overridden
340 - If an overridden method called super(), and then the
341 superclass's method (not overridden) _also_ called super(),
342 Moose went into an endless recursion loop. Test provided by
343 Chris Prather. (Dave Rolsky)
345 * Moose::Meta::TypeConstraint
346 - All methods are now documented. (gphat)
348 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
349 - Fixed some bogus failures that occurred because we tried to
350 validate filesystem paths in a very ad-hoc and
351 not-quite-correct way. (Dave Rolsky)
353 * Moose::Util::TypeConstraints
354 - Added maybe_type to exports. See docs for details. (rjbs)
357 - Added Moose::Util::TypeConstraints to the SEE ALSO
361 - Methods created via an attribute can now fulfill a "requires"
362 declaration for a role. (nothingmuch)
364 * Moose::Meta::Method::*
365 - Stack traces from inlined code will now report its line and
366 file as being in your class, as opposed to in Moose
369 0.64 Wed, December 31, 2008
370 * Moose::Meta::Method::Accessor
371 - Always inline predicate and clearer methods (Sartak)
373 * Moose::Meta::Attribute
374 - Support for parameterized traits (Sartak)
375 - verify_against_type_constraint method to avoid duplication
376 and enhance extensibility (Sartak)
379 - Tests (but no support yet) for parameterized traits (Sartak)
382 - Require Class::MOP 0.75+, which has the side effect of making
383 sure we work on Win32. (Dave Rolsky)
385 0.63 Mon, December 8, 2008
387 - Some small grammar tweaks and bug fixes in non-Moose example
390 0.62_02 Fri, December 5, 2008
391 * Moose::Meta::Role::Application::ToClass
392 - When a class does not provide all of a role's required
393 methods, the error thrown now mentions all of the missing
394 methods, as opposed to just the first one found. Requested by
395 Curtis Poe (RT #41119). (Dave Rolsky)
397 * Moose::Meta::Method::Constructor
398 - Moose will no longer inline a constructor for your class
399 unless it inherits its constructor from Moose::Object, and
400 will warn when it doesn't inline. If you want to force
401 inlining anyway, pass "replace_constructor => 1" to
402 make_immutable. Addresses RT #40968, reported by Jon
403 Swartz. (Dave Rolsky)
404 - The quoting of default values could be broken if the default
405 contained a single quote ('). Now we use quotemeta to escape
406 anything potentially dangerous in the defaults. (Dave Rolsky)
408 0.62_01 Wed, December 3, 2008
410 - use the method->execute API for BUILDALL
411 and DEMOLISHALL (Sartak)
413 * Moose::Util::TypeConstraints
414 - We now make all the type constraint meta classes immutable
415 before creating the default types provided by Moose. This
416 should make loading Moose a little faster. (Dave Rolsky)
418 0.62 Wed November 26, 2008
419 * Moose::Meta::Role::Application::ToClass
420 Moose::Meta::Role::Application::ToRole
421 - fixed issues where excluding and aliasing the
422 same methods for a single role did not work
423 right (worked just fine with multiple
425 - added test for this (stevan)
427 * Moose::Meta::Role::Application::RoleSummation
428 - fixed the error message when trying to compose
429 a role with a role it excludes (Sartak)
432 - Catch another case where recursion caused the value
433 of $CALLER to be stamped on (t0m)
434 - added test for this (t0m)
437 - Remove the make_immutable keyword, which has been
438 deprecated since April. It breaks metaclasses that
439 use Moose without no Moose (Sartak)
441 * Moose::Meta::Attribute
442 - Removing an attribute from a class now also removes delegation
443 (handles) methods installed for that attribute (t0m)
444 - added test for this (t0m)
446 * Moose::Meta::Method::Constructor
447 - An attribute with a default that looked like a number (but was
448 really a string) would accidentally be treated as a number
449 when the constructor was made immutable (perigrin)
450 - added test for this (perigrin)
453 - create method for constructing a role
455 - added test for this (Sartak)
456 - anonymous roles! (Sartak)
457 - added test for this (Sartak)
460 - more consistent error messages (Sartak)
462 * Moose::Cookbook::Roles::Recipe1
463 - attempt to explain why a role that just requires
464 methods is useful (Sartak)
466 0.61 Fri November 7, 2008
467 * Moose::Meta::Attribute
468 - When passing a role to handles, it will be loaded if necessary
472 - Method objects returned by get_method (and other methods)
473 Could end up being returned without an associated_metaclass
474 attribute. Removing get_method_map, which is provided by
475 Class::MOP::Class, fixed this. The Moose version did nothing
476 different from its parent except introduce a bug. (Dave Rolsky)
477 - added tests for this (jdv79)
480 - Added a $VERSION to all .pm files which didn't have one. Fixes
481 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
483 * Moose::Cookbook::Basics::Recipe4
484 * Moose::Cookbook::Basics::Recipe6
485 - These files had spaces on the first line of the SYNOPSIS, as
486 opposed to a totally empty line. According to RT #40432, this
487 confuses POD parsers. (Dave Rolsky)
489 0.60 Fri October 24, 2008
491 - Passing "-traits" when loading Moose caused the Moose.pm
492 exports to be broken. Reported by t0m. (Dave Rolsky)
493 - Tests for this bug. (t0m)
496 - Change resolve_metaclass alias to use the new
497 load_first_existing_class function. This makes it a lot
498 simpler, and also around 5 times faster. (t0m)
499 - Add caching to resolve_metaclass_alias, which gives an order
500 of magnitude speedup to things which repeatedly call the
501 Moose::Meta::Attribute->does method, notably MooseX::Storage
504 * Moose::Util::TypeConstraint
505 - Put back the changes for parameterized constraints that
506 shouldn't have been removed in 0.59. We still cannot parse
507 them, but MooseX modules can create them in some other
508 way. See the 0.58 changes for more details. (jnapiorkowski)
509 - Changed the way subtypes are created so that the job is
510 delegated to a type constraint parent. This clears up some
511 hardcoded checking and should allow correct subtypes of
512 Moose::Meta::Type::Constraint. Don't rely on this new API too
513 much (create_child_type) because it may go away in the
514 future. (jnapiorkowski)
516 * Moose::Meta::TypeConstraint::Union
517 - Type constraint names are sorted as strings, not numbers.
520 * Moose::Meta::TypeConstraint::Parameterizable
521 - New parameterize method. This can be used as a factory method
522 to make a new type constraint with a given parameterized
523 type. (jnapiorkowski)
524 - added tests (jnapiorkowski)
526 0.59 Tue October 14, 2008
528 - Add abridged documentation for builder/default/initializer/
529 predicate, and link to more details sections in
530 Class::MOP::Attribute. (t0m)
532 * Moose::Util::TypeConstraints
533 - removed prototypes from all but the &-based stuff (mst)
535 * Moose::Util::TypeConstraints
536 - Creating a anonymous subtype with both a constraint and a
537 message failed with a very unhelpful error, but should just
538 work. Reported by t0m. (Dave Rolsky)
541 - Some tests that used Test::Warn if it was available failed
542 with older versions of Test::Warn. Reported by Fayland. (Dave
544 - Test firing behavior of triggers in relation to builder/default/
546 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
547 kinds of supported type. (t0m)
550 - In create(), do not pass "roles" option to the superclass
551 - added related test that creates an anon metaclass with
554 * Moose::Meta::TypeConstraint::Class
555 * Moose::Meta::TypeConstraint::Role
556 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
557 other types (as per change in 0.55_02). (t0m)
559 * Moose::Meta::TypeConstraint::Registry
560 - Fix warning when dealing with unknown type names (t0m)
562 * Moose::Util::TypeConstraints
563 - Reverted changes from 0.58 related to handle parameterized
564 types. This caused random failures on BSD and Win32 systems,
565 apparently related to the regex engine. This means that Moose
566 can no longer parse structured type constraints like
567 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
568 supported in a slightly different way via MooseX::Types some
569 time in the future. (Dave Rolsky)
571 0.58 Sat September 20, 2008
572 !! This release has an incompatible change regarding !!
573 !! how roles add methods to a class !!
575 * Roles and role application
576 ! Roles now add methods by calling add_method, not
577 alias_method. They make sure to always provide a method
578 object, which will be cloned internally. This means that it is
579 now possible to track the source of a method provided by a
580 role, and even follow its history through intermediate roles.
582 This means that methods added by a role now show up when
583 looking at a class's method list/map. (Dave Rolsky)
586 - From this release on, we'll try to maintain a list of
587 conflicting modules, and warn you if you have one
588 installed. For example, this release conflicts with ...
589 - MooseX::Singleton <= 0.11
590 - MooseX::Params::Validate <= 0.05
593 In general, we try to not break backwards compatibility for
594 most Moose users, but MooseX modules and other code which
595 extends Moose's metaclasses is often affected by very small
596 changes in the Moose internals.
598 * Moose::Meta::Method::Delegation
599 * Moose::Meta::Attribute
600 - Delegation methods now have their own method class. (Dave
603 * Moose::Meta::TypeConstraint::Parameterizable
604 - Added a new method 'parameterize' which is basically a factory
605 for the containing constraint. This makes it easier to create
606 new types of parameterized constraints. (jnapiorkowski)
608 * Moose::Meta::TypeConstraint::Union
609 - Changed the way Union types canonicalize their names to follow
610 the normalized TC naming rules, which means we strip all
611 whitespace. (jnapiorkowski)
613 * Moose::Util::TypeConstraints
614 - Parameter and Union args are now sorted, this makes Int|Str
615 the same constraint as Str|Int. (jnapiorkowski)
616 - Changes to the way Union types are parsed to more correctly
617 stringify their names. (jnapiorkowski)
618 - When creating a parameterized type, we now use the new
619 parameterize method. (jnapiorkowski)
620 - Incoming type constraint strings are now normalized to remove
621 all whitespace differences. (jnapiorkowski)
622 - Changed the way we parse type constraint strings so that we now
623 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
624 constraints. This lays the foundation for more flexible type
625 constraint implementations.
627 * Tests and docs for all the above. (jnapiorkowski)
631 - Moose::Exporter will no longer remove a subroutine that the
632 exporting package re-exports. Moose re-exports the
633 Carp::confess function, among others. The reasoning is that we
634 cannot know whether you have also explicitly imported those
635 functions for your own use, so we err on the safe side and
636 always keep them. (Dave Rolsky)
637 - added tests for this (rafl)
640 - Changes to how we fix metaclass compatibility that are much
641 too complicated to go into. The summary is that Moose is much
642 less likely to complain about metaclass incompatibility
643 now. In particular, if two metaclasses differ because
644 Moose::Util::MetaRole was used on the two corresponding
645 classes, then the difference in roles is reconciled for the
646 subclass's metaclass. (Dave Rolsky)
647 - Squashed an warning in _process_attribute (thepler)
650 - throw exceptions (sooner) for invalid attribute names (thepler)
651 - added tests for this (thepler)
653 * Moose::Util::MetaRole
654 - If you explicitly set a constructor or destructor class for a
655 metaclass object, and then applied roles to the metaclass,
656 that explicitly set class would be lost and replaced with the
660 * Moose::Meta::Attribute
661 * Moose::Meta::Method
664 * Moose::Error::Default
665 * Moose::Error::Croak
666 * Moose::Error::Confess
667 - All instances of confess() changed to use overridable
668 C<throw_error> method. This method ultimately calls a class
669 constructor, and you can change the class being called. In
670 addition, errors now pass more information than just a string.
671 The default C<error_class> behaves like C<Carp::confess>, so
672 the behavior is not visibly different for end users.
674 0.57 Wed September 3, 2008
676 - A new bit of doc intended to introduce folks familiar with
677 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
680 - Shows examples of two classes, each done first with and then
681 without Moose. This makes a nice parallel to
682 Moose::Intro. (Dave Rolsky)
684 * Moose::Util::TypeConstraints
685 - Fixed a bug in find_or_parse_type_constraint so that it
686 accepts a Moose::Meta::TypeConstraint object as the parent
687 type, not just a name (jnapiorkowski)
688 - added tests (jnapiorkowski)
691 - If Sub::Name was not present, unimporting failed to actually
692 remove some sugar subs, causing test failures (Dave Rolsky)
694 0.56 Mon September 1, 2008
695 For those not following the series of dev releases, there are
696 several major changes in this release of Moose.
697 ! Moose::init_meta should now be called as a method. See the
700 - Major performance improvements by nothingmuch.
702 - New modules for extension writers, Moose::Exporter and
703 Moose::Util::MetaRole by Dave Rolsky.
705 - Lots of doc improvements and additions, especially in the
710 * Removed all references to the experimental-but-no-longer-needed
711 Moose::Meta::Role::Application::ToMetaclassInstance.
713 * Require Class::MOP 0.65.
715 0.55_04 Sat August 30, 2008
716 * Moose::Util::MetaRole
717 * Moose::Cookbook::Extending::Recipe2
718 - This simplifies the application of roles to any meta class, as
719 well as the base object class. Reimplemented metaclass traits
720 using this module. (Dave Rolsky)
722 * Moose::Cookbook::Extending::Recipe1
723 - This a new recipe, an overview of various ways to write Moose
724 extensions (Dave Rolsky)
726 * Moose::Cookbook::Extending::Recipe3
727 * Moose::Cookbook::Extending::Recipe4
728 - These used to be Extending::Recipe1 and Extending::Recipe2,
731 0.55_03 Fri August 29, 2008
732 * No changes from 0.55_02 except increasing the Class::MOP
733 dependency to 0.64_07.
735 0.55_02 Fri August 29, 2008
736 * Makefile.PL and Moose.pm
737 - explicitly require Perl 5.8.0+ (Dave Rolsky)
739 * Moose::Util::TypeConstraints
740 - Fix warnings from find_type_constraint if the type is not
743 * Moose::Meta::TypeConstraint
744 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
745 return false if the type you specify cannot be found in the
746 type registry, rather than throwing an unhelpful and
747 coincidental exception. (t0m).
748 - added docs & test for this (t0m)
750 * Moose::Meta::TypeConstraint::Registry
751 - add_type_constraint now throws an exception if a parameter is
753 - added docs & test for this (t0m)
755 * Moose::Cookbook::FAQ
756 - Added a faq entry on the difference between "role" and "trait"
760 - Fixed a bug that caused role composition to not see a required
761 method when that method was provided by another role being
762 composed at the same time. (Dave Rolsky)
763 - test and bug finding (tokuhirom)
765 0.55_01 Wed August 20, 2008
767 !! Calling Moose::init_meta as a function is now !!
768 !! deprecated. Please see the Moose.pm docs for details. !!
770 * Moose::Meta::Method::Constructor
771 - Fix inlined constructor so that values produced by default
772 or builder methods are coerced as required. (t0m)
773 - added test for this (t0m)
775 * Moose::Meta::Attribute
776 - A lazy attribute with a default or builder did not attempt to
777 coerce the default value. The immutable code _did_
779 - added test for this (t0m)
782 - This is a new helper module for writing "Moose-alike"
783 modules. This should make the lives of MooseX module authors
784 much easier. (Dave Rolsky)
787 * Moose::Cookbook::Meta::Recipe5
788 - Implemented metaclass traits (and wrote a recipe for it):
790 use Moose -traits => 'Foo'
792 This should make writing small Moose extensions a little
795 * Moose::Cookbook::Basics::Recipe1
796 - Removed any examples of direct hashref access, and applied an
797 editorial axe to reduce verbosity. (Dave Rolsky)
799 * Moose::Cookbook::Basics::Recipe1
800 - Also applied an editorial axe here. (Dave Rolsky)
803 * Moose::Cookbook::Extending::Recipe1
804 * Moose::Cookbook::Extending::Recipe2
805 - Rewrote extending and embedding moose documentation and
806 recipes to use Moose::Exporter (Dave Rolsky)
810 - These two modules now warn when you load them from the main
811 package "main" package, because we will not export sugar to
812 main. Previously it just did nothing. (Dave Rolsky)
815 - Now provide an init_meta method just like Moose.pm, and you
816 can call this to provide an alternate role metaclass. (Dave
817 Rolsky and nothingmuch)
818 - get_method_map now respects the package cache flag (nothingmuch)
821 - Two new methods - add_method and wrap_method_body
825 - Optimizations including allowing constructors to accept hash
826 refs, making many more classes immutable, and making
827 constructors immutable. (nothingmuch)
829 0.55 Sun August 3, 2008
830 * Moose::Meta::Attribute
831 - breaking down the way 'handles' methods are
832 created so that the process can be more easily
833 overridden by subclasses (stevan)
835 * Moose::Meta::TypeConstraint
836 - fixing what is passed into a ->message with
837 the type constraints (RT #37569)
838 - added tests for this (Charles Alderman)
840 * Moose::Util::TypeConstraints
841 - fix coerce to accept anon types like subtype can (mst)
844 - reorganized the recipes into sections - Basics, Roles, Meta,
845 Extending - and wrote abstracts for each section (Dave Rolsky)
847 * Moose::Cookbook::Basics::Recipe10
848 - A new recipe that demonstrates operator overloading
849 in combination with Moose. (bluefeet)
851 * Moose::Cookbook::Meta::Recipe1
852 - an introduction to what meta is and why you'd want to make
853 your own metaclass extensions (Dave Rolsky)
855 * Moose::Cookbook::Meta::Recipe4
856 - a very simple metaclass example (Dave Rolsky)
858 * Moose::Cookbook::Extending::Recipe1
859 - how to write a Moose-alike module to use your own object base
862 * Moose::Cookbook::Extending::Recipe2
863 - how to write modules with an API just like C<Moose.pm> (Dave
867 - Tons of fixes, both syntactical and grammatical (Dave
868 Rolsky, Paul Fenwick)
870 0.54 Thurs. July 3, 2008
871 ... this is not my day today ...
873 * Moose::Meta::Attribute
874 - fixed legal_options_for_inheritance such that
875 clone_and_inherit options still works for
876 Class::MOP::Attribute objects and therefore
877 does not break MooseX::AttributeHelpers
880 0.53 Thurs. July 3, 2008
881 * Whoops, I guess I should run 'make manifest' before
882 actually releasing the module. No actual changes
883 in this release, except the fact that it includes
884 the changes that I didn't include in the last
887 0.52 Thurs. July 3, 2008
889 - added "FEATURE REQUESTS" section to the Moose docs
890 to properly direct people (stevan) (RT #34333)
891 - making 'extends' croak if it is passed a Role since
892 this is not ever something you want to do
893 (fixed by stevan, found by obra)
894 - added tests for this (stevan)
897 - adding support for DOES (as in UNIVERSAL::DOES)
899 - added test for this
901 * Moose::Meta::Attribute
902 - added legal_options_for_inheritance (wreis)
903 - added tests for this (wreis)
905 * Moose::Cookbook::Snacks::*
906 - removed some of the unfinished snacks that should
907 not have been released yet. Added some more examples
908 to the 'Keywords' snack. (stevan)
910 * Moose::Cookbook::Style
911 - added general Moose "style guide" of sorts to the
912 cookbook (nothingmuch) (RT #34335)
915 - added more BUILDARGS tests (stevan)
917 0.51 Thurs. Jun 26, 2008
919 - add unimport so "no Moose::Role" actually does
922 * Moose::Meta::Role::Application::ToRole
923 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
924 order to provide its own implementation, that method still got
925 added to the list of required methods for consumers of
926 RoleB. Now an aliased method is only added to the list of
927 required methods if the role doing the aliasing does not
928 provide its own implementation. See Recipe 11 for an example
929 of all this. (Dave Rolsky)
930 - added tests for this
932 * Moose::Meta::Method::Constructor
933 - when a single argument that wasn't a hashref was provided to
934 an immutabilized constructor, the error message was very
935 unhelpful, as opposed to the non-immutable error. Reported by
937 - added test for this (Dave Rolsky)
939 * Moose::Meta::Attribute
940 - added support for meta_attr->does("ShortAlias") (sartak)
941 - added tests for this (sartak)
942 - moved the bulk of the `handles` handling to the new
943 install_delegation method (Stevan)
946 - Added BUILDARGS, a new step in new()
948 * Moose::Meta::Role::Application::RoleSummation
949 - fix typos no one ever sees (sartak)
951 * Moose::Util::TypeConstraints
952 * Moose::Meta::TypeConstraint
953 * Moose::Meta::TypeCoercion
954 - Attempt to work around the ??{ } vs. threads issue
956 - Some null_constraint optimizations
958 0.50 Thurs. Jun 11, 2008
959 - Fixed a version number issue by bumping all modules
962 0.49 Thurs. Jun 11, 2008
963 !! This version now approx. 20-25% !!
964 !! faster with new Class::MOP 0.59 !!
966 * Moose::Meta::Attribute
967 - fixed how the is => (ro|rw) works with
968 custom defined reader, writer and accessor
970 - added docs for this (TODO).
971 - added tests for this (Thanks to Penfold)
972 - added the custom attribute alias for regular
973 Moose attributes which is "Moose"
974 - fix builder and default both being used
979 Moose::Meta::Attribute
981 Moose::Meta::Role::Composite
982 Moose::Util::TypeConstraints
983 - switched usage of reftype to ref because
987 - changing add_package_symbol to use the new
991 - fixed how DEMOLISHALL is called so that it
992 can be overrided in subclasses (thanks to Sartak)
993 - added test for this (thanks to Sartak)
995 * Moose::Util::TypeConstraints
996 - move the ClassName type check code to
997 Class::MOP::is_class_loaded (thanks to Sartak)
999 * Moose::Cookbook::Recipe11
1000 - add tests for this (thanks to tokuhirom)
1002 0.48 Thurs. May 29, 2008
1003 (early morning release engineering)--
1005 - fixing the version in Moose::Meta::Method::Destructor
1006 which was causing the indexer to choke
1008 0.47 Thurs. May 29, 2008
1009 (late night release engineering)--
1011 - fixing the version is META.yml, no functional
1012 changes in this release
1014 0.46 Wed. May 28, 2008
1015 !! This version now approx. 20-25% !!
1016 !! faster with new Class::MOP 0.57 !!
1018 * Moose::Meta::Class
1019 - some optimizations of the &initialize method
1020 since it is called so often by &meta
1022 * Moose::Meta::Class
1024 - now use the get_all_package_symbols from the
1025 updated Class::MOP, test suite is now 10 seconds
1028 * Moose::Meta::Method::Destructor
1029 - is_needed can now also be called as a class
1030 method for immutablization to check if the
1031 destructor object even needs to be created
1034 * Moose::Meta::Method::Destructor
1035 Moose::Meta::Method::Constructor
1036 - added more descriptive error message to help
1037 keep people from wasting time tracking an error
1038 that is easily fixed by upgrading.
1040 0.45 Saturday, May 24, 2008
1042 - Because of work in Class::MOP 0.57, all
1043 XS based functionality is now optional
1044 and a Pure Perl version is supplied
1045 - the CLASS_MOP_NO_XS environment variable
1046 can now be used to force non-XS versions
1048 - several of the packages have been tweaked
1049 to take care of this, mostly we added
1050 support for the package_name and name
1051 variables in all the Method metaclasses
1052 - before/around/after method modifiers now
1053 support regexp matching of names
1054 (thanks to Takatoshi Kitano)
1055 - tests added for this
1056 - NOTE: this only works for classes, it
1057 is currently not supported in roles,
1058 but, ... patches welcome
1059 - All usage of Carp::confess have been replaced
1060 by Carp::croak in the "keyword" functions since
1061 the stack trace is usually not helpful
1064 - All usage of Carp::confess have been replaced
1065 by Carp::croak in the "keyword" functions since
1066 the stack trace is usually not helpful
1067 - The 'has' keyword for roles now accepts the
1068 same array ref form that Moose.pm does
1069 (has [qw/foo bar/] => (is => 'rw', ...))
1070 - added test for this
1072 * Moose::Meta::Attribute
1073 - trigger on a ro-attribute is no longer an
1074 error, as it's useful to trigger off of the
1077 * Moose::Meta::Class
1078 - added same 'add_package_symbol' fix as in
1082 - does_role now handles non-Moose classes
1084 - added tests for this
1085 - added the 'add_method_modifier' function
1086 (thanks to Takatoshi Kitano)
1088 * Moose::Util::TypeConstraints
1089 - subtypes of parameterizable types now are
1090 themselves parameterizable types
1092 * Moose::Meta::Method::Constructor
1093 - fixed bug where trigger was not being
1094 called by the inlined immutable
1096 - added test for this (thanks to Caelum)
1098 * Moose::Meta::Role::Application::ToInstance
1099 - now uses the metaclass of the instance
1100 (if possible) to create the anon-class
1101 (thanks Jonathan Rockway)
1103 * Moose::Cookbook::Recipe22
1104 - added the meta-attribute trait recipe
1108 - fixed hash-ordering test bug that was
1109 causing occasional cpantester failures
1110 - renamed the t/000_recipe/*.t tests to be
1111 more descriptive (thanks to Sartak)
1113 0.44 Sat. May 10, 2008
1115 - made make_immutable warning cluck to
1116 show where the error is (thanks mst)
1119 - BUILDALL and DEMOLISHALL now call
1120 ->body when looping through the
1121 methods, to avoid the overloaded
1123 - fixed issue where DEMOLISHALL was
1124 eating the $@ values, and so not
1125 working correctly, it still kind of
1126 eats them, but so does vanilla perl
1127 - added tests for this
1129 * Moose::Cookbook::Recipe7
1130 - added new recipe for immutable
1131 functionality (thanks Dave Rolsky)
1133 * Moose::Cookbook::Recipe9
1134 - added new recipe for builder and
1135 lazy_build (thanks Dave Rolsky)
1137 * Moose::Cookbook::Recipe11
1138 - added new recipe for method aliasing
1139 and exclusion with Roles (thanks Dave Rolsky)
1142 - fixed Win32 test failure (thanks spicyjack)
1144 ~ removed Build.PL and Module::Build compat
1145 since Module::Install has done that.
1147 0.43 Wed. April, 30, 2008
1149 drink more coffee before
1150 doing release engineering
1152 - whoops, forgot to do the smolder tests,
1153 and we broke some of the custom meta-attr
1154 modules. This fixes that.
1156 0.42 Mon. April 28, 2008
1157 - some bad tests slipped by, nothing else
1158 changed in this release (cpantesters++)
1160 - upped the Class::MOP dependency to 0.55
1161 since we have tests which need the C3
1164 0.41 Mon. April 28, 2008
1165 ~~ numerous documentation updates ~~
1167 - Changed all usage of die to Carp::croak for better
1168 error reporting (initial patch by Tod Hagan)
1170 ** IMPORTANT NOTE **
1171 - the make_immutable keyword is now deprecated, don't
1172 use it in any new code and please fix your old code
1173 as well. There will be 2 releases, and then it will
1179 - refactored the way inner and super work to avoid
1180 any method/@ISA cache penalty (nothingmuch)
1182 * Moose::Meta::Class
1183 - fixing &new_object to make sure trigger gets the
1184 coerced value (spotted by Charles Alderman on the
1186 - added test for this
1188 * Moose::Meta::Method::Constructor
1189 - immutable classes which had non-lazy attributes were calling
1190 the default generating sub twice in the constructor. (bug
1191 found by Jesse Luehrs, fixed by Dave Rolsky)
1192 - added tests for this (Dave Rolsky)
1193 - fix typo in initialize_body method (nothingmuch)
1195 * Moose::Meta::Method::Destructor
1196 - fix typo in initialize_body method (nothingmuch)
1198 * Moose::Meta::Method::Overriden
1199 Moose::Meta::Method::Augmented
1200 - moved the logic for these into their own
1201 classes (nothingmuch)
1203 * Moose::Meta::Attribute
1204 - inherited attributes may now be extended without
1205 restriction on the type ('isa', 'does') (Sartak)
1206 - added tests for this (Sartak)
1207 - when an attribute property is malformed (such as lazy without
1208 a default), give the name of the attribute in the error
1210 - added the &applied_traits and &has_applied_traits methods
1211 to allow introspection of traits
1212 - added tests for this
1213 - moved 'trait' and 'metaclass' argument handling to here from
1215 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1216 '+foo' syntax) (nothingmuch)
1217 - added tests for this (t0m)
1220 - localize $@ inside DEMOLISHALL to avoid it
1221 eating $@ (found by Ernesto)
1222 - added test for this (thanks to Ernesto)
1224 * Moose::Util::TypeConstraints
1225 - &find_type_constraint now DWIMs when given an
1226 type constraint object or name (nothingmuch)
1227 - &find_or_create_type_constraint superseded with a number of more
1229 - find_or_create_{isa,does}_type_constraint
1230 - find_or_parse_type_constraint
1232 * Moose::Meta::TypeConstraint
1233 Moose::Meta::TypeConstraint::Class
1234 Moose::Meta::TypeConstraint::Role
1235 Moose::Meta::TypeConstraint::Enum
1236 Moose::Meta::TypeConstraint::Union
1237 Moose::Meta::TypeConstraint::Parameterized
1238 - added the &equals method for comparing two type
1239 constraints (nothingmuch)
1240 - added tests for this (nothingmuch)
1242 * Moose::Meta::TypeConstraint
1243 - add the &parents method, which is just an alias to &parent.
1244 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1246 * Moose::Meta::TypeConstraint::Class
1247 - added the class attribute for introspection purposes
1249 - added tests for this
1251 * Moose::Meta::TypeConstraint::Enum
1252 Moose::Meta::TypeConstraint::Role
1253 - broke these out into their own classes (nothingmuch)
1255 * Moose::Cookbook::Recipe*
1256 - fixed references to test file locations in the POD
1257 and updated up some text for new Moose features
1261 - Added &resolve_metaclass_alias, a helper function for finding an actual
1262 class for a short name (e.g. in the traits list)
1264 0.40 Fri. March 14, 2008
1265 - I hate Pod::Coverage
1267 0.39 Fri. March 14, 2008
1269 - documenting the use of '+name' with attributes
1270 that come from recently composed roles. It makes
1271 sense, people are using it, and so why not just
1272 officially support it.
1273 - fixing the 'extends' keyword so that it will not
1274 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1277 - added the perl -Moose=+Class::Name feature to allow
1278 monkeypatching of classes in one liners
1281 - fixing the 'apply_all_roles' keyword so that it will not
1282 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1284 * Moose::Meta::Class
1285 - added ->create method which now supports roles (thanks to jrockway)
1286 - added tests for this
1287 - added ->create_anon_class which now supports roles and caching of
1288 the results (thanks to jrockway)
1289 - added tests for this
1290 - made ->does_role a little more forgiving when it is
1291 checking a Class::MOP era metaclasses.
1293 * Moose::Meta::Role::Application::ToInstance
1294 - it is now possible to pass extra params to be used when
1295 a role is applied to an the instance (rebless_params)
1296 - added tests for this
1298 * Moose::Util::TypeConstraints
1299 - class_type now accepts an optional second argument for a
1300 custom message. POD anotated accordingly (groditi)
1301 - added tests for this
1302 - it is now possible to make anon-enums by passing 'enum' an
1303 ARRAY ref instead of the $name => @values. Everything else
1305 - added tests for this
1308 - making test for using '+name' on attributes consumed
1309 from a role, it works and makes sense too.
1311 * Moose::Meta::Attribute
1312 - fix handles so that it doesn't return nothing
1313 when the method cannot be found, not sure why
1314 it ever did this originally, this means we now
1315 have slightly better support for AUTOLOADed
1317 - added more delegation tests
1318 - adding ->does method to this so as to better
1319 support traits and their introspection.
1320 - added tests for this
1323 - localizing the Data::Dumper configurations so
1324 that it does not pollute others (RT #33509)
1325 - made ->does a little more forgiving when it is
1326 passed Class::MOP era metaclasses.
1328 0.38 Fri. Feb. 15, 2008
1329 * Moose::Meta::Attribute
1330 - fixed initializer to correctly do
1331 type checking and coercion in the
1333 - added tests for this
1336 - fixed some finicky tests (thanks to konobi)
1338 0.37 Thurs. Feb. 14, 2008
1340 - fixed some details in Moose::init_meta
1341 and its superclass handling (thanks thepler)
1342 - added tests for this (thanks thepler)
1343 - 'has' now dies if you don't pass in name
1345 - added the 'make_immutable' keyword as a shortcut
1348 * Moose::Meta::Class
1349 Moose::Meta::Method::Constructor
1350 Moose::Meta::Attribute
1351 - making (init_arg => undef) work here too
1352 (thanks to nothingmuch)
1354 * Moose::Meta::Attribute
1355 Moose::Meta::Method::Constructor
1356 Moose::Meta::Method::Accessor
1357 - make lazy attributes respect attr initializers (rjbs)
1358 - added tests for this
1360 * Moose::Util::TypeConstraints
1361 Moose::Util::TypeConstraints::OptimizedConstraints
1362 Moose::Meta::TypeConstraints
1363 Moose::Meta::Attribute
1364 Moose::Meta::Method::Constructor
1365 Moose::Meta::Method::Accessor
1366 - making type errors use the
1367 assigned message (thanks to Sartak)
1368 - added tests for this
1370 * Moose::Meta::Method::Destructor
1371 - making sure DESTROY gets inlined properly
1372 with successive DEMOLISH calls (thanks to manito)
1374 * Moose::Meta::Attribute
1375 Moose::Meta::Method::Accessor
1376 - fixed handling of undef with type constraints
1378 - added tests for this
1381 - added &get_all_init_args and &get_all_attribute_values
1382 (thanks to Sartak and nothingmuch)
1384 0.36 Sat. Jan. 26, 2008
1386 Moose::Meta::Attribute
1387 - role type tests now support when roles are
1388 applied to non-Moose classes (found by ash)
1389 - added tests for this (thanks to ash)
1390 - couple extra tests to boost code coverage
1392 * Moose::Meta::Method::Constructor
1393 - improved fix for handling Class::MOP attributes
1394 - added test for this
1396 * Moose::Meta::Class
1397 - handled the add_attribute($attribute_meta_object)
1399 - added test for this
1401 0.35 Tues. Jan. 22, 2008
1402 * Moose::Meta::Method::Constructor
1403 - fix to make sure even Class::MOP attributes
1404 are handled correctly (Thanks to Dave Rolsky)
1405 - added test for this (also Dave Rolsky)
1407 * Moose::Meta::Class
1408 - improved error message on _apply_all_roles,
1409 you should now use Moose::Util::apply_all_roles
1410 and you shouldnt have been using a _ prefixed
1411 method in the first place ;)
1413 0.34 Mon. Jan. 21, 2008
1414 ~~~ more misc. doc. fixes ~~~
1415 ~~ updated copyright dates ~~
1417 Moose is now a postmodern object system :)
1418 - (see the POD for details)
1420 * <<Role System Refactoring>>
1421 - this release contains a major reworking and
1422 cleanup of the role system
1423 - 100% backwards compat.
1424 - Role application now restructured into seperate
1425 classes based on type of applicants
1426 - Role summation (combining of more than one role)
1427 is much cleaner and anon-classes are no longer
1428 used in this process
1429 - new Composite role metaclass
1430 - runtime application of roles to instances
1431 is now more efficient and re-uses generated
1432 classes when applicable
1434 * <<New Role composition features>>
1435 - methods can now be excluded from a given role
1437 - methods can now be aliased to another name (and
1438 still retain the original as well)
1440 * Moose::Util::TypeConstraints::OptimizedConstraints
1441 - added this module (see above)
1443 * Moose::Meta::Class
1444 - fixed the &_process_attribute method to be called
1445 by &add_attribute, so that the API is now correct
1447 * Moose::Meta::Method::Accessor
1448 - fixed bug when passing a list of values to
1449 an accessor would get (incorrectly) ignored.
1450 Thanks to Sartak for finding this ;)
1451 - added tests for this (Sartak again)
1453 * Moose::Meta::Method::Accessor
1454 Moose::Meta::Method::Constructor
1455 Moose::Meta::Attribute
1456 Moose::Meta::TypeConstraint
1457 Moose::Meta::TypeCoercion
1458 - lots of cleanup of such things as:
1460 - type constraint handling
1461 - error handling/messages
1462 (thanks to nothingmuch)
1464 * Moose::Meta::TypeConstraint::Parameterizable
1465 - added this module to support the refactor
1466 in Moose::Meta::TypeConstraint::Parameterized
1468 * Moose::Meta::TypeConstraint::Parameterized
1469 - refactored how these types are handled so they
1470 are more generic and not confined to ArrayRef
1474 - shortened some file names for better VMS support (RT #32381)
1476 0.33 Fri. Dec. 14, 2007
1477 !! Moose now loads 2 x faster !!
1478 !! with new Class::MOP 0.49 !!
1480 ++ new oose.pm module to make command line
1481 Moose-ness easier (see POD docs for more)
1483 * Moose::Meta::Class
1485 - several tweaks to take advantage of the
1486 new method map caching in Class::MOP
1488 * Moose::Meta::TypeConstraint::Parameterized
1489 - allow subtypes of ArrayRef and HashRef to
1490 be used as a container (sartak)
1491 - added tests for this
1492 - basic support for coercion to ArrayRef and
1493 HashRef for containers (sartak)
1494 - added tests for this
1496 * Moose::Meta::TypeCoercion
1497 - coercions will now create subtypes as needed
1498 so you can now add coercions to parameterized
1499 types without having to explictly define them
1500 - added tests for this
1502 * Moose::Meta::Method::Accessor
1503 - allow subclasses to decide whether we need
1504 to copy the value into a new variable (sartak)
1506 0.32 Tues. Dec. 4, 2007
1507 * Moose::Util::TypeConstraints
1508 - fixing how subtype aliases of unions work
1509 they should inherit the parent's coercion
1510 - added tests for this
1511 - you can now define multiple coercions on
1512 a single type at different times instead of
1513 having to do it all in one place
1514 - added tests for this
1516 * Moose::Meta::TypeConstraint
1517 - there is now a default constraint of sub { 1 }
1518 instead of Moose::Util::TypeConstraints setting
1521 * Moose::Meta::TypeCoercion
1522 * Moose::Meta::TypeCoercion::Union
1523 - added the &has_coercion_for_type and
1524 &add_type_coercions methods to support the
1525 new features above (although you cannot add
1526 more type coercions for Union types)
1528 0.31 Mon. Nov. 26, 2007
1529 * Moose::Meta::Attribute
1530 - made the +attr syntax handle extending types with
1531 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1532 now works if the original foo is an ArrayRef.
1533 - added tests for this.
1534 - delegation now works even if the attribute does not
1535 have a reader method using the get_read_method_ref
1536 method from Class::MOP::Attribute.
1537 - added tests for this
1538 - added docs for this
1540 * Moose::Util::TypeConstraints
1541 - passing no "additional attribute info" to
1542 &find_or_create_type_constraint will no longer
1543 attempt to create an __ANON__ type for you,
1544 instead it will just return undef.
1545 - added docs for this
1547 0.30 Fri. Nov. 23, 2007
1548 * Moose::Meta::Method::Constructor
1549 -builder related bug in inlined constructor. (groditi)
1551 * Moose::Meta::Method::Accessor
1552 - genereate unnecessary calls to predicates and refactor
1553 code generation for runtime speed (groditi)
1555 * Moose::Util::TypeConstraints
1556 - fix ClassName constraint to introspect symbol table (mst)
1557 - added more tests for this (mst)
1558 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1559 with work correctly.
1560 - added tests for this
1563 - adding the link to Recipie 11 (written by Sartak)
1564 - adding test for SYNOPSIS code
1567 - New tests for builder bug. Upon instantiation, if an
1568 attribute had a builder, no value and was not lazy the
1569 builder default was not getting run, oops. (groditi)
1571 0.29 Tues. Nov. 13, 2007
1572 * Moose::Meta::Attribute
1573 - Fix error message on missing builder method (groditi)
1575 * Moose::Meta::Method::Accessor
1576 - Fix error message on missing builder method (groditi)
1579 - Add test to check for the correct error message when
1580 builder method is missing (groditi)
1582 0.28 Tues. Nov. 13, 2007
1583 - 0.27 packaged incorrectly (groditi)
1585 0.27 Tues. Nov. 13, 2007
1586 * Moose::Meta::Attribute
1587 - Added support for the new builder option (groditi)
1588 - Added support for lazy_build option (groditi)
1589 - Changed slot initialization for predicate changes (groditi)
1591 * Moose::Meta::Method::Accessor
1592 - Added support for lazy_build option (groditi)
1593 - Fix inline methods to work with corrected predicate
1596 * Moose::Meta::Method::Constructor
1597 - Added support for lazy_build option (groditi)
1600 - tests for builder and lazy_build (groditi)
1602 * fixing some misc. bits in the docs that
1603 got mentioned on CPAN Forum & perlmonks
1606 - fixed how required methods are handled
1607 when they encounter overriden or modified
1608 methods from a class (thanks to confound).
1609 - added tests for this
1611 * Moose::Util::TypeConstraint
1612 - fixed the type notation parser so that
1613 the | always creates a union and so is
1614 no longer a valid type char (thanks to
1615 konobi, mugwump and #moose for working
1617 - added more tests for this
1619 0.26 Thurs. Sept. 27, 2007
1622 * Parameterized Types
1623 We now support parameterized collection types, such as:
1624 ArrayRef[Int] # array or integers
1625 HashRef[Object] # a hash with object values
1626 They can also be nested:
1627 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1628 And work with the type unions as well:
1629 ArrayRef[Int | Str] # array of integers of strings
1631 * Better Framework Extendability
1632 Moose.pm is now "extendable" such that it is now much
1633 easier to extend the framework and add your own keywords
1634 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1635 section of the Moose.pm docs.
1638 In an effort to begin documenting some of the various
1639 details of Moose as well as some common idioms, we have
1640 created Moose::Cookbook::Snacks as a place to find
1641 small (easily digestable) nuggets of Moose code.
1644 ~ Several doc updates/cleanup thanks to castaway ~
1646 - converted build system to use Module::Install instead of
1647 Module::Build (thanks to jrockway)
1650 - added all the meta classes to the immutable list and
1651 set it to inline the accessors
1652 - fix import to allow Sub::Exporter like { into => }
1653 and { into_level => } (perigrin)
1654 - exposed and documented init_meta() to allow better
1655 embedding and extending of Moose (perigrin)
1658 - complete re-organization of the test suite
1659 - added some new tests as well
1660 - finally re-enabled the Moose::POOP test since
1661 the new version of DBM::Deep now works again
1664 * Moose::Meta::Class
1665 - fixed very odd and very nasty recursion bug with
1667 - added tests for this (eilara)
1669 * Moose::Meta::Attribute
1670 Moose::Meta::Method::Constructor
1671 Moose::Meta::Method::Accessor
1672 - fixed issue with overload::Overloaded getting called
1673 on non-blessed items. (RT #29269)
1674 - added tests for this
1676 * Moose::Meta::Method::Accessor
1677 - fixed issue with generated accessor code making
1678 assumptions about hash based classes (thanks to dexter)
1680 * Moose::Coookbook::Snacks
1681 - these are bits of documentation, not quite as big as
1682 Recipes but which have no clear place in the module docs.
1683 So they are Snacks! (horray for castaway++)
1685 * Moose::Cookbook::Recipe4
1686 - updated it to use the new ArrayRef[MyType] construct
1687 - updated the accompanying test as well
1689 +++ Major Refactor of the Type Constraint system +++
1690 +++ with new features added as well +++
1692 * Moose::Util::TypeConstraint
1693 - no longer uses package variable to keep track of
1694 the type constraints, now uses the an instance of
1695 Moose::Meta::TypeConstraint::Registry to do it
1696 - added more sophisticated type notation parsing
1698 - added tests for this
1700 * Moose::Meta::TypeConstraint
1701 - some minor adjustments to make subclassing easier
1702 - added the package_defined_in attribute so that we
1703 can track where the type constraints are created
1705 * Moose::Meta::TypeConstraint::Union
1706 - this is now been refactored to be a subclass of
1707 Moose::Meta::TypeConstraint
1709 * Moose::Meta::TypeCoercion::Union
1710 - this has been added to service the newly refactored
1711 Moose::Meta::TypeConstraint::Union and is itself
1712 a subclass of Moose::Meta::TypeCoercion
1714 * Moose::Meta::TypeConstraint::Parameterized
1715 - added this module (taken from MooseX::AttributeHelpers)
1716 to help construct nested collection types
1717 - added tests for this
1719 * Moose::Meta::TypeConstraint::Registry
1720 - added this class to keep track of type constraints
1722 0.25 Mon. Aug. 13, 2007
1724 - Documentation update to reference Moose::Util::TypeConstraints
1725 under 'isa' in 'has' for how to define a new type
1726 (thanks to shlomif).
1728 * Moose::Meta::Attribute
1729 - required attributes now will no longer accept undef
1730 from the constructor, even if there is a default and lazy
1731 - added tests for this
1732 - default subroutines must return a value which passes the
1734 - added tests for this
1736 * Moose::Meta::Attribute
1737 * Moose::Meta::Method::Constructor
1738 * Moose::Meta::Method::Accessor
1739 - type-constraint tests now handle overloaded objects correctly
1740 in the error message
1741 - added tests for this (thanks to EvanCarroll)
1743 * Moose::Meta::TypeConstraint::Union
1744 - added (has_)hand_optimized_constraint to this class so that
1745 it behaves as the regular Moose::Meta::TypeConstraint does.
1748 - large refactoring of this code
1749 - added several more tests
1750 - tests for subtle conflict resolition issues
1751 added, but not currently running
1754 * Moose::Cookbook::Recipe7
1755 - added new recipe for augment/inner functionality
1757 - added test for this
1760 - a formal definition of roles (still in progress)
1763 - utilities for easier working with Moose classes
1764 - added tests for these
1767 - This contains Moose specific test functions
1768 - added tests for these
1770 0.24 Tues. July 3, 2007
1771 ~ Some doc updates/cleanup ~
1773 * Moose::Meta::Attribute
1774 - added support for roles to be given as parameters
1775 to the 'handles' option.
1776 - added tests and docs for this
1777 - the has '+foo' attribute form now accepts changes to
1778 the lazy option, and the addition of a handles option
1779 (but not changing the handles option)
1780 - added tests and docs for this
1783 - required methods are now fetched using find_method_by_name
1784 so that required methods can come from superclasses
1785 - adjusted tests for this
1787 0.23 Mon. June 18, 2007
1788 * Moose::Meta::Method::Constructor
1789 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1790 * Moose::Meta::Class
1791 - Modify make_immutable to work with the new Class::MOP immutable
1792 mechanism + POD + very basic test (groditi)
1793 * Moose::Meta::Attribute
1794 - Fix handles to use goto() so that caller() comes out properly on
1795 the other side (perigrin)
1797 0.22 Thurs. May 31, 2007
1798 * Moose::Util::TypeConstraints
1799 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1800 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1801 prototypes for functions
1802 - added the ClassName type constraint, this checks for strings
1803 which will respond true to ->isa(UNIVERSAL).
1804 - added tests and docs for this
1805 - subtyping just in name now works correctly by making the
1806 default for where be { 1 }
1807 - added test for this
1809 * Moose::Meta::Method::Accessor
1810 - coerce and lazy now work together correctly, thanks to
1811 merlyn for finding this bug
1812 - tests added for this
1813 - fix reader presedence bug in Moose::Meta::Attribute + tests
1816 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1817 a HASH-ref and missed. This produces better error messages then
1818 having it die cause undef is not a HASH.
1819 - added tests for this
1821 0.21 Thursday, May 2nd, 2007
1823 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1824 - modified unimport to remove super and inner along with the rest
1825 - altered unimport tests to handle this
1828 - altered super export to populate SUPER_SLOT
1830 * Moose::Meta::Class
1831 - altered augment and override modifier application to use *_SLOT
1832 - modified tests for these to unimport one test class each to test
1835 - fixed issue where custom attribute metaclasses
1836 where not handled correctly in roles
1837 - added tests for this
1839 * Moose::Meta::Class
1840 - fixed issue where extending metaclasses with
1841 roles would blow up. Thanks to Aankhen`` for
1842 finding this insidious error, and it's solution.
1844 ~~ lots of spelling and grammer fixes in the docs,
1845 many many thanks to rlb3 and Aankhen for these :)
1847 0.20 Friday, April 6th, 2007
1848 >> I messed up the SKIP logic in one test
1849 so this release is just to fix that.
1852 - 'has' now also accepts an ARRAY ref
1853 to create multiple attrs (see docs)
1854 (thanks to konobi for this)
1855 - added tests and docs
1857 0.19 Thurs. April 5th, 2007
1858 ~~ More documentation updates ~~
1860 * Moose::Util::TypeConstraints
1861 - 'type' now supports messages as well
1862 thanks to phaylon for finding this
1863 - added tests for this
1864 - added &list_all_type_constraints and
1865 &list_all_builtin_type_constraints
1866 functions to facilitate introspection.
1868 * Moose::Meta::Attribute
1869 - fixed regexp 'handles' declarations
1870 to build the list of delegated methods
1871 correctly (and not override important
1872 things like &new) thanks to ashleyb
1874 - added tests and docs for this
1875 - added the 'documentation' attributes
1876 so that you can actually document your
1877 attributes and inspect them through the
1879 - added tests and docs for this
1881 * Moose::Meta::Class
1882 - when loading custom attribute metaclasses
1883 it will first look in for the class in the
1884 Moose::Meta::Attribute::Custom::$name, and
1885 then default to just loading $name.
1886 - added tests and docs for this
1888 * Moose::Meta::TypeConstraint
1889 - type constraints now stringify to their names.
1890 - added test for this
1893 - added tests to assure we work with Module::Refresh
1894 - added stricter test skip logic in the Moose POOP
1895 test, ask Rob Kinyon why.
1896 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1898 0.18 Sat. March 10, 2007
1899 ~~ Many, many documentation updates ~~
1902 - We now use Class::MOP::load_class to
1904 - added tests to show types and subtypes
1905 working with Declare::Constraints::Simple
1906 and Test::Deep as constraint engines.
1909 !! You must have Class::MOP 0.37_001 !!
1910 !! for this developer release to work !!
1912 This release was primarily adding the immutable
1913 feature to Moose. An immutable class is one which
1914 you promise not to alter. When you set the class
1915 as immutable it will perform various bits of
1916 memoization and inline certain part of the code
1917 (constructors, destructors and accessors). This
1918 minimizes (and in some cases totally eliminates)
1919 one of Moose's biggest performance hits. This
1920 feature is not on by default, and is 100% optional.
1921 It has several configurable bits as well, so you
1922 can pick and choose to your specific needs.
1924 The changes involved in this were fairly wide and
1925 highly specific, but 100% backwards compatible, so
1926 I am not going to enumerate them here. If you are
1927 truely interested in what was changed, please do
1930 0.17 Tues. Nov. 14, 2006
1931 * Moose::Meta::Method::Accessor
1932 - bugfix for read-only accessors which
1933 are have a type constraint and lazy.
1934 Thanks to chansen for finding it.
1936 0.16 Tues. Nov. 14, 2006
1938 There are some speed improvements in this release,
1939 but they are only the begining, so stay tuned.
1942 - BUILDALL and DEMOLISHALL no longer get
1943 called unless they actually need to be.
1944 This gave us a signifigant speed boost
1945 for the cases when there is no BUILD or
1946 DEMOLISH method present.
1948 * Moose::Util::TypeConstraints
1949 * Moose::Meta::TypeConstraint
1950 - added an 'optimize_as' option to the
1951 type constraint, which allows for a
1952 hand optimized version of the type
1953 constraint to be used when possible.
1954 - Any internally created type constraints
1955 now provide an optimized version as well.
1957 0.15 Sun. Nov. 5, 2006
1959 This version of Moose *must* have Class::MOP 0.36 in order
1960 to work correctly. A number of small internal tweaks have
1961 been made in order to be compatible with that release.
1963 * Moose::Util::TypeConstraints
1964 - added &unimport so that you can clean out
1965 your class namespace of these exported
1968 * Moose::Meta::Class
1969 - fixed minor issue which occasionally
1970 comes up during global destruction
1972 - moved Moose::Meta::Method::Overriden into
1976 - moved Moose::Meta::Role::Method into
1979 * Moose::Meta::Attribute
1980 - changed how we do type checks so that
1981 we reduce the overall cost, but still
1984 - moved accessor generation methods to
1985 Moose::Meta::Method::Accessor to
1986 conform to the API changes from
1989 * Moose::Meta::TypeConstraint
1990 - changed how constraints are compiled
1991 so that we do less recursion and more
1992 iteration. This makes the type check
1994 - moved Moose::Meta::TypeConstraint::Union
1997 * Moose::Meta::Method::Accessor
1998 - created this from methods formerly found in
1999 Moose::Meta::Attribute
2001 * Moose::Meta::Role::Method
2002 - moved this from Moose::Meta::Role
2004 * Moose::Meta::Method::Overriden
2005 - moved this from Moose::Meta::Class
2007 * Moose::Meta::TypeConstraint::Union
2008 - moved this from Moose::Meta::TypeConstraint
2010 0.14 Mon. Oct. 9, 2006
2012 * Moose::Meta::Attribute
2013 - fixed lazy attributes which were not getting
2014 checked with the type constraint (thanks ashley)
2015 - added tests for this
2016 - removed the over-enthusiastic DWIMery of the
2017 automatic ArrayRef and HashRef defaults, it
2018 broke predicates in an ugly way.
2019 - removed tests for this
2021 0.13 Sat. Sept. 30, 2006
2023 This version of Moose *must* have Class::MOP 0.35 in order
2024 to work correctly. A number of small internal tweaks have
2025 been made in order to be compatible with that release.
2028 - Removed the use of UNIVERSAL::require to be a better
2029 symbol table citizen and remove a dependency
2030 (thanks Adam Kennedy)
2032 **~~ removed experimental & undocumented feature ~~**
2033 - commented out the 'method' and 'self' keywords, see the
2034 comments for more info.
2037 - added a FAQ and WTF files to document frequently
2038 asked questions and common problems
2040 * Moose::Util::TypeConstraints
2041 - added GlobRef and FileHandle type constraint
2042 - added tests for this
2044 * Moose::Meta::Attribute
2045 - if your attribute 'isa' ArrayRef of HashRef, and you have
2046 not explicitly set a default, then make the default DWIM.
2047 This will also work for subtypes of ArrayRef and HashRef
2049 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2050 - new test added for this (thanks to ashley)
2053 - added basic support for runtime role composition
2054 but this is still *highly experimental*, so feedback
2055 is much appreciated :)
2056 - added tests for this
2058 * Moose::Meta::TypeConstraint
2059 - the type constraint now handles the coercion process
2060 through delegation, this is to support the coercion
2063 * Moose::Meta::TypeConstraint::Union
2064 - it is now possible for coercions to be performed
2066 - added tests for this (thanks to konobi)
2068 * Moose::Meta::TypeCoercion
2069 - properly capturing error when type constraint
2073 - Scalar::Util 1.18 is bad on Win32, so temporarily
2074 only require version 1.17 for Win32 and cygwin.
2075 (thanks Adam Kennedy)
2077 0.12 Sat. Sept. 1, 2006
2079 - Recipe5 (subtypes & coercion) has been written
2082 - fixed "bad meta" error message to be more descriptive
2083 - fixed &unimport to not remove the &inner and &super
2084 keywords because we need to localize them.
2085 - fixed number of spelling/grammer issues, thanks Theory :)
2087 **~~ experimental & undocumented feature ~~**
2088 - added the method and self keywords, they are basically
2089 just sugar, and they may not stay around.
2092 - added &dump method to easily Data::Dumper
2095 * Moose::Meta::TypeConstraint
2096 - added the &is_a_type_of method to check both the current
2097 and the subtype of a method (similar to &isa with classes)
2100 - this is now a subclass of Class::MOP::Module, and no longer
2101 creates the _role_meta ugliness of before.
2102 - fixed tests to reflect this change
2104 0.11 Wed. July 12, 2006
2106 - added an &unimport method to remove all the keywords
2107 that Moose will import, simply add 'no Moose' to the
2108 bottom of your class file.
2111 - fixed some test failures caused by a forgotten test
2114 0.10 Thurs. July 6, 2006
2116 - improved error message when loading modules so
2117 it is less confusing when you load a role.
2118 - added &calculate_all_roles method to
2119 Moose::Meta::Class and Moose::Meta::Role
2122 This module has been tested against Class::MOP 0.30
2123 but it does not yet utilize the optimizations
2124 it makes available. Stay tuned for that ;)
2126 0.09_03 Fri. June 23, 2006
2127 ++ DEVELOPER RELEASE ++
2129 - 'use strict' and 'use warnings' are no longer
2130 needed in Moose classes, Moose itself will
2131 turn them on for you.
2132 - added tests for this
2133 - moved code from exported subs to private methods
2134 in Moose::Meta::Class
2137 - as with Moose, strict and warnings are
2138 automatically turned on for you.
2139 - added tests for this
2142 - now handles an edge case for override errors
2143 - added tests for this
2144 - added some more edge case tests
2146 0.09_02 Tues. May 16, 2006
2147 ++ DEVELOPER RELEASE ++
2149 - added prototypes to the exported subs
2153 - added prototypes to the exported subs
2156 * Moose::Util::TypeConstraints
2157 - cleaned up prototypes for the subs
2160 0.09_01 Fri. May 12, 2006
2161 ++ DEVELOPER RELEASE ++
2162 - This release works in combination with
2163 Class::MOP 0.29_01, it is a developer
2164 release because it uses the a new
2165 instance sub-protocol and a fairly
2166 complete Role implementation. It has
2167 not yet been optimized, so it slower
2168 the the previous CPAN version. This
2169 release also lacks good updated docs,
2170 the official release will have updated docs.
2173 - refactored the keyword exports
2174 - 'with' now checks Role validaity and
2175 accepts more than one Role at a time
2176 - 'extends' makes metaclass adjustments as
2177 needed to ensure metaclass compatibility
2180 - refactored the keyword exports
2181 - 'with' now checks Role validaity and
2182 accepts more than one Role at a time
2184 * Moose::Util::TypeConstraints
2185 - added the 'enum' keyword for simple
2186 string enumerations which can be used as
2188 - see example of usage in t/202_example.t
2191 - more careful checking of params to new()
2194 - much work done on the role composition
2195 - many new tests for conflict detection
2196 and composition edge cases
2197 - not enough documentation, I suggest
2198 looking at the tests
2200 * Moose::Meta::Instance
2201 - added new Instance metaclass to support
2202 the new Class::MOP instance protocol
2204 * Moose::Meta::Class
2205 - some small changes to support the new
2207 - some small additions to support Roles
2209 * Moose::Meta::Attribute
2210 - some improvements to the accessor generation code
2212 - some small changes to support the new
2214 - (still somewhat) experimental delegation support
2215 with the 'handles' option
2216 - added several tests for this
2217 - no docs for this yet
2219 0.05 Thurs. April 27, 2006
2221 - keywords are now exported with Sub::Exporter
2222 thanks to chansen for this commit
2223 - has keyword now takes a 'metaclass' option
2224 to support custom attribute meta-classes
2225 on a per-attribute basis
2226 - added tests for this
2227 - the 'has' keyword not accepts inherited slot
2228 specifications (has '+foo'). This is still an
2229 experimental feature and probably not finished
2230 see t/038_attribute_inherited_slot_specs.t for
2231 more details, or ask about it on #moose
2232 - added tests for this
2235 - keywords are now exported with Sub::Exporter
2237 * Moose::Utils::TypeConstraints
2238 - reorganized the type constraint hierarchy, thanks
2239 to nothingmuch and chansen for his help and advice
2241 - added some tests for this
2242 - keywords are now exported with Sub::Exporter
2243 thanks to chansen for this commit
2245 * Moose::Meta::Class
2246 - due to changes in Class::MOP, we had to change
2247 construct_instance (for the better)
2249 * Moose::Meta::Attribute
2250 - due to changes in Class::MOP, we had to add the
2251 initialize_instance_slot method (it's a good thing)
2253 * Moose::Meta::TypeConstraint
2254 - added type constraint unions
2255 - added tests for this
2256 - added the is_subtype_of predicate method
2257 - added tests for this
2259 0.04 Sun. April 16th, 2006
2261 - Roles can now consume other roles
2262 - added tests for this
2263 - Roles can specify required methods now with
2264 the requires() keyword
2265 - added tests for this
2268 - ripped out much of it's guts ,.. much cleaner now
2269 - added required methods and correct handling of
2270 them in apply() for both classes and roles
2271 - added tests for this
2272 - no longer adds a does() method to consuming classes
2273 it relys on the one in Moose::Object
2274 - added roles attribute and some methods to support
2275 roles consuming roles
2277 * Moose::Meta::Attribute
2278 - added support for triggers on attributes
2279 - added tests for this
2280 - added support for does option on an attribute
2281 - added tests for this
2283 * Moose::Meta::Class
2284 - added support for attribute triggers in the
2286 - added tests for this
2289 - Moose no longer creates a subtype for your class
2290 if a subtype of the same name already exists, this
2291 should DWIM in 99.9999% of all cases
2293 * Moose::Util::TypeConstraints
2294 - fixed bug where incorrect subtype conflicts were
2296 - added test for this
2299 - this class can now be extended with 'use base' if
2300 you need it, it properly loads the metaclass class now
2301 - added test for this
2303 0.03_02 Wed. April 12, 2006
2305 - you must now explictly use Moose::Util::TypeConstraints
2306 it no longer gets exported for you automatically
2309 - new() now accepts hash-refs as well as key/value lists
2310 - added does() method to check for Roles
2311 - added tests for this
2313 * Moose::Meta::Class
2314 - added roles attribute along with the add_role() and
2316 - added tests for this
2319 - now adds a does() method to consuming classes
2320 which tests the class's hierarchy for roles
2321 - added tests for this
2323 0.03_01 Mon. April 10, 2006
2325 - added new Role recipe (no content yet, only code)
2328 - added 'with' keyword for Role support
2329 - added test and docs for this
2330 - fixed subtype quoting bug
2331 - added test for this
2335 - added test and docs
2337 * Moose::Util::TypeConstraints
2338 - added the message keyword to add custom
2339 error messages to type constraints
2342 - the meta role to support Moose::Role
2343 - added tests and docs
2345 * Moose::Meta::Class
2346 - moved a number of things from Moose.pm
2347 to here, they should have been here
2350 * Moose::Meta::Attribute
2351 - moved the attribute option macros here
2352 instead of putting them in Moose.pm
2354 * Moose::Meta::TypeConstraint
2355 - added the message attributes and the
2357 - added tests and docs for this
2359 0.03 Thurs. March 30, 2006
2361 - added the Moose::Cookbook with 5 recipes,
2362 describing all the stuff Moose can do.
2365 - fixed an issue with &extends super class loading
2366 it now captures errors and deals with inline
2367 packages correctly (bug found by mst, solution
2369 - added super/override & inner/augment features
2370 - added tests and docs for these
2373 - BUILDALL now takes a reference of the %params
2374 that are passed to &new, and passes that to
2377 * Moose::Util::TypeConstraints
2378 - Type constraints now survive runtime reloading
2379 - added test for this
2381 * Moose::Meta::Class
2382 - fixed the way attribute defaults are handled
2383 during instance construction (bug found by chansen)
2385 * Moose::Meta::Attribute
2386 - read-only attributes now actually enforce their
2387 read-only-ness (this corrected in Class::MOP as
2390 0.02 Tues. March 21, 2006
2392 - many more tests, fixing some bugs and
2394 - &extends now loads the base module with
2396 - added UNIVERSAL::require to the
2399 - each new Moose class will also create
2400 and register a subtype of Object which
2401 correspond to the new Moose class.
2402 - the 'isa' option in &has now only
2403 accepts strings, and will DWIM in
2406 * Moose::Util::TypeConstraints
2407 - added type coercion features
2408 - added tests for this
2409 - added support for this in attributes
2410 and instance construction
2412 - type construction no longer creates a
2413 function, it registers the type instead.
2414 - added several functions to get the
2418 - BUILDALL and DEMOLISHALL were broken
2419 because of a mis-named hash key, Whoops :)
2421 * Moose::Meta::Attribute
2422 - adding support for coercion in the
2423 autogenerated accessors
2425 * Moose::Meta::Class
2426 - adding support for coercion in the
2427 instance construction
2429 * Moose::Meta::TypeConstraint
2430 * Moose::Meta::TypeCoercion
2431 - type constraints and coercions are now
2432 full fledges meta-objects
2434 0.01 Wed. March 15, 2006
2435 - Moooooooooooooooooose!!!