1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
5 * Moose::Meta::TypeConstraint
6 - Do not run coercions in coerce() if the value already passes the type
9 * Moose::Meta::TypeConstraint::Class
10 - In validation error messages, specifically say that the value is not
11 an instance of the class. This should alleviate some frustrating
12 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
14 0.75_01 Thu, April 23, 2009
15 * Moose::Meta::Role::Application::ToClass
16 - Moose now warns about each class overriding methods from roles it
20 - Warnings tests have standardized on Test::Output which is now an
21 unconditionally dependency (Sartak)
24 - Changes to immutabilization to work with Class::MOP 0.82_01+.
26 0.75 Mon, April 20, 2009
29 - Move validation of not inheriting from roles from Moose::extends to
30 Moose::Meta::Class::superclasses (doy)
33 - add ensure_all_roles() function to encapsulate the common "apply this
34 role unless the object already does it" pattern (hdp)
37 - Users can now select a different metaclass with the "-metaclass"
38 option to import, for classes and roles (Sartak)
41 - Make method_metaclass an attr so that it can accept a metarole
44 0.74 Tue, April 7, 2009
46 * Moose::Meta::Method::Destructor
47 - Include stack traces in the deprecation warnings.
51 - Removed the long-deprecated _apply_all_roles method.
53 * Moose::Meta::TypeConstraint
54 - Removed the long-deprecated union method.
57 0.73_02 Mon, April 6, 2009
58 * More deprecations and renamings
59 - Moose::Meta::Method::Constructor
60 - initialize_body => _initialize_body (this is always called
61 when an object is constructed)
64 - The DEMOLISHALL method could throw an exception during global
65 destruction, meaning that your class's DEMOLISH methods would
66 not be properly called. Reported by t0m.
68 * Moose::Meta::Method::Destructor
69 - Destructor inlining was totally broken by the change to the
70 is_needed method in 0.72_01. Now there is a test for this
71 feature, and it works again.
74 - Bold the word 'not' in the POD for find_meta (t0m)
76 0.73_01 Sun, April 5, 2009
78 - Call user_class->meta in fewer places, with the eventual goal
79 of allowing the user to rename or exclude ->meta
80 altogether. Instead uses Class::MOP::class_of. (Sartak)
82 * Moose::Meta::Method::Accessor
83 - If an attribute had a lazy default, and that value did not
84 pass the attribute's type constraint, it did not get the
85 message from the type constraint, instead using a generic
86 message. Test provided by perigrin.
88 * Moose::Util::TypeConstraints
89 - Add duck_type keyword. It's sugar over making sure an object
90 can() a list of methods. This is easier than jrockway's
91 suggestion to fork all of CPAN. (perigrin)
92 - add tests and documentation (perigrin)
95 - Document the fact that init_meta() returns the target class's
96 metaclass object. (hdp)
98 * Moose::Cookbook::Extending::Recipe1
99 * Moose::Cookbook::Extending::Recipe2
100 * Moose::Cookbook::Extending::Recipe3
101 * Moose::Cookbook::Extending::Recipe4
102 - Make init_meta() examples explicitly return the metaclass and
103 point out this fact. (hdp)
105 * Moose::Cookbook::Basics::Recipe12
106 - A new recipe, creating a custom meta-method class.
108 * Moose::Cookbook::Meta::Recipe6
109 - A new recipe, creating a custom meta-method class.
112 * Moose::Meta::Method::Constructor
113 - Attribute triggers no longer receive the meta-attribute object
114 as an argument in any circumstance. Previously, triggers
115 called during instance construction were passed the
116 meta-attribute, but triggers called by normal accessors were
117 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
119 * Moose::Manual::Attributes
120 - Remove references to triggers receving the meta-attribute object as an
123 * Moose::Cookbook::FAQ
124 - Remove recommendation for deprecated Moose::Policy and
125 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
128 * Many methods have been renamed with a leading underscore, and a
129 few have been deprecated entirely. The methods with a leading
130 underscore are consider "internals only". People writing
131 subclasses or extensions to Moose should feel free to override
132 them, but they are not for "public" use.
135 - check_metaclass_compatibility => _check_metaclass_compatibility
137 - Moose::Meta::Method::Accessor
138 - initialize_body => _initialize_body (this is always called
139 when an object is constructed)
140 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
142 - Moose::Meta::Method::Constructor
143 - initialize_body => _initialize_body (this is always called
144 when an object is constructed)
145 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
146 - attributes => _attributes (now inherited from parent)
147 - meta_instance => _meta_instance (now inherited from parent)
150 - alias_method is deprecated. Use add_method
152 0.73 Fri, March 29, 2009
153 * No changes from 0.72_01.
155 0.72_01 Thu, March 26, 2009
157 - Almost every module has complete API documentation. A few
158 methods (and even whole classes) have been intentionally
159 excluded pending some rethinking of their APIs.
161 * Moose::Util::TypeConstraints
162 - Calling subtype with a name as the only argument is now an
163 exception. If you want an anonymous subtype do:
165 my $subtype = subtype as 'Foo';
167 * Moose::Cookbook::Meta::Recipe7
168 - A new recipe, creating a custom meta-instance class.
170 * Moose::Cookbook::Basics::Recipe5
171 - Fix various typos and mistakes. Includes a patch from Radu
174 * Moose::Cookbook::Basics::Recipe9
175 - Link to this recipe from Moose.pm's builder blurb
178 - When wrapping a function with a prototype, Moose::Exporter now
179 makes sure the wrapped function still has the same
180 prototype. (Daisuke Maki)
182 * Moose::Meta::Attribute
183 - Allow a subclass to set lazy_build for an inherited
187 - Explicitly depend on Data::OptList. We already had this dependency
188 via Sub::Exporter, but since we're using it directly we're
189 better off with it listed. (Sartak)
191 * Moose::Meta::Method::Constructor
192 - Make it easier to subclass the inlining behaviour. (Ash
195 * Moose::Manual::Delta
196 - Details significant changes in the history of Moose, along
197 with recommended workarounds.
199 * Moose::Manual::Contributing
200 - Contributor's guide to Moose.
202 * Moose::Meta::Method::Constructor
203 - The long-deprecated intialize_body method has been removed
204 (yes, spelled like that).
206 * Moose::Meta::Method::Destructor
207 - This is_needed method is now always a class method.
210 - Changes to the internals of how make_immutable works to match
211 changes in latest Class::MOP.
213 0.72 Mon, February 23, 2009
215 * Moose::Meta::Method::Constructor
216 - A mutable class accepted Foo->new(undef) without complaint,
217 while an immutable class would blow up with an unhelpful
218 error. Now, in both cases we throw a helpful error
219 instead. Reported by doy.
221 0.71_01 Sun, February 22, 2009
223 - Hopefully fixed some POD errors in a few recipes that caused
224 them to display weird on search.cpan.org.
226 * Moose::Util::TypeConstraints
227 - Calling type or subtype without the sugar helpers (as, where,
228 message) is now deprecated.
229 - The subtype function tried hard to guess what you meant, but
230 often got it wrong. For example:
232 my $subtype = subtype as 'ArrayRef[Object]';
234 This caused an error in the past, but now works as you'd
238 - Make sure Moose.pm is loaded before calling
239 Moose->throw_error. This wasn't normally an issue, but could
240 bite you in weird cases.
242 0.71 Thu, February 19, 2009
243 * Moose::Cookbook::Basics::Recipe11
244 - A new recipe which demonstrates the use of BUILDARGS and
247 * Moose::Cookbook::Roles::Recipe3
248 - A new recipe, applying a role to an object instance. (Dave
252 - Allow overriding specific keywords from "also" packages. (doy)
255 - Replace hardcoded cookbook tests with Test::Inline to ensure
256 the tests match the actual code in the recipes. (Dave Rolsky)
259 - Working on the above turned up a number of little bugs in the
260 recipe code. (Dave Rolsky)
262 * Moose::Util::TypeConstraints::Optimized
263 - Just use Class::MOP for the optimized ClassName check. (Dave
266 0.70 Sat, February 14, 2009
267 * Moose::Util::TypeConstraints
268 - Added the RoleName type (stevan)
269 - added tests for this (stevan)
271 * Moose::Cookbook::Basics::Recipe3
272 - Updated the before qw[left right] sub to be a little more
273 defensive about what it accepts (stevan)
274 - added more tests to t/000_recipies/basics/003_binary_tree.t
278 - We now always call DEMOLISHALL, even if a class does not
279 define DEMOLISH. This makes sure that method modifiers on
280 DEMOLISHALL work as expected. (doy)
281 - added tests for this (EvanCarroll)
283 * Moose::Util::MetaRole
284 - Accept roles for the wrapped_method_metaclass (rafl)
285 - added tests for this (rafl)
287 * Moose::Meta::Attribute
288 - We no longer pass the meta-attribute object as a final
289 argument to triggers. This actually changed for inlined code a
290 while back, but the non-inlined version and the docs were
294 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
295 they require 0.11. (Dave Rolsky)
298 - Lots of small changes to the manual, cookbook, and
299 elsewhere. These were based on feedback from various
300 users, too many to list here. (Dave Rolsky)
302 0.69 Thu, February 12, 2009
304 - Make some keyword errors use throw_error instead of croak
305 since Moose::Exporter wraps keywords now (Sartak)
308 - Revised every recipe for style and clarity. Also moved some
309 documentation out of cookbook recipes and into Moose::Manual
310 pages. This work was funded as part of the Moose docs grant
311 from TPF. (Dave Rolsky)
313 * Moose::Meta::Method::Delegation
314 - If the attribute doing the delegation was not populated, the
315 error message did not specify the attribute name
318 0.68 Wed, February 4, 2009
320 - Many spelling, typo, and formatting fixes by daxim.
322 * Moose::Manual::Attributes
323 - The NAME section in the POD used "Attribute" so search.cpan
324 didn't resolve links from other documents properly.
326 * Moose::Meta::Method::Overriden
327 - Now properly spelled as Overridden. Thanks to daxim for
330 0.67 Tue, February 3, 2009
332 - Lots of little typo fixes and a few clarifications. Several
333 pages didn't have proper titles, and so weren't actually
334 visible on search.cpan.org. Thanks to hanekomu for a variety
335 of fixes and formatting improvements.
337 0.66 Tue, February 3, 2009
339 - This is a brand new, extensive manual for Moose. This aims to
340 provide a complete introduction to all of Moose's
341 features. This work was funded as part of the Moose docs grant
342 from TPF. (Dave Rolsky)
344 * Moose::Meta::Attribute
345 - Added a delegation_metaclass method to replace a hard-coded
346 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
348 * Moose::Util::TypeConstraints
349 - If you created a subtype and passed a parent that Moose didn't
350 know about, it simply ignored the parent. Now it automatically
351 creates the parent as a class type. This may not be what you
352 want, but is less broken than before. (Dave Rolsky)
354 * Moose::Util::TypeConstraints
355 - This module tried throw errors by calling Moose->throw_error,
356 but it did not ensure that Moose was loaded first. This could
357 cause very unhelpful errors when it tried to throw an error
358 before Moose was loaded. (Dave Rolsky)
360 * Moose::Util::TypeConstraints
361 - You could declare a name with subtype such as "Foo!Bar" that
362 would be allowed, but if you used it in a parameterized type
363 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
364 vetting on names created via the sugar functions, so that they
365 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
367 0.65 Thu, January 22, 2008
368 * Moose and Moose::Meta::Method::Overridden
369 - If an overridden method called super(), and then the
370 superclass's method (not overridden) _also_ called super(),
371 Moose went into an endless recursion loop. Test provided by
372 Chris Prather. (Dave Rolsky)
374 * Moose::Meta::TypeConstraint
375 - All methods are now documented. (gphat)
377 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
378 - Fixed some bogus failures that occurred because we tried to
379 validate filesystem paths in a very ad-hoc and
380 not-quite-correct way. (Dave Rolsky)
382 * Moose::Util::TypeConstraints
383 - Added maybe_type to exports. See docs for details. (rjbs)
386 - Added Moose::Util::TypeConstraints to the SEE ALSO
390 - Methods created via an attribute can now fulfill a "requires"
391 declaration for a role. (nothingmuch)
393 * Moose::Meta::Method::*
394 - Stack traces from inlined code will now report its line and
395 file as being in your class, as opposed to in Moose
398 0.64 Wed, December 31, 2008
399 * Moose::Meta::Method::Accessor
400 - Always inline predicate and clearer methods (Sartak)
402 * Moose::Meta::Attribute
403 - Support for parameterized traits (Sartak)
404 - verify_against_type_constraint method to avoid duplication
405 and enhance extensibility (Sartak)
408 - Tests (but no support yet) for parameterized traits (Sartak)
411 - Require Class::MOP 0.75+, which has the side effect of making
412 sure we work on Win32. (Dave Rolsky)
414 0.63 Mon, December 8, 2008
416 - Some small grammar tweaks and bug fixes in non-Moose example
419 0.62_02 Fri, December 5, 2008
420 * Moose::Meta::Role::Application::ToClass
421 - When a class does not provide all of a role's required
422 methods, the error thrown now mentions all of the missing
423 methods, as opposed to just the first one found. Requested by
424 Curtis Poe (RT #41119). (Dave Rolsky)
426 * Moose::Meta::Method::Constructor
427 - Moose will no longer inline a constructor for your class
428 unless it inherits its constructor from Moose::Object, and
429 will warn when it doesn't inline. If you want to force
430 inlining anyway, pass "replace_constructor => 1" to
431 make_immutable. Addresses RT #40968, reported by Jon
432 Swartz. (Dave Rolsky)
433 - The quoting of default values could be broken if the default
434 contained a single quote ('). Now we use quotemeta to escape
435 anything potentially dangerous in the defaults. (Dave Rolsky)
437 0.62_01 Wed, December 3, 2008
439 - use the method->execute API for BUILDALL
440 and DEMOLISHALL (Sartak)
442 * Moose::Util::TypeConstraints
443 - We now make all the type constraint meta classes immutable
444 before creating the default types provided by Moose. This
445 should make loading Moose a little faster. (Dave Rolsky)
447 0.62 Wed November 26, 2008
448 * Moose::Meta::Role::Application::ToClass
449 Moose::Meta::Role::Application::ToRole
450 - fixed issues where excluding and aliasing the
451 same methods for a single role did not work
452 right (worked just fine with multiple
454 - added test for this (stevan)
456 * Moose::Meta::Role::Application::RoleSummation
457 - fixed the error message when trying to compose
458 a role with a role it excludes (Sartak)
461 - Catch another case where recursion caused the value
462 of $CALLER to be stamped on (t0m)
463 - added test for this (t0m)
466 - Remove the make_immutable keyword, which has been
467 deprecated since April. It breaks metaclasses that
468 use Moose without no Moose (Sartak)
470 * Moose::Meta::Attribute
471 - Removing an attribute from a class now also removes delegation
472 (handles) methods installed for that attribute (t0m)
473 - added test for this (t0m)
475 * Moose::Meta::Method::Constructor
476 - An attribute with a default that looked like a number (but was
477 really a string) would accidentally be treated as a number
478 when the constructor was made immutable (perigrin)
479 - added test for this (perigrin)
482 - create method for constructing a role
484 - added test for this (Sartak)
485 - anonymous roles! (Sartak)
486 - added test for this (Sartak)
489 - more consistent error messages (Sartak)
491 * Moose::Cookbook::Roles::Recipe1
492 - attempt to explain why a role that just requires
493 methods is useful (Sartak)
495 0.61 Fri November 7, 2008
496 * Moose::Meta::Attribute
497 - When passing a role to handles, it will be loaded if necessary
501 - Method objects returned by get_method (and other methods)
502 Could end up being returned without an associated_metaclass
503 attribute. Removing get_method_map, which is provided by
504 Class::MOP::Class, fixed this. The Moose version did nothing
505 different from its parent except introduce a bug. (Dave Rolsky)
506 - added tests for this (jdv79)
509 - Added a $VERSION to all .pm files which didn't have one. Fixes
510 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
512 * Moose::Cookbook::Basics::Recipe4
513 * Moose::Cookbook::Basics::Recipe6
514 - These files had spaces on the first line of the SYNOPSIS, as
515 opposed to a totally empty line. According to RT #40432, this
516 confuses POD parsers. (Dave Rolsky)
518 0.60 Fri October 24, 2008
520 - Passing "-traits" when loading Moose caused the Moose.pm
521 exports to be broken. Reported by t0m. (Dave Rolsky)
522 - Tests for this bug. (t0m)
525 - Change resolve_metaclass alias to use the new
526 load_first_existing_class function. This makes it a lot
527 simpler, and also around 5 times faster. (t0m)
528 - Add caching to resolve_metaclass_alias, which gives an order
529 of magnitude speedup to things which repeatedly call the
530 Moose::Meta::Attribute->does method, notably MooseX::Storage
533 * Moose::Util::TypeConstraint
534 - Put back the changes for parameterized constraints that
535 shouldn't have been removed in 0.59. We still cannot parse
536 them, but MooseX modules can create them in some other
537 way. See the 0.58 changes for more details. (jnapiorkowski)
538 - Changed the way subtypes are created so that the job is
539 delegated to a type constraint parent. This clears up some
540 hardcoded checking and should allow correct subtypes of
541 Moose::Meta::Type::Constraint. Don't rely on this new API too
542 much (create_child_type) because it may go away in the
543 future. (jnapiorkowski)
545 * Moose::Meta::TypeConstraint::Union
546 - Type constraint names are sorted as strings, not numbers.
549 * Moose::Meta::TypeConstraint::Parameterizable
550 - New parameterize method. This can be used as a factory method
551 to make a new type constraint with a given parameterized
552 type. (jnapiorkowski)
553 - added tests (jnapiorkowski)
555 0.59 Tue October 14, 2008
557 - Add abridged documentation for builder/default/initializer/
558 predicate, and link to more details sections in
559 Class::MOP::Attribute. (t0m)
561 * Moose::Util::TypeConstraints
562 - removed prototypes from all but the &-based stuff (mst)
564 * Moose::Util::TypeConstraints
565 - Creating a anonymous subtype with both a constraint and a
566 message failed with a very unhelpful error, but should just
567 work. Reported by t0m. (Dave Rolsky)
570 - Some tests that used Test::Warn if it was available failed
571 with older versions of Test::Warn. Reported by Fayland. (Dave
573 - Test firing behavior of triggers in relation to builder/default/
575 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
576 kinds of supported type. (t0m)
579 - In create(), do not pass "roles" option to the superclass
580 - added related test that creates an anon metaclass with
583 * Moose::Meta::TypeConstraint::Class
584 * Moose::Meta::TypeConstraint::Role
585 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
586 other types (as per change in 0.55_02). (t0m)
588 * Moose::Meta::TypeConstraint::Registry
589 - Fix warning when dealing with unknown type names (t0m)
591 * Moose::Util::TypeConstraints
592 - Reverted changes from 0.58 related to handle parameterized
593 types. This caused random failures on BSD and Win32 systems,
594 apparently related to the regex engine. This means that Moose
595 can no longer parse structured type constraints like
596 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
597 supported in a slightly different way via MooseX::Types some
598 time in the future. (Dave Rolsky)
600 0.58 Sat September 20, 2008
601 !! This release has an incompatible change regarding !!
602 !! how roles add methods to a class !!
604 * Roles and role application
605 ! Roles now add methods by calling add_method, not
606 alias_method. They make sure to always provide a method
607 object, which will be cloned internally. This means that it is
608 now possible to track the source of a method provided by a
609 role, and even follow its history through intermediate roles.
611 This means that methods added by a role now show up when
612 looking at a class's method list/map. (Dave Rolsky)
615 - From this release on, we'll try to maintain a list of
616 conflicting modules, and warn you if you have one
617 installed. For example, this release conflicts with ...
618 - MooseX::Singleton <= 0.11
619 - MooseX::Params::Validate <= 0.05
622 In general, we try to not break backwards compatibility for
623 most Moose users, but MooseX modules and other code which
624 extends Moose's metaclasses is often affected by very small
625 changes in the Moose internals.
627 * Moose::Meta::Method::Delegation
628 * Moose::Meta::Attribute
629 - Delegation methods now have their own method class. (Dave
632 * Moose::Meta::TypeConstraint::Parameterizable
633 - Added a new method 'parameterize' which is basically a factory
634 for the containing constraint. This makes it easier to create
635 new types of parameterized constraints. (jnapiorkowski)
637 * Moose::Meta::TypeConstraint::Union
638 - Changed the way Union types canonicalize their names to follow
639 the normalized TC naming rules, which means we strip all
640 whitespace. (jnapiorkowski)
642 * Moose::Util::TypeConstraints
643 - Parameter and Union args are now sorted, this makes Int|Str
644 the same constraint as Str|Int. (jnapiorkowski)
645 - Changes to the way Union types are parsed to more correctly
646 stringify their names. (jnapiorkowski)
647 - When creating a parameterized type, we now use the new
648 parameterize method. (jnapiorkowski)
649 - Incoming type constraint strings are now normalized to remove
650 all whitespace differences. (jnapiorkowski)
651 - Changed the way we parse type constraint strings so that we now
652 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
653 constraints. This lays the foundation for more flexible type
654 constraint implementations.
656 * Tests and docs for all the above. (jnapiorkowski)
660 - Moose::Exporter will no longer remove a subroutine that the
661 exporting package re-exports. Moose re-exports the
662 Carp::confess function, among others. The reasoning is that we
663 cannot know whether you have also explicitly imported those
664 functions for your own use, so we err on the safe side and
665 always keep them. (Dave Rolsky)
666 - added tests for this (rafl)
669 - Changes to how we fix metaclass compatibility that are much
670 too complicated to go into. The summary is that Moose is much
671 less likely to complain about metaclass incompatibility
672 now. In particular, if two metaclasses differ because
673 Moose::Util::MetaRole was used on the two corresponding
674 classes, then the difference in roles is reconciled for the
675 subclass's metaclass. (Dave Rolsky)
676 - Squashed an warning in _process_attribute (thepler)
679 - throw exceptions (sooner) for invalid attribute names (thepler)
680 - added tests for this (thepler)
682 * Moose::Util::MetaRole
683 - If you explicitly set a constructor or destructor class for a
684 metaclass object, and then applied roles to the metaclass,
685 that explicitly set class would be lost and replaced with the
689 * Moose::Meta::Attribute
690 * Moose::Meta::Method
693 * Moose::Error::Default
694 * Moose::Error::Croak
695 * Moose::Error::Confess
696 - All instances of confess() changed to use overridable
697 C<throw_error> method. This method ultimately calls a class
698 constructor, and you can change the class being called. In
699 addition, errors now pass more information than just a string.
700 The default C<error_class> behaves like C<Carp::confess>, so
701 the behavior is not visibly different for end users.
703 0.57 Wed September 3, 2008
705 - A new bit of doc intended to introduce folks familiar with
706 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
709 - Shows examples of two classes, each done first with and then
710 without Moose. This makes a nice parallel to
711 Moose::Intro. (Dave Rolsky)
713 * Moose::Util::TypeConstraints
714 - Fixed a bug in find_or_parse_type_constraint so that it
715 accepts a Moose::Meta::TypeConstraint object as the parent
716 type, not just a name (jnapiorkowski)
717 - added tests (jnapiorkowski)
720 - If Sub::Name was not present, unimporting failed to actually
721 remove some sugar subs, causing test failures (Dave Rolsky)
723 0.56 Mon September 1, 2008
724 For those not following the series of dev releases, there are
725 several major changes in this release of Moose.
726 ! Moose::init_meta should now be called as a method. See the
729 - Major performance improvements by nothingmuch.
731 - New modules for extension writers, Moose::Exporter and
732 Moose::Util::MetaRole by Dave Rolsky.
734 - Lots of doc improvements and additions, especially in the
739 * Removed all references to the experimental-but-no-longer-needed
740 Moose::Meta::Role::Application::ToMetaclassInstance.
742 * Require Class::MOP 0.65.
744 0.55_04 Sat August 30, 2008
745 * Moose::Util::MetaRole
746 * Moose::Cookbook::Extending::Recipe2
747 - This simplifies the application of roles to any meta class, as
748 well as the base object class. Reimplemented metaclass traits
749 using this module. (Dave Rolsky)
751 * Moose::Cookbook::Extending::Recipe1
752 - This a new recipe, an overview of various ways to write Moose
753 extensions (Dave Rolsky)
755 * Moose::Cookbook::Extending::Recipe3
756 * Moose::Cookbook::Extending::Recipe4
757 - These used to be Extending::Recipe1 and Extending::Recipe2,
760 0.55_03 Fri August 29, 2008
761 * No changes from 0.55_02 except increasing the Class::MOP
762 dependency to 0.64_07.
764 0.55_02 Fri August 29, 2008
765 * Makefile.PL and Moose.pm
766 - explicitly require Perl 5.8.0+ (Dave Rolsky)
768 * Moose::Util::TypeConstraints
769 - Fix warnings from find_type_constraint if the type is not
772 * Moose::Meta::TypeConstraint
773 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
774 return false if the type you specify cannot be found in the
775 type registry, rather than throwing an unhelpful and
776 coincidental exception. (t0m).
777 - added docs & test for this (t0m)
779 * Moose::Meta::TypeConstraint::Registry
780 - add_type_constraint now throws an exception if a parameter is
782 - added docs & test for this (t0m)
784 * Moose::Cookbook::FAQ
785 - Added a faq entry on the difference between "role" and "trait"
789 - Fixed a bug that caused role composition to not see a required
790 method when that method was provided by another role being
791 composed at the same time. (Dave Rolsky)
792 - test and bug finding (tokuhirom)
794 0.55_01 Wed August 20, 2008
796 !! Calling Moose::init_meta as a function is now !!
797 !! deprecated. Please see the Moose.pm docs for details. !!
799 * Moose::Meta::Method::Constructor
800 - Fix inlined constructor so that values produced by default
801 or builder methods are coerced as required. (t0m)
802 - added test for this (t0m)
804 * Moose::Meta::Attribute
805 - A lazy attribute with a default or builder did not attempt to
806 coerce the default value. The immutable code _did_
808 - added test for this (t0m)
811 - This is a new helper module for writing "Moose-alike"
812 modules. This should make the lives of MooseX module authors
813 much easier. (Dave Rolsky)
816 * Moose::Cookbook::Meta::Recipe5
817 - Implemented metaclass traits (and wrote a recipe for it):
819 use Moose -traits => 'Foo'
821 This should make writing small Moose extensions a little
824 * Moose::Cookbook::Basics::Recipe1
825 - Removed any examples of direct hashref access, and applied an
826 editorial axe to reduce verbosity. (Dave Rolsky)
828 * Moose::Cookbook::Basics::Recipe1
829 - Also applied an editorial axe here. (Dave Rolsky)
832 * Moose::Cookbook::Extending::Recipe1
833 * Moose::Cookbook::Extending::Recipe2
834 - Rewrote extending and embedding moose documentation and
835 recipes to use Moose::Exporter (Dave Rolsky)
839 - These two modules now warn when you load them from the main
840 package "main" package, because we will not export sugar to
841 main. Previously it just did nothing. (Dave Rolsky)
844 - Now provide an init_meta method just like Moose.pm, and you
845 can call this to provide an alternate role metaclass. (Dave
846 Rolsky and nothingmuch)
847 - get_method_map now respects the package cache flag (nothingmuch)
850 - Two new methods - add_method and wrap_method_body
854 - Optimizations including allowing constructors to accept hash
855 refs, making many more classes immutable, and making
856 constructors immutable. (nothingmuch)
858 0.55 Sun August 3, 2008
859 * Moose::Meta::Attribute
860 - breaking down the way 'handles' methods are
861 created so that the process can be more easily
862 overridden by subclasses (stevan)
864 * Moose::Meta::TypeConstraint
865 - fixing what is passed into a ->message with
866 the type constraints (RT #37569)
867 - added tests for this (Charles Alderman)
869 * Moose::Util::TypeConstraints
870 - fix coerce to accept anon types like subtype can (mst)
873 - reorganized the recipes into sections - Basics, Roles, Meta,
874 Extending - and wrote abstracts for each section (Dave Rolsky)
876 * Moose::Cookbook::Basics::Recipe10
877 - A new recipe that demonstrates operator overloading
878 in combination with Moose. (bluefeet)
880 * Moose::Cookbook::Meta::Recipe1
881 - an introduction to what meta is and why you'd want to make
882 your own metaclass extensions (Dave Rolsky)
884 * Moose::Cookbook::Meta::Recipe4
885 - a very simple metaclass example (Dave Rolsky)
887 * Moose::Cookbook::Extending::Recipe1
888 - how to write a Moose-alike module to use your own object base
891 * Moose::Cookbook::Extending::Recipe2
892 - how to write modules with an API just like C<Moose.pm> (Dave
896 - Tons of fixes, both syntactical and grammatical (Dave
897 Rolsky, Paul Fenwick)
899 0.54 Thurs. July 3, 2008
900 ... this is not my day today ...
902 * Moose::Meta::Attribute
903 - fixed legal_options_for_inheritance such that
904 clone_and_inherit options still works for
905 Class::MOP::Attribute objects and therefore
906 does not break MooseX::AttributeHelpers
909 0.53 Thurs. July 3, 2008
910 * Whoops, I guess I should run 'make manifest' before
911 actually releasing the module. No actual changes
912 in this release, except the fact that it includes
913 the changes that I didn't include in the last
916 0.52 Thurs. July 3, 2008
918 - added "FEATURE REQUESTS" section to the Moose docs
919 to properly direct people (stevan) (RT #34333)
920 - making 'extends' croak if it is passed a Role since
921 this is not ever something you want to do
922 (fixed by stevan, found by obra)
923 - added tests for this (stevan)
926 - adding support for DOES (as in UNIVERSAL::DOES)
928 - added test for this
930 * Moose::Meta::Attribute
931 - added legal_options_for_inheritance (wreis)
932 - added tests for this (wreis)
934 * Moose::Cookbook::Snacks::*
935 - removed some of the unfinished snacks that should
936 not have been released yet. Added some more examples
937 to the 'Keywords' snack. (stevan)
939 * Moose::Cookbook::Style
940 - added general Moose "style guide" of sorts to the
941 cookbook (nothingmuch) (RT #34335)
944 - added more BUILDARGS tests (stevan)
946 0.51 Thurs. Jun 26, 2008
948 - add unimport so "no Moose::Role" actually does
951 * Moose::Meta::Role::Application::ToRole
952 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
953 order to provide its own implementation, that method still got
954 added to the list of required methods for consumers of
955 RoleB. Now an aliased method is only added to the list of
956 required methods if the role doing the aliasing does not
957 provide its own implementation. See Recipe 11 for an example
958 of all this. (Dave Rolsky)
959 - added tests for this
961 * Moose::Meta::Method::Constructor
962 - when a single argument that wasn't a hashref was provided to
963 an immutabilized constructor, the error message was very
964 unhelpful, as opposed to the non-immutable error. Reported by
966 - added test for this (Dave Rolsky)
968 * Moose::Meta::Attribute
969 - added support for meta_attr->does("ShortAlias") (sartak)
970 - added tests for this (sartak)
971 - moved the bulk of the `handles` handling to the new
972 install_delegation method (Stevan)
975 - Added BUILDARGS, a new step in new()
977 * Moose::Meta::Role::Application::RoleSummation
978 - fix typos no one ever sees (sartak)
980 * Moose::Util::TypeConstraints
981 * Moose::Meta::TypeConstraint
982 * Moose::Meta::TypeCoercion
983 - Attempt to work around the ??{ } vs. threads issue
985 - Some null_constraint optimizations
987 0.50 Thurs. Jun 11, 2008
988 - Fixed a version number issue by bumping all modules
991 0.49 Thurs. Jun 11, 2008
992 !! This version now approx. 20-25% !!
993 !! faster with new Class::MOP 0.59 !!
995 * Moose::Meta::Attribute
996 - fixed how the is => (ro|rw) works with
997 custom defined reader, writer and accessor
999 - added docs for this (TODO).
1000 - added tests for this (Thanks to Penfold)
1001 - added the custom attribute alias for regular
1002 Moose attributes which is "Moose"
1003 - fix builder and default both being used
1008 Moose::Meta::Attribute
1010 Moose::Meta::Role::Composite
1011 Moose::Util::TypeConstraints
1012 - switched usage of reftype to ref because
1016 - changing add_package_symbol to use the new
1020 - fixed how DEMOLISHALL is called so that it
1021 can be overrided in subclasses (thanks to Sartak)
1022 - added test for this (thanks to Sartak)
1024 * Moose::Util::TypeConstraints
1025 - move the ClassName type check code to
1026 Class::MOP::is_class_loaded (thanks to Sartak)
1028 * Moose::Cookbook::Recipe11
1029 - add tests for this (thanks to tokuhirom)
1031 0.48 Thurs. May 29, 2008
1032 (early morning release engineering)--
1034 - fixing the version in Moose::Meta::Method::Destructor
1035 which was causing the indexer to choke
1037 0.47 Thurs. May 29, 2008
1038 (late night release engineering)--
1040 - fixing the version is META.yml, no functional
1041 changes in this release
1043 0.46 Wed. May 28, 2008
1044 !! This version now approx. 20-25% !!
1045 !! faster with new Class::MOP 0.57 !!
1047 * Moose::Meta::Class
1048 - some optimizations of the &initialize method
1049 since it is called so often by &meta
1051 * Moose::Meta::Class
1053 - now use the get_all_package_symbols from the
1054 updated Class::MOP, test suite is now 10 seconds
1057 * Moose::Meta::Method::Destructor
1058 - is_needed can now also be called as a class
1059 method for immutablization to check if the
1060 destructor object even needs to be created
1063 * Moose::Meta::Method::Destructor
1064 Moose::Meta::Method::Constructor
1065 - added more descriptive error message to help
1066 keep people from wasting time tracking an error
1067 that is easily fixed by upgrading.
1069 0.45 Saturday, May 24, 2008
1071 - Because of work in Class::MOP 0.57, all
1072 XS based functionality is now optional
1073 and a Pure Perl version is supplied
1074 - the CLASS_MOP_NO_XS environment variable
1075 can now be used to force non-XS versions
1077 - several of the packages have been tweaked
1078 to take care of this, mostly we added
1079 support for the package_name and name
1080 variables in all the Method metaclasses
1081 - before/around/after method modifiers now
1082 support regexp matching of names
1083 (thanks to Takatoshi Kitano)
1084 - tests added for this
1085 - NOTE: this only works for classes, it
1086 is currently not supported in roles,
1087 but, ... patches welcome
1088 - All usage of Carp::confess have been replaced
1089 by Carp::croak in the "keyword" functions since
1090 the stack trace is usually not helpful
1093 - All usage of Carp::confess have been replaced
1094 by Carp::croak in the "keyword" functions since
1095 the stack trace is usually not helpful
1096 - The 'has' keyword for roles now accepts the
1097 same array ref form that Moose.pm does
1098 (has [qw/foo bar/] => (is => 'rw', ...))
1099 - added test for this
1101 * Moose::Meta::Attribute
1102 - trigger on a ro-attribute is no longer an
1103 error, as it's useful to trigger off of the
1106 * Moose::Meta::Class
1107 - added same 'add_package_symbol' fix as in
1111 - does_role now handles non-Moose classes
1113 - added tests for this
1114 - added the 'add_method_modifier' function
1115 (thanks to Takatoshi Kitano)
1117 * Moose::Util::TypeConstraints
1118 - subtypes of parameterizable types now are
1119 themselves parameterizable types
1121 * Moose::Meta::Method::Constructor
1122 - fixed bug where trigger was not being
1123 called by the inlined immutable
1125 - added test for this (thanks to Caelum)
1127 * Moose::Meta::Role::Application::ToInstance
1128 - now uses the metaclass of the instance
1129 (if possible) to create the anon-class
1130 (thanks Jonathan Rockway)
1132 * Moose::Cookbook::Recipe22
1133 - added the meta-attribute trait recipe
1137 - fixed hash-ordering test bug that was
1138 causing occasional cpantester failures
1139 - renamed the t/000_recipe/*.t tests to be
1140 more descriptive (thanks to Sartak)
1142 0.44 Sat. May 10, 2008
1144 - made make_immutable warning cluck to
1145 show where the error is (thanks mst)
1148 - BUILDALL and DEMOLISHALL now call
1149 ->body when looping through the
1150 methods, to avoid the overloaded
1152 - fixed issue where DEMOLISHALL was
1153 eating the $@ values, and so not
1154 working correctly, it still kind of
1155 eats them, but so does vanilla perl
1156 - added tests for this
1158 * Moose::Cookbook::Recipe7
1159 - added new recipe for immutable
1160 functionality (thanks Dave Rolsky)
1162 * Moose::Cookbook::Recipe9
1163 - added new recipe for builder and
1164 lazy_build (thanks Dave Rolsky)
1166 * Moose::Cookbook::Recipe11
1167 - added new recipe for method aliasing
1168 and exclusion with Roles (thanks Dave Rolsky)
1171 - fixed Win32 test failure (thanks spicyjack)
1173 ~ removed Build.PL and Module::Build compat
1174 since Module::Install has done that.
1176 0.43 Wed. April, 30, 2008
1178 drink more coffee before
1179 doing release engineering
1181 - whoops, forgot to do the smolder tests,
1182 and we broke some of the custom meta-attr
1183 modules. This fixes that.
1185 0.42 Mon. April 28, 2008
1186 - some bad tests slipped by, nothing else
1187 changed in this release (cpantesters++)
1189 - upped the Class::MOP dependency to 0.55
1190 since we have tests which need the C3
1193 0.41 Mon. April 28, 2008
1194 ~~ numerous documentation updates ~~
1196 - Changed all usage of die to Carp::croak for better
1197 error reporting (initial patch by Tod Hagan)
1199 ** IMPORTANT NOTE **
1200 - the make_immutable keyword is now deprecated, don't
1201 use it in any new code and please fix your old code
1202 as well. There will be 2 releases, and then it will
1208 - refactored the way inner and super work to avoid
1209 any method/@ISA cache penalty (nothingmuch)
1211 * Moose::Meta::Class
1212 - fixing &new_object to make sure trigger gets the
1213 coerced value (spotted by Charles Alderman on the
1215 - added test for this
1217 * Moose::Meta::Method::Constructor
1218 - immutable classes which had non-lazy attributes were calling
1219 the default generating sub twice in the constructor. (bug
1220 found by Jesse Luehrs, fixed by Dave Rolsky)
1221 - added tests for this (Dave Rolsky)
1222 - fix typo in initialize_body method (nothingmuch)
1224 * Moose::Meta::Method::Destructor
1225 - fix typo in initialize_body method (nothingmuch)
1227 * Moose::Meta::Method::Overriden
1228 Moose::Meta::Method::Augmented
1229 - moved the logic for these into their own
1230 classes (nothingmuch)
1232 * Moose::Meta::Attribute
1233 - inherited attributes may now be extended without
1234 restriction on the type ('isa', 'does') (Sartak)
1235 - added tests for this (Sartak)
1236 - when an attribute property is malformed (such as lazy without
1237 a default), give the name of the attribute in the error
1239 - added the &applied_traits and &has_applied_traits methods
1240 to allow introspection of traits
1241 - added tests for this
1242 - moved 'trait' and 'metaclass' argument handling to here from
1244 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1245 '+foo' syntax) (nothingmuch)
1246 - added tests for this (t0m)
1249 - localize $@ inside DEMOLISHALL to avoid it
1250 eating $@ (found by Ernesto)
1251 - added test for this (thanks to Ernesto)
1253 * Moose::Util::TypeConstraints
1254 - &find_type_constraint now DWIMs when given an
1255 type constraint object or name (nothingmuch)
1256 - &find_or_create_type_constraint superseded with a number of more
1258 - find_or_create_{isa,does}_type_constraint
1259 - find_or_parse_type_constraint
1261 * Moose::Meta::TypeConstraint
1262 Moose::Meta::TypeConstraint::Class
1263 Moose::Meta::TypeConstraint::Role
1264 Moose::Meta::TypeConstraint::Enum
1265 Moose::Meta::TypeConstraint::Union
1266 Moose::Meta::TypeConstraint::Parameterized
1267 - added the &equals method for comparing two type
1268 constraints (nothingmuch)
1269 - added tests for this (nothingmuch)
1271 * Moose::Meta::TypeConstraint
1272 - add the &parents method, which is just an alias to &parent.
1273 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1275 * Moose::Meta::TypeConstraint::Class
1276 - added the class attribute for introspection purposes
1278 - added tests for this
1280 * Moose::Meta::TypeConstraint::Enum
1281 Moose::Meta::TypeConstraint::Role
1282 - broke these out into their own classes (nothingmuch)
1284 * Moose::Cookbook::Recipe*
1285 - fixed references to test file locations in the POD
1286 and updated up some text for new Moose features
1290 - Added &resolve_metaclass_alias, a helper function for finding an actual
1291 class for a short name (e.g. in the traits list)
1293 0.40 Fri. March 14, 2008
1294 - I hate Pod::Coverage
1296 0.39 Fri. March 14, 2008
1298 - documenting the use of '+name' with attributes
1299 that come from recently composed roles. It makes
1300 sense, people are using it, and so why not just
1301 officially support it.
1302 - fixing the 'extends' keyword so that it will not
1303 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1306 - added the perl -Moose=+Class::Name feature to allow
1307 monkeypatching of classes in one liners
1310 - fixing the 'apply_all_roles' keyword so that it will not
1311 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1313 * Moose::Meta::Class
1314 - added ->create method which now supports roles (thanks to jrockway)
1315 - added tests for this
1316 - added ->create_anon_class which now supports roles and caching of
1317 the results (thanks to jrockway)
1318 - added tests for this
1319 - made ->does_role a little more forgiving when it is
1320 checking a Class::MOP era metaclasses.
1322 * Moose::Meta::Role::Application::ToInstance
1323 - it is now possible to pass extra params to be used when
1324 a role is applied to an the instance (rebless_params)
1325 - added tests for this
1327 * Moose::Util::TypeConstraints
1328 - class_type now accepts an optional second argument for a
1329 custom message. POD anotated accordingly (groditi)
1330 - added tests for this
1331 - it is now possible to make anon-enums by passing 'enum' an
1332 ARRAY ref instead of the $name => @values. Everything else
1334 - added tests for this
1337 - making test for using '+name' on attributes consumed
1338 from a role, it works and makes sense too.
1340 * Moose::Meta::Attribute
1341 - fix handles so that it doesn't return nothing
1342 when the method cannot be found, not sure why
1343 it ever did this originally, this means we now
1344 have slightly better support for AUTOLOADed
1346 - added more delegation tests
1347 - adding ->does method to this so as to better
1348 support traits and their introspection.
1349 - added tests for this
1352 - localizing the Data::Dumper configurations so
1353 that it does not pollute others (RT #33509)
1354 - made ->does a little more forgiving when it is
1355 passed Class::MOP era metaclasses.
1357 0.38 Fri. Feb. 15, 2008
1358 * Moose::Meta::Attribute
1359 - fixed initializer to correctly do
1360 type checking and coercion in the
1362 - added tests for this
1365 - fixed some finicky tests (thanks to konobi)
1367 0.37 Thurs. Feb. 14, 2008
1369 - fixed some details in Moose::init_meta
1370 and its superclass handling (thanks thepler)
1371 - added tests for this (thanks thepler)
1372 - 'has' now dies if you don't pass in name
1374 - added the 'make_immutable' keyword as a shortcut
1377 * Moose::Meta::Class
1378 Moose::Meta::Method::Constructor
1379 Moose::Meta::Attribute
1380 - making (init_arg => undef) work here too
1381 (thanks to nothingmuch)
1383 * Moose::Meta::Attribute
1384 Moose::Meta::Method::Constructor
1385 Moose::Meta::Method::Accessor
1386 - make lazy attributes respect attr initializers (rjbs)
1387 - added tests for this
1389 * Moose::Util::TypeConstraints
1390 Moose::Util::TypeConstraints::OptimizedConstraints
1391 Moose::Meta::TypeConstraints
1392 Moose::Meta::Attribute
1393 Moose::Meta::Method::Constructor
1394 Moose::Meta::Method::Accessor
1395 - making type errors use the
1396 assigned message (thanks to Sartak)
1397 - added tests for this
1399 * Moose::Meta::Method::Destructor
1400 - making sure DESTROY gets inlined properly
1401 with successive DEMOLISH calls (thanks to manito)
1403 * Moose::Meta::Attribute
1404 Moose::Meta::Method::Accessor
1405 - fixed handling of undef with type constraints
1407 - added tests for this
1410 - added &get_all_init_args and &get_all_attribute_values
1411 (thanks to Sartak and nothingmuch)
1413 0.36 Sat. Jan. 26, 2008
1415 Moose::Meta::Attribute
1416 - role type tests now support when roles are
1417 applied to non-Moose classes (found by ash)
1418 - added tests for this (thanks to ash)
1419 - couple extra tests to boost code coverage
1421 * Moose::Meta::Method::Constructor
1422 - improved fix for handling Class::MOP attributes
1423 - added test for this
1425 * Moose::Meta::Class
1426 - handled the add_attribute($attribute_meta_object)
1428 - added test for this
1430 0.35 Tues. Jan. 22, 2008
1431 * Moose::Meta::Method::Constructor
1432 - fix to make sure even Class::MOP attributes
1433 are handled correctly (Thanks to Dave Rolsky)
1434 - added test for this (also Dave Rolsky)
1436 * Moose::Meta::Class
1437 - improved error message on _apply_all_roles,
1438 you should now use Moose::Util::apply_all_roles
1439 and you shouldnt have been using a _ prefixed
1440 method in the first place ;)
1442 0.34 Mon. Jan. 21, 2008
1443 ~~~ more misc. doc. fixes ~~~
1444 ~~ updated copyright dates ~~
1446 Moose is now a postmodern object system :)
1447 - (see the POD for details)
1449 * <<Role System Refactoring>>
1450 - this release contains a major reworking and
1451 cleanup of the role system
1452 - 100% backwards compat.
1453 - Role application now restructured into seperate
1454 classes based on type of applicants
1455 - Role summation (combining of more than one role)
1456 is much cleaner and anon-classes are no longer
1457 used in this process
1458 - new Composite role metaclass
1459 - runtime application of roles to instances
1460 is now more efficient and re-uses generated
1461 classes when applicable
1463 * <<New Role composition features>>
1464 - methods can now be excluded from a given role
1466 - methods can now be aliased to another name (and
1467 still retain the original as well)
1469 * Moose::Util::TypeConstraints::OptimizedConstraints
1470 - added this module (see above)
1472 * Moose::Meta::Class
1473 - fixed the &_process_attribute method to be called
1474 by &add_attribute, so that the API is now correct
1476 * Moose::Meta::Method::Accessor
1477 - fixed bug when passing a list of values to
1478 an accessor would get (incorrectly) ignored.
1479 Thanks to Sartak for finding this ;)
1480 - added tests for this (Sartak again)
1482 * Moose::Meta::Method::Accessor
1483 Moose::Meta::Method::Constructor
1484 Moose::Meta::Attribute
1485 Moose::Meta::TypeConstraint
1486 Moose::Meta::TypeCoercion
1487 - lots of cleanup of such things as:
1489 - type constraint handling
1490 - error handling/messages
1491 (thanks to nothingmuch)
1493 * Moose::Meta::TypeConstraint::Parameterizable
1494 - added this module to support the refactor
1495 in Moose::Meta::TypeConstraint::Parameterized
1497 * Moose::Meta::TypeConstraint::Parameterized
1498 - refactored how these types are handled so they
1499 are more generic and not confined to ArrayRef
1503 - shortened some file names for better VMS support (RT #32381)
1505 0.33 Fri. Dec. 14, 2007
1506 !! Moose now loads 2 x faster !!
1507 !! with new Class::MOP 0.49 !!
1509 ++ new oose.pm module to make command line
1510 Moose-ness easier (see POD docs for more)
1512 * Moose::Meta::Class
1514 - several tweaks to take advantage of the
1515 new method map caching in Class::MOP
1517 * Moose::Meta::TypeConstraint::Parameterized
1518 - allow subtypes of ArrayRef and HashRef to
1519 be used as a container (sartak)
1520 - added tests for this
1521 - basic support for coercion to ArrayRef and
1522 HashRef for containers (sartak)
1523 - added tests for this
1525 * Moose::Meta::TypeCoercion
1526 - coercions will now create subtypes as needed
1527 so you can now add coercions to parameterized
1528 types without having to explictly define them
1529 - added tests for this
1531 * Moose::Meta::Method::Accessor
1532 - allow subclasses to decide whether we need
1533 to copy the value into a new variable (sartak)
1535 0.32 Tues. Dec. 4, 2007
1536 * Moose::Util::TypeConstraints
1537 - fixing how subtype aliases of unions work
1538 they should inherit the parent's coercion
1539 - added tests for this
1540 - you can now define multiple coercions on
1541 a single type at different times instead of
1542 having to do it all in one place
1543 - added tests for this
1545 * Moose::Meta::TypeConstraint
1546 - there is now a default constraint of sub { 1 }
1547 instead of Moose::Util::TypeConstraints setting
1550 * Moose::Meta::TypeCoercion
1551 * Moose::Meta::TypeCoercion::Union
1552 - added the &has_coercion_for_type and
1553 &add_type_coercions methods to support the
1554 new features above (although you cannot add
1555 more type coercions for Union types)
1557 0.31 Mon. Nov. 26, 2007
1558 * Moose::Meta::Attribute
1559 - made the +attr syntax handle extending types with
1560 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1561 now works if the original foo is an ArrayRef.
1562 - added tests for this.
1563 - delegation now works even if the attribute does not
1564 have a reader method using the get_read_method_ref
1565 method from Class::MOP::Attribute.
1566 - added tests for this
1567 - added docs for this
1569 * Moose::Util::TypeConstraints
1570 - passing no "additional attribute info" to
1571 &find_or_create_type_constraint will no longer
1572 attempt to create an __ANON__ type for you,
1573 instead it will just return undef.
1574 - added docs for this
1576 0.30 Fri. Nov. 23, 2007
1577 * Moose::Meta::Method::Constructor
1578 -builder related bug in inlined constructor. (groditi)
1580 * Moose::Meta::Method::Accessor
1581 - genereate unnecessary calls to predicates and refactor
1582 code generation for runtime speed (groditi)
1584 * Moose::Util::TypeConstraints
1585 - fix ClassName constraint to introspect symbol table (mst)
1586 - added more tests for this (mst)
1587 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1588 with work correctly.
1589 - added tests for this
1592 - adding the link to Recipie 11 (written by Sartak)
1593 - adding test for SYNOPSIS code
1596 - New tests for builder bug. Upon instantiation, if an
1597 attribute had a builder, no value and was not lazy the
1598 builder default was not getting run, oops. (groditi)
1600 0.29 Tues. Nov. 13, 2007
1601 * Moose::Meta::Attribute
1602 - Fix error message on missing builder method (groditi)
1604 * Moose::Meta::Method::Accessor
1605 - Fix error message on missing builder method (groditi)
1608 - Add test to check for the correct error message when
1609 builder method is missing (groditi)
1611 0.28 Tues. Nov. 13, 2007
1612 - 0.27 packaged incorrectly (groditi)
1614 0.27 Tues. Nov. 13, 2007
1615 * Moose::Meta::Attribute
1616 - Added support for the new builder option (groditi)
1617 - Added support for lazy_build option (groditi)
1618 - Changed slot initialization for predicate changes (groditi)
1620 * Moose::Meta::Method::Accessor
1621 - Added support for lazy_build option (groditi)
1622 - Fix inline methods to work with corrected predicate
1625 * Moose::Meta::Method::Constructor
1626 - Added support for lazy_build option (groditi)
1629 - tests for builder and lazy_build (groditi)
1631 * fixing some misc. bits in the docs that
1632 got mentioned on CPAN Forum & perlmonks
1635 - fixed how required methods are handled
1636 when they encounter overriden or modified
1637 methods from a class (thanks to confound).
1638 - added tests for this
1640 * Moose::Util::TypeConstraint
1641 - fixed the type notation parser so that
1642 the | always creates a union and so is
1643 no longer a valid type char (thanks to
1644 konobi, mugwump and #moose for working
1646 - added more tests for this
1648 0.26 Thurs. Sept. 27, 2007
1651 * Parameterized Types
1652 We now support parameterized collection types, such as:
1653 ArrayRef[Int] # array or integers
1654 HashRef[Object] # a hash with object values
1655 They can also be nested:
1656 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1657 And work with the type unions as well:
1658 ArrayRef[Int | Str] # array of integers of strings
1660 * Better Framework Extendability
1661 Moose.pm is now "extendable" such that it is now much
1662 easier to extend the framework and add your own keywords
1663 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1664 section of the Moose.pm docs.
1667 In an effort to begin documenting some of the various
1668 details of Moose as well as some common idioms, we have
1669 created Moose::Cookbook::Snacks as a place to find
1670 small (easily digestable) nuggets of Moose code.
1673 ~ Several doc updates/cleanup thanks to castaway ~
1675 - converted build system to use Module::Install instead of
1676 Module::Build (thanks to jrockway)
1679 - added all the meta classes to the immutable list and
1680 set it to inline the accessors
1681 - fix import to allow Sub::Exporter like { into => }
1682 and { into_level => } (perigrin)
1683 - exposed and documented init_meta() to allow better
1684 embedding and extending of Moose (perigrin)
1687 - complete re-organization of the test suite
1688 - added some new tests as well
1689 - finally re-enabled the Moose::POOP test since
1690 the new version of DBM::Deep now works again
1693 * Moose::Meta::Class
1694 - fixed very odd and very nasty recursion bug with
1696 - added tests for this (eilara)
1698 * Moose::Meta::Attribute
1699 Moose::Meta::Method::Constructor
1700 Moose::Meta::Method::Accessor
1701 - fixed issue with overload::Overloaded getting called
1702 on non-blessed items. (RT #29269)
1703 - added tests for this
1705 * Moose::Meta::Method::Accessor
1706 - fixed issue with generated accessor code making
1707 assumptions about hash based classes (thanks to dexter)
1709 * Moose::Coookbook::Snacks
1710 - these are bits of documentation, not quite as big as
1711 Recipes but which have no clear place in the module docs.
1712 So they are Snacks! (horray for castaway++)
1714 * Moose::Cookbook::Recipe4
1715 - updated it to use the new ArrayRef[MyType] construct
1716 - updated the accompanying test as well
1718 +++ Major Refactor of the Type Constraint system +++
1719 +++ with new features added as well +++
1721 * Moose::Util::TypeConstraint
1722 - no longer uses package variable to keep track of
1723 the type constraints, now uses the an instance of
1724 Moose::Meta::TypeConstraint::Registry to do it
1725 - added more sophisticated type notation parsing
1727 - added tests for this
1729 * Moose::Meta::TypeConstraint
1730 - some minor adjustments to make subclassing easier
1731 - added the package_defined_in attribute so that we
1732 can track where the type constraints are created
1734 * Moose::Meta::TypeConstraint::Union
1735 - this is now been refactored to be a subclass of
1736 Moose::Meta::TypeConstraint
1738 * Moose::Meta::TypeCoercion::Union
1739 - this has been added to service the newly refactored
1740 Moose::Meta::TypeConstraint::Union and is itself
1741 a subclass of Moose::Meta::TypeCoercion
1743 * Moose::Meta::TypeConstraint::Parameterized
1744 - added this module (taken from MooseX::AttributeHelpers)
1745 to help construct nested collection types
1746 - added tests for this
1748 * Moose::Meta::TypeConstraint::Registry
1749 - added this class to keep track of type constraints
1751 0.25 Mon. Aug. 13, 2007
1753 - Documentation update to reference Moose::Util::TypeConstraints
1754 under 'isa' in 'has' for how to define a new type
1755 (thanks to shlomif).
1757 * Moose::Meta::Attribute
1758 - required attributes now will no longer accept undef
1759 from the constructor, even if there is a default and lazy
1760 - added tests for this
1761 - default subroutines must return a value which passes the
1763 - added tests for this
1765 * Moose::Meta::Attribute
1766 * Moose::Meta::Method::Constructor
1767 * Moose::Meta::Method::Accessor
1768 - type-constraint tests now handle overloaded objects correctly
1769 in the error message
1770 - added tests for this (thanks to EvanCarroll)
1772 * Moose::Meta::TypeConstraint::Union
1773 - added (has_)hand_optimized_constraint to this class so that
1774 it behaves as the regular Moose::Meta::TypeConstraint does.
1777 - large refactoring of this code
1778 - added several more tests
1779 - tests for subtle conflict resolition issues
1780 added, but not currently running
1783 * Moose::Cookbook::Recipe7
1784 - added new recipe for augment/inner functionality
1786 - added test for this
1789 - a formal definition of roles (still in progress)
1792 - utilities for easier working with Moose classes
1793 - added tests for these
1796 - This contains Moose specific test functions
1797 - added tests for these
1799 0.24 Tues. July 3, 2007
1800 ~ Some doc updates/cleanup ~
1802 * Moose::Meta::Attribute
1803 - added support for roles to be given as parameters
1804 to the 'handles' option.
1805 - added tests and docs for this
1806 - the has '+foo' attribute form now accepts changes to
1807 the lazy option, and the addition of a handles option
1808 (but not changing the handles option)
1809 - added tests and docs for this
1812 - required methods are now fetched using find_method_by_name
1813 so that required methods can come from superclasses
1814 - adjusted tests for this
1816 0.23 Mon. June 18, 2007
1817 * Moose::Meta::Method::Constructor
1818 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1819 * Moose::Meta::Class
1820 - Modify make_immutable to work with the new Class::MOP immutable
1821 mechanism + POD + very basic test (groditi)
1822 * Moose::Meta::Attribute
1823 - Fix handles to use goto() so that caller() comes out properly on
1824 the other side (perigrin)
1826 0.22 Thurs. May 31, 2007
1827 * Moose::Util::TypeConstraints
1828 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1829 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1830 prototypes for functions
1831 - added the ClassName type constraint, this checks for strings
1832 which will respond true to ->isa(UNIVERSAL).
1833 - added tests and docs for this
1834 - subtyping just in name now works correctly by making the
1835 default for where be { 1 }
1836 - added test for this
1838 * Moose::Meta::Method::Accessor
1839 - coerce and lazy now work together correctly, thanks to
1840 merlyn for finding this bug
1841 - tests added for this
1842 - fix reader presedence bug in Moose::Meta::Attribute + tests
1845 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1846 a HASH-ref and missed. This produces better error messages then
1847 having it die cause undef is not a HASH.
1848 - added tests for this
1850 0.21 Thursday, May 2nd, 2007
1852 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1853 - modified unimport to remove super and inner along with the rest
1854 - altered unimport tests to handle this
1857 - altered super export to populate SUPER_SLOT
1859 * Moose::Meta::Class
1860 - altered augment and override modifier application to use *_SLOT
1861 - modified tests for these to unimport one test class each to test
1864 - fixed issue where custom attribute metaclasses
1865 where not handled correctly in roles
1866 - added tests for this
1868 * Moose::Meta::Class
1869 - fixed issue where extending metaclasses with
1870 roles would blow up. Thanks to Aankhen`` for
1871 finding this insidious error, and it's solution.
1873 ~~ lots of spelling and grammer fixes in the docs,
1874 many many thanks to rlb3 and Aankhen for these :)
1876 0.20 Friday, April 6th, 2007
1877 >> I messed up the SKIP logic in one test
1878 so this release is just to fix that.
1881 - 'has' now also accepts an ARRAY ref
1882 to create multiple attrs (see docs)
1883 (thanks to konobi for this)
1884 - added tests and docs
1886 0.19 Thurs. April 5th, 2007
1887 ~~ More documentation updates ~~
1889 * Moose::Util::TypeConstraints
1890 - 'type' now supports messages as well
1891 thanks to phaylon for finding this
1892 - added tests for this
1893 - added &list_all_type_constraints and
1894 &list_all_builtin_type_constraints
1895 functions to facilitate introspection.
1897 * Moose::Meta::Attribute
1898 - fixed regexp 'handles' declarations
1899 to build the list of delegated methods
1900 correctly (and not override important
1901 things like &new) thanks to ashleyb
1903 - added tests and docs for this
1904 - added the 'documentation' attributes
1905 so that you can actually document your
1906 attributes and inspect them through the
1908 - added tests and docs for this
1910 * Moose::Meta::Class
1911 - when loading custom attribute metaclasses
1912 it will first look in for the class in the
1913 Moose::Meta::Attribute::Custom::$name, and
1914 then default to just loading $name.
1915 - added tests and docs for this
1917 * Moose::Meta::TypeConstraint
1918 - type constraints now stringify to their names.
1919 - added test for this
1922 - added tests to assure we work with Module::Refresh
1923 - added stricter test skip logic in the Moose POOP
1924 test, ask Rob Kinyon why.
1925 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1927 0.18 Sat. March 10, 2007
1928 ~~ Many, many documentation updates ~~
1931 - We now use Class::MOP::load_class to
1933 - added tests to show types and subtypes
1934 working with Declare::Constraints::Simple
1935 and Test::Deep as constraint engines.
1938 !! You must have Class::MOP 0.37_001 !!
1939 !! for this developer release to work !!
1941 This release was primarily adding the immutable
1942 feature to Moose. An immutable class is one which
1943 you promise not to alter. When you set the class
1944 as immutable it will perform various bits of
1945 memoization and inline certain part of the code
1946 (constructors, destructors and accessors). This
1947 minimizes (and in some cases totally eliminates)
1948 one of Moose's biggest performance hits. This
1949 feature is not on by default, and is 100% optional.
1950 It has several configurable bits as well, so you
1951 can pick and choose to your specific needs.
1953 The changes involved in this were fairly wide and
1954 highly specific, but 100% backwards compatible, so
1955 I am not going to enumerate them here. If you are
1956 truely interested in what was changed, please do
1959 0.17 Tues. Nov. 14, 2006
1960 * Moose::Meta::Method::Accessor
1961 - bugfix for read-only accessors which
1962 are have a type constraint and lazy.
1963 Thanks to chansen for finding it.
1965 0.16 Tues. Nov. 14, 2006
1967 There are some speed improvements in this release,
1968 but they are only the begining, so stay tuned.
1971 - BUILDALL and DEMOLISHALL no longer get
1972 called unless they actually need to be.
1973 This gave us a signifigant speed boost
1974 for the cases when there is no BUILD or
1975 DEMOLISH method present.
1977 * Moose::Util::TypeConstraints
1978 * Moose::Meta::TypeConstraint
1979 - added an 'optimize_as' option to the
1980 type constraint, which allows for a
1981 hand optimized version of the type
1982 constraint to be used when possible.
1983 - Any internally created type constraints
1984 now provide an optimized version as well.
1986 0.15 Sun. Nov. 5, 2006
1988 This version of Moose *must* have Class::MOP 0.36 in order
1989 to work correctly. A number of small internal tweaks have
1990 been made in order to be compatible with that release.
1992 * Moose::Util::TypeConstraints
1993 - added &unimport so that you can clean out
1994 your class namespace of these exported
1997 * Moose::Meta::Class
1998 - fixed minor issue which occasionally
1999 comes up during global destruction
2001 - moved Moose::Meta::Method::Overriden into
2005 - moved Moose::Meta::Role::Method into
2008 * Moose::Meta::Attribute
2009 - changed how we do type checks so that
2010 we reduce the overall cost, but still
2013 - moved accessor generation methods to
2014 Moose::Meta::Method::Accessor to
2015 conform to the API changes from
2018 * Moose::Meta::TypeConstraint
2019 - changed how constraints are compiled
2020 so that we do less recursion and more
2021 iteration. This makes the type check
2023 - moved Moose::Meta::TypeConstraint::Union
2026 * Moose::Meta::Method::Accessor
2027 - created this from methods formerly found in
2028 Moose::Meta::Attribute
2030 * Moose::Meta::Role::Method
2031 - moved this from Moose::Meta::Role
2033 * Moose::Meta::Method::Overriden
2034 - moved this from Moose::Meta::Class
2036 * Moose::Meta::TypeConstraint::Union
2037 - moved this from Moose::Meta::TypeConstraint
2039 0.14 Mon. Oct. 9, 2006
2041 * Moose::Meta::Attribute
2042 - fixed lazy attributes which were not getting
2043 checked with the type constraint (thanks ashley)
2044 - added tests for this
2045 - removed the over-enthusiastic DWIMery of the
2046 automatic ArrayRef and HashRef defaults, it
2047 broke predicates in an ugly way.
2048 - removed tests for this
2050 0.13 Sat. Sept. 30, 2006
2052 This version of Moose *must* have Class::MOP 0.35 in order
2053 to work correctly. A number of small internal tweaks have
2054 been made in order to be compatible with that release.
2057 - Removed the use of UNIVERSAL::require to be a better
2058 symbol table citizen and remove a dependency
2059 (thanks Adam Kennedy)
2061 **~~ removed experimental & undocumented feature ~~**
2062 - commented out the 'method' and 'self' keywords, see the
2063 comments for more info.
2066 - added a FAQ and WTF files to document frequently
2067 asked questions and common problems
2069 * Moose::Util::TypeConstraints
2070 - added GlobRef and FileHandle type constraint
2071 - added tests for this
2073 * Moose::Meta::Attribute
2074 - if your attribute 'isa' ArrayRef of HashRef, and you have
2075 not explicitly set a default, then make the default DWIM.
2076 This will also work for subtypes of ArrayRef and HashRef
2078 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2079 - new test added for this (thanks to ashley)
2082 - added basic support for runtime role composition
2083 but this is still *highly experimental*, so feedback
2084 is much appreciated :)
2085 - added tests for this
2087 * Moose::Meta::TypeConstraint
2088 - the type constraint now handles the coercion process
2089 through delegation, this is to support the coercion
2092 * Moose::Meta::TypeConstraint::Union
2093 - it is now possible for coercions to be performed
2095 - added tests for this (thanks to konobi)
2097 * Moose::Meta::TypeCoercion
2098 - properly capturing error when type constraint
2102 - Scalar::Util 1.18 is bad on Win32, so temporarily
2103 only require version 1.17 for Win32 and cygwin.
2104 (thanks Adam Kennedy)
2106 0.12 Sat. Sept. 1, 2006
2108 - Recipe5 (subtypes & coercion) has been written
2111 - fixed "bad meta" error message to be more descriptive
2112 - fixed &unimport to not remove the &inner and &super
2113 keywords because we need to localize them.
2114 - fixed number of spelling/grammer issues, thanks Theory :)
2116 **~~ experimental & undocumented feature ~~**
2117 - added the method and self keywords, they are basically
2118 just sugar, and they may not stay around.
2121 - added &dump method to easily Data::Dumper
2124 * Moose::Meta::TypeConstraint
2125 - added the &is_a_type_of method to check both the current
2126 and the subtype of a method (similar to &isa with classes)
2129 - this is now a subclass of Class::MOP::Module, and no longer
2130 creates the _role_meta ugliness of before.
2131 - fixed tests to reflect this change
2133 0.11 Wed. July 12, 2006
2135 - added an &unimport method to remove all the keywords
2136 that Moose will import, simply add 'no Moose' to the
2137 bottom of your class file.
2140 - fixed some test failures caused by a forgotten test
2143 0.10 Thurs. July 6, 2006
2145 - improved error message when loading modules so
2146 it is less confusing when you load a role.
2147 - added &calculate_all_roles method to
2148 Moose::Meta::Class and Moose::Meta::Role
2151 This module has been tested against Class::MOP 0.30
2152 but it does not yet utilize the optimizations
2153 it makes available. Stay tuned for that ;)
2155 0.09_03 Fri. June 23, 2006
2156 ++ DEVELOPER RELEASE ++
2158 - 'use strict' and 'use warnings' are no longer
2159 needed in Moose classes, Moose itself will
2160 turn them on for you.
2161 - added tests for this
2162 - moved code from exported subs to private methods
2163 in Moose::Meta::Class
2166 - as with Moose, strict and warnings are
2167 automatically turned on for you.
2168 - added tests for this
2171 - now handles an edge case for override errors
2172 - added tests for this
2173 - added some more edge case tests
2175 0.09_02 Tues. May 16, 2006
2176 ++ DEVELOPER RELEASE ++
2178 - added prototypes to the exported subs
2182 - added prototypes to the exported subs
2185 * Moose::Util::TypeConstraints
2186 - cleaned up prototypes for the subs
2189 0.09_01 Fri. May 12, 2006
2190 ++ DEVELOPER RELEASE ++
2191 - This release works in combination with
2192 Class::MOP 0.29_01, it is a developer
2193 release because it uses the a new
2194 instance sub-protocol and a fairly
2195 complete Role implementation. It has
2196 not yet been optimized, so it slower
2197 the the previous CPAN version. This
2198 release also lacks good updated docs,
2199 the official release will have updated docs.
2202 - refactored the keyword exports
2203 - 'with' now checks Role validaity and
2204 accepts more than one Role at a time
2205 - 'extends' makes metaclass adjustments as
2206 needed to ensure metaclass compatibility
2209 - refactored the keyword exports
2210 - 'with' now checks Role validaity and
2211 accepts more than one Role at a time
2213 * Moose::Util::TypeConstraints
2214 - added the 'enum' keyword for simple
2215 string enumerations which can be used as
2217 - see example of usage in t/202_example.t
2220 - more careful checking of params to new()
2223 - much work done on the role composition
2224 - many new tests for conflict detection
2225 and composition edge cases
2226 - not enough documentation, I suggest
2227 looking at the tests
2229 * Moose::Meta::Instance
2230 - added new Instance metaclass to support
2231 the new Class::MOP instance protocol
2233 * Moose::Meta::Class
2234 - some small changes to support the new
2236 - some small additions to support Roles
2238 * Moose::Meta::Attribute
2239 - some improvements to the accessor generation code
2241 - some small changes to support the new
2243 - (still somewhat) experimental delegation support
2244 with the 'handles' option
2245 - added several tests for this
2246 - no docs for this yet
2248 0.05 Thurs. April 27, 2006
2250 - keywords are now exported with Sub::Exporter
2251 thanks to chansen for this commit
2252 - has keyword now takes a 'metaclass' option
2253 to support custom attribute meta-classes
2254 on a per-attribute basis
2255 - added tests for this
2256 - the 'has' keyword not accepts inherited slot
2257 specifications (has '+foo'). This is still an
2258 experimental feature and probably not finished
2259 see t/038_attribute_inherited_slot_specs.t for
2260 more details, or ask about it on #moose
2261 - added tests for this
2264 - keywords are now exported with Sub::Exporter
2266 * Moose::Utils::TypeConstraints
2267 - reorganized the type constraint hierarchy, thanks
2268 to nothingmuch and chansen for his help and advice
2270 - added some tests for this
2271 - keywords are now exported with Sub::Exporter
2272 thanks to chansen for this commit
2274 * Moose::Meta::Class
2275 - due to changes in Class::MOP, we had to change
2276 construct_instance (for the better)
2278 * Moose::Meta::Attribute
2279 - due to changes in Class::MOP, we had to add the
2280 initialize_instance_slot method (it's a good thing)
2282 * Moose::Meta::TypeConstraint
2283 - added type constraint unions
2284 - added tests for this
2285 - added the is_subtype_of predicate method
2286 - added tests for this
2288 0.04 Sun. April 16th, 2006
2290 - Roles can now consume other roles
2291 - added tests for this
2292 - Roles can specify required methods now with
2293 the requires() keyword
2294 - added tests for this
2297 - ripped out much of it's guts ,.. much cleaner now
2298 - added required methods and correct handling of
2299 them in apply() for both classes and roles
2300 - added tests for this
2301 - no longer adds a does() method to consuming classes
2302 it relys on the one in Moose::Object
2303 - added roles attribute and some methods to support
2304 roles consuming roles
2306 * Moose::Meta::Attribute
2307 - added support for triggers on attributes
2308 - added tests for this
2309 - added support for does option on an attribute
2310 - added tests for this
2312 * Moose::Meta::Class
2313 - added support for attribute triggers in the
2315 - added tests for this
2318 - Moose no longer creates a subtype for your class
2319 if a subtype of the same name already exists, this
2320 should DWIM in 99.9999% of all cases
2322 * Moose::Util::TypeConstraints
2323 - fixed bug where incorrect subtype conflicts were
2325 - added test for this
2328 - this class can now be extended with 'use base' if
2329 you need it, it properly loads the metaclass class now
2330 - added test for this
2332 0.03_02 Wed. April 12, 2006
2334 - you must now explictly use Moose::Util::TypeConstraints
2335 it no longer gets exported for you automatically
2338 - new() now accepts hash-refs as well as key/value lists
2339 - added does() method to check for Roles
2340 - added tests for this
2342 * Moose::Meta::Class
2343 - added roles attribute along with the add_role() and
2345 - added tests for this
2348 - now adds a does() method to consuming classes
2349 which tests the class's hierarchy for roles
2350 - added tests for this
2352 0.03_01 Mon. April 10, 2006
2354 - added new Role recipe (no content yet, only code)
2357 - added 'with' keyword for Role support
2358 - added test and docs for this
2359 - fixed subtype quoting bug
2360 - added test for this
2364 - added test and docs
2366 * Moose::Util::TypeConstraints
2367 - added the message keyword to add custom
2368 error messages to type constraints
2371 - the meta role to support Moose::Role
2372 - added tests and docs
2374 * Moose::Meta::Class
2375 - moved a number of things from Moose.pm
2376 to here, they should have been here
2379 * Moose::Meta::Attribute
2380 - moved the attribute option macros here
2381 instead of putting them in Moose.pm
2383 * Moose::Meta::TypeConstraint
2384 - added the message attributes and the
2386 - added tests and docs for this
2388 0.03 Thurs. March 30, 2006
2390 - added the Moose::Cookbook with 5 recipes,
2391 describing all the stuff Moose can do.
2394 - fixed an issue with &extends super class loading
2395 it now captures errors and deals with inline
2396 packages correctly (bug found by mst, solution
2398 - added super/override & inner/augment features
2399 - added tests and docs for these
2402 - BUILDALL now takes a reference of the %params
2403 that are passed to &new, and passes that to
2406 * Moose::Util::TypeConstraints
2407 - Type constraints now survive runtime reloading
2408 - added test for this
2410 * Moose::Meta::Class
2411 - fixed the way attribute defaults are handled
2412 during instance construction (bug found by chansen)
2414 * Moose::Meta::Attribute
2415 - read-only attributes now actually enforce their
2416 read-only-ness (this corrected in Class::MOP as
2419 0.02 Tues. March 21, 2006
2421 - many more tests, fixing some bugs and
2423 - &extends now loads the base module with
2425 - added UNIVERSAL::require to the
2428 - each new Moose class will also create
2429 and register a subtype of Object which
2430 correspond to the new Moose class.
2431 - the 'isa' option in &has now only
2432 accepts strings, and will DWIM in
2435 * Moose::Util::TypeConstraints
2436 - added type coercion features
2437 - added tests for this
2438 - added support for this in attributes
2439 and instance construction
2441 - type construction no longer creates a
2442 function, it registers the type instead.
2443 - added several functions to get the
2447 - BUILDALL and DEMOLISHALL were broken
2448 because of a mis-named hash key, Whoops :)
2450 * Moose::Meta::Attribute
2451 - adding support for coercion in the
2452 autogenerated accessors
2454 * Moose::Meta::Class
2455 - adding support for coercion in the
2456 instance construction
2458 * Moose::Meta::TypeConstraint
2459 * Moose::Meta::TypeCoercion
2460 - type constraints and coercions are now
2461 full fledges meta-objects
2463 0.01 Wed. March 15, 2006
2464 - Moooooooooooooooooose!!!