1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
5 * Moose::Meta::Role::Application::ToClass
6 - Moose now warns about each class overriding methods from roles it
10 - Warnings tests have standardized on Test::Output which is now an
11 unconditionally dependency (Sartak)
13 0.75 Mon, April 20, 2009
16 - Move validation of not inheriting from roles from Moose::extends to
17 Moose::Meta::Class::superclasses (doy)
20 - add ensure_all_roles() function to encapsulate the common "apply this
21 role unless the object already does it" pattern (hdp)
24 - Users can now select a different metaclass with the "-metaclass"
25 option to import, for classes and roles (Sartak)
28 - Make method_metaclass an attr so that it can accept a metarole
31 0.74 Tue, April 7, 2009
33 * Moose::Meta::Method::Destructor
34 - Include stack traces in the deprecation warnings.
38 - Removed the long-deprecated _apply_all_roles method.
40 * Moose::Meta::TypeConstraint
41 - Removed the long-deprecated union method.
44 0.73_02 Mon, April 6, 2009
45 * More deprecations and renamings
46 - Moose::Meta::Method::Constructor
47 - initialize_body => _initialize_body (this is always called
48 when an object is constructed)
51 - The DEMOLISHALL method could throw an exception during global
52 destruction, meaning that your class's DEMOLISH methods would
53 not be properly called. Reported by t0m.
55 * Moose::Meta::Method::Destructor
56 - Destructor inlining was totally broken by the change to the
57 is_needed method in 0.72_01. Now there is a test for this
58 feature, and it works again.
61 - Bold the word 'not' in the POD for find_meta (t0m)
63 0.73_01 Sun, April 5, 2009
65 - Call user_class->meta in fewer places, with the eventual goal
66 of allowing the user to rename or exclude ->meta
67 altogether. Instead uses Class::MOP::class_of. (Sartak)
69 * Moose::Meta::Method::Accessor
70 - If an attribute had a lazy default, and that value did not
71 pass the attribute's type constraint, it did not get the
72 message from the type constraint, instead using a generic
73 message. Test provided by perigrin.
75 * Moose::Util::TypeConstraints
76 - Add duck_type keyword. It's sugar over making sure an object
77 can() a list of methods. This is easier than jrockway's
78 suggestion to fork all of CPAN. (perigrin)
79 - add tests and documentation (perigrin)
82 - Document the fact that init_meta() returns the target class's
83 metaclass object. (hdp)
85 * Moose::Cookbook::Extending::Recipe1
86 * Moose::Cookbook::Extending::Recipe2
87 * Moose::Cookbook::Extending::Recipe3
88 * Moose::Cookbook::Extending::Recipe4
89 - Make init_meta() examples explicitly return the metaclass and
90 point out this fact. (hdp)
92 * Moose::Cookbook::Basics::Recipe12
93 - A new recipe, creating a custom meta-method class.
95 * Moose::Cookbook::Meta::Recipe6
96 - A new recipe, creating a custom meta-method class.
99 * Moose::Meta::Method::Constructor
100 - Attribute triggers no longer receive the meta-attribute object
101 as an argument in any circumstance. Previously, triggers
102 called during instance construction were passed the
103 meta-attribute, but triggers called by normal accessors were
104 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
106 * Moose::Manual::Attributes
107 - Remove references to triggers receving the meta-attribute object as an
110 * Moose::Cookbook::FAQ
111 - Remove recommendation for deprecated Moose::Policy and
112 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
115 * Many methods have been renamed with a leading underscore, and a
116 few have been deprecated entirely. The methods with a leading
117 underscore are consider "internals only". People writing
118 subclasses or extensions to Moose should feel free to override
119 them, but they are not for "public" use.
122 - check_metaclass_compatibility => _check_metaclass_compatibility
124 - Moose::Meta::Method::Accessor
125 - initialize_body => _initialize_body (this is always called
126 when an object is constructed)
127 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
129 - Moose::Meta::Method::Constructor
130 - initialize_body => _initialize_body (this is always called
131 when an object is constructed)
132 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
133 - attributes => _attributes (now inherited from parent)
134 - meta_instance => _meta_instance (now inherited from parent)
137 - alias_method is deprecated. Use add_method
139 0.73 Fri, March 29, 2009
140 * No changes from 0.72_01.
142 0.72_01 Thu, March 26, 2009
144 - Almost every module has complete API documentation. A few
145 methods (and even whole classes) have been intentionally
146 excluded pending some rethinking of their APIs.
148 * Moose::Util::TypeConstraints
149 - Calling subtype with a name as the only argument is now an
150 exception. If you want an anonymous subtype do:
152 my $subtype = subtype as 'Foo';
154 * Moose::Cookbook::Meta::Recipe7
155 - A new recipe, creating a custom meta-instance class.
157 * Moose::Cookbook::Basics::Recipe5
158 - Fix various typos and mistakes. Includes a patch from Radu
161 * Moose::Cookbook::Basics::Recipe9
162 - Link to this recipe from Moose.pm's builder blurb
165 - When wrapping a function with a prototype, Moose::Exporter now
166 makes sure the wrapped function still has the same
167 prototype. (Daisuke Maki)
169 * Moose::Meta::Attribute
170 - Allow a subclass to set lazy_build for an inherited
174 - Explicitly depend on Data::OptList. We already had this dependency
175 via Sub::Exporter, but since we're using it directly we're
176 better off with it listed. (Sartak)
178 * Moose::Meta::Method::Constructor
179 - Make it easier to subclass the inlining behaviour. (Ash
182 * Moose::Manual::Delta
183 - Details significant changes in the history of Moose, along
184 with recommended workarounds.
186 * Moose::Manual::Contributing
187 - Contributor's guide to Moose.
189 * Moose::Meta::Method::Constructor
190 - The long-deprecated intialize_body method has been removed
191 (yes, spelled like that).
193 * Moose::Meta::Method::Destructor
194 - This is_needed method is now always a class method.
197 - Changes to the internals of how make_immutable works to match
198 changes in latest Class::MOP.
200 0.72 Mon, February 23, 2009
202 * Moose::Meta::Method::Constructor
203 - A mutable class accepted Foo->new(undef) without complaint,
204 while an immutable class would blow up with an unhelpful
205 error. Now, in both cases we throw a helpful error
206 instead. Reported by doy.
208 0.71_01 Sun, February 22, 2009
210 - Hopefully fixed some POD errors in a few recipes that caused
211 them to display weird on search.cpan.org.
213 * Moose::Util::TypeConstraints
214 - Calling type or subtype without the sugar helpers (as, where,
215 message) is now deprecated.
216 - The subtype function tried hard to guess what you meant, but
217 often got it wrong. For example:
219 my $subtype = subtype as 'ArrayRef[Object]';
221 This caused an error in the past, but now works as you'd
225 - Make sure Moose.pm is loaded before calling
226 Moose->throw_error. This wasn't normally an issue, but could
227 bite you in weird cases.
229 0.71 Thu, February 19, 2009
230 * Moose::Cookbook::Basics::Recipe11
231 - A new recipe which demonstrates the use of BUILDARGS and
234 * Moose::Cookbook::Roles::Recipe3
235 - A new recipe, applying a role to an object instance. (Dave
239 - Allow overriding specific keywords from "also" packages. (doy)
242 - Replace hardcoded cookbook tests with Test::Inline to ensure
243 the tests match the actual code in the recipes. (Dave Rolsky)
246 - Working on the above turned up a number of little bugs in the
247 recipe code. (Dave Rolsky)
249 * Moose::Util::TypeConstraints::Optimized
250 - Just use Class::MOP for the optimized ClassName check. (Dave
253 0.70 Sat, February 14, 2009
254 * Moose::Util::TypeConstraints
255 - Added the RoleName type (stevan)
256 - added tests for this (stevan)
258 * Moose::Cookbook::Basics::Recipe3
259 - Updated the before qw[left right] sub to be a little more
260 defensive about what it accepts (stevan)
261 - added more tests to t/000_recipies/basics/003_binary_tree.t
265 - We now always call DEMOLISHALL, even if a class does not
266 define DEMOLISH. This makes sure that method modifiers on
267 DEMOLISHALL work as expected. (doy)
268 - added tests for this (EvanCarroll)
270 * Moose::Util::MetaRole
271 - Accept roles for the wrapped_method_metaclass (rafl)
272 - added tests for this (rafl)
274 * Moose::Meta::Attribute
275 - We no longer pass the meta-attribute object as a final
276 argument to triggers. This actually changed for inlined code a
277 while back, but the non-inlined version and the docs were
281 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
282 they require 0.11. (Dave Rolsky)
285 - Lots of small changes to the manual, cookbook, and
286 elsewhere. These were based on feedback from various
287 users, too many to list here. (Dave Rolsky)
289 0.69 Thu, February 12, 2009
291 - Make some keyword errors use throw_error instead of croak
292 since Moose::Exporter wraps keywords now (Sartak)
295 - Revised every recipe for style and clarity. Also moved some
296 documentation out of cookbook recipes and into Moose::Manual
297 pages. This work was funded as part of the Moose docs grant
298 from TPF. (Dave Rolsky)
300 * Moose::Meta::Method::Delegation
301 - If the attribute doing the delegation was not populated, the
302 error message did not specify the attribute name
305 0.68 Wed, February 4, 2009
307 - Many spelling, typo, and formatting fixes by daxim.
309 * Moose::Manual::Attributes
310 - The NAME section in the POD used "Attribute" so search.cpan
311 didn't resolve links from other documents properly.
313 * Moose::Meta::Method::Overriden
314 - Now properly spelled as Overridden. Thanks to daxim for
317 0.67 Tue, February 3, 2009
319 - Lots of little typo fixes and a few clarifications. Several
320 pages didn't have proper titles, and so weren't actually
321 visible on search.cpan.org. Thanks to hanekomu for a variety
322 of fixes and formatting improvements.
324 0.66 Tue, February 3, 2009
326 - This is a brand new, extensive manual for Moose. This aims to
327 provide a complete introduction to all of Moose's
328 features. This work was funded as part of the Moose docs grant
329 from TPF. (Dave Rolsky)
331 * Moose::Meta::Attribute
332 - Added a delegation_metaclass method to replace a hard-coded
333 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
335 * Moose::Util::TypeConstraints
336 - If you created a subtype and passed a parent that Moose didn't
337 know about, it simply ignored the parent. Now it automatically
338 creates the parent as a class type. This may not be what you
339 want, but is less broken than before. (Dave Rolsky)
341 * Moose::Util::TypeConstraints
342 - This module tried throw errors by calling Moose->throw_error,
343 but it did not ensure that Moose was loaded first. This could
344 cause very unhelpful errors when it tried to throw an error
345 before Moose was loaded. (Dave Rolsky)
347 * Moose::Util::TypeConstraints
348 - You could declare a name with subtype such as "Foo!Bar" that
349 would be allowed, but if you used it in a parameterized type
350 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
351 vetting on names created via the sugar functions, so that they
352 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
354 0.65 Thu, January 22, 2008
355 * Moose and Moose::Meta::Method::Overridden
356 - If an overridden method called super(), and then the
357 superclass's method (not overridden) _also_ called super(),
358 Moose went into an endless recursion loop. Test provided by
359 Chris Prather. (Dave Rolsky)
361 * Moose::Meta::TypeConstraint
362 - All methods are now documented. (gphat)
364 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
365 - Fixed some bogus failures that occurred because we tried to
366 validate filesystem paths in a very ad-hoc and
367 not-quite-correct way. (Dave Rolsky)
369 * Moose::Util::TypeConstraints
370 - Added maybe_type to exports. See docs for details. (rjbs)
373 - Added Moose::Util::TypeConstraints to the SEE ALSO
377 - Methods created via an attribute can now fulfill a "requires"
378 declaration for a role. (nothingmuch)
380 * Moose::Meta::Method::*
381 - Stack traces from inlined code will now report its line and
382 file as being in your class, as opposed to in Moose
385 0.64 Wed, December 31, 2008
386 * Moose::Meta::Method::Accessor
387 - Always inline predicate and clearer methods (Sartak)
389 * Moose::Meta::Attribute
390 - Support for parameterized traits (Sartak)
391 - verify_against_type_constraint method to avoid duplication
392 and enhance extensibility (Sartak)
395 - Tests (but no support yet) for parameterized traits (Sartak)
398 - Require Class::MOP 0.75+, which has the side effect of making
399 sure we work on Win32. (Dave Rolsky)
401 0.63 Mon, December 8, 2008
403 - Some small grammar tweaks and bug fixes in non-Moose example
406 0.62_02 Fri, December 5, 2008
407 * Moose::Meta::Role::Application::ToClass
408 - When a class does not provide all of a role's required
409 methods, the error thrown now mentions all of the missing
410 methods, as opposed to just the first one found. Requested by
411 Curtis Poe (RT #41119). (Dave Rolsky)
413 * Moose::Meta::Method::Constructor
414 - Moose will no longer inline a constructor for your class
415 unless it inherits its constructor from Moose::Object, and
416 will warn when it doesn't inline. If you want to force
417 inlining anyway, pass "replace_constructor => 1" to
418 make_immutable. Addresses RT #40968, reported by Jon
419 Swartz. (Dave Rolsky)
420 - The quoting of default values could be broken if the default
421 contained a single quote ('). Now we use quotemeta to escape
422 anything potentially dangerous in the defaults. (Dave Rolsky)
424 0.62_01 Wed, December 3, 2008
426 - use the method->execute API for BUILDALL
427 and DEMOLISHALL (Sartak)
429 * Moose::Util::TypeConstraints
430 - We now make all the type constraint meta classes immutable
431 before creating the default types provided by Moose. This
432 should make loading Moose a little faster. (Dave Rolsky)
434 0.62 Wed November 26, 2008
435 * Moose::Meta::Role::Application::ToClass
436 Moose::Meta::Role::Application::ToRole
437 - fixed issues where excluding and aliasing the
438 same methods for a single role did not work
439 right (worked just fine with multiple
441 - added test for this (stevan)
443 * Moose::Meta::Role::Application::RoleSummation
444 - fixed the error message when trying to compose
445 a role with a role it excludes (Sartak)
448 - Catch another case where recursion caused the value
449 of $CALLER to be stamped on (t0m)
450 - added test for this (t0m)
453 - Remove the make_immutable keyword, which has been
454 deprecated since April. It breaks metaclasses that
455 use Moose without no Moose (Sartak)
457 * Moose::Meta::Attribute
458 - Removing an attribute from a class now also removes delegation
459 (handles) methods installed for that attribute (t0m)
460 - added test for this (t0m)
462 * Moose::Meta::Method::Constructor
463 - An attribute with a default that looked like a number (but was
464 really a string) would accidentally be treated as a number
465 when the constructor was made immutable (perigrin)
466 - added test for this (perigrin)
469 - create method for constructing a role
471 - added test for this (Sartak)
472 - anonymous roles! (Sartak)
473 - added test for this (Sartak)
476 - more consistent error messages (Sartak)
478 * Moose::Cookbook::Roles::Recipe1
479 - attempt to explain why a role that just requires
480 methods is useful (Sartak)
482 0.61 Fri November 7, 2008
483 * Moose::Meta::Attribute
484 - When passing a role to handles, it will be loaded if necessary
488 - Method objects returned by get_method (and other methods)
489 Could end up being returned without an associated_metaclass
490 attribute. Removing get_method_map, which is provided by
491 Class::MOP::Class, fixed this. The Moose version did nothing
492 different from its parent except introduce a bug. (Dave Rolsky)
493 - added tests for this (jdv79)
496 - Added a $VERSION to all .pm files which didn't have one. Fixes
497 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
499 * Moose::Cookbook::Basics::Recipe4
500 * Moose::Cookbook::Basics::Recipe6
501 - These files had spaces on the first line of the SYNOPSIS, as
502 opposed to a totally empty line. According to RT #40432, this
503 confuses POD parsers. (Dave Rolsky)
505 0.60 Fri October 24, 2008
507 - Passing "-traits" when loading Moose caused the Moose.pm
508 exports to be broken. Reported by t0m. (Dave Rolsky)
509 - Tests for this bug. (t0m)
512 - Change resolve_metaclass alias to use the new
513 load_first_existing_class function. This makes it a lot
514 simpler, and also around 5 times faster. (t0m)
515 - Add caching to resolve_metaclass_alias, which gives an order
516 of magnitude speedup to things which repeatedly call the
517 Moose::Meta::Attribute->does method, notably MooseX::Storage
520 * Moose::Util::TypeConstraint
521 - Put back the changes for parameterized constraints that
522 shouldn't have been removed in 0.59. We still cannot parse
523 them, but MooseX modules can create them in some other
524 way. See the 0.58 changes for more details. (jnapiorkowski)
525 - Changed the way subtypes are created so that the job is
526 delegated to a type constraint parent. This clears up some
527 hardcoded checking and should allow correct subtypes of
528 Moose::Meta::Type::Constraint. Don't rely on this new API too
529 much (create_child_type) because it may go away in the
530 future. (jnapiorkowski)
532 * Moose::Meta::TypeConstraint::Union
533 - Type constraint names are sorted as strings, not numbers.
536 * Moose::Meta::TypeConstraint::Parameterizable
537 - New parameterize method. This can be used as a factory method
538 to make a new type constraint with a given parameterized
539 type. (jnapiorkowski)
540 - added tests (jnapiorkowski)
542 0.59 Tue October 14, 2008
544 - Add abridged documentation for builder/default/initializer/
545 predicate, and link to more details sections in
546 Class::MOP::Attribute. (t0m)
548 * Moose::Util::TypeConstraints
549 - removed prototypes from all but the &-based stuff (mst)
551 * Moose::Util::TypeConstraints
552 - Creating a anonymous subtype with both a constraint and a
553 message failed with a very unhelpful error, but should just
554 work. Reported by t0m. (Dave Rolsky)
557 - Some tests that used Test::Warn if it was available failed
558 with older versions of Test::Warn. Reported by Fayland. (Dave
560 - Test firing behavior of triggers in relation to builder/default/
562 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
563 kinds of supported type. (t0m)
566 - In create(), do not pass "roles" option to the superclass
567 - added related test that creates an anon metaclass with
570 * Moose::Meta::TypeConstraint::Class
571 * Moose::Meta::TypeConstraint::Role
572 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
573 other types (as per change in 0.55_02). (t0m)
575 * Moose::Meta::TypeConstraint::Registry
576 - Fix warning when dealing with unknown type names (t0m)
578 * Moose::Util::TypeConstraints
579 - Reverted changes from 0.58 related to handle parameterized
580 types. This caused random failures on BSD and Win32 systems,
581 apparently related to the regex engine. This means that Moose
582 can no longer parse structured type constraints like
583 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
584 supported in a slightly different way via MooseX::Types some
585 time in the future. (Dave Rolsky)
587 0.58 Sat September 20, 2008
588 !! This release has an incompatible change regarding !!
589 !! how roles add methods to a class !!
591 * Roles and role application
592 ! Roles now add methods by calling add_method, not
593 alias_method. They make sure to always provide a method
594 object, which will be cloned internally. This means that it is
595 now possible to track the source of a method provided by a
596 role, and even follow its history through intermediate roles.
598 This means that methods added by a role now show up when
599 looking at a class's method list/map. (Dave Rolsky)
602 - From this release on, we'll try to maintain a list of
603 conflicting modules, and warn you if you have one
604 installed. For example, this release conflicts with ...
605 - MooseX::Singleton <= 0.11
606 - MooseX::Params::Validate <= 0.05
609 In general, we try to not break backwards compatibility for
610 most Moose users, but MooseX modules and other code which
611 extends Moose's metaclasses is often affected by very small
612 changes in the Moose internals.
614 * Moose::Meta::Method::Delegation
615 * Moose::Meta::Attribute
616 - Delegation methods now have their own method class. (Dave
619 * Moose::Meta::TypeConstraint::Parameterizable
620 - Added a new method 'parameterize' which is basically a factory
621 for the containing constraint. This makes it easier to create
622 new types of parameterized constraints. (jnapiorkowski)
624 * Moose::Meta::TypeConstraint::Union
625 - Changed the way Union types canonicalize their names to follow
626 the normalized TC naming rules, which means we strip all
627 whitespace. (jnapiorkowski)
629 * Moose::Util::TypeConstraints
630 - Parameter and Union args are now sorted, this makes Int|Str
631 the same constraint as Str|Int. (jnapiorkowski)
632 - Changes to the way Union types are parsed to more correctly
633 stringify their names. (jnapiorkowski)
634 - When creating a parameterized type, we now use the new
635 parameterize method. (jnapiorkowski)
636 - Incoming type constraint strings are now normalized to remove
637 all whitespace differences. (jnapiorkowski)
638 - Changed the way we parse type constraint strings so that we now
639 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
640 constraints. This lays the foundation for more flexible type
641 constraint implementations.
643 * Tests and docs for all the above. (jnapiorkowski)
647 - Moose::Exporter will no longer remove a subroutine that the
648 exporting package re-exports. Moose re-exports the
649 Carp::confess function, among others. The reasoning is that we
650 cannot know whether you have also explicitly imported those
651 functions for your own use, so we err on the safe side and
652 always keep them. (Dave Rolsky)
653 - added tests for this (rafl)
656 - Changes to how we fix metaclass compatibility that are much
657 too complicated to go into. The summary is that Moose is much
658 less likely to complain about metaclass incompatibility
659 now. In particular, if two metaclasses differ because
660 Moose::Util::MetaRole was used on the two corresponding
661 classes, then the difference in roles is reconciled for the
662 subclass's metaclass. (Dave Rolsky)
663 - Squashed an warning in _process_attribute (thepler)
666 - throw exceptions (sooner) for invalid attribute names (thepler)
667 - added tests for this (thepler)
669 * Moose::Util::MetaRole
670 - If you explicitly set a constructor or destructor class for a
671 metaclass object, and then applied roles to the metaclass,
672 that explicitly set class would be lost and replaced with the
676 * Moose::Meta::Attribute
677 * Moose::Meta::Method
680 * Moose::Error::Default
681 * Moose::Error::Croak
682 * Moose::Error::Confess
683 - All instances of confess() changed to use overridable
684 C<throw_error> method. This method ultimately calls a class
685 constructor, and you can change the class being called. In
686 addition, errors now pass more information than just a string.
687 The default C<error_class> behaves like C<Carp::confess>, so
688 the behavior is not visibly different for end users.
690 0.57 Wed September 3, 2008
692 - A new bit of doc intended to introduce folks familiar with
693 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
696 - Shows examples of two classes, each done first with and then
697 without Moose. This makes a nice parallel to
698 Moose::Intro. (Dave Rolsky)
700 * Moose::Util::TypeConstraints
701 - Fixed a bug in find_or_parse_type_constraint so that it
702 accepts a Moose::Meta::TypeConstraint object as the parent
703 type, not just a name (jnapiorkowski)
704 - added tests (jnapiorkowski)
707 - If Sub::Name was not present, unimporting failed to actually
708 remove some sugar subs, causing test failures (Dave Rolsky)
710 0.56 Mon September 1, 2008
711 For those not following the series of dev releases, there are
712 several major changes in this release of Moose.
713 ! Moose::init_meta should now be called as a method. See the
716 - Major performance improvements by nothingmuch.
718 - New modules for extension writers, Moose::Exporter and
719 Moose::Util::MetaRole by Dave Rolsky.
721 - Lots of doc improvements and additions, especially in the
726 * Removed all references to the experimental-but-no-longer-needed
727 Moose::Meta::Role::Application::ToMetaclassInstance.
729 * Require Class::MOP 0.65.
731 0.55_04 Sat August 30, 2008
732 * Moose::Util::MetaRole
733 * Moose::Cookbook::Extending::Recipe2
734 - This simplifies the application of roles to any meta class, as
735 well as the base object class. Reimplemented metaclass traits
736 using this module. (Dave Rolsky)
738 * Moose::Cookbook::Extending::Recipe1
739 - This a new recipe, an overview of various ways to write Moose
740 extensions (Dave Rolsky)
742 * Moose::Cookbook::Extending::Recipe3
743 * Moose::Cookbook::Extending::Recipe4
744 - These used to be Extending::Recipe1 and Extending::Recipe2,
747 0.55_03 Fri August 29, 2008
748 * No changes from 0.55_02 except increasing the Class::MOP
749 dependency to 0.64_07.
751 0.55_02 Fri August 29, 2008
752 * Makefile.PL and Moose.pm
753 - explicitly require Perl 5.8.0+ (Dave Rolsky)
755 * Moose::Util::TypeConstraints
756 - Fix warnings from find_type_constraint if the type is not
759 * Moose::Meta::TypeConstraint
760 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
761 return false if the type you specify cannot be found in the
762 type registry, rather than throwing an unhelpful and
763 coincidental exception. (t0m).
764 - added docs & test for this (t0m)
766 * Moose::Meta::TypeConstraint::Registry
767 - add_type_constraint now throws an exception if a parameter is
769 - added docs & test for this (t0m)
771 * Moose::Cookbook::FAQ
772 - Added a faq entry on the difference between "role" and "trait"
776 - Fixed a bug that caused role composition to not see a required
777 method when that method was provided by another role being
778 composed at the same time. (Dave Rolsky)
779 - test and bug finding (tokuhirom)
781 0.55_01 Wed August 20, 2008
783 !! Calling Moose::init_meta as a function is now !!
784 !! deprecated. Please see the Moose.pm docs for details. !!
786 * Moose::Meta::Method::Constructor
787 - Fix inlined constructor so that values produced by default
788 or builder methods are coerced as required. (t0m)
789 - added test for this (t0m)
791 * Moose::Meta::Attribute
792 - A lazy attribute with a default or builder did not attempt to
793 coerce the default value. The immutable code _did_
795 - added test for this (t0m)
798 - This is a new helper module for writing "Moose-alike"
799 modules. This should make the lives of MooseX module authors
800 much easier. (Dave Rolsky)
803 * Moose::Cookbook::Meta::Recipe5
804 - Implemented metaclass traits (and wrote a recipe for it):
806 use Moose -traits => 'Foo'
808 This should make writing small Moose extensions a little
811 * Moose::Cookbook::Basics::Recipe1
812 - Removed any examples of direct hashref access, and applied an
813 editorial axe to reduce verbosity. (Dave Rolsky)
815 * Moose::Cookbook::Basics::Recipe1
816 - Also applied an editorial axe here. (Dave Rolsky)
819 * Moose::Cookbook::Extending::Recipe1
820 * Moose::Cookbook::Extending::Recipe2
821 - Rewrote extending and embedding moose documentation and
822 recipes to use Moose::Exporter (Dave Rolsky)
826 - These two modules now warn when you load them from the main
827 package "main" package, because we will not export sugar to
828 main. Previously it just did nothing. (Dave Rolsky)
831 - Now provide an init_meta method just like Moose.pm, and you
832 can call this to provide an alternate role metaclass. (Dave
833 Rolsky and nothingmuch)
834 - get_method_map now respects the package cache flag (nothingmuch)
837 - Two new methods - add_method and wrap_method_body
841 - Optimizations including allowing constructors to accept hash
842 refs, making many more classes immutable, and making
843 constructors immutable. (nothingmuch)
845 0.55 Sun August 3, 2008
846 * Moose::Meta::Attribute
847 - breaking down the way 'handles' methods are
848 created so that the process can be more easily
849 overridden by subclasses (stevan)
851 * Moose::Meta::TypeConstraint
852 - fixing what is passed into a ->message with
853 the type constraints (RT #37569)
854 - added tests for this (Charles Alderman)
856 * Moose::Util::TypeConstraints
857 - fix coerce to accept anon types like subtype can (mst)
860 - reorganized the recipes into sections - Basics, Roles, Meta,
861 Extending - and wrote abstracts for each section (Dave Rolsky)
863 * Moose::Cookbook::Basics::Recipe10
864 - A new recipe that demonstrates operator overloading
865 in combination with Moose. (bluefeet)
867 * Moose::Cookbook::Meta::Recipe1
868 - an introduction to what meta is and why you'd want to make
869 your own metaclass extensions (Dave Rolsky)
871 * Moose::Cookbook::Meta::Recipe4
872 - a very simple metaclass example (Dave Rolsky)
874 * Moose::Cookbook::Extending::Recipe1
875 - how to write a Moose-alike module to use your own object base
878 * Moose::Cookbook::Extending::Recipe2
879 - how to write modules with an API just like C<Moose.pm> (Dave
883 - Tons of fixes, both syntactical and grammatical (Dave
884 Rolsky, Paul Fenwick)
886 0.54 Thurs. July 3, 2008
887 ... this is not my day today ...
889 * Moose::Meta::Attribute
890 - fixed legal_options_for_inheritance such that
891 clone_and_inherit options still works for
892 Class::MOP::Attribute objects and therefore
893 does not break MooseX::AttributeHelpers
896 0.53 Thurs. July 3, 2008
897 * Whoops, I guess I should run 'make manifest' before
898 actually releasing the module. No actual changes
899 in this release, except the fact that it includes
900 the changes that I didn't include in the last
903 0.52 Thurs. July 3, 2008
905 - added "FEATURE REQUESTS" section to the Moose docs
906 to properly direct people (stevan) (RT #34333)
907 - making 'extends' croak if it is passed a Role since
908 this is not ever something you want to do
909 (fixed by stevan, found by obra)
910 - added tests for this (stevan)
913 - adding support for DOES (as in UNIVERSAL::DOES)
915 - added test for this
917 * Moose::Meta::Attribute
918 - added legal_options_for_inheritance (wreis)
919 - added tests for this (wreis)
921 * Moose::Cookbook::Snacks::*
922 - removed some of the unfinished snacks that should
923 not have been released yet. Added some more examples
924 to the 'Keywords' snack. (stevan)
926 * Moose::Cookbook::Style
927 - added general Moose "style guide" of sorts to the
928 cookbook (nothingmuch) (RT #34335)
931 - added more BUILDARGS tests (stevan)
933 0.51 Thurs. Jun 26, 2008
935 - add unimport so "no Moose::Role" actually does
938 * Moose::Meta::Role::Application::ToRole
939 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
940 order to provide its own implementation, that method still got
941 added to the list of required methods for consumers of
942 RoleB. Now an aliased method is only added to the list of
943 required methods if the role doing the aliasing does not
944 provide its own implementation. See Recipe 11 for an example
945 of all this. (Dave Rolsky)
946 - added tests for this
948 * Moose::Meta::Method::Constructor
949 - when a single argument that wasn't a hashref was provided to
950 an immutabilized constructor, the error message was very
951 unhelpful, as opposed to the non-immutable error. Reported by
953 - added test for this (Dave Rolsky)
955 * Moose::Meta::Attribute
956 - added support for meta_attr->does("ShortAlias") (sartak)
957 - added tests for this (sartak)
958 - moved the bulk of the `handles` handling to the new
959 install_delegation method (Stevan)
962 - Added BUILDARGS, a new step in new()
964 * Moose::Meta::Role::Application::RoleSummation
965 - fix typos no one ever sees (sartak)
967 * Moose::Util::TypeConstraints
968 * Moose::Meta::TypeConstraint
969 * Moose::Meta::TypeCoercion
970 - Attempt to work around the ??{ } vs. threads issue
972 - Some null_constraint optimizations
974 0.50 Thurs. Jun 11, 2008
975 - Fixed a version number issue by bumping all modules
978 0.49 Thurs. Jun 11, 2008
979 !! This version now approx. 20-25% !!
980 !! faster with new Class::MOP 0.59 !!
982 * Moose::Meta::Attribute
983 - fixed how the is => (ro|rw) works with
984 custom defined reader, writer and accessor
986 - added docs for this (TODO).
987 - added tests for this (Thanks to Penfold)
988 - added the custom attribute alias for regular
989 Moose attributes which is "Moose"
990 - fix builder and default both being used
995 Moose::Meta::Attribute
997 Moose::Meta::Role::Composite
998 Moose::Util::TypeConstraints
999 - switched usage of reftype to ref because
1003 - changing add_package_symbol to use the new
1007 - fixed how DEMOLISHALL is called so that it
1008 can be overrided in subclasses (thanks to Sartak)
1009 - added test for this (thanks to Sartak)
1011 * Moose::Util::TypeConstraints
1012 - move the ClassName type check code to
1013 Class::MOP::is_class_loaded (thanks to Sartak)
1015 * Moose::Cookbook::Recipe11
1016 - add tests for this (thanks to tokuhirom)
1018 0.48 Thurs. May 29, 2008
1019 (early morning release engineering)--
1021 - fixing the version in Moose::Meta::Method::Destructor
1022 which was causing the indexer to choke
1024 0.47 Thurs. May 29, 2008
1025 (late night release engineering)--
1027 - fixing the version is META.yml, no functional
1028 changes in this release
1030 0.46 Wed. May 28, 2008
1031 !! This version now approx. 20-25% !!
1032 !! faster with new Class::MOP 0.57 !!
1034 * Moose::Meta::Class
1035 - some optimizations of the &initialize method
1036 since it is called so often by &meta
1038 * Moose::Meta::Class
1040 - now use the get_all_package_symbols from the
1041 updated Class::MOP, test suite is now 10 seconds
1044 * Moose::Meta::Method::Destructor
1045 - is_needed can now also be called as a class
1046 method for immutablization to check if the
1047 destructor object even needs to be created
1050 * Moose::Meta::Method::Destructor
1051 Moose::Meta::Method::Constructor
1052 - added more descriptive error message to help
1053 keep people from wasting time tracking an error
1054 that is easily fixed by upgrading.
1056 0.45 Saturday, May 24, 2008
1058 - Because of work in Class::MOP 0.57, all
1059 XS based functionality is now optional
1060 and a Pure Perl version is supplied
1061 - the CLASS_MOP_NO_XS environment variable
1062 can now be used to force non-XS versions
1064 - several of the packages have been tweaked
1065 to take care of this, mostly we added
1066 support for the package_name and name
1067 variables in all the Method metaclasses
1068 - before/around/after method modifiers now
1069 support regexp matching of names
1070 (thanks to Takatoshi Kitano)
1071 - tests added for this
1072 - NOTE: this only works for classes, it
1073 is currently not supported in roles,
1074 but, ... patches welcome
1075 - All usage of Carp::confess have been replaced
1076 by Carp::croak in the "keyword" functions since
1077 the stack trace is usually not helpful
1080 - All usage of Carp::confess have been replaced
1081 by Carp::croak in the "keyword" functions since
1082 the stack trace is usually not helpful
1083 - The 'has' keyword for roles now accepts the
1084 same array ref form that Moose.pm does
1085 (has [qw/foo bar/] => (is => 'rw', ...))
1086 - added test for this
1088 * Moose::Meta::Attribute
1089 - trigger on a ro-attribute is no longer an
1090 error, as it's useful to trigger off of the
1093 * Moose::Meta::Class
1094 - added same 'add_package_symbol' fix as in
1098 - does_role now handles non-Moose classes
1100 - added tests for this
1101 - added the 'add_method_modifier' function
1102 (thanks to Takatoshi Kitano)
1104 * Moose::Util::TypeConstraints
1105 - subtypes of parameterizable types now are
1106 themselves parameterizable types
1108 * Moose::Meta::Method::Constructor
1109 - fixed bug where trigger was not being
1110 called by the inlined immutable
1112 - added test for this (thanks to Caelum)
1114 * Moose::Meta::Role::Application::ToInstance
1115 - now uses the metaclass of the instance
1116 (if possible) to create the anon-class
1117 (thanks Jonathan Rockway)
1119 * Moose::Cookbook::Recipe22
1120 - added the meta-attribute trait recipe
1124 - fixed hash-ordering test bug that was
1125 causing occasional cpantester failures
1126 - renamed the t/000_recipe/*.t tests to be
1127 more descriptive (thanks to Sartak)
1129 0.44 Sat. May 10, 2008
1131 - made make_immutable warning cluck to
1132 show where the error is (thanks mst)
1135 - BUILDALL and DEMOLISHALL now call
1136 ->body when looping through the
1137 methods, to avoid the overloaded
1139 - fixed issue where DEMOLISHALL was
1140 eating the $@ values, and so not
1141 working correctly, it still kind of
1142 eats them, but so does vanilla perl
1143 - added tests for this
1145 * Moose::Cookbook::Recipe7
1146 - added new recipe for immutable
1147 functionality (thanks Dave Rolsky)
1149 * Moose::Cookbook::Recipe9
1150 - added new recipe for builder and
1151 lazy_build (thanks Dave Rolsky)
1153 * Moose::Cookbook::Recipe11
1154 - added new recipe for method aliasing
1155 and exclusion with Roles (thanks Dave Rolsky)
1158 - fixed Win32 test failure (thanks spicyjack)
1160 ~ removed Build.PL and Module::Build compat
1161 since Module::Install has done that.
1163 0.43 Wed. April, 30, 2008
1165 drink more coffee before
1166 doing release engineering
1168 - whoops, forgot to do the smolder tests,
1169 and we broke some of the custom meta-attr
1170 modules. This fixes that.
1172 0.42 Mon. April 28, 2008
1173 - some bad tests slipped by, nothing else
1174 changed in this release (cpantesters++)
1176 - upped the Class::MOP dependency to 0.55
1177 since we have tests which need the C3
1180 0.41 Mon. April 28, 2008
1181 ~~ numerous documentation updates ~~
1183 - Changed all usage of die to Carp::croak for better
1184 error reporting (initial patch by Tod Hagan)
1186 ** IMPORTANT NOTE **
1187 - the make_immutable keyword is now deprecated, don't
1188 use it in any new code and please fix your old code
1189 as well. There will be 2 releases, and then it will
1195 - refactored the way inner and super work to avoid
1196 any method/@ISA cache penalty (nothingmuch)
1198 * Moose::Meta::Class
1199 - fixing &new_object to make sure trigger gets the
1200 coerced value (spotted by Charles Alderman on the
1202 - added test for this
1204 * Moose::Meta::Method::Constructor
1205 - immutable classes which had non-lazy attributes were calling
1206 the default generating sub twice in the constructor. (bug
1207 found by Jesse Luehrs, fixed by Dave Rolsky)
1208 - added tests for this (Dave Rolsky)
1209 - fix typo in initialize_body method (nothingmuch)
1211 * Moose::Meta::Method::Destructor
1212 - fix typo in initialize_body method (nothingmuch)
1214 * Moose::Meta::Method::Overriden
1215 Moose::Meta::Method::Augmented
1216 - moved the logic for these into their own
1217 classes (nothingmuch)
1219 * Moose::Meta::Attribute
1220 - inherited attributes may now be extended without
1221 restriction on the type ('isa', 'does') (Sartak)
1222 - added tests for this (Sartak)
1223 - when an attribute property is malformed (such as lazy without
1224 a default), give the name of the attribute in the error
1226 - added the &applied_traits and &has_applied_traits methods
1227 to allow introspection of traits
1228 - added tests for this
1229 - moved 'trait' and 'metaclass' argument handling to here from
1231 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1232 '+foo' syntax) (nothingmuch)
1233 - added tests for this (t0m)
1236 - localize $@ inside DEMOLISHALL to avoid it
1237 eating $@ (found by Ernesto)
1238 - added test for this (thanks to Ernesto)
1240 * Moose::Util::TypeConstraints
1241 - &find_type_constraint now DWIMs when given an
1242 type constraint object or name (nothingmuch)
1243 - &find_or_create_type_constraint superseded with a number of more
1245 - find_or_create_{isa,does}_type_constraint
1246 - find_or_parse_type_constraint
1248 * Moose::Meta::TypeConstraint
1249 Moose::Meta::TypeConstraint::Class
1250 Moose::Meta::TypeConstraint::Role
1251 Moose::Meta::TypeConstraint::Enum
1252 Moose::Meta::TypeConstraint::Union
1253 Moose::Meta::TypeConstraint::Parameterized
1254 - added the &equals method for comparing two type
1255 constraints (nothingmuch)
1256 - added tests for this (nothingmuch)
1258 * Moose::Meta::TypeConstraint
1259 - add the &parents method, which is just an alias to &parent.
1260 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1262 * Moose::Meta::TypeConstraint::Class
1263 - added the class attribute for introspection purposes
1265 - added tests for this
1267 * Moose::Meta::TypeConstraint::Enum
1268 Moose::Meta::TypeConstraint::Role
1269 - broke these out into their own classes (nothingmuch)
1271 * Moose::Cookbook::Recipe*
1272 - fixed references to test file locations in the POD
1273 and updated up some text for new Moose features
1277 - Added &resolve_metaclass_alias, a helper function for finding an actual
1278 class for a short name (e.g. in the traits list)
1280 0.40 Fri. March 14, 2008
1281 - I hate Pod::Coverage
1283 0.39 Fri. March 14, 2008
1285 - documenting the use of '+name' with attributes
1286 that come from recently composed roles. It makes
1287 sense, people are using it, and so why not just
1288 officially support it.
1289 - fixing the 'extends' keyword so that it will not
1290 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1293 - added the perl -Moose=+Class::Name feature to allow
1294 monkeypatching of classes in one liners
1297 - fixing the 'apply_all_roles' keyword so that it will not
1298 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1300 * Moose::Meta::Class
1301 - added ->create method which now supports roles (thanks to jrockway)
1302 - added tests for this
1303 - added ->create_anon_class which now supports roles and caching of
1304 the results (thanks to jrockway)
1305 - added tests for this
1306 - made ->does_role a little more forgiving when it is
1307 checking a Class::MOP era metaclasses.
1309 * Moose::Meta::Role::Application::ToInstance
1310 - it is now possible to pass extra params to be used when
1311 a role is applied to an the instance (rebless_params)
1312 - added tests for this
1314 * Moose::Util::TypeConstraints
1315 - class_type now accepts an optional second argument for a
1316 custom message. POD anotated accordingly (groditi)
1317 - added tests for this
1318 - it is now possible to make anon-enums by passing 'enum' an
1319 ARRAY ref instead of the $name => @values. Everything else
1321 - added tests for this
1324 - making test for using '+name' on attributes consumed
1325 from a role, it works and makes sense too.
1327 * Moose::Meta::Attribute
1328 - fix handles so that it doesn't return nothing
1329 when the method cannot be found, not sure why
1330 it ever did this originally, this means we now
1331 have slightly better support for AUTOLOADed
1333 - added more delegation tests
1334 - adding ->does method to this so as to better
1335 support traits and their introspection.
1336 - added tests for this
1339 - localizing the Data::Dumper configurations so
1340 that it does not pollute others (RT #33509)
1341 - made ->does a little more forgiving when it is
1342 passed Class::MOP era metaclasses.
1344 0.38 Fri. Feb. 15, 2008
1345 * Moose::Meta::Attribute
1346 - fixed initializer to correctly do
1347 type checking and coercion in the
1349 - added tests for this
1352 - fixed some finicky tests (thanks to konobi)
1354 0.37 Thurs. Feb. 14, 2008
1356 - fixed some details in Moose::init_meta
1357 and its superclass handling (thanks thepler)
1358 - added tests for this (thanks thepler)
1359 - 'has' now dies if you don't pass in name
1361 - added the 'make_immutable' keyword as a shortcut
1364 * Moose::Meta::Class
1365 Moose::Meta::Method::Constructor
1366 Moose::Meta::Attribute
1367 - making (init_arg => undef) work here too
1368 (thanks to nothingmuch)
1370 * Moose::Meta::Attribute
1371 Moose::Meta::Method::Constructor
1372 Moose::Meta::Method::Accessor
1373 - make lazy attributes respect attr initializers (rjbs)
1374 - added tests for this
1376 * Moose::Util::TypeConstraints
1377 Moose::Util::TypeConstraints::OptimizedConstraints
1378 Moose::Meta::TypeConstraints
1379 Moose::Meta::Attribute
1380 Moose::Meta::Method::Constructor
1381 Moose::Meta::Method::Accessor
1382 - making type errors use the
1383 assigned message (thanks to Sartak)
1384 - added tests for this
1386 * Moose::Meta::Method::Destructor
1387 - making sure DESTROY gets inlined properly
1388 with successive DEMOLISH calls (thanks to manito)
1390 * Moose::Meta::Attribute
1391 Moose::Meta::Method::Accessor
1392 - fixed handling of undef with type constraints
1394 - added tests for this
1397 - added &get_all_init_args and &get_all_attribute_values
1398 (thanks to Sartak and nothingmuch)
1400 0.36 Sat. Jan. 26, 2008
1402 Moose::Meta::Attribute
1403 - role type tests now support when roles are
1404 applied to non-Moose classes (found by ash)
1405 - added tests for this (thanks to ash)
1406 - couple extra tests to boost code coverage
1408 * Moose::Meta::Method::Constructor
1409 - improved fix for handling Class::MOP attributes
1410 - added test for this
1412 * Moose::Meta::Class
1413 - handled the add_attribute($attribute_meta_object)
1415 - added test for this
1417 0.35 Tues. Jan. 22, 2008
1418 * Moose::Meta::Method::Constructor
1419 - fix to make sure even Class::MOP attributes
1420 are handled correctly (Thanks to Dave Rolsky)
1421 - added test for this (also Dave Rolsky)
1423 * Moose::Meta::Class
1424 - improved error message on _apply_all_roles,
1425 you should now use Moose::Util::apply_all_roles
1426 and you shouldnt have been using a _ prefixed
1427 method in the first place ;)
1429 0.34 Mon. Jan. 21, 2008
1430 ~~~ more misc. doc. fixes ~~~
1431 ~~ updated copyright dates ~~
1433 Moose is now a postmodern object system :)
1434 - (see the POD for details)
1436 * <<Role System Refactoring>>
1437 - this release contains a major reworking and
1438 cleanup of the role system
1439 - 100% backwards compat.
1440 - Role application now restructured into seperate
1441 classes based on type of applicants
1442 - Role summation (combining of more than one role)
1443 is much cleaner and anon-classes are no longer
1444 used in this process
1445 - new Composite role metaclass
1446 - runtime application of roles to instances
1447 is now more efficient and re-uses generated
1448 classes when applicable
1450 * <<New Role composition features>>
1451 - methods can now be excluded from a given role
1453 - methods can now be aliased to another name (and
1454 still retain the original as well)
1456 * Moose::Util::TypeConstraints::OptimizedConstraints
1457 - added this module (see above)
1459 * Moose::Meta::Class
1460 - fixed the &_process_attribute method to be called
1461 by &add_attribute, so that the API is now correct
1463 * Moose::Meta::Method::Accessor
1464 - fixed bug when passing a list of values to
1465 an accessor would get (incorrectly) ignored.
1466 Thanks to Sartak for finding this ;)
1467 - added tests for this (Sartak again)
1469 * Moose::Meta::Method::Accessor
1470 Moose::Meta::Method::Constructor
1471 Moose::Meta::Attribute
1472 Moose::Meta::TypeConstraint
1473 Moose::Meta::TypeCoercion
1474 - lots of cleanup of such things as:
1476 - type constraint handling
1477 - error handling/messages
1478 (thanks to nothingmuch)
1480 * Moose::Meta::TypeConstraint::Parameterizable
1481 - added this module to support the refactor
1482 in Moose::Meta::TypeConstraint::Parameterized
1484 * Moose::Meta::TypeConstraint::Parameterized
1485 - refactored how these types are handled so they
1486 are more generic and not confined to ArrayRef
1490 - shortened some file names for better VMS support (RT #32381)
1492 0.33 Fri. Dec. 14, 2007
1493 !! Moose now loads 2 x faster !!
1494 !! with new Class::MOP 0.49 !!
1496 ++ new oose.pm module to make command line
1497 Moose-ness easier (see POD docs for more)
1499 * Moose::Meta::Class
1501 - several tweaks to take advantage of the
1502 new method map caching in Class::MOP
1504 * Moose::Meta::TypeConstraint::Parameterized
1505 - allow subtypes of ArrayRef and HashRef to
1506 be used as a container (sartak)
1507 - added tests for this
1508 - basic support for coercion to ArrayRef and
1509 HashRef for containers (sartak)
1510 - added tests for this
1512 * Moose::Meta::TypeCoercion
1513 - coercions will now create subtypes as needed
1514 so you can now add coercions to parameterized
1515 types without having to explictly define them
1516 - added tests for this
1518 * Moose::Meta::Method::Accessor
1519 - allow subclasses to decide whether we need
1520 to copy the value into a new variable (sartak)
1522 0.32 Tues. Dec. 4, 2007
1523 * Moose::Util::TypeConstraints
1524 - fixing how subtype aliases of unions work
1525 they should inherit the parent's coercion
1526 - added tests for this
1527 - you can now define multiple coercions on
1528 a single type at different times instead of
1529 having to do it all in one place
1530 - added tests for this
1532 * Moose::Meta::TypeConstraint
1533 - there is now a default constraint of sub { 1 }
1534 instead of Moose::Util::TypeConstraints setting
1537 * Moose::Meta::TypeCoercion
1538 * Moose::Meta::TypeCoercion::Union
1539 - added the &has_coercion_for_type and
1540 &add_type_coercions methods to support the
1541 new features above (although you cannot add
1542 more type coercions for Union types)
1544 0.31 Mon. Nov. 26, 2007
1545 * Moose::Meta::Attribute
1546 - made the +attr syntax handle extending types with
1547 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1548 now works if the original foo is an ArrayRef.
1549 - added tests for this.
1550 - delegation now works even if the attribute does not
1551 have a reader method using the get_read_method_ref
1552 method from Class::MOP::Attribute.
1553 - added tests for this
1554 - added docs for this
1556 * Moose::Util::TypeConstraints
1557 - passing no "additional attribute info" to
1558 &find_or_create_type_constraint will no longer
1559 attempt to create an __ANON__ type for you,
1560 instead it will just return undef.
1561 - added docs for this
1563 0.30 Fri. Nov. 23, 2007
1564 * Moose::Meta::Method::Constructor
1565 -builder related bug in inlined constructor. (groditi)
1567 * Moose::Meta::Method::Accessor
1568 - genereate unnecessary calls to predicates and refactor
1569 code generation for runtime speed (groditi)
1571 * Moose::Util::TypeConstraints
1572 - fix ClassName constraint to introspect symbol table (mst)
1573 - added more tests for this (mst)
1574 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1575 with work correctly.
1576 - added tests for this
1579 - adding the link to Recipie 11 (written by Sartak)
1580 - adding test for SYNOPSIS code
1583 - New tests for builder bug. Upon instantiation, if an
1584 attribute had a builder, no value and was not lazy the
1585 builder default was not getting run, oops. (groditi)
1587 0.29 Tues. Nov. 13, 2007
1588 * Moose::Meta::Attribute
1589 - Fix error message on missing builder method (groditi)
1591 * Moose::Meta::Method::Accessor
1592 - Fix error message on missing builder method (groditi)
1595 - Add test to check for the correct error message when
1596 builder method is missing (groditi)
1598 0.28 Tues. Nov. 13, 2007
1599 - 0.27 packaged incorrectly (groditi)
1601 0.27 Tues. Nov. 13, 2007
1602 * Moose::Meta::Attribute
1603 - Added support for the new builder option (groditi)
1604 - Added support for lazy_build option (groditi)
1605 - Changed slot initialization for predicate changes (groditi)
1607 * Moose::Meta::Method::Accessor
1608 - Added support for lazy_build option (groditi)
1609 - Fix inline methods to work with corrected predicate
1612 * Moose::Meta::Method::Constructor
1613 - Added support for lazy_build option (groditi)
1616 - tests for builder and lazy_build (groditi)
1618 * fixing some misc. bits in the docs that
1619 got mentioned on CPAN Forum & perlmonks
1622 - fixed how required methods are handled
1623 when they encounter overriden or modified
1624 methods from a class (thanks to confound).
1625 - added tests for this
1627 * Moose::Util::TypeConstraint
1628 - fixed the type notation parser so that
1629 the | always creates a union and so is
1630 no longer a valid type char (thanks to
1631 konobi, mugwump and #moose for working
1633 - added more tests for this
1635 0.26 Thurs. Sept. 27, 2007
1638 * Parameterized Types
1639 We now support parameterized collection types, such as:
1640 ArrayRef[Int] # array or integers
1641 HashRef[Object] # a hash with object values
1642 They can also be nested:
1643 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1644 And work with the type unions as well:
1645 ArrayRef[Int | Str] # array of integers of strings
1647 * Better Framework Extendability
1648 Moose.pm is now "extendable" such that it is now much
1649 easier to extend the framework and add your own keywords
1650 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1651 section of the Moose.pm docs.
1654 In an effort to begin documenting some of the various
1655 details of Moose as well as some common idioms, we have
1656 created Moose::Cookbook::Snacks as a place to find
1657 small (easily digestable) nuggets of Moose code.
1660 ~ Several doc updates/cleanup thanks to castaway ~
1662 - converted build system to use Module::Install instead of
1663 Module::Build (thanks to jrockway)
1666 - added all the meta classes to the immutable list and
1667 set it to inline the accessors
1668 - fix import to allow Sub::Exporter like { into => }
1669 and { into_level => } (perigrin)
1670 - exposed and documented init_meta() to allow better
1671 embedding and extending of Moose (perigrin)
1674 - complete re-organization of the test suite
1675 - added some new tests as well
1676 - finally re-enabled the Moose::POOP test since
1677 the new version of DBM::Deep now works again
1680 * Moose::Meta::Class
1681 - fixed very odd and very nasty recursion bug with
1683 - added tests for this (eilara)
1685 * Moose::Meta::Attribute
1686 Moose::Meta::Method::Constructor
1687 Moose::Meta::Method::Accessor
1688 - fixed issue with overload::Overloaded getting called
1689 on non-blessed items. (RT #29269)
1690 - added tests for this
1692 * Moose::Meta::Method::Accessor
1693 - fixed issue with generated accessor code making
1694 assumptions about hash based classes (thanks to dexter)
1696 * Moose::Coookbook::Snacks
1697 - these are bits of documentation, not quite as big as
1698 Recipes but which have no clear place in the module docs.
1699 So they are Snacks! (horray for castaway++)
1701 * Moose::Cookbook::Recipe4
1702 - updated it to use the new ArrayRef[MyType] construct
1703 - updated the accompanying test as well
1705 +++ Major Refactor of the Type Constraint system +++
1706 +++ with new features added as well +++
1708 * Moose::Util::TypeConstraint
1709 - no longer uses package variable to keep track of
1710 the type constraints, now uses the an instance of
1711 Moose::Meta::TypeConstraint::Registry to do it
1712 - added more sophisticated type notation parsing
1714 - added tests for this
1716 * Moose::Meta::TypeConstraint
1717 - some minor adjustments to make subclassing easier
1718 - added the package_defined_in attribute so that we
1719 can track where the type constraints are created
1721 * Moose::Meta::TypeConstraint::Union
1722 - this is now been refactored to be a subclass of
1723 Moose::Meta::TypeConstraint
1725 * Moose::Meta::TypeCoercion::Union
1726 - this has been added to service the newly refactored
1727 Moose::Meta::TypeConstraint::Union and is itself
1728 a subclass of Moose::Meta::TypeCoercion
1730 * Moose::Meta::TypeConstraint::Parameterized
1731 - added this module (taken from MooseX::AttributeHelpers)
1732 to help construct nested collection types
1733 - added tests for this
1735 * Moose::Meta::TypeConstraint::Registry
1736 - added this class to keep track of type constraints
1738 0.25 Mon. Aug. 13, 2007
1740 - Documentation update to reference Moose::Util::TypeConstraints
1741 under 'isa' in 'has' for how to define a new type
1742 (thanks to shlomif).
1744 * Moose::Meta::Attribute
1745 - required attributes now will no longer accept undef
1746 from the constructor, even if there is a default and lazy
1747 - added tests for this
1748 - default subroutines must return a value which passes the
1750 - added tests for this
1752 * Moose::Meta::Attribute
1753 * Moose::Meta::Method::Constructor
1754 * Moose::Meta::Method::Accessor
1755 - type-constraint tests now handle overloaded objects correctly
1756 in the error message
1757 - added tests for this (thanks to EvanCarroll)
1759 * Moose::Meta::TypeConstraint::Union
1760 - added (has_)hand_optimized_constraint to this class so that
1761 it behaves as the regular Moose::Meta::TypeConstraint does.
1764 - large refactoring of this code
1765 - added several more tests
1766 - tests for subtle conflict resolition issues
1767 added, but not currently running
1770 * Moose::Cookbook::Recipe7
1771 - added new recipe for augment/inner functionality
1773 - added test for this
1776 - a formal definition of roles (still in progress)
1779 - utilities for easier working with Moose classes
1780 - added tests for these
1783 - This contains Moose specific test functions
1784 - added tests for these
1786 0.24 Tues. July 3, 2007
1787 ~ Some doc updates/cleanup ~
1789 * Moose::Meta::Attribute
1790 - added support for roles to be given as parameters
1791 to the 'handles' option.
1792 - added tests and docs for this
1793 - the has '+foo' attribute form now accepts changes to
1794 the lazy option, and the addition of a handles option
1795 (but not changing the handles option)
1796 - added tests and docs for this
1799 - required methods are now fetched using find_method_by_name
1800 so that required methods can come from superclasses
1801 - adjusted tests for this
1803 0.23 Mon. June 18, 2007
1804 * Moose::Meta::Method::Constructor
1805 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1806 * Moose::Meta::Class
1807 - Modify make_immutable to work with the new Class::MOP immutable
1808 mechanism + POD + very basic test (groditi)
1809 * Moose::Meta::Attribute
1810 - Fix handles to use goto() so that caller() comes out properly on
1811 the other side (perigrin)
1813 0.22 Thurs. May 31, 2007
1814 * Moose::Util::TypeConstraints
1815 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1816 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1817 prototypes for functions
1818 - added the ClassName type constraint, this checks for strings
1819 which will respond true to ->isa(UNIVERSAL).
1820 - added tests and docs for this
1821 - subtyping just in name now works correctly by making the
1822 default for where be { 1 }
1823 - added test for this
1825 * Moose::Meta::Method::Accessor
1826 - coerce and lazy now work together correctly, thanks to
1827 merlyn for finding this bug
1828 - tests added for this
1829 - fix reader presedence bug in Moose::Meta::Attribute + tests
1832 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1833 a HASH-ref and missed. This produces better error messages then
1834 having it die cause undef is not a HASH.
1835 - added tests for this
1837 0.21 Thursday, May 2nd, 2007
1839 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1840 - modified unimport to remove super and inner along with the rest
1841 - altered unimport tests to handle this
1844 - altered super export to populate SUPER_SLOT
1846 * Moose::Meta::Class
1847 - altered augment and override modifier application to use *_SLOT
1848 - modified tests for these to unimport one test class each to test
1851 - fixed issue where custom attribute metaclasses
1852 where not handled correctly in roles
1853 - added tests for this
1855 * Moose::Meta::Class
1856 - fixed issue where extending metaclasses with
1857 roles would blow up. Thanks to Aankhen`` for
1858 finding this insidious error, and it's solution.
1860 ~~ lots of spelling and grammer fixes in the docs,
1861 many many thanks to rlb3 and Aankhen for these :)
1863 0.20 Friday, April 6th, 2007
1864 >> I messed up the SKIP logic in one test
1865 so this release is just to fix that.
1868 - 'has' now also accepts an ARRAY ref
1869 to create multiple attrs (see docs)
1870 (thanks to konobi for this)
1871 - added tests and docs
1873 0.19 Thurs. April 5th, 2007
1874 ~~ More documentation updates ~~
1876 * Moose::Util::TypeConstraints
1877 - 'type' now supports messages as well
1878 thanks to phaylon for finding this
1879 - added tests for this
1880 - added &list_all_type_constraints and
1881 &list_all_builtin_type_constraints
1882 functions to facilitate introspection.
1884 * Moose::Meta::Attribute
1885 - fixed regexp 'handles' declarations
1886 to build the list of delegated methods
1887 correctly (and not override important
1888 things like &new) thanks to ashleyb
1890 - added tests and docs for this
1891 - added the 'documentation' attributes
1892 so that you can actually document your
1893 attributes and inspect them through the
1895 - added tests and docs for this
1897 * Moose::Meta::Class
1898 - when loading custom attribute metaclasses
1899 it will first look in for the class in the
1900 Moose::Meta::Attribute::Custom::$name, and
1901 then default to just loading $name.
1902 - added tests and docs for this
1904 * Moose::Meta::TypeConstraint
1905 - type constraints now stringify to their names.
1906 - added test for this
1909 - added tests to assure we work with Module::Refresh
1910 - added stricter test skip logic in the Moose POOP
1911 test, ask Rob Kinyon why.
1912 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1914 0.18 Sat. March 10, 2007
1915 ~~ Many, many documentation updates ~~
1918 - We now use Class::MOP::load_class to
1920 - added tests to show types and subtypes
1921 working with Declare::Constraints::Simple
1922 and Test::Deep as constraint engines.
1925 !! You must have Class::MOP 0.37_001 !!
1926 !! for this developer release to work !!
1928 This release was primarily adding the immutable
1929 feature to Moose. An immutable class is one which
1930 you promise not to alter. When you set the class
1931 as immutable it will perform various bits of
1932 memoization and inline certain part of the code
1933 (constructors, destructors and accessors). This
1934 minimizes (and in some cases totally eliminates)
1935 one of Moose's biggest performance hits. This
1936 feature is not on by default, and is 100% optional.
1937 It has several configurable bits as well, so you
1938 can pick and choose to your specific needs.
1940 The changes involved in this were fairly wide and
1941 highly specific, but 100% backwards compatible, so
1942 I am not going to enumerate them here. If you are
1943 truely interested in what was changed, please do
1946 0.17 Tues. Nov. 14, 2006
1947 * Moose::Meta::Method::Accessor
1948 - bugfix for read-only accessors which
1949 are have a type constraint and lazy.
1950 Thanks to chansen for finding it.
1952 0.16 Tues. Nov. 14, 2006
1954 There are some speed improvements in this release,
1955 but they are only the begining, so stay tuned.
1958 - BUILDALL and DEMOLISHALL no longer get
1959 called unless they actually need to be.
1960 This gave us a signifigant speed boost
1961 for the cases when there is no BUILD or
1962 DEMOLISH method present.
1964 * Moose::Util::TypeConstraints
1965 * Moose::Meta::TypeConstraint
1966 - added an 'optimize_as' option to the
1967 type constraint, which allows for a
1968 hand optimized version of the type
1969 constraint to be used when possible.
1970 - Any internally created type constraints
1971 now provide an optimized version as well.
1973 0.15 Sun. Nov. 5, 2006
1975 This version of Moose *must* have Class::MOP 0.36 in order
1976 to work correctly. A number of small internal tweaks have
1977 been made in order to be compatible with that release.
1979 * Moose::Util::TypeConstraints
1980 - added &unimport so that you can clean out
1981 your class namespace of these exported
1984 * Moose::Meta::Class
1985 - fixed minor issue which occasionally
1986 comes up during global destruction
1988 - moved Moose::Meta::Method::Overriden into
1992 - moved Moose::Meta::Role::Method into
1995 * Moose::Meta::Attribute
1996 - changed how we do type checks so that
1997 we reduce the overall cost, but still
2000 - moved accessor generation methods to
2001 Moose::Meta::Method::Accessor to
2002 conform to the API changes from
2005 * Moose::Meta::TypeConstraint
2006 - changed how constraints are compiled
2007 so that we do less recursion and more
2008 iteration. This makes the type check
2010 - moved Moose::Meta::TypeConstraint::Union
2013 * Moose::Meta::Method::Accessor
2014 - created this from methods formerly found in
2015 Moose::Meta::Attribute
2017 * Moose::Meta::Role::Method
2018 - moved this from Moose::Meta::Role
2020 * Moose::Meta::Method::Overriden
2021 - moved this from Moose::Meta::Class
2023 * Moose::Meta::TypeConstraint::Union
2024 - moved this from Moose::Meta::TypeConstraint
2026 0.14 Mon. Oct. 9, 2006
2028 * Moose::Meta::Attribute
2029 - fixed lazy attributes which were not getting
2030 checked with the type constraint (thanks ashley)
2031 - added tests for this
2032 - removed the over-enthusiastic DWIMery of the
2033 automatic ArrayRef and HashRef defaults, it
2034 broke predicates in an ugly way.
2035 - removed tests for this
2037 0.13 Sat. Sept. 30, 2006
2039 This version of Moose *must* have Class::MOP 0.35 in order
2040 to work correctly. A number of small internal tweaks have
2041 been made in order to be compatible with that release.
2044 - Removed the use of UNIVERSAL::require to be a better
2045 symbol table citizen and remove a dependency
2046 (thanks Adam Kennedy)
2048 **~~ removed experimental & undocumented feature ~~**
2049 - commented out the 'method' and 'self' keywords, see the
2050 comments for more info.
2053 - added a FAQ and WTF files to document frequently
2054 asked questions and common problems
2056 * Moose::Util::TypeConstraints
2057 - added GlobRef and FileHandle type constraint
2058 - added tests for this
2060 * Moose::Meta::Attribute
2061 - if your attribute 'isa' ArrayRef of HashRef, and you have
2062 not explicitly set a default, then make the default DWIM.
2063 This will also work for subtypes of ArrayRef and HashRef
2065 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2066 - new test added for this (thanks to ashley)
2069 - added basic support for runtime role composition
2070 but this is still *highly experimental*, so feedback
2071 is much appreciated :)
2072 - added tests for this
2074 * Moose::Meta::TypeConstraint
2075 - the type constraint now handles the coercion process
2076 through delegation, this is to support the coercion
2079 * Moose::Meta::TypeConstraint::Union
2080 - it is now possible for coercions to be performed
2082 - added tests for this (thanks to konobi)
2084 * Moose::Meta::TypeCoercion
2085 - properly capturing error when type constraint
2089 - Scalar::Util 1.18 is bad on Win32, so temporarily
2090 only require version 1.17 for Win32 and cygwin.
2091 (thanks Adam Kennedy)
2093 0.12 Sat. Sept. 1, 2006
2095 - Recipe5 (subtypes & coercion) has been written
2098 - fixed "bad meta" error message to be more descriptive
2099 - fixed &unimport to not remove the &inner and &super
2100 keywords because we need to localize them.
2101 - fixed number of spelling/grammer issues, thanks Theory :)
2103 **~~ experimental & undocumented feature ~~**
2104 - added the method and self keywords, they are basically
2105 just sugar, and they may not stay around.
2108 - added &dump method to easily Data::Dumper
2111 * Moose::Meta::TypeConstraint
2112 - added the &is_a_type_of method to check both the current
2113 and the subtype of a method (similar to &isa with classes)
2116 - this is now a subclass of Class::MOP::Module, and no longer
2117 creates the _role_meta ugliness of before.
2118 - fixed tests to reflect this change
2120 0.11 Wed. July 12, 2006
2122 - added an &unimport method to remove all the keywords
2123 that Moose will import, simply add 'no Moose' to the
2124 bottom of your class file.
2127 - fixed some test failures caused by a forgotten test
2130 0.10 Thurs. July 6, 2006
2132 - improved error message when loading modules so
2133 it is less confusing when you load a role.
2134 - added &calculate_all_roles method to
2135 Moose::Meta::Class and Moose::Meta::Role
2138 This module has been tested against Class::MOP 0.30
2139 but it does not yet utilize the optimizations
2140 it makes available. Stay tuned for that ;)
2142 0.09_03 Fri. June 23, 2006
2143 ++ DEVELOPER RELEASE ++
2145 - 'use strict' and 'use warnings' are no longer
2146 needed in Moose classes, Moose itself will
2147 turn them on for you.
2148 - added tests for this
2149 - moved code from exported subs to private methods
2150 in Moose::Meta::Class
2153 - as with Moose, strict and warnings are
2154 automatically turned on for you.
2155 - added tests for this
2158 - now handles an edge case for override errors
2159 - added tests for this
2160 - added some more edge case tests
2162 0.09_02 Tues. May 16, 2006
2163 ++ DEVELOPER RELEASE ++
2165 - added prototypes to the exported subs
2169 - added prototypes to the exported subs
2172 * Moose::Util::TypeConstraints
2173 - cleaned up prototypes for the subs
2176 0.09_01 Fri. May 12, 2006
2177 ++ DEVELOPER RELEASE ++
2178 - This release works in combination with
2179 Class::MOP 0.29_01, it is a developer
2180 release because it uses the a new
2181 instance sub-protocol and a fairly
2182 complete Role implementation. It has
2183 not yet been optimized, so it slower
2184 the the previous CPAN version. This
2185 release also lacks good updated docs,
2186 the official release will have updated docs.
2189 - refactored the keyword exports
2190 - 'with' now checks Role validaity and
2191 accepts more than one Role at a time
2192 - 'extends' makes metaclass adjustments as
2193 needed to ensure metaclass compatibility
2196 - refactored the keyword exports
2197 - 'with' now checks Role validaity and
2198 accepts more than one Role at a time
2200 * Moose::Util::TypeConstraints
2201 - added the 'enum' keyword for simple
2202 string enumerations which can be used as
2204 - see example of usage in t/202_example.t
2207 - more careful checking of params to new()
2210 - much work done on the role composition
2211 - many new tests for conflict detection
2212 and composition edge cases
2213 - not enough documentation, I suggest
2214 looking at the tests
2216 * Moose::Meta::Instance
2217 - added new Instance metaclass to support
2218 the new Class::MOP instance protocol
2220 * Moose::Meta::Class
2221 - some small changes to support the new
2223 - some small additions to support Roles
2225 * Moose::Meta::Attribute
2226 - some improvements to the accessor generation code
2228 - some small changes to support the new
2230 - (still somewhat) experimental delegation support
2231 with the 'handles' option
2232 - added several tests for this
2233 - no docs for this yet
2235 0.05 Thurs. April 27, 2006
2237 - keywords are now exported with Sub::Exporter
2238 thanks to chansen for this commit
2239 - has keyword now takes a 'metaclass' option
2240 to support custom attribute meta-classes
2241 on a per-attribute basis
2242 - added tests for this
2243 - the 'has' keyword not accepts inherited slot
2244 specifications (has '+foo'). This is still an
2245 experimental feature and probably not finished
2246 see t/038_attribute_inherited_slot_specs.t for
2247 more details, or ask about it on #moose
2248 - added tests for this
2251 - keywords are now exported with Sub::Exporter
2253 * Moose::Utils::TypeConstraints
2254 - reorganized the type constraint hierarchy, thanks
2255 to nothingmuch and chansen for his help and advice
2257 - added some tests for this
2258 - keywords are now exported with Sub::Exporter
2259 thanks to chansen for this commit
2261 * Moose::Meta::Class
2262 - due to changes in Class::MOP, we had to change
2263 construct_instance (for the better)
2265 * Moose::Meta::Attribute
2266 - due to changes in Class::MOP, we had to add the
2267 initialize_instance_slot method (it's a good thing)
2269 * Moose::Meta::TypeConstraint
2270 - added type constraint unions
2271 - added tests for this
2272 - added the is_subtype_of predicate method
2273 - added tests for this
2275 0.04 Sun. April 16th, 2006
2277 - Roles can now consume other roles
2278 - added tests for this
2279 - Roles can specify required methods now with
2280 the requires() keyword
2281 - added tests for this
2284 - ripped out much of it's guts ,.. much cleaner now
2285 - added required methods and correct handling of
2286 them in apply() for both classes and roles
2287 - added tests for this
2288 - no longer adds a does() method to consuming classes
2289 it relys on the one in Moose::Object
2290 - added roles attribute and some methods to support
2291 roles consuming roles
2293 * Moose::Meta::Attribute
2294 - added support for triggers on attributes
2295 - added tests for this
2296 - added support for does option on an attribute
2297 - added tests for this
2299 * Moose::Meta::Class
2300 - added support for attribute triggers in the
2302 - added tests for this
2305 - Moose no longer creates a subtype for your class
2306 if a subtype of the same name already exists, this
2307 should DWIM in 99.9999% of all cases
2309 * Moose::Util::TypeConstraints
2310 - fixed bug where incorrect subtype conflicts were
2312 - added test for this
2315 - this class can now be extended with 'use base' if
2316 you need it, it properly loads the metaclass class now
2317 - added test for this
2319 0.03_02 Wed. April 12, 2006
2321 - you must now explictly use Moose::Util::TypeConstraints
2322 it no longer gets exported for you automatically
2325 - new() now accepts hash-refs as well as key/value lists
2326 - added does() method to check for Roles
2327 - added tests for this
2329 * Moose::Meta::Class
2330 - added roles attribute along with the add_role() and
2332 - added tests for this
2335 - now adds a does() method to consuming classes
2336 which tests the class's hierarchy for roles
2337 - added tests for this
2339 0.03_01 Mon. April 10, 2006
2341 - added new Role recipe (no content yet, only code)
2344 - added 'with' keyword for Role support
2345 - added test and docs for this
2346 - fixed subtype quoting bug
2347 - added test for this
2351 - added test and docs
2353 * Moose::Util::TypeConstraints
2354 - added the message keyword to add custom
2355 error messages to type constraints
2358 - the meta role to support Moose::Role
2359 - added tests and docs
2361 * Moose::Meta::Class
2362 - moved a number of things from Moose.pm
2363 to here, they should have been here
2366 * Moose::Meta::Attribute
2367 - moved the attribute option macros here
2368 instead of putting them in Moose.pm
2370 * Moose::Meta::TypeConstraint
2371 - added the message attributes and the
2373 - added tests and docs for this
2375 0.03 Thurs. March 30, 2006
2377 - added the Moose::Cookbook with 5 recipes,
2378 describing all the stuff Moose can do.
2381 - fixed an issue with &extends super class loading
2382 it now captures errors and deals with inline
2383 packages correctly (bug found by mst, solution
2385 - added super/override & inner/augment features
2386 - added tests and docs for these
2389 - BUILDALL now takes a reference of the %params
2390 that are passed to &new, and passes that to
2393 * Moose::Util::TypeConstraints
2394 - Type constraints now survive runtime reloading
2395 - added test for this
2397 * Moose::Meta::Class
2398 - fixed the way attribute defaults are handled
2399 during instance construction (bug found by chansen)
2401 * Moose::Meta::Attribute
2402 - read-only attributes now actually enforce their
2403 read-only-ness (this corrected in Class::MOP as
2406 0.02 Tues. March 21, 2006
2408 - many more tests, fixing some bugs and
2410 - &extends now loads the base module with
2412 - added UNIVERSAL::require to the
2415 - each new Moose class will also create
2416 and register a subtype of Object which
2417 correspond to the new Moose class.
2418 - the 'isa' option in &has now only
2419 accepts strings, and will DWIM in
2422 * Moose::Util::TypeConstraints
2423 - added type coercion features
2424 - added tests for this
2425 - added support for this in attributes
2426 and instance construction
2428 - type construction no longer creates a
2429 function, it registers the type instead.
2430 - added several functions to get the
2434 - BUILDALL and DEMOLISHALL were broken
2435 because of a mis-named hash key, Whoops :)
2437 * Moose::Meta::Attribute
2438 - adding support for coercion in the
2439 autogenerated accessors
2441 * Moose::Meta::Class
2442 - adding support for coercion in the
2443 instance construction
2445 * Moose::Meta::TypeConstraint
2446 * Moose::Meta::TypeCoercion
2447 - type constraints and coercions are now
2448 full fledges meta-objects
2450 0.01 Wed. March 15, 2006
2451 - Moooooooooooooooooose!!!