1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
4 0.73_02 Mon, April 6, 2009
5 * More deprecations and renamings
6 - Moose::Meta::Method::Constructor
7 - initialize_body => _initialize_body (this is always called
8 when an object is constructed)
11 - The DEMOLISHALL method could throw an exception during global
12 destruction, meaning that your class's DEMOLISH methods would
13 not be properly called. Reported by t0m.
15 * Moose::Meta::Method::Destructor
16 - Destructor inlining was totally broken by the change to the
17 is_needed method in 0.72_01. Now there is a test for this
18 feature, and it works again.
20 0.73_01 Sun, April 5, 2009
22 - Call user_class->meta in fewer places, with the eventual goal
23 of allowing the user to rename or exclude ->meta
24 altogether. Instead uses Class::MOP::class_of. (Sartak)
26 * Moose::Meta::Method::Accessor
27 - If an attribute had a lazy default, and that value did not
28 pass the attribute's type constraint, it did not get the
29 message from the type constraint, instead using a generic
30 message. Test provided by perigrin.
32 * Moose::Util::TypeConstraints
33 - Add duck_type keyword. It's sugar over making sure an object
34 can() a list of methods. This is easier than jrockway's
35 suggestion to fork all of CPAN. (perigrin)
36 - add tests and documentation (perigrin)
39 - Document the fact that init_meta() returns the target class's
40 metaclass object. (hdp)
42 * Moose::Cookbook::Extending::Recipe1
43 * Moose::Cookbook::Extending::Recipe2
44 * Moose::Cookbook::Extending::Recipe3
45 * Moose::Cookbook::Extending::Recipe4
46 - Make init_meta() examples explicitly return the metaclass and
47 point out this fact. (hdp)
49 * Moose::Cookbook::Meta::Recipe6
50 - A new recipe, creating a custom meta-method class.
53 * Moose::Meta::Method::Constructor
54 - Attribute triggers no longer receive the meta-attribute object
55 as an argument in any circumstance. Previously, triggers
56 called during instance construction were passed the
57 meta-attribute, but triggers called by normal accessors were
58 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
60 * Moose::Manual::Attributes
61 - Remove references to triggers receving the meta-attribute object as an
64 * Moose::Cookbook::FAQ
65 - Remove recommendation for deprecated Moose::Policy and
66 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
69 * Many methods have been renamed with a leading underscore, and a
70 few have been deprecated entirely. The methods with a leading
71 underscore are consider "internals only". People writing
72 subclasses or extensions to Moose should feel free to override
73 them, but they are not for "public" use.
76 - check_metaclass_compatibility => _check_metaclass_compatibility
78 - Moose::Meta::Method::Accessor
79 - initialize_body => _initialize_body (this is always called
80 when an object is constructed)
81 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
83 - Moose::Meta::Method::Constructor
84 - initialize_body => _initialize_body (this is always called
85 when an object is constructed)
86 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
87 - attributes => _attributes (now inherited from parent)
88 - meta_instance => _meta_instance (now inherited from parent)
91 - alias_method is deprecated. Use add_method
93 0.73 Fri, March 29, 2009
94 * No changes from 0.72_01.
96 0.72_01 Thu, March 26, 2009
98 - Almost every module has complete API documentation. A few
99 methods (and even whole classes) have been intentionally
100 excluded pending some rethinking of their APIs.
102 * Moose::Util::TypeConstraints
103 - Calling subtype with a name as the only argument is now an
104 exception. If you want an anonymous subtype do:
106 my $subtype = subtype as 'Foo';
108 * Moose::Cookbook::Meta::Recipe7
109 - A new recipe, creating a custom meta-instance class.
111 * Moose::Cookbook::Basics::Recipe5
112 - Fix various typos and mistakes. Includes a patch from Radu
115 * Moose::Cookbook::Basics::Recipe9
116 - Link to this recipe from Moose.pm's builder blurb
119 - When wrapping a function with a prototype, Moose::Exporter now
120 makes sure the wrapped function still has the same
121 prototype. (Daisuke Maki)
123 * Moose::Meta::Attribute
124 - Allow a subclass to set lazy_build for an inherited
128 - Explicitly depend on Data::OptList. We already had this dependency
129 via Sub::Exporter, but since we're using it directly we're
130 better off with it listed. (Sartak)
132 * Moose::Meta::Method::Constructor
133 - Make it easier to subclass the inlining behaviour. (Ash
136 * Moose::Manual::Delta
137 - Details significant changes in the history of Moose, along
138 with recommended workarounds.
140 * Moose::Manual::Contributing
141 - Contributor's guide to Moose.
143 * Moose::Meta::Method::Constructor
144 - The long-deprecated intialize_body method has been removed
145 (yes, spelled like that).
147 * Moose::Meta::Method::Destructor
148 - This is_needed method is now always a class method.
151 - Changes to the internals of how make_immutable works to match
152 changes in latest Class::MOP.
154 0.72 Mon, February 23, 2009
156 * Moose::Meta::Method::Constructor
157 - A mutable class accepted Foo->new(undef) without complaint,
158 while an immutable class would blow up with an unhelpful
159 error. Now, in both cases we throw a helpful error
160 instead. Reported by doy.
162 0.71_01 Sun, February 22, 2009
164 - Hopefully fixed some POD errors in a few recipes that caused
165 them to display weird on search.cpan.org.
167 * Moose::Util::TypeConstraints
168 - Calling type or subtype without the sugar helpers (as, where,
169 message) is now deprecated.
170 - The subtype function tried hard to guess what you meant, but
171 often got it wrong. For example:
173 my $subtype = subtype as 'ArrayRef[Object]';
175 This caused an error in the past, but now works as you'd
179 - Make sure Moose.pm is loaded before calling
180 Moose->throw_error. This wasn't normally an issue, but could
181 bite you in weird cases.
183 0.71 Thu, February 19, 2009
184 * Moose::Cookbook::Basics::Recipe11
185 - A new recipe which demonstrates the use of BUILDARGS and
188 * Moose::Cookbook::Roles::Recipe3
189 - A new recipe, applying a role to an object instance. (Dave
193 - Allow overriding specific keywords from "also" packages. (doy)
196 - Replace hardcoded cookbook tests with Test::Inline to ensure
197 the tests match the actual code in the recipes. (Dave Rolsky)
200 - Working on the above turned up a number of little bugs in the
201 recipe code. (Dave Rolsky)
203 * Moose::Util::TypeConstraints::Optimized
204 - Just use Class::MOP for the optimized ClassName check. (Dave
207 0.70 Sat, February 14, 2009
208 * Moose::Util::TypeConstraints
209 - Added the RoleName type (stevan)
210 - added tests for this (stevan)
212 * Moose::Cookbook::Basics::Recipe3
213 - Updated the before qw[left right] sub to be a little more
214 defensive about what it accepts (stevan)
215 - added more tests to t/000_recipies/basics/003_binary_tree.t
219 - We now always call DEMOLISHALL, even if a class does not
220 define DEMOLISH. This makes sure that method modifiers on
221 DEMOLISHALL work as expected. (doy)
222 - added tests for this (EvanCarroll)
224 * Moose::Util::MetaRole
225 - Accept roles for the wrapped_method_metaclass (rafl)
226 - added tests for this (rafl)
228 * Moose::Meta::Attribute
229 - We no longer pass the meta-attribute object as a final
230 argument to triggers. This actually changed for inlined code a
231 while back, but the non-inlined version and the docs were
235 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
236 they require 0.11. (Dave Rolsky)
239 - Lots of small changes to the manual, cookbook, and
240 elsewhere. These were based on feedback from various
241 users, too many to list here. (Dave Rolsky)
243 0.69 Thu, February 12, 2009
245 - Make some keyword errors use throw_error instead of croak
246 since Moose::Exporter wraps keywords now (Sartak)
249 - Revised every recipe for style and clarity. Also moved some
250 documentation out of cookbook recipes and into Moose::Manual
251 pages. This work was funded as part of the Moose docs grant
252 from TPF. (Dave Rolsky)
254 * Moose::Meta::Method::Delegation
255 - If the attribute doing the delegation was not populated, the
256 error message did not specify the attribute name
259 0.68 Wed, February 4, 2009
261 - Many spelling, typo, and formatting fixes by daxim.
263 * Moose::Manual::Attributes
264 - The NAME section in the POD used "Attribute" so search.cpan
265 didn't resolve links from other documents properly.
267 * Moose::Meta::Method::Overriden
268 - Now properly spelled as Overridden. Thanks to daxim for
271 0.67 Tue, February 3, 2009
273 - Lots of little typo fixes and a few clarifications. Several
274 pages didn't have proper titles, and so weren't actually
275 visible on search.cpan.org. Thanks to hanekomu for a variety
276 of fixes and formatting improvements.
278 0.66 Tue, February 3, 2009
280 - This is a brand new, extensive manual for Moose. This aims to
281 provide a complete introduction to all of Moose's
282 features. This work was funded as part of the Moose docs grant
283 from TPF. (Dave Rolsky)
285 * Moose::Meta::Attribute
286 - Added a delegation_metaclass method to replace a hard-coded
287 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
289 * Moose::Util::TypeConstraints
290 - If you created a subtype and passed a parent that Moose didn't
291 know about, it simply ignored the parent. Now it automatically
292 creates the parent as a class type. This may not be what you
293 want, but is less broken than before. (Dave Rolsky)
295 * Moose::Util::TypeConstraints
296 - This module tried throw errors by calling Moose->throw_error,
297 but it did not ensure that Moose was loaded first. This could
298 cause very unhelpful errors when it tried to throw an error
299 before Moose was loaded. (Dave Rolsky)
301 * Moose::Util::TypeConstraints
302 - You could declare a name with subtype such as "Foo!Bar" that
303 would be allowed, but if you used it in a parameterized type
304 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
305 vetting on names created via the sugar functions, so that they
306 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
308 0.65 Thu, January 22, 2008
309 * Moose and Moose::Meta::Method::Overridden
310 - If an overridden method called super(), and then the
311 superclass's method (not overridden) _also_ called super(),
312 Moose went into an endless recursion loop. Test provided by
313 Chris Prather. (Dave Rolsky)
315 * Moose::Meta::TypeConstraint
316 - All methods are now documented. (gphat)
318 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
319 - Fixed some bogus failures that occurred because we tried to
320 validate filesystem paths in a very ad-hoc and
321 not-quite-correct way. (Dave Rolsky)
323 * Moose::Util::TypeConstraints
324 - Added maybe_type to exports. See docs for details. (rjbs)
327 - Added Moose::Util::TypeConstraints to the SEE ALSO
331 - Methods created via an attribute can now fulfill a "requires"
332 declaration for a role. (nothingmuch)
334 * Moose::Meta::Method::*
335 - Stack traces from inlined code will now report its line and
336 file as being in your class, as opposed to in Moose
339 0.64 Wed, December 31, 2008
340 * Moose::Meta::Method::Accessor
341 - Always inline predicate and clearer methods (Sartak)
343 * Moose::Meta::Attribute
344 - Support for parameterized traits (Sartak)
345 - verify_against_type_constraint method to avoid duplication
346 and enhance extensibility (Sartak)
349 - Tests (but no support yet) for parameterized traits (Sartak)
352 - Require Class::MOP 0.75+, which has the side effect of making
353 sure we work on Win32. (Dave Rolsky)
355 0.63 Mon, December 8, 2008
357 - Some small grammar tweaks and bug fixes in non-Moose example
360 0.62_02 Fri, December 5, 2008
361 * Moose::Meta::Role::Application::ToClass
362 - When a class does not provide all of a role's required
363 methods, the error thrown now mentions all of the missing
364 methods, as opposed to just the first one found. Requested by
365 Curtis Poe (RT #41119). (Dave Rolsky)
367 * Moose::Meta::Method::Constructor
368 - Moose will no longer inline a constructor for your class
369 unless it inherits its constructor from Moose::Object, and
370 will warn when it doesn't inline. If you want to force
371 inlining anyway, pass "replace_constructor => 1" to
372 make_immutable. Addresses RT #40968, reported by Jon
373 Swartz. (Dave Rolsky)
374 - The quoting of default values could be broken if the default
375 contained a single quote ('). Now we use quotemeta to escape
376 anything potentially dangerous in the defaults. (Dave Rolsky)
378 0.62_01 Wed, December 3, 2008
380 - use the method->execute API for BUILDALL
381 and DEMOLISHALL (Sartak)
383 * Moose::Util::TypeConstraints
384 - We now make all the type constraint meta classes immutable
385 before creating the default types provided by Moose. This
386 should make loading Moose a little faster. (Dave Rolsky)
388 0.62 Wed November 26, 2008
389 * Moose::Meta::Role::Application::ToClass
390 Moose::Meta::Role::Application::ToRole
391 - fixed issues where excluding and aliasing the
392 same methods for a single role did not work
393 right (worked just fine with multiple
395 - added test for this (stevan)
397 * Moose::Meta::Role::Application::RoleSummation
398 - fixed the error message when trying to compose
399 a role with a role it excludes (Sartak)
402 - Catch another case where recursion caused the value
403 of $CALLER to be stamped on (t0m)
404 - added test for this (t0m)
407 - Remove the make_immutable keyword, which has been
408 deprecated since April. It breaks metaclasses that
409 use Moose without no Moose (Sartak)
411 * Moose::Meta::Attribute
412 - Removing an attribute from a class now also removes delegation
413 (handles) methods installed for that attribute (t0m)
414 - added test for this (t0m)
416 * Moose::Meta::Method::Constructor
417 - An attribute with a default that looked like a number (but was
418 really a string) would accidentally be treated as a number
419 when the constructor was made immutable (perigrin)
420 - added test for this (perigrin)
423 - create method for constructing a role
425 - added test for this (Sartak)
426 - anonymous roles! (Sartak)
427 - added test for this (Sartak)
430 - more consistent error messages (Sartak)
432 * Moose::Cookbook::Roles::Recipe1
433 - attempt to explain why a role that just requires
434 methods is useful (Sartak)
436 0.61 Fri November 7, 2008
437 * Moose::Meta::Attribute
438 - When passing a role to handles, it will be loaded if necessary
442 - Method objects returned by get_method (and other methods)
443 Could end up being returned without an associated_metaclass
444 attribute. Removing get_method_map, which is provided by
445 Class::MOP::Class, fixed this. The Moose version did nothing
446 different from its parent except introduce a bug. (Dave Rolsky)
447 - added tests for this (jdv79)
450 - Added a $VERSION to all .pm files which didn't have one. Fixes
451 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
453 * Moose::Cookbook::Basics::Recipe4
454 * Moose::Cookbook::Basics::Recipe6
455 - These files had spaces on the first line of the SYNOPSIS, as
456 opposed to a totally empty line. According to RT #40432, this
457 confuses POD parsers. (Dave Rolsky)
459 0.60 Fri October 24, 2008
461 - Passing "-traits" when loading Moose caused the Moose.pm
462 exports to be broken. Reported by t0m. (Dave Rolsky)
463 - Tests for this bug. (t0m)
466 - Change resolve_metaclass alias to use the new
467 load_first_existing_class function. This makes it a lot
468 simpler, and also around 5 times faster. (t0m)
469 - Add caching to resolve_metaclass_alias, which gives an order
470 of magnitude speedup to things which repeatedly call the
471 Moose::Meta::Attribute->does method, notably MooseX::Storage
474 * Moose::Util::TypeConstraint
475 - Put back the changes for parameterized constraints that
476 shouldn't have been removed in 0.59. We still cannot parse
477 them, but MooseX modules can create them in some other
478 way. See the 0.58 changes for more details. (jnapiorkowski)
479 - Changed the way subtypes are created so that the job is
480 delegated to a type constraint parent. This clears up some
481 hardcoded checking and should allow correct subtypes of
482 Moose::Meta::Type::Constraint. Don't rely on this new API too
483 much (create_child_type) because it may go away in the
484 future. (jnapiorkowski)
486 * Moose::Meta::TypeConstraint::Union
487 - Type constraint names are sorted as strings, not numbers.
490 * Moose::Meta::TypeConstraint::Parameterizable
491 - New parameterize method. This can be used as a factory method
492 to make a new type constraint with a given parameterized
493 type. (jnapiorkowski)
494 - added tests (jnapiorkowski)
496 0.59 Tue October 14, 2008
498 - Add abridged documentation for builder/default/initializer/
499 predicate, and link to more details sections in
500 Class::MOP::Attribute. (t0m)
502 * Moose::Util::TypeConstraints
503 - removed prototypes from all but the &-based stuff (mst)
505 * Moose::Util::TypeConstraints
506 - Creating a anonymous subtype with both a constraint and a
507 message failed with a very unhelpful error, but should just
508 work. Reported by t0m. (Dave Rolsky)
511 - Some tests that used Test::Warn if it was available failed
512 with older versions of Test::Warn. Reported by Fayland. (Dave
514 - Test firing behavior of triggers in relation to builder/default/
516 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
517 kinds of supported type. (t0m)
520 - In create(), do not pass "roles" option to the superclass
521 - added related test that creates an anon metaclass with
524 * Moose::Meta::TypeConstraint::Class
525 * Moose::Meta::TypeConstraint::Role
526 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
527 other types (as per change in 0.55_02). (t0m)
529 * Moose::Meta::TypeConstraint::Registry
530 - Fix warning when dealing with unknown type names (t0m)
532 * Moose::Util::TypeConstraints
533 - Reverted changes from 0.58 related to handle parameterized
534 types. This caused random failures on BSD and Win32 systems,
535 apparently related to the regex engine. This means that Moose
536 can no longer parse structured type constraints like
537 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
538 supported in a slightly different way via MooseX::Types some
539 time in the future. (Dave Rolsky)
541 0.58 Sat September 20, 2008
542 !! This release has an incompatible change regarding !!
543 !! how roles add methods to a class !!
545 * Roles and role application
546 ! Roles now add methods by calling add_method, not
547 alias_method. They make sure to always provide a method
548 object, which will be cloned internally. This means that it is
549 now possible to track the source of a method provided by a
550 role, and even follow its history through intermediate roles.
552 This means that methods added by a role now show up when
553 looking at a class's method list/map. (Dave Rolsky)
556 - From this release on, we'll try to maintain a list of
557 conflicting modules, and warn you if you have one
558 installed. For example, this release conflicts with ...
559 - MooseX::Singleton <= 0.11
560 - MooseX::Params::Validate <= 0.05
563 In general, we try to not break backwards compatibility for
564 most Moose users, but MooseX modules and other code which
565 extends Moose's metaclasses is often affected by very small
566 changes in the Moose internals.
568 * Moose::Meta::Method::Delegation
569 * Moose::Meta::Attribute
570 - Delegation methods now have their own method class. (Dave
573 * Moose::Meta::TypeConstraint::Parameterizable
574 - Added a new method 'parameterize' which is basically a factory
575 for the containing constraint. This makes it easier to create
576 new types of parameterized constraints. (jnapiorkowski)
578 * Moose::Meta::TypeConstraint::Union
579 - Changed the way Union types canonicalize their names to follow
580 the normalized TC naming rules, which means we strip all
581 whitespace. (jnapiorkowski)
583 * Moose::Util::TypeConstraints
584 - Parameter and Union args are now sorted, this makes Int|Str
585 the same constraint as Str|Int. (jnapiorkowski)
586 - Changes to the way Union types are parsed to more correctly
587 stringify their names. (jnapiorkowski)
588 - When creating a parameterized type, we now use the new
589 parameterize method. (jnapiorkowski)
590 - Incoming type constraint strings are now normalized to remove
591 all whitespace differences. (jnapiorkowski)
592 - Changed the way we parse type constraint strings so that we now
593 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
594 constraints. This lays the foundation for more flexible type
595 constraint implementations.
597 * Tests and docs for all the above. (jnapiorkowski)
601 - Moose::Exporter will no longer remove a subroutine that the
602 exporting package re-exports. Moose re-exports the
603 Carp::confess function, among others. The reasoning is that we
604 cannot know whether you have also explicitly imported those
605 functions for your own use, so we err on the safe side and
606 always keep them. (Dave Rolsky)
607 - added tests for this (rafl)
610 - Changes to how we fix metaclass compatibility that are much
611 too complicated to go into. The summary is that Moose is much
612 less likely to complain about metaclass incompatibility
613 now. In particular, if two metaclasses differ because
614 Moose::Util::MetaRole was used on the two corresponding
615 classes, then the difference in roles is reconciled for the
616 subclass's metaclass. (Dave Rolsky)
617 - Squashed an warning in _process_attribute (thepler)
620 - throw exceptions (sooner) for invalid attribute names (thepler)
621 - added tests for this (thepler)
623 * Moose::Util::MetaRole
624 - If you explicitly set a constructor or destructor class for a
625 metaclass object, and then applied roles to the metaclass,
626 that explicitly set class would be lost and replaced with the
630 * Moose::Meta::Attribute
631 * Moose::Meta::Method
634 * Moose::Error::Default
635 * Moose::Error::Croak
636 * Moose::Error::Confess
637 - All instances of confess() changed to use overridable
638 C<throw_error> method. This method ultimately calls a class
639 constructor, and you can change the class being called. In
640 addition, errors now pass more information than just a string.
641 The default C<error_class> behaves like C<Carp::confess>, so
642 the behavior is not visibly different for end users.
644 0.57 Wed September 3, 2008
646 - A new bit of doc intended to introduce folks familiar with
647 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
650 - Shows examples of two classes, each done first with and then
651 without Moose. This makes a nice parallel to
652 Moose::Intro. (Dave Rolsky)
654 * Moose::Util::TypeConstraints
655 - Fixed a bug in find_or_parse_type_constraint so that it
656 accepts a Moose::Meta::TypeConstraint object as the parent
657 type, not just a name (jnapiorkowski)
658 - added tests (jnapiorkowski)
661 - If Sub::Name was not present, unimporting failed to actually
662 remove some sugar subs, causing test failures (Dave Rolsky)
664 0.56 Mon September 1, 2008
665 For those not following the series of dev releases, there are
666 several major changes in this release of Moose.
667 ! Moose::init_meta should now be called as a method. See the
670 - Major performance improvements by nothingmuch.
672 - New modules for extension writers, Moose::Exporter and
673 Moose::Util::MetaRole by Dave Rolsky.
675 - Lots of doc improvements and additions, especially in the
680 * Removed all references to the experimental-but-no-longer-needed
681 Moose::Meta::Role::Application::ToMetaclassInstance.
683 * Require Class::MOP 0.65.
685 0.55_04 Sat August 30, 2008
686 * Moose::Util::MetaRole
687 * Moose::Cookbook::Extending::Recipe2
688 - This simplifies the application of roles to any meta class, as
689 well as the base object class. Reimplemented metaclass traits
690 using this module. (Dave Rolsky)
692 * Moose::Cookbook::Extending::Recipe1
693 - This a new recipe, an overview of various ways to write Moose
694 extensions (Dave Rolsky)
696 * Moose::Cookbook::Extending::Recipe3
697 * Moose::Cookbook::Extending::Recipe4
698 - These used to be Extending::Recipe1 and Extending::Recipe2,
701 0.55_03 Fri August 29, 2008
702 * No changes from 0.55_02 except increasing the Class::MOP
703 dependency to 0.64_07.
705 0.55_02 Fri August 29, 2008
706 * Makefile.PL and Moose.pm
707 - explicitly require Perl 5.8.0+ (Dave Rolsky)
709 * Moose::Util::TypeConstraints
710 - Fix warnings from find_type_constraint if the type is not
713 * Moose::Meta::TypeConstraint
714 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
715 return false if the type you specify cannot be found in the
716 type registry, rather than throwing an unhelpful and
717 coincidental exception. (t0m).
718 - added docs & test for this (t0m)
720 * Moose::Meta::TypeConstraint::Registry
721 - add_type_constraint now throws an exception if a parameter is
723 - added docs & test for this (t0m)
725 * Moose::Cookbook::FAQ
726 - Added a faq entry on the difference between "role" and "trait"
730 - Fixed a bug that caused role composition to not see a required
731 method when that method was provided by another role being
732 composed at the same time. (Dave Rolsky)
733 - test and bug finding (tokuhirom)
735 0.55_01 Wed August 20, 2008
737 !! Calling Moose::init_meta as a function is now !!
738 !! deprecated. Please see the Moose.pm docs for details. !!
740 * Moose::Meta::Method::Constructor
741 - Fix inlined constructor so that values produced by default
742 or builder methods are coerced as required. (t0m)
743 - added test for this (t0m)
745 * Moose::Meta::Attribute
746 - A lazy attribute with a default or builder did not attempt to
747 coerce the default value. The immutable code _did_
749 - added test for this (t0m)
752 - This is a new helper module for writing "Moose-alike"
753 modules. This should make the lives of MooseX module authors
754 much easier. (Dave Rolsky)
757 * Moose::Cookbook::Meta::Recipe5
758 - Implemented metaclass traits (and wrote a recipe for it):
760 use Moose -traits => 'Foo'
762 This should make writing small Moose extensions a little
765 * Moose::Cookbook::Basics::Recipe1
766 - Removed any examples of direct hashref access, and applied an
767 editorial axe to reduce verbosity. (Dave Rolsky)
769 * Moose::Cookbook::Basics::Recipe1
770 - Also applied an editorial axe here. (Dave Rolsky)
773 * Moose::Cookbook::Extending::Recipe1
774 * Moose::Cookbook::Extending::Recipe2
775 - Rewrote extending and embedding moose documentation and
776 recipes to use Moose::Exporter (Dave Rolsky)
780 - These two modules now warn when you load them from the main
781 package "main" package, because we will not export sugar to
782 main. Previously it just did nothing. (Dave Rolsky)
785 - Now provide an init_meta method just like Moose.pm, and you
786 can call this to provide an alternate role metaclass. (Dave
787 Rolsky and nothingmuch)
788 - get_method_map now respects the package cache flag (nothingmuch)
791 - Two new methods - add_method and wrap_method_body
795 - Optimizations including allowing constructors to accept hash
796 refs, making many more classes immutable, and making
797 constructors immutable. (nothingmuch)
799 0.55 Sun August 3, 2008
800 * Moose::Meta::Attribute
801 - breaking down the way 'handles' methods are
802 created so that the process can be more easily
803 overridden by subclasses (stevan)
805 * Moose::Meta::TypeConstraint
806 - fixing what is passed into a ->message with
807 the type constraints (RT #37569)
808 - added tests for this (Charles Alderman)
810 * Moose::Util::TypeConstraints
811 - fix coerce to accept anon types like subtype can (mst)
814 - reorganized the recipes into sections - Basics, Roles, Meta,
815 Extending - and wrote abstracts for each section (Dave Rolsky)
817 * Moose::Cookbook::Basics::Recipe10
818 - A new recipe that demonstrates operator overloading
819 in combination with Moose. (bluefeet)
821 * Moose::Cookbook::Meta::Recipe1
822 - an introduction to what meta is and why you'd want to make
823 your own metaclass extensions (Dave Rolsky)
825 * Moose::Cookbook::Meta::Recipe4
826 - a very simple metaclass example (Dave Rolsky)
828 * Moose::Cookbook::Extending::Recipe1
829 - how to write a Moose-alike module to use your own object base
832 * Moose::Cookbook::Extending::Recipe2
833 - how to write modules with an API just like C<Moose.pm> (Dave
837 - Tons of fixes, both syntactical and grammatical (Dave
838 Rolsky, Paul Fenwick)
840 0.54 Thurs. July 3, 2008
841 ... this is not my day today ...
843 * Moose::Meta::Attribute
844 - fixed legal_options_for_inheritance such that
845 clone_and_inherit options still works for
846 Class::MOP::Attribute objects and therefore
847 does not break MooseX::AttributeHelpers
850 0.53 Thurs. July 3, 2008
851 * Whoops, I guess I should run 'make manifest' before
852 actually releasing the module. No actual changes
853 in this release, except the fact that it includes
854 the changes that I didn't include in the last
857 0.52 Thurs. July 3, 2008
859 - added "FEATURE REQUESTS" section to the Moose docs
860 to properly direct people (stevan) (RT #34333)
861 - making 'extends' croak if it is passed a Role since
862 this is not ever something you want to do
863 (fixed by stevan, found by obra)
864 - added tests for this (stevan)
867 - adding support for DOES (as in UNIVERSAL::DOES)
869 - added test for this
871 * Moose::Meta::Attribute
872 - added legal_options_for_inheritance (wreis)
873 - added tests for this (wreis)
875 * Moose::Cookbook::Snacks::*
876 - removed some of the unfinished snacks that should
877 not have been released yet. Added some more examples
878 to the 'Keywords' snack. (stevan)
880 * Moose::Cookbook::Style
881 - added general Moose "style guide" of sorts to the
882 cookbook (nothingmuch) (RT #34335)
885 - added more BUILDARGS tests (stevan)
887 0.51 Thurs. Jun 26, 2008
889 - add unimport so "no Moose::Role" actually does
892 * Moose::Meta::Role::Application::ToRole
893 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
894 order to provide its own implementation, that method still got
895 added to the list of required methods for consumers of
896 RoleB. Now an aliased method is only added to the list of
897 required methods if the role doing the aliasing does not
898 provide its own implementation. See Recipe 11 for an example
899 of all this. (Dave Rolsky)
900 - added tests for this
902 * Moose::Meta::Method::Constructor
903 - when a single argument that wasn't a hashref was provided to
904 an immutabilized constructor, the error message was very
905 unhelpful, as opposed to the non-immutable error. Reported by
907 - added test for this (Dave Rolsky)
909 * Moose::Meta::Attribute
910 - added support for meta_attr->does("ShortAlias") (sartak)
911 - added tests for this (sartak)
912 - moved the bulk of the `handles` handling to the new
913 install_delegation method (Stevan)
916 - Added BUILDARGS, a new step in new()
918 * Moose::Meta::Role::Application::RoleSummation
919 - fix typos no one ever sees (sartak)
921 * Moose::Util::TypeConstraints
922 * Moose::Meta::TypeConstraint
923 * Moose::Meta::TypeCoercion
924 - Attempt to work around the ??{ } vs. threads issue
926 - Some null_constraint optimizations
928 0.50 Thurs. Jun 11, 2008
929 - Fixed a version number issue by bumping all modules
932 0.49 Thurs. Jun 11, 2008
933 !! This version now approx. 20-25% !!
934 !! faster with new Class::MOP 0.59 !!
936 * Moose::Meta::Attribute
937 - fixed how the is => (ro|rw) works with
938 custom defined reader, writer and accessor
940 - added docs for this (TODO).
941 - added tests for this (Thanks to Penfold)
942 - added the custom attribute alias for regular
943 Moose attributes which is "Moose"
944 - fix builder and default both being used
949 Moose::Meta::Attribute
951 Moose::Meta::Role::Composite
952 Moose::Util::TypeConstraints
953 - switched usage of reftype to ref because
957 - changing add_package_symbol to use the new
961 - fixed how DEMOLISHALL is called so that it
962 can be overrided in subclasses (thanks to Sartak)
963 - added test for this (thanks to Sartak)
965 * Moose::Util::TypeConstraints
966 - move the ClassName type check code to
967 Class::MOP::is_class_loaded (thanks to Sartak)
969 * Moose::Cookbook::Recipe11
970 - add tests for this (thanks to tokuhirom)
972 0.48 Thurs. May 29, 2008
973 (early morning release engineering)--
975 - fixing the version in Moose::Meta::Method::Destructor
976 which was causing the indexer to choke
978 0.47 Thurs. May 29, 2008
979 (late night release engineering)--
981 - fixing the version is META.yml, no functional
982 changes in this release
984 0.46 Wed. May 28, 2008
985 !! This version now approx. 20-25% !!
986 !! faster with new Class::MOP 0.57 !!
989 - some optimizations of the &initialize method
990 since it is called so often by &meta
994 - now use the get_all_package_symbols from the
995 updated Class::MOP, test suite is now 10 seconds
998 * Moose::Meta::Method::Destructor
999 - is_needed can now also be called as a class
1000 method for immutablization to check if the
1001 destructor object even needs to be created
1004 * Moose::Meta::Method::Destructor
1005 Moose::Meta::Method::Constructor
1006 - added more descriptive error message to help
1007 keep people from wasting time tracking an error
1008 that is easily fixed by upgrading.
1010 0.45 Saturday, May 24, 2008
1012 - Because of work in Class::MOP 0.57, all
1013 XS based functionality is now optional
1014 and a Pure Perl version is supplied
1015 - the CLASS_MOP_NO_XS environment variable
1016 can now be used to force non-XS versions
1018 - several of the packages have been tweaked
1019 to take care of this, mostly we added
1020 support for the package_name and name
1021 variables in all the Method metaclasses
1022 - before/around/after method modifiers now
1023 support regexp matching of names
1024 (thanks to Takatoshi Kitano)
1025 - tests added for this
1026 - NOTE: this only works for classes, it
1027 is currently not supported in roles,
1028 but, ... patches welcome
1029 - All usage of Carp::confess have been replaced
1030 by Carp::croak in the "keyword" functions since
1031 the stack trace is usually not helpful
1034 - All usage of Carp::confess have been replaced
1035 by Carp::croak in the "keyword" functions since
1036 the stack trace is usually not helpful
1037 - The 'has' keyword for roles now accepts the
1038 same array ref form that Moose.pm does
1039 (has [qw/foo bar/] => (is => 'rw', ...))
1040 - added test for this
1042 * Moose::Meta::Attribute
1043 - trigger on a ro-attribute is no longer an
1044 error, as it's useful to trigger off of the
1047 * Moose::Meta::Class
1048 - added same 'add_package_symbol' fix as in
1052 - does_role now handles non-Moose classes
1054 - added tests for this
1055 - added the 'add_method_modifier' function
1056 (thanks to Takatoshi Kitano)
1058 * Moose::Util::TypeConstraints
1059 - subtypes of parameterizable types now are
1060 themselves parameterizable types
1062 * Moose::Meta::Method::Constructor
1063 - fixed bug where trigger was not being
1064 called by the inlined immutable
1066 - added test for this (thanks to Caelum)
1068 * Moose::Meta::Role::Application::ToInstance
1069 - now uses the metaclass of the instance
1070 (if possible) to create the anon-class
1071 (thanks Jonathan Rockway)
1073 * Moose::Cookbook::Recipe22
1074 - added the meta-attribute trait recipe
1078 - fixed hash-ordering test bug that was
1079 causing occasional cpantester failures
1080 - renamed the t/000_recipe/*.t tests to be
1081 more descriptive (thanks to Sartak)
1083 0.44 Sat. May 10, 2008
1085 - made make_immutable warning cluck to
1086 show where the error is (thanks mst)
1089 - BUILDALL and DEMOLISHALL now call
1090 ->body when looping through the
1091 methods, to avoid the overloaded
1093 - fixed issue where DEMOLISHALL was
1094 eating the $@ values, and so not
1095 working correctly, it still kind of
1096 eats them, but so does vanilla perl
1097 - added tests for this
1099 * Moose::Cookbook::Recipe7
1100 - added new recipe for immutable
1101 functionality (thanks Dave Rolsky)
1103 * Moose::Cookbook::Recipe9
1104 - added new recipe for builder and
1105 lazy_build (thanks Dave Rolsky)
1107 * Moose::Cookbook::Recipe11
1108 - added new recipe for method aliasing
1109 and exclusion with Roles (thanks Dave Rolsky)
1112 - fixed Win32 test failure (thanks spicyjack)
1114 ~ removed Build.PL and Module::Build compat
1115 since Module::Install has done that.
1117 0.43 Wed. April, 30, 2008
1119 drink more coffee before
1120 doing release engineering
1122 - whoops, forgot to do the smolder tests,
1123 and we broke some of the custom meta-attr
1124 modules. This fixes that.
1126 0.42 Mon. April 28, 2008
1127 - some bad tests slipped by, nothing else
1128 changed in this release (cpantesters++)
1130 - upped the Class::MOP dependency to 0.55
1131 since we have tests which need the C3
1134 0.41 Mon. April 28, 2008
1135 ~~ numerous documentation updates ~~
1137 - Changed all usage of die to Carp::croak for better
1138 error reporting (initial patch by Tod Hagan)
1140 ** IMPORTANT NOTE **
1141 - the make_immutable keyword is now deprecated, don't
1142 use it in any new code and please fix your old code
1143 as well. There will be 2 releases, and then it will
1149 - refactored the way inner and super work to avoid
1150 any method/@ISA cache penalty (nothingmuch)
1152 * Moose::Meta::Class
1153 - fixing &new_object to make sure trigger gets the
1154 coerced value (spotted by Charles Alderman on the
1156 - added test for this
1158 * Moose::Meta::Method::Constructor
1159 - immutable classes which had non-lazy attributes were calling
1160 the default generating sub twice in the constructor. (bug
1161 found by Jesse Luehrs, fixed by Dave Rolsky)
1162 - added tests for this (Dave Rolsky)
1163 - fix typo in initialize_body method (nothingmuch)
1165 * Moose::Meta::Method::Destructor
1166 - fix typo in initialize_body method (nothingmuch)
1168 * Moose::Meta::Method::Overriden
1169 Moose::Meta::Method::Augmented
1170 - moved the logic for these into their own
1171 classes (nothingmuch)
1173 * Moose::Meta::Attribute
1174 - inherited attributes may now be extended without
1175 restriction on the type ('isa', 'does') (Sartak)
1176 - added tests for this (Sartak)
1177 - when an attribute property is malformed (such as lazy without
1178 a default), give the name of the attribute in the error
1180 - added the &applied_traits and &has_applied_traits methods
1181 to allow introspection of traits
1182 - added tests for this
1183 - moved 'trait' and 'metaclass' argument handling to here from
1185 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1186 '+foo' syntax) (nothingmuch)
1187 - added tests for this (t0m)
1190 - localize $@ inside DEMOLISHALL to avoid it
1191 eating $@ (found by Ernesto)
1192 - added test for this (thanks to Ernesto)
1194 * Moose::Util::TypeConstraints
1195 - &find_type_constraint now DWIMs when given an
1196 type constraint object or name (nothingmuch)
1197 - &find_or_create_type_constraint superseded with a number of more
1199 - find_or_create_{isa,does}_type_constraint
1200 - find_or_parse_type_constraint
1202 * Moose::Meta::TypeConstraint
1203 Moose::Meta::TypeConstraint::Class
1204 Moose::Meta::TypeConstraint::Role
1205 Moose::Meta::TypeConstraint::Enum
1206 Moose::Meta::TypeConstraint::Union
1207 Moose::Meta::TypeConstraint::Parameterized
1208 - added the &equals method for comparing two type
1209 constraints (nothingmuch)
1210 - added tests for this (nothingmuch)
1212 * Moose::Meta::TypeConstraint
1213 - add the &parents method, which is just an alias to &parent.
1214 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1216 * Moose::Meta::TypeConstraint::Class
1217 - added the class attribute for introspection purposes
1219 - added tests for this
1221 * Moose::Meta::TypeConstraint::Enum
1222 Moose::Meta::TypeConstraint::Role
1223 - broke these out into their own classes (nothingmuch)
1225 * Moose::Cookbook::Recipe*
1226 - fixed references to test file locations in the POD
1227 and updated up some text for new Moose features
1231 - Added &resolve_metaclass_alias, a helper function for finding an actual
1232 class for a short name (e.g. in the traits list)
1234 0.40 Fri. March 14, 2008
1235 - I hate Pod::Coverage
1237 0.39 Fri. March 14, 2008
1239 - documenting the use of '+name' with attributes
1240 that come from recently composed roles. It makes
1241 sense, people are using it, and so why not just
1242 officially support it.
1243 - fixing the 'extends' keyword so that it will not
1244 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1247 - added the perl -Moose=+Class::Name feature to allow
1248 monkeypatching of classes in one liners
1251 - fixing the 'apply_all_roles' keyword so that it will not
1252 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1254 * Moose::Meta::Class
1255 - added ->create method which now supports roles (thanks to jrockway)
1256 - added tests for this
1257 - added ->create_anon_class which now supports roles and caching of
1258 the results (thanks to jrockway)
1259 - added tests for this
1260 - made ->does_role a little more forgiving when it is
1261 checking a Class::MOP era metaclasses.
1263 * Moose::Meta::Role::Application::ToInstance
1264 - it is now possible to pass extra params to be used when
1265 a role is applied to an the instance (rebless_params)
1266 - added tests for this
1268 * Moose::Util::TypeConstraints
1269 - class_type now accepts an optional second argument for a
1270 custom message. POD anotated accordingly (groditi)
1271 - added tests for this
1272 - it is now possible to make anon-enums by passing 'enum' an
1273 ARRAY ref instead of the $name => @values. Everything else
1275 - added tests for this
1278 - making test for using '+name' on attributes consumed
1279 from a role, it works and makes sense too.
1281 * Moose::Meta::Attribute
1282 - fix handles so that it doesn't return nothing
1283 when the method cannot be found, not sure why
1284 it ever did this originally, this means we now
1285 have slightly better support for AUTOLOADed
1287 - added more delegation tests
1288 - adding ->does method to this so as to better
1289 support traits and their introspection.
1290 - added tests for this
1293 - localizing the Data::Dumper configurations so
1294 that it does not pollute others (RT #33509)
1295 - made ->does a little more forgiving when it is
1296 passed Class::MOP era metaclasses.
1298 0.38 Fri. Feb. 15, 2008
1299 * Moose::Meta::Attribute
1300 - fixed initializer to correctly do
1301 type checking and coercion in the
1303 - added tests for this
1306 - fixed some finicky tests (thanks to konobi)
1308 0.37 Thurs. Feb. 14, 2008
1310 - fixed some details in Moose::init_meta
1311 and its superclass handling (thanks thepler)
1312 - added tests for this (thanks thepler)
1313 - 'has' now dies if you don't pass in name
1315 - added the 'make_immutable' keyword as a shortcut
1318 * Moose::Meta::Class
1319 Moose::Meta::Method::Constructor
1320 Moose::Meta::Attribute
1321 - making (init_arg => undef) work here too
1322 (thanks to nothingmuch)
1324 * Moose::Meta::Attribute
1325 Moose::Meta::Method::Constructor
1326 Moose::Meta::Method::Accessor
1327 - make lazy attributes respect attr initializers (rjbs)
1328 - added tests for this
1330 * Moose::Util::TypeConstraints
1331 Moose::Util::TypeConstraints::OptimizedConstraints
1332 Moose::Meta::TypeConstraints
1333 Moose::Meta::Attribute
1334 Moose::Meta::Method::Constructor
1335 Moose::Meta::Method::Accessor
1336 - making type errors use the
1337 assigned message (thanks to Sartak)
1338 - added tests for this
1340 * Moose::Meta::Method::Destructor
1341 - making sure DESTROY gets inlined properly
1342 with successive DEMOLISH calls (thanks to manito)
1344 * Moose::Meta::Attribute
1345 Moose::Meta::Method::Accessor
1346 - fixed handling of undef with type constraints
1348 - added tests for this
1351 - added &get_all_init_args and &get_all_attribute_values
1352 (thanks to Sartak and nothingmuch)
1354 0.36 Sat. Jan. 26, 2008
1356 Moose::Meta::Attribute
1357 - role type tests now support when roles are
1358 applied to non-Moose classes (found by ash)
1359 - added tests for this (thanks to ash)
1360 - couple extra tests to boost code coverage
1362 * Moose::Meta::Method::Constructor
1363 - improved fix for handling Class::MOP attributes
1364 - added test for this
1366 * Moose::Meta::Class
1367 - handled the add_attribute($attribute_meta_object)
1369 - added test for this
1371 0.35 Tues. Jan. 22, 2008
1372 * Moose::Meta::Method::Constructor
1373 - fix to make sure even Class::MOP attributes
1374 are handled correctly (Thanks to Dave Rolsky)
1375 - added test for this (also Dave Rolsky)
1377 * Moose::Meta::Class
1378 - improved error message on _apply_all_roles,
1379 you should now use Moose::Util::apply_all_roles
1380 and you shouldnt have been using a _ prefixed
1381 method in the first place ;)
1383 0.34 Mon. Jan. 21, 2008
1384 ~~~ more misc. doc. fixes ~~~
1385 ~~ updated copyright dates ~~
1387 Moose is now a postmodern object system :)
1388 - (see the POD for details)
1390 * <<Role System Refactoring>>
1391 - this release contains a major reworking and
1392 cleanup of the role system
1393 - 100% backwards compat.
1394 - Role application now restructured into seperate
1395 classes based on type of applicants
1396 - Role summation (combining of more than one role)
1397 is much cleaner and anon-classes are no longer
1398 used in this process
1399 - new Composite role metaclass
1400 - runtime application of roles to instances
1401 is now more efficient and re-uses generated
1402 classes when applicable
1404 * <<New Role composition features>>
1405 - methods can now be excluded from a given role
1407 - methods can now be aliased to another name (and
1408 still retain the original as well)
1410 * Moose::Util::TypeConstraints::OptimizedConstraints
1411 - added this module (see above)
1413 * Moose::Meta::Class
1414 - fixed the &_process_attribute method to be called
1415 by &add_attribute, so that the API is now correct
1417 * Moose::Meta::Method::Accessor
1418 - fixed bug when passing a list of values to
1419 an accessor would get (incorrectly) ignored.
1420 Thanks to Sartak for finding this ;)
1421 - added tests for this (Sartak again)
1423 * Moose::Meta::Method::Accessor
1424 Moose::Meta::Method::Constructor
1425 Moose::Meta::Attribute
1426 Moose::Meta::TypeConstraint
1427 Moose::Meta::TypeCoercion
1428 - lots of cleanup of such things as:
1430 - type constraint handling
1431 - error handling/messages
1432 (thanks to nothingmuch)
1434 * Moose::Meta::TypeConstraint::Parameterizable
1435 - added this module to support the refactor
1436 in Moose::Meta::TypeConstraint::Parameterized
1438 * Moose::Meta::TypeConstraint::Parameterized
1439 - refactored how these types are handled so they
1440 are more generic and not confined to ArrayRef
1444 - shortened some file names for better VMS support (RT #32381)
1446 0.33 Fri. Dec. 14, 2007
1447 !! Moose now loads 2 x faster !!
1448 !! with new Class::MOP 0.49 !!
1450 ++ new oose.pm module to make command line
1451 Moose-ness easier (see POD docs for more)
1453 * Moose::Meta::Class
1455 - several tweaks to take advantage of the
1456 new method map caching in Class::MOP
1458 * Moose::Meta::TypeConstraint::Parameterized
1459 - allow subtypes of ArrayRef and HashRef to
1460 be used as a container (sartak)
1461 - added tests for this
1462 - basic support for coercion to ArrayRef and
1463 HashRef for containers (sartak)
1464 - added tests for this
1466 * Moose::Meta::TypeCoercion
1467 - coercions will now create subtypes as needed
1468 so you can now add coercions to parameterized
1469 types without having to explictly define them
1470 - added tests for this
1472 * Moose::Meta::Method::Accessor
1473 - allow subclasses to decide whether we need
1474 to copy the value into a new variable (sartak)
1476 0.32 Tues. Dec. 4, 2007
1477 * Moose::Util::TypeConstraints
1478 - fixing how subtype aliases of unions work
1479 they should inherit the parent's coercion
1480 - added tests for this
1481 - you can now define multiple coercions on
1482 a single type at different times instead of
1483 having to do it all in one place
1484 - added tests for this
1486 * Moose::Meta::TypeConstraint
1487 - there is now a default constraint of sub { 1 }
1488 instead of Moose::Util::TypeConstraints setting
1491 * Moose::Meta::TypeCoercion
1492 * Moose::Meta::TypeCoercion::Union
1493 - added the &has_coercion_for_type and
1494 &add_type_coercions methods to support the
1495 new features above (although you cannot add
1496 more type coercions for Union types)
1498 0.31 Mon. Nov. 26, 2007
1499 * Moose::Meta::Attribute
1500 - made the +attr syntax handle extending types with
1501 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1502 now works if the original foo is an ArrayRef.
1503 - added tests for this.
1504 - delegation now works even if the attribute does not
1505 have a reader method using the get_read_method_ref
1506 method from Class::MOP::Attribute.
1507 - added tests for this
1508 - added docs for this
1510 * Moose::Util::TypeConstraints
1511 - passing no "additional attribute info" to
1512 &find_or_create_type_constraint will no longer
1513 attempt to create an __ANON__ type for you,
1514 instead it will just return undef.
1515 - added docs for this
1517 0.30 Fri. Nov. 23, 2007
1518 * Moose::Meta::Method::Constructor
1519 -builder related bug in inlined constructor. (groditi)
1521 * Moose::Meta::Method::Accessor
1522 - genereate unnecessary calls to predicates and refactor
1523 code generation for runtime speed (groditi)
1525 * Moose::Util::TypeConstraints
1526 - fix ClassName constraint to introspect symbol table (mst)
1527 - added more tests for this (mst)
1528 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1529 with work correctly.
1530 - added tests for this
1533 - adding the link to Recipie 11 (written by Sartak)
1534 - adding test for SYNOPSIS code
1537 - New tests for builder bug. Upon instantiation, if an
1538 attribute had a builder, no value and was not lazy the
1539 builder default was not getting run, oops. (groditi)
1541 0.29 Tues. Nov. 13, 2007
1542 * Moose::Meta::Attribute
1543 - Fix error message on missing builder method (groditi)
1545 * Moose::Meta::Method::Accessor
1546 - Fix error message on missing builder method (groditi)
1549 - Add test to check for the correct error message when
1550 builder method is missing (groditi)
1552 0.28 Tues. Nov. 13, 2007
1553 - 0.27 packaged incorrectly (groditi)
1555 0.27 Tues. Nov. 13, 2007
1556 * Moose::Meta::Attribute
1557 - Added support for the new builder option (groditi)
1558 - Added support for lazy_build option (groditi)
1559 - Changed slot initialization for predicate changes (groditi)
1561 * Moose::Meta::Method::Accessor
1562 - Added support for lazy_build option (groditi)
1563 - Fix inline methods to work with corrected predicate
1566 * Moose::Meta::Method::Constructor
1567 - Added support for lazy_build option (groditi)
1570 - tests for builder and lazy_build (groditi)
1572 * fixing some misc. bits in the docs that
1573 got mentioned on CPAN Forum & perlmonks
1576 - fixed how required methods are handled
1577 when they encounter overriden or modified
1578 methods from a class (thanks to confound).
1579 - added tests for this
1581 * Moose::Util::TypeConstraint
1582 - fixed the type notation parser so that
1583 the | always creates a union and so is
1584 no longer a valid type char (thanks to
1585 konobi, mugwump and #moose for working
1587 - added more tests for this
1589 0.26 Thurs. Sept. 27, 2007
1592 * Parameterized Types
1593 We now support parameterized collection types, such as:
1594 ArrayRef[Int] # array or integers
1595 HashRef[Object] # a hash with object values
1596 They can also be nested:
1597 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1598 And work with the type unions as well:
1599 ArrayRef[Int | Str] # array of integers of strings
1601 * Better Framework Extendability
1602 Moose.pm is now "extendable" such that it is now much
1603 easier to extend the framework and add your own keywords
1604 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1605 section of the Moose.pm docs.
1608 In an effort to begin documenting some of the various
1609 details of Moose as well as some common idioms, we have
1610 created Moose::Cookbook::Snacks as a place to find
1611 small (easily digestable) nuggets of Moose code.
1614 ~ Several doc updates/cleanup thanks to castaway ~
1616 - converted build system to use Module::Install instead of
1617 Module::Build (thanks to jrockway)
1620 - added all the meta classes to the immutable list and
1621 set it to inline the accessors
1622 - fix import to allow Sub::Exporter like { into => }
1623 and { into_level => } (perigrin)
1624 - exposed and documented init_meta() to allow better
1625 embedding and extending of Moose (perigrin)
1628 - complete re-organization of the test suite
1629 - added some new tests as well
1630 - finally re-enabled the Moose::POOP test since
1631 the new version of DBM::Deep now works again
1634 * Moose::Meta::Class
1635 - fixed very odd and very nasty recursion bug with
1637 - added tests for this (eilara)
1639 * Moose::Meta::Attribute
1640 Moose::Meta::Method::Constructor
1641 Moose::Meta::Method::Accessor
1642 - fixed issue with overload::Overloaded getting called
1643 on non-blessed items. (RT #29269)
1644 - added tests for this
1646 * Moose::Meta::Method::Accessor
1647 - fixed issue with generated accessor code making
1648 assumptions about hash based classes (thanks to dexter)
1650 * Moose::Coookbook::Snacks
1651 - these are bits of documentation, not quite as big as
1652 Recipes but which have no clear place in the module docs.
1653 So they are Snacks! (horray for castaway++)
1655 * Moose::Cookbook::Recipe4
1656 - updated it to use the new ArrayRef[MyType] construct
1657 - updated the accompanying test as well
1659 +++ Major Refactor of the Type Constraint system +++
1660 +++ with new features added as well +++
1662 * Moose::Util::TypeConstraint
1663 - no longer uses package variable to keep track of
1664 the type constraints, now uses the an instance of
1665 Moose::Meta::TypeConstraint::Registry to do it
1666 - added more sophisticated type notation parsing
1668 - added tests for this
1670 * Moose::Meta::TypeConstraint
1671 - some minor adjustments to make subclassing easier
1672 - added the package_defined_in attribute so that we
1673 can track where the type constraints are created
1675 * Moose::Meta::TypeConstraint::Union
1676 - this is now been refactored to be a subclass of
1677 Moose::Meta::TypeConstraint
1679 * Moose::Meta::TypeCoercion::Union
1680 - this has been added to service the newly refactored
1681 Moose::Meta::TypeConstraint::Union and is itself
1682 a subclass of Moose::Meta::TypeCoercion
1684 * Moose::Meta::TypeConstraint::Parameterized
1685 - added this module (taken from MooseX::AttributeHelpers)
1686 to help construct nested collection types
1687 - added tests for this
1689 * Moose::Meta::TypeConstraint::Registry
1690 - added this class to keep track of type constraints
1692 0.25 Mon. Aug. 13, 2007
1694 - Documentation update to reference Moose::Util::TypeConstraints
1695 under 'isa' in 'has' for how to define a new type
1696 (thanks to shlomif).
1698 * Moose::Meta::Attribute
1699 - required attributes now will no longer accept undef
1700 from the constructor, even if there is a default and lazy
1701 - added tests for this
1702 - default subroutines must return a value which passes the
1704 - added tests for this
1706 * Moose::Meta::Attribute
1707 * Moose::Meta::Method::Constructor
1708 * Moose::Meta::Method::Accessor
1709 - type-constraint tests now handle overloaded objects correctly
1710 in the error message
1711 - added tests for this (thanks to EvanCarroll)
1713 * Moose::Meta::TypeConstraint::Union
1714 - added (has_)hand_optimized_constraint to this class so that
1715 it behaves as the regular Moose::Meta::TypeConstraint does.
1718 - large refactoring of this code
1719 - added several more tests
1720 - tests for subtle conflict resolition issues
1721 added, but not currently running
1724 * Moose::Cookbook::Recipe7
1725 - added new recipe for augment/inner functionality
1727 - added test for this
1730 - a formal definition of roles (still in progress)
1733 - utilities for easier working with Moose classes
1734 - added tests for these
1737 - This contains Moose specific test functions
1738 - added tests for these
1740 0.24 Tues. July 3, 2007
1741 ~ Some doc updates/cleanup ~
1743 * Moose::Meta::Attribute
1744 - added support for roles to be given as parameters
1745 to the 'handles' option.
1746 - added tests and docs for this
1747 - the has '+foo' attribute form now accepts changes to
1748 the lazy option, and the addition of a handles option
1749 (but not changing the handles option)
1750 - added tests and docs for this
1753 - required methods are now fetched using find_method_by_name
1754 so that required methods can come from superclasses
1755 - adjusted tests for this
1757 0.23 Mon. June 18, 2007
1758 * Moose::Meta::Method::Constructor
1759 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1760 * Moose::Meta::Class
1761 - Modify make_immutable to work with the new Class::MOP immutable
1762 mechanism + POD + very basic test (groditi)
1763 * Moose::Meta::Attribute
1764 - Fix handles to use goto() so that caller() comes out properly on
1765 the other side (perigrin)
1767 0.22 Thurs. May 31, 2007
1768 * Moose::Util::TypeConstraints
1769 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1770 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1771 prototypes for functions
1772 - added the ClassName type constraint, this checks for strings
1773 which will respond true to ->isa(UNIVERSAL).
1774 - added tests and docs for this
1775 - subtyping just in name now works correctly by making the
1776 default for where be { 1 }
1777 - added test for this
1779 * Moose::Meta::Method::Accessor
1780 - coerce and lazy now work together correctly, thanks to
1781 merlyn for finding this bug
1782 - tests added for this
1783 - fix reader presedence bug in Moose::Meta::Attribute + tests
1786 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1787 a HASH-ref and missed. This produces better error messages then
1788 having it die cause undef is not a HASH.
1789 - added tests for this
1791 0.21 Thursday, May 2nd, 2007
1793 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1794 - modified unimport to remove super and inner along with the rest
1795 - altered unimport tests to handle this
1798 - altered super export to populate SUPER_SLOT
1800 * Moose::Meta::Class
1801 - altered augment and override modifier application to use *_SLOT
1802 - modified tests for these to unimport one test class each to test
1805 - fixed issue where custom attribute metaclasses
1806 where not handled correctly in roles
1807 - added tests for this
1809 * Moose::Meta::Class
1810 - fixed issue where extending metaclasses with
1811 roles would blow up. Thanks to Aankhen`` for
1812 finding this insidious error, and it's solution.
1814 ~~ lots of spelling and grammer fixes in the docs,
1815 many many thanks to rlb3 and Aankhen for these :)
1817 0.20 Friday, April 6th, 2007
1818 >> I messed up the SKIP logic in one test
1819 so this release is just to fix that.
1822 - 'has' now also accepts an ARRAY ref
1823 to create multiple attrs (see docs)
1824 (thanks to konobi for this)
1825 - added tests and docs
1827 0.19 Thurs. April 5th, 2007
1828 ~~ More documentation updates ~~
1830 * Moose::Util::TypeConstraints
1831 - 'type' now supports messages as well
1832 thanks to phaylon for finding this
1833 - added tests for this
1834 - added &list_all_type_constraints and
1835 &list_all_builtin_type_constraints
1836 functions to facilitate introspection.
1838 * Moose::Meta::Attribute
1839 - fixed regexp 'handles' declarations
1840 to build the list of delegated methods
1841 correctly (and not override important
1842 things like &new) thanks to ashleyb
1844 - added tests and docs for this
1845 - added the 'documentation' attributes
1846 so that you can actually document your
1847 attributes and inspect them through the
1849 - added tests and docs for this
1851 * Moose::Meta::Class
1852 - when loading custom attribute metaclasses
1853 it will first look in for the class in the
1854 Moose::Meta::Attribute::Custom::$name, and
1855 then default to just loading $name.
1856 - added tests and docs for this
1858 * Moose::Meta::TypeConstraint
1859 - type constraints now stringify to their names.
1860 - added test for this
1863 - added tests to assure we work with Module::Refresh
1864 - added stricter test skip logic in the Moose POOP
1865 test, ask Rob Kinyon why.
1866 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1868 0.18 Sat. March 10, 2007
1869 ~~ Many, many documentation updates ~~
1872 - We now use Class::MOP::load_class to
1874 - added tests to show types and subtypes
1875 working with Declare::Constraints::Simple
1876 and Test::Deep as constraint engines.
1879 !! You must have Class::MOP 0.37_001 !!
1880 !! for this developer release to work !!
1882 This release was primarily adding the immutable
1883 feature to Moose. An immutable class is one which
1884 you promise not to alter. When you set the class
1885 as immutable it will perform various bits of
1886 memoization and inline certain part of the code
1887 (constructors, destructors and accessors). This
1888 minimizes (and in some cases totally eliminates)
1889 one of Moose's biggest performance hits. This
1890 feature is not on by default, and is 100% optional.
1891 It has several configurable bits as well, so you
1892 can pick and choose to your specific needs.
1894 The changes involved in this were fairly wide and
1895 highly specific, but 100% backwards compatible, so
1896 I am not going to enumerate them here. If you are
1897 truely interested in what was changed, please do
1900 0.17 Tues. Nov. 14, 2006
1901 * Moose::Meta::Method::Accessor
1902 - bugfix for read-only accessors which
1903 are have a type constraint and lazy.
1904 Thanks to chansen for finding it.
1906 0.16 Tues. Nov. 14, 2006
1908 There are some speed improvements in this release,
1909 but they are only the begining, so stay tuned.
1912 - BUILDALL and DEMOLISHALL no longer get
1913 called unless they actually need to be.
1914 This gave us a signifigant speed boost
1915 for the cases when there is no BUILD or
1916 DEMOLISH method present.
1918 * Moose::Util::TypeConstraints
1919 * Moose::Meta::TypeConstraint
1920 - added an 'optimize_as' option to the
1921 type constraint, which allows for a
1922 hand optimized version of the type
1923 constraint to be used when possible.
1924 - Any internally created type constraints
1925 now provide an optimized version as well.
1927 0.15 Sun. Nov. 5, 2006
1929 This version of Moose *must* have Class::MOP 0.36 in order
1930 to work correctly. A number of small internal tweaks have
1931 been made in order to be compatible with that release.
1933 * Moose::Util::TypeConstraints
1934 - added &unimport so that you can clean out
1935 your class namespace of these exported
1938 * Moose::Meta::Class
1939 - fixed minor issue which occasionally
1940 comes up during global destruction
1942 - moved Moose::Meta::Method::Overriden into
1946 - moved Moose::Meta::Role::Method into
1949 * Moose::Meta::Attribute
1950 - changed how we do type checks so that
1951 we reduce the overall cost, but still
1954 - moved accessor generation methods to
1955 Moose::Meta::Method::Accessor to
1956 conform to the API changes from
1959 * Moose::Meta::TypeConstraint
1960 - changed how constraints are compiled
1961 so that we do less recursion and more
1962 iteration. This makes the type check
1964 - moved Moose::Meta::TypeConstraint::Union
1967 * Moose::Meta::Method::Accessor
1968 - created this from methods formerly found in
1969 Moose::Meta::Attribute
1971 * Moose::Meta::Role::Method
1972 - moved this from Moose::Meta::Role
1974 * Moose::Meta::Method::Overriden
1975 - moved this from Moose::Meta::Class
1977 * Moose::Meta::TypeConstraint::Union
1978 - moved this from Moose::Meta::TypeConstraint
1980 0.14 Mon. Oct. 9, 2006
1982 * Moose::Meta::Attribute
1983 - fixed lazy attributes which were not getting
1984 checked with the type constraint (thanks ashley)
1985 - added tests for this
1986 - removed the over-enthusiastic DWIMery of the
1987 automatic ArrayRef and HashRef defaults, it
1988 broke predicates in an ugly way.
1989 - removed tests for this
1991 0.13 Sat. Sept. 30, 2006
1993 This version of Moose *must* have Class::MOP 0.35 in order
1994 to work correctly. A number of small internal tweaks have
1995 been made in order to be compatible with that release.
1998 - Removed the use of UNIVERSAL::require to be a better
1999 symbol table citizen and remove a dependency
2000 (thanks Adam Kennedy)
2002 **~~ removed experimental & undocumented feature ~~**
2003 - commented out the 'method' and 'self' keywords, see the
2004 comments for more info.
2007 - added a FAQ and WTF files to document frequently
2008 asked questions and common problems
2010 * Moose::Util::TypeConstraints
2011 - added GlobRef and FileHandle type constraint
2012 - added tests for this
2014 * Moose::Meta::Attribute
2015 - if your attribute 'isa' ArrayRef of HashRef, and you have
2016 not explicitly set a default, then make the default DWIM.
2017 This will also work for subtypes of ArrayRef and HashRef
2019 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2020 - new test added for this (thanks to ashley)
2023 - added basic support for runtime role composition
2024 but this is still *highly experimental*, so feedback
2025 is much appreciated :)
2026 - added tests for this
2028 * Moose::Meta::TypeConstraint
2029 - the type constraint now handles the coercion process
2030 through delegation, this is to support the coercion
2033 * Moose::Meta::TypeConstraint::Union
2034 - it is now possible for coercions to be performed
2036 - added tests for this (thanks to konobi)
2038 * Moose::Meta::TypeCoercion
2039 - properly capturing error when type constraint
2043 - Scalar::Util 1.18 is bad on Win32, so temporarily
2044 only require version 1.17 for Win32 and cygwin.
2045 (thanks Adam Kennedy)
2047 0.12 Sat. Sept. 1, 2006
2049 - Recipe5 (subtypes & coercion) has been written
2052 - fixed "bad meta" error message to be more descriptive
2053 - fixed &unimport to not remove the &inner and &super
2054 keywords because we need to localize them.
2055 - fixed number of spelling/grammer issues, thanks Theory :)
2057 **~~ experimental & undocumented feature ~~**
2058 - added the method and self keywords, they are basically
2059 just sugar, and they may not stay around.
2062 - added &dump method to easily Data::Dumper
2065 * Moose::Meta::TypeConstraint
2066 - added the &is_a_type_of method to check both the current
2067 and the subtype of a method (similar to &isa with classes)
2070 - this is now a subclass of Class::MOP::Module, and no longer
2071 creates the _role_meta ugliness of before.
2072 - fixed tests to reflect this change
2074 0.11 Wed. July 12, 2006
2076 - added an &unimport method to remove all the keywords
2077 that Moose will import, simply add 'no Moose' to the
2078 bottom of your class file.
2081 - fixed some test failures caused by a forgotten test
2084 0.10 Thurs. July 6, 2006
2086 - improved error message when loading modules so
2087 it is less confusing when you load a role.
2088 - added &calculate_all_roles method to
2089 Moose::Meta::Class and Moose::Meta::Role
2092 This module has been tested against Class::MOP 0.30
2093 but it does not yet utilize the optimizations
2094 it makes available. Stay tuned for that ;)
2096 0.09_03 Fri. June 23, 2006
2097 ++ DEVELOPER RELEASE ++
2099 - 'use strict' and 'use warnings' are no longer
2100 needed in Moose classes, Moose itself will
2101 turn them on for you.
2102 - added tests for this
2103 - moved code from exported subs to private methods
2104 in Moose::Meta::Class
2107 - as with Moose, strict and warnings are
2108 automatically turned on for you.
2109 - added tests for this
2112 - now handles an edge case for override errors
2113 - added tests for this
2114 - added some more edge case tests
2116 0.09_02 Tues. May 16, 2006
2117 ++ DEVELOPER RELEASE ++
2119 - added prototypes to the exported subs
2123 - added prototypes to the exported subs
2126 * Moose::Util::TypeConstraints
2127 - cleaned up prototypes for the subs
2130 0.09_01 Fri. May 12, 2006
2131 ++ DEVELOPER RELEASE ++
2132 - This release works in combination with
2133 Class::MOP 0.29_01, it is a developer
2134 release because it uses the a new
2135 instance sub-protocol and a fairly
2136 complete Role implementation. It has
2137 not yet been optimized, so it slower
2138 the the previous CPAN version. This
2139 release also lacks good updated docs,
2140 the official release will have updated docs.
2143 - refactored the keyword exports
2144 - 'with' now checks Role validaity and
2145 accepts more than one Role at a time
2146 - 'extends' makes metaclass adjustments as
2147 needed to ensure metaclass compatibility
2150 - refactored the keyword exports
2151 - 'with' now checks Role validaity and
2152 accepts more than one Role at a time
2154 * Moose::Util::TypeConstraints
2155 - added the 'enum' keyword for simple
2156 string enumerations which can be used as
2158 - see example of usage in t/202_example.t
2161 - more careful checking of params to new()
2164 - much work done on the role composition
2165 - many new tests for conflict detection
2166 and composition edge cases
2167 - not enough documentation, I suggest
2168 looking at the tests
2170 * Moose::Meta::Instance
2171 - added new Instance metaclass to support
2172 the new Class::MOP instance protocol
2174 * Moose::Meta::Class
2175 - some small changes to support the new
2177 - some small additions to support Roles
2179 * Moose::Meta::Attribute
2180 - some improvements to the accessor generation code
2182 - some small changes to support the new
2184 - (still somewhat) experimental delegation support
2185 with the 'handles' option
2186 - added several tests for this
2187 - no docs for this yet
2189 0.05 Thurs. April 27, 2006
2191 - keywords are now exported with Sub::Exporter
2192 thanks to chansen for this commit
2193 - has keyword now takes a 'metaclass' option
2194 to support custom attribute meta-classes
2195 on a per-attribute basis
2196 - added tests for this
2197 - the 'has' keyword not accepts inherited slot
2198 specifications (has '+foo'). This is still an
2199 experimental feature and probably not finished
2200 see t/038_attribute_inherited_slot_specs.t for
2201 more details, or ask about it on #moose
2202 - added tests for this
2205 - keywords are now exported with Sub::Exporter
2207 * Moose::Utils::TypeConstraints
2208 - reorganized the type constraint hierarchy, thanks
2209 to nothingmuch and chansen for his help and advice
2211 - added some tests for this
2212 - keywords are now exported with Sub::Exporter
2213 thanks to chansen for this commit
2215 * Moose::Meta::Class
2216 - due to changes in Class::MOP, we had to change
2217 construct_instance (for the better)
2219 * Moose::Meta::Attribute
2220 - due to changes in Class::MOP, we had to add the
2221 initialize_instance_slot method (it's a good thing)
2223 * Moose::Meta::TypeConstraint
2224 - added type constraint unions
2225 - added tests for this
2226 - added the is_subtype_of predicate method
2227 - added tests for this
2229 0.04 Sun. April 16th, 2006
2231 - Roles can now consume other roles
2232 - added tests for this
2233 - Roles can specify required methods now with
2234 the requires() keyword
2235 - added tests for this
2238 - ripped out much of it's guts ,.. much cleaner now
2239 - added required methods and correct handling of
2240 them in apply() for both classes and roles
2241 - added tests for this
2242 - no longer adds a does() method to consuming classes
2243 it relys on the one in Moose::Object
2244 - added roles attribute and some methods to support
2245 roles consuming roles
2247 * Moose::Meta::Attribute
2248 - added support for triggers on attributes
2249 - added tests for this
2250 - added support for does option on an attribute
2251 - added tests for this
2253 * Moose::Meta::Class
2254 - added support for attribute triggers in the
2256 - added tests for this
2259 - Moose no longer creates a subtype for your class
2260 if a subtype of the same name already exists, this
2261 should DWIM in 99.9999% of all cases
2263 * Moose::Util::TypeConstraints
2264 - fixed bug where incorrect subtype conflicts were
2266 - added test for this
2269 - this class can now be extended with 'use base' if
2270 you need it, it properly loads the metaclass class now
2271 - added test for this
2273 0.03_02 Wed. April 12, 2006
2275 - you must now explictly use Moose::Util::TypeConstraints
2276 it no longer gets exported for you automatically
2279 - new() now accepts hash-refs as well as key/value lists
2280 - added does() method to check for Roles
2281 - added tests for this
2283 * Moose::Meta::Class
2284 - added roles attribute along with the add_role() and
2286 - added tests for this
2289 - now adds a does() method to consuming classes
2290 which tests the class's hierarchy for roles
2291 - added tests for this
2293 0.03_01 Mon. April 10, 2006
2295 - added new Role recipe (no content yet, only code)
2298 - added 'with' keyword for Role support
2299 - added test and docs for this
2300 - fixed subtype quoting bug
2301 - added test for this
2305 - added test and docs
2307 * Moose::Util::TypeConstraints
2308 - added the message keyword to add custom
2309 error messages to type constraints
2312 - the meta role to support Moose::Role
2313 - added tests and docs
2315 * Moose::Meta::Class
2316 - moved a number of things from Moose.pm
2317 to here, they should have been here
2320 * Moose::Meta::Attribute
2321 - moved the attribute option macros here
2322 instead of putting them in Moose.pm
2324 * Moose::Meta::TypeConstraint
2325 - added the message attributes and the
2327 - added tests and docs for this
2329 0.03 Thurs. March 30, 2006
2331 - added the Moose::Cookbook with 5 recipes,
2332 describing all the stuff Moose can do.
2335 - fixed an issue with &extends super class loading
2336 it now captures errors and deals with inline
2337 packages correctly (bug found by mst, solution
2339 - added super/override & inner/augment features
2340 - added tests and docs for these
2343 - BUILDALL now takes a reference of the %params
2344 that are passed to &new, and passes that to
2347 * Moose::Util::TypeConstraints
2348 - Type constraints now survive runtime reloading
2349 - added test for this
2351 * Moose::Meta::Class
2352 - fixed the way attribute defaults are handled
2353 during instance construction (bug found by chansen)
2355 * Moose::Meta::Attribute
2356 - read-only attributes now actually enforce their
2357 read-only-ness (this corrected in Class::MOP as
2360 0.02 Tues. March 21, 2006
2362 - many more tests, fixing some bugs and
2364 - &extends now loads the base module with
2366 - added UNIVERSAL::require to the
2369 - each new Moose class will also create
2370 and register a subtype of Object which
2371 correspond to the new Moose class.
2372 - the 'isa' option in &has now only
2373 accepts strings, and will DWIM in
2376 * Moose::Util::TypeConstraints
2377 - added type coercion features
2378 - added tests for this
2379 - added support for this in attributes
2380 and instance construction
2382 - type construction no longer creates a
2383 function, it registers the type instead.
2384 - added several functions to get the
2388 - BUILDALL and DEMOLISHALL were broken
2389 because of a mis-named hash key, Whoops :)
2391 * Moose::Meta::Attribute
2392 - adding support for coercion in the
2393 autogenerated accessors
2395 * Moose::Meta::Class
2396 - adding support for coercion in the
2397 instance construction
2399 * Moose::Meta::TypeConstraint
2400 * Moose::Meta::TypeCoercion
2401 - type constraints and coercions are now
2402 full fledges meta-objects
2404 0.01 Wed. March 15, 2006
2405 - Moooooooooooooooooose!!!