1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
4 0.74 Tue, April 7, 2009
6 * Moose::Meta::Method::Destructor
7 - Include stack traces in the deprecation warnings.
11 - Removed the long-deprecated _apply_all_roles method.
13 * Moose::Meta::TypeContsraint
14 - Removed the long-deprecated union method.
17 0.73_02 Mon, April 6, 2009
18 * More deprecations and renamings
19 - Moose::Meta::Method::Constructor
20 - initialize_body => _initialize_body (this is always called
21 when an object is constructed)
24 - The DEMOLISHALL method could throw an exception during global
25 destruction, meaning that your class's DEMOLISH methods would
26 not be properly called. Reported by t0m.
28 * Moose::Meta::Method::Destructor
29 - Destructor inlining was totally broken by the change to the
30 is_needed method in 0.72_01. Now there is a test for this
31 feature, and it works again.
33 0.73_01 Sun, April 5, 2009
35 - Call user_class->meta in fewer places, with the eventual goal
36 of allowing the user to rename or exclude ->meta
37 altogether. Instead uses Class::MOP::class_of. (Sartak)
39 * Moose::Meta::Method::Accessor
40 - If an attribute had a lazy default, and that value did not
41 pass the attribute's type constraint, it did not get the
42 message from the type constraint, instead using a generic
43 message. Test provided by perigrin.
45 * Moose::Util::TypeConstraints
46 - Add duck_type keyword. It's sugar over making sure an object
47 can() a list of methods. This is easier than jrockway's
48 suggestion to fork all of CPAN. (perigrin)
49 - add tests and documentation (perigrin)
52 - Document the fact that init_meta() returns the target class's
53 metaclass object. (hdp)
55 * Moose::Cookbook::Extending::Recipe1
56 * Moose::Cookbook::Extending::Recipe2
57 * Moose::Cookbook::Extending::Recipe3
58 * Moose::Cookbook::Extending::Recipe4
59 - Make init_meta() examples explicitly return the metaclass and
60 point out this fact. (hdp)
62 * Moose::Cookbook::Meta::Recipe6
63 - A new recipe, creating a custom meta-method class.
66 * Moose::Meta::Method::Constructor
67 - Attribute triggers no longer receive the meta-attribute object
68 as an argument in any circumstance. Previously, triggers
69 called during instance construction were passed the
70 meta-attribute, but triggers called by normal accessors were
71 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
73 * Moose::Manual::Attributes
74 - Remove references to triggers receving the meta-attribute object as an
77 * Moose::Cookbook::FAQ
78 - Remove recommendation for deprecated Moose::Policy and
79 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
82 * Many methods have been renamed with a leading underscore, and a
83 few have been deprecated entirely. The methods with a leading
84 underscore are consider "internals only". People writing
85 subclasses or extensions to Moose should feel free to override
86 them, but they are not for "public" use.
89 - check_metaclass_compatibility => _check_metaclass_compatibility
91 - Moose::Meta::Method::Accessor
92 - initialize_body => _initialize_body (this is always called
93 when an object is constructed)
94 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
96 - Moose::Meta::Method::Constructor
97 - initialize_body => _initialize_body (this is always called
98 when an object is constructed)
99 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
100 - attributes => _attributes (now inherited from parent)
101 - meta_instance => _meta_instance (now inherited from parent)
104 - alias_method is deprecated. Use add_method
106 0.73 Fri, March 29, 2009
107 * No changes from 0.72_01.
109 0.72_01 Thu, March 26, 2009
111 - Almost every module has complete API documentation. A few
112 methods (and even whole classes) have been intentionally
113 excluded pending some rethinking of their APIs.
115 * Moose::Util::TypeConstraints
116 - Calling subtype with a name as the only argument is now an
117 exception. If you want an anonymous subtype do:
119 my $subtype = subtype as 'Foo';
121 * Moose::Cookbook::Meta::Recipe7
122 - A new recipe, creating a custom meta-instance class.
124 * Moose::Cookbook::Basics::Recipe5
125 - Fix various typos and mistakes. Includes a patch from Radu
128 * Moose::Cookbook::Basics::Recipe9
129 - Link to this recipe from Moose.pm's builder blurb
132 - When wrapping a function with a prototype, Moose::Exporter now
133 makes sure the wrapped function still has the same
134 prototype. (Daisuke Maki)
136 * Moose::Meta::Attribute
137 - Allow a subclass to set lazy_build for an inherited
141 - Explicitly depend on Data::OptList. We already had this dependency
142 via Sub::Exporter, but since we're using it directly we're
143 better off with it listed. (Sartak)
145 * Moose::Meta::Method::Constructor
146 - Make it easier to subclass the inlining behaviour. (Ash
149 * Moose::Manual::Delta
150 - Details significant changes in the history of Moose, along
151 with recommended workarounds.
153 * Moose::Manual::Contributing
154 - Contributor's guide to Moose.
156 * Moose::Meta::Method::Constructor
157 - The long-deprecated intialize_body method has been removed
158 (yes, spelled like that).
160 * Moose::Meta::Method::Destructor
161 - This is_needed method is now always a class method.
164 - Changes to the internals of how make_immutable works to match
165 changes in latest Class::MOP.
167 0.72 Mon, February 23, 2009
169 * Moose::Meta::Method::Constructor
170 - A mutable class accepted Foo->new(undef) without complaint,
171 while an immutable class would blow up with an unhelpful
172 error. Now, in both cases we throw a helpful error
173 instead. Reported by doy.
175 0.71_01 Sun, February 22, 2009
177 - Hopefully fixed some POD errors in a few recipes that caused
178 them to display weird on search.cpan.org.
180 * Moose::Util::TypeConstraints
181 - Calling type or subtype without the sugar helpers (as, where,
182 message) is now deprecated.
183 - The subtype function tried hard to guess what you meant, but
184 often got it wrong. For example:
186 my $subtype = subtype as 'ArrayRef[Object]';
188 This caused an error in the past, but now works as you'd
192 - Make sure Moose.pm is loaded before calling
193 Moose->throw_error. This wasn't normally an issue, but could
194 bite you in weird cases.
196 0.71 Thu, February 19, 2009
197 * Moose::Cookbook::Basics::Recipe11
198 - A new recipe which demonstrates the use of BUILDARGS and
201 * Moose::Cookbook::Roles::Recipe3
202 - A new recipe, applying a role to an object instance. (Dave
206 - Allow overriding specific keywords from "also" packages. (doy)
209 - Replace hardcoded cookbook tests with Test::Inline to ensure
210 the tests match the actual code in the recipes. (Dave Rolsky)
213 - Working on the above turned up a number of little bugs in the
214 recipe code. (Dave Rolsky)
216 * Moose::Util::TypeConstraints::Optimized
217 - Just use Class::MOP for the optimized ClassName check. (Dave
220 0.70 Sat, February 14, 2009
221 * Moose::Util::TypeConstraints
222 - Added the RoleName type (stevan)
223 - added tests for this (stevan)
225 * Moose::Cookbook::Basics::Recipe3
226 - Updated the before qw[left right] sub to be a little more
227 defensive about what it accepts (stevan)
228 - added more tests to t/000_recipies/basics/003_binary_tree.t
232 - We now always call DEMOLISHALL, even if a class does not
233 define DEMOLISH. This makes sure that method modifiers on
234 DEMOLISHALL work as expected. (doy)
235 - added tests for this (EvanCarroll)
237 * Moose::Util::MetaRole
238 - Accept roles for the wrapped_method_metaclass (rafl)
239 - added tests for this (rafl)
241 * Moose::Meta::Attribute
242 - We no longer pass the meta-attribute object as a final
243 argument to triggers. This actually changed for inlined code a
244 while back, but the non-inlined version and the docs were
248 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
249 they require 0.11. (Dave Rolsky)
252 - Lots of small changes to the manual, cookbook, and
253 elsewhere. These were based on feedback from various
254 users, too many to list here. (Dave Rolsky)
256 0.69 Thu, February 12, 2009
258 - Make some keyword errors use throw_error instead of croak
259 since Moose::Exporter wraps keywords now (Sartak)
262 - Revised every recipe for style and clarity. Also moved some
263 documentation out of cookbook recipes and into Moose::Manual
264 pages. This work was funded as part of the Moose docs grant
265 from TPF. (Dave Rolsky)
267 * Moose::Meta::Method::Delegation
268 - If the attribute doing the delegation was not populated, the
269 error message did not specify the attribute name
272 0.68 Wed, February 4, 2009
274 - Many spelling, typo, and formatting fixes by daxim.
276 * Moose::Manual::Attributes
277 - The NAME section in the POD used "Attribute" so search.cpan
278 didn't resolve links from other documents properly.
280 * Moose::Meta::Method::Overriden
281 - Now properly spelled as Overridden. Thanks to daxim for
284 0.67 Tue, February 3, 2009
286 - Lots of little typo fixes and a few clarifications. Several
287 pages didn't have proper titles, and so weren't actually
288 visible on search.cpan.org. Thanks to hanekomu for a variety
289 of fixes and formatting improvements.
291 0.66 Tue, February 3, 2009
293 - This is a brand new, extensive manual for Moose. This aims to
294 provide a complete introduction to all of Moose's
295 features. This work was funded as part of the Moose docs grant
296 from TPF. (Dave Rolsky)
298 * Moose::Meta::Attribute
299 - Added a delegation_metaclass method to replace a hard-coded
300 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
302 * Moose::Util::TypeConstraints
303 - If you created a subtype and passed a parent that Moose didn't
304 know about, it simply ignored the parent. Now it automatically
305 creates the parent as a class type. This may not be what you
306 want, but is less broken than before. (Dave Rolsky)
308 * Moose::Util::TypeConstraints
309 - This module tried throw errors by calling Moose->throw_error,
310 but it did not ensure that Moose was loaded first. This could
311 cause very unhelpful errors when it tried to throw an error
312 before Moose was loaded. (Dave Rolsky)
314 * Moose::Util::TypeConstraints
315 - You could declare a name with subtype such as "Foo!Bar" that
316 would be allowed, but if you used it in a parameterized type
317 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
318 vetting on names created via the sugar functions, so that they
319 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
321 0.65 Thu, January 22, 2008
322 * Moose and Moose::Meta::Method::Overridden
323 - If an overridden method called super(), and then the
324 superclass's method (not overridden) _also_ called super(),
325 Moose went into an endless recursion loop. Test provided by
326 Chris Prather. (Dave Rolsky)
328 * Moose::Meta::TypeConstraint
329 - All methods are now documented. (gphat)
331 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
332 - Fixed some bogus failures that occurred because we tried to
333 validate filesystem paths in a very ad-hoc and
334 not-quite-correct way. (Dave Rolsky)
336 * Moose::Util::TypeConstraints
337 - Added maybe_type to exports. See docs for details. (rjbs)
340 - Added Moose::Util::TypeConstraints to the SEE ALSO
344 - Methods created via an attribute can now fulfill a "requires"
345 declaration for a role. (nothingmuch)
347 * Moose::Meta::Method::*
348 - Stack traces from inlined code will now report its line and
349 file as being in your class, as opposed to in Moose
352 0.64 Wed, December 31, 2008
353 * Moose::Meta::Method::Accessor
354 - Always inline predicate and clearer methods (Sartak)
356 * Moose::Meta::Attribute
357 - Support for parameterized traits (Sartak)
358 - verify_against_type_constraint method to avoid duplication
359 and enhance extensibility (Sartak)
362 - Tests (but no support yet) for parameterized traits (Sartak)
365 - Require Class::MOP 0.75+, which has the side effect of making
366 sure we work on Win32. (Dave Rolsky)
368 0.63 Mon, December 8, 2008
370 - Some small grammar tweaks and bug fixes in non-Moose example
373 0.62_02 Fri, December 5, 2008
374 * Moose::Meta::Role::Application::ToClass
375 - When a class does not provide all of a role's required
376 methods, the error thrown now mentions all of the missing
377 methods, as opposed to just the first one found. Requested by
378 Curtis Poe (RT #41119). (Dave Rolsky)
380 * Moose::Meta::Method::Constructor
381 - Moose will no longer inline a constructor for your class
382 unless it inherits its constructor from Moose::Object, and
383 will warn when it doesn't inline. If you want to force
384 inlining anyway, pass "replace_constructor => 1" to
385 make_immutable. Addresses RT #40968, reported by Jon
386 Swartz. (Dave Rolsky)
387 - The quoting of default values could be broken if the default
388 contained a single quote ('). Now we use quotemeta to escape
389 anything potentially dangerous in the defaults. (Dave Rolsky)
391 0.62_01 Wed, December 3, 2008
393 - use the method->execute API for BUILDALL
394 and DEMOLISHALL (Sartak)
396 * Moose::Util::TypeConstraints
397 - We now make all the type constraint meta classes immutable
398 before creating the default types provided by Moose. This
399 should make loading Moose a little faster. (Dave Rolsky)
401 0.62 Wed November 26, 2008
402 * Moose::Meta::Role::Application::ToClass
403 Moose::Meta::Role::Application::ToRole
404 - fixed issues where excluding and aliasing the
405 same methods for a single role did not work
406 right (worked just fine with multiple
408 - added test for this (stevan)
410 * Moose::Meta::Role::Application::RoleSummation
411 - fixed the error message when trying to compose
412 a role with a role it excludes (Sartak)
415 - Catch another case where recursion caused the value
416 of $CALLER to be stamped on (t0m)
417 - added test for this (t0m)
420 - Remove the make_immutable keyword, which has been
421 deprecated since April. It breaks metaclasses that
422 use Moose without no Moose (Sartak)
424 * Moose::Meta::Attribute
425 - Removing an attribute from a class now also removes delegation
426 (handles) methods installed for that attribute (t0m)
427 - added test for this (t0m)
429 * Moose::Meta::Method::Constructor
430 - An attribute with a default that looked like a number (but was
431 really a string) would accidentally be treated as a number
432 when the constructor was made immutable (perigrin)
433 - added test for this (perigrin)
436 - create method for constructing a role
438 - added test for this (Sartak)
439 - anonymous roles! (Sartak)
440 - added test for this (Sartak)
443 - more consistent error messages (Sartak)
445 * Moose::Cookbook::Roles::Recipe1
446 - attempt to explain why a role that just requires
447 methods is useful (Sartak)
449 0.61 Fri November 7, 2008
450 * Moose::Meta::Attribute
451 - When passing a role to handles, it will be loaded if necessary
455 - Method objects returned by get_method (and other methods)
456 Could end up being returned without an associated_metaclass
457 attribute. Removing get_method_map, which is provided by
458 Class::MOP::Class, fixed this. The Moose version did nothing
459 different from its parent except introduce a bug. (Dave Rolsky)
460 - added tests for this (jdv79)
463 - Added a $VERSION to all .pm files which didn't have one. Fixes
464 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
466 * Moose::Cookbook::Basics::Recipe4
467 * Moose::Cookbook::Basics::Recipe6
468 - These files had spaces on the first line of the SYNOPSIS, as
469 opposed to a totally empty line. According to RT #40432, this
470 confuses POD parsers. (Dave Rolsky)
472 0.60 Fri October 24, 2008
474 - Passing "-traits" when loading Moose caused the Moose.pm
475 exports to be broken. Reported by t0m. (Dave Rolsky)
476 - Tests for this bug. (t0m)
479 - Change resolve_metaclass alias to use the new
480 load_first_existing_class function. This makes it a lot
481 simpler, and also around 5 times faster. (t0m)
482 - Add caching to resolve_metaclass_alias, which gives an order
483 of magnitude speedup to things which repeatedly call the
484 Moose::Meta::Attribute->does method, notably MooseX::Storage
487 * Moose::Util::TypeConstraint
488 - Put back the changes for parameterized constraints that
489 shouldn't have been removed in 0.59. We still cannot parse
490 them, but MooseX modules can create them in some other
491 way. See the 0.58 changes for more details. (jnapiorkowski)
492 - Changed the way subtypes are created so that the job is
493 delegated to a type constraint parent. This clears up some
494 hardcoded checking and should allow correct subtypes of
495 Moose::Meta::Type::Constraint. Don't rely on this new API too
496 much (create_child_type) because it may go away in the
497 future. (jnapiorkowski)
499 * Moose::Meta::TypeConstraint::Union
500 - Type constraint names are sorted as strings, not numbers.
503 * Moose::Meta::TypeConstraint::Parameterizable
504 - New parameterize method. This can be used as a factory method
505 to make a new type constraint with a given parameterized
506 type. (jnapiorkowski)
507 - added tests (jnapiorkowski)
509 0.59 Tue October 14, 2008
511 - Add abridged documentation for builder/default/initializer/
512 predicate, and link to more details sections in
513 Class::MOP::Attribute. (t0m)
515 * Moose::Util::TypeConstraints
516 - removed prototypes from all but the &-based stuff (mst)
518 * Moose::Util::TypeConstraints
519 - Creating a anonymous subtype with both a constraint and a
520 message failed with a very unhelpful error, but should just
521 work. Reported by t0m. (Dave Rolsky)
524 - Some tests that used Test::Warn if it was available failed
525 with older versions of Test::Warn. Reported by Fayland. (Dave
527 - Test firing behavior of triggers in relation to builder/default/
529 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
530 kinds of supported type. (t0m)
533 - In create(), do not pass "roles" option to the superclass
534 - added related test that creates an anon metaclass with
537 * Moose::Meta::TypeConstraint::Class
538 * Moose::Meta::TypeConstraint::Role
539 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
540 other types (as per change in 0.55_02). (t0m)
542 * Moose::Meta::TypeConstraint::Registry
543 - Fix warning when dealing with unknown type names (t0m)
545 * Moose::Util::TypeConstraints
546 - Reverted changes from 0.58 related to handle parameterized
547 types. This caused random failures on BSD and Win32 systems,
548 apparently related to the regex engine. This means that Moose
549 can no longer parse structured type constraints like
550 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
551 supported in a slightly different way via MooseX::Types some
552 time in the future. (Dave Rolsky)
554 0.58 Sat September 20, 2008
555 !! This release has an incompatible change regarding !!
556 !! how roles add methods to a class !!
558 * Roles and role application
559 ! Roles now add methods by calling add_method, not
560 alias_method. They make sure to always provide a method
561 object, which will be cloned internally. This means that it is
562 now possible to track the source of a method provided by a
563 role, and even follow its history through intermediate roles.
565 This means that methods added by a role now show up when
566 looking at a class's method list/map. (Dave Rolsky)
569 - From this release on, we'll try to maintain a list of
570 conflicting modules, and warn you if you have one
571 installed. For example, this release conflicts with ...
572 - MooseX::Singleton <= 0.11
573 - MooseX::Params::Validate <= 0.05
576 In general, we try to not break backwards compatibility for
577 most Moose users, but MooseX modules and other code which
578 extends Moose's metaclasses is often affected by very small
579 changes in the Moose internals.
581 * Moose::Meta::Method::Delegation
582 * Moose::Meta::Attribute
583 - Delegation methods now have their own method class. (Dave
586 * Moose::Meta::TypeConstraint::Parameterizable
587 - Added a new method 'parameterize' which is basically a factory
588 for the containing constraint. This makes it easier to create
589 new types of parameterized constraints. (jnapiorkowski)
591 * Moose::Meta::TypeConstraint::Union
592 - Changed the way Union types canonicalize their names to follow
593 the normalized TC naming rules, which means we strip all
594 whitespace. (jnapiorkowski)
596 * Moose::Util::TypeConstraints
597 - Parameter and Union args are now sorted, this makes Int|Str
598 the same constraint as Str|Int. (jnapiorkowski)
599 - Changes to the way Union types are parsed to more correctly
600 stringify their names. (jnapiorkowski)
601 - When creating a parameterized type, we now use the new
602 parameterize method. (jnapiorkowski)
603 - Incoming type constraint strings are now normalized to remove
604 all whitespace differences. (jnapiorkowski)
605 - Changed the way we parse type constraint strings so that we now
606 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
607 constraints. This lays the foundation for more flexible type
608 constraint implementations.
610 * Tests and docs for all the above. (jnapiorkowski)
614 - Moose::Exporter will no longer remove a subroutine that the
615 exporting package re-exports. Moose re-exports the
616 Carp::confess function, among others. The reasoning is that we
617 cannot know whether you have also explicitly imported those
618 functions for your own use, so we err on the safe side and
619 always keep them. (Dave Rolsky)
620 - added tests for this (rafl)
623 - Changes to how we fix metaclass compatibility that are much
624 too complicated to go into. The summary is that Moose is much
625 less likely to complain about metaclass incompatibility
626 now. In particular, if two metaclasses differ because
627 Moose::Util::MetaRole was used on the two corresponding
628 classes, then the difference in roles is reconciled for the
629 subclass's metaclass. (Dave Rolsky)
630 - Squashed an warning in _process_attribute (thepler)
633 - throw exceptions (sooner) for invalid attribute names (thepler)
634 - added tests for this (thepler)
636 * Moose::Util::MetaRole
637 - If you explicitly set a constructor or destructor class for a
638 metaclass object, and then applied roles to the metaclass,
639 that explicitly set class would be lost and replaced with the
643 * Moose::Meta::Attribute
644 * Moose::Meta::Method
647 * Moose::Error::Default
648 * Moose::Error::Croak
649 * Moose::Error::Confess
650 - All instances of confess() changed to use overridable
651 C<throw_error> method. This method ultimately calls a class
652 constructor, and you can change the class being called. In
653 addition, errors now pass more information than just a string.
654 The default C<error_class> behaves like C<Carp::confess>, so
655 the behavior is not visibly different for end users.
657 0.57 Wed September 3, 2008
659 - A new bit of doc intended to introduce folks familiar with
660 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
663 - Shows examples of two classes, each done first with and then
664 without Moose. This makes a nice parallel to
665 Moose::Intro. (Dave Rolsky)
667 * Moose::Util::TypeConstraints
668 - Fixed a bug in find_or_parse_type_constraint so that it
669 accepts a Moose::Meta::TypeConstraint object as the parent
670 type, not just a name (jnapiorkowski)
671 - added tests (jnapiorkowski)
674 - If Sub::Name was not present, unimporting failed to actually
675 remove some sugar subs, causing test failures (Dave Rolsky)
677 0.56 Mon September 1, 2008
678 For those not following the series of dev releases, there are
679 several major changes in this release of Moose.
680 ! Moose::init_meta should now be called as a method. See the
683 - Major performance improvements by nothingmuch.
685 - New modules for extension writers, Moose::Exporter and
686 Moose::Util::MetaRole by Dave Rolsky.
688 - Lots of doc improvements and additions, especially in the
693 * Removed all references to the experimental-but-no-longer-needed
694 Moose::Meta::Role::Application::ToMetaclassInstance.
696 * Require Class::MOP 0.65.
698 0.55_04 Sat August 30, 2008
699 * Moose::Util::MetaRole
700 * Moose::Cookbook::Extending::Recipe2
701 - This simplifies the application of roles to any meta class, as
702 well as the base object class. Reimplemented metaclass traits
703 using this module. (Dave Rolsky)
705 * Moose::Cookbook::Extending::Recipe1
706 - This a new recipe, an overview of various ways to write Moose
707 extensions (Dave Rolsky)
709 * Moose::Cookbook::Extending::Recipe3
710 * Moose::Cookbook::Extending::Recipe4
711 - These used to be Extending::Recipe1 and Extending::Recipe2,
714 0.55_03 Fri August 29, 2008
715 * No changes from 0.55_02 except increasing the Class::MOP
716 dependency to 0.64_07.
718 0.55_02 Fri August 29, 2008
719 * Makefile.PL and Moose.pm
720 - explicitly require Perl 5.8.0+ (Dave Rolsky)
722 * Moose::Util::TypeConstraints
723 - Fix warnings from find_type_constraint if the type is not
726 * Moose::Meta::TypeConstraint
727 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
728 return false if the type you specify cannot be found in the
729 type registry, rather than throwing an unhelpful and
730 coincidental exception. (t0m).
731 - added docs & test for this (t0m)
733 * Moose::Meta::TypeConstraint::Registry
734 - add_type_constraint now throws an exception if a parameter is
736 - added docs & test for this (t0m)
738 * Moose::Cookbook::FAQ
739 - Added a faq entry on the difference between "role" and "trait"
743 - Fixed a bug that caused role composition to not see a required
744 method when that method was provided by another role being
745 composed at the same time. (Dave Rolsky)
746 - test and bug finding (tokuhirom)
748 0.55_01 Wed August 20, 2008
750 !! Calling Moose::init_meta as a function is now !!
751 !! deprecated. Please see the Moose.pm docs for details. !!
753 * Moose::Meta::Method::Constructor
754 - Fix inlined constructor so that values produced by default
755 or builder methods are coerced as required. (t0m)
756 - added test for this (t0m)
758 * Moose::Meta::Attribute
759 - A lazy attribute with a default or builder did not attempt to
760 coerce the default value. The immutable code _did_
762 - added test for this (t0m)
765 - This is a new helper module for writing "Moose-alike"
766 modules. This should make the lives of MooseX module authors
767 much easier. (Dave Rolsky)
770 * Moose::Cookbook::Meta::Recipe5
771 - Implemented metaclass traits (and wrote a recipe for it):
773 use Moose -traits => 'Foo'
775 This should make writing small Moose extensions a little
778 * Moose::Cookbook::Basics::Recipe1
779 - Removed any examples of direct hashref access, and applied an
780 editorial axe to reduce verbosity. (Dave Rolsky)
782 * Moose::Cookbook::Basics::Recipe1
783 - Also applied an editorial axe here. (Dave Rolsky)
786 * Moose::Cookbook::Extending::Recipe1
787 * Moose::Cookbook::Extending::Recipe2
788 - Rewrote extending and embedding moose documentation and
789 recipes to use Moose::Exporter (Dave Rolsky)
793 - These two modules now warn when you load them from the main
794 package "main" package, because we will not export sugar to
795 main. Previously it just did nothing. (Dave Rolsky)
798 - Now provide an init_meta method just like Moose.pm, and you
799 can call this to provide an alternate role metaclass. (Dave
800 Rolsky and nothingmuch)
801 - get_method_map now respects the package cache flag (nothingmuch)
804 - Two new methods - add_method and wrap_method_body
808 - Optimizations including allowing constructors to accept hash
809 refs, making many more classes immutable, and making
810 constructors immutable. (nothingmuch)
812 0.55 Sun August 3, 2008
813 * Moose::Meta::Attribute
814 - breaking down the way 'handles' methods are
815 created so that the process can be more easily
816 overridden by subclasses (stevan)
818 * Moose::Meta::TypeConstraint
819 - fixing what is passed into a ->message with
820 the type constraints (RT #37569)
821 - added tests for this (Charles Alderman)
823 * Moose::Util::TypeConstraints
824 - fix coerce to accept anon types like subtype can (mst)
827 - reorganized the recipes into sections - Basics, Roles, Meta,
828 Extending - and wrote abstracts for each section (Dave Rolsky)
830 * Moose::Cookbook::Basics::Recipe10
831 - A new recipe that demonstrates operator overloading
832 in combination with Moose. (bluefeet)
834 * Moose::Cookbook::Meta::Recipe1
835 - an introduction to what meta is and why you'd want to make
836 your own metaclass extensions (Dave Rolsky)
838 * Moose::Cookbook::Meta::Recipe4
839 - a very simple metaclass example (Dave Rolsky)
841 * Moose::Cookbook::Extending::Recipe1
842 - how to write a Moose-alike module to use your own object base
845 * Moose::Cookbook::Extending::Recipe2
846 - how to write modules with an API just like C<Moose.pm> (Dave
850 - Tons of fixes, both syntactical and grammatical (Dave
851 Rolsky, Paul Fenwick)
853 0.54 Thurs. July 3, 2008
854 ... this is not my day today ...
856 * Moose::Meta::Attribute
857 - fixed legal_options_for_inheritance such that
858 clone_and_inherit options still works for
859 Class::MOP::Attribute objects and therefore
860 does not break MooseX::AttributeHelpers
863 0.53 Thurs. July 3, 2008
864 * Whoops, I guess I should run 'make manifest' before
865 actually releasing the module. No actual changes
866 in this release, except the fact that it includes
867 the changes that I didn't include in the last
870 0.52 Thurs. July 3, 2008
872 - added "FEATURE REQUESTS" section to the Moose docs
873 to properly direct people (stevan) (RT #34333)
874 - making 'extends' croak if it is passed a Role since
875 this is not ever something you want to do
876 (fixed by stevan, found by obra)
877 - added tests for this (stevan)
880 - adding support for DOES (as in UNIVERSAL::DOES)
882 - added test for this
884 * Moose::Meta::Attribute
885 - added legal_options_for_inheritance (wreis)
886 - added tests for this (wreis)
888 * Moose::Cookbook::Snacks::*
889 - removed some of the unfinished snacks that should
890 not have been released yet. Added some more examples
891 to the 'Keywords' snack. (stevan)
893 * Moose::Cookbook::Style
894 - added general Moose "style guide" of sorts to the
895 cookbook (nothingmuch) (RT #34335)
898 - added more BUILDARGS tests (stevan)
900 0.51 Thurs. Jun 26, 2008
902 - add unimport so "no Moose::Role" actually does
905 * Moose::Meta::Role::Application::ToRole
906 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
907 order to provide its own implementation, that method still got
908 added to the list of required methods for consumers of
909 RoleB. Now an aliased method is only added to the list of
910 required methods if the role doing the aliasing does not
911 provide its own implementation. See Recipe 11 for an example
912 of all this. (Dave Rolsky)
913 - added tests for this
915 * Moose::Meta::Method::Constructor
916 - when a single argument that wasn't a hashref was provided to
917 an immutabilized constructor, the error message was very
918 unhelpful, as opposed to the non-immutable error. Reported by
920 - added test for this (Dave Rolsky)
922 * Moose::Meta::Attribute
923 - added support for meta_attr->does("ShortAlias") (sartak)
924 - added tests for this (sartak)
925 - moved the bulk of the `handles` handling to the new
926 install_delegation method (Stevan)
929 - Added BUILDARGS, a new step in new()
931 * Moose::Meta::Role::Application::RoleSummation
932 - fix typos no one ever sees (sartak)
934 * Moose::Util::TypeConstraints
935 * Moose::Meta::TypeConstraint
936 * Moose::Meta::TypeCoercion
937 - Attempt to work around the ??{ } vs. threads issue
939 - Some null_constraint optimizations
941 0.50 Thurs. Jun 11, 2008
942 - Fixed a version number issue by bumping all modules
945 0.49 Thurs. Jun 11, 2008
946 !! This version now approx. 20-25% !!
947 !! faster with new Class::MOP 0.59 !!
949 * Moose::Meta::Attribute
950 - fixed how the is => (ro|rw) works with
951 custom defined reader, writer and accessor
953 - added docs for this (TODO).
954 - added tests for this (Thanks to Penfold)
955 - added the custom attribute alias for regular
956 Moose attributes which is "Moose"
957 - fix builder and default both being used
962 Moose::Meta::Attribute
964 Moose::Meta::Role::Composite
965 Moose::Util::TypeConstraints
966 - switched usage of reftype to ref because
970 - changing add_package_symbol to use the new
974 - fixed how DEMOLISHALL is called so that it
975 can be overrided in subclasses (thanks to Sartak)
976 - added test for this (thanks to Sartak)
978 * Moose::Util::TypeConstraints
979 - move the ClassName type check code to
980 Class::MOP::is_class_loaded (thanks to Sartak)
982 * Moose::Cookbook::Recipe11
983 - add tests for this (thanks to tokuhirom)
985 0.48 Thurs. May 29, 2008
986 (early morning release engineering)--
988 - fixing the version in Moose::Meta::Method::Destructor
989 which was causing the indexer to choke
991 0.47 Thurs. May 29, 2008
992 (late night release engineering)--
994 - fixing the version is META.yml, no functional
995 changes in this release
997 0.46 Wed. May 28, 2008
998 !! This version now approx. 20-25% !!
999 !! faster with new Class::MOP 0.57 !!
1001 * Moose::Meta::Class
1002 - some optimizations of the &initialize method
1003 since it is called so often by &meta
1005 * Moose::Meta::Class
1007 - now use the get_all_package_symbols from the
1008 updated Class::MOP, test suite is now 10 seconds
1011 * Moose::Meta::Method::Destructor
1012 - is_needed can now also be called as a class
1013 method for immutablization to check if the
1014 destructor object even needs to be created
1017 * Moose::Meta::Method::Destructor
1018 Moose::Meta::Method::Constructor
1019 - added more descriptive error message to help
1020 keep people from wasting time tracking an error
1021 that is easily fixed by upgrading.
1023 0.45 Saturday, May 24, 2008
1025 - Because of work in Class::MOP 0.57, all
1026 XS based functionality is now optional
1027 and a Pure Perl version is supplied
1028 - the CLASS_MOP_NO_XS environment variable
1029 can now be used to force non-XS versions
1031 - several of the packages have been tweaked
1032 to take care of this, mostly we added
1033 support for the package_name and name
1034 variables in all the Method metaclasses
1035 - before/around/after method modifiers now
1036 support regexp matching of names
1037 (thanks to Takatoshi Kitano)
1038 - tests added for this
1039 - NOTE: this only works for classes, it
1040 is currently not supported in roles,
1041 but, ... patches welcome
1042 - All usage of Carp::confess have been replaced
1043 by Carp::croak in the "keyword" functions since
1044 the stack trace is usually not helpful
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
1050 - The 'has' keyword for roles now accepts the
1051 same array ref form that Moose.pm does
1052 (has [qw/foo bar/] => (is => 'rw', ...))
1053 - added test for this
1055 * Moose::Meta::Attribute
1056 - trigger on a ro-attribute is no longer an
1057 error, as it's useful to trigger off of the
1060 * Moose::Meta::Class
1061 - added same 'add_package_symbol' fix as in
1065 - does_role now handles non-Moose classes
1067 - added tests for this
1068 - added the 'add_method_modifier' function
1069 (thanks to Takatoshi Kitano)
1071 * Moose::Util::TypeConstraints
1072 - subtypes of parameterizable types now are
1073 themselves parameterizable types
1075 * Moose::Meta::Method::Constructor
1076 - fixed bug where trigger was not being
1077 called by the inlined immutable
1079 - added test for this (thanks to Caelum)
1081 * Moose::Meta::Role::Application::ToInstance
1082 - now uses the metaclass of the instance
1083 (if possible) to create the anon-class
1084 (thanks Jonathan Rockway)
1086 * Moose::Cookbook::Recipe22
1087 - added the meta-attribute trait recipe
1091 - fixed hash-ordering test bug that was
1092 causing occasional cpantester failures
1093 - renamed the t/000_recipe/*.t tests to be
1094 more descriptive (thanks to Sartak)
1096 0.44 Sat. May 10, 2008
1098 - made make_immutable warning cluck to
1099 show where the error is (thanks mst)
1102 - BUILDALL and DEMOLISHALL now call
1103 ->body when looping through the
1104 methods, to avoid the overloaded
1106 - fixed issue where DEMOLISHALL was
1107 eating the $@ values, and so not
1108 working correctly, it still kind of
1109 eats them, but so does vanilla perl
1110 - added tests for this
1112 * Moose::Cookbook::Recipe7
1113 - added new recipe for immutable
1114 functionality (thanks Dave Rolsky)
1116 * Moose::Cookbook::Recipe9
1117 - added new recipe for builder and
1118 lazy_build (thanks Dave Rolsky)
1120 * Moose::Cookbook::Recipe11
1121 - added new recipe for method aliasing
1122 and exclusion with Roles (thanks Dave Rolsky)
1125 - fixed Win32 test failure (thanks spicyjack)
1127 ~ removed Build.PL and Module::Build compat
1128 since Module::Install has done that.
1130 0.43 Wed. April, 30, 2008
1132 drink more coffee before
1133 doing release engineering
1135 - whoops, forgot to do the smolder tests,
1136 and we broke some of the custom meta-attr
1137 modules. This fixes that.
1139 0.42 Mon. April 28, 2008
1140 - some bad tests slipped by, nothing else
1141 changed in this release (cpantesters++)
1143 - upped the Class::MOP dependency to 0.55
1144 since we have tests which need the C3
1147 0.41 Mon. April 28, 2008
1148 ~~ numerous documentation updates ~~
1150 - Changed all usage of die to Carp::croak for better
1151 error reporting (initial patch by Tod Hagan)
1153 ** IMPORTANT NOTE **
1154 - the make_immutable keyword is now deprecated, don't
1155 use it in any new code and please fix your old code
1156 as well. There will be 2 releases, and then it will
1162 - refactored the way inner and super work to avoid
1163 any method/@ISA cache penalty (nothingmuch)
1165 * Moose::Meta::Class
1166 - fixing &new_object to make sure trigger gets the
1167 coerced value (spotted by Charles Alderman on the
1169 - added test for this
1171 * Moose::Meta::Method::Constructor
1172 - immutable classes which had non-lazy attributes were calling
1173 the default generating sub twice in the constructor. (bug
1174 found by Jesse Luehrs, fixed by Dave Rolsky)
1175 - added tests for this (Dave Rolsky)
1176 - fix typo in initialize_body method (nothingmuch)
1178 * Moose::Meta::Method::Destructor
1179 - fix typo in initialize_body method (nothingmuch)
1181 * Moose::Meta::Method::Overriden
1182 Moose::Meta::Method::Augmented
1183 - moved the logic for these into their own
1184 classes (nothingmuch)
1186 * Moose::Meta::Attribute
1187 - inherited attributes may now be extended without
1188 restriction on the type ('isa', 'does') (Sartak)
1189 - added tests for this (Sartak)
1190 - when an attribute property is malformed (such as lazy without
1191 a default), give the name of the attribute in the error
1193 - added the &applied_traits and &has_applied_traits methods
1194 to allow introspection of traits
1195 - added tests for this
1196 - moved 'trait' and 'metaclass' argument handling to here from
1198 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1199 '+foo' syntax) (nothingmuch)
1200 - added tests for this (t0m)
1203 - localize $@ inside DEMOLISHALL to avoid it
1204 eating $@ (found by Ernesto)
1205 - added test for this (thanks to Ernesto)
1207 * Moose::Util::TypeConstraints
1208 - &find_type_constraint now DWIMs when given an
1209 type constraint object or name (nothingmuch)
1210 - &find_or_create_type_constraint superseded with a number of more
1212 - find_or_create_{isa,does}_type_constraint
1213 - find_or_parse_type_constraint
1215 * Moose::Meta::TypeConstraint
1216 Moose::Meta::TypeConstraint::Class
1217 Moose::Meta::TypeConstraint::Role
1218 Moose::Meta::TypeConstraint::Enum
1219 Moose::Meta::TypeConstraint::Union
1220 Moose::Meta::TypeConstraint::Parameterized
1221 - added the &equals method for comparing two type
1222 constraints (nothingmuch)
1223 - added tests for this (nothingmuch)
1225 * Moose::Meta::TypeConstraint
1226 - add the &parents method, which is just an alias to &parent.
1227 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1229 * Moose::Meta::TypeConstraint::Class
1230 - added the class attribute for introspection purposes
1232 - added tests for this
1234 * Moose::Meta::TypeConstraint::Enum
1235 Moose::Meta::TypeConstraint::Role
1236 - broke these out into their own classes (nothingmuch)
1238 * Moose::Cookbook::Recipe*
1239 - fixed references to test file locations in the POD
1240 and updated up some text for new Moose features
1244 - Added &resolve_metaclass_alias, a helper function for finding an actual
1245 class for a short name (e.g. in the traits list)
1247 0.40 Fri. March 14, 2008
1248 - I hate Pod::Coverage
1250 0.39 Fri. March 14, 2008
1252 - documenting the use of '+name' with attributes
1253 that come from recently composed roles. It makes
1254 sense, people are using it, and so why not just
1255 officially support it.
1256 - fixing the 'extends' keyword so that it will not
1257 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1260 - added the perl -Moose=+Class::Name feature to allow
1261 monkeypatching of classes in one liners
1264 - fixing the 'apply_all_roles' keyword so that it will not
1265 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1267 * Moose::Meta::Class
1268 - added ->create method which now supports roles (thanks to jrockway)
1269 - added tests for this
1270 - added ->create_anon_class which now supports roles and caching of
1271 the results (thanks to jrockway)
1272 - added tests for this
1273 - made ->does_role a little more forgiving when it is
1274 checking a Class::MOP era metaclasses.
1276 * Moose::Meta::Role::Application::ToInstance
1277 - it is now possible to pass extra params to be used when
1278 a role is applied to an the instance (rebless_params)
1279 - added tests for this
1281 * Moose::Util::TypeConstraints
1282 - class_type now accepts an optional second argument for a
1283 custom message. POD anotated accordingly (groditi)
1284 - added tests for this
1285 - it is now possible to make anon-enums by passing 'enum' an
1286 ARRAY ref instead of the $name => @values. Everything else
1288 - added tests for this
1291 - making test for using '+name' on attributes consumed
1292 from a role, it works and makes sense too.
1294 * Moose::Meta::Attribute
1295 - fix handles so that it doesn't return nothing
1296 when the method cannot be found, not sure why
1297 it ever did this originally, this means we now
1298 have slightly better support for AUTOLOADed
1300 - added more delegation tests
1301 - adding ->does method to this so as to better
1302 support traits and their introspection.
1303 - added tests for this
1306 - localizing the Data::Dumper configurations so
1307 that it does not pollute others (RT #33509)
1308 - made ->does a little more forgiving when it is
1309 passed Class::MOP era metaclasses.
1311 0.38 Fri. Feb. 15, 2008
1312 * Moose::Meta::Attribute
1313 - fixed initializer to correctly do
1314 type checking and coercion in the
1316 - added tests for this
1319 - fixed some finicky tests (thanks to konobi)
1321 0.37 Thurs. Feb. 14, 2008
1323 - fixed some details in Moose::init_meta
1324 and its superclass handling (thanks thepler)
1325 - added tests for this (thanks thepler)
1326 - 'has' now dies if you don't pass in name
1328 - added the 'make_immutable' keyword as a shortcut
1331 * Moose::Meta::Class
1332 Moose::Meta::Method::Constructor
1333 Moose::Meta::Attribute
1334 - making (init_arg => undef) work here too
1335 (thanks to nothingmuch)
1337 * Moose::Meta::Attribute
1338 Moose::Meta::Method::Constructor
1339 Moose::Meta::Method::Accessor
1340 - make lazy attributes respect attr initializers (rjbs)
1341 - added tests for this
1343 * Moose::Util::TypeConstraints
1344 Moose::Util::TypeConstraints::OptimizedConstraints
1345 Moose::Meta::TypeConstraints
1346 Moose::Meta::Attribute
1347 Moose::Meta::Method::Constructor
1348 Moose::Meta::Method::Accessor
1349 - making type errors use the
1350 assigned message (thanks to Sartak)
1351 - added tests for this
1353 * Moose::Meta::Method::Destructor
1354 - making sure DESTROY gets inlined properly
1355 with successive DEMOLISH calls (thanks to manito)
1357 * Moose::Meta::Attribute
1358 Moose::Meta::Method::Accessor
1359 - fixed handling of undef with type constraints
1361 - added tests for this
1364 - added &get_all_init_args and &get_all_attribute_values
1365 (thanks to Sartak and nothingmuch)
1367 0.36 Sat. Jan. 26, 2008
1369 Moose::Meta::Attribute
1370 - role type tests now support when roles are
1371 applied to non-Moose classes (found by ash)
1372 - added tests for this (thanks to ash)
1373 - couple extra tests to boost code coverage
1375 * Moose::Meta::Method::Constructor
1376 - improved fix for handling Class::MOP attributes
1377 - added test for this
1379 * Moose::Meta::Class
1380 - handled the add_attribute($attribute_meta_object)
1382 - added test for this
1384 0.35 Tues. Jan. 22, 2008
1385 * Moose::Meta::Method::Constructor
1386 - fix to make sure even Class::MOP attributes
1387 are handled correctly (Thanks to Dave Rolsky)
1388 - added test for this (also Dave Rolsky)
1390 * Moose::Meta::Class
1391 - improved error message on _apply_all_roles,
1392 you should now use Moose::Util::apply_all_roles
1393 and you shouldnt have been using a _ prefixed
1394 method in the first place ;)
1396 0.34 Mon. Jan. 21, 2008
1397 ~~~ more misc. doc. fixes ~~~
1398 ~~ updated copyright dates ~~
1400 Moose is now a postmodern object system :)
1401 - (see the POD for details)
1403 * <<Role System Refactoring>>
1404 - this release contains a major reworking and
1405 cleanup of the role system
1406 - 100% backwards compat.
1407 - Role application now restructured into seperate
1408 classes based on type of applicants
1409 - Role summation (combining of more than one role)
1410 is much cleaner and anon-classes are no longer
1411 used in this process
1412 - new Composite role metaclass
1413 - runtime application of roles to instances
1414 is now more efficient and re-uses generated
1415 classes when applicable
1417 * <<New Role composition features>>
1418 - methods can now be excluded from a given role
1420 - methods can now be aliased to another name (and
1421 still retain the original as well)
1423 * Moose::Util::TypeConstraints::OptimizedConstraints
1424 - added this module (see above)
1426 * Moose::Meta::Class
1427 - fixed the &_process_attribute method to be called
1428 by &add_attribute, so that the API is now correct
1430 * Moose::Meta::Method::Accessor
1431 - fixed bug when passing a list of values to
1432 an accessor would get (incorrectly) ignored.
1433 Thanks to Sartak for finding this ;)
1434 - added tests for this (Sartak again)
1436 * Moose::Meta::Method::Accessor
1437 Moose::Meta::Method::Constructor
1438 Moose::Meta::Attribute
1439 Moose::Meta::TypeConstraint
1440 Moose::Meta::TypeCoercion
1441 - lots of cleanup of such things as:
1443 - type constraint handling
1444 - error handling/messages
1445 (thanks to nothingmuch)
1447 * Moose::Meta::TypeConstraint::Parameterizable
1448 - added this module to support the refactor
1449 in Moose::Meta::TypeConstraint::Parameterized
1451 * Moose::Meta::TypeConstraint::Parameterized
1452 - refactored how these types are handled so they
1453 are more generic and not confined to ArrayRef
1457 - shortened some file names for better VMS support (RT #32381)
1459 0.33 Fri. Dec. 14, 2007
1460 !! Moose now loads 2 x faster !!
1461 !! with new Class::MOP 0.49 !!
1463 ++ new oose.pm module to make command line
1464 Moose-ness easier (see POD docs for more)
1466 * Moose::Meta::Class
1468 - several tweaks to take advantage of the
1469 new method map caching in Class::MOP
1471 * Moose::Meta::TypeConstraint::Parameterized
1472 - allow subtypes of ArrayRef and HashRef to
1473 be used as a container (sartak)
1474 - added tests for this
1475 - basic support for coercion to ArrayRef and
1476 HashRef for containers (sartak)
1477 - added tests for this
1479 * Moose::Meta::TypeCoercion
1480 - coercions will now create subtypes as needed
1481 so you can now add coercions to parameterized
1482 types without having to explictly define them
1483 - added tests for this
1485 * Moose::Meta::Method::Accessor
1486 - allow subclasses to decide whether we need
1487 to copy the value into a new variable (sartak)
1489 0.32 Tues. Dec. 4, 2007
1490 * Moose::Util::TypeConstraints
1491 - fixing how subtype aliases of unions work
1492 they should inherit the parent's coercion
1493 - added tests for this
1494 - you can now define multiple coercions on
1495 a single type at different times instead of
1496 having to do it all in one place
1497 - added tests for this
1499 * Moose::Meta::TypeConstraint
1500 - there is now a default constraint of sub { 1 }
1501 instead of Moose::Util::TypeConstraints setting
1504 * Moose::Meta::TypeCoercion
1505 * Moose::Meta::TypeCoercion::Union
1506 - added the &has_coercion_for_type and
1507 &add_type_coercions methods to support the
1508 new features above (although you cannot add
1509 more type coercions for Union types)
1511 0.31 Mon. Nov. 26, 2007
1512 * Moose::Meta::Attribute
1513 - made the +attr syntax handle extending types with
1514 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1515 now works if the original foo is an ArrayRef.
1516 - added tests for this.
1517 - delegation now works even if the attribute does not
1518 have a reader method using the get_read_method_ref
1519 method from Class::MOP::Attribute.
1520 - added tests for this
1521 - added docs for this
1523 * Moose::Util::TypeConstraints
1524 - passing no "additional attribute info" to
1525 &find_or_create_type_constraint will no longer
1526 attempt to create an __ANON__ type for you,
1527 instead it will just return undef.
1528 - added docs for this
1530 0.30 Fri. Nov. 23, 2007
1531 * Moose::Meta::Method::Constructor
1532 -builder related bug in inlined constructor. (groditi)
1534 * Moose::Meta::Method::Accessor
1535 - genereate unnecessary calls to predicates and refactor
1536 code generation for runtime speed (groditi)
1538 * Moose::Util::TypeConstraints
1539 - fix ClassName constraint to introspect symbol table (mst)
1540 - added more tests for this (mst)
1541 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1542 with work correctly.
1543 - added tests for this
1546 - adding the link to Recipie 11 (written by Sartak)
1547 - adding test for SYNOPSIS code
1550 - New tests for builder bug. Upon instantiation, if an
1551 attribute had a builder, no value and was not lazy the
1552 builder default was not getting run, oops. (groditi)
1554 0.29 Tues. Nov. 13, 2007
1555 * Moose::Meta::Attribute
1556 - Fix error message on missing builder method (groditi)
1558 * Moose::Meta::Method::Accessor
1559 - Fix error message on missing builder method (groditi)
1562 - Add test to check for the correct error message when
1563 builder method is missing (groditi)
1565 0.28 Tues. Nov. 13, 2007
1566 - 0.27 packaged incorrectly (groditi)
1568 0.27 Tues. Nov. 13, 2007
1569 * Moose::Meta::Attribute
1570 - Added support for the new builder option (groditi)
1571 - Added support for lazy_build option (groditi)
1572 - Changed slot initialization for predicate changes (groditi)
1574 * Moose::Meta::Method::Accessor
1575 - Added support for lazy_build option (groditi)
1576 - Fix inline methods to work with corrected predicate
1579 * Moose::Meta::Method::Constructor
1580 - Added support for lazy_build option (groditi)
1583 - tests for builder and lazy_build (groditi)
1585 * fixing some misc. bits in the docs that
1586 got mentioned on CPAN Forum & perlmonks
1589 - fixed how required methods are handled
1590 when they encounter overriden or modified
1591 methods from a class (thanks to confound).
1592 - added tests for this
1594 * Moose::Util::TypeConstraint
1595 - fixed the type notation parser so that
1596 the | always creates a union and so is
1597 no longer a valid type char (thanks to
1598 konobi, mugwump and #moose for working
1600 - added more tests for this
1602 0.26 Thurs. Sept. 27, 2007
1605 * Parameterized Types
1606 We now support parameterized collection types, such as:
1607 ArrayRef[Int] # array or integers
1608 HashRef[Object] # a hash with object values
1609 They can also be nested:
1610 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1611 And work with the type unions as well:
1612 ArrayRef[Int | Str] # array of integers of strings
1614 * Better Framework Extendability
1615 Moose.pm is now "extendable" such that it is now much
1616 easier to extend the framework and add your own keywords
1617 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1618 section of the Moose.pm docs.
1621 In an effort to begin documenting some of the various
1622 details of Moose as well as some common idioms, we have
1623 created Moose::Cookbook::Snacks as a place to find
1624 small (easily digestable) nuggets of Moose code.
1627 ~ Several doc updates/cleanup thanks to castaway ~
1629 - converted build system to use Module::Install instead of
1630 Module::Build (thanks to jrockway)
1633 - added all the meta classes to the immutable list and
1634 set it to inline the accessors
1635 - fix import to allow Sub::Exporter like { into => }
1636 and { into_level => } (perigrin)
1637 - exposed and documented init_meta() to allow better
1638 embedding and extending of Moose (perigrin)
1641 - complete re-organization of the test suite
1642 - added some new tests as well
1643 - finally re-enabled the Moose::POOP test since
1644 the new version of DBM::Deep now works again
1647 * Moose::Meta::Class
1648 - fixed very odd and very nasty recursion bug with
1650 - added tests for this (eilara)
1652 * Moose::Meta::Attribute
1653 Moose::Meta::Method::Constructor
1654 Moose::Meta::Method::Accessor
1655 - fixed issue with overload::Overloaded getting called
1656 on non-blessed items. (RT #29269)
1657 - added tests for this
1659 * Moose::Meta::Method::Accessor
1660 - fixed issue with generated accessor code making
1661 assumptions about hash based classes (thanks to dexter)
1663 * Moose::Coookbook::Snacks
1664 - these are bits of documentation, not quite as big as
1665 Recipes but which have no clear place in the module docs.
1666 So they are Snacks! (horray for castaway++)
1668 * Moose::Cookbook::Recipe4
1669 - updated it to use the new ArrayRef[MyType] construct
1670 - updated the accompanying test as well
1672 +++ Major Refactor of the Type Constraint system +++
1673 +++ with new features added as well +++
1675 * Moose::Util::TypeConstraint
1676 - no longer uses package variable to keep track of
1677 the type constraints, now uses the an instance of
1678 Moose::Meta::TypeConstraint::Registry to do it
1679 - added more sophisticated type notation parsing
1681 - added tests for this
1683 * Moose::Meta::TypeConstraint
1684 - some minor adjustments to make subclassing easier
1685 - added the package_defined_in attribute so that we
1686 can track where the type constraints are created
1688 * Moose::Meta::TypeConstraint::Union
1689 - this is now been refactored to be a subclass of
1690 Moose::Meta::TypeConstraint
1692 * Moose::Meta::TypeCoercion::Union
1693 - this has been added to service the newly refactored
1694 Moose::Meta::TypeConstraint::Union and is itself
1695 a subclass of Moose::Meta::TypeCoercion
1697 * Moose::Meta::TypeConstraint::Parameterized
1698 - added this module (taken from MooseX::AttributeHelpers)
1699 to help construct nested collection types
1700 - added tests for this
1702 * Moose::Meta::TypeConstraint::Registry
1703 - added this class to keep track of type constraints
1705 0.25 Mon. Aug. 13, 2007
1707 - Documentation update to reference Moose::Util::TypeConstraints
1708 under 'isa' in 'has' for how to define a new type
1709 (thanks to shlomif).
1711 * Moose::Meta::Attribute
1712 - required attributes now will no longer accept undef
1713 from the constructor, even if there is a default and lazy
1714 - added tests for this
1715 - default subroutines must return a value which passes the
1717 - added tests for this
1719 * Moose::Meta::Attribute
1720 * Moose::Meta::Method::Constructor
1721 * Moose::Meta::Method::Accessor
1722 - type-constraint tests now handle overloaded objects correctly
1723 in the error message
1724 - added tests for this (thanks to EvanCarroll)
1726 * Moose::Meta::TypeConstraint::Union
1727 - added (has_)hand_optimized_constraint to this class so that
1728 it behaves as the regular Moose::Meta::TypeConstraint does.
1731 - large refactoring of this code
1732 - added several more tests
1733 - tests for subtle conflict resolition issues
1734 added, but not currently running
1737 * Moose::Cookbook::Recipe7
1738 - added new recipe for augment/inner functionality
1740 - added test for this
1743 - a formal definition of roles (still in progress)
1746 - utilities for easier working with Moose classes
1747 - added tests for these
1750 - This contains Moose specific test functions
1751 - added tests for these
1753 0.24 Tues. July 3, 2007
1754 ~ Some doc updates/cleanup ~
1756 * Moose::Meta::Attribute
1757 - added support for roles to be given as parameters
1758 to the 'handles' option.
1759 - added tests and docs for this
1760 - the has '+foo' attribute form now accepts changes to
1761 the lazy option, and the addition of a handles option
1762 (but not changing the handles option)
1763 - added tests and docs for this
1766 - required methods are now fetched using find_method_by_name
1767 so that required methods can come from superclasses
1768 - adjusted tests for this
1770 0.23 Mon. June 18, 2007
1771 * Moose::Meta::Method::Constructor
1772 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1773 * Moose::Meta::Class
1774 - Modify make_immutable to work with the new Class::MOP immutable
1775 mechanism + POD + very basic test (groditi)
1776 * Moose::Meta::Attribute
1777 - Fix handles to use goto() so that caller() comes out properly on
1778 the other side (perigrin)
1780 0.22 Thurs. May 31, 2007
1781 * Moose::Util::TypeConstraints
1782 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1783 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1784 prototypes for functions
1785 - added the ClassName type constraint, this checks for strings
1786 which will respond true to ->isa(UNIVERSAL).
1787 - added tests and docs for this
1788 - subtyping just in name now works correctly by making the
1789 default for where be { 1 }
1790 - added test for this
1792 * Moose::Meta::Method::Accessor
1793 - coerce and lazy now work together correctly, thanks to
1794 merlyn for finding this bug
1795 - tests added for this
1796 - fix reader presedence bug in Moose::Meta::Attribute + tests
1799 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1800 a HASH-ref and missed. This produces better error messages then
1801 having it die cause undef is not a HASH.
1802 - added tests for this
1804 0.21 Thursday, May 2nd, 2007
1806 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1807 - modified unimport to remove super and inner along with the rest
1808 - altered unimport tests to handle this
1811 - altered super export to populate SUPER_SLOT
1813 * Moose::Meta::Class
1814 - altered augment and override modifier application to use *_SLOT
1815 - modified tests for these to unimport one test class each to test
1818 - fixed issue where custom attribute metaclasses
1819 where not handled correctly in roles
1820 - added tests for this
1822 * Moose::Meta::Class
1823 - fixed issue where extending metaclasses with
1824 roles would blow up. Thanks to Aankhen`` for
1825 finding this insidious error, and it's solution.
1827 ~~ lots of spelling and grammer fixes in the docs,
1828 many many thanks to rlb3 and Aankhen for these :)
1830 0.20 Friday, April 6th, 2007
1831 >> I messed up the SKIP logic in one test
1832 so this release is just to fix that.
1835 - 'has' now also accepts an ARRAY ref
1836 to create multiple attrs (see docs)
1837 (thanks to konobi for this)
1838 - added tests and docs
1840 0.19 Thurs. April 5th, 2007
1841 ~~ More documentation updates ~~
1843 * Moose::Util::TypeConstraints
1844 - 'type' now supports messages as well
1845 thanks to phaylon for finding this
1846 - added tests for this
1847 - added &list_all_type_constraints and
1848 &list_all_builtin_type_constraints
1849 functions to facilitate introspection.
1851 * Moose::Meta::Attribute
1852 - fixed regexp 'handles' declarations
1853 to build the list of delegated methods
1854 correctly (and not override important
1855 things like &new) thanks to ashleyb
1857 - added tests and docs for this
1858 - added the 'documentation' attributes
1859 so that you can actually document your
1860 attributes and inspect them through the
1862 - added tests and docs for this
1864 * Moose::Meta::Class
1865 - when loading custom attribute metaclasses
1866 it will first look in for the class in the
1867 Moose::Meta::Attribute::Custom::$name, and
1868 then default to just loading $name.
1869 - added tests and docs for this
1871 * Moose::Meta::TypeConstraint
1872 - type constraints now stringify to their names.
1873 - added test for this
1876 - added tests to assure we work with Module::Refresh
1877 - added stricter test skip logic in the Moose POOP
1878 test, ask Rob Kinyon why.
1879 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1881 0.18 Sat. March 10, 2007
1882 ~~ Many, many documentation updates ~~
1885 - We now use Class::MOP::load_class to
1887 - added tests to show types and subtypes
1888 working with Declare::Constraints::Simple
1889 and Test::Deep as constraint engines.
1892 !! You must have Class::MOP 0.37_001 !!
1893 !! for this developer release to work !!
1895 This release was primarily adding the immutable
1896 feature to Moose. An immutable class is one which
1897 you promise not to alter. When you set the class
1898 as immutable it will perform various bits of
1899 memoization and inline certain part of the code
1900 (constructors, destructors and accessors). This
1901 minimizes (and in some cases totally eliminates)
1902 one of Moose's biggest performance hits. This
1903 feature is not on by default, and is 100% optional.
1904 It has several configurable bits as well, so you
1905 can pick and choose to your specific needs.
1907 The changes involved in this were fairly wide and
1908 highly specific, but 100% backwards compatible, so
1909 I am not going to enumerate them here. If you are
1910 truely interested in what was changed, please do
1913 0.17 Tues. Nov. 14, 2006
1914 * Moose::Meta::Method::Accessor
1915 - bugfix for read-only accessors which
1916 are have a type constraint and lazy.
1917 Thanks to chansen for finding it.
1919 0.16 Tues. Nov. 14, 2006
1921 There are some speed improvements in this release,
1922 but they are only the begining, so stay tuned.
1925 - BUILDALL and DEMOLISHALL no longer get
1926 called unless they actually need to be.
1927 This gave us a signifigant speed boost
1928 for the cases when there is no BUILD or
1929 DEMOLISH method present.
1931 * Moose::Util::TypeConstraints
1932 * Moose::Meta::TypeConstraint
1933 - added an 'optimize_as' option to the
1934 type constraint, which allows for a
1935 hand optimized version of the type
1936 constraint to be used when possible.
1937 - Any internally created type constraints
1938 now provide an optimized version as well.
1940 0.15 Sun. Nov. 5, 2006
1942 This version of Moose *must* have Class::MOP 0.36 in order
1943 to work correctly. A number of small internal tweaks have
1944 been made in order to be compatible with that release.
1946 * Moose::Util::TypeConstraints
1947 - added &unimport so that you can clean out
1948 your class namespace of these exported
1951 * Moose::Meta::Class
1952 - fixed minor issue which occasionally
1953 comes up during global destruction
1955 - moved Moose::Meta::Method::Overriden into
1959 - moved Moose::Meta::Role::Method into
1962 * Moose::Meta::Attribute
1963 - changed how we do type checks so that
1964 we reduce the overall cost, but still
1967 - moved accessor generation methods to
1968 Moose::Meta::Method::Accessor to
1969 conform to the API changes from
1972 * Moose::Meta::TypeConstraint
1973 - changed how constraints are compiled
1974 so that we do less recursion and more
1975 iteration. This makes the type check
1977 - moved Moose::Meta::TypeConstraint::Union
1980 * Moose::Meta::Method::Accessor
1981 - created this from methods formerly found in
1982 Moose::Meta::Attribute
1984 * Moose::Meta::Role::Method
1985 - moved this from Moose::Meta::Role
1987 * Moose::Meta::Method::Overriden
1988 - moved this from Moose::Meta::Class
1990 * Moose::Meta::TypeConstraint::Union
1991 - moved this from Moose::Meta::TypeConstraint
1993 0.14 Mon. Oct. 9, 2006
1995 * Moose::Meta::Attribute
1996 - fixed lazy attributes which were not getting
1997 checked with the type constraint (thanks ashley)
1998 - added tests for this
1999 - removed the over-enthusiastic DWIMery of the
2000 automatic ArrayRef and HashRef defaults, it
2001 broke predicates in an ugly way.
2002 - removed tests for this
2004 0.13 Sat. Sept. 30, 2006
2006 This version of Moose *must* have Class::MOP 0.35 in order
2007 to work correctly. A number of small internal tweaks have
2008 been made in order to be compatible with that release.
2011 - Removed the use of UNIVERSAL::require to be a better
2012 symbol table citizen and remove a dependency
2013 (thanks Adam Kennedy)
2015 **~~ removed experimental & undocumented feature ~~**
2016 - commented out the 'method' and 'self' keywords, see the
2017 comments for more info.
2020 - added a FAQ and WTF files to document frequently
2021 asked questions and common problems
2023 * Moose::Util::TypeConstraints
2024 - added GlobRef and FileHandle type constraint
2025 - added tests for this
2027 * Moose::Meta::Attribute
2028 - if your attribute 'isa' ArrayRef of HashRef, and you have
2029 not explicitly set a default, then make the default DWIM.
2030 This will also work for subtypes of ArrayRef and HashRef
2032 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2033 - new test added for this (thanks to ashley)
2036 - added basic support for runtime role composition
2037 but this is still *highly experimental*, so feedback
2038 is much appreciated :)
2039 - added tests for this
2041 * Moose::Meta::TypeConstraint
2042 - the type constraint now handles the coercion process
2043 through delegation, this is to support the coercion
2046 * Moose::Meta::TypeConstraint::Union
2047 - it is now possible for coercions to be performed
2049 - added tests for this (thanks to konobi)
2051 * Moose::Meta::TypeCoercion
2052 - properly capturing error when type constraint
2056 - Scalar::Util 1.18 is bad on Win32, so temporarily
2057 only require version 1.17 for Win32 and cygwin.
2058 (thanks Adam Kennedy)
2060 0.12 Sat. Sept. 1, 2006
2062 - Recipe5 (subtypes & coercion) has been written
2065 - fixed "bad meta" error message to be more descriptive
2066 - fixed &unimport to not remove the &inner and &super
2067 keywords because we need to localize them.
2068 - fixed number of spelling/grammer issues, thanks Theory :)
2070 **~~ experimental & undocumented feature ~~**
2071 - added the method and self keywords, they are basically
2072 just sugar, and they may not stay around.
2075 - added &dump method to easily Data::Dumper
2078 * Moose::Meta::TypeConstraint
2079 - added the &is_a_type_of method to check both the current
2080 and the subtype of a method (similar to &isa with classes)
2083 - this is now a subclass of Class::MOP::Module, and no longer
2084 creates the _role_meta ugliness of before.
2085 - fixed tests to reflect this change
2087 0.11 Wed. July 12, 2006
2089 - added an &unimport method to remove all the keywords
2090 that Moose will import, simply add 'no Moose' to the
2091 bottom of your class file.
2094 - fixed some test failures caused by a forgotten test
2097 0.10 Thurs. July 6, 2006
2099 - improved error message when loading modules so
2100 it is less confusing when you load a role.
2101 - added &calculate_all_roles method to
2102 Moose::Meta::Class and Moose::Meta::Role
2105 This module has been tested against Class::MOP 0.30
2106 but it does not yet utilize the optimizations
2107 it makes available. Stay tuned for that ;)
2109 0.09_03 Fri. June 23, 2006
2110 ++ DEVELOPER RELEASE ++
2112 - 'use strict' and 'use warnings' are no longer
2113 needed in Moose classes, Moose itself will
2114 turn them on for you.
2115 - added tests for this
2116 - moved code from exported subs to private methods
2117 in Moose::Meta::Class
2120 - as with Moose, strict and warnings are
2121 automatically turned on for you.
2122 - added tests for this
2125 - now handles an edge case for override errors
2126 - added tests for this
2127 - added some more edge case tests
2129 0.09_02 Tues. May 16, 2006
2130 ++ DEVELOPER RELEASE ++
2132 - added prototypes to the exported subs
2136 - added prototypes to the exported subs
2139 * Moose::Util::TypeConstraints
2140 - cleaned up prototypes for the subs
2143 0.09_01 Fri. May 12, 2006
2144 ++ DEVELOPER RELEASE ++
2145 - This release works in combination with
2146 Class::MOP 0.29_01, it is a developer
2147 release because it uses the a new
2148 instance sub-protocol and a fairly
2149 complete Role implementation. It has
2150 not yet been optimized, so it slower
2151 the the previous CPAN version. This
2152 release also lacks good updated docs,
2153 the official release will have updated docs.
2156 - refactored the keyword exports
2157 - 'with' now checks Role validaity and
2158 accepts more than one Role at a time
2159 - 'extends' makes metaclass adjustments as
2160 needed to ensure metaclass compatibility
2163 - refactored the keyword exports
2164 - 'with' now checks Role validaity and
2165 accepts more than one Role at a time
2167 * Moose::Util::TypeConstraints
2168 - added the 'enum' keyword for simple
2169 string enumerations which can be used as
2171 - see example of usage in t/202_example.t
2174 - more careful checking of params to new()
2177 - much work done on the role composition
2178 - many new tests for conflict detection
2179 and composition edge cases
2180 - not enough documentation, I suggest
2181 looking at the tests
2183 * Moose::Meta::Instance
2184 - added new Instance metaclass to support
2185 the new Class::MOP instance protocol
2187 * Moose::Meta::Class
2188 - some small changes to support the new
2190 - some small additions to support Roles
2192 * Moose::Meta::Attribute
2193 - some improvements to the accessor generation code
2195 - some small changes to support the new
2197 - (still somewhat) experimental delegation support
2198 with the 'handles' option
2199 - added several tests for this
2200 - no docs for this yet
2202 0.05 Thurs. April 27, 2006
2204 - keywords are now exported with Sub::Exporter
2205 thanks to chansen for this commit
2206 - has keyword now takes a 'metaclass' option
2207 to support custom attribute meta-classes
2208 on a per-attribute basis
2209 - added tests for this
2210 - the 'has' keyword not accepts inherited slot
2211 specifications (has '+foo'). This is still an
2212 experimental feature and probably not finished
2213 see t/038_attribute_inherited_slot_specs.t for
2214 more details, or ask about it on #moose
2215 - added tests for this
2218 - keywords are now exported with Sub::Exporter
2220 * Moose::Utils::TypeConstraints
2221 - reorganized the type constraint hierarchy, thanks
2222 to nothingmuch and chansen for his help and advice
2224 - added some tests for this
2225 - keywords are now exported with Sub::Exporter
2226 thanks to chansen for this commit
2228 * Moose::Meta::Class
2229 - due to changes in Class::MOP, we had to change
2230 construct_instance (for the better)
2232 * Moose::Meta::Attribute
2233 - due to changes in Class::MOP, we had to add the
2234 initialize_instance_slot method (it's a good thing)
2236 * Moose::Meta::TypeConstraint
2237 - added type constraint unions
2238 - added tests for this
2239 - added the is_subtype_of predicate method
2240 - added tests for this
2242 0.04 Sun. April 16th, 2006
2244 - Roles can now consume other roles
2245 - added tests for this
2246 - Roles can specify required methods now with
2247 the requires() keyword
2248 - added tests for this
2251 - ripped out much of it's guts ,.. much cleaner now
2252 - added required methods and correct handling of
2253 them in apply() for both classes and roles
2254 - added tests for this
2255 - no longer adds a does() method to consuming classes
2256 it relys on the one in Moose::Object
2257 - added roles attribute and some methods to support
2258 roles consuming roles
2260 * Moose::Meta::Attribute
2261 - added support for triggers on attributes
2262 - added tests for this
2263 - added support for does option on an attribute
2264 - added tests for this
2266 * Moose::Meta::Class
2267 - added support for attribute triggers in the
2269 - added tests for this
2272 - Moose no longer creates a subtype for your class
2273 if a subtype of the same name already exists, this
2274 should DWIM in 99.9999% of all cases
2276 * Moose::Util::TypeConstraints
2277 - fixed bug where incorrect subtype conflicts were
2279 - added test for this
2282 - this class can now be extended with 'use base' if
2283 you need it, it properly loads the metaclass class now
2284 - added test for this
2286 0.03_02 Wed. April 12, 2006
2288 - you must now explictly use Moose::Util::TypeConstraints
2289 it no longer gets exported for you automatically
2292 - new() now accepts hash-refs as well as key/value lists
2293 - added does() method to check for Roles
2294 - added tests for this
2296 * Moose::Meta::Class
2297 - added roles attribute along with the add_role() and
2299 - added tests for this
2302 - now adds a does() method to consuming classes
2303 which tests the class's hierarchy for roles
2304 - added tests for this
2306 0.03_01 Mon. April 10, 2006
2308 - added new Role recipe (no content yet, only code)
2311 - added 'with' keyword for Role support
2312 - added test and docs for this
2313 - fixed subtype quoting bug
2314 - added test for this
2318 - added test and docs
2320 * Moose::Util::TypeConstraints
2321 - added the message keyword to add custom
2322 error messages to type constraints
2325 - the meta role to support Moose::Role
2326 - added tests and docs
2328 * Moose::Meta::Class
2329 - moved a number of things from Moose.pm
2330 to here, they should have been here
2333 * Moose::Meta::Attribute
2334 - moved the attribute option macros here
2335 instead of putting them in Moose.pm
2337 * Moose::Meta::TypeConstraint
2338 - added the message attributes and the
2340 - added tests and docs for this
2342 0.03 Thurs. March 30, 2006
2344 - added the Moose::Cookbook with 5 recipes,
2345 describing all the stuff Moose can do.
2348 - fixed an issue with &extends super class loading
2349 it now captures errors and deals with inline
2350 packages correctly (bug found by mst, solution
2352 - added super/override & inner/augment features
2353 - added tests and docs for these
2356 - BUILDALL now takes a reference of the %params
2357 that are passed to &new, and passes that to
2360 * Moose::Util::TypeConstraints
2361 - Type constraints now survive runtime reloading
2362 - added test for this
2364 * Moose::Meta::Class
2365 - fixed the way attribute defaults are handled
2366 during instance construction (bug found by chansen)
2368 * Moose::Meta::Attribute
2369 - read-only attributes now actually enforce their
2370 read-only-ness (this corrected in Class::MOP as
2373 0.02 Tues. March 21, 2006
2375 - many more tests, fixing some bugs and
2377 - &extends now loads the base module with
2379 - added UNIVERSAL::require to the
2382 - each new Moose class will also create
2383 and register a subtype of Object which
2384 correspond to the new Moose class.
2385 - the 'isa' option in &has now only
2386 accepts strings, and will DWIM in
2389 * Moose::Util::TypeConstraints
2390 - added type coercion features
2391 - added tests for this
2392 - added support for this in attributes
2393 and instance construction
2395 - type construction no longer creates a
2396 function, it registers the type instead.
2397 - added several functions to get the
2401 - BUILDALL and DEMOLISHALL were broken
2402 because of a mis-named hash key, Whoops :)
2404 * Moose::Meta::Attribute
2405 - adding support for coercion in the
2406 autogenerated accessors
2408 * Moose::Meta::Class
2409 - adding support for coercion in the
2410 instance construction
2412 * Moose::Meta::TypeConstraint
2413 * Moose::Meta::TypeCoercion
2414 - type constraints and coercions are now
2415 full fledges meta-objects
2417 0.01 Wed. March 15, 2006
2418 - Moooooooooooooooooose!!!