1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
5 * Moose::Meta::Method::Destructor
6 - Include stack traces in the deprecation warnings.
9 0.73_02 Mon, April 6, 2009
10 * More deprecations and renamings
11 - Moose::Meta::Method::Constructor
12 - initialize_body => _initialize_body (this is always called
13 when an object is constructed)
16 - The DEMOLISHALL method could throw an exception during global
17 destruction, meaning that your class's DEMOLISH methods would
18 not be properly called. Reported by t0m.
20 * Moose::Meta::Method::Destructor
21 - Destructor inlining was totally broken by the change to the
22 is_needed method in 0.72_01. Now there is a test for this
23 feature, and it works again.
25 0.73_01 Sun, April 5, 2009
27 - Call user_class->meta in fewer places, with the eventual goal
28 of allowing the user to rename or exclude ->meta
29 altogether. Instead uses Class::MOP::class_of. (Sartak)
31 * Moose::Meta::Method::Accessor
32 - If an attribute had a lazy default, and that value did not
33 pass the attribute's type constraint, it did not get the
34 message from the type constraint, instead using a generic
35 message. Test provided by perigrin.
37 * Moose::Util::TypeConstraints
38 - Add duck_type keyword. It's sugar over making sure an object
39 can() a list of methods. This is easier than jrockway's
40 suggestion to fork all of CPAN. (perigrin)
41 - add tests and documentation (perigrin)
44 - Document the fact that init_meta() returns the target class's
45 metaclass object. (hdp)
47 * Moose::Cookbook::Extending::Recipe1
48 * Moose::Cookbook::Extending::Recipe2
49 * Moose::Cookbook::Extending::Recipe3
50 * Moose::Cookbook::Extending::Recipe4
51 - Make init_meta() examples explicitly return the metaclass and
52 point out this fact. (hdp)
54 * Moose::Cookbook::Meta::Recipe6
55 - A new recipe, creating a custom meta-method class.
58 * Moose::Meta::Method::Constructor
59 - Attribute triggers no longer receive the meta-attribute object
60 as an argument in any circumstance. Previously, triggers
61 called during instance construction were passed the
62 meta-attribute, but triggers called by normal accessors were
63 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
65 * Moose::Manual::Attributes
66 - Remove references to triggers receving the meta-attribute object as an
69 * Moose::Cookbook::FAQ
70 - Remove recommendation for deprecated Moose::Policy and
71 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
74 * Many methods have been renamed with a leading underscore, and a
75 few have been deprecated entirely. The methods with a leading
76 underscore are consider "internals only". People writing
77 subclasses or extensions to Moose should feel free to override
78 them, but they are not for "public" use.
81 - check_metaclass_compatibility => _check_metaclass_compatibility
83 - Moose::Meta::Method::Accessor
84 - initialize_body => _initialize_body (this is always called
85 when an object is constructed)
86 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
88 - Moose::Meta::Method::Constructor
89 - initialize_body => _initialize_body (this is always called
90 when an object is constructed)
91 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
92 - attributes => _attributes (now inherited from parent)
93 - meta_instance => _meta_instance (now inherited from parent)
96 - alias_method is deprecated. Use add_method
98 0.73 Fri, March 29, 2009
99 * No changes from 0.72_01.
101 0.72_01 Thu, March 26, 2009
103 - Almost every module has complete API documentation. A few
104 methods (and even whole classes) have been intentionally
105 excluded pending some rethinking of their APIs.
107 * Moose::Util::TypeConstraints
108 - Calling subtype with a name as the only argument is now an
109 exception. If you want an anonymous subtype do:
111 my $subtype = subtype as 'Foo';
113 * Moose::Cookbook::Meta::Recipe7
114 - A new recipe, creating a custom meta-instance class.
116 * Moose::Cookbook::Basics::Recipe5
117 - Fix various typos and mistakes. Includes a patch from Radu
120 * Moose::Cookbook::Basics::Recipe9
121 - Link to this recipe from Moose.pm's builder blurb
124 - When wrapping a function with a prototype, Moose::Exporter now
125 makes sure the wrapped function still has the same
126 prototype. (Daisuke Maki)
128 * Moose::Meta::Attribute
129 - Allow a subclass to set lazy_build for an inherited
133 - Explicitly depend on Data::OptList. We already had this dependency
134 via Sub::Exporter, but since we're using it directly we're
135 better off with it listed. (Sartak)
137 * Moose::Meta::Method::Constructor
138 - Make it easier to subclass the inlining behaviour. (Ash
141 * Moose::Manual::Delta
142 - Details significant changes in the history of Moose, along
143 with recommended workarounds.
145 * Moose::Manual::Contributing
146 - Contributor's guide to Moose.
148 * Moose::Meta::Method::Constructor
149 - The long-deprecated intialize_body method has been removed
150 (yes, spelled like that).
152 * Moose::Meta::Method::Destructor
153 - This is_needed method is now always a class method.
156 - Changes to the internals of how make_immutable works to match
157 changes in latest Class::MOP.
159 0.72 Mon, February 23, 2009
161 * Moose::Meta::Method::Constructor
162 - A mutable class accepted Foo->new(undef) without complaint,
163 while an immutable class would blow up with an unhelpful
164 error. Now, in both cases we throw a helpful error
165 instead. Reported by doy.
167 0.71_01 Sun, February 22, 2009
169 - Hopefully fixed some POD errors in a few recipes that caused
170 them to display weird on search.cpan.org.
172 * Moose::Util::TypeConstraints
173 - Calling type or subtype without the sugar helpers (as, where,
174 message) is now deprecated.
175 - The subtype function tried hard to guess what you meant, but
176 often got it wrong. For example:
178 my $subtype = subtype as 'ArrayRef[Object]';
180 This caused an error in the past, but now works as you'd
184 - Make sure Moose.pm is loaded before calling
185 Moose->throw_error. This wasn't normally an issue, but could
186 bite you in weird cases.
188 0.71 Thu, February 19, 2009
189 * Moose::Cookbook::Basics::Recipe11
190 - A new recipe which demonstrates the use of BUILDARGS and
193 * Moose::Cookbook::Roles::Recipe3
194 - A new recipe, applying a role to an object instance. (Dave
198 - Allow overriding specific keywords from "also" packages. (doy)
201 - Replace hardcoded cookbook tests with Test::Inline to ensure
202 the tests match the actual code in the recipes. (Dave Rolsky)
205 - Working on the above turned up a number of little bugs in the
206 recipe code. (Dave Rolsky)
208 * Moose::Util::TypeConstraints::Optimized
209 - Just use Class::MOP for the optimized ClassName check. (Dave
212 0.70 Sat, February 14, 2009
213 * Moose::Util::TypeConstraints
214 - Added the RoleName type (stevan)
215 - added tests for this (stevan)
217 * Moose::Cookbook::Basics::Recipe3
218 - Updated the before qw[left right] sub to be a little more
219 defensive about what it accepts (stevan)
220 - added more tests to t/000_recipies/basics/003_binary_tree.t
224 - We now always call DEMOLISHALL, even if a class does not
225 define DEMOLISH. This makes sure that method modifiers on
226 DEMOLISHALL work as expected. (doy)
227 - added tests for this (EvanCarroll)
229 * Moose::Util::MetaRole
230 - Accept roles for the wrapped_method_metaclass (rafl)
231 - added tests for this (rafl)
233 * Moose::Meta::Attribute
234 - We no longer pass the meta-attribute object as a final
235 argument to triggers. This actually changed for inlined code a
236 while back, but the non-inlined version and the docs were
240 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
241 they require 0.11. (Dave Rolsky)
244 - Lots of small changes to the manual, cookbook, and
245 elsewhere. These were based on feedback from various
246 users, too many to list here. (Dave Rolsky)
248 0.69 Thu, February 12, 2009
250 - Make some keyword errors use throw_error instead of croak
251 since Moose::Exporter wraps keywords now (Sartak)
254 - Revised every recipe for style and clarity. Also moved some
255 documentation out of cookbook recipes and into Moose::Manual
256 pages. This work was funded as part of the Moose docs grant
257 from TPF. (Dave Rolsky)
259 * Moose::Meta::Method::Delegation
260 - If the attribute doing the delegation was not populated, the
261 error message did not specify the attribute name
264 0.68 Wed, February 4, 2009
266 - Many spelling, typo, and formatting fixes by daxim.
268 * Moose::Manual::Attributes
269 - The NAME section in the POD used "Attribute" so search.cpan
270 didn't resolve links from other documents properly.
272 * Moose::Meta::Method::Overriden
273 - Now properly spelled as Overridden. Thanks to daxim for
276 0.67 Tue, February 3, 2009
278 - Lots of little typo fixes and a few clarifications. Several
279 pages didn't have proper titles, and so weren't actually
280 visible on search.cpan.org. Thanks to hanekomu for a variety
281 of fixes and formatting improvements.
283 0.66 Tue, February 3, 2009
285 - This is a brand new, extensive manual for Moose. This aims to
286 provide a complete introduction to all of Moose's
287 features. This work was funded as part of the Moose docs grant
288 from TPF. (Dave Rolsky)
290 * Moose::Meta::Attribute
291 - Added a delegation_metaclass method to replace a hard-coded
292 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
294 * Moose::Util::TypeConstraints
295 - If you created a subtype and passed a parent that Moose didn't
296 know about, it simply ignored the parent. Now it automatically
297 creates the parent as a class type. This may not be what you
298 want, but is less broken than before. (Dave Rolsky)
300 * Moose::Util::TypeConstraints
301 - This module tried throw errors by calling Moose->throw_error,
302 but it did not ensure that Moose was loaded first. This could
303 cause very unhelpful errors when it tried to throw an error
304 before Moose was loaded. (Dave Rolsky)
306 * Moose::Util::TypeConstraints
307 - You could declare a name with subtype such as "Foo!Bar" that
308 would be allowed, but if you used it in a parameterized type
309 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
310 vetting on names created via the sugar functions, so that they
311 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
313 0.65 Thu, January 22, 2008
314 * Moose and Moose::Meta::Method::Overridden
315 - If an overridden method called super(), and then the
316 superclass's method (not overridden) _also_ called super(),
317 Moose went into an endless recursion loop. Test provided by
318 Chris Prather. (Dave Rolsky)
320 * Moose::Meta::TypeConstraint
321 - All methods are now documented. (gphat)
323 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
324 - Fixed some bogus failures that occurred because we tried to
325 validate filesystem paths in a very ad-hoc and
326 not-quite-correct way. (Dave Rolsky)
328 * Moose::Util::TypeConstraints
329 - Added maybe_type to exports. See docs for details. (rjbs)
332 - Added Moose::Util::TypeConstraints to the SEE ALSO
336 - Methods created via an attribute can now fulfill a "requires"
337 declaration for a role. (nothingmuch)
339 * Moose::Meta::Method::*
340 - Stack traces from inlined code will now report its line and
341 file as being in your class, as opposed to in Moose
344 0.64 Wed, December 31, 2008
345 * Moose::Meta::Method::Accessor
346 - Always inline predicate and clearer methods (Sartak)
348 * Moose::Meta::Attribute
349 - Support for parameterized traits (Sartak)
350 - verify_against_type_constraint method to avoid duplication
351 and enhance extensibility (Sartak)
354 - Tests (but no support yet) for parameterized traits (Sartak)
357 - Require Class::MOP 0.75+, which has the side effect of making
358 sure we work on Win32. (Dave Rolsky)
360 0.63 Mon, December 8, 2008
362 - Some small grammar tweaks and bug fixes in non-Moose example
365 0.62_02 Fri, December 5, 2008
366 * Moose::Meta::Role::Application::ToClass
367 - When a class does not provide all of a role's required
368 methods, the error thrown now mentions all of the missing
369 methods, as opposed to just the first one found. Requested by
370 Curtis Poe (RT #41119). (Dave Rolsky)
372 * Moose::Meta::Method::Constructor
373 - Moose will no longer inline a constructor for your class
374 unless it inherits its constructor from Moose::Object, and
375 will warn when it doesn't inline. If you want to force
376 inlining anyway, pass "replace_constructor => 1" to
377 make_immutable. Addresses RT #40968, reported by Jon
378 Swartz. (Dave Rolsky)
379 - The quoting of default values could be broken if the default
380 contained a single quote ('). Now we use quotemeta to escape
381 anything potentially dangerous in the defaults. (Dave Rolsky)
383 0.62_01 Wed, December 3, 2008
385 - use the method->execute API for BUILDALL
386 and DEMOLISHALL (Sartak)
388 * Moose::Util::TypeConstraints
389 - We now make all the type constraint meta classes immutable
390 before creating the default types provided by Moose. This
391 should make loading Moose a little faster. (Dave Rolsky)
393 0.62 Wed November 26, 2008
394 * Moose::Meta::Role::Application::ToClass
395 Moose::Meta::Role::Application::ToRole
396 - fixed issues where excluding and aliasing the
397 same methods for a single role did not work
398 right (worked just fine with multiple
400 - added test for this (stevan)
402 * Moose::Meta::Role::Application::RoleSummation
403 - fixed the error message when trying to compose
404 a role with a role it excludes (Sartak)
407 - Catch another case where recursion caused the value
408 of $CALLER to be stamped on (t0m)
409 - added test for this (t0m)
412 - Remove the make_immutable keyword, which has been
413 deprecated since April. It breaks metaclasses that
414 use Moose without no Moose (Sartak)
416 * Moose::Meta::Attribute
417 - Removing an attribute from a class now also removes delegation
418 (handles) methods installed for that attribute (t0m)
419 - added test for this (t0m)
421 * Moose::Meta::Method::Constructor
422 - An attribute with a default that looked like a number (but was
423 really a string) would accidentally be treated as a number
424 when the constructor was made immutable (perigrin)
425 - added test for this (perigrin)
428 - create method for constructing a role
430 - added test for this (Sartak)
431 - anonymous roles! (Sartak)
432 - added test for this (Sartak)
435 - more consistent error messages (Sartak)
437 * Moose::Cookbook::Roles::Recipe1
438 - attempt to explain why a role that just requires
439 methods is useful (Sartak)
441 0.61 Fri November 7, 2008
442 * Moose::Meta::Attribute
443 - When passing a role to handles, it will be loaded if necessary
447 - Method objects returned by get_method (and other methods)
448 Could end up being returned without an associated_metaclass
449 attribute. Removing get_method_map, which is provided by
450 Class::MOP::Class, fixed this. The Moose version did nothing
451 different from its parent except introduce a bug. (Dave Rolsky)
452 - added tests for this (jdv79)
455 - Added a $VERSION to all .pm files which didn't have one. Fixes
456 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
458 * Moose::Cookbook::Basics::Recipe4
459 * Moose::Cookbook::Basics::Recipe6
460 - These files had spaces on the first line of the SYNOPSIS, as
461 opposed to a totally empty line. According to RT #40432, this
462 confuses POD parsers. (Dave Rolsky)
464 0.60 Fri October 24, 2008
466 - Passing "-traits" when loading Moose caused the Moose.pm
467 exports to be broken. Reported by t0m. (Dave Rolsky)
468 - Tests for this bug. (t0m)
471 - Change resolve_metaclass alias to use the new
472 load_first_existing_class function. This makes it a lot
473 simpler, and also around 5 times faster. (t0m)
474 - Add caching to resolve_metaclass_alias, which gives an order
475 of magnitude speedup to things which repeatedly call the
476 Moose::Meta::Attribute->does method, notably MooseX::Storage
479 * Moose::Util::TypeConstraint
480 - Put back the changes for parameterized constraints that
481 shouldn't have been removed in 0.59. We still cannot parse
482 them, but MooseX modules can create them in some other
483 way. See the 0.58 changes for more details. (jnapiorkowski)
484 - Changed the way subtypes are created so that the job is
485 delegated to a type constraint parent. This clears up some
486 hardcoded checking and should allow correct subtypes of
487 Moose::Meta::Type::Constraint. Don't rely on this new API too
488 much (create_child_type) because it may go away in the
489 future. (jnapiorkowski)
491 * Moose::Meta::TypeConstraint::Union
492 - Type constraint names are sorted as strings, not numbers.
495 * Moose::Meta::TypeConstraint::Parameterizable
496 - New parameterize method. This can be used as a factory method
497 to make a new type constraint with a given parameterized
498 type. (jnapiorkowski)
499 - added tests (jnapiorkowski)
501 0.59 Tue October 14, 2008
503 - Add abridged documentation for builder/default/initializer/
504 predicate, and link to more details sections in
505 Class::MOP::Attribute. (t0m)
507 * Moose::Util::TypeConstraints
508 - removed prototypes from all but the &-based stuff (mst)
510 * Moose::Util::TypeConstraints
511 - Creating a anonymous subtype with both a constraint and a
512 message failed with a very unhelpful error, but should just
513 work. Reported by t0m. (Dave Rolsky)
516 - Some tests that used Test::Warn if it was available failed
517 with older versions of Test::Warn. Reported by Fayland. (Dave
519 - Test firing behavior of triggers in relation to builder/default/
521 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
522 kinds of supported type. (t0m)
525 - In create(), do not pass "roles" option to the superclass
526 - added related test that creates an anon metaclass with
529 * Moose::Meta::TypeConstraint::Class
530 * Moose::Meta::TypeConstraint::Role
531 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
532 other types (as per change in 0.55_02). (t0m)
534 * Moose::Meta::TypeConstraint::Registry
535 - Fix warning when dealing with unknown type names (t0m)
537 * Moose::Util::TypeConstraints
538 - Reverted changes from 0.58 related to handle parameterized
539 types. This caused random failures on BSD and Win32 systems,
540 apparently related to the regex engine. This means that Moose
541 can no longer parse structured type constraints like
542 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
543 supported in a slightly different way via MooseX::Types some
544 time in the future. (Dave Rolsky)
546 0.58 Sat September 20, 2008
547 !! This release has an incompatible change regarding !!
548 !! how roles add methods to a class !!
550 * Roles and role application
551 ! Roles now add methods by calling add_method, not
552 alias_method. They make sure to always provide a method
553 object, which will be cloned internally. This means that it is
554 now possible to track the source of a method provided by a
555 role, and even follow its history through intermediate roles.
557 This means that methods added by a role now show up when
558 looking at a class's method list/map. (Dave Rolsky)
561 - From this release on, we'll try to maintain a list of
562 conflicting modules, and warn you if you have one
563 installed. For example, this release conflicts with ...
564 - MooseX::Singleton <= 0.11
565 - MooseX::Params::Validate <= 0.05
568 In general, we try to not break backwards compatibility for
569 most Moose users, but MooseX modules and other code which
570 extends Moose's metaclasses is often affected by very small
571 changes in the Moose internals.
573 * Moose::Meta::Method::Delegation
574 * Moose::Meta::Attribute
575 - Delegation methods now have their own method class. (Dave
578 * Moose::Meta::TypeConstraint::Parameterizable
579 - Added a new method 'parameterize' which is basically a factory
580 for the containing constraint. This makes it easier to create
581 new types of parameterized constraints. (jnapiorkowski)
583 * Moose::Meta::TypeConstraint::Union
584 - Changed the way Union types canonicalize their names to follow
585 the normalized TC naming rules, which means we strip all
586 whitespace. (jnapiorkowski)
588 * Moose::Util::TypeConstraints
589 - Parameter and Union args are now sorted, this makes Int|Str
590 the same constraint as Str|Int. (jnapiorkowski)
591 - Changes to the way Union types are parsed to more correctly
592 stringify their names. (jnapiorkowski)
593 - When creating a parameterized type, we now use the new
594 parameterize method. (jnapiorkowski)
595 - Incoming type constraint strings are now normalized to remove
596 all whitespace differences. (jnapiorkowski)
597 - Changed the way we parse type constraint strings so that we now
598 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
599 constraints. This lays the foundation for more flexible type
600 constraint implementations.
602 * Tests and docs for all the above. (jnapiorkowski)
606 - Moose::Exporter will no longer remove a subroutine that the
607 exporting package re-exports. Moose re-exports the
608 Carp::confess function, among others. The reasoning is that we
609 cannot know whether you have also explicitly imported those
610 functions for your own use, so we err on the safe side and
611 always keep them. (Dave Rolsky)
612 - added tests for this (rafl)
615 - Changes to how we fix metaclass compatibility that are much
616 too complicated to go into. The summary is that Moose is much
617 less likely to complain about metaclass incompatibility
618 now. In particular, if two metaclasses differ because
619 Moose::Util::MetaRole was used on the two corresponding
620 classes, then the difference in roles is reconciled for the
621 subclass's metaclass. (Dave Rolsky)
622 - Squashed an warning in _process_attribute (thepler)
625 - throw exceptions (sooner) for invalid attribute names (thepler)
626 - added tests for this (thepler)
628 * Moose::Util::MetaRole
629 - If you explicitly set a constructor or destructor class for a
630 metaclass object, and then applied roles to the metaclass,
631 that explicitly set class would be lost and replaced with the
635 * Moose::Meta::Attribute
636 * Moose::Meta::Method
639 * Moose::Error::Default
640 * Moose::Error::Croak
641 * Moose::Error::Confess
642 - All instances of confess() changed to use overridable
643 C<throw_error> method. This method ultimately calls a class
644 constructor, and you can change the class being called. In
645 addition, errors now pass more information than just a string.
646 The default C<error_class> behaves like C<Carp::confess>, so
647 the behavior is not visibly different for end users.
649 0.57 Wed September 3, 2008
651 - A new bit of doc intended to introduce folks familiar with
652 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
655 - Shows examples of two classes, each done first with and then
656 without Moose. This makes a nice parallel to
657 Moose::Intro. (Dave Rolsky)
659 * Moose::Util::TypeConstraints
660 - Fixed a bug in find_or_parse_type_constraint so that it
661 accepts a Moose::Meta::TypeConstraint object as the parent
662 type, not just a name (jnapiorkowski)
663 - added tests (jnapiorkowski)
666 - If Sub::Name was not present, unimporting failed to actually
667 remove some sugar subs, causing test failures (Dave Rolsky)
669 0.56 Mon September 1, 2008
670 For those not following the series of dev releases, there are
671 several major changes in this release of Moose.
672 ! Moose::init_meta should now be called as a method. See the
675 - Major performance improvements by nothingmuch.
677 - New modules for extension writers, Moose::Exporter and
678 Moose::Util::MetaRole by Dave Rolsky.
680 - Lots of doc improvements and additions, especially in the
685 * Removed all references to the experimental-but-no-longer-needed
686 Moose::Meta::Role::Application::ToMetaclassInstance.
688 * Require Class::MOP 0.65.
690 0.55_04 Sat August 30, 2008
691 * Moose::Util::MetaRole
692 * Moose::Cookbook::Extending::Recipe2
693 - This simplifies the application of roles to any meta class, as
694 well as the base object class. Reimplemented metaclass traits
695 using this module. (Dave Rolsky)
697 * Moose::Cookbook::Extending::Recipe1
698 - This a new recipe, an overview of various ways to write Moose
699 extensions (Dave Rolsky)
701 * Moose::Cookbook::Extending::Recipe3
702 * Moose::Cookbook::Extending::Recipe4
703 - These used to be Extending::Recipe1 and Extending::Recipe2,
706 0.55_03 Fri August 29, 2008
707 * No changes from 0.55_02 except increasing the Class::MOP
708 dependency to 0.64_07.
710 0.55_02 Fri August 29, 2008
711 * Makefile.PL and Moose.pm
712 - explicitly require Perl 5.8.0+ (Dave Rolsky)
714 * Moose::Util::TypeConstraints
715 - Fix warnings from find_type_constraint if the type is not
718 * Moose::Meta::TypeConstraint
719 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
720 return false if the type you specify cannot be found in the
721 type registry, rather than throwing an unhelpful and
722 coincidental exception. (t0m).
723 - added docs & test for this (t0m)
725 * Moose::Meta::TypeConstraint::Registry
726 - add_type_constraint now throws an exception if a parameter is
728 - added docs & test for this (t0m)
730 * Moose::Cookbook::FAQ
731 - Added a faq entry on the difference between "role" and "trait"
735 - Fixed a bug that caused role composition to not see a required
736 method when that method was provided by another role being
737 composed at the same time. (Dave Rolsky)
738 - test and bug finding (tokuhirom)
740 0.55_01 Wed August 20, 2008
742 !! Calling Moose::init_meta as a function is now !!
743 !! deprecated. Please see the Moose.pm docs for details. !!
745 * Moose::Meta::Method::Constructor
746 - Fix inlined constructor so that values produced by default
747 or builder methods are coerced as required. (t0m)
748 - added test for this (t0m)
750 * Moose::Meta::Attribute
751 - A lazy attribute with a default or builder did not attempt to
752 coerce the default value. The immutable code _did_
754 - added test for this (t0m)
757 - This is a new helper module for writing "Moose-alike"
758 modules. This should make the lives of MooseX module authors
759 much easier. (Dave Rolsky)
762 * Moose::Cookbook::Meta::Recipe5
763 - Implemented metaclass traits (and wrote a recipe for it):
765 use Moose -traits => 'Foo'
767 This should make writing small Moose extensions a little
770 * Moose::Cookbook::Basics::Recipe1
771 - Removed any examples of direct hashref access, and applied an
772 editorial axe to reduce verbosity. (Dave Rolsky)
774 * Moose::Cookbook::Basics::Recipe1
775 - Also applied an editorial axe here. (Dave Rolsky)
778 * Moose::Cookbook::Extending::Recipe1
779 * Moose::Cookbook::Extending::Recipe2
780 - Rewrote extending and embedding moose documentation and
781 recipes to use Moose::Exporter (Dave Rolsky)
785 - These two modules now warn when you load them from the main
786 package "main" package, because we will not export sugar to
787 main. Previously it just did nothing. (Dave Rolsky)
790 - Now provide an init_meta method just like Moose.pm, and you
791 can call this to provide an alternate role metaclass. (Dave
792 Rolsky and nothingmuch)
793 - get_method_map now respects the package cache flag (nothingmuch)
796 - Two new methods - add_method and wrap_method_body
800 - Optimizations including allowing constructors to accept hash
801 refs, making many more classes immutable, and making
802 constructors immutable. (nothingmuch)
804 0.55 Sun August 3, 2008
805 * Moose::Meta::Attribute
806 - breaking down the way 'handles' methods are
807 created so that the process can be more easily
808 overridden by subclasses (stevan)
810 * Moose::Meta::TypeConstraint
811 - fixing what is passed into a ->message with
812 the type constraints (RT #37569)
813 - added tests for this (Charles Alderman)
815 * Moose::Util::TypeConstraints
816 - fix coerce to accept anon types like subtype can (mst)
819 - reorganized the recipes into sections - Basics, Roles, Meta,
820 Extending - and wrote abstracts for each section (Dave Rolsky)
822 * Moose::Cookbook::Basics::Recipe10
823 - A new recipe that demonstrates operator overloading
824 in combination with Moose. (bluefeet)
826 * Moose::Cookbook::Meta::Recipe1
827 - an introduction to what meta is and why you'd want to make
828 your own metaclass extensions (Dave Rolsky)
830 * Moose::Cookbook::Meta::Recipe4
831 - a very simple metaclass example (Dave Rolsky)
833 * Moose::Cookbook::Extending::Recipe1
834 - how to write a Moose-alike module to use your own object base
837 * Moose::Cookbook::Extending::Recipe2
838 - how to write modules with an API just like C<Moose.pm> (Dave
842 - Tons of fixes, both syntactical and grammatical (Dave
843 Rolsky, Paul Fenwick)
845 0.54 Thurs. July 3, 2008
846 ... this is not my day today ...
848 * Moose::Meta::Attribute
849 - fixed legal_options_for_inheritance such that
850 clone_and_inherit options still works for
851 Class::MOP::Attribute objects and therefore
852 does not break MooseX::AttributeHelpers
855 0.53 Thurs. July 3, 2008
856 * Whoops, I guess I should run 'make manifest' before
857 actually releasing the module. No actual changes
858 in this release, except the fact that it includes
859 the changes that I didn't include in the last
862 0.52 Thurs. July 3, 2008
864 - added "FEATURE REQUESTS" section to the Moose docs
865 to properly direct people (stevan) (RT #34333)
866 - making 'extends' croak if it is passed a Role since
867 this is not ever something you want to do
868 (fixed by stevan, found by obra)
869 - added tests for this (stevan)
872 - adding support for DOES (as in UNIVERSAL::DOES)
874 - added test for this
876 * Moose::Meta::Attribute
877 - added legal_options_for_inheritance (wreis)
878 - added tests for this (wreis)
880 * Moose::Cookbook::Snacks::*
881 - removed some of the unfinished snacks that should
882 not have been released yet. Added some more examples
883 to the 'Keywords' snack. (stevan)
885 * Moose::Cookbook::Style
886 - added general Moose "style guide" of sorts to the
887 cookbook (nothingmuch) (RT #34335)
890 - added more BUILDARGS tests (stevan)
892 0.51 Thurs. Jun 26, 2008
894 - add unimport so "no Moose::Role" actually does
897 * Moose::Meta::Role::Application::ToRole
898 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
899 order to provide its own implementation, that method still got
900 added to the list of required methods for consumers of
901 RoleB. Now an aliased method is only added to the list of
902 required methods if the role doing the aliasing does not
903 provide its own implementation. See Recipe 11 for an example
904 of all this. (Dave Rolsky)
905 - added tests for this
907 * Moose::Meta::Method::Constructor
908 - when a single argument that wasn't a hashref was provided to
909 an immutabilized constructor, the error message was very
910 unhelpful, as opposed to the non-immutable error. Reported by
912 - added test for this (Dave Rolsky)
914 * Moose::Meta::Attribute
915 - added support for meta_attr->does("ShortAlias") (sartak)
916 - added tests for this (sartak)
917 - moved the bulk of the `handles` handling to the new
918 install_delegation method (Stevan)
921 - Added BUILDARGS, a new step in new()
923 * Moose::Meta::Role::Application::RoleSummation
924 - fix typos no one ever sees (sartak)
926 * Moose::Util::TypeConstraints
927 * Moose::Meta::TypeConstraint
928 * Moose::Meta::TypeCoercion
929 - Attempt to work around the ??{ } vs. threads issue
931 - Some null_constraint optimizations
933 0.50 Thurs. Jun 11, 2008
934 - Fixed a version number issue by bumping all modules
937 0.49 Thurs. Jun 11, 2008
938 !! This version now approx. 20-25% !!
939 !! faster with new Class::MOP 0.59 !!
941 * Moose::Meta::Attribute
942 - fixed how the is => (ro|rw) works with
943 custom defined reader, writer and accessor
945 - added docs for this (TODO).
946 - added tests for this (Thanks to Penfold)
947 - added the custom attribute alias for regular
948 Moose attributes which is "Moose"
949 - fix builder and default both being used
954 Moose::Meta::Attribute
956 Moose::Meta::Role::Composite
957 Moose::Util::TypeConstraints
958 - switched usage of reftype to ref because
962 - changing add_package_symbol to use the new
966 - fixed how DEMOLISHALL is called so that it
967 can be overrided in subclasses (thanks to Sartak)
968 - added test for this (thanks to Sartak)
970 * Moose::Util::TypeConstraints
971 - move the ClassName type check code to
972 Class::MOP::is_class_loaded (thanks to Sartak)
974 * Moose::Cookbook::Recipe11
975 - add tests for this (thanks to tokuhirom)
977 0.48 Thurs. May 29, 2008
978 (early morning release engineering)--
980 - fixing the version in Moose::Meta::Method::Destructor
981 which was causing the indexer to choke
983 0.47 Thurs. May 29, 2008
984 (late night release engineering)--
986 - fixing the version is META.yml, no functional
987 changes in this release
989 0.46 Wed. May 28, 2008
990 !! This version now approx. 20-25% !!
991 !! faster with new Class::MOP 0.57 !!
994 - some optimizations of the &initialize method
995 since it is called so often by &meta
999 - now use the get_all_package_symbols from the
1000 updated Class::MOP, test suite is now 10 seconds
1003 * Moose::Meta::Method::Destructor
1004 - is_needed can now also be called as a class
1005 method for immutablization to check if the
1006 destructor object even needs to be created
1009 * Moose::Meta::Method::Destructor
1010 Moose::Meta::Method::Constructor
1011 - added more descriptive error message to help
1012 keep people from wasting time tracking an error
1013 that is easily fixed by upgrading.
1015 0.45 Saturday, May 24, 2008
1017 - Because of work in Class::MOP 0.57, all
1018 XS based functionality is now optional
1019 and a Pure Perl version is supplied
1020 - the CLASS_MOP_NO_XS environment variable
1021 can now be used to force non-XS versions
1023 - several of the packages have been tweaked
1024 to take care of this, mostly we added
1025 support for the package_name and name
1026 variables in all the Method metaclasses
1027 - before/around/after method modifiers now
1028 support regexp matching of names
1029 (thanks to Takatoshi Kitano)
1030 - tests added for this
1031 - NOTE: this only works for classes, it
1032 is currently not supported in roles,
1033 but, ... patches welcome
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
1039 - All usage of Carp::confess have been replaced
1040 by Carp::croak in the "keyword" functions since
1041 the stack trace is usually not helpful
1042 - The 'has' keyword for roles now accepts the
1043 same array ref form that Moose.pm does
1044 (has [qw/foo bar/] => (is => 'rw', ...))
1045 - added test for this
1047 * Moose::Meta::Attribute
1048 - trigger on a ro-attribute is no longer an
1049 error, as it's useful to trigger off of the
1052 * Moose::Meta::Class
1053 - added same 'add_package_symbol' fix as in
1057 - does_role now handles non-Moose classes
1059 - added tests for this
1060 - added the 'add_method_modifier' function
1061 (thanks to Takatoshi Kitano)
1063 * Moose::Util::TypeConstraints
1064 - subtypes of parameterizable types now are
1065 themselves parameterizable types
1067 * Moose::Meta::Method::Constructor
1068 - fixed bug where trigger was not being
1069 called by the inlined immutable
1071 - added test for this (thanks to Caelum)
1073 * Moose::Meta::Role::Application::ToInstance
1074 - now uses the metaclass of the instance
1075 (if possible) to create the anon-class
1076 (thanks Jonathan Rockway)
1078 * Moose::Cookbook::Recipe22
1079 - added the meta-attribute trait recipe
1083 - fixed hash-ordering test bug that was
1084 causing occasional cpantester failures
1085 - renamed the t/000_recipe/*.t tests to be
1086 more descriptive (thanks to Sartak)
1088 0.44 Sat. May 10, 2008
1090 - made make_immutable warning cluck to
1091 show where the error is (thanks mst)
1094 - BUILDALL and DEMOLISHALL now call
1095 ->body when looping through the
1096 methods, to avoid the overloaded
1098 - fixed issue where DEMOLISHALL was
1099 eating the $@ values, and so not
1100 working correctly, it still kind of
1101 eats them, but so does vanilla perl
1102 - added tests for this
1104 * Moose::Cookbook::Recipe7
1105 - added new recipe for immutable
1106 functionality (thanks Dave Rolsky)
1108 * Moose::Cookbook::Recipe9
1109 - added new recipe for builder and
1110 lazy_build (thanks Dave Rolsky)
1112 * Moose::Cookbook::Recipe11
1113 - added new recipe for method aliasing
1114 and exclusion with Roles (thanks Dave Rolsky)
1117 - fixed Win32 test failure (thanks spicyjack)
1119 ~ removed Build.PL and Module::Build compat
1120 since Module::Install has done that.
1122 0.43 Wed. April, 30, 2008
1124 drink more coffee before
1125 doing release engineering
1127 - whoops, forgot to do the smolder tests,
1128 and we broke some of the custom meta-attr
1129 modules. This fixes that.
1131 0.42 Mon. April 28, 2008
1132 - some bad tests slipped by, nothing else
1133 changed in this release (cpantesters++)
1135 - upped the Class::MOP dependency to 0.55
1136 since we have tests which need the C3
1139 0.41 Mon. April 28, 2008
1140 ~~ numerous documentation updates ~~
1142 - Changed all usage of die to Carp::croak for better
1143 error reporting (initial patch by Tod Hagan)
1145 ** IMPORTANT NOTE **
1146 - the make_immutable keyword is now deprecated, don't
1147 use it in any new code and please fix your old code
1148 as well. There will be 2 releases, and then it will
1154 - refactored the way inner and super work to avoid
1155 any method/@ISA cache penalty (nothingmuch)
1157 * Moose::Meta::Class
1158 - fixing &new_object to make sure trigger gets the
1159 coerced value (spotted by Charles Alderman on the
1161 - added test for this
1163 * Moose::Meta::Method::Constructor
1164 - immutable classes which had non-lazy attributes were calling
1165 the default generating sub twice in the constructor. (bug
1166 found by Jesse Luehrs, fixed by Dave Rolsky)
1167 - added tests for this (Dave Rolsky)
1168 - fix typo in initialize_body method (nothingmuch)
1170 * Moose::Meta::Method::Destructor
1171 - fix typo in initialize_body method (nothingmuch)
1173 * Moose::Meta::Method::Overriden
1174 Moose::Meta::Method::Augmented
1175 - moved the logic for these into their own
1176 classes (nothingmuch)
1178 * Moose::Meta::Attribute
1179 - inherited attributes may now be extended without
1180 restriction on the type ('isa', 'does') (Sartak)
1181 - added tests for this (Sartak)
1182 - when an attribute property is malformed (such as lazy without
1183 a default), give the name of the attribute in the error
1185 - added the &applied_traits and &has_applied_traits methods
1186 to allow introspection of traits
1187 - added tests for this
1188 - moved 'trait' and 'metaclass' argument handling to here from
1190 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1191 '+foo' syntax) (nothingmuch)
1192 - added tests for this (t0m)
1195 - localize $@ inside DEMOLISHALL to avoid it
1196 eating $@ (found by Ernesto)
1197 - added test for this (thanks to Ernesto)
1199 * Moose::Util::TypeConstraints
1200 - &find_type_constraint now DWIMs when given an
1201 type constraint object or name (nothingmuch)
1202 - &find_or_create_type_constraint superseded with a number of more
1204 - find_or_create_{isa,does}_type_constraint
1205 - find_or_parse_type_constraint
1207 * Moose::Meta::TypeConstraint
1208 Moose::Meta::TypeConstraint::Class
1209 Moose::Meta::TypeConstraint::Role
1210 Moose::Meta::TypeConstraint::Enum
1211 Moose::Meta::TypeConstraint::Union
1212 Moose::Meta::TypeConstraint::Parameterized
1213 - added the &equals method for comparing two type
1214 constraints (nothingmuch)
1215 - added tests for this (nothingmuch)
1217 * Moose::Meta::TypeConstraint
1218 - add the &parents method, which is just an alias to &parent.
1219 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1221 * Moose::Meta::TypeConstraint::Class
1222 - added the class attribute for introspection purposes
1224 - added tests for this
1226 * Moose::Meta::TypeConstraint::Enum
1227 Moose::Meta::TypeConstraint::Role
1228 - broke these out into their own classes (nothingmuch)
1230 * Moose::Cookbook::Recipe*
1231 - fixed references to test file locations in the POD
1232 and updated up some text for new Moose features
1236 - Added &resolve_metaclass_alias, a helper function for finding an actual
1237 class for a short name (e.g. in the traits list)
1239 0.40 Fri. March 14, 2008
1240 - I hate Pod::Coverage
1242 0.39 Fri. March 14, 2008
1244 - documenting the use of '+name' with attributes
1245 that come from recently composed roles. It makes
1246 sense, people are using it, and so why not just
1247 officially support it.
1248 - fixing the 'extends' keyword so that it will not
1249 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1252 - added the perl -Moose=+Class::Name feature to allow
1253 monkeypatching of classes in one liners
1256 - fixing the 'apply_all_roles' keyword so that it will not
1257 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1259 * Moose::Meta::Class
1260 - added ->create method which now supports roles (thanks to jrockway)
1261 - added tests for this
1262 - added ->create_anon_class which now supports roles and caching of
1263 the results (thanks to jrockway)
1264 - added tests for this
1265 - made ->does_role a little more forgiving when it is
1266 checking a Class::MOP era metaclasses.
1268 * Moose::Meta::Role::Application::ToInstance
1269 - it is now possible to pass extra params to be used when
1270 a role is applied to an the instance (rebless_params)
1271 - added tests for this
1273 * Moose::Util::TypeConstraints
1274 - class_type now accepts an optional second argument for a
1275 custom message. POD anotated accordingly (groditi)
1276 - added tests for this
1277 - it is now possible to make anon-enums by passing 'enum' an
1278 ARRAY ref instead of the $name => @values. Everything else
1280 - added tests for this
1283 - making test for using '+name' on attributes consumed
1284 from a role, it works and makes sense too.
1286 * Moose::Meta::Attribute
1287 - fix handles so that it doesn't return nothing
1288 when the method cannot be found, not sure why
1289 it ever did this originally, this means we now
1290 have slightly better support for AUTOLOADed
1292 - added more delegation tests
1293 - adding ->does method to this so as to better
1294 support traits and their introspection.
1295 - added tests for this
1298 - localizing the Data::Dumper configurations so
1299 that it does not pollute others (RT #33509)
1300 - made ->does a little more forgiving when it is
1301 passed Class::MOP era metaclasses.
1303 0.38 Fri. Feb. 15, 2008
1304 * Moose::Meta::Attribute
1305 - fixed initializer to correctly do
1306 type checking and coercion in the
1308 - added tests for this
1311 - fixed some finicky tests (thanks to konobi)
1313 0.37 Thurs. Feb. 14, 2008
1315 - fixed some details in Moose::init_meta
1316 and its superclass handling (thanks thepler)
1317 - added tests for this (thanks thepler)
1318 - 'has' now dies if you don't pass in name
1320 - added the 'make_immutable' keyword as a shortcut
1323 * Moose::Meta::Class
1324 Moose::Meta::Method::Constructor
1325 Moose::Meta::Attribute
1326 - making (init_arg => undef) work here too
1327 (thanks to nothingmuch)
1329 * Moose::Meta::Attribute
1330 Moose::Meta::Method::Constructor
1331 Moose::Meta::Method::Accessor
1332 - make lazy attributes respect attr initializers (rjbs)
1333 - added tests for this
1335 * Moose::Util::TypeConstraints
1336 Moose::Util::TypeConstraints::OptimizedConstraints
1337 Moose::Meta::TypeConstraints
1338 Moose::Meta::Attribute
1339 Moose::Meta::Method::Constructor
1340 Moose::Meta::Method::Accessor
1341 - making type errors use the
1342 assigned message (thanks to Sartak)
1343 - added tests for this
1345 * Moose::Meta::Method::Destructor
1346 - making sure DESTROY gets inlined properly
1347 with successive DEMOLISH calls (thanks to manito)
1349 * Moose::Meta::Attribute
1350 Moose::Meta::Method::Accessor
1351 - fixed handling of undef with type constraints
1353 - added tests for this
1356 - added &get_all_init_args and &get_all_attribute_values
1357 (thanks to Sartak and nothingmuch)
1359 0.36 Sat. Jan. 26, 2008
1361 Moose::Meta::Attribute
1362 - role type tests now support when roles are
1363 applied to non-Moose classes (found by ash)
1364 - added tests for this (thanks to ash)
1365 - couple extra tests to boost code coverage
1367 * Moose::Meta::Method::Constructor
1368 - improved fix for handling Class::MOP attributes
1369 - added test for this
1371 * Moose::Meta::Class
1372 - handled the add_attribute($attribute_meta_object)
1374 - added test for this
1376 0.35 Tues. Jan. 22, 2008
1377 * Moose::Meta::Method::Constructor
1378 - fix to make sure even Class::MOP attributes
1379 are handled correctly (Thanks to Dave Rolsky)
1380 - added test for this (also Dave Rolsky)
1382 * Moose::Meta::Class
1383 - improved error message on _apply_all_roles,
1384 you should now use Moose::Util::apply_all_roles
1385 and you shouldnt have been using a _ prefixed
1386 method in the first place ;)
1388 0.34 Mon. Jan. 21, 2008
1389 ~~~ more misc. doc. fixes ~~~
1390 ~~ updated copyright dates ~~
1392 Moose is now a postmodern object system :)
1393 - (see the POD for details)
1395 * <<Role System Refactoring>>
1396 - this release contains a major reworking and
1397 cleanup of the role system
1398 - 100% backwards compat.
1399 - Role application now restructured into seperate
1400 classes based on type of applicants
1401 - Role summation (combining of more than one role)
1402 is much cleaner and anon-classes are no longer
1403 used in this process
1404 - new Composite role metaclass
1405 - runtime application of roles to instances
1406 is now more efficient and re-uses generated
1407 classes when applicable
1409 * <<New Role composition features>>
1410 - methods can now be excluded from a given role
1412 - methods can now be aliased to another name (and
1413 still retain the original as well)
1415 * Moose::Util::TypeConstraints::OptimizedConstraints
1416 - added this module (see above)
1418 * Moose::Meta::Class
1419 - fixed the &_process_attribute method to be called
1420 by &add_attribute, so that the API is now correct
1422 * Moose::Meta::Method::Accessor
1423 - fixed bug when passing a list of values to
1424 an accessor would get (incorrectly) ignored.
1425 Thanks to Sartak for finding this ;)
1426 - added tests for this (Sartak again)
1428 * Moose::Meta::Method::Accessor
1429 Moose::Meta::Method::Constructor
1430 Moose::Meta::Attribute
1431 Moose::Meta::TypeConstraint
1432 Moose::Meta::TypeCoercion
1433 - lots of cleanup of such things as:
1435 - type constraint handling
1436 - error handling/messages
1437 (thanks to nothingmuch)
1439 * Moose::Meta::TypeConstraint::Parameterizable
1440 - added this module to support the refactor
1441 in Moose::Meta::TypeConstraint::Parameterized
1443 * Moose::Meta::TypeConstraint::Parameterized
1444 - refactored how these types are handled so they
1445 are more generic and not confined to ArrayRef
1449 - shortened some file names for better VMS support (RT #32381)
1451 0.33 Fri. Dec. 14, 2007
1452 !! Moose now loads 2 x faster !!
1453 !! with new Class::MOP 0.49 !!
1455 ++ new oose.pm module to make command line
1456 Moose-ness easier (see POD docs for more)
1458 * Moose::Meta::Class
1460 - several tweaks to take advantage of the
1461 new method map caching in Class::MOP
1463 * Moose::Meta::TypeConstraint::Parameterized
1464 - allow subtypes of ArrayRef and HashRef to
1465 be used as a container (sartak)
1466 - added tests for this
1467 - basic support for coercion to ArrayRef and
1468 HashRef for containers (sartak)
1469 - added tests for this
1471 * Moose::Meta::TypeCoercion
1472 - coercions will now create subtypes as needed
1473 so you can now add coercions to parameterized
1474 types without having to explictly define them
1475 - added tests for this
1477 * Moose::Meta::Method::Accessor
1478 - allow subclasses to decide whether we need
1479 to copy the value into a new variable (sartak)
1481 0.32 Tues. Dec. 4, 2007
1482 * Moose::Util::TypeConstraints
1483 - fixing how subtype aliases of unions work
1484 they should inherit the parent's coercion
1485 - added tests for this
1486 - you can now define multiple coercions on
1487 a single type at different times instead of
1488 having to do it all in one place
1489 - added tests for this
1491 * Moose::Meta::TypeConstraint
1492 - there is now a default constraint of sub { 1 }
1493 instead of Moose::Util::TypeConstraints setting
1496 * Moose::Meta::TypeCoercion
1497 * Moose::Meta::TypeCoercion::Union
1498 - added the &has_coercion_for_type and
1499 &add_type_coercions methods to support the
1500 new features above (although you cannot add
1501 more type coercions for Union types)
1503 0.31 Mon. Nov. 26, 2007
1504 * Moose::Meta::Attribute
1505 - made the +attr syntax handle extending types with
1506 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1507 now works if the original foo is an ArrayRef.
1508 - added tests for this.
1509 - delegation now works even if the attribute does not
1510 have a reader method using the get_read_method_ref
1511 method from Class::MOP::Attribute.
1512 - added tests for this
1513 - added docs for this
1515 * Moose::Util::TypeConstraints
1516 - passing no "additional attribute info" to
1517 &find_or_create_type_constraint will no longer
1518 attempt to create an __ANON__ type for you,
1519 instead it will just return undef.
1520 - added docs for this
1522 0.30 Fri. Nov. 23, 2007
1523 * Moose::Meta::Method::Constructor
1524 -builder related bug in inlined constructor. (groditi)
1526 * Moose::Meta::Method::Accessor
1527 - genereate unnecessary calls to predicates and refactor
1528 code generation for runtime speed (groditi)
1530 * Moose::Util::TypeConstraints
1531 - fix ClassName constraint to introspect symbol table (mst)
1532 - added more tests for this (mst)
1533 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1534 with work correctly.
1535 - added tests for this
1538 - adding the link to Recipie 11 (written by Sartak)
1539 - adding test for SYNOPSIS code
1542 - New tests for builder bug. Upon instantiation, if an
1543 attribute had a builder, no value and was not lazy the
1544 builder default was not getting run, oops. (groditi)
1546 0.29 Tues. Nov. 13, 2007
1547 * Moose::Meta::Attribute
1548 - Fix error message on missing builder method (groditi)
1550 * Moose::Meta::Method::Accessor
1551 - Fix error message on missing builder method (groditi)
1554 - Add test to check for the correct error message when
1555 builder method is missing (groditi)
1557 0.28 Tues. Nov. 13, 2007
1558 - 0.27 packaged incorrectly (groditi)
1560 0.27 Tues. Nov. 13, 2007
1561 * Moose::Meta::Attribute
1562 - Added support for the new builder option (groditi)
1563 - Added support for lazy_build option (groditi)
1564 - Changed slot initialization for predicate changes (groditi)
1566 * Moose::Meta::Method::Accessor
1567 - Added support for lazy_build option (groditi)
1568 - Fix inline methods to work with corrected predicate
1571 * Moose::Meta::Method::Constructor
1572 - Added support for lazy_build option (groditi)
1575 - tests for builder and lazy_build (groditi)
1577 * fixing some misc. bits in the docs that
1578 got mentioned on CPAN Forum & perlmonks
1581 - fixed how required methods are handled
1582 when they encounter overriden or modified
1583 methods from a class (thanks to confound).
1584 - added tests for this
1586 * Moose::Util::TypeConstraint
1587 - fixed the type notation parser so that
1588 the | always creates a union and so is
1589 no longer a valid type char (thanks to
1590 konobi, mugwump and #moose for working
1592 - added more tests for this
1594 0.26 Thurs. Sept. 27, 2007
1597 * Parameterized Types
1598 We now support parameterized collection types, such as:
1599 ArrayRef[Int] # array or integers
1600 HashRef[Object] # a hash with object values
1601 They can also be nested:
1602 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1603 And work with the type unions as well:
1604 ArrayRef[Int | Str] # array of integers of strings
1606 * Better Framework Extendability
1607 Moose.pm is now "extendable" such that it is now much
1608 easier to extend the framework and add your own keywords
1609 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1610 section of the Moose.pm docs.
1613 In an effort to begin documenting some of the various
1614 details of Moose as well as some common idioms, we have
1615 created Moose::Cookbook::Snacks as a place to find
1616 small (easily digestable) nuggets of Moose code.
1619 ~ Several doc updates/cleanup thanks to castaway ~
1621 - converted build system to use Module::Install instead of
1622 Module::Build (thanks to jrockway)
1625 - added all the meta classes to the immutable list and
1626 set it to inline the accessors
1627 - fix import to allow Sub::Exporter like { into => }
1628 and { into_level => } (perigrin)
1629 - exposed and documented init_meta() to allow better
1630 embedding and extending of Moose (perigrin)
1633 - complete re-organization of the test suite
1634 - added some new tests as well
1635 - finally re-enabled the Moose::POOP test since
1636 the new version of DBM::Deep now works again
1639 * Moose::Meta::Class
1640 - fixed very odd and very nasty recursion bug with
1642 - added tests for this (eilara)
1644 * Moose::Meta::Attribute
1645 Moose::Meta::Method::Constructor
1646 Moose::Meta::Method::Accessor
1647 - fixed issue with overload::Overloaded getting called
1648 on non-blessed items. (RT #29269)
1649 - added tests for this
1651 * Moose::Meta::Method::Accessor
1652 - fixed issue with generated accessor code making
1653 assumptions about hash based classes (thanks to dexter)
1655 * Moose::Coookbook::Snacks
1656 - these are bits of documentation, not quite as big as
1657 Recipes but which have no clear place in the module docs.
1658 So they are Snacks! (horray for castaway++)
1660 * Moose::Cookbook::Recipe4
1661 - updated it to use the new ArrayRef[MyType] construct
1662 - updated the accompanying test as well
1664 +++ Major Refactor of the Type Constraint system +++
1665 +++ with new features added as well +++
1667 * Moose::Util::TypeConstraint
1668 - no longer uses package variable to keep track of
1669 the type constraints, now uses the an instance of
1670 Moose::Meta::TypeConstraint::Registry to do it
1671 - added more sophisticated type notation parsing
1673 - added tests for this
1675 * Moose::Meta::TypeConstraint
1676 - some minor adjustments to make subclassing easier
1677 - added the package_defined_in attribute so that we
1678 can track where the type constraints are created
1680 * Moose::Meta::TypeConstraint::Union
1681 - this is now been refactored to be a subclass of
1682 Moose::Meta::TypeConstraint
1684 * Moose::Meta::TypeCoercion::Union
1685 - this has been added to service the newly refactored
1686 Moose::Meta::TypeConstraint::Union and is itself
1687 a subclass of Moose::Meta::TypeCoercion
1689 * Moose::Meta::TypeConstraint::Parameterized
1690 - added this module (taken from MooseX::AttributeHelpers)
1691 to help construct nested collection types
1692 - added tests for this
1694 * Moose::Meta::TypeConstraint::Registry
1695 - added this class to keep track of type constraints
1697 0.25 Mon. Aug. 13, 2007
1699 - Documentation update to reference Moose::Util::TypeConstraints
1700 under 'isa' in 'has' for how to define a new type
1701 (thanks to shlomif).
1703 * Moose::Meta::Attribute
1704 - required attributes now will no longer accept undef
1705 from the constructor, even if there is a default and lazy
1706 - added tests for this
1707 - default subroutines must return a value which passes the
1709 - added tests for this
1711 * Moose::Meta::Attribute
1712 * Moose::Meta::Method::Constructor
1713 * Moose::Meta::Method::Accessor
1714 - type-constraint tests now handle overloaded objects correctly
1715 in the error message
1716 - added tests for this (thanks to EvanCarroll)
1718 * Moose::Meta::TypeConstraint::Union
1719 - added (has_)hand_optimized_constraint to this class so that
1720 it behaves as the regular Moose::Meta::TypeConstraint does.
1723 - large refactoring of this code
1724 - added several more tests
1725 - tests for subtle conflict resolition issues
1726 added, but not currently running
1729 * Moose::Cookbook::Recipe7
1730 - added new recipe for augment/inner functionality
1732 - added test for this
1735 - a formal definition of roles (still in progress)
1738 - utilities for easier working with Moose classes
1739 - added tests for these
1742 - This contains Moose specific test functions
1743 - added tests for these
1745 0.24 Tues. July 3, 2007
1746 ~ Some doc updates/cleanup ~
1748 * Moose::Meta::Attribute
1749 - added support for roles to be given as parameters
1750 to the 'handles' option.
1751 - added tests and docs for this
1752 - the has '+foo' attribute form now accepts changes to
1753 the lazy option, and the addition of a handles option
1754 (but not changing the handles option)
1755 - added tests and docs for this
1758 - required methods are now fetched using find_method_by_name
1759 so that required methods can come from superclasses
1760 - adjusted tests for this
1762 0.23 Mon. June 18, 2007
1763 * Moose::Meta::Method::Constructor
1764 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1765 * Moose::Meta::Class
1766 - Modify make_immutable to work with the new Class::MOP immutable
1767 mechanism + POD + very basic test (groditi)
1768 * Moose::Meta::Attribute
1769 - Fix handles to use goto() so that caller() comes out properly on
1770 the other side (perigrin)
1772 0.22 Thurs. May 31, 2007
1773 * Moose::Util::TypeConstraints
1774 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1775 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1776 prototypes for functions
1777 - added the ClassName type constraint, this checks for strings
1778 which will respond true to ->isa(UNIVERSAL).
1779 - added tests and docs for this
1780 - subtyping just in name now works correctly by making the
1781 default for where be { 1 }
1782 - added test for this
1784 * Moose::Meta::Method::Accessor
1785 - coerce and lazy now work together correctly, thanks to
1786 merlyn for finding this bug
1787 - tests added for this
1788 - fix reader presedence bug in Moose::Meta::Attribute + tests
1791 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1792 a HASH-ref and missed. This produces better error messages then
1793 having it die cause undef is not a HASH.
1794 - added tests for this
1796 0.21 Thursday, May 2nd, 2007
1798 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1799 - modified unimport to remove super and inner along with the rest
1800 - altered unimport tests to handle this
1803 - altered super export to populate SUPER_SLOT
1805 * Moose::Meta::Class
1806 - altered augment and override modifier application to use *_SLOT
1807 - modified tests for these to unimport one test class each to test
1810 - fixed issue where custom attribute metaclasses
1811 where not handled correctly in roles
1812 - added tests for this
1814 * Moose::Meta::Class
1815 - fixed issue where extending metaclasses with
1816 roles would blow up. Thanks to Aankhen`` for
1817 finding this insidious error, and it's solution.
1819 ~~ lots of spelling and grammer fixes in the docs,
1820 many many thanks to rlb3 and Aankhen for these :)
1822 0.20 Friday, April 6th, 2007
1823 >> I messed up the SKIP logic in one test
1824 so this release is just to fix that.
1827 - 'has' now also accepts an ARRAY ref
1828 to create multiple attrs (see docs)
1829 (thanks to konobi for this)
1830 - added tests and docs
1832 0.19 Thurs. April 5th, 2007
1833 ~~ More documentation updates ~~
1835 * Moose::Util::TypeConstraints
1836 - 'type' now supports messages as well
1837 thanks to phaylon for finding this
1838 - added tests for this
1839 - added &list_all_type_constraints and
1840 &list_all_builtin_type_constraints
1841 functions to facilitate introspection.
1843 * Moose::Meta::Attribute
1844 - fixed regexp 'handles' declarations
1845 to build the list of delegated methods
1846 correctly (and not override important
1847 things like &new) thanks to ashleyb
1849 - added tests and docs for this
1850 - added the 'documentation' attributes
1851 so that you can actually document your
1852 attributes and inspect them through the
1854 - added tests and docs for this
1856 * Moose::Meta::Class
1857 - when loading custom attribute metaclasses
1858 it will first look in for the class in the
1859 Moose::Meta::Attribute::Custom::$name, and
1860 then default to just loading $name.
1861 - added tests and docs for this
1863 * Moose::Meta::TypeConstraint
1864 - type constraints now stringify to their names.
1865 - added test for this
1868 - added tests to assure we work with Module::Refresh
1869 - added stricter test skip logic in the Moose POOP
1870 test, ask Rob Kinyon why.
1871 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1873 0.18 Sat. March 10, 2007
1874 ~~ Many, many documentation updates ~~
1877 - We now use Class::MOP::load_class to
1879 - added tests to show types and subtypes
1880 working with Declare::Constraints::Simple
1881 and Test::Deep as constraint engines.
1884 !! You must have Class::MOP 0.37_001 !!
1885 !! for this developer release to work !!
1887 This release was primarily adding the immutable
1888 feature to Moose. An immutable class is one which
1889 you promise not to alter. When you set the class
1890 as immutable it will perform various bits of
1891 memoization and inline certain part of the code
1892 (constructors, destructors and accessors). This
1893 minimizes (and in some cases totally eliminates)
1894 one of Moose's biggest performance hits. This
1895 feature is not on by default, and is 100% optional.
1896 It has several configurable bits as well, so you
1897 can pick and choose to your specific needs.
1899 The changes involved in this were fairly wide and
1900 highly specific, but 100% backwards compatible, so
1901 I am not going to enumerate them here. If you are
1902 truely interested in what was changed, please do
1905 0.17 Tues. Nov. 14, 2006
1906 * Moose::Meta::Method::Accessor
1907 - bugfix for read-only accessors which
1908 are have a type constraint and lazy.
1909 Thanks to chansen for finding it.
1911 0.16 Tues. Nov. 14, 2006
1913 There are some speed improvements in this release,
1914 but they are only the begining, so stay tuned.
1917 - BUILDALL and DEMOLISHALL no longer get
1918 called unless they actually need to be.
1919 This gave us a signifigant speed boost
1920 for the cases when there is no BUILD or
1921 DEMOLISH method present.
1923 * Moose::Util::TypeConstraints
1924 * Moose::Meta::TypeConstraint
1925 - added an 'optimize_as' option to the
1926 type constraint, which allows for a
1927 hand optimized version of the type
1928 constraint to be used when possible.
1929 - Any internally created type constraints
1930 now provide an optimized version as well.
1932 0.15 Sun. Nov. 5, 2006
1934 This version of Moose *must* have Class::MOP 0.36 in order
1935 to work correctly. A number of small internal tweaks have
1936 been made in order to be compatible with that release.
1938 * Moose::Util::TypeConstraints
1939 - added &unimport so that you can clean out
1940 your class namespace of these exported
1943 * Moose::Meta::Class
1944 - fixed minor issue which occasionally
1945 comes up during global destruction
1947 - moved Moose::Meta::Method::Overriden into
1951 - moved Moose::Meta::Role::Method into
1954 * Moose::Meta::Attribute
1955 - changed how we do type checks so that
1956 we reduce the overall cost, but still
1959 - moved accessor generation methods to
1960 Moose::Meta::Method::Accessor to
1961 conform to the API changes from
1964 * Moose::Meta::TypeConstraint
1965 - changed how constraints are compiled
1966 so that we do less recursion and more
1967 iteration. This makes the type check
1969 - moved Moose::Meta::TypeConstraint::Union
1972 * Moose::Meta::Method::Accessor
1973 - created this from methods formerly found in
1974 Moose::Meta::Attribute
1976 * Moose::Meta::Role::Method
1977 - moved this from Moose::Meta::Role
1979 * Moose::Meta::Method::Overriden
1980 - moved this from Moose::Meta::Class
1982 * Moose::Meta::TypeConstraint::Union
1983 - moved this from Moose::Meta::TypeConstraint
1985 0.14 Mon. Oct. 9, 2006
1987 * Moose::Meta::Attribute
1988 - fixed lazy attributes which were not getting
1989 checked with the type constraint (thanks ashley)
1990 - added tests for this
1991 - removed the over-enthusiastic DWIMery of the
1992 automatic ArrayRef and HashRef defaults, it
1993 broke predicates in an ugly way.
1994 - removed tests for this
1996 0.13 Sat. Sept. 30, 2006
1998 This version of Moose *must* have Class::MOP 0.35 in order
1999 to work correctly. A number of small internal tweaks have
2000 been made in order to be compatible with that release.
2003 - Removed the use of UNIVERSAL::require to be a better
2004 symbol table citizen and remove a dependency
2005 (thanks Adam Kennedy)
2007 **~~ removed experimental & undocumented feature ~~**
2008 - commented out the 'method' and 'self' keywords, see the
2009 comments for more info.
2012 - added a FAQ and WTF files to document frequently
2013 asked questions and common problems
2015 * Moose::Util::TypeConstraints
2016 - added GlobRef and FileHandle type constraint
2017 - added tests for this
2019 * Moose::Meta::Attribute
2020 - if your attribute 'isa' ArrayRef of HashRef, and you have
2021 not explicitly set a default, then make the default DWIM.
2022 This will also work for subtypes of ArrayRef and HashRef
2024 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2025 - new test added for this (thanks to ashley)
2028 - added basic support for runtime role composition
2029 but this is still *highly experimental*, so feedback
2030 is much appreciated :)
2031 - added tests for this
2033 * Moose::Meta::TypeConstraint
2034 - the type constraint now handles the coercion process
2035 through delegation, this is to support the coercion
2038 * Moose::Meta::TypeConstraint::Union
2039 - it is now possible for coercions to be performed
2041 - added tests for this (thanks to konobi)
2043 * Moose::Meta::TypeCoercion
2044 - properly capturing error when type constraint
2048 - Scalar::Util 1.18 is bad on Win32, so temporarily
2049 only require version 1.17 for Win32 and cygwin.
2050 (thanks Adam Kennedy)
2052 0.12 Sat. Sept. 1, 2006
2054 - Recipe5 (subtypes & coercion) has been written
2057 - fixed "bad meta" error message to be more descriptive
2058 - fixed &unimport to not remove the &inner and &super
2059 keywords because we need to localize them.
2060 - fixed number of spelling/grammer issues, thanks Theory :)
2062 **~~ experimental & undocumented feature ~~**
2063 - added the method and self keywords, they are basically
2064 just sugar, and they may not stay around.
2067 - added &dump method to easily Data::Dumper
2070 * Moose::Meta::TypeConstraint
2071 - added the &is_a_type_of method to check both the current
2072 and the subtype of a method (similar to &isa with classes)
2075 - this is now a subclass of Class::MOP::Module, and no longer
2076 creates the _role_meta ugliness of before.
2077 - fixed tests to reflect this change
2079 0.11 Wed. July 12, 2006
2081 - added an &unimport method to remove all the keywords
2082 that Moose will import, simply add 'no Moose' to the
2083 bottom of your class file.
2086 - fixed some test failures caused by a forgotten test
2089 0.10 Thurs. July 6, 2006
2091 - improved error message when loading modules so
2092 it is less confusing when you load a role.
2093 - added &calculate_all_roles method to
2094 Moose::Meta::Class and Moose::Meta::Role
2097 This module has been tested against Class::MOP 0.30
2098 but it does not yet utilize the optimizations
2099 it makes available. Stay tuned for that ;)
2101 0.09_03 Fri. June 23, 2006
2102 ++ DEVELOPER RELEASE ++
2104 - 'use strict' and 'use warnings' are no longer
2105 needed in Moose classes, Moose itself will
2106 turn them on for you.
2107 - added tests for this
2108 - moved code from exported subs to private methods
2109 in Moose::Meta::Class
2112 - as with Moose, strict and warnings are
2113 automatically turned on for you.
2114 - added tests for this
2117 - now handles an edge case for override errors
2118 - added tests for this
2119 - added some more edge case tests
2121 0.09_02 Tues. May 16, 2006
2122 ++ DEVELOPER RELEASE ++
2124 - added prototypes to the exported subs
2128 - added prototypes to the exported subs
2131 * Moose::Util::TypeConstraints
2132 - cleaned up prototypes for the subs
2135 0.09_01 Fri. May 12, 2006
2136 ++ DEVELOPER RELEASE ++
2137 - This release works in combination with
2138 Class::MOP 0.29_01, it is a developer
2139 release because it uses the a new
2140 instance sub-protocol and a fairly
2141 complete Role implementation. It has
2142 not yet been optimized, so it slower
2143 the the previous CPAN version. This
2144 release also lacks good updated docs,
2145 the official release will have updated docs.
2148 - refactored the keyword exports
2149 - 'with' now checks Role validaity and
2150 accepts more than one Role at a time
2151 - 'extends' makes metaclass adjustments as
2152 needed to ensure metaclass compatibility
2155 - refactored the keyword exports
2156 - 'with' now checks Role validaity and
2157 accepts more than one Role at a time
2159 * Moose::Util::TypeConstraints
2160 - added the 'enum' keyword for simple
2161 string enumerations which can be used as
2163 - see example of usage in t/202_example.t
2166 - more careful checking of params to new()
2169 - much work done on the role composition
2170 - many new tests for conflict detection
2171 and composition edge cases
2172 - not enough documentation, I suggest
2173 looking at the tests
2175 * Moose::Meta::Instance
2176 - added new Instance metaclass to support
2177 the new Class::MOP instance protocol
2179 * Moose::Meta::Class
2180 - some small changes to support the new
2182 - some small additions to support Roles
2184 * Moose::Meta::Attribute
2185 - some improvements to the accessor generation code
2187 - some small changes to support the new
2189 - (still somewhat) experimental delegation support
2190 with the 'handles' option
2191 - added several tests for this
2192 - no docs for this yet
2194 0.05 Thurs. April 27, 2006
2196 - keywords are now exported with Sub::Exporter
2197 thanks to chansen for this commit
2198 - has keyword now takes a 'metaclass' option
2199 to support custom attribute meta-classes
2200 on a per-attribute basis
2201 - added tests for this
2202 - the 'has' keyword not accepts inherited slot
2203 specifications (has '+foo'). This is still an
2204 experimental feature and probably not finished
2205 see t/038_attribute_inherited_slot_specs.t for
2206 more details, or ask about it on #moose
2207 - added tests for this
2210 - keywords are now exported with Sub::Exporter
2212 * Moose::Utils::TypeConstraints
2213 - reorganized the type constraint hierarchy, thanks
2214 to nothingmuch and chansen for his help and advice
2216 - added some tests for this
2217 - keywords are now exported with Sub::Exporter
2218 thanks to chansen for this commit
2220 * Moose::Meta::Class
2221 - due to changes in Class::MOP, we had to change
2222 construct_instance (for the better)
2224 * Moose::Meta::Attribute
2225 - due to changes in Class::MOP, we had to add the
2226 initialize_instance_slot method (it's a good thing)
2228 * Moose::Meta::TypeConstraint
2229 - added type constraint unions
2230 - added tests for this
2231 - added the is_subtype_of predicate method
2232 - added tests for this
2234 0.04 Sun. April 16th, 2006
2236 - Roles can now consume other roles
2237 - added tests for this
2238 - Roles can specify required methods now with
2239 the requires() keyword
2240 - added tests for this
2243 - ripped out much of it's guts ,.. much cleaner now
2244 - added required methods and correct handling of
2245 them in apply() for both classes and roles
2246 - added tests for this
2247 - no longer adds a does() method to consuming classes
2248 it relys on the one in Moose::Object
2249 - added roles attribute and some methods to support
2250 roles consuming roles
2252 * Moose::Meta::Attribute
2253 - added support for triggers on attributes
2254 - added tests for this
2255 - added support for does option on an attribute
2256 - added tests for this
2258 * Moose::Meta::Class
2259 - added support for attribute triggers in the
2261 - added tests for this
2264 - Moose no longer creates a subtype for your class
2265 if a subtype of the same name already exists, this
2266 should DWIM in 99.9999% of all cases
2268 * Moose::Util::TypeConstraints
2269 - fixed bug where incorrect subtype conflicts were
2271 - added test for this
2274 - this class can now be extended with 'use base' if
2275 you need it, it properly loads the metaclass class now
2276 - added test for this
2278 0.03_02 Wed. April 12, 2006
2280 - you must now explictly use Moose::Util::TypeConstraints
2281 it no longer gets exported for you automatically
2284 - new() now accepts hash-refs as well as key/value lists
2285 - added does() method to check for Roles
2286 - added tests for this
2288 * Moose::Meta::Class
2289 - added roles attribute along with the add_role() and
2291 - added tests for this
2294 - now adds a does() method to consuming classes
2295 which tests the class's hierarchy for roles
2296 - added tests for this
2298 0.03_01 Mon. April 10, 2006
2300 - added new Role recipe (no content yet, only code)
2303 - added 'with' keyword for Role support
2304 - added test and docs for this
2305 - fixed subtype quoting bug
2306 - added test for this
2310 - added test and docs
2312 * Moose::Util::TypeConstraints
2313 - added the message keyword to add custom
2314 error messages to type constraints
2317 - the meta role to support Moose::Role
2318 - added tests and docs
2320 * Moose::Meta::Class
2321 - moved a number of things from Moose.pm
2322 to here, they should have been here
2325 * Moose::Meta::Attribute
2326 - moved the attribute option macros here
2327 instead of putting them in Moose.pm
2329 * Moose::Meta::TypeConstraint
2330 - added the message attributes and the
2332 - added tests and docs for this
2334 0.03 Thurs. March 30, 2006
2336 - added the Moose::Cookbook with 5 recipes,
2337 describing all the stuff Moose can do.
2340 - fixed an issue with &extends super class loading
2341 it now captures errors and deals with inline
2342 packages correctly (bug found by mst, solution
2344 - added super/override & inner/augment features
2345 - added tests and docs for these
2348 - BUILDALL now takes a reference of the %params
2349 that are passed to &new, and passes that to
2352 * Moose::Util::TypeConstraints
2353 - Type constraints now survive runtime reloading
2354 - added test for this
2356 * Moose::Meta::Class
2357 - fixed the way attribute defaults are handled
2358 during instance construction (bug found by chansen)
2360 * Moose::Meta::Attribute
2361 - read-only attributes now actually enforce their
2362 read-only-ness (this corrected in Class::MOP as
2365 0.02 Tues. March 21, 2006
2367 - many more tests, fixing some bugs and
2369 - &extends now loads the base module with
2371 - added UNIVERSAL::require to the
2374 - each new Moose class will also create
2375 and register a subtype of Object which
2376 correspond to the new Moose class.
2377 - the 'isa' option in &has now only
2378 accepts strings, and will DWIM in
2381 * Moose::Util::TypeConstraints
2382 - added type coercion features
2383 - added tests for this
2384 - added support for this in attributes
2385 and instance construction
2387 - type construction no longer creates a
2388 function, it registers the type instead.
2389 - added several functions to get the
2393 - BUILDALL and DEMOLISHALL were broken
2394 because of a mis-named hash key, Whoops :)
2396 * Moose::Meta::Attribute
2397 - adding support for coercion in the
2398 autogenerated accessors
2400 * Moose::Meta::Class
2401 - adding support for coercion in the
2402 instance construction
2404 * Moose::Meta::TypeConstraint
2405 * Moose::Meta::TypeCoercion
2406 - type constraints and coercions are now
2407 full fledges meta-objects
2409 0.01 Wed. March 15, 2006
2410 - Moooooooooooooooooose!!!