1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
6 0.74 Tue, April 7, 2009
8 * Moose::Meta::Method::Destructor
9 - Include stack traces in the deprecation warnings.
13 - Removed the long-deprecated _apply_all_roles method.
15 * Moose::Meta::TypeConstraint
16 - Removed the long-deprecated union method.
19 0.73_02 Mon, April 6, 2009
20 * More deprecations and renamings
21 - Moose::Meta::Method::Constructor
22 - initialize_body => _initialize_body (this is always called
23 when an object is constructed)
26 - The DEMOLISHALL method could throw an exception during global
27 destruction, meaning that your class's DEMOLISH methods would
28 not be properly called. Reported by t0m.
30 * Moose::Meta::Method::Destructor
31 - Destructor inlining was totally broken by the change to the
32 is_needed method in 0.72_01. Now there is a test for this
33 feature, and it works again.
35 0.73_01 Sun, April 5, 2009
37 - Call user_class->meta in fewer places, with the eventual goal
38 of allowing the user to rename or exclude ->meta
39 altogether. Instead uses Class::MOP::class_of. (Sartak)
41 * Moose::Meta::Method::Accessor
42 - If an attribute had a lazy default, and that value did not
43 pass the attribute's type constraint, it did not get the
44 message from the type constraint, instead using a generic
45 message. Test provided by perigrin.
47 * Moose::Util::TypeConstraints
48 - Add duck_type keyword. It's sugar over making sure an object
49 can() a list of methods. This is easier than jrockway's
50 suggestion to fork all of CPAN. (perigrin)
51 - add tests and documentation (perigrin)
54 - Document the fact that init_meta() returns the target class's
55 metaclass object. (hdp)
57 * Moose::Cookbook::Extending::Recipe1
58 * Moose::Cookbook::Extending::Recipe2
59 * Moose::Cookbook::Extending::Recipe3
60 * Moose::Cookbook::Extending::Recipe4
61 - Make init_meta() examples explicitly return the metaclass and
62 point out this fact. (hdp)
64 * Moose::Cookbook::Basics::Recipe12
65 - A new recipe, creating a custom meta-method class.
67 * Moose::Cookbook::Meta::Recipe6
68 - A new recipe, creating a custom meta-method class.
71 * Moose::Meta::Method::Constructor
72 - Attribute triggers no longer receive the meta-attribute object
73 as an argument in any circumstance. Previously, triggers
74 called during instance construction were passed the
75 meta-attribute, but triggers called by normal accessors were
76 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
78 * Moose::Manual::Attributes
79 - Remove references to triggers receving the meta-attribute object as an
82 * Moose::Cookbook::FAQ
83 - Remove recommendation for deprecated Moose::Policy and
84 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
87 * Many methods have been renamed with a leading underscore, and a
88 few have been deprecated entirely. The methods with a leading
89 underscore are consider "internals only". People writing
90 subclasses or extensions to Moose should feel free to override
91 them, but they are not for "public" use.
94 - check_metaclass_compatibility => _check_metaclass_compatibility
96 - Moose::Meta::Method::Accessor
97 - initialize_body => _initialize_body (this is always called
98 when an object is constructed)
99 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
101 - Moose::Meta::Method::Constructor
102 - initialize_body => _initialize_body (this is always called
103 when an object is constructed)
104 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
105 - attributes => _attributes (now inherited from parent)
106 - meta_instance => _meta_instance (now inherited from parent)
109 - alias_method is deprecated. Use add_method
111 0.73 Fri, March 29, 2009
112 * No changes from 0.72_01.
114 0.72_01 Thu, March 26, 2009
116 - Almost every module has complete API documentation. A few
117 methods (and even whole classes) have been intentionally
118 excluded pending some rethinking of their APIs.
120 * Moose::Util::TypeConstraints
121 - Calling subtype with a name as the only argument is now an
122 exception. If you want an anonymous subtype do:
124 my $subtype = subtype as 'Foo';
126 * Moose::Cookbook::Meta::Recipe7
127 - A new recipe, creating a custom meta-instance class.
129 * Moose::Cookbook::Basics::Recipe5
130 - Fix various typos and mistakes. Includes a patch from Radu
133 * Moose::Cookbook::Basics::Recipe9
134 - Link to this recipe from Moose.pm's builder blurb
137 - When wrapping a function with a prototype, Moose::Exporter now
138 makes sure the wrapped function still has the same
139 prototype. (Daisuke Maki)
141 * Moose::Meta::Attribute
142 - Allow a subclass to set lazy_build for an inherited
146 - Explicitly depend on Data::OptList. We already had this dependency
147 via Sub::Exporter, but since we're using it directly we're
148 better off with it listed. (Sartak)
150 * Moose::Meta::Method::Constructor
151 - Make it easier to subclass the inlining behaviour. (Ash
154 * Moose::Manual::Delta
155 - Details significant changes in the history of Moose, along
156 with recommended workarounds.
158 * Moose::Manual::Contributing
159 - Contributor's guide to Moose.
161 * Moose::Meta::Method::Constructor
162 - The long-deprecated intialize_body method has been removed
163 (yes, spelled like that).
165 * Moose::Meta::Method::Destructor
166 - This is_needed method is now always a class method.
169 - Changes to the internals of how make_immutable works to match
170 changes in latest Class::MOP.
172 0.72 Mon, February 23, 2009
174 * Moose::Meta::Method::Constructor
175 - A mutable class accepted Foo->new(undef) without complaint,
176 while an immutable class would blow up with an unhelpful
177 error. Now, in both cases we throw a helpful error
178 instead. Reported by doy.
180 0.71_01 Sun, February 22, 2009
182 - Hopefully fixed some POD errors in a few recipes that caused
183 them to display weird on search.cpan.org.
185 * Moose::Util::TypeConstraints
186 - Calling type or subtype without the sugar helpers (as, where,
187 message) is now deprecated.
188 - The subtype function tried hard to guess what you meant, but
189 often got it wrong. For example:
191 my $subtype = subtype as 'ArrayRef[Object]';
193 This caused an error in the past, but now works as you'd
197 - Make sure Moose.pm is loaded before calling
198 Moose->throw_error. This wasn't normally an issue, but could
199 bite you in weird cases.
201 0.71 Thu, February 19, 2009
202 * Moose::Cookbook::Basics::Recipe11
203 - A new recipe which demonstrates the use of BUILDARGS and
206 * Moose::Cookbook::Roles::Recipe3
207 - A new recipe, applying a role to an object instance. (Dave
211 - Allow overriding specific keywords from "also" packages. (doy)
214 - Replace hardcoded cookbook tests with Test::Inline to ensure
215 the tests match the actual code in the recipes. (Dave Rolsky)
218 - Working on the above turned up a number of little bugs in the
219 recipe code. (Dave Rolsky)
221 * Moose::Util::TypeConstraints::Optimized
222 - Just use Class::MOP for the optimized ClassName check. (Dave
225 0.70 Sat, February 14, 2009
226 * Moose::Util::TypeConstraints
227 - Added the RoleName type (stevan)
228 - added tests for this (stevan)
230 * Moose::Cookbook::Basics::Recipe3
231 - Updated the before qw[left right] sub to be a little more
232 defensive about what it accepts (stevan)
233 - added more tests to t/000_recipies/basics/003_binary_tree.t
237 - We now always call DEMOLISHALL, even if a class does not
238 define DEMOLISH. This makes sure that method modifiers on
239 DEMOLISHALL work as expected. (doy)
240 - added tests for this (EvanCarroll)
242 * Moose::Util::MetaRole
243 - Accept roles for the wrapped_method_metaclass (rafl)
244 - added tests for this (rafl)
246 * Moose::Meta::Attribute
247 - We no longer pass the meta-attribute object as a final
248 argument to triggers. This actually changed for inlined code a
249 while back, but the non-inlined version and the docs were
253 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
254 they require 0.11. (Dave Rolsky)
257 - Lots of small changes to the manual, cookbook, and
258 elsewhere. These were based on feedback from various
259 users, too many to list here. (Dave Rolsky)
261 0.69 Thu, February 12, 2009
263 - Make some keyword errors use throw_error instead of croak
264 since Moose::Exporter wraps keywords now (Sartak)
267 - Revised every recipe for style and clarity. Also moved some
268 documentation out of cookbook recipes and into Moose::Manual
269 pages. This work was funded as part of the Moose docs grant
270 from TPF. (Dave Rolsky)
272 * Moose::Meta::Method::Delegation
273 - If the attribute doing the delegation was not populated, the
274 error message did not specify the attribute name
277 0.68 Wed, February 4, 2009
279 - Many spelling, typo, and formatting fixes by daxim.
281 * Moose::Manual::Attributes
282 - The NAME section in the POD used "Attribute" so search.cpan
283 didn't resolve links from other documents properly.
285 * Moose::Meta::Method::Overriden
286 - Now properly spelled as Overridden. Thanks to daxim for
289 0.67 Tue, February 3, 2009
291 - Lots of little typo fixes and a few clarifications. Several
292 pages didn't have proper titles, and so weren't actually
293 visible on search.cpan.org. Thanks to hanekomu for a variety
294 of fixes and formatting improvements.
296 0.66 Tue, February 3, 2009
298 - This is a brand new, extensive manual for Moose. This aims to
299 provide a complete introduction to all of Moose's
300 features. This work was funded as part of the Moose docs grant
301 from TPF. (Dave Rolsky)
303 * Moose::Meta::Attribute
304 - Added a delegation_metaclass method to replace a hard-coded
305 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
307 * Moose::Util::TypeConstraints
308 - If you created a subtype and passed a parent that Moose didn't
309 know about, it simply ignored the parent. Now it automatically
310 creates the parent as a class type. This may not be what you
311 want, but is less broken than before. (Dave Rolsky)
313 * Moose::Util::TypeConstraints
314 - This module tried throw errors by calling Moose->throw_error,
315 but it did not ensure that Moose was loaded first. This could
316 cause very unhelpful errors when it tried to throw an error
317 before Moose was loaded. (Dave Rolsky)
319 * Moose::Util::TypeConstraints
320 - You could declare a name with subtype such as "Foo!Bar" that
321 would be allowed, but if you used it in a parameterized type
322 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
323 vetting on names created via the sugar functions, so that they
324 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
326 0.65 Thu, January 22, 2008
327 * Moose and Moose::Meta::Method::Overridden
328 - If an overridden method called super(), and then the
329 superclass's method (not overridden) _also_ called super(),
330 Moose went into an endless recursion loop. Test provided by
331 Chris Prather. (Dave Rolsky)
333 * Moose::Meta::TypeConstraint
334 - All methods are now documented. (gphat)
336 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
337 - Fixed some bogus failures that occurred because we tried to
338 validate filesystem paths in a very ad-hoc and
339 not-quite-correct way. (Dave Rolsky)
341 * Moose::Util::TypeConstraints
342 - Added maybe_type to exports. See docs for details. (rjbs)
345 - Added Moose::Util::TypeConstraints to the SEE ALSO
349 - Methods created via an attribute can now fulfill a "requires"
350 declaration for a role. (nothingmuch)
352 * Moose::Meta::Method::*
353 - Stack traces from inlined code will now report its line and
354 file as being in your class, as opposed to in Moose
357 0.64 Wed, December 31, 2008
358 * Moose::Meta::Method::Accessor
359 - Always inline predicate and clearer methods (Sartak)
361 * Moose::Meta::Attribute
362 - Support for parameterized traits (Sartak)
363 - verify_against_type_constraint method to avoid duplication
364 and enhance extensibility (Sartak)
367 - Tests (but no support yet) for parameterized traits (Sartak)
370 - Require Class::MOP 0.75+, which has the side effect of making
371 sure we work on Win32. (Dave Rolsky)
373 0.63 Mon, December 8, 2008
375 - Some small grammar tweaks and bug fixes in non-Moose example
378 0.62_02 Fri, December 5, 2008
379 * Moose::Meta::Role::Application::ToClass
380 - When a class does not provide all of a role's required
381 methods, the error thrown now mentions all of the missing
382 methods, as opposed to just the first one found. Requested by
383 Curtis Poe (RT #41119). (Dave Rolsky)
385 * Moose::Meta::Method::Constructor
386 - Moose will no longer inline a constructor for your class
387 unless it inherits its constructor from Moose::Object, and
388 will warn when it doesn't inline. If you want to force
389 inlining anyway, pass "replace_constructor => 1" to
390 make_immutable. Addresses RT #40968, reported by Jon
391 Swartz. (Dave Rolsky)
392 - The quoting of default values could be broken if the default
393 contained a single quote ('). Now we use quotemeta to escape
394 anything potentially dangerous in the defaults. (Dave Rolsky)
396 0.62_01 Wed, December 3, 2008
398 - use the method->execute API for BUILDALL
399 and DEMOLISHALL (Sartak)
401 * Moose::Util::TypeConstraints
402 - We now make all the type constraint meta classes immutable
403 before creating the default types provided by Moose. This
404 should make loading Moose a little faster. (Dave Rolsky)
406 0.62 Wed November 26, 2008
407 * Moose::Meta::Role::Application::ToClass
408 Moose::Meta::Role::Application::ToRole
409 - fixed issues where excluding and aliasing the
410 same methods for a single role did not work
411 right (worked just fine with multiple
413 - added test for this (stevan)
415 * Moose::Meta::Role::Application::RoleSummation
416 - fixed the error message when trying to compose
417 a role with a role it excludes (Sartak)
420 - Catch another case where recursion caused the value
421 of $CALLER to be stamped on (t0m)
422 - added test for this (t0m)
425 - Remove the make_immutable keyword, which has been
426 deprecated since April. It breaks metaclasses that
427 use Moose without no Moose (Sartak)
429 * Moose::Meta::Attribute
430 - Removing an attribute from a class now also removes delegation
431 (handles) methods installed for that attribute (t0m)
432 - added test for this (t0m)
434 * Moose::Meta::Method::Constructor
435 - An attribute with a default that looked like a number (but was
436 really a string) would accidentally be treated as a number
437 when the constructor was made immutable (perigrin)
438 - added test for this (perigrin)
441 - create method for constructing a role
443 - added test for this (Sartak)
444 - anonymous roles! (Sartak)
445 - added test for this (Sartak)
448 - more consistent error messages (Sartak)
450 * Moose::Cookbook::Roles::Recipe1
451 - attempt to explain why a role that just requires
452 methods is useful (Sartak)
454 0.61 Fri November 7, 2008
455 * Moose::Meta::Attribute
456 - When passing a role to handles, it will be loaded if necessary
460 - Method objects returned by get_method (and other methods)
461 Could end up being returned without an associated_metaclass
462 attribute. Removing get_method_map, which is provided by
463 Class::MOP::Class, fixed this. The Moose version did nothing
464 different from its parent except introduce a bug. (Dave Rolsky)
465 - added tests for this (jdv79)
468 - Added a $VERSION to all .pm files which didn't have one. Fixes
469 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
471 * Moose::Cookbook::Basics::Recipe4
472 * Moose::Cookbook::Basics::Recipe6
473 - These files had spaces on the first line of the SYNOPSIS, as
474 opposed to a totally empty line. According to RT #40432, this
475 confuses POD parsers. (Dave Rolsky)
477 0.60 Fri October 24, 2008
479 - Passing "-traits" when loading Moose caused the Moose.pm
480 exports to be broken. Reported by t0m. (Dave Rolsky)
481 - Tests for this bug. (t0m)
484 - Change resolve_metaclass alias to use the new
485 load_first_existing_class function. This makes it a lot
486 simpler, and also around 5 times faster. (t0m)
487 - Add caching to resolve_metaclass_alias, which gives an order
488 of magnitude speedup to things which repeatedly call the
489 Moose::Meta::Attribute->does method, notably MooseX::Storage
492 * Moose::Util::TypeConstraint
493 - Put back the changes for parameterized constraints that
494 shouldn't have been removed in 0.59. We still cannot parse
495 them, but MooseX modules can create them in some other
496 way. See the 0.58 changes for more details. (jnapiorkowski)
497 - Changed the way subtypes are created so that the job is
498 delegated to a type constraint parent. This clears up some
499 hardcoded checking and should allow correct subtypes of
500 Moose::Meta::Type::Constraint. Don't rely on this new API too
501 much (create_child_type) because it may go away in the
502 future. (jnapiorkowski)
504 * Moose::Meta::TypeConstraint::Union
505 - Type constraint names are sorted as strings, not numbers.
508 * Moose::Meta::TypeConstraint::Parameterizable
509 - New parameterize method. This can be used as a factory method
510 to make a new type constraint with a given parameterized
511 type. (jnapiorkowski)
512 - added tests (jnapiorkowski)
514 0.59 Tue October 14, 2008
516 - Add abridged documentation for builder/default/initializer/
517 predicate, and link to more details sections in
518 Class::MOP::Attribute. (t0m)
520 * Moose::Util::TypeConstraints
521 - removed prototypes from all but the &-based stuff (mst)
523 * Moose::Util::TypeConstraints
524 - Creating a anonymous subtype with both a constraint and a
525 message failed with a very unhelpful error, but should just
526 work. Reported by t0m. (Dave Rolsky)
529 - Some tests that used Test::Warn if it was available failed
530 with older versions of Test::Warn. Reported by Fayland. (Dave
532 - Test firing behavior of triggers in relation to builder/default/
534 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
535 kinds of supported type. (t0m)
538 - In create(), do not pass "roles" option to the superclass
539 - added related test that creates an anon metaclass with
542 * Moose::Meta::TypeConstraint::Class
543 * Moose::Meta::TypeConstraint::Role
544 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
545 other types (as per change in 0.55_02). (t0m)
547 * Moose::Meta::TypeConstraint::Registry
548 - Fix warning when dealing with unknown type names (t0m)
550 * Moose::Util::TypeConstraints
551 - Reverted changes from 0.58 related to handle parameterized
552 types. This caused random failures on BSD and Win32 systems,
553 apparently related to the regex engine. This means that Moose
554 can no longer parse structured type constraints like
555 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
556 supported in a slightly different way via MooseX::Types some
557 time in the future. (Dave Rolsky)
559 0.58 Sat September 20, 2008
560 !! This release has an incompatible change regarding !!
561 !! how roles add methods to a class !!
563 * Roles and role application
564 ! Roles now add methods by calling add_method, not
565 alias_method. They make sure to always provide a method
566 object, which will be cloned internally. This means that it is
567 now possible to track the source of a method provided by a
568 role, and even follow its history through intermediate roles.
570 This means that methods added by a role now show up when
571 looking at a class's method list/map. (Dave Rolsky)
574 - From this release on, we'll try to maintain a list of
575 conflicting modules, and warn you if you have one
576 installed. For example, this release conflicts with ...
577 - MooseX::Singleton <= 0.11
578 - MooseX::Params::Validate <= 0.05
581 In general, we try to not break backwards compatibility for
582 most Moose users, but MooseX modules and other code which
583 extends Moose's metaclasses is often affected by very small
584 changes in the Moose internals.
586 * Moose::Meta::Method::Delegation
587 * Moose::Meta::Attribute
588 - Delegation methods now have their own method class. (Dave
591 * Moose::Meta::TypeConstraint::Parameterizable
592 - Added a new method 'parameterize' which is basically a factory
593 for the containing constraint. This makes it easier to create
594 new types of parameterized constraints. (jnapiorkowski)
596 * Moose::Meta::TypeConstraint::Union
597 - Changed the way Union types canonicalize their names to follow
598 the normalized TC naming rules, which means we strip all
599 whitespace. (jnapiorkowski)
601 * Moose::Util::TypeConstraints
602 - Parameter and Union args are now sorted, this makes Int|Str
603 the same constraint as Str|Int. (jnapiorkowski)
604 - Changes to the way Union types are parsed to more correctly
605 stringify their names. (jnapiorkowski)
606 - When creating a parameterized type, we now use the new
607 parameterize method. (jnapiorkowski)
608 - Incoming type constraint strings are now normalized to remove
609 all whitespace differences. (jnapiorkowski)
610 - Changed the way we parse type constraint strings so that we now
611 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
612 constraints. This lays the foundation for more flexible type
613 constraint implementations.
615 * Tests and docs for all the above. (jnapiorkowski)
619 - Moose::Exporter will no longer remove a subroutine that the
620 exporting package re-exports. Moose re-exports the
621 Carp::confess function, among others. The reasoning is that we
622 cannot know whether you have also explicitly imported those
623 functions for your own use, so we err on the safe side and
624 always keep them. (Dave Rolsky)
625 - added tests for this (rafl)
628 - Changes to how we fix metaclass compatibility that are much
629 too complicated to go into. The summary is that Moose is much
630 less likely to complain about metaclass incompatibility
631 now. In particular, if two metaclasses differ because
632 Moose::Util::MetaRole was used on the two corresponding
633 classes, then the difference in roles is reconciled for the
634 subclass's metaclass. (Dave Rolsky)
635 - Squashed an warning in _process_attribute (thepler)
638 - throw exceptions (sooner) for invalid attribute names (thepler)
639 - added tests for this (thepler)
641 * Moose::Util::MetaRole
642 - If you explicitly set a constructor or destructor class for a
643 metaclass object, and then applied roles to the metaclass,
644 that explicitly set class would be lost and replaced with the
648 * Moose::Meta::Attribute
649 * Moose::Meta::Method
652 * Moose::Error::Default
653 * Moose::Error::Croak
654 * Moose::Error::Confess
655 - All instances of confess() changed to use overridable
656 C<throw_error> method. This method ultimately calls a class
657 constructor, and you can change the class being called. In
658 addition, errors now pass more information than just a string.
659 The default C<error_class> behaves like C<Carp::confess>, so
660 the behavior is not visibly different for end users.
662 0.57 Wed September 3, 2008
664 - A new bit of doc intended to introduce folks familiar with
665 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
668 - Shows examples of two classes, each done first with and then
669 without Moose. This makes a nice parallel to
670 Moose::Intro. (Dave Rolsky)
672 * Moose::Util::TypeConstraints
673 - Fixed a bug in find_or_parse_type_constraint so that it
674 accepts a Moose::Meta::TypeConstraint object as the parent
675 type, not just a name (jnapiorkowski)
676 - added tests (jnapiorkowski)
679 - If Sub::Name was not present, unimporting failed to actually
680 remove some sugar subs, causing test failures (Dave Rolsky)
682 0.56 Mon September 1, 2008
683 For those not following the series of dev releases, there are
684 several major changes in this release of Moose.
685 ! Moose::init_meta should now be called as a method. See the
688 - Major performance improvements by nothingmuch.
690 - New modules for extension writers, Moose::Exporter and
691 Moose::Util::MetaRole by Dave Rolsky.
693 - Lots of doc improvements and additions, especially in the
698 * Removed all references to the experimental-but-no-longer-needed
699 Moose::Meta::Role::Application::ToMetaclassInstance.
701 * Require Class::MOP 0.65.
703 0.55_04 Sat August 30, 2008
704 * Moose::Util::MetaRole
705 * Moose::Cookbook::Extending::Recipe2
706 - This simplifies the application of roles to any meta class, as
707 well as the base object class. Reimplemented metaclass traits
708 using this module. (Dave Rolsky)
710 * Moose::Cookbook::Extending::Recipe1
711 - This a new recipe, an overview of various ways to write Moose
712 extensions (Dave Rolsky)
714 * Moose::Cookbook::Extending::Recipe3
715 * Moose::Cookbook::Extending::Recipe4
716 - These used to be Extending::Recipe1 and Extending::Recipe2,
719 0.55_03 Fri August 29, 2008
720 * No changes from 0.55_02 except increasing the Class::MOP
721 dependency to 0.64_07.
723 0.55_02 Fri August 29, 2008
724 * Makefile.PL and Moose.pm
725 - explicitly require Perl 5.8.0+ (Dave Rolsky)
727 * Moose::Util::TypeConstraints
728 - Fix warnings from find_type_constraint if the type is not
731 * Moose::Meta::TypeConstraint
732 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
733 return false if the type you specify cannot be found in the
734 type registry, rather than throwing an unhelpful and
735 coincidental exception. (t0m).
736 - added docs & test for this (t0m)
738 * Moose::Meta::TypeConstraint::Registry
739 - add_type_constraint now throws an exception if a parameter is
741 - added docs & test for this (t0m)
743 * Moose::Cookbook::FAQ
744 - Added a faq entry on the difference between "role" and "trait"
748 - Fixed a bug that caused role composition to not see a required
749 method when that method was provided by another role being
750 composed at the same time. (Dave Rolsky)
751 - test and bug finding (tokuhirom)
753 0.55_01 Wed August 20, 2008
755 !! Calling Moose::init_meta as a function is now !!
756 !! deprecated. Please see the Moose.pm docs for details. !!
758 * Moose::Meta::Method::Constructor
759 - Fix inlined constructor so that values produced by default
760 or builder methods are coerced as required. (t0m)
761 - added test for this (t0m)
763 * Moose::Meta::Attribute
764 - A lazy attribute with a default or builder did not attempt to
765 coerce the default value. The immutable code _did_
767 - added test for this (t0m)
770 - This is a new helper module for writing "Moose-alike"
771 modules. This should make the lives of MooseX module authors
772 much easier. (Dave Rolsky)
775 * Moose::Cookbook::Meta::Recipe5
776 - Implemented metaclass traits (and wrote a recipe for it):
778 use Moose -traits => 'Foo'
780 This should make writing small Moose extensions a little
783 * Moose::Cookbook::Basics::Recipe1
784 - Removed any examples of direct hashref access, and applied an
785 editorial axe to reduce verbosity. (Dave Rolsky)
787 * Moose::Cookbook::Basics::Recipe1
788 - Also applied an editorial axe here. (Dave Rolsky)
791 * Moose::Cookbook::Extending::Recipe1
792 * Moose::Cookbook::Extending::Recipe2
793 - Rewrote extending and embedding moose documentation and
794 recipes to use Moose::Exporter (Dave Rolsky)
798 - These two modules now warn when you load them from the main
799 package "main" package, because we will not export sugar to
800 main. Previously it just did nothing. (Dave Rolsky)
803 - Now provide an init_meta method just like Moose.pm, and you
804 can call this to provide an alternate role metaclass. (Dave
805 Rolsky and nothingmuch)
806 - get_method_map now respects the package cache flag (nothingmuch)
809 - Two new methods - add_method and wrap_method_body
813 - Optimizations including allowing constructors to accept hash
814 refs, making many more classes immutable, and making
815 constructors immutable. (nothingmuch)
817 0.55 Sun August 3, 2008
818 * Moose::Meta::Attribute
819 - breaking down the way 'handles' methods are
820 created so that the process can be more easily
821 overridden by subclasses (stevan)
823 * Moose::Meta::TypeConstraint
824 - fixing what is passed into a ->message with
825 the type constraints (RT #37569)
826 - added tests for this (Charles Alderman)
828 * Moose::Util::TypeConstraints
829 - fix coerce to accept anon types like subtype can (mst)
832 - reorganized the recipes into sections - Basics, Roles, Meta,
833 Extending - and wrote abstracts for each section (Dave Rolsky)
835 * Moose::Cookbook::Basics::Recipe10
836 - A new recipe that demonstrates operator overloading
837 in combination with Moose. (bluefeet)
839 * Moose::Cookbook::Meta::Recipe1
840 - an introduction to what meta is and why you'd want to make
841 your own metaclass extensions (Dave Rolsky)
843 * Moose::Cookbook::Meta::Recipe4
844 - a very simple metaclass example (Dave Rolsky)
846 * Moose::Cookbook::Extending::Recipe1
847 - how to write a Moose-alike module to use your own object base
850 * Moose::Cookbook::Extending::Recipe2
851 - how to write modules with an API just like C<Moose.pm> (Dave
855 - Tons of fixes, both syntactical and grammatical (Dave
856 Rolsky, Paul Fenwick)
858 0.54 Thurs. July 3, 2008
859 ... this is not my day today ...
861 * Moose::Meta::Attribute
862 - fixed legal_options_for_inheritance such that
863 clone_and_inherit options still works for
864 Class::MOP::Attribute objects and therefore
865 does not break MooseX::AttributeHelpers
868 0.53 Thurs. July 3, 2008
869 * Whoops, I guess I should run 'make manifest' before
870 actually releasing the module. No actual changes
871 in this release, except the fact that it includes
872 the changes that I didn't include in the last
875 0.52 Thurs. July 3, 2008
877 - added "FEATURE REQUESTS" section to the Moose docs
878 to properly direct people (stevan) (RT #34333)
879 - making 'extends' croak if it is passed a Role since
880 this is not ever something you want to do
881 (fixed by stevan, found by obra)
882 - added tests for this (stevan)
885 - adding support for DOES (as in UNIVERSAL::DOES)
887 - added test for this
889 * Moose::Meta::Attribute
890 - added legal_options_for_inheritance (wreis)
891 - added tests for this (wreis)
893 * Moose::Cookbook::Snacks::*
894 - removed some of the unfinished snacks that should
895 not have been released yet. Added some more examples
896 to the 'Keywords' snack. (stevan)
898 * Moose::Cookbook::Style
899 - added general Moose "style guide" of sorts to the
900 cookbook (nothingmuch) (RT #34335)
903 - added more BUILDARGS tests (stevan)
905 0.51 Thurs. Jun 26, 2008
907 - add unimport so "no Moose::Role" actually does
910 * Moose::Meta::Role::Application::ToRole
911 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
912 order to provide its own implementation, that method still got
913 added to the list of required methods for consumers of
914 RoleB. Now an aliased method is only added to the list of
915 required methods if the role doing the aliasing does not
916 provide its own implementation. See Recipe 11 for an example
917 of all this. (Dave Rolsky)
918 - added tests for this
920 * Moose::Meta::Method::Constructor
921 - when a single argument that wasn't a hashref was provided to
922 an immutabilized constructor, the error message was very
923 unhelpful, as opposed to the non-immutable error. Reported by
925 - added test for this (Dave Rolsky)
927 * Moose::Meta::Attribute
928 - added support for meta_attr->does("ShortAlias") (sartak)
929 - added tests for this (sartak)
930 - moved the bulk of the `handles` handling to the new
931 install_delegation method (Stevan)
934 - Added BUILDARGS, a new step in new()
936 * Moose::Meta::Role::Application::RoleSummation
937 - fix typos no one ever sees (sartak)
939 * Moose::Util::TypeConstraints
940 * Moose::Meta::TypeConstraint
941 * Moose::Meta::TypeCoercion
942 - Attempt to work around the ??{ } vs. threads issue
944 - Some null_constraint optimizations
946 0.50 Thurs. Jun 11, 2008
947 - Fixed a version number issue by bumping all modules
950 0.49 Thurs. Jun 11, 2008
951 !! This version now approx. 20-25% !!
952 !! faster with new Class::MOP 0.59 !!
954 * Moose::Meta::Attribute
955 - fixed how the is => (ro|rw) works with
956 custom defined reader, writer and accessor
958 - added docs for this (TODO).
959 - added tests for this (Thanks to Penfold)
960 - added the custom attribute alias for regular
961 Moose attributes which is "Moose"
962 - fix builder and default both being used
967 Moose::Meta::Attribute
969 Moose::Meta::Role::Composite
970 Moose::Util::TypeConstraints
971 - switched usage of reftype to ref because
975 - changing add_package_symbol to use the new
979 - fixed how DEMOLISHALL is called so that it
980 can be overrided in subclasses (thanks to Sartak)
981 - added test for this (thanks to Sartak)
983 * Moose::Util::TypeConstraints
984 - move the ClassName type check code to
985 Class::MOP::is_class_loaded (thanks to Sartak)
987 * Moose::Cookbook::Recipe11
988 - add tests for this (thanks to tokuhirom)
990 0.48 Thurs. May 29, 2008
991 (early morning release engineering)--
993 - fixing the version in Moose::Meta::Method::Destructor
994 which was causing the indexer to choke
996 0.47 Thurs. May 29, 2008
997 (late night release engineering)--
999 - fixing the version is META.yml, no functional
1000 changes in this release
1002 0.46 Wed. May 28, 2008
1003 !! This version now approx. 20-25% !!
1004 !! faster with new Class::MOP 0.57 !!
1006 * Moose::Meta::Class
1007 - some optimizations of the &initialize method
1008 since it is called so often by &meta
1010 * Moose::Meta::Class
1012 - now use the get_all_package_symbols from the
1013 updated Class::MOP, test suite is now 10 seconds
1016 * Moose::Meta::Method::Destructor
1017 - is_needed can now also be called as a class
1018 method for immutablization to check if the
1019 destructor object even needs to be created
1022 * Moose::Meta::Method::Destructor
1023 Moose::Meta::Method::Constructor
1024 - added more descriptive error message to help
1025 keep people from wasting time tracking an error
1026 that is easily fixed by upgrading.
1028 0.45 Saturday, May 24, 2008
1030 - Because of work in Class::MOP 0.57, all
1031 XS based functionality is now optional
1032 and a Pure Perl version is supplied
1033 - the CLASS_MOP_NO_XS environment variable
1034 can now be used to force non-XS versions
1036 - several of the packages have been tweaked
1037 to take care of this, mostly we added
1038 support for the package_name and name
1039 variables in all the Method metaclasses
1040 - before/around/after method modifiers now
1041 support regexp matching of names
1042 (thanks to Takatoshi Kitano)
1043 - tests added for this
1044 - NOTE: this only works for classes, it
1045 is currently not supported in roles,
1046 but, ... patches welcome
1047 - All usage of Carp::confess have been replaced
1048 by Carp::croak in the "keyword" functions since
1049 the stack trace is usually not helpful
1052 - All usage of Carp::confess have been replaced
1053 by Carp::croak in the "keyword" functions since
1054 the stack trace is usually not helpful
1055 - The 'has' keyword for roles now accepts the
1056 same array ref form that Moose.pm does
1057 (has [qw/foo bar/] => (is => 'rw', ...))
1058 - added test for this
1060 * Moose::Meta::Attribute
1061 - trigger on a ro-attribute is no longer an
1062 error, as it's useful to trigger off of the
1065 * Moose::Meta::Class
1066 - added same 'add_package_symbol' fix as in
1070 - does_role now handles non-Moose classes
1072 - added tests for this
1073 - added the 'add_method_modifier' function
1074 (thanks to Takatoshi Kitano)
1076 * Moose::Util::TypeConstraints
1077 - subtypes of parameterizable types now are
1078 themselves parameterizable types
1080 * Moose::Meta::Method::Constructor
1081 - fixed bug where trigger was not being
1082 called by the inlined immutable
1084 - added test for this (thanks to Caelum)
1086 * Moose::Meta::Role::Application::ToInstance
1087 - now uses the metaclass of the instance
1088 (if possible) to create the anon-class
1089 (thanks Jonathan Rockway)
1091 * Moose::Cookbook::Recipe22
1092 - added the meta-attribute trait recipe
1096 - fixed hash-ordering test bug that was
1097 causing occasional cpantester failures
1098 - renamed the t/000_recipe/*.t tests to be
1099 more descriptive (thanks to Sartak)
1101 0.44 Sat. May 10, 2008
1103 - made make_immutable warning cluck to
1104 show where the error is (thanks mst)
1107 - BUILDALL and DEMOLISHALL now call
1108 ->body when looping through the
1109 methods, to avoid the overloaded
1111 - fixed issue where DEMOLISHALL was
1112 eating the $@ values, and so not
1113 working correctly, it still kind of
1114 eats them, but so does vanilla perl
1115 - added tests for this
1117 * Moose::Cookbook::Recipe7
1118 - added new recipe for immutable
1119 functionality (thanks Dave Rolsky)
1121 * Moose::Cookbook::Recipe9
1122 - added new recipe for builder and
1123 lazy_build (thanks Dave Rolsky)
1125 * Moose::Cookbook::Recipe11
1126 - added new recipe for method aliasing
1127 and exclusion with Roles (thanks Dave Rolsky)
1130 - fixed Win32 test failure (thanks spicyjack)
1132 ~ removed Build.PL and Module::Build compat
1133 since Module::Install has done that.
1135 0.43 Wed. April, 30, 2008
1137 drink more coffee before
1138 doing release engineering
1140 - whoops, forgot to do the smolder tests,
1141 and we broke some of the custom meta-attr
1142 modules. This fixes that.
1144 0.42 Mon. April 28, 2008
1145 - some bad tests slipped by, nothing else
1146 changed in this release (cpantesters++)
1148 - upped the Class::MOP dependency to 0.55
1149 since we have tests which need the C3
1152 0.41 Mon. April 28, 2008
1153 ~~ numerous documentation updates ~~
1155 - Changed all usage of die to Carp::croak for better
1156 error reporting (initial patch by Tod Hagan)
1158 ** IMPORTANT NOTE **
1159 - the make_immutable keyword is now deprecated, don't
1160 use it in any new code and please fix your old code
1161 as well. There will be 2 releases, and then it will
1167 - refactored the way inner and super work to avoid
1168 any method/@ISA cache penalty (nothingmuch)
1170 * Moose::Meta::Class
1171 - fixing &new_object to make sure trigger gets the
1172 coerced value (spotted by Charles Alderman on the
1174 - added test for this
1176 * Moose::Meta::Method::Constructor
1177 - immutable classes which had non-lazy attributes were calling
1178 the default generating sub twice in the constructor. (bug
1179 found by Jesse Luehrs, fixed by Dave Rolsky)
1180 - added tests for this (Dave Rolsky)
1181 - fix typo in initialize_body method (nothingmuch)
1183 * Moose::Meta::Method::Destructor
1184 - fix typo in initialize_body method (nothingmuch)
1186 * Moose::Meta::Method::Overriden
1187 Moose::Meta::Method::Augmented
1188 - moved the logic for these into their own
1189 classes (nothingmuch)
1191 * Moose::Meta::Attribute
1192 - inherited attributes may now be extended without
1193 restriction on the type ('isa', 'does') (Sartak)
1194 - added tests for this (Sartak)
1195 - when an attribute property is malformed (such as lazy without
1196 a default), give the name of the attribute in the error
1198 - added the &applied_traits and &has_applied_traits methods
1199 to allow introspection of traits
1200 - added tests for this
1201 - moved 'trait' and 'metaclass' argument handling to here from
1203 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1204 '+foo' syntax) (nothingmuch)
1205 - added tests for this (t0m)
1208 - localize $@ inside DEMOLISHALL to avoid it
1209 eating $@ (found by Ernesto)
1210 - added test for this (thanks to Ernesto)
1212 * Moose::Util::TypeConstraints
1213 - &find_type_constraint now DWIMs when given an
1214 type constraint object or name (nothingmuch)
1215 - &find_or_create_type_constraint superseded with a number of more
1217 - find_or_create_{isa,does}_type_constraint
1218 - find_or_parse_type_constraint
1220 * Moose::Meta::TypeConstraint
1221 Moose::Meta::TypeConstraint::Class
1222 Moose::Meta::TypeConstraint::Role
1223 Moose::Meta::TypeConstraint::Enum
1224 Moose::Meta::TypeConstraint::Union
1225 Moose::Meta::TypeConstraint::Parameterized
1226 - added the &equals method for comparing two type
1227 constraints (nothingmuch)
1228 - added tests for this (nothingmuch)
1230 * Moose::Meta::TypeConstraint
1231 - add the &parents method, which is just an alias to &parent.
1232 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1234 * Moose::Meta::TypeConstraint::Class
1235 - added the class attribute for introspection purposes
1237 - added tests for this
1239 * Moose::Meta::TypeConstraint::Enum
1240 Moose::Meta::TypeConstraint::Role
1241 - broke these out into their own classes (nothingmuch)
1243 * Moose::Cookbook::Recipe*
1244 - fixed references to test file locations in the POD
1245 and updated up some text for new Moose features
1249 - Added &resolve_metaclass_alias, a helper function for finding an actual
1250 class for a short name (e.g. in the traits list)
1252 0.40 Fri. March 14, 2008
1253 - I hate Pod::Coverage
1255 0.39 Fri. March 14, 2008
1257 - documenting the use of '+name' with attributes
1258 that come from recently composed roles. It makes
1259 sense, people are using it, and so why not just
1260 officially support it.
1261 - fixing the 'extends' keyword so that it will not
1262 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1265 - added the perl -Moose=+Class::Name feature to allow
1266 monkeypatching of classes in one liners
1269 - fixing the 'apply_all_roles' keyword so that it will not
1270 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1272 * Moose::Meta::Class
1273 - added ->create method which now supports roles (thanks to jrockway)
1274 - added tests for this
1275 - added ->create_anon_class which now supports roles and caching of
1276 the results (thanks to jrockway)
1277 - added tests for this
1278 - made ->does_role a little more forgiving when it is
1279 checking a Class::MOP era metaclasses.
1281 * Moose::Meta::Role::Application::ToInstance
1282 - it is now possible to pass extra params to be used when
1283 a role is applied to an the instance (rebless_params)
1284 - added tests for this
1286 * Moose::Util::TypeConstraints
1287 - class_type now accepts an optional second argument for a
1288 custom message. POD anotated accordingly (groditi)
1289 - added tests for this
1290 - it is now possible to make anon-enums by passing 'enum' an
1291 ARRAY ref instead of the $name => @values. Everything else
1293 - added tests for this
1296 - making test for using '+name' on attributes consumed
1297 from a role, it works and makes sense too.
1299 * Moose::Meta::Attribute
1300 - fix handles so that it doesn't return nothing
1301 when the method cannot be found, not sure why
1302 it ever did this originally, this means we now
1303 have slightly better support for AUTOLOADed
1305 - added more delegation tests
1306 - adding ->does method to this so as to better
1307 support traits and their introspection.
1308 - added tests for this
1311 - localizing the Data::Dumper configurations so
1312 that it does not pollute others (RT #33509)
1313 - made ->does a little more forgiving when it is
1314 passed Class::MOP era metaclasses.
1316 0.38 Fri. Feb. 15, 2008
1317 * Moose::Meta::Attribute
1318 - fixed initializer to correctly do
1319 type checking and coercion in the
1321 - added tests for this
1324 - fixed some finicky tests (thanks to konobi)
1326 0.37 Thurs. Feb. 14, 2008
1328 - fixed some details in Moose::init_meta
1329 and its superclass handling (thanks thepler)
1330 - added tests for this (thanks thepler)
1331 - 'has' now dies if you don't pass in name
1333 - added the 'make_immutable' keyword as a shortcut
1336 * Moose::Meta::Class
1337 Moose::Meta::Method::Constructor
1338 Moose::Meta::Attribute
1339 - making (init_arg => undef) work here too
1340 (thanks to nothingmuch)
1342 * Moose::Meta::Attribute
1343 Moose::Meta::Method::Constructor
1344 Moose::Meta::Method::Accessor
1345 - make lazy attributes respect attr initializers (rjbs)
1346 - added tests for this
1348 * Moose::Util::TypeConstraints
1349 Moose::Util::TypeConstraints::OptimizedConstraints
1350 Moose::Meta::TypeConstraints
1351 Moose::Meta::Attribute
1352 Moose::Meta::Method::Constructor
1353 Moose::Meta::Method::Accessor
1354 - making type errors use the
1355 assigned message (thanks to Sartak)
1356 - added tests for this
1358 * Moose::Meta::Method::Destructor
1359 - making sure DESTROY gets inlined properly
1360 with successive DEMOLISH calls (thanks to manito)
1362 * Moose::Meta::Attribute
1363 Moose::Meta::Method::Accessor
1364 - fixed handling of undef with type constraints
1366 - added tests for this
1369 - added &get_all_init_args and &get_all_attribute_values
1370 (thanks to Sartak and nothingmuch)
1372 0.36 Sat. Jan. 26, 2008
1374 Moose::Meta::Attribute
1375 - role type tests now support when roles are
1376 applied to non-Moose classes (found by ash)
1377 - added tests for this (thanks to ash)
1378 - couple extra tests to boost code coverage
1380 * Moose::Meta::Method::Constructor
1381 - improved fix for handling Class::MOP attributes
1382 - added test for this
1384 * Moose::Meta::Class
1385 - handled the add_attribute($attribute_meta_object)
1387 - added test for this
1389 0.35 Tues. Jan. 22, 2008
1390 * Moose::Meta::Method::Constructor
1391 - fix to make sure even Class::MOP attributes
1392 are handled correctly (Thanks to Dave Rolsky)
1393 - added test for this (also Dave Rolsky)
1395 * Moose::Meta::Class
1396 - improved error message on _apply_all_roles,
1397 you should now use Moose::Util::apply_all_roles
1398 and you shouldnt have been using a _ prefixed
1399 method in the first place ;)
1401 0.34 Mon. Jan. 21, 2008
1402 ~~~ more misc. doc. fixes ~~~
1403 ~~ updated copyright dates ~~
1405 Moose is now a postmodern object system :)
1406 - (see the POD for details)
1408 * <<Role System Refactoring>>
1409 - this release contains a major reworking and
1410 cleanup of the role system
1411 - 100% backwards compat.
1412 - Role application now restructured into seperate
1413 classes based on type of applicants
1414 - Role summation (combining of more than one role)
1415 is much cleaner and anon-classes are no longer
1416 used in this process
1417 - new Composite role metaclass
1418 - runtime application of roles to instances
1419 is now more efficient and re-uses generated
1420 classes when applicable
1422 * <<New Role composition features>>
1423 - methods can now be excluded from a given role
1425 - methods can now be aliased to another name (and
1426 still retain the original as well)
1428 * Moose::Util::TypeConstraints::OptimizedConstraints
1429 - added this module (see above)
1431 * Moose::Meta::Class
1432 - fixed the &_process_attribute method to be called
1433 by &add_attribute, so that the API is now correct
1435 * Moose::Meta::Method::Accessor
1436 - fixed bug when passing a list of values to
1437 an accessor would get (incorrectly) ignored.
1438 Thanks to Sartak for finding this ;)
1439 - added tests for this (Sartak again)
1441 * Moose::Meta::Method::Accessor
1442 Moose::Meta::Method::Constructor
1443 Moose::Meta::Attribute
1444 Moose::Meta::TypeConstraint
1445 Moose::Meta::TypeCoercion
1446 - lots of cleanup of such things as:
1448 - type constraint handling
1449 - error handling/messages
1450 (thanks to nothingmuch)
1452 * Moose::Meta::TypeConstraint::Parameterizable
1453 - added this module to support the refactor
1454 in Moose::Meta::TypeConstraint::Parameterized
1456 * Moose::Meta::TypeConstraint::Parameterized
1457 - refactored how these types are handled so they
1458 are more generic and not confined to ArrayRef
1462 - shortened some file names for better VMS support (RT #32381)
1464 0.33 Fri. Dec. 14, 2007
1465 !! Moose now loads 2 x faster !!
1466 !! with new Class::MOP 0.49 !!
1468 ++ new oose.pm module to make command line
1469 Moose-ness easier (see POD docs for more)
1471 * Moose::Meta::Class
1473 - several tweaks to take advantage of the
1474 new method map caching in Class::MOP
1476 * Moose::Meta::TypeConstraint::Parameterized
1477 - allow subtypes of ArrayRef and HashRef to
1478 be used as a container (sartak)
1479 - added tests for this
1480 - basic support for coercion to ArrayRef and
1481 HashRef for containers (sartak)
1482 - added tests for this
1484 * Moose::Meta::TypeCoercion
1485 - coercions will now create subtypes as needed
1486 so you can now add coercions to parameterized
1487 types without having to explictly define them
1488 - added tests for this
1490 * Moose::Meta::Method::Accessor
1491 - allow subclasses to decide whether we need
1492 to copy the value into a new variable (sartak)
1494 0.32 Tues. Dec. 4, 2007
1495 * Moose::Util::TypeConstraints
1496 - fixing how subtype aliases of unions work
1497 they should inherit the parent's coercion
1498 - added tests for this
1499 - you can now define multiple coercions on
1500 a single type at different times instead of
1501 having to do it all in one place
1502 - added tests for this
1504 * Moose::Meta::TypeConstraint
1505 - there is now a default constraint of sub { 1 }
1506 instead of Moose::Util::TypeConstraints setting
1509 * Moose::Meta::TypeCoercion
1510 * Moose::Meta::TypeCoercion::Union
1511 - added the &has_coercion_for_type and
1512 &add_type_coercions methods to support the
1513 new features above (although you cannot add
1514 more type coercions for Union types)
1516 0.31 Mon. Nov. 26, 2007
1517 * Moose::Meta::Attribute
1518 - made the +attr syntax handle extending types with
1519 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1520 now works if the original foo is an ArrayRef.
1521 - added tests for this.
1522 - delegation now works even if the attribute does not
1523 have a reader method using the get_read_method_ref
1524 method from Class::MOP::Attribute.
1525 - added tests for this
1526 - added docs for this
1528 * Moose::Util::TypeConstraints
1529 - passing no "additional attribute info" to
1530 &find_or_create_type_constraint will no longer
1531 attempt to create an __ANON__ type for you,
1532 instead it will just return undef.
1533 - added docs for this
1535 0.30 Fri. Nov. 23, 2007
1536 * Moose::Meta::Method::Constructor
1537 -builder related bug in inlined constructor. (groditi)
1539 * Moose::Meta::Method::Accessor
1540 - genereate unnecessary calls to predicates and refactor
1541 code generation for runtime speed (groditi)
1543 * Moose::Util::TypeConstraints
1544 - fix ClassName constraint to introspect symbol table (mst)
1545 - added more tests for this (mst)
1546 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1547 with work correctly.
1548 - added tests for this
1551 - adding the link to Recipie 11 (written by Sartak)
1552 - adding test for SYNOPSIS code
1555 - New tests for builder bug. Upon instantiation, if an
1556 attribute had a builder, no value and was not lazy the
1557 builder default was not getting run, oops. (groditi)
1559 0.29 Tues. Nov. 13, 2007
1560 * Moose::Meta::Attribute
1561 - Fix error message on missing builder method (groditi)
1563 * Moose::Meta::Method::Accessor
1564 - Fix error message on missing builder method (groditi)
1567 - Add test to check for the correct error message when
1568 builder method is missing (groditi)
1570 0.28 Tues. Nov. 13, 2007
1571 - 0.27 packaged incorrectly (groditi)
1573 0.27 Tues. Nov. 13, 2007
1574 * Moose::Meta::Attribute
1575 - Added support for the new builder option (groditi)
1576 - Added support for lazy_build option (groditi)
1577 - Changed slot initialization for predicate changes (groditi)
1579 * Moose::Meta::Method::Accessor
1580 - Added support for lazy_build option (groditi)
1581 - Fix inline methods to work with corrected predicate
1584 * Moose::Meta::Method::Constructor
1585 - Added support for lazy_build option (groditi)
1588 - tests for builder and lazy_build (groditi)
1590 * fixing some misc. bits in the docs that
1591 got mentioned on CPAN Forum & perlmonks
1594 - fixed how required methods are handled
1595 when they encounter overriden or modified
1596 methods from a class (thanks to confound).
1597 - added tests for this
1599 * Moose::Util::TypeConstraint
1600 - fixed the type notation parser so that
1601 the | always creates a union and so is
1602 no longer a valid type char (thanks to
1603 konobi, mugwump and #moose for working
1605 - added more tests for this
1607 0.26 Thurs. Sept. 27, 2007
1610 * Parameterized Types
1611 We now support parameterized collection types, such as:
1612 ArrayRef[Int] # array or integers
1613 HashRef[Object] # a hash with object values
1614 They can also be nested:
1615 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1616 And work with the type unions as well:
1617 ArrayRef[Int | Str] # array of integers of strings
1619 * Better Framework Extendability
1620 Moose.pm is now "extendable" such that it is now much
1621 easier to extend the framework and add your own keywords
1622 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1623 section of the Moose.pm docs.
1626 In an effort to begin documenting some of the various
1627 details of Moose as well as some common idioms, we have
1628 created Moose::Cookbook::Snacks as a place to find
1629 small (easily digestable) nuggets of Moose code.
1632 ~ Several doc updates/cleanup thanks to castaway ~
1634 - converted build system to use Module::Install instead of
1635 Module::Build (thanks to jrockway)
1638 - added all the meta classes to the immutable list and
1639 set it to inline the accessors
1640 - fix import to allow Sub::Exporter like { into => }
1641 and { into_level => } (perigrin)
1642 - exposed and documented init_meta() to allow better
1643 embedding and extending of Moose (perigrin)
1646 - complete re-organization of the test suite
1647 - added some new tests as well
1648 - finally re-enabled the Moose::POOP test since
1649 the new version of DBM::Deep now works again
1652 * Moose::Meta::Class
1653 - fixed very odd and very nasty recursion bug with
1655 - added tests for this (eilara)
1657 * Moose::Meta::Attribute
1658 Moose::Meta::Method::Constructor
1659 Moose::Meta::Method::Accessor
1660 - fixed issue with overload::Overloaded getting called
1661 on non-blessed items. (RT #29269)
1662 - added tests for this
1664 * Moose::Meta::Method::Accessor
1665 - fixed issue with generated accessor code making
1666 assumptions about hash based classes (thanks to dexter)
1668 * Moose::Coookbook::Snacks
1669 - these are bits of documentation, not quite as big as
1670 Recipes but which have no clear place in the module docs.
1671 So they are Snacks! (horray for castaway++)
1673 * Moose::Cookbook::Recipe4
1674 - updated it to use the new ArrayRef[MyType] construct
1675 - updated the accompanying test as well
1677 +++ Major Refactor of the Type Constraint system +++
1678 +++ with new features added as well +++
1680 * Moose::Util::TypeConstraint
1681 - no longer uses package variable to keep track of
1682 the type constraints, now uses the an instance of
1683 Moose::Meta::TypeConstraint::Registry to do it
1684 - added more sophisticated type notation parsing
1686 - added tests for this
1688 * Moose::Meta::TypeConstraint
1689 - some minor adjustments to make subclassing easier
1690 - added the package_defined_in attribute so that we
1691 can track where the type constraints are created
1693 * Moose::Meta::TypeConstraint::Union
1694 - this is now been refactored to be a subclass of
1695 Moose::Meta::TypeConstraint
1697 * Moose::Meta::TypeCoercion::Union
1698 - this has been added to service the newly refactored
1699 Moose::Meta::TypeConstraint::Union and is itself
1700 a subclass of Moose::Meta::TypeCoercion
1702 * Moose::Meta::TypeConstraint::Parameterized
1703 - added this module (taken from MooseX::AttributeHelpers)
1704 to help construct nested collection types
1705 - added tests for this
1707 * Moose::Meta::TypeConstraint::Registry
1708 - added this class to keep track of type constraints
1710 0.25 Mon. Aug. 13, 2007
1712 - Documentation update to reference Moose::Util::TypeConstraints
1713 under 'isa' in 'has' for how to define a new type
1714 (thanks to shlomif).
1716 * Moose::Meta::Attribute
1717 - required attributes now will no longer accept undef
1718 from the constructor, even if there is a default and lazy
1719 - added tests for this
1720 - default subroutines must return a value which passes the
1722 - added tests for this
1724 * Moose::Meta::Attribute
1725 * Moose::Meta::Method::Constructor
1726 * Moose::Meta::Method::Accessor
1727 - type-constraint tests now handle overloaded objects correctly
1728 in the error message
1729 - added tests for this (thanks to EvanCarroll)
1731 * Moose::Meta::TypeConstraint::Union
1732 - added (has_)hand_optimized_constraint to this class so that
1733 it behaves as the regular Moose::Meta::TypeConstraint does.
1736 - large refactoring of this code
1737 - added several more tests
1738 - tests for subtle conflict resolition issues
1739 added, but not currently running
1742 * Moose::Cookbook::Recipe7
1743 - added new recipe for augment/inner functionality
1745 - added test for this
1748 - a formal definition of roles (still in progress)
1751 - utilities for easier working with Moose classes
1752 - added tests for these
1755 - This contains Moose specific test functions
1756 - added tests for these
1758 0.24 Tues. July 3, 2007
1759 ~ Some doc updates/cleanup ~
1761 * Moose::Meta::Attribute
1762 - added support for roles to be given as parameters
1763 to the 'handles' option.
1764 - added tests and docs for this
1765 - the has '+foo' attribute form now accepts changes to
1766 the lazy option, and the addition of a handles option
1767 (but not changing the handles option)
1768 - added tests and docs for this
1771 - required methods are now fetched using find_method_by_name
1772 so that required methods can come from superclasses
1773 - adjusted tests for this
1775 0.23 Mon. June 18, 2007
1776 * Moose::Meta::Method::Constructor
1777 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1778 * Moose::Meta::Class
1779 - Modify make_immutable to work with the new Class::MOP immutable
1780 mechanism + POD + very basic test (groditi)
1781 * Moose::Meta::Attribute
1782 - Fix handles to use goto() so that caller() comes out properly on
1783 the other side (perigrin)
1785 0.22 Thurs. May 31, 2007
1786 * Moose::Util::TypeConstraints
1787 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1788 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1789 prototypes for functions
1790 - added the ClassName type constraint, this checks for strings
1791 which will respond true to ->isa(UNIVERSAL).
1792 - added tests and docs for this
1793 - subtyping just in name now works correctly by making the
1794 default for where be { 1 }
1795 - added test for this
1797 * Moose::Meta::Method::Accessor
1798 - coerce and lazy now work together correctly, thanks to
1799 merlyn for finding this bug
1800 - tests added for this
1801 - fix reader presedence bug in Moose::Meta::Attribute + tests
1804 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1805 a HASH-ref and missed. This produces better error messages then
1806 having it die cause undef is not a HASH.
1807 - added tests for this
1809 0.21 Thursday, May 2nd, 2007
1811 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1812 - modified unimport to remove super and inner along with the rest
1813 - altered unimport tests to handle this
1816 - altered super export to populate SUPER_SLOT
1818 * Moose::Meta::Class
1819 - altered augment and override modifier application to use *_SLOT
1820 - modified tests for these to unimport one test class each to test
1823 - fixed issue where custom attribute metaclasses
1824 where not handled correctly in roles
1825 - added tests for this
1827 * Moose::Meta::Class
1828 - fixed issue where extending metaclasses with
1829 roles would blow up. Thanks to Aankhen`` for
1830 finding this insidious error, and it's solution.
1832 ~~ lots of spelling and grammer fixes in the docs,
1833 many many thanks to rlb3 and Aankhen for these :)
1835 0.20 Friday, April 6th, 2007
1836 >> I messed up the SKIP logic in one test
1837 so this release is just to fix that.
1840 - 'has' now also accepts an ARRAY ref
1841 to create multiple attrs (see docs)
1842 (thanks to konobi for this)
1843 - added tests and docs
1845 0.19 Thurs. April 5th, 2007
1846 ~~ More documentation updates ~~
1848 * Moose::Util::TypeConstraints
1849 - 'type' now supports messages as well
1850 thanks to phaylon for finding this
1851 - added tests for this
1852 - added &list_all_type_constraints and
1853 &list_all_builtin_type_constraints
1854 functions to facilitate introspection.
1856 * Moose::Meta::Attribute
1857 - fixed regexp 'handles' declarations
1858 to build the list of delegated methods
1859 correctly (and not override important
1860 things like &new) thanks to ashleyb
1862 - added tests and docs for this
1863 - added the 'documentation' attributes
1864 so that you can actually document your
1865 attributes and inspect them through the
1867 - added tests and docs for this
1869 * Moose::Meta::Class
1870 - when loading custom attribute metaclasses
1871 it will first look in for the class in the
1872 Moose::Meta::Attribute::Custom::$name, and
1873 then default to just loading $name.
1874 - added tests and docs for this
1876 * Moose::Meta::TypeConstraint
1877 - type constraints now stringify to their names.
1878 - added test for this
1881 - added tests to assure we work with Module::Refresh
1882 - added stricter test skip logic in the Moose POOP
1883 test, ask Rob Kinyon why.
1884 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1886 0.18 Sat. March 10, 2007
1887 ~~ Many, many documentation updates ~~
1890 - We now use Class::MOP::load_class to
1892 - added tests to show types and subtypes
1893 working with Declare::Constraints::Simple
1894 and Test::Deep as constraint engines.
1897 !! You must have Class::MOP 0.37_001 !!
1898 !! for this developer release to work !!
1900 This release was primarily adding the immutable
1901 feature to Moose. An immutable class is one which
1902 you promise not to alter. When you set the class
1903 as immutable it will perform various bits of
1904 memoization and inline certain part of the code
1905 (constructors, destructors and accessors). This
1906 minimizes (and in some cases totally eliminates)
1907 one of Moose's biggest performance hits. This
1908 feature is not on by default, and is 100% optional.
1909 It has several configurable bits as well, so you
1910 can pick and choose to your specific needs.
1912 The changes involved in this were fairly wide and
1913 highly specific, but 100% backwards compatible, so
1914 I am not going to enumerate them here. If you are
1915 truely interested in what was changed, please do
1918 0.17 Tues. Nov. 14, 2006
1919 * Moose::Meta::Method::Accessor
1920 - bugfix for read-only accessors which
1921 are have a type constraint and lazy.
1922 Thanks to chansen for finding it.
1924 0.16 Tues. Nov. 14, 2006
1926 There are some speed improvements in this release,
1927 but they are only the begining, so stay tuned.
1930 - BUILDALL and DEMOLISHALL no longer get
1931 called unless they actually need to be.
1932 This gave us a signifigant speed boost
1933 for the cases when there is no BUILD or
1934 DEMOLISH method present.
1936 * Moose::Util::TypeConstraints
1937 * Moose::Meta::TypeConstraint
1938 - added an 'optimize_as' option to the
1939 type constraint, which allows for a
1940 hand optimized version of the type
1941 constraint to be used when possible.
1942 - Any internally created type constraints
1943 now provide an optimized version as well.
1945 0.15 Sun. Nov. 5, 2006
1947 This version of Moose *must* have Class::MOP 0.36 in order
1948 to work correctly. A number of small internal tweaks have
1949 been made in order to be compatible with that release.
1951 * Moose::Util::TypeConstraints
1952 - added &unimport so that you can clean out
1953 your class namespace of these exported
1956 * Moose::Meta::Class
1957 - fixed minor issue which occasionally
1958 comes up during global destruction
1960 - moved Moose::Meta::Method::Overriden into
1964 - moved Moose::Meta::Role::Method into
1967 * Moose::Meta::Attribute
1968 - changed how we do type checks so that
1969 we reduce the overall cost, but still
1972 - moved accessor generation methods to
1973 Moose::Meta::Method::Accessor to
1974 conform to the API changes from
1977 * Moose::Meta::TypeConstraint
1978 - changed how constraints are compiled
1979 so that we do less recursion and more
1980 iteration. This makes the type check
1982 - moved Moose::Meta::TypeConstraint::Union
1985 * Moose::Meta::Method::Accessor
1986 - created this from methods formerly found in
1987 Moose::Meta::Attribute
1989 * Moose::Meta::Role::Method
1990 - moved this from Moose::Meta::Role
1992 * Moose::Meta::Method::Overriden
1993 - moved this from Moose::Meta::Class
1995 * Moose::Meta::TypeConstraint::Union
1996 - moved this from Moose::Meta::TypeConstraint
1998 0.14 Mon. Oct. 9, 2006
2000 * Moose::Meta::Attribute
2001 - fixed lazy attributes which were not getting
2002 checked with the type constraint (thanks ashley)
2003 - added tests for this
2004 - removed the over-enthusiastic DWIMery of the
2005 automatic ArrayRef and HashRef defaults, it
2006 broke predicates in an ugly way.
2007 - removed tests for this
2009 0.13 Sat. Sept. 30, 2006
2011 This version of Moose *must* have Class::MOP 0.35 in order
2012 to work correctly. A number of small internal tweaks have
2013 been made in order to be compatible with that release.
2016 - Removed the use of UNIVERSAL::require to be a better
2017 symbol table citizen and remove a dependency
2018 (thanks Adam Kennedy)
2020 **~~ removed experimental & undocumented feature ~~**
2021 - commented out the 'method' and 'self' keywords, see the
2022 comments for more info.
2025 - added a FAQ and WTF files to document frequently
2026 asked questions and common problems
2028 * Moose::Util::TypeConstraints
2029 - added GlobRef and FileHandle type constraint
2030 - added tests for this
2032 * Moose::Meta::Attribute
2033 - if your attribute 'isa' ArrayRef of HashRef, and you have
2034 not explicitly set a default, then make the default DWIM.
2035 This will also work for subtypes of ArrayRef and HashRef
2037 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2038 - new test added for this (thanks to ashley)
2041 - added basic support for runtime role composition
2042 but this is still *highly experimental*, so feedback
2043 is much appreciated :)
2044 - added tests for this
2046 * Moose::Meta::TypeConstraint
2047 - the type constraint now handles the coercion process
2048 through delegation, this is to support the coercion
2051 * Moose::Meta::TypeConstraint::Union
2052 - it is now possible for coercions to be performed
2054 - added tests for this (thanks to konobi)
2056 * Moose::Meta::TypeCoercion
2057 - properly capturing error when type constraint
2061 - Scalar::Util 1.18 is bad on Win32, so temporarily
2062 only require version 1.17 for Win32 and cygwin.
2063 (thanks Adam Kennedy)
2065 0.12 Sat. Sept. 1, 2006
2067 - Recipe5 (subtypes & coercion) has been written
2070 - fixed "bad meta" error message to be more descriptive
2071 - fixed &unimport to not remove the &inner and &super
2072 keywords because we need to localize them.
2073 - fixed number of spelling/grammer issues, thanks Theory :)
2075 **~~ experimental & undocumented feature ~~**
2076 - added the method and self keywords, they are basically
2077 just sugar, and they may not stay around.
2080 - added &dump method to easily Data::Dumper
2083 * Moose::Meta::TypeConstraint
2084 - added the &is_a_type_of method to check both the current
2085 and the subtype of a method (similar to &isa with classes)
2088 - this is now a subclass of Class::MOP::Module, and no longer
2089 creates the _role_meta ugliness of before.
2090 - fixed tests to reflect this change
2092 0.11 Wed. July 12, 2006
2094 - added an &unimport method to remove all the keywords
2095 that Moose will import, simply add 'no Moose' to the
2096 bottom of your class file.
2099 - fixed some test failures caused by a forgotten test
2102 0.10 Thurs. July 6, 2006
2104 - improved error message when loading modules so
2105 it is less confusing when you load a role.
2106 - added &calculate_all_roles method to
2107 Moose::Meta::Class and Moose::Meta::Role
2110 This module has been tested against Class::MOP 0.30
2111 but it does not yet utilize the optimizations
2112 it makes available. Stay tuned for that ;)
2114 0.09_03 Fri. June 23, 2006
2115 ++ DEVELOPER RELEASE ++
2117 - 'use strict' and 'use warnings' are no longer
2118 needed in Moose classes, Moose itself will
2119 turn them on for you.
2120 - added tests for this
2121 - moved code from exported subs to private methods
2122 in Moose::Meta::Class
2125 - as with Moose, strict and warnings are
2126 automatically turned on for you.
2127 - added tests for this
2130 - now handles an edge case for override errors
2131 - added tests for this
2132 - added some more edge case tests
2134 0.09_02 Tues. May 16, 2006
2135 ++ DEVELOPER RELEASE ++
2137 - added prototypes to the exported subs
2141 - added prototypes to the exported subs
2144 * Moose::Util::TypeConstraints
2145 - cleaned up prototypes for the subs
2148 0.09_01 Fri. May 12, 2006
2149 ++ DEVELOPER RELEASE ++
2150 - This release works in combination with
2151 Class::MOP 0.29_01, it is a developer
2152 release because it uses the a new
2153 instance sub-protocol and a fairly
2154 complete Role implementation. It has
2155 not yet been optimized, so it slower
2156 the the previous CPAN version. This
2157 release also lacks good updated docs,
2158 the official release will have updated docs.
2161 - refactored the keyword exports
2162 - 'with' now checks Role validaity and
2163 accepts more than one Role at a time
2164 - 'extends' makes metaclass adjustments as
2165 needed to ensure metaclass compatibility
2168 - refactored the keyword exports
2169 - 'with' now checks Role validaity and
2170 accepts more than one Role at a time
2172 * Moose::Util::TypeConstraints
2173 - added the 'enum' keyword for simple
2174 string enumerations which can be used as
2176 - see example of usage in t/202_example.t
2179 - more careful checking of params to new()
2182 - much work done on the role composition
2183 - many new tests for conflict detection
2184 and composition edge cases
2185 - not enough documentation, I suggest
2186 looking at the tests
2188 * Moose::Meta::Instance
2189 - added new Instance metaclass to support
2190 the new Class::MOP instance protocol
2192 * Moose::Meta::Class
2193 - some small changes to support the new
2195 - some small additions to support Roles
2197 * Moose::Meta::Attribute
2198 - some improvements to the accessor generation code
2200 - some small changes to support the new
2202 - (still somewhat) experimental delegation support
2203 with the 'handles' option
2204 - added several tests for this
2205 - no docs for this yet
2207 0.05 Thurs. April 27, 2006
2209 - keywords are now exported with Sub::Exporter
2210 thanks to chansen for this commit
2211 - has keyword now takes a 'metaclass' option
2212 to support custom attribute meta-classes
2213 on a per-attribute basis
2214 - added tests for this
2215 - the 'has' keyword not accepts inherited slot
2216 specifications (has '+foo'). This is still an
2217 experimental feature and probably not finished
2218 see t/038_attribute_inherited_slot_specs.t for
2219 more details, or ask about it on #moose
2220 - added tests for this
2223 - keywords are now exported with Sub::Exporter
2225 * Moose::Utils::TypeConstraints
2226 - reorganized the type constraint hierarchy, thanks
2227 to nothingmuch and chansen for his help and advice
2229 - added some tests for this
2230 - keywords are now exported with Sub::Exporter
2231 thanks to chansen for this commit
2233 * Moose::Meta::Class
2234 - due to changes in Class::MOP, we had to change
2235 construct_instance (for the better)
2237 * Moose::Meta::Attribute
2238 - due to changes in Class::MOP, we had to add the
2239 initialize_instance_slot method (it's a good thing)
2241 * Moose::Meta::TypeConstraint
2242 - added type constraint unions
2243 - added tests for this
2244 - added the is_subtype_of predicate method
2245 - added tests for this
2247 0.04 Sun. April 16th, 2006
2249 - Roles can now consume other roles
2250 - added tests for this
2251 - Roles can specify required methods now with
2252 the requires() keyword
2253 - added tests for this
2256 - ripped out much of it's guts ,.. much cleaner now
2257 - added required methods and correct handling of
2258 them in apply() for both classes and roles
2259 - added tests for this
2260 - no longer adds a does() method to consuming classes
2261 it relys on the one in Moose::Object
2262 - added roles attribute and some methods to support
2263 roles consuming roles
2265 * Moose::Meta::Attribute
2266 - added support for triggers on attributes
2267 - added tests for this
2268 - added support for does option on an attribute
2269 - added tests for this
2271 * Moose::Meta::Class
2272 - added support for attribute triggers in the
2274 - added tests for this
2277 - Moose no longer creates a subtype for your class
2278 if a subtype of the same name already exists, this
2279 should DWIM in 99.9999% of all cases
2281 * Moose::Util::TypeConstraints
2282 - fixed bug where incorrect subtype conflicts were
2284 - added test for this
2287 - this class can now be extended with 'use base' if
2288 you need it, it properly loads the metaclass class now
2289 - added test for this
2291 0.03_02 Wed. April 12, 2006
2293 - you must now explictly use Moose::Util::TypeConstraints
2294 it no longer gets exported for you automatically
2297 - new() now accepts hash-refs as well as key/value lists
2298 - added does() method to check for Roles
2299 - added tests for this
2301 * Moose::Meta::Class
2302 - added roles attribute along with the add_role() and
2304 - added tests for this
2307 - now adds a does() method to consuming classes
2308 which tests the class's hierarchy for roles
2309 - added tests for this
2311 0.03_01 Mon. April 10, 2006
2313 - added new Role recipe (no content yet, only code)
2316 - added 'with' keyword for Role support
2317 - added test and docs for this
2318 - fixed subtype quoting bug
2319 - added test for this
2323 - added test and docs
2325 * Moose::Util::TypeConstraints
2326 - added the message keyword to add custom
2327 error messages to type constraints
2330 - the meta role to support Moose::Role
2331 - added tests and docs
2333 * Moose::Meta::Class
2334 - moved a number of things from Moose.pm
2335 to here, they should have been here
2338 * Moose::Meta::Attribute
2339 - moved the attribute option macros here
2340 instead of putting them in Moose.pm
2342 * Moose::Meta::TypeConstraint
2343 - added the message attributes and the
2345 - added tests and docs for this
2347 0.03 Thurs. March 30, 2006
2349 - added the Moose::Cookbook with 5 recipes,
2350 describing all the stuff Moose can do.
2353 - fixed an issue with &extends super class loading
2354 it now captures errors and deals with inline
2355 packages correctly (bug found by mst, solution
2357 - added super/override & inner/augment features
2358 - added tests and docs for these
2361 - BUILDALL now takes a reference of the %params
2362 that are passed to &new, and passes that to
2365 * Moose::Util::TypeConstraints
2366 - Type constraints now survive runtime reloading
2367 - added test for this
2369 * Moose::Meta::Class
2370 - fixed the way attribute defaults are handled
2371 during instance construction (bug found by chansen)
2373 * Moose::Meta::Attribute
2374 - read-only attributes now actually enforce their
2375 read-only-ness (this corrected in Class::MOP as
2378 0.02 Tues. March 21, 2006
2380 - many more tests, fixing some bugs and
2382 - &extends now loads the base module with
2384 - added UNIVERSAL::require to the
2387 - each new Moose class will also create
2388 and register a subtype of Object which
2389 correspond to the new Moose class.
2390 - the 'isa' option in &has now only
2391 accepts strings, and will DWIM in
2394 * Moose::Util::TypeConstraints
2395 - added type coercion features
2396 - added tests for this
2397 - added support for this in attributes
2398 and instance construction
2400 - type construction no longer creates a
2401 function, it registers the type instead.
2402 - added several functions to get the
2406 - BUILDALL and DEMOLISHALL were broken
2407 because of a mis-named hash key, Whoops :)
2409 * Moose::Meta::Attribute
2410 - adding support for coercion in the
2411 autogenerated accessors
2413 * Moose::Meta::Class
2414 - adding support for coercion in the
2415 instance construction
2417 * Moose::Meta::TypeConstraint
2418 * Moose::Meta::TypeCoercion
2419 - type constraints and coercions are now
2420 full fledges meta-objects
2422 0.01 Wed. March 15, 2006
2423 - Moooooooooooooooooose!!!