1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
5 * Moose::Meta::Attribute
6 - When adding an attribute to a metaclass, if the attribute has no
7 methods associated with, it will give a deprecation warning. (hdp)
11 - Fix _construct_instance not setting the special __MOP__ object
12 key in instances of anon classes. (doy)
14 0.82 Sun, Jun 21, 2009
15 * Moose::Manual::Types
16 - Mention MooseX::Types early to avoid users falling down the
17 string parsing rathole (mst)
19 * Moose::Manual::MooseX
20 - Add warnings about class-level extensions and mention considering
21 using plain objects instead
24 * Bumped our Class::MOP prereq to the latest version (0.85), since
29 - Add FAQ about the coercion change from 0.76 because it came up
30 three times today (perigrin)
31 - Win doy $10 dollars because Sartak didn't think anybody
32 would document this fast enough (perigrin)
34 * Moose::Meta::Method::Destructor
35 - Inline a DESTROY method even if there are no DEMOLISH methods
36 to prevent unnecessary introspection in
37 Moose::Object::DEMOLISHALL
40 - A role's required methods are now represented by
41 Moose::Meta::Role::Method::Required objects. Conflicts are now
42 represented by Moose::Meta::Role::Method::Conflicting
43 objects. The benefit for end-users in that unresolved
44 conflicts generate different, more instructive, errors,
45 resolving Ovid's #44895. (Sartak)
48 - Improve the error message of "extends" as suggested by Adam
49 Kennedy and confound (Sartak)
50 - Link to Moose::Manual::Roles from Moose::Role as we now have
51 excellent documentation (Adam Kennedy)
54 - Update test suite for subname change in Class::MOP
56 - Add TODO test for infinite recursion in Moose::Meta::Class
59 0.79 Wed, May 13, 2009
61 - More fixes for Win32 problems. Reported by Robert Krimen.
64 - The DEMOLISHALL method could still blow up in some cases
65 during global destruction. This method has been made more
66 resilient in the face of global destruction's random garbage
70 - If you "also" a module that isn't loaded, the error message
71 now acknowledges that (Sartak)
74 - When your ->meta method does not return a Moose::Meta::Class,
75 the error message gave the wrong output (Sartak)
77 0.78 Tue, May 12, 2009
78 * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
79 - Merged these documents into what is now Moose::Manual::FAQ
82 - Moved to Moose::Manual::Unsweetened
84 * Moose::Cookbook::Basics::Recipes 9-12
85 - Renamed to be 8-11, since recipe 8 did not exist
88 - Make Moose::Exporter import strict and warnings into packages
92 - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
93 methods during global destruction (doy)
96 * Moose::Meta::Role::Application::ToClass
97 - Track the Role::Application objects created during class-role
101 - Fix metaclass incompatibility errors when extending a vanilla perl
102 class which isa Moose class with a metaclass role applied (t0m)
105 - Add a role-combination hook, _role_for_combination, for the
106 benefit of MooseX::Role::Parameterized (Sartak)
109 - Some tests were failing on Win32 because they explicit checked
110 warning output for newlines. Reported by Nickolay Platonov.
112 0.77 Sat, May 2, 2009
114 - Add explicit use of Devel::GlobalDestruction and Sub::Name
118 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
119 or not we are currently in global destruction (doy)
120 - Add explicit use of Devel::GlobalDestruction and Sub::Name
123 * Moose::Cookbook::FAQ
124 - Reworked much of the existing content to be more useful to
125 modern Moose hackers (Sartak)
128 - Depend on Class::MOP 0.83 instead of 0.82_01.
130 0.76 Mon, April 27, 2009
131 * Moose::Meta::TypeConstraint
132 - Do not run coercions in coerce() if the value already passes the type
135 * Moose::Meta::TypeConstraint::Class
136 - In validation error messages, specifically say that the value is not
137 an instance of the class. This should alleviate some frustrating
138 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
140 * Moose::Meta::Role::Application::ToClass
141 - Revert the class-overrides-role warning in favor of a solution outside
142 of the Moose core (Sartak)
145 - Make Test::Output optional again, since it's only used in a few files
148 0.75_01 Thu, April 23, 2009
149 * Moose::Meta::Role::Application::ToClass
150 - Moose now warns about each class overriding methods from roles it
154 - Warnings tests have standardized on Test::Output which is now an
155 unconditionally dependency (Sartak)
158 - Changes to immutabilization to work with Class::MOP 0.82_01+.
160 0.75 Mon, April 20, 2009
163 - Move validation of not inheriting from roles from Moose::extends to
164 Moose::Meta::Class::superclasses (doy)
167 - add ensure_all_roles() function to encapsulate the common "apply this
168 role unless the object already does it" pattern (hdp)
171 - Users can now select a different metaclass with the "-metaclass"
172 option to import, for classes and roles (Sartak)
175 - Make method_metaclass an attr so that it can accept a metarole
178 0.74 Tue, April 7, 2009
180 * Moose::Meta::Method::Destructor
181 - Include stack traces in the deprecation warnings.
185 - Removed the long-deprecated _apply_all_roles method.
187 * Moose::Meta::TypeConstraint
188 - Removed the long-deprecated union method.
191 0.73_02 Mon, April 6, 2009
192 * More deprecations and renamings
193 - Moose::Meta::Method::Constructor
194 - initialize_body => _initialize_body (this is always called
195 when an object is constructed)
198 - The DEMOLISHALL method could throw an exception during global
199 destruction, meaning that your class's DEMOLISH methods would
200 not be properly called. Reported by t0m.
202 * Moose::Meta::Method::Destructor
203 - Destructor inlining was totally broken by the change to the
204 is_needed method in 0.72_01. Now there is a test for this
205 feature, and it works again.
208 - Bold the word 'not' in the POD for find_meta (t0m)
210 0.73_01 Sun, April 5, 2009
212 - Call user_class->meta in fewer places, with the eventual goal
213 of allowing the user to rename or exclude ->meta
214 altogether. Instead uses Class::MOP::class_of. (Sartak)
216 * Moose::Meta::Method::Accessor
217 - If an attribute had a lazy default, and that value did not
218 pass the attribute's type constraint, it did not get the
219 message from the type constraint, instead using a generic
220 message. Test provided by perigrin.
222 * Moose::Util::TypeConstraints
223 - Add duck_type keyword. It's sugar over making sure an object
224 can() a list of methods. This is easier than jrockway's
225 suggestion to fork all of CPAN. (perigrin)
226 - add tests and documentation (perigrin)
229 - Document the fact that init_meta() returns the target class's
230 metaclass object. (hdp)
232 * Moose::Cookbook::Extending::Recipe1
233 * Moose::Cookbook::Extending::Recipe2
234 * Moose::Cookbook::Extending::Recipe3
235 * Moose::Cookbook::Extending::Recipe4
236 - Make init_meta() examples explicitly return the metaclass and
237 point out this fact. (hdp)
239 * Moose::Cookbook::Basics::Recipe12
240 - A new recipe, creating a custom meta-method class.
242 * Moose::Cookbook::Meta::Recipe6
243 - A new recipe, creating a custom meta-method class.
246 * Moose::Meta::Method::Constructor
247 - Attribute triggers no longer receive the meta-attribute object
248 as an argument in any circumstance. Previously, triggers
249 called during instance construction were passed the
250 meta-attribute, but triggers called by normal accessors were
251 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
253 * Moose::Manual::Attributes
254 - Remove references to triggers receving the meta-attribute object as an
257 * Moose::Cookbook::FAQ
258 - Remove recommendation for deprecated Moose::Policy and
259 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
262 * Many methods have been renamed with a leading underscore, and a
263 few have been deprecated entirely. The methods with a leading
264 underscore are consider "internals only". People writing
265 subclasses or extensions to Moose should feel free to override
266 them, but they are not for "public" use.
269 - check_metaclass_compatibility => _check_metaclass_compatibility
271 - Moose::Meta::Method::Accessor
272 - initialize_body => _initialize_body (this is always called
273 when an object is constructed)
274 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
276 - Moose::Meta::Method::Constructor
277 - initialize_body => _initialize_body (this is always called
278 when an object is constructed)
279 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
280 - attributes => _attributes (now inherited from parent)
281 - meta_instance => _meta_instance (now inherited from parent)
284 - alias_method is deprecated. Use add_method
286 0.73 Fri, March 29, 2009
287 * No changes from 0.72_01.
289 0.72_01 Thu, March 26, 2009
291 - Almost every module has complete API documentation. A few
292 methods (and even whole classes) have been intentionally
293 excluded pending some rethinking of their APIs.
295 * Moose::Util::TypeConstraints
296 - Calling subtype with a name as the only argument is now an
297 exception. If you want an anonymous subtype do:
299 my $subtype = subtype as 'Foo';
301 * Moose::Cookbook::Meta::Recipe7
302 - A new recipe, creating a custom meta-instance class.
304 * Moose::Cookbook::Basics::Recipe5
305 - Fix various typos and mistakes. Includes a patch from Radu
308 * Moose::Cookbook::Basics::Recipe9
309 - Link to this recipe from Moose.pm's builder blurb
312 - When wrapping a function with a prototype, Moose::Exporter now
313 makes sure the wrapped function still has the same
314 prototype. (Daisuke Maki)
316 * Moose::Meta::Attribute
317 - Allow a subclass to set lazy_build for an inherited
321 - Explicitly depend on Data::OptList. We already had this dependency
322 via Sub::Exporter, but since we're using it directly we're
323 better off with it listed. (Sartak)
325 * Moose::Meta::Method::Constructor
326 - Make it easier to subclass the inlining behaviour. (Ash
329 * Moose::Manual::Delta
330 - Details significant changes in the history of Moose, along
331 with recommended workarounds.
333 * Moose::Manual::Contributing
334 - Contributor's guide to Moose.
336 * Moose::Meta::Method::Constructor
337 - The long-deprecated intialize_body method has been removed
338 (yes, spelled like that).
340 * Moose::Meta::Method::Destructor
341 - This is_needed method is now always a class method.
344 - Changes to the internals of how make_immutable works to match
345 changes in latest Class::MOP.
347 0.72 Mon, February 23, 2009
349 * Moose::Meta::Method::Constructor
350 - A mutable class accepted Foo->new(undef) without complaint,
351 while an immutable class would blow up with an unhelpful
352 error. Now, in both cases we throw a helpful error
353 instead. Reported by doy.
355 0.71_01 Sun, February 22, 2009
357 - Hopefully fixed some POD errors in a few recipes that caused
358 them to display weird on search.cpan.org.
360 * Moose::Util::TypeConstraints
361 - Calling type or subtype without the sugar helpers (as, where,
362 message) is now deprecated.
363 - The subtype function tried hard to guess what you meant, but
364 often got it wrong. For example:
366 my $subtype = subtype as 'ArrayRef[Object]';
368 This caused an error in the past, but now works as you'd
372 - Make sure Moose.pm is loaded before calling
373 Moose->throw_error. This wasn't normally an issue, but could
374 bite you in weird cases.
376 0.71 Thu, February 19, 2009
377 * Moose::Cookbook::Basics::Recipe11
378 - A new recipe which demonstrates the use of BUILDARGS and
381 * Moose::Cookbook::Roles::Recipe3
382 - A new recipe, applying a role to an object instance. (Dave
386 - Allow overriding specific keywords from "also" packages. (doy)
389 - Replace hardcoded cookbook tests with Test::Inline to ensure
390 the tests match the actual code in the recipes. (Dave Rolsky)
393 - Working on the above turned up a number of little bugs in the
394 recipe code. (Dave Rolsky)
396 * Moose::Util::TypeConstraints::Optimized
397 - Just use Class::MOP for the optimized ClassName check. (Dave
400 0.70 Sat, February 14, 2009
401 * Moose::Util::TypeConstraints
402 - Added the RoleName type (stevan)
403 - added tests for this (stevan)
405 * Moose::Cookbook::Basics::Recipe3
406 - Updated the before qw[left right] sub to be a little more
407 defensive about what it accepts (stevan)
408 - added more tests to t/000_recipies/basics/003_binary_tree.t
412 - We now always call DEMOLISHALL, even if a class does not
413 define DEMOLISH. This makes sure that method modifiers on
414 DEMOLISHALL work as expected. (doy)
415 - added tests for this (EvanCarroll)
417 * Moose::Util::MetaRole
418 - Accept roles for the wrapped_method_metaclass (rafl)
419 - added tests for this (rafl)
421 * Moose::Meta::Attribute
422 - We no longer pass the meta-attribute object as a final
423 argument to triggers. This actually changed for inlined code a
424 while back, but the non-inlined version and the docs were
428 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
429 they require 0.11. (Dave Rolsky)
432 - Lots of small changes to the manual, cookbook, and
433 elsewhere. These were based on feedback from various
434 users, too many to list here. (Dave Rolsky)
436 0.69 Thu, February 12, 2009
438 - Make some keyword errors use throw_error instead of croak
439 since Moose::Exporter wraps keywords now (Sartak)
442 - Revised every recipe for style and clarity. Also moved some
443 documentation out of cookbook recipes and into Moose::Manual
444 pages. This work was funded as part of the Moose docs grant
445 from TPF. (Dave Rolsky)
447 * Moose::Meta::Method::Delegation
448 - If the attribute doing the delegation was not populated, the
449 error message did not specify the attribute name
452 0.68 Wed, February 4, 2009
454 - Many spelling, typo, and formatting fixes by daxim.
456 * Moose::Manual::Attributes
457 - The NAME section in the POD used "Attribute" so search.cpan
458 didn't resolve links from other documents properly.
460 * Moose::Meta::Method::Overriden
461 - Now properly spelled as Overridden. Thanks to daxim for
464 0.67 Tue, February 3, 2009
466 - Lots of little typo fixes and a few clarifications. Several
467 pages didn't have proper titles, and so weren't actually
468 visible on search.cpan.org. Thanks to hanekomu for a variety
469 of fixes and formatting improvements.
471 0.66 Tue, February 3, 2009
473 - This is a brand new, extensive manual for Moose. This aims to
474 provide a complete introduction to all of Moose's
475 features. This work was funded as part of the Moose docs grant
476 from TPF. (Dave Rolsky)
478 * Moose::Meta::Attribute
479 - Added a delegation_metaclass method to replace a hard-coded
480 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
482 * Moose::Util::TypeConstraints
483 - If you created a subtype and passed a parent that Moose didn't
484 know about, it simply ignored the parent. Now it automatically
485 creates the parent as a class type. This may not be what you
486 want, but is less broken than before. (Dave Rolsky)
488 * Moose::Util::TypeConstraints
489 - This module tried throw errors by calling Moose->throw_error,
490 but it did not ensure that Moose was loaded first. This could
491 cause very unhelpful errors when it tried to throw an error
492 before Moose was loaded. (Dave Rolsky)
494 * Moose::Util::TypeConstraints
495 - You could declare a name with subtype such as "Foo!Bar" that
496 would be allowed, but if you used it in a parameterized type
497 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
498 vetting on names created via the sugar functions, so that they
499 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
501 0.65 Thu, January 22, 2008
502 * Moose and Moose::Meta::Method::Overridden
503 - If an overridden method called super(), and then the
504 superclass's method (not overridden) _also_ called super(),
505 Moose went into an endless recursion loop. Test provided by
506 Chris Prather. (Dave Rolsky)
508 * Moose::Meta::TypeConstraint
509 - All methods are now documented. (gphat)
511 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
512 - Fixed some bogus failures that occurred because we tried to
513 validate filesystem paths in a very ad-hoc and
514 not-quite-correct way. (Dave Rolsky)
516 * Moose::Util::TypeConstraints
517 - Added maybe_type to exports. See docs for details. (rjbs)
520 - Added Moose::Util::TypeConstraints to the SEE ALSO
524 - Methods created via an attribute can now fulfill a "requires"
525 declaration for a role. (nothingmuch)
527 * Moose::Meta::Method::*
528 - Stack traces from inlined code will now report its line and
529 file as being in your class, as opposed to in Moose
532 0.64 Wed, December 31, 2008
533 * Moose::Meta::Method::Accessor
534 - Always inline predicate and clearer methods (Sartak)
536 * Moose::Meta::Attribute
537 - Support for parameterized traits (Sartak)
538 - verify_against_type_constraint method to avoid duplication
539 and enhance extensibility (Sartak)
542 - Tests (but no support yet) for parameterized traits (Sartak)
545 - Require Class::MOP 0.75+, which has the side effect of making
546 sure we work on Win32. (Dave Rolsky)
548 0.63 Mon, December 8, 2008
550 - Some small grammar tweaks and bug fixes in non-Moose example
553 0.62_02 Fri, December 5, 2008
554 * Moose::Meta::Role::Application::ToClass
555 - When a class does not provide all of a role's required
556 methods, the error thrown now mentions all of the missing
557 methods, as opposed to just the first one found. Requested by
558 Curtis Poe (RT #41119). (Dave Rolsky)
560 * Moose::Meta::Method::Constructor
561 - Moose will no longer inline a constructor for your class
562 unless it inherits its constructor from Moose::Object, and
563 will warn when it doesn't inline. If you want to force
564 inlining anyway, pass "replace_constructor => 1" to
565 make_immutable. Addresses RT #40968, reported by Jon
566 Swartz. (Dave Rolsky)
567 - The quoting of default values could be broken if the default
568 contained a single quote ('). Now we use quotemeta to escape
569 anything potentially dangerous in the defaults. (Dave Rolsky)
571 0.62_01 Wed, December 3, 2008
573 - use the method->execute API for BUILDALL
574 and DEMOLISHALL (Sartak)
576 * Moose::Util::TypeConstraints
577 - We now make all the type constraint meta classes immutable
578 before creating the default types provided by Moose. This
579 should make loading Moose a little faster. (Dave Rolsky)
581 0.62 Wed November 26, 2008
582 * Moose::Meta::Role::Application::ToClass
583 Moose::Meta::Role::Application::ToRole
584 - fixed issues where excluding and aliasing the
585 same methods for a single role did not work
586 right (worked just fine with multiple
588 - added test for this (stevan)
590 * Moose::Meta::Role::Application::RoleSummation
591 - fixed the error message when trying to compose
592 a role with a role it excludes (Sartak)
595 - Catch another case where recursion caused the value
596 of $CALLER to be stamped on (t0m)
597 - added test for this (t0m)
600 - Remove the make_immutable keyword, which has been
601 deprecated since April. It breaks metaclasses that
602 use Moose without no Moose (Sartak)
604 * Moose::Meta::Attribute
605 - Removing an attribute from a class now also removes delegation
606 (handles) methods installed for that attribute (t0m)
607 - added test for this (t0m)
609 * Moose::Meta::Method::Constructor
610 - An attribute with a default that looked like a number (but was
611 really a string) would accidentally be treated as a number
612 when the constructor was made immutable (perigrin)
613 - added test for this (perigrin)
616 - create method for constructing a role
618 - added test for this (Sartak)
619 - anonymous roles! (Sartak)
620 - added test for this (Sartak)
623 - more consistent error messages (Sartak)
625 * Moose::Cookbook::Roles::Recipe1
626 - attempt to explain why a role that just requires
627 methods is useful (Sartak)
629 0.61 Fri November 7, 2008
630 * Moose::Meta::Attribute
631 - When passing a role to handles, it will be loaded if necessary
635 - Method objects returned by get_method (and other methods)
636 Could end up being returned without an associated_metaclass
637 attribute. Removing get_method_map, which is provided by
638 Class::MOP::Class, fixed this. The Moose version did nothing
639 different from its parent except introduce a bug. (Dave Rolsky)
640 - added tests for this (jdv79)
643 - Added a $VERSION to all .pm files which didn't have one. Fixes
644 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
646 * Moose::Cookbook::Basics::Recipe4
647 * Moose::Cookbook::Basics::Recipe6
648 - These files had spaces on the first line of the SYNOPSIS, as
649 opposed to a totally empty line. According to RT #40432, this
650 confuses POD parsers. (Dave Rolsky)
652 0.60 Fri October 24, 2008
654 - Passing "-traits" when loading Moose caused the Moose.pm
655 exports to be broken. Reported by t0m. (Dave Rolsky)
656 - Tests for this bug. (t0m)
659 - Change resolve_metaclass alias to use the new
660 load_first_existing_class function. This makes it a lot
661 simpler, and also around 5 times faster. (t0m)
662 - Add caching to resolve_metaclass_alias, which gives an order
663 of magnitude speedup to things which repeatedly call the
664 Moose::Meta::Attribute->does method, notably MooseX::Storage
667 * Moose::Util::TypeConstraint
668 - Put back the changes for parameterized constraints that
669 shouldn't have been removed in 0.59. We still cannot parse
670 them, but MooseX modules can create them in some other
671 way. See the 0.58 changes for more details. (jnapiorkowski)
672 - Changed the way subtypes are created so that the job is
673 delegated to a type constraint parent. This clears up some
674 hardcoded checking and should allow correct subtypes of
675 Moose::Meta::Type::Constraint. Don't rely on this new API too
676 much (create_child_type) because it may go away in the
677 future. (jnapiorkowski)
679 * Moose::Meta::TypeConstraint::Union
680 - Type constraint names are sorted as strings, not numbers.
683 * Moose::Meta::TypeConstraint::Parameterizable
684 - New parameterize method. This can be used as a factory method
685 to make a new type constraint with a given parameterized
686 type. (jnapiorkowski)
687 - added tests (jnapiorkowski)
689 0.59 Tue October 14, 2008
691 - Add abridged documentation for builder/default/initializer/
692 predicate, and link to more details sections in
693 Class::MOP::Attribute. (t0m)
695 * Moose::Util::TypeConstraints
696 - removed prototypes from all but the &-based stuff (mst)
698 * Moose::Util::TypeConstraints
699 - Creating a anonymous subtype with both a constraint and a
700 message failed with a very unhelpful error, but should just
701 work. Reported by t0m. (Dave Rolsky)
704 - Some tests that used Test::Warn if it was available failed
705 with older versions of Test::Warn. Reported by Fayland. (Dave
707 - Test firing behavior of triggers in relation to builder/default/
709 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
710 kinds of supported type. (t0m)
713 - In create(), do not pass "roles" option to the superclass
714 - added related test that creates an anon metaclass with
717 * Moose::Meta::TypeConstraint::Class
718 * Moose::Meta::TypeConstraint::Role
719 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
720 other types (as per change in 0.55_02). (t0m)
722 * Moose::Meta::TypeConstraint::Registry
723 - Fix warning when dealing with unknown type names (t0m)
725 * Moose::Util::TypeConstraints
726 - Reverted changes from 0.58 related to handle parameterized
727 types. This caused random failures on BSD and Win32 systems,
728 apparently related to the regex engine. This means that Moose
729 can no longer parse structured type constraints like
730 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
731 supported in a slightly different way via MooseX::Types some
732 time in the future. (Dave Rolsky)
734 0.58 Sat September 20, 2008
735 !! This release has an incompatible change regarding !!
736 !! how roles add methods to a class !!
738 * Roles and role application
739 ! Roles now add methods by calling add_method, not
740 alias_method. They make sure to always provide a method
741 object, which will be cloned internally. This means that it is
742 now possible to track the source of a method provided by a
743 role, and even follow its history through intermediate roles.
745 This means that methods added by a role now show up when
746 looking at a class's method list/map. (Dave Rolsky)
749 - From this release on, we'll try to maintain a list of
750 conflicting modules, and warn you if you have one
751 installed. For example, this release conflicts with ...
752 - MooseX::Singleton <= 0.11
753 - MooseX::Params::Validate <= 0.05
756 In general, we try to not break backwards compatibility for
757 most Moose users, but MooseX modules and other code which
758 extends Moose's metaclasses is often affected by very small
759 changes in the Moose internals.
761 * Moose::Meta::Method::Delegation
762 * Moose::Meta::Attribute
763 - Delegation methods now have their own method class. (Dave
766 * Moose::Meta::TypeConstraint::Parameterizable
767 - Added a new method 'parameterize' which is basically a factory
768 for the containing constraint. This makes it easier to create
769 new types of parameterized constraints. (jnapiorkowski)
771 * Moose::Meta::TypeConstraint::Union
772 - Changed the way Union types canonicalize their names to follow
773 the normalized TC naming rules, which means we strip all
774 whitespace. (jnapiorkowski)
776 * Moose::Util::TypeConstraints
777 - Parameter and Union args are now sorted, this makes Int|Str
778 the same constraint as Str|Int. (jnapiorkowski)
779 - Changes to the way Union types are parsed to more correctly
780 stringify their names. (jnapiorkowski)
781 - When creating a parameterized type, we now use the new
782 parameterize method. (jnapiorkowski)
783 - Incoming type constraint strings are now normalized to remove
784 all whitespace differences. (jnapiorkowski)
785 - Changed the way we parse type constraint strings so that we now
786 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
787 constraints. This lays the foundation for more flexible type
788 constraint implementations.
790 * Tests and docs for all the above. (jnapiorkowski)
794 - Moose::Exporter will no longer remove a subroutine that the
795 exporting package re-exports. Moose re-exports the
796 Carp::confess function, among others. The reasoning is that we
797 cannot know whether you have also explicitly imported those
798 functions for your own use, so we err on the safe side and
799 always keep them. (Dave Rolsky)
800 - added tests for this (rafl)
803 - Changes to how we fix metaclass compatibility that are much
804 too complicated to go into. The summary is that Moose is much
805 less likely to complain about metaclass incompatibility
806 now. In particular, if two metaclasses differ because
807 Moose::Util::MetaRole was used on the two corresponding
808 classes, then the difference in roles is reconciled for the
809 subclass's metaclass. (Dave Rolsky)
810 - Squashed an warning in _process_attribute (thepler)
813 - throw exceptions (sooner) for invalid attribute names (thepler)
814 - added tests for this (thepler)
816 * Moose::Util::MetaRole
817 - If you explicitly set a constructor or destructor class for a
818 metaclass object, and then applied roles to the metaclass,
819 that explicitly set class would be lost and replaced with the
823 * Moose::Meta::Attribute
824 * Moose::Meta::Method
827 * Moose::Error::Default
828 * Moose::Error::Croak
829 * Moose::Error::Confess
830 - All instances of confess() changed to use overridable
831 C<throw_error> method. This method ultimately calls a class
832 constructor, and you can change the class being called. In
833 addition, errors now pass more information than just a string.
834 The default C<error_class> behaves like C<Carp::confess>, so
835 the behavior is not visibly different for end users.
837 0.57 Wed September 3, 2008
839 - A new bit of doc intended to introduce folks familiar with
840 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
843 - Shows examples of two classes, each done first with and then
844 without Moose. This makes a nice parallel to
845 Moose::Intro. (Dave Rolsky)
847 * Moose::Util::TypeConstraints
848 - Fixed a bug in find_or_parse_type_constraint so that it
849 accepts a Moose::Meta::TypeConstraint object as the parent
850 type, not just a name (jnapiorkowski)
851 - added tests (jnapiorkowski)
854 - If Sub::Name was not present, unimporting failed to actually
855 remove some sugar subs, causing test failures (Dave Rolsky)
857 0.56 Mon September 1, 2008
858 For those not following the series of dev releases, there are
859 several major changes in this release of Moose.
860 ! Moose::init_meta should now be called as a method. See the
863 - Major performance improvements by nothingmuch.
865 - New modules for extension writers, Moose::Exporter and
866 Moose::Util::MetaRole by Dave Rolsky.
868 - Lots of doc improvements and additions, especially in the
873 * Removed all references to the experimental-but-no-longer-needed
874 Moose::Meta::Role::Application::ToMetaclassInstance.
876 * Require Class::MOP 0.65.
878 0.55_04 Sat August 30, 2008
879 * Moose::Util::MetaRole
880 * Moose::Cookbook::Extending::Recipe2
881 - This simplifies the application of roles to any meta class, as
882 well as the base object class. Reimplemented metaclass traits
883 using this module. (Dave Rolsky)
885 * Moose::Cookbook::Extending::Recipe1
886 - This a new recipe, an overview of various ways to write Moose
887 extensions (Dave Rolsky)
889 * Moose::Cookbook::Extending::Recipe3
890 * Moose::Cookbook::Extending::Recipe4
891 - These used to be Extending::Recipe1 and Extending::Recipe2,
894 0.55_03 Fri August 29, 2008
895 * No changes from 0.55_02 except increasing the Class::MOP
896 dependency to 0.64_07.
898 0.55_02 Fri August 29, 2008
899 * Makefile.PL and Moose.pm
900 - explicitly require Perl 5.8.0+ (Dave Rolsky)
902 * Moose::Util::TypeConstraints
903 - Fix warnings from find_type_constraint if the type is not
906 * Moose::Meta::TypeConstraint
907 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
908 return false if the type you specify cannot be found in the
909 type registry, rather than throwing an unhelpful and
910 coincidental exception. (t0m).
911 - added docs & test for this (t0m)
913 * Moose::Meta::TypeConstraint::Registry
914 - add_type_constraint now throws an exception if a parameter is
916 - added docs & test for this (t0m)
918 * Moose::Cookbook::FAQ
919 - Added a faq entry on the difference between "role" and "trait"
923 - Fixed a bug that caused role composition to not see a required
924 method when that method was provided by another role being
925 composed at the same time. (Dave Rolsky)
926 - test and bug finding (tokuhirom)
928 0.55_01 Wed August 20, 2008
930 !! Calling Moose::init_meta as a function is now !!
931 !! deprecated. Please see the Moose.pm docs for details. !!
933 * Moose::Meta::Method::Constructor
934 - Fix inlined constructor so that values produced by default
935 or builder methods are coerced as required. (t0m)
936 - added test for this (t0m)
938 * Moose::Meta::Attribute
939 - A lazy attribute with a default or builder did not attempt to
940 coerce the default value. The immutable code _did_
942 - added test for this (t0m)
945 - This is a new helper module for writing "Moose-alike"
946 modules. This should make the lives of MooseX module authors
947 much easier. (Dave Rolsky)
950 * Moose::Cookbook::Meta::Recipe5
951 - Implemented metaclass traits (and wrote a recipe for it):
953 use Moose -traits => 'Foo'
955 This should make writing small Moose extensions a little
958 * Moose::Cookbook::Basics::Recipe1
959 - Removed any examples of direct hashref access, and applied an
960 editorial axe to reduce verbosity. (Dave Rolsky)
962 * Moose::Cookbook::Basics::Recipe1
963 - Also applied an editorial axe here. (Dave Rolsky)
966 * Moose::Cookbook::Extending::Recipe1
967 * Moose::Cookbook::Extending::Recipe2
968 - Rewrote extending and embedding moose documentation and
969 recipes to use Moose::Exporter (Dave Rolsky)
973 - These two modules now warn when you load them from the main
974 package "main" package, because we will not export sugar to
975 main. Previously it just did nothing. (Dave Rolsky)
978 - Now provide an init_meta method just like Moose.pm, and you
979 can call this to provide an alternate role metaclass. (Dave
980 Rolsky and nothingmuch)
981 - get_method_map now respects the package cache flag (nothingmuch)
984 - Two new methods - add_method and wrap_method_body
988 - Optimizations including allowing constructors to accept hash
989 refs, making many more classes immutable, and making
990 constructors immutable. (nothingmuch)
992 0.55 Sun August 3, 2008
993 * Moose::Meta::Attribute
994 - breaking down the way 'handles' methods are
995 created so that the process can be more easily
996 overridden by subclasses (stevan)
998 * Moose::Meta::TypeConstraint
999 - fixing what is passed into a ->message with
1000 the type constraints (RT #37569)
1001 - added tests for this (Charles Alderman)
1003 * Moose::Util::TypeConstraints
1004 - fix coerce to accept anon types like subtype can (mst)
1007 - reorganized the recipes into sections - Basics, Roles, Meta,
1008 Extending - and wrote abstracts for each section (Dave Rolsky)
1010 * Moose::Cookbook::Basics::Recipe10
1011 - A new recipe that demonstrates operator overloading
1012 in combination with Moose. (bluefeet)
1014 * Moose::Cookbook::Meta::Recipe1
1015 - an introduction to what meta is and why you'd want to make
1016 your own metaclass extensions (Dave Rolsky)
1018 * Moose::Cookbook::Meta::Recipe4
1019 - a very simple metaclass example (Dave Rolsky)
1021 * Moose::Cookbook::Extending::Recipe1
1022 - how to write a Moose-alike module to use your own object base
1025 * Moose::Cookbook::Extending::Recipe2
1026 - how to write modules with an API just like C<Moose.pm> (Dave
1030 - Tons of fixes, both syntactical and grammatical (Dave
1031 Rolsky, Paul Fenwick)
1033 0.54 Thurs. July 3, 2008
1034 ... this is not my day today ...
1036 * Moose::Meta::Attribute
1037 - fixed legal_options_for_inheritance such that
1038 clone_and_inherit options still works for
1039 Class::MOP::Attribute objects and therefore
1040 does not break MooseX::AttributeHelpers
1043 0.53 Thurs. July 3, 2008
1044 * Whoops, I guess I should run 'make manifest' before
1045 actually releasing the module. No actual changes
1046 in this release, except the fact that it includes
1047 the changes that I didn't include in the last
1050 0.52 Thurs. July 3, 2008
1052 - added "FEATURE REQUESTS" section to the Moose docs
1053 to properly direct people (stevan) (RT #34333)
1054 - making 'extends' croak if it is passed a Role since
1055 this is not ever something you want to do
1056 (fixed by stevan, found by obra)
1057 - added tests for this (stevan)
1060 - adding support for DOES (as in UNIVERSAL::DOES)
1062 - added test for this
1064 * Moose::Meta::Attribute
1065 - added legal_options_for_inheritance (wreis)
1066 - added tests for this (wreis)
1068 * Moose::Cookbook::Snacks::*
1069 - removed some of the unfinished snacks that should
1070 not have been released yet. Added some more examples
1071 to the 'Keywords' snack. (stevan)
1073 * Moose::Cookbook::Style
1074 - added general Moose "style guide" of sorts to the
1075 cookbook (nothingmuch) (RT #34335)
1078 - added more BUILDARGS tests (stevan)
1080 0.51 Thurs. Jun 26, 2008
1082 - add unimport so "no Moose::Role" actually does
1085 * Moose::Meta::Role::Application::ToRole
1086 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1087 order to provide its own implementation, that method still got
1088 added to the list of required methods for consumers of
1089 RoleB. Now an aliased method is only added to the list of
1090 required methods if the role doing the aliasing does not
1091 provide its own implementation. See Recipe 11 for an example
1092 of all this. (Dave Rolsky)
1093 - added tests for this
1095 * Moose::Meta::Method::Constructor
1096 - when a single argument that wasn't a hashref was provided to
1097 an immutabilized constructor, the error message was very
1098 unhelpful, as opposed to the non-immutable error. Reported by
1100 - added test for this (Dave Rolsky)
1102 * Moose::Meta::Attribute
1103 - added support for meta_attr->does("ShortAlias") (sartak)
1104 - added tests for this (sartak)
1105 - moved the bulk of the `handles` handling to the new
1106 install_delegation method (Stevan)
1109 - Added BUILDARGS, a new step in new()
1111 * Moose::Meta::Role::Application::RoleSummation
1112 - fix typos no one ever sees (sartak)
1114 * Moose::Util::TypeConstraints
1115 * Moose::Meta::TypeConstraint
1116 * Moose::Meta::TypeCoercion
1117 - Attempt to work around the ??{ } vs. threads issue
1119 - Some null_constraint optimizations
1121 0.50 Thurs. Jun 11, 2008
1122 - Fixed a version number issue by bumping all modules
1125 0.49 Thurs. Jun 11, 2008
1126 !! This version now approx. 20-25% !!
1127 !! faster with new Class::MOP 0.59 !!
1129 * Moose::Meta::Attribute
1130 - fixed how the is => (ro|rw) works with
1131 custom defined reader, writer and accessor
1133 - added docs for this (TODO).
1134 - added tests for this (Thanks to Penfold)
1135 - added the custom attribute alias for regular
1136 Moose attributes which is "Moose"
1137 - fix builder and default both being used
1142 Moose::Meta::Attribute
1144 Moose::Meta::Role::Composite
1145 Moose::Util::TypeConstraints
1146 - switched usage of reftype to ref because
1150 - changing add_package_symbol to use the new
1154 - fixed how DEMOLISHALL is called so that it
1155 can be overrided in subclasses (thanks to Sartak)
1156 - added test for this (thanks to Sartak)
1158 * Moose::Util::TypeConstraints
1159 - move the ClassName type check code to
1160 Class::MOP::is_class_loaded (thanks to Sartak)
1162 * Moose::Cookbook::Recipe11
1163 - add tests for this (thanks to tokuhirom)
1165 0.48 Thurs. May 29, 2008
1166 (early morning release engineering)--
1168 - fixing the version in Moose::Meta::Method::Destructor
1169 which was causing the indexer to choke
1171 0.47 Thurs. May 29, 2008
1172 (late night release engineering)--
1174 - fixing the version is META.yml, no functional
1175 changes in this release
1177 0.46 Wed. May 28, 2008
1178 !! This version now approx. 20-25% !!
1179 !! faster with new Class::MOP 0.57 !!
1181 * Moose::Meta::Class
1182 - some optimizations of the &initialize method
1183 since it is called so often by &meta
1185 * Moose::Meta::Class
1187 - now use the get_all_package_symbols from the
1188 updated Class::MOP, test suite is now 10 seconds
1191 * Moose::Meta::Method::Destructor
1192 - is_needed can now also be called as a class
1193 method for immutablization to check if the
1194 destructor object even needs to be created
1197 * Moose::Meta::Method::Destructor
1198 Moose::Meta::Method::Constructor
1199 - added more descriptive error message to help
1200 keep people from wasting time tracking an error
1201 that is easily fixed by upgrading.
1203 0.45 Saturday, May 24, 2008
1205 - Because of work in Class::MOP 0.57, all
1206 XS based functionality is now optional
1207 and a Pure Perl version is supplied
1208 - the CLASS_MOP_NO_XS environment variable
1209 can now be used to force non-XS versions
1211 - several of the packages have been tweaked
1212 to take care of this, mostly we added
1213 support for the package_name and name
1214 variables in all the Method metaclasses
1215 - before/around/after method modifiers now
1216 support regexp matching of names
1217 (thanks to Takatoshi Kitano)
1218 - tests added for this
1219 - NOTE: this only works for classes, it
1220 is currently not supported in roles,
1221 but, ... patches welcome
1222 - All usage of Carp::confess have been replaced
1223 by Carp::croak in the "keyword" functions since
1224 the stack trace is usually not helpful
1227 - All usage of Carp::confess have been replaced
1228 by Carp::croak in the "keyword" functions since
1229 the stack trace is usually not helpful
1230 - The 'has' keyword for roles now accepts the
1231 same array ref form that Moose.pm does
1232 (has [qw/foo bar/] => (is => 'rw', ...))
1233 - added test for this
1235 * Moose::Meta::Attribute
1236 - trigger on a ro-attribute is no longer an
1237 error, as it's useful to trigger off of the
1240 * Moose::Meta::Class
1241 - added same 'add_package_symbol' fix as in
1245 - does_role now handles non-Moose classes
1247 - added tests for this
1248 - added the 'add_method_modifier' function
1249 (thanks to Takatoshi Kitano)
1251 * Moose::Util::TypeConstraints
1252 - subtypes of parameterizable types now are
1253 themselves parameterizable types
1255 * Moose::Meta::Method::Constructor
1256 - fixed bug where trigger was not being
1257 called by the inlined immutable
1259 - added test for this (thanks to Caelum)
1261 * Moose::Meta::Role::Application::ToInstance
1262 - now uses the metaclass of the instance
1263 (if possible) to create the anon-class
1264 (thanks Jonathan Rockway)
1266 * Moose::Cookbook::Recipe22
1267 - added the meta-attribute trait recipe
1271 - fixed hash-ordering test bug that was
1272 causing occasional cpantester failures
1273 - renamed the t/000_recipe/*.t tests to be
1274 more descriptive (thanks to Sartak)
1276 0.44 Sat. May 10, 2008
1278 - made make_immutable warning cluck to
1279 show where the error is (thanks mst)
1282 - BUILDALL and DEMOLISHALL now call
1283 ->body when looping through the
1284 methods, to avoid the overloaded
1286 - fixed issue where DEMOLISHALL was
1287 eating the $@ values, and so not
1288 working correctly, it still kind of
1289 eats them, but so does vanilla perl
1290 - added tests for this
1292 * Moose::Cookbook::Recipe7
1293 - added new recipe for immutable
1294 functionality (thanks Dave Rolsky)
1296 * Moose::Cookbook::Recipe9
1297 - added new recipe for builder and
1298 lazy_build (thanks Dave Rolsky)
1300 * Moose::Cookbook::Recipe11
1301 - added new recipe for method aliasing
1302 and exclusion with Roles (thanks Dave Rolsky)
1305 - fixed Win32 test failure (thanks spicyjack)
1307 ~ removed Build.PL and Module::Build compat
1308 since Module::Install has done that.
1310 0.43 Wed. April, 30, 2008
1312 drink more coffee before
1313 doing release engineering
1315 - whoops, forgot to do the smolder tests,
1316 and we broke some of the custom meta-attr
1317 modules. This fixes that.
1319 0.42 Mon. April 28, 2008
1320 - some bad tests slipped by, nothing else
1321 changed in this release (cpantesters++)
1323 - upped the Class::MOP dependency to 0.55
1324 since we have tests which need the C3
1327 0.41 Mon. April 28, 2008
1328 ~~ numerous documentation updates ~~
1330 - Changed all usage of die to Carp::croak for better
1331 error reporting (initial patch by Tod Hagan)
1333 ** IMPORTANT NOTE **
1334 - the make_immutable keyword is now deprecated, don't
1335 use it in any new code and please fix your old code
1336 as well. There will be 2 releases, and then it will
1342 - refactored the way inner and super work to avoid
1343 any method/@ISA cache penalty (nothingmuch)
1345 * Moose::Meta::Class
1346 - fixing &new_object to make sure trigger gets the
1347 coerced value (spotted by Charles Alderman on the
1349 - added test for this
1351 * Moose::Meta::Method::Constructor
1352 - immutable classes which had non-lazy attributes were calling
1353 the default generating sub twice in the constructor. (bug
1354 found by Jesse Luehrs, fixed by Dave Rolsky)
1355 - added tests for this (Dave Rolsky)
1356 - fix typo in initialize_body method (nothingmuch)
1358 * Moose::Meta::Method::Destructor
1359 - fix typo in initialize_body method (nothingmuch)
1361 * Moose::Meta::Method::Overriden
1362 Moose::Meta::Method::Augmented
1363 - moved the logic for these into their own
1364 classes (nothingmuch)
1366 * Moose::Meta::Attribute
1367 - inherited attributes may now be extended without
1368 restriction on the type ('isa', 'does') (Sartak)
1369 - added tests for this (Sartak)
1370 - when an attribute property is malformed (such as lazy without
1371 a default), give the name of the attribute in the error
1373 - added the &applied_traits and &has_applied_traits methods
1374 to allow introspection of traits
1375 - added tests for this
1376 - moved 'trait' and 'metaclass' argument handling to here from
1378 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1379 '+foo' syntax) (nothingmuch)
1380 - added tests for this (t0m)
1383 - localize $@ inside DEMOLISHALL to avoid it
1384 eating $@ (found by Ernesto)
1385 - added test for this (thanks to Ernesto)
1387 * Moose::Util::TypeConstraints
1388 - &find_type_constraint now DWIMs when given an
1389 type constraint object or name (nothingmuch)
1390 - &find_or_create_type_constraint superseded with a number of more
1392 - find_or_create_{isa,does}_type_constraint
1393 - find_or_parse_type_constraint
1395 * Moose::Meta::TypeConstraint
1396 Moose::Meta::TypeConstraint::Class
1397 Moose::Meta::TypeConstraint::Role
1398 Moose::Meta::TypeConstraint::Enum
1399 Moose::Meta::TypeConstraint::Union
1400 Moose::Meta::TypeConstraint::Parameterized
1401 - added the &equals method for comparing two type
1402 constraints (nothingmuch)
1403 - added tests for this (nothingmuch)
1405 * Moose::Meta::TypeConstraint
1406 - add the &parents method, which is just an alias to &parent.
1407 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1409 * Moose::Meta::TypeConstraint::Class
1410 - added the class attribute for introspection purposes
1412 - added tests for this
1414 * Moose::Meta::TypeConstraint::Enum
1415 Moose::Meta::TypeConstraint::Role
1416 - broke these out into their own classes (nothingmuch)
1418 * Moose::Cookbook::Recipe*
1419 - fixed references to test file locations in the POD
1420 and updated up some text for new Moose features
1424 - Added &resolve_metaclass_alias, a helper function for finding an actual
1425 class for a short name (e.g. in the traits list)
1427 0.40 Fri. March 14, 2008
1428 - I hate Pod::Coverage
1430 0.39 Fri. March 14, 2008
1432 - documenting the use of '+name' with attributes
1433 that come from recently composed roles. It makes
1434 sense, people are using it, and so why not just
1435 officially support it.
1436 - fixing the 'extends' keyword so that it will not
1437 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1440 - added the perl -Moose=+Class::Name feature to allow
1441 monkeypatching of classes in one liners
1444 - fixing the 'apply_all_roles' keyword so that it will not
1445 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1447 * Moose::Meta::Class
1448 - added ->create method which now supports roles (thanks to jrockway)
1449 - added tests for this
1450 - added ->create_anon_class which now supports roles and caching of
1451 the results (thanks to jrockway)
1452 - added tests for this
1453 - made ->does_role a little more forgiving when it is
1454 checking a Class::MOP era metaclasses.
1456 * Moose::Meta::Role::Application::ToInstance
1457 - it is now possible to pass extra params to be used when
1458 a role is applied to an the instance (rebless_params)
1459 - added tests for this
1461 * Moose::Util::TypeConstraints
1462 - class_type now accepts an optional second argument for a
1463 custom message. POD anotated accordingly (groditi)
1464 - added tests for this
1465 - it is now possible to make anon-enums by passing 'enum' an
1466 ARRAY ref instead of the $name => @values. Everything else
1468 - added tests for this
1471 - making test for using '+name' on attributes consumed
1472 from a role, it works and makes sense too.
1474 * Moose::Meta::Attribute
1475 - fix handles so that it doesn't return nothing
1476 when the method cannot be found, not sure why
1477 it ever did this originally, this means we now
1478 have slightly better support for AUTOLOADed
1480 - added more delegation tests
1481 - adding ->does method to this so as to better
1482 support traits and their introspection.
1483 - added tests for this
1486 - localizing the Data::Dumper configurations so
1487 that it does not pollute others (RT #33509)
1488 - made ->does a little more forgiving when it is
1489 passed Class::MOP era metaclasses.
1491 0.38 Fri. Feb. 15, 2008
1492 * Moose::Meta::Attribute
1493 - fixed initializer to correctly do
1494 type checking and coercion in the
1496 - added tests for this
1499 - fixed some finicky tests (thanks to konobi)
1501 0.37 Thurs. Feb. 14, 2008
1503 - fixed some details in Moose::init_meta
1504 and its superclass handling (thanks thepler)
1505 - added tests for this (thanks thepler)
1506 - 'has' now dies if you don't pass in name
1508 - added the 'make_immutable' keyword as a shortcut
1511 * Moose::Meta::Class
1512 Moose::Meta::Method::Constructor
1513 Moose::Meta::Attribute
1514 - making (init_arg => undef) work here too
1515 (thanks to nothingmuch)
1517 * Moose::Meta::Attribute
1518 Moose::Meta::Method::Constructor
1519 Moose::Meta::Method::Accessor
1520 - make lazy attributes respect attr initializers (rjbs)
1521 - added tests for this
1523 * Moose::Util::TypeConstraints
1524 Moose::Util::TypeConstraints::OptimizedConstraints
1525 Moose::Meta::TypeConstraints
1526 Moose::Meta::Attribute
1527 Moose::Meta::Method::Constructor
1528 Moose::Meta::Method::Accessor
1529 - making type errors use the
1530 assigned message (thanks to Sartak)
1531 - added tests for this
1533 * Moose::Meta::Method::Destructor
1534 - making sure DESTROY gets inlined properly
1535 with successive DEMOLISH calls (thanks to manito)
1537 * Moose::Meta::Attribute
1538 Moose::Meta::Method::Accessor
1539 - fixed handling of undef with type constraints
1541 - added tests for this
1544 - added &get_all_init_args and &get_all_attribute_values
1545 (thanks to Sartak and nothingmuch)
1547 0.36 Sat. Jan. 26, 2008
1549 Moose::Meta::Attribute
1550 - role type tests now support when roles are
1551 applied to non-Moose classes (found by ash)
1552 - added tests for this (thanks to ash)
1553 - couple extra tests to boost code coverage
1555 * Moose::Meta::Method::Constructor
1556 - improved fix for handling Class::MOP attributes
1557 - added test for this
1559 * Moose::Meta::Class
1560 - handled the add_attribute($attribute_meta_object)
1562 - added test for this
1564 0.35 Tues. Jan. 22, 2008
1565 * Moose::Meta::Method::Constructor
1566 - fix to make sure even Class::MOP attributes
1567 are handled correctly (Thanks to Dave Rolsky)
1568 - added test for this (also Dave Rolsky)
1570 * Moose::Meta::Class
1571 - improved error message on _apply_all_roles,
1572 you should now use Moose::Util::apply_all_roles
1573 and you shouldnt have been using a _ prefixed
1574 method in the first place ;)
1576 0.34 Mon. Jan. 21, 2008
1577 ~~~ more misc. doc. fixes ~~~
1578 ~~ updated copyright dates ~~
1580 Moose is now a postmodern object system :)
1581 - (see the POD for details)
1583 * <<Role System Refactoring>>
1584 - this release contains a major reworking and
1585 cleanup of the role system
1586 - 100% backwards compat.
1587 - Role application now restructured into seperate
1588 classes based on type of applicants
1589 - Role summation (combining of more than one role)
1590 is much cleaner and anon-classes are no longer
1591 used in this process
1592 - new Composite role metaclass
1593 - runtime application of roles to instances
1594 is now more efficient and re-uses generated
1595 classes when applicable
1597 * <<New Role composition features>>
1598 - methods can now be excluded from a given role
1600 - methods can now be aliased to another name (and
1601 still retain the original as well)
1603 * Moose::Util::TypeConstraints::OptimizedConstraints
1604 - added this module (see above)
1606 * Moose::Meta::Class
1607 - fixed the &_process_attribute method to be called
1608 by &add_attribute, so that the API is now correct
1610 * Moose::Meta::Method::Accessor
1611 - fixed bug when passing a list of values to
1612 an accessor would get (incorrectly) ignored.
1613 Thanks to Sartak for finding this ;)
1614 - added tests for this (Sartak again)
1616 * Moose::Meta::Method::Accessor
1617 Moose::Meta::Method::Constructor
1618 Moose::Meta::Attribute
1619 Moose::Meta::TypeConstraint
1620 Moose::Meta::TypeCoercion
1621 - lots of cleanup of such things as:
1623 - type constraint handling
1624 - error handling/messages
1625 (thanks to nothingmuch)
1627 * Moose::Meta::TypeConstraint::Parameterizable
1628 - added this module to support the refactor
1629 in Moose::Meta::TypeConstraint::Parameterized
1631 * Moose::Meta::TypeConstraint::Parameterized
1632 - refactored how these types are handled so they
1633 are more generic and not confined to ArrayRef
1637 - shortened some file names for better VMS support (RT #32381)
1639 0.33 Fri. Dec. 14, 2007
1640 !! Moose now loads 2 x faster !!
1641 !! with new Class::MOP 0.49 !!
1643 ++ new oose.pm module to make command line
1644 Moose-ness easier (see POD docs for more)
1646 * Moose::Meta::Class
1648 - several tweaks to take advantage of the
1649 new method map caching in Class::MOP
1651 * Moose::Meta::TypeConstraint::Parameterized
1652 - allow subtypes of ArrayRef and HashRef to
1653 be used as a container (sartak)
1654 - added tests for this
1655 - basic support for coercion to ArrayRef and
1656 HashRef for containers (sartak)
1657 - added tests for this
1659 * Moose::Meta::TypeCoercion
1660 - coercions will now create subtypes as needed
1661 so you can now add coercions to parameterized
1662 types without having to explictly define them
1663 - added tests for this
1665 * Moose::Meta::Method::Accessor
1666 - allow subclasses to decide whether we need
1667 to copy the value into a new variable (sartak)
1669 0.32 Tues. Dec. 4, 2007
1670 * Moose::Util::TypeConstraints
1671 - fixing how subtype aliases of unions work
1672 they should inherit the parent's coercion
1673 - added tests for this
1674 - you can now define multiple coercions on
1675 a single type at different times instead of
1676 having to do it all in one place
1677 - added tests for this
1679 * Moose::Meta::TypeConstraint
1680 - there is now a default constraint of sub { 1 }
1681 instead of Moose::Util::TypeConstraints setting
1684 * Moose::Meta::TypeCoercion
1685 * Moose::Meta::TypeCoercion::Union
1686 - added the &has_coercion_for_type and
1687 &add_type_coercions methods to support the
1688 new features above (although you cannot add
1689 more type coercions for Union types)
1691 0.31 Mon. Nov. 26, 2007
1692 * Moose::Meta::Attribute
1693 - made the +attr syntax handle extending types with
1694 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1695 now works if the original foo is an ArrayRef.
1696 - added tests for this.
1697 - delegation now works even if the attribute does not
1698 have a reader method using the get_read_method_ref
1699 method from Class::MOP::Attribute.
1700 - added tests for this
1701 - added docs for this
1703 * Moose::Util::TypeConstraints
1704 - passing no "additional attribute info" to
1705 &find_or_create_type_constraint will no longer
1706 attempt to create an __ANON__ type for you,
1707 instead it will just return undef.
1708 - added docs for this
1710 0.30 Fri. Nov. 23, 2007
1711 * Moose::Meta::Method::Constructor
1712 -builder related bug in inlined constructor. (groditi)
1714 * Moose::Meta::Method::Accessor
1715 - genereate unnecessary calls to predicates and refactor
1716 code generation for runtime speed (groditi)
1718 * Moose::Util::TypeConstraints
1719 - fix ClassName constraint to introspect symbol table (mst)
1720 - added more tests for this (mst)
1721 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1722 with work correctly.
1723 - added tests for this
1726 - adding the link to Recipie 11 (written by Sartak)
1727 - adding test for SYNOPSIS code
1730 - New tests for builder bug. Upon instantiation, if an
1731 attribute had a builder, no value and was not lazy the
1732 builder default was not getting run, oops. (groditi)
1734 0.29 Tues. Nov. 13, 2007
1735 * Moose::Meta::Attribute
1736 - Fix error message on missing builder method (groditi)
1738 * Moose::Meta::Method::Accessor
1739 - Fix error message on missing builder method (groditi)
1742 - Add test to check for the correct error message when
1743 builder method is missing (groditi)
1745 0.28 Tues. Nov. 13, 2007
1746 - 0.27 packaged incorrectly (groditi)
1748 0.27 Tues. Nov. 13, 2007
1749 * Moose::Meta::Attribute
1750 - Added support for the new builder option (groditi)
1751 - Added support for lazy_build option (groditi)
1752 - Changed slot initialization for predicate changes (groditi)
1754 * Moose::Meta::Method::Accessor
1755 - Added support for lazy_build option (groditi)
1756 - Fix inline methods to work with corrected predicate
1759 * Moose::Meta::Method::Constructor
1760 - Added support for lazy_build option (groditi)
1763 - tests for builder and lazy_build (groditi)
1765 * fixing some misc. bits in the docs that
1766 got mentioned on CPAN Forum & perlmonks
1769 - fixed how required methods are handled
1770 when they encounter overriden or modified
1771 methods from a class (thanks to confound).
1772 - added tests for this
1774 * Moose::Util::TypeConstraint
1775 - fixed the type notation parser so that
1776 the | always creates a union and so is
1777 no longer a valid type char (thanks to
1778 konobi, mugwump and #moose for working
1780 - added more tests for this
1782 0.26 Thurs. Sept. 27, 2007
1785 * Parameterized Types
1786 We now support parameterized collection types, such as:
1787 ArrayRef[Int] # array or integers
1788 HashRef[Object] # a hash with object values
1789 They can also be nested:
1790 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1791 And work with the type unions as well:
1792 ArrayRef[Int | Str] # array of integers of strings
1794 * Better Framework Extendability
1795 Moose.pm is now "extendable" such that it is now much
1796 easier to extend the framework and add your own keywords
1797 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1798 section of the Moose.pm docs.
1801 In an effort to begin documenting some of the various
1802 details of Moose as well as some common idioms, we have
1803 created Moose::Cookbook::Snacks as a place to find
1804 small (easily digestable) nuggets of Moose code.
1807 ~ Several doc updates/cleanup thanks to castaway ~
1809 - converted build system to use Module::Install instead of
1810 Module::Build (thanks to jrockway)
1813 - added all the meta classes to the immutable list and
1814 set it to inline the accessors
1815 - fix import to allow Sub::Exporter like { into => }
1816 and { into_level => } (perigrin)
1817 - exposed and documented init_meta() to allow better
1818 embedding and extending of Moose (perigrin)
1821 - complete re-organization of the test suite
1822 - added some new tests as well
1823 - finally re-enabled the Moose::POOP test since
1824 the new version of DBM::Deep now works again
1827 * Moose::Meta::Class
1828 - fixed very odd and very nasty recursion bug with
1830 - added tests for this (eilara)
1832 * Moose::Meta::Attribute
1833 Moose::Meta::Method::Constructor
1834 Moose::Meta::Method::Accessor
1835 - fixed issue with overload::Overloaded getting called
1836 on non-blessed items. (RT #29269)
1837 - added tests for this
1839 * Moose::Meta::Method::Accessor
1840 - fixed issue with generated accessor code making
1841 assumptions about hash based classes (thanks to dexter)
1843 * Moose::Coookbook::Snacks
1844 - these are bits of documentation, not quite as big as
1845 Recipes but which have no clear place in the module docs.
1846 So they are Snacks! (horray for castaway++)
1848 * Moose::Cookbook::Recipe4
1849 - updated it to use the new ArrayRef[MyType] construct
1850 - updated the accompanying test as well
1852 +++ Major Refactor of the Type Constraint system +++
1853 +++ with new features added as well +++
1855 * Moose::Util::TypeConstraint
1856 - no longer uses package variable to keep track of
1857 the type constraints, now uses the an instance of
1858 Moose::Meta::TypeConstraint::Registry to do it
1859 - added more sophisticated type notation parsing
1861 - added tests for this
1863 * Moose::Meta::TypeConstraint
1864 - some minor adjustments to make subclassing easier
1865 - added the package_defined_in attribute so that we
1866 can track where the type constraints are created
1868 * Moose::Meta::TypeConstraint::Union
1869 - this is now been refactored to be a subclass of
1870 Moose::Meta::TypeConstraint
1872 * Moose::Meta::TypeCoercion::Union
1873 - this has been added to service the newly refactored
1874 Moose::Meta::TypeConstraint::Union and is itself
1875 a subclass of Moose::Meta::TypeCoercion
1877 * Moose::Meta::TypeConstraint::Parameterized
1878 - added this module (taken from MooseX::AttributeHelpers)
1879 to help construct nested collection types
1880 - added tests for this
1882 * Moose::Meta::TypeConstraint::Registry
1883 - added this class to keep track of type constraints
1885 0.25 Mon. Aug. 13, 2007
1887 - Documentation update to reference Moose::Util::TypeConstraints
1888 under 'isa' in 'has' for how to define a new type
1889 (thanks to shlomif).
1891 * Moose::Meta::Attribute
1892 - required attributes now will no longer accept undef
1893 from the constructor, even if there is a default and lazy
1894 - added tests for this
1895 - default subroutines must return a value which passes the
1897 - added tests for this
1899 * Moose::Meta::Attribute
1900 * Moose::Meta::Method::Constructor
1901 * Moose::Meta::Method::Accessor
1902 - type-constraint tests now handle overloaded objects correctly
1903 in the error message
1904 - added tests for this (thanks to EvanCarroll)
1906 * Moose::Meta::TypeConstraint::Union
1907 - added (has_)hand_optimized_constraint to this class so that
1908 it behaves as the regular Moose::Meta::TypeConstraint does.
1911 - large refactoring of this code
1912 - added several more tests
1913 - tests for subtle conflict resolition issues
1914 added, but not currently running
1917 * Moose::Cookbook::Recipe7
1918 - added new recipe for augment/inner functionality
1920 - added test for this
1923 - a formal definition of roles (still in progress)
1926 - utilities for easier working with Moose classes
1927 - added tests for these
1930 - This contains Moose specific test functions
1931 - added tests for these
1933 0.24 Tues. July 3, 2007
1934 ~ Some doc updates/cleanup ~
1936 * Moose::Meta::Attribute
1937 - added support for roles to be given as parameters
1938 to the 'handles' option.
1939 - added tests and docs for this
1940 - the has '+foo' attribute form now accepts changes to
1941 the lazy option, and the addition of a handles option
1942 (but not changing the handles option)
1943 - added tests and docs for this
1946 - required methods are now fetched using find_method_by_name
1947 so that required methods can come from superclasses
1948 - adjusted tests for this
1950 0.23 Mon. June 18, 2007
1951 * Moose::Meta::Method::Constructor
1952 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1953 * Moose::Meta::Class
1954 - Modify make_immutable to work with the new Class::MOP immutable
1955 mechanism + POD + very basic test (groditi)
1956 * Moose::Meta::Attribute
1957 - Fix handles to use goto() so that caller() comes out properly on
1958 the other side (perigrin)
1960 0.22 Thurs. May 31, 2007
1961 * Moose::Util::TypeConstraints
1962 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1963 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1964 prototypes for functions
1965 - added the ClassName type constraint, this checks for strings
1966 which will respond true to ->isa(UNIVERSAL).
1967 - added tests and docs for this
1968 - subtyping just in name now works correctly by making the
1969 default for where be { 1 }
1970 - added test for this
1972 * Moose::Meta::Method::Accessor
1973 - coerce and lazy now work together correctly, thanks to
1974 merlyn for finding this bug
1975 - tests added for this
1976 - fix reader presedence bug in Moose::Meta::Attribute + tests
1979 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1980 a HASH-ref and missed. This produces better error messages then
1981 having it die cause undef is not a HASH.
1982 - added tests for this
1984 0.21 Thursday, May 2nd, 2007
1986 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1987 - modified unimport to remove super and inner along with the rest
1988 - altered unimport tests to handle this
1991 - altered super export to populate SUPER_SLOT
1993 * Moose::Meta::Class
1994 - altered augment and override modifier application to use *_SLOT
1995 - modified tests for these to unimport one test class each to test
1998 - fixed issue where custom attribute metaclasses
1999 where not handled correctly in roles
2000 - added tests for this
2002 * Moose::Meta::Class
2003 - fixed issue where extending metaclasses with
2004 roles would blow up. Thanks to Aankhen`` for
2005 finding this insidious error, and it's solution.
2007 ~~ lots of spelling and grammer fixes in the docs,
2008 many many thanks to rlb3 and Aankhen for these :)
2010 0.20 Friday, April 6th, 2007
2011 >> I messed up the SKIP logic in one test
2012 so this release is just to fix that.
2015 - 'has' now also accepts an ARRAY ref
2016 to create multiple attrs (see docs)
2017 (thanks to konobi for this)
2018 - added tests and docs
2020 0.19 Thurs. April 5th, 2007
2021 ~~ More documentation updates ~~
2023 * Moose::Util::TypeConstraints
2024 - 'type' now supports messages as well
2025 thanks to phaylon for finding this
2026 - added tests for this
2027 - added &list_all_type_constraints and
2028 &list_all_builtin_type_constraints
2029 functions to facilitate introspection.
2031 * Moose::Meta::Attribute
2032 - fixed regexp 'handles' declarations
2033 to build the list of delegated methods
2034 correctly (and not override important
2035 things like &new) thanks to ashleyb
2037 - added tests and docs for this
2038 - added the 'documentation' attributes
2039 so that you can actually document your
2040 attributes and inspect them through the
2042 - added tests and docs for this
2044 * Moose::Meta::Class
2045 - when loading custom attribute metaclasses
2046 it will first look in for the class in the
2047 Moose::Meta::Attribute::Custom::$name, and
2048 then default to just loading $name.
2049 - added tests and docs for this
2051 * Moose::Meta::TypeConstraint
2052 - type constraints now stringify to their names.
2053 - added test for this
2056 - added tests to assure we work with Module::Refresh
2057 - added stricter test skip logic in the Moose POOP
2058 test, ask Rob Kinyon why.
2059 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
2061 0.18 Sat. March 10, 2007
2062 ~~ Many, many documentation updates ~~
2065 - We now use Class::MOP::load_class to
2067 - added tests to show types and subtypes
2068 working with Declare::Constraints::Simple
2069 and Test::Deep as constraint engines.
2072 !! You must have Class::MOP 0.37_001 !!
2073 !! for this developer release to work !!
2075 This release was primarily adding the immutable
2076 feature to Moose. An immutable class is one which
2077 you promise not to alter. When you set the class
2078 as immutable it will perform various bits of
2079 memoization and inline certain part of the code
2080 (constructors, destructors and accessors). This
2081 minimizes (and in some cases totally eliminates)
2082 one of Moose's biggest performance hits. This
2083 feature is not on by default, and is 100% optional.
2084 It has several configurable bits as well, so you
2085 can pick and choose to your specific needs.
2087 The changes involved in this were fairly wide and
2088 highly specific, but 100% backwards compatible, so
2089 I am not going to enumerate them here. If you are
2090 truely interested in what was changed, please do
2093 0.17 Tues. Nov. 14, 2006
2094 * Moose::Meta::Method::Accessor
2095 - bugfix for read-only accessors which
2096 are have a type constraint and lazy.
2097 Thanks to chansen for finding it.
2099 0.16 Tues. Nov. 14, 2006
2101 There are some speed improvements in this release,
2102 but they are only the begining, so stay tuned.
2105 - BUILDALL and DEMOLISHALL no longer get
2106 called unless they actually need to be.
2107 This gave us a signifigant speed boost
2108 for the cases when there is no BUILD or
2109 DEMOLISH method present.
2111 * Moose::Util::TypeConstraints
2112 * Moose::Meta::TypeConstraint
2113 - added an 'optimize_as' option to the
2114 type constraint, which allows for a
2115 hand optimized version of the type
2116 constraint to be used when possible.
2117 - Any internally created type constraints
2118 now provide an optimized version as well.
2120 0.15 Sun. Nov. 5, 2006
2122 This version of Moose *must* have Class::MOP 0.36 in order
2123 to work correctly. A number of small internal tweaks have
2124 been made in order to be compatible with that release.
2126 * Moose::Util::TypeConstraints
2127 - added &unimport so that you can clean out
2128 your class namespace of these exported
2131 * Moose::Meta::Class
2132 - fixed minor issue which occasionally
2133 comes up during global destruction
2135 - moved Moose::Meta::Method::Overriden into
2139 - moved Moose::Meta::Role::Method into
2142 * Moose::Meta::Attribute
2143 - changed how we do type checks so that
2144 we reduce the overall cost, but still
2147 - moved accessor generation methods to
2148 Moose::Meta::Method::Accessor to
2149 conform to the API changes from
2152 * Moose::Meta::TypeConstraint
2153 - changed how constraints are compiled
2154 so that we do less recursion and more
2155 iteration. This makes the type check
2157 - moved Moose::Meta::TypeConstraint::Union
2160 * Moose::Meta::Method::Accessor
2161 - created this from methods formerly found in
2162 Moose::Meta::Attribute
2164 * Moose::Meta::Role::Method
2165 - moved this from Moose::Meta::Role
2167 * Moose::Meta::Method::Overriden
2168 - moved this from Moose::Meta::Class
2170 * Moose::Meta::TypeConstraint::Union
2171 - moved this from Moose::Meta::TypeConstraint
2173 0.14 Mon. Oct. 9, 2006
2175 * Moose::Meta::Attribute
2176 - fixed lazy attributes which were not getting
2177 checked with the type constraint (thanks ashley)
2178 - added tests for this
2179 - removed the over-enthusiastic DWIMery of the
2180 automatic ArrayRef and HashRef defaults, it
2181 broke predicates in an ugly way.
2182 - removed tests for this
2184 0.13 Sat. Sept. 30, 2006
2186 This version of Moose *must* have Class::MOP 0.35 in order
2187 to work correctly. A number of small internal tweaks have
2188 been made in order to be compatible with that release.
2191 - Removed the use of UNIVERSAL::require to be a better
2192 symbol table citizen and remove a dependency
2193 (thanks Adam Kennedy)
2195 **~~ removed experimental & undocumented feature ~~**
2196 - commented out the 'method' and 'self' keywords, see the
2197 comments for more info.
2200 - added a FAQ and WTF files to document frequently
2201 asked questions and common problems
2203 * Moose::Util::TypeConstraints
2204 - added GlobRef and FileHandle type constraint
2205 - added tests for this
2207 * Moose::Meta::Attribute
2208 - if your attribute 'isa' ArrayRef of HashRef, and you have
2209 not explicitly set a default, then make the default DWIM.
2210 This will also work for subtypes of ArrayRef and HashRef
2212 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2213 - new test added for this (thanks to ashley)
2216 - added basic support for runtime role composition
2217 but this is still *highly experimental*, so feedback
2218 is much appreciated :)
2219 - added tests for this
2221 * Moose::Meta::TypeConstraint
2222 - the type constraint now handles the coercion process
2223 through delegation, this is to support the coercion
2226 * Moose::Meta::TypeConstraint::Union
2227 - it is now possible for coercions to be performed
2229 - added tests for this (thanks to konobi)
2231 * Moose::Meta::TypeCoercion
2232 - properly capturing error when type constraint
2236 - Scalar::Util 1.18 is bad on Win32, so temporarily
2237 only require version 1.17 for Win32 and cygwin.
2238 (thanks Adam Kennedy)
2240 0.12 Sat. Sept. 1, 2006
2242 - Recipe5 (subtypes & coercion) has been written
2245 - fixed "bad meta" error message to be more descriptive
2246 - fixed &unimport to not remove the &inner and &super
2247 keywords because we need to localize them.
2248 - fixed number of spelling/grammer issues, thanks Theory :)
2250 **~~ experimental & undocumented feature ~~**
2251 - added the method and self keywords, they are basically
2252 just sugar, and they may not stay around.
2255 - added &dump method to easily Data::Dumper
2258 * Moose::Meta::TypeConstraint
2259 - added the &is_a_type_of method to check both the current
2260 and the subtype of a method (similar to &isa with classes)
2263 - this is now a subclass of Class::MOP::Module, and no longer
2264 creates the _role_meta ugliness of before.
2265 - fixed tests to reflect this change
2267 0.11 Wed. July 12, 2006
2269 - added an &unimport method to remove all the keywords
2270 that Moose will import, simply add 'no Moose' to the
2271 bottom of your class file.
2274 - fixed some test failures caused by a forgotten test
2277 0.10 Thurs. July 6, 2006
2279 - improved error message when loading modules so
2280 it is less confusing when you load a role.
2281 - added &calculate_all_roles method to
2282 Moose::Meta::Class and Moose::Meta::Role
2285 This module has been tested against Class::MOP 0.30
2286 but it does not yet utilize the optimizations
2287 it makes available. Stay tuned for that ;)
2289 0.09_03 Fri. June 23, 2006
2290 ++ DEVELOPER RELEASE ++
2292 - 'use strict' and 'use warnings' are no longer
2293 needed in Moose classes, Moose itself will
2294 turn them on for you.
2295 - added tests for this
2296 - moved code from exported subs to private methods
2297 in Moose::Meta::Class
2300 - as with Moose, strict and warnings are
2301 automatically turned on for you.
2302 - added tests for this
2305 - now handles an edge case for override errors
2306 - added tests for this
2307 - added some more edge case tests
2309 0.09_02 Tues. May 16, 2006
2310 ++ DEVELOPER RELEASE ++
2312 - added prototypes to the exported subs
2316 - added prototypes to the exported subs
2319 * Moose::Util::TypeConstraints
2320 - cleaned up prototypes for the subs
2323 0.09_01 Fri. May 12, 2006
2324 ++ DEVELOPER RELEASE ++
2325 - This release works in combination with
2326 Class::MOP 0.29_01, it is a developer
2327 release because it uses the a new
2328 instance sub-protocol and a fairly
2329 complete Role implementation. It has
2330 not yet been optimized, so it slower
2331 the the previous CPAN version. This
2332 release also lacks good updated docs,
2333 the official release will have updated docs.
2336 - refactored the keyword exports
2337 - 'with' now checks Role validaity and
2338 accepts more than one Role at a time
2339 - 'extends' makes metaclass adjustments as
2340 needed to ensure metaclass compatibility
2343 - refactored the keyword exports
2344 - 'with' now checks Role validaity and
2345 accepts more than one Role at a time
2347 * Moose::Util::TypeConstraints
2348 - added the 'enum' keyword for simple
2349 string enumerations which can be used as
2351 - see example of usage in t/202_example.t
2354 - more careful checking of params to new()
2357 - much work done on the role composition
2358 - many new tests for conflict detection
2359 and composition edge cases
2360 - not enough documentation, I suggest
2361 looking at the tests
2363 * Moose::Meta::Instance
2364 - added new Instance metaclass to support
2365 the new Class::MOP instance protocol
2367 * Moose::Meta::Class
2368 - some small changes to support the new
2370 - some small additions to support Roles
2372 * Moose::Meta::Attribute
2373 - some improvements to the accessor generation code
2375 - some small changes to support the new
2377 - (still somewhat) experimental delegation support
2378 with the 'handles' option
2379 - added several tests for this
2380 - no docs for this yet
2382 0.05 Thurs. April 27, 2006
2384 - keywords are now exported with Sub::Exporter
2385 thanks to chansen for this commit
2386 - has keyword now takes a 'metaclass' option
2387 to support custom attribute meta-classes
2388 on a per-attribute basis
2389 - added tests for this
2390 - the 'has' keyword not accepts inherited slot
2391 specifications (has '+foo'). This is still an
2392 experimental feature and probably not finished
2393 see t/038_attribute_inherited_slot_specs.t for
2394 more details, or ask about it on #moose
2395 - added tests for this
2398 - keywords are now exported with Sub::Exporter
2400 * Moose::Utils::TypeConstraints
2401 - reorganized the type constraint hierarchy, thanks
2402 to nothingmuch and chansen for his help and advice
2404 - added some tests for this
2405 - keywords are now exported with Sub::Exporter
2406 thanks to chansen for this commit
2408 * Moose::Meta::Class
2409 - due to changes in Class::MOP, we had to change
2410 construct_instance (for the better)
2412 * Moose::Meta::Attribute
2413 - due to changes in Class::MOP, we had to add the
2414 initialize_instance_slot method (it's a good thing)
2416 * Moose::Meta::TypeConstraint
2417 - added type constraint unions
2418 - added tests for this
2419 - added the is_subtype_of predicate method
2420 - added tests for this
2422 0.04 Sun. April 16th, 2006
2424 - Roles can now consume other roles
2425 - added tests for this
2426 - Roles can specify required methods now with
2427 the requires() keyword
2428 - added tests for this
2431 - ripped out much of it's guts ,.. much cleaner now
2432 - added required methods and correct handling of
2433 them in apply() for both classes and roles
2434 - added tests for this
2435 - no longer adds a does() method to consuming classes
2436 it relys on the one in Moose::Object
2437 - added roles attribute and some methods to support
2438 roles consuming roles
2440 * Moose::Meta::Attribute
2441 - added support for triggers on attributes
2442 - added tests for this
2443 - added support for does option on an attribute
2444 - added tests for this
2446 * Moose::Meta::Class
2447 - added support for attribute triggers in the
2449 - added tests for this
2452 - Moose no longer creates a subtype for your class
2453 if a subtype of the same name already exists, this
2454 should DWIM in 99.9999% of all cases
2456 * Moose::Util::TypeConstraints
2457 - fixed bug where incorrect subtype conflicts were
2459 - added test for this
2462 - this class can now be extended with 'use base' if
2463 you need it, it properly loads the metaclass class now
2464 - added test for this
2466 0.03_02 Wed. April 12, 2006
2468 - you must now explictly use Moose::Util::TypeConstraints
2469 it no longer gets exported for you automatically
2472 - new() now accepts hash-refs as well as key/value lists
2473 - added does() method to check for Roles
2474 - added tests for this
2476 * Moose::Meta::Class
2477 - added roles attribute along with the add_role() and
2479 - added tests for this
2482 - now adds a does() method to consuming classes
2483 which tests the class's hierarchy for roles
2484 - added tests for this
2486 0.03_01 Mon. April 10, 2006
2488 - added new Role recipe (no content yet, only code)
2491 - added 'with' keyword for Role support
2492 - added test and docs for this
2493 - fixed subtype quoting bug
2494 - added test for this
2498 - added test and docs
2500 * Moose::Util::TypeConstraints
2501 - added the message keyword to add custom
2502 error messages to type constraints
2505 - the meta role to support Moose::Role
2506 - added tests and docs
2508 * Moose::Meta::Class
2509 - moved a number of things from Moose.pm
2510 to here, they should have been here
2513 * Moose::Meta::Attribute
2514 - moved the attribute option macros here
2515 instead of putting them in Moose.pm
2517 * Moose::Meta::TypeConstraint
2518 - added the message attributes and the
2520 - added tests and docs for this
2522 0.03 Thurs. March 30, 2006
2524 - added the Moose::Cookbook with 5 recipes,
2525 describing all the stuff Moose can do.
2528 - fixed an issue with &extends super class loading
2529 it now captures errors and deals with inline
2530 packages correctly (bug found by mst, solution
2532 - added super/override & inner/augment features
2533 - added tests and docs for these
2536 - BUILDALL now takes a reference of the %params
2537 that are passed to &new, and passes that to
2540 * Moose::Util::TypeConstraints
2541 - Type constraints now survive runtime reloading
2542 - added test for this
2544 * Moose::Meta::Class
2545 - fixed the way attribute defaults are handled
2546 during instance construction (bug found by chansen)
2548 * Moose::Meta::Attribute
2549 - read-only attributes now actually enforce their
2550 read-only-ness (this corrected in Class::MOP as
2553 0.02 Tues. March 21, 2006
2555 - many more tests, fixing some bugs and
2557 - &extends now loads the base module with
2559 - added UNIVERSAL::require to the
2562 - each new Moose class will also create
2563 and register a subtype of Object which
2564 correspond to the new Moose class.
2565 - the 'isa' option in &has now only
2566 accepts strings, and will DWIM in
2569 * Moose::Util::TypeConstraints
2570 - added type coercion features
2571 - added tests for this
2572 - added support for this in attributes
2573 and instance construction
2575 - type construction no longer creates a
2576 function, it registers the type instead.
2577 - added several functions to get the
2581 - BUILDALL and DEMOLISHALL were broken
2582 because of a mis-named hash key, Whoops :)
2584 * Moose::Meta::Attribute
2585 - adding support for coercion in the
2586 autogenerated accessors
2588 * Moose::Meta::Class
2589 - adding support for coercion in the
2590 instance construction
2592 * Moose::Meta::TypeConstraint
2593 * Moose::Meta::TypeCoercion
2594 - type constraints and coercions are now
2595 full fledges meta-objects
2597 0.01 Wed. March 15, 2006
2598 - Moooooooooooooooooose!!!