1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
5 * Moose::Manual::Attributes
6 - Clarify "is", include discussion of "bare". (Sartak)
8 * Moose::Meta::Role::Method::Conflicting
9 * Moose::Meta::Role::Application::ToClass
10 - For the first set of roles involved in a conflict, report all
11 unresolved method conflicts, not just the first method. Fixes #47210
12 reported by Ovid. (Sartak)
14 * Moose::Meta::TypeConstraint
15 - Add assert_valid method to use a TypeConstraint for assertion (rjbs)
18 * Moose::Manual::Contributing
19 - Re-write the Moose::Manual::Contributing document to reflect
20 the new layout and methods of work for the Git repository. All
21 work now should be done in topic branches and reviewed by a
22 core committer before being applied to master. All releases
23 are done by a cabal member and merged from master to
24 stable. This plan was devised by Yuval, blame him. (perigrin)
27 - Create metaclass attributes for the different role application
30 * Moose::Util::MetaRole
31 - Allow applying roles to a meta role's role application
34 * Moose::Meta::Attribute
35 - Add weak_ref to allowed options for "has '+foo'" (mst)
37 * Moose::Meta::Method::Accessor
38 - No longer uses inline_slot_access in accessors, to support
39 non-lvalue-based meta instances. (sorear)
42 * Moose::Meta::Method::Delegation
43 - Once again allow class names as well as objects for
44 delegation. This was changed in 0.86.
47 * Moose::Meta::Class::Immutable::Trait
48 - Fixes to work with the latest Class::MOP.
50 * Moose::Meta::Method::Delegation
51 - Delegation now dies with a more useful error message if the
52 attribute's accessor returns something defined but
55 0.85 Fri, Jun 26, 2009
56 * Moose::Meta::Attribute
57 - The warning for 'no associated methods' is now split out into
58 the _check_associated_methods method, so that extensions can
59 safely call 'after install_accessors => ...'. This fixes a
60 warning from MooseX::AttributeHelpers. (hdp)
62 0.84 Fri, Jun 26, 2009
64 - has now sets definition_context for attributes defined in
67 * Moose::Meta::Attribute
68 - When adding an attribute to a metaclass, if the attribute has
69 no associated methods, it will give a deprecation
71 - Methods generated by delegation were not being added to
72 associated_methods. (hdp)
73 - Attribute accessors (reader, writer, accessor, predicate,
74 clearer) now warn if they overwrite an existing method. (doy)
75 - Attribute constructors now warn very noisily about unknown (or
78 * Moose::Util::TypeConstraints
79 - Deprecated the totally useless Role type name, which just
80 checked if $object->can('does'). Note that this is _not_ the
81 same as a type created by calling role_type('RoleName').
83 * Moose::Util::TypeConstraints
84 * Moose::Meta::TypeConstraint::DuckType
85 - Reify duck type from a regular subtype into an actual class
87 - Document this because Sartak did all my work for me
90 * Moose::Meta::Attribute
91 - Allow Moose::Meta::TypeConstraint::DuckType in handles, since
92 it is just a list of methods (Sartak)
95 - The get_*_method_modifiers methods would die if the role had
96 no modifiers of the given type (Robert Buels).
98 0.83 Tue, Jun 23, 2009
100 - Fix _construct_instance not setting the special __MOP__ object
101 key in instances of anon classes. (doy)
103 0.82 Sun, Jun 21, 2009
104 * Moose::Manual::Types
105 - Mention MooseX::Types early to avoid users falling down the
106 string parsing rathole (mst)
108 * Moose::Manual::MooseX
109 - Add warnings about class-level extensions and mention considering
110 using plain objects instead
112 0.81 Sun, Jun 7, 2009
113 * Bumped our Class::MOP prereq to the latest version (0.85), since
116 0.80 Sat, Jun 6, 2009
118 - Add FAQ about the coercion change from 0.76 because it came up
119 three times today (perigrin)
120 - Win doy $10 dollars because Sartak didn't think anybody
121 would document this fast enough (perigrin)
123 * Moose::Meta::Method::Destructor
124 - Inline a DESTROY method even if there are no DEMOLISH methods
125 to prevent unnecessary introspection in
126 Moose::Object::DEMOLISHALL
129 - A role's required methods are now represented by
130 Moose::Meta::Role::Method::Required objects. Conflicts are now
131 represented by Moose::Meta::Role::Method::Conflicting
132 objects. The benefit for end-users in that unresolved
133 conflicts generate different, more instructive, errors,
134 resolving Ovid's #44895. (Sartak)
137 - Improve the error message of "extends" as suggested by Adam
138 Kennedy and confound (Sartak)
139 - Link to Moose::Manual::Roles from Moose::Role as we now have
140 excellent documentation (Adam Kennedy)
143 - Update test suite for subname change in Class::MOP
145 - Add TODO test for infinite recursion in Moose::Meta::Class
148 0.79 Wed, May 13, 2009
150 - More fixes for Win32 problems. Reported by Robert Krimen.
153 - The DEMOLISHALL method could still blow up in some cases
154 during global destruction. This method has been made more
155 resilient in the face of global destruction's random garbage
159 - If you "also" a module that isn't loaded, the error message
160 now acknowledges that (Sartak)
163 - When your ->meta method does not return a Moose::Meta::Class,
164 the error message gave the wrong output (Sartak)
166 0.78 Tue, May 12, 2009
167 * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
168 - Merged these documents into what is now Moose::Manual::FAQ
171 - Moved to Moose::Manual::Unsweetened
173 * Moose::Cookbook::Basics::Recipes 9-12
174 - Renamed to be 8-11, since recipe 8 did not exist
177 - Make Moose::Exporter import strict and warnings into packages
181 - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
182 methods during global destruction (doy)
185 * Moose::Meta::Role::Application::ToClass
186 - Track the Role::Application objects created during class-role
190 - Fix metaclass incompatibility errors when extending a vanilla perl
191 class which isa Moose class with a metaclass role applied (t0m)
194 - Add a role-combination hook, _role_for_combination, for the
195 benefit of MooseX::Role::Parameterized (Sartak)
198 - Some tests were failing on Win32 because they explicit checked
199 warning output for newlines. Reported by Nickolay Platonov.
201 0.77 Sat, May 2, 2009
203 - Add explicit use of Devel::GlobalDestruction and Sub::Name
207 - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
208 or not we are currently in global destruction (doy)
209 - Add explicit use of Devel::GlobalDestruction and Sub::Name
212 * Moose::Cookbook::FAQ
213 - Reworked much of the existing content to be more useful to
214 modern Moose hackers (Sartak)
217 - Depend on Class::MOP 0.83 instead of 0.82_01.
219 0.76 Mon, April 27, 2009
220 * Moose::Meta::TypeConstraint
221 - Do not run coercions in coerce() if the value already passes the type
224 * Moose::Meta::TypeConstraint::Class
225 - In validation error messages, specifically say that the value is not
226 an instance of the class. This should alleviate some frustrating
227 forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
229 * Moose::Meta::Role::Application::ToClass
230 - Revert the class-overrides-role warning in favor of a solution outside
231 of the Moose core (Sartak)
234 - Make Test::Output optional again, since it's only used in a few files
237 0.75_01 Thu, April 23, 2009
238 * Moose::Meta::Role::Application::ToClass
239 - Moose now warns about each class overriding methods from roles it
243 - Warnings tests have standardized on Test::Output which is now an
244 unconditionally dependency (Sartak)
247 - Changes to immutabilization to work with Class::MOP 0.82_01+.
249 0.75 Mon, April 20, 2009
252 - Move validation of not inheriting from roles from Moose::extends to
253 Moose::Meta::Class::superclasses (doy)
256 - add ensure_all_roles() function to encapsulate the common "apply this
257 role unless the object already does it" pattern (hdp)
260 - Users can now select a different metaclass with the "-metaclass"
261 option to import, for classes and roles (Sartak)
264 - Make method_metaclass an attr so that it can accept a metarole
267 0.74 Tue, April 7, 2009
269 * Moose::Meta::Method::Destructor
270 - Include stack traces in the deprecation warnings.
274 - Removed the long-deprecated _apply_all_roles method.
276 * Moose::Meta::TypeConstraint
277 - Removed the long-deprecated union method.
280 0.73_02 Mon, April 6, 2009
281 * More deprecations and renamings
282 - Moose::Meta::Method::Constructor
283 - initialize_body => _initialize_body (this is always called
284 when an object is constructed)
287 - The DEMOLISHALL method could throw an exception during global
288 destruction, meaning that your class's DEMOLISH methods would
289 not be properly called. Reported by t0m.
291 * Moose::Meta::Method::Destructor
292 - Destructor inlining was totally broken by the change to the
293 is_needed method in 0.72_01. Now there is a test for this
294 feature, and it works again.
297 - Bold the word 'not' in the POD for find_meta (t0m)
299 0.73_01 Sun, April 5, 2009
301 - Call user_class->meta in fewer places, with the eventual goal
302 of allowing the user to rename or exclude ->meta
303 altogether. Instead uses Class::MOP::class_of. (Sartak)
305 * Moose::Meta::Method::Accessor
306 - If an attribute had a lazy default, and that value did not
307 pass the attribute's type constraint, it did not get the
308 message from the type constraint, instead using a generic
309 message. Test provided by perigrin.
311 * Moose::Util::TypeConstraints
312 - Add duck_type keyword. It's sugar over making sure an object
313 can() a list of methods. This is easier than jrockway's
314 suggestion to fork all of CPAN. (perigrin)
315 - add tests and documentation (perigrin)
318 - Document the fact that init_meta() returns the target class's
319 metaclass object. (hdp)
321 * Moose::Cookbook::Extending::Recipe1
322 * Moose::Cookbook::Extending::Recipe2
323 * Moose::Cookbook::Extending::Recipe3
324 * Moose::Cookbook::Extending::Recipe4
325 - Make init_meta() examples explicitly return the metaclass and
326 point out this fact. (hdp)
328 * Moose::Cookbook::Basics::Recipe12
329 - A new recipe, creating a custom meta-method class.
331 * Moose::Cookbook::Meta::Recipe6
332 - A new recipe, creating a custom meta-method class.
335 * Moose::Meta::Method::Constructor
336 - Attribute triggers no longer receive the meta-attribute object
337 as an argument in any circumstance. Previously, triggers
338 called during instance construction were passed the
339 meta-attribute, but triggers called by normal accessors were
340 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
342 * Moose::Manual::Attributes
343 - Remove references to triggers receving the meta-attribute object as an
346 * Moose::Cookbook::FAQ
347 - Remove recommendation for deprecated Moose::Policy and
348 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
351 * Many methods have been renamed with a leading underscore, and a
352 few have been deprecated entirely. The methods with a leading
353 underscore are consider "internals only". People writing
354 subclasses or extensions to Moose should feel free to override
355 them, but they are not for "public" use.
358 - check_metaclass_compatibility => _check_metaclass_compatibility
360 - Moose::Meta::Method::Accessor
361 - initialize_body => _initialize_body (this is always called
362 when an object is constructed)
363 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
365 - Moose::Meta::Method::Constructor
366 - initialize_body => _initialize_body (this is always called
367 when an object is constructed)
368 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
369 - attributes => _attributes (now inherited from parent)
370 - meta_instance => _meta_instance (now inherited from parent)
373 - alias_method is deprecated. Use add_method
375 0.73 Fri, March 29, 2009
376 * No changes from 0.72_01.
378 0.72_01 Thu, March 26, 2009
380 - Almost every module has complete API documentation. A few
381 methods (and even whole classes) have been intentionally
382 excluded pending some rethinking of their APIs.
384 * Moose::Util::TypeConstraints
385 - Calling subtype with a name as the only argument is now an
386 exception. If you want an anonymous subtype do:
388 my $subtype = subtype as 'Foo';
390 * Moose::Cookbook::Meta::Recipe7
391 - A new recipe, creating a custom meta-instance class.
393 * Moose::Cookbook::Basics::Recipe5
394 - Fix various typos and mistakes. Includes a patch from Radu
397 * Moose::Cookbook::Basics::Recipe9
398 - Link to this recipe from Moose.pm's builder blurb
401 - When wrapping a function with a prototype, Moose::Exporter now
402 makes sure the wrapped function still has the same
403 prototype. (Daisuke Maki)
405 * Moose::Meta::Attribute
406 - Allow a subclass to set lazy_build for an inherited
410 - Explicitly depend on Data::OptList. We already had this dependency
411 via Sub::Exporter, but since we're using it directly we're
412 better off with it listed. (Sartak)
414 * Moose::Meta::Method::Constructor
415 - Make it easier to subclass the inlining behaviour. (Ash
418 * Moose::Manual::Delta
419 - Details significant changes in the history of Moose, along
420 with recommended workarounds.
422 * Moose::Manual::Contributing
423 - Contributor's guide to Moose.
425 * Moose::Meta::Method::Constructor
426 - The long-deprecated intialize_body method has been removed
427 (yes, spelled like that).
429 * Moose::Meta::Method::Destructor
430 - This is_needed method is now always a class method.
433 - Changes to the internals of how make_immutable works to match
434 changes in latest Class::MOP.
436 0.72 Mon, February 23, 2009
438 * Moose::Meta::Method::Constructor
439 - A mutable class accepted Foo->new(undef) without complaint,
440 while an immutable class would blow up with an unhelpful
441 error. Now, in both cases we throw a helpful error
442 instead. Reported by doy.
444 0.71_01 Sun, February 22, 2009
446 - Hopefully fixed some POD errors in a few recipes that caused
447 them to display weird on search.cpan.org.
449 * Moose::Util::TypeConstraints
450 - Calling type or subtype without the sugar helpers (as, where,
451 message) is now deprecated.
452 - The subtype function tried hard to guess what you meant, but
453 often got it wrong. For example:
455 my $subtype = subtype as 'ArrayRef[Object]';
457 This caused an error in the past, but now works as you'd
461 - Make sure Moose.pm is loaded before calling
462 Moose->throw_error. This wasn't normally an issue, but could
463 bite you in weird cases.
465 0.71 Thu, February 19, 2009
466 * Moose::Cookbook::Basics::Recipe11
467 - A new recipe which demonstrates the use of BUILDARGS and
470 * Moose::Cookbook::Roles::Recipe3
471 - A new recipe, applying a role to an object instance. (Dave
475 - Allow overriding specific keywords from "also" packages. (doy)
478 - Replace hardcoded cookbook tests with Test::Inline to ensure
479 the tests match the actual code in the recipes. (Dave Rolsky)
482 - Working on the above turned up a number of little bugs in the
483 recipe code. (Dave Rolsky)
485 * Moose::Util::TypeConstraints::Optimized
486 - Just use Class::MOP for the optimized ClassName check. (Dave
489 0.70 Sat, February 14, 2009
490 * Moose::Util::TypeConstraints
491 - Added the RoleName type (stevan)
492 - added tests for this (stevan)
494 * Moose::Cookbook::Basics::Recipe3
495 - Updated the before qw[left right] sub to be a little more
496 defensive about what it accepts (stevan)
497 - added more tests to t/000_recipies/basics/003_binary_tree.t
501 - We now always call DEMOLISHALL, even if a class does not
502 define DEMOLISH. This makes sure that method modifiers on
503 DEMOLISHALL work as expected. (doy)
504 - added tests for this (EvanCarroll)
506 * Moose::Util::MetaRole
507 - Accept roles for the wrapped_method_metaclass (rafl)
508 - added tests for this (rafl)
510 * Moose::Meta::Attribute
511 - We no longer pass the meta-attribute object as a final
512 argument to triggers. This actually changed for inlined code a
513 while back, but the non-inlined version and the docs were
517 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
518 they require 0.11. (Dave Rolsky)
521 - Lots of small changes to the manual, cookbook, and
522 elsewhere. These were based on feedback from various
523 users, too many to list here. (Dave Rolsky)
525 0.69 Thu, February 12, 2009
527 - Make some keyword errors use throw_error instead of croak
528 since Moose::Exporter wraps keywords now (Sartak)
531 - Revised every recipe for style and clarity. Also moved some
532 documentation out of cookbook recipes and into Moose::Manual
533 pages. This work was funded as part of the Moose docs grant
534 from TPF. (Dave Rolsky)
536 * Moose::Meta::Method::Delegation
537 - If the attribute doing the delegation was not populated, the
538 error message did not specify the attribute name
541 0.68 Wed, February 4, 2009
543 - Many spelling, typo, and formatting fixes by daxim.
545 * Moose::Manual::Attributes
546 - The NAME section in the POD used "Attribute" so search.cpan
547 didn't resolve links from other documents properly.
549 * Moose::Meta::Method::Overriden
550 - Now properly spelled as Overridden. Thanks to daxim for
553 0.67 Tue, February 3, 2009
555 - Lots of little typo fixes and a few clarifications. Several
556 pages didn't have proper titles, and so weren't actually
557 visible on search.cpan.org. Thanks to hanekomu for a variety
558 of fixes and formatting improvements.
560 0.66 Tue, February 3, 2009
562 - This is a brand new, extensive manual for Moose. This aims to
563 provide a complete introduction to all of Moose's
564 features. This work was funded as part of the Moose docs grant
565 from TPF. (Dave Rolsky)
567 * Moose::Meta::Attribute
568 - Added a delegation_metaclass method to replace a hard-coded
569 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
571 * Moose::Util::TypeConstraints
572 - If you created a subtype and passed a parent that Moose didn't
573 know about, it simply ignored the parent. Now it automatically
574 creates the parent as a class type. This may not be what you
575 want, but is less broken than before. (Dave Rolsky)
577 * Moose::Util::TypeConstraints
578 - This module tried throw errors by calling Moose->throw_error,
579 but it did not ensure that Moose was loaded first. This could
580 cause very unhelpful errors when it tried to throw an error
581 before Moose was loaded. (Dave Rolsky)
583 * Moose::Util::TypeConstraints
584 - You could declare a name with subtype such as "Foo!Bar" that
585 would be allowed, but if you used it in a parameterized type
586 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
587 vetting on names created via the sugar functions, so that they
588 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
590 0.65 Thu, January 22, 2008
591 * Moose and Moose::Meta::Method::Overridden
592 - If an overridden method called super(), and then the
593 superclass's method (not overridden) _also_ called super(),
594 Moose went into an endless recursion loop. Test provided by
595 Chris Prather. (Dave Rolsky)
597 * Moose::Meta::TypeConstraint
598 - All methods are now documented. (gphat)
600 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
601 - Fixed some bogus failures that occurred because we tried to
602 validate filesystem paths in a very ad-hoc and
603 not-quite-correct way. (Dave Rolsky)
605 * Moose::Util::TypeConstraints
606 - Added maybe_type to exports. See docs for details. (rjbs)
609 - Added Moose::Util::TypeConstraints to the SEE ALSO
613 - Methods created via an attribute can now fulfill a "requires"
614 declaration for a role. (nothingmuch)
616 * Moose::Meta::Method::*
617 - Stack traces from inlined code will now report its line and
618 file as being in your class, as opposed to in Moose
621 0.64 Wed, December 31, 2008
622 * Moose::Meta::Method::Accessor
623 - Always inline predicate and clearer methods (Sartak)
625 * Moose::Meta::Attribute
626 - Support for parameterized traits (Sartak)
627 - verify_against_type_constraint method to avoid duplication
628 and enhance extensibility (Sartak)
631 - Tests (but no support yet) for parameterized traits (Sartak)
634 - Require Class::MOP 0.75+, which has the side effect of making
635 sure we work on Win32. (Dave Rolsky)
637 0.63 Mon, December 8, 2008
639 - Some small grammar tweaks and bug fixes in non-Moose example
642 0.62_02 Fri, December 5, 2008
643 * Moose::Meta::Role::Application::ToClass
644 - When a class does not provide all of a role's required
645 methods, the error thrown now mentions all of the missing
646 methods, as opposed to just the first one found. Requested by
647 Curtis Poe (RT #41119). (Dave Rolsky)
649 * Moose::Meta::Method::Constructor
650 - Moose will no longer inline a constructor for your class
651 unless it inherits its constructor from Moose::Object, and
652 will warn when it doesn't inline. If you want to force
653 inlining anyway, pass "replace_constructor => 1" to
654 make_immutable. Addresses RT #40968, reported by Jon
655 Swartz. (Dave Rolsky)
656 - The quoting of default values could be broken if the default
657 contained a single quote ('). Now we use quotemeta to escape
658 anything potentially dangerous in the defaults. (Dave Rolsky)
660 0.62_01 Wed, December 3, 2008
662 - use the method->execute API for BUILDALL
663 and DEMOLISHALL (Sartak)
665 * Moose::Util::TypeConstraints
666 - We now make all the type constraint meta classes immutable
667 before creating the default types provided by Moose. This
668 should make loading Moose a little faster. (Dave Rolsky)
670 0.62 Wed November 26, 2008
671 * Moose::Meta::Role::Application::ToClass
672 Moose::Meta::Role::Application::ToRole
673 - fixed issues where excluding and aliasing the
674 same methods for a single role did not work
675 right (worked just fine with multiple
677 - added test for this (stevan)
679 * Moose::Meta::Role::Application::RoleSummation
680 - fixed the error message when trying to compose
681 a role with a role it excludes (Sartak)
684 - Catch another case where recursion caused the value
685 of $CALLER to be stamped on (t0m)
686 - added test for this (t0m)
689 - Remove the make_immutable keyword, which has been
690 deprecated since April. It breaks metaclasses that
691 use Moose without no Moose (Sartak)
693 * Moose::Meta::Attribute
694 - Removing an attribute from a class now also removes delegation
695 (handles) methods installed for that attribute (t0m)
696 - added test for this (t0m)
698 * Moose::Meta::Method::Constructor
699 - An attribute with a default that looked like a number (but was
700 really a string) would accidentally be treated as a number
701 when the constructor was made immutable (perigrin)
702 - added test for this (perigrin)
705 - create method for constructing a role
707 - added test for this (Sartak)
708 - anonymous roles! (Sartak)
709 - added test for this (Sartak)
712 - more consistent error messages (Sartak)
714 * Moose::Cookbook::Roles::Recipe1
715 - attempt to explain why a role that just requires
716 methods is useful (Sartak)
718 0.61 Fri November 7, 2008
719 * Moose::Meta::Attribute
720 - When passing a role to handles, it will be loaded if necessary
724 - Method objects returned by get_method (and other methods)
725 Could end up being returned without an associated_metaclass
726 attribute. Removing get_method_map, which is provided by
727 Class::MOP::Class, fixed this. The Moose version did nothing
728 different from its parent except introduce a bug. (Dave Rolsky)
729 - added tests for this (jdv79)
732 - Added a $VERSION to all .pm files which didn't have one. Fixes
733 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
735 * Moose::Cookbook::Basics::Recipe4
736 * Moose::Cookbook::Basics::Recipe6
737 - These files had spaces on the first line of the SYNOPSIS, as
738 opposed to a totally empty line. According to RT #40432, this
739 confuses POD parsers. (Dave Rolsky)
741 0.60 Fri October 24, 2008
743 - Passing "-traits" when loading Moose caused the Moose.pm
744 exports to be broken. Reported by t0m. (Dave Rolsky)
745 - Tests for this bug. (t0m)
748 - Change resolve_metaclass alias to use the new
749 load_first_existing_class function. This makes it a lot
750 simpler, and also around 5 times faster. (t0m)
751 - Add caching to resolve_metaclass_alias, which gives an order
752 of magnitude speedup to things which repeatedly call the
753 Moose::Meta::Attribute->does method, notably MooseX::Storage
756 * Moose::Util::TypeConstraint
757 - Put back the changes for parameterized constraints that
758 shouldn't have been removed in 0.59. We still cannot parse
759 them, but MooseX modules can create them in some other
760 way. See the 0.58 changes for more details. (jnapiorkowski)
761 - Changed the way subtypes are created so that the job is
762 delegated to a type constraint parent. This clears up some
763 hardcoded checking and should allow correct subtypes of
764 Moose::Meta::Type::Constraint. Don't rely on this new API too
765 much (create_child_type) because it may go away in the
766 future. (jnapiorkowski)
768 * Moose::Meta::TypeConstraint::Union
769 - Type constraint names are sorted as strings, not numbers.
772 * Moose::Meta::TypeConstraint::Parameterizable
773 - New parameterize method. This can be used as a factory method
774 to make a new type constraint with a given parameterized
775 type. (jnapiorkowski)
776 - added tests (jnapiorkowski)
778 0.59 Tue October 14, 2008
780 - Add abridged documentation for builder/default/initializer/
781 predicate, and link to more details sections in
782 Class::MOP::Attribute. (t0m)
784 * Moose::Util::TypeConstraints
785 - removed prototypes from all but the &-based stuff (mst)
787 * Moose::Util::TypeConstraints
788 - Creating a anonymous subtype with both a constraint and a
789 message failed with a very unhelpful error, but should just
790 work. Reported by t0m. (Dave Rolsky)
793 - Some tests that used Test::Warn if it was available failed
794 with older versions of Test::Warn. Reported by Fayland. (Dave
796 - Test firing behavior of triggers in relation to builder/default/
798 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
799 kinds of supported type. (t0m)
802 - In create(), do not pass "roles" option to the superclass
803 - added related test that creates an anon metaclass with
806 * Moose::Meta::TypeConstraint::Class
807 * Moose::Meta::TypeConstraint::Role
808 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
809 other types (as per change in 0.55_02). (t0m)
811 * Moose::Meta::TypeConstraint::Registry
812 - Fix warning when dealing with unknown type names (t0m)
814 * Moose::Util::TypeConstraints
815 - Reverted changes from 0.58 related to handle parameterized
816 types. This caused random failures on BSD and Win32 systems,
817 apparently related to the regex engine. This means that Moose
818 can no longer parse structured type constraints like
819 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
820 supported in a slightly different way via MooseX::Types some
821 time in the future. (Dave Rolsky)
823 0.58 Sat September 20, 2008
824 !! This release has an incompatible change regarding !!
825 !! how roles add methods to a class !!
827 * Roles and role application
828 ! Roles now add methods by calling add_method, not
829 alias_method. They make sure to always provide a method
830 object, which will be cloned internally. This means that it is
831 now possible to track the source of a method provided by a
832 role, and even follow its history through intermediate roles.
834 This means that methods added by a role now show up when
835 looking at a class's method list/map. (Dave Rolsky)
838 - From this release on, we'll try to maintain a list of
839 conflicting modules, and warn you if you have one
840 installed. For example, this release conflicts with ...
841 - MooseX::Singleton <= 0.11
842 - MooseX::Params::Validate <= 0.05
845 In general, we try to not break backwards compatibility for
846 most Moose users, but MooseX modules and other code which
847 extends Moose's metaclasses is often affected by very small
848 changes in the Moose internals.
850 * Moose::Meta::Method::Delegation
851 * Moose::Meta::Attribute
852 - Delegation methods now have their own method class. (Dave
855 * Moose::Meta::TypeConstraint::Parameterizable
856 - Added a new method 'parameterize' which is basically a factory
857 for the containing constraint. This makes it easier to create
858 new types of parameterized constraints. (jnapiorkowski)
860 * Moose::Meta::TypeConstraint::Union
861 - Changed the way Union types canonicalize their names to follow
862 the normalized TC naming rules, which means we strip all
863 whitespace. (jnapiorkowski)
865 * Moose::Util::TypeConstraints
866 - Parameter and Union args are now sorted, this makes Int|Str
867 the same constraint as Str|Int. (jnapiorkowski)
868 - Changes to the way Union types are parsed to more correctly
869 stringify their names. (jnapiorkowski)
870 - When creating a parameterized type, we now use the new
871 parameterize method. (jnapiorkowski)
872 - Incoming type constraint strings are now normalized to remove
873 all whitespace differences. (jnapiorkowski)
874 - Changed the way we parse type constraint strings so that we now
875 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
876 constraints. This lays the foundation for more flexible type
877 constraint implementations.
879 * Tests and docs for all the above. (jnapiorkowski)
883 - Moose::Exporter will no longer remove a subroutine that the
884 exporting package re-exports. Moose re-exports the
885 Carp::confess function, among others. The reasoning is that we
886 cannot know whether you have also explicitly imported those
887 functions for your own use, so we err on the safe side and
888 always keep them. (Dave Rolsky)
889 - added tests for this (rafl)
892 - Changes to how we fix metaclass compatibility that are much
893 too complicated to go into. The summary is that Moose is much
894 less likely to complain about metaclass incompatibility
895 now. In particular, if two metaclasses differ because
896 Moose::Util::MetaRole was used on the two corresponding
897 classes, then the difference in roles is reconciled for the
898 subclass's metaclass. (Dave Rolsky)
899 - Squashed an warning in _process_attribute (thepler)
902 - throw exceptions (sooner) for invalid attribute names (thepler)
903 - added tests for this (thepler)
905 * Moose::Util::MetaRole
906 - If you explicitly set a constructor or destructor class for a
907 metaclass object, and then applied roles to the metaclass,
908 that explicitly set class would be lost and replaced with the
912 * Moose::Meta::Attribute
913 * Moose::Meta::Method
916 * Moose::Error::Default
917 * Moose::Error::Croak
918 * Moose::Error::Confess
919 - All instances of confess() changed to use overridable
920 C<throw_error> method. This method ultimately calls a class
921 constructor, and you can change the class being called. In
922 addition, errors now pass more information than just a string.
923 The default C<error_class> behaves like C<Carp::confess>, so
924 the behavior is not visibly different for end users.
926 0.57 Wed September 3, 2008
928 - A new bit of doc intended to introduce folks familiar with
929 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
932 - Shows examples of two classes, each done first with and then
933 without Moose. This makes a nice parallel to
934 Moose::Intro. (Dave Rolsky)
936 * Moose::Util::TypeConstraints
937 - Fixed a bug in find_or_parse_type_constraint so that it
938 accepts a Moose::Meta::TypeConstraint object as the parent
939 type, not just a name (jnapiorkowski)
940 - added tests (jnapiorkowski)
943 - If Sub::Name was not present, unimporting failed to actually
944 remove some sugar subs, causing test failures (Dave Rolsky)
946 0.56 Mon September 1, 2008
947 For those not following the series of dev releases, there are
948 several major changes in this release of Moose.
949 ! Moose::init_meta should now be called as a method. See the
952 - Major performance improvements by nothingmuch.
954 - New modules for extension writers, Moose::Exporter and
955 Moose::Util::MetaRole by Dave Rolsky.
957 - Lots of doc improvements and additions, especially in the
962 * Removed all references to the experimental-but-no-longer-needed
963 Moose::Meta::Role::Application::ToMetaclassInstance.
965 * Require Class::MOP 0.65.
967 0.55_04 Sat August 30, 2008
968 * Moose::Util::MetaRole
969 * Moose::Cookbook::Extending::Recipe2
970 - This simplifies the application of roles to any meta class, as
971 well as the base object class. Reimplemented metaclass traits
972 using this module. (Dave Rolsky)
974 * Moose::Cookbook::Extending::Recipe1
975 - This a new recipe, an overview of various ways to write Moose
976 extensions (Dave Rolsky)
978 * Moose::Cookbook::Extending::Recipe3
979 * Moose::Cookbook::Extending::Recipe4
980 - These used to be Extending::Recipe1 and Extending::Recipe2,
983 0.55_03 Fri August 29, 2008
984 * No changes from 0.55_02 except increasing the Class::MOP
985 dependency to 0.64_07.
987 0.55_02 Fri August 29, 2008
988 * Makefile.PL and Moose.pm
989 - explicitly require Perl 5.8.0+ (Dave Rolsky)
991 * Moose::Util::TypeConstraints
992 - Fix warnings from find_type_constraint if the type is not
995 * Moose::Meta::TypeConstraint
996 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
997 return false if the type you specify cannot be found in the
998 type registry, rather than throwing an unhelpful and
999 coincidental exception. (t0m).
1000 - added docs & test for this (t0m)
1002 * Moose::Meta::TypeConstraint::Registry
1003 - add_type_constraint now throws an exception if a parameter is
1005 - added docs & test for this (t0m)
1007 * Moose::Cookbook::FAQ
1008 - Added a faq entry on the difference between "role" and "trait"
1012 - Fixed a bug that caused role composition to not see a required
1013 method when that method was provided by another role being
1014 composed at the same time. (Dave Rolsky)
1015 - test and bug finding (tokuhirom)
1017 0.55_01 Wed August 20, 2008
1019 !! Calling Moose::init_meta as a function is now !!
1020 !! deprecated. Please see the Moose.pm docs for details. !!
1022 * Moose::Meta::Method::Constructor
1023 - Fix inlined constructor so that values produced by default
1024 or builder methods are coerced as required. (t0m)
1025 - added test for this (t0m)
1027 * Moose::Meta::Attribute
1028 - A lazy attribute with a default or builder did not attempt to
1029 coerce the default value. The immutable code _did_
1031 - added test for this (t0m)
1034 - This is a new helper module for writing "Moose-alike"
1035 modules. This should make the lives of MooseX module authors
1036 much easier. (Dave Rolsky)
1039 * Moose::Cookbook::Meta::Recipe5
1040 - Implemented metaclass traits (and wrote a recipe for it):
1042 use Moose -traits => 'Foo'
1044 This should make writing small Moose extensions a little
1045 easier (Dave Rolsky)
1047 * Moose::Cookbook::Basics::Recipe1
1048 - Removed any examples of direct hashref access, and applied an
1049 editorial axe to reduce verbosity. (Dave Rolsky)
1051 * Moose::Cookbook::Basics::Recipe1
1052 - Also applied an editorial axe here. (Dave Rolsky)
1055 * Moose::Cookbook::Extending::Recipe1
1056 * Moose::Cookbook::Extending::Recipe2
1057 - Rewrote extending and embedding moose documentation and
1058 recipes to use Moose::Exporter (Dave Rolsky)
1062 - These two modules now warn when you load them from the main
1063 package "main" package, because we will not export sugar to
1064 main. Previously it just did nothing. (Dave Rolsky)
1067 - Now provide an init_meta method just like Moose.pm, and you
1068 can call this to provide an alternate role metaclass. (Dave
1069 Rolsky and nothingmuch)
1070 - get_method_map now respects the package cache flag (nothingmuch)
1073 - Two new methods - add_method and wrap_method_body
1077 - Optimizations including allowing constructors to accept hash
1078 refs, making many more classes immutable, and making
1079 constructors immutable. (nothingmuch)
1081 0.55 Sun August 3, 2008
1082 * Moose::Meta::Attribute
1083 - breaking down the way 'handles' methods are
1084 created so that the process can be more easily
1085 overridden by subclasses (stevan)
1087 * Moose::Meta::TypeConstraint
1088 - fixing what is passed into a ->message with
1089 the type constraints (RT #37569)
1090 - added tests for this (Charles Alderman)
1092 * Moose::Util::TypeConstraints
1093 - fix coerce to accept anon types like subtype can (mst)
1096 - reorganized the recipes into sections - Basics, Roles, Meta,
1097 Extending - and wrote abstracts for each section (Dave Rolsky)
1099 * Moose::Cookbook::Basics::Recipe10
1100 - A new recipe that demonstrates operator overloading
1101 in combination with Moose. (bluefeet)
1103 * Moose::Cookbook::Meta::Recipe1
1104 - an introduction to what meta is and why you'd want to make
1105 your own metaclass extensions (Dave Rolsky)
1107 * Moose::Cookbook::Meta::Recipe4
1108 - a very simple metaclass example (Dave Rolsky)
1110 * Moose::Cookbook::Extending::Recipe1
1111 - how to write a Moose-alike module to use your own object base
1114 * Moose::Cookbook::Extending::Recipe2
1115 - how to write modules with an API just like C<Moose.pm> (Dave
1119 - Tons of fixes, both syntactical and grammatical (Dave
1120 Rolsky, Paul Fenwick)
1122 0.54 Thurs. July 3, 2008
1123 ... this is not my day today ...
1125 * Moose::Meta::Attribute
1126 - fixed legal_options_for_inheritance such that
1127 clone_and_inherit options still works for
1128 Class::MOP::Attribute objects and therefore
1129 does not break MooseX::AttributeHelpers
1132 0.53 Thurs. July 3, 2008
1133 * Whoops, I guess I should run 'make manifest' before
1134 actually releasing the module. No actual changes
1135 in this release, except the fact that it includes
1136 the changes that I didn't include in the last
1139 0.52 Thurs. July 3, 2008
1141 - added "FEATURE REQUESTS" section to the Moose docs
1142 to properly direct people (stevan) (RT #34333)
1143 - making 'extends' croak if it is passed a Role since
1144 this is not ever something you want to do
1145 (fixed by stevan, found by obra)
1146 - added tests for this (stevan)
1149 - adding support for DOES (as in UNIVERSAL::DOES)
1151 - added test for this
1153 * Moose::Meta::Attribute
1154 - added legal_options_for_inheritance (wreis)
1155 - added tests for this (wreis)
1157 * Moose::Cookbook::Snacks::*
1158 - removed some of the unfinished snacks that should
1159 not have been released yet. Added some more examples
1160 to the 'Keywords' snack. (stevan)
1162 * Moose::Cookbook::Style
1163 - added general Moose "style guide" of sorts to the
1164 cookbook (nothingmuch) (RT #34335)
1167 - added more BUILDARGS tests (stevan)
1169 0.51 Thurs. Jun 26, 2008
1171 - add unimport so "no Moose::Role" actually does
1174 * Moose::Meta::Role::Application::ToRole
1175 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1176 order to provide its own implementation, that method still got
1177 added to the list of required methods for consumers of
1178 RoleB. Now an aliased method is only added to the list of
1179 required methods if the role doing the aliasing does not
1180 provide its own implementation. See Recipe 11 for an example
1181 of all this. (Dave Rolsky)
1182 - added tests for this
1184 * Moose::Meta::Method::Constructor
1185 - when a single argument that wasn't a hashref was provided to
1186 an immutabilized constructor, the error message was very
1187 unhelpful, as opposed to the non-immutable error. Reported by
1189 - added test for this (Dave Rolsky)
1191 * Moose::Meta::Attribute
1192 - added support for meta_attr->does("ShortAlias") (sartak)
1193 - added tests for this (sartak)
1194 - moved the bulk of the `handles` handling to the new
1195 install_delegation method (Stevan)
1198 - Added BUILDARGS, a new step in new()
1200 * Moose::Meta::Role::Application::RoleSummation
1201 - fix typos no one ever sees (sartak)
1203 * Moose::Util::TypeConstraints
1204 * Moose::Meta::TypeConstraint
1205 * Moose::Meta::TypeCoercion
1206 - Attempt to work around the ??{ } vs. threads issue
1208 - Some null_constraint optimizations
1210 0.50 Thurs. Jun 11, 2008
1211 - Fixed a version number issue by bumping all modules
1214 0.49 Thurs. Jun 11, 2008
1215 !! This version now approx. 20-25% !!
1216 !! faster with new Class::MOP 0.59 !!
1218 * Moose::Meta::Attribute
1219 - fixed how the is => (ro|rw) works with
1220 custom defined reader, writer and accessor
1222 - added docs for this (TODO).
1223 - added tests for this (Thanks to Penfold)
1224 - added the custom attribute alias for regular
1225 Moose attributes which is "Moose"
1226 - fix builder and default both being used
1231 Moose::Meta::Attribute
1233 Moose::Meta::Role::Composite
1234 Moose::Util::TypeConstraints
1235 - switched usage of reftype to ref because
1239 - changing add_package_symbol to use the new
1243 - fixed how DEMOLISHALL is called so that it
1244 can be overrided in subclasses (thanks to Sartak)
1245 - added test for this (thanks to Sartak)
1247 * Moose::Util::TypeConstraints
1248 - move the ClassName type check code to
1249 Class::MOP::is_class_loaded (thanks to Sartak)
1251 * Moose::Cookbook::Recipe11
1252 - add tests for this (thanks to tokuhirom)
1254 0.48 Thurs. May 29, 2008
1255 (early morning release engineering)--
1257 - fixing the version in Moose::Meta::Method::Destructor
1258 which was causing the indexer to choke
1260 0.47 Thurs. May 29, 2008
1261 (late night release engineering)--
1263 - fixing the version is META.yml, no functional
1264 changes in this release
1266 0.46 Wed. May 28, 2008
1267 !! This version now approx. 20-25% !!
1268 !! faster with new Class::MOP 0.57 !!
1270 * Moose::Meta::Class
1271 - some optimizations of the &initialize method
1272 since it is called so often by &meta
1274 * Moose::Meta::Class
1276 - now use the get_all_package_symbols from the
1277 updated Class::MOP, test suite is now 10 seconds
1280 * Moose::Meta::Method::Destructor
1281 - is_needed can now also be called as a class
1282 method for immutablization to check if the
1283 destructor object even needs to be created
1286 * Moose::Meta::Method::Destructor
1287 Moose::Meta::Method::Constructor
1288 - added more descriptive error message to help
1289 keep people from wasting time tracking an error
1290 that is easily fixed by upgrading.
1292 0.45 Saturday, May 24, 2008
1294 - Because of work in Class::MOP 0.57, all
1295 XS based functionality is now optional
1296 and a Pure Perl version is supplied
1297 - the CLASS_MOP_NO_XS environment variable
1298 can now be used to force non-XS versions
1300 - several of the packages have been tweaked
1301 to take care of this, mostly we added
1302 support for the package_name and name
1303 variables in all the Method metaclasses
1304 - before/around/after method modifiers now
1305 support regexp matching of names
1306 (thanks to Takatoshi Kitano)
1307 - tests added for this
1308 - NOTE: this only works for classes, it
1309 is currently not supported in roles,
1310 but, ... patches welcome
1311 - All usage of Carp::confess have been replaced
1312 by Carp::croak in the "keyword" functions since
1313 the stack trace is usually not helpful
1316 - All usage of Carp::confess have been replaced
1317 by Carp::croak in the "keyword" functions since
1318 the stack trace is usually not helpful
1319 - The 'has' keyword for roles now accepts the
1320 same array ref form that Moose.pm does
1321 (has [qw/foo bar/] => (is => 'rw', ...))
1322 - added test for this
1324 * Moose::Meta::Attribute
1325 - trigger on a ro-attribute is no longer an
1326 error, as it's useful to trigger off of the
1329 * Moose::Meta::Class
1330 - added same 'add_package_symbol' fix as in
1334 - does_role now handles non-Moose classes
1336 - added tests for this
1337 - added the 'add_method_modifier' function
1338 (thanks to Takatoshi Kitano)
1340 * Moose::Util::TypeConstraints
1341 - subtypes of parameterizable types now are
1342 themselves parameterizable types
1344 * Moose::Meta::Method::Constructor
1345 - fixed bug where trigger was not being
1346 called by the inlined immutable
1348 - added test for this (thanks to Caelum)
1350 * Moose::Meta::Role::Application::ToInstance
1351 - now uses the metaclass of the instance
1352 (if possible) to create the anon-class
1353 (thanks Jonathan Rockway)
1355 * Moose::Cookbook::Recipe22
1356 - added the meta-attribute trait recipe
1360 - fixed hash-ordering test bug that was
1361 causing occasional cpantester failures
1362 - renamed the t/000_recipe/*.t tests to be
1363 more descriptive (thanks to Sartak)
1365 0.44 Sat. May 10, 2008
1367 - made make_immutable warning cluck to
1368 show where the error is (thanks mst)
1371 - BUILDALL and DEMOLISHALL now call
1372 ->body when looping through the
1373 methods, to avoid the overloaded
1375 - fixed issue where DEMOLISHALL was
1376 eating the $@ values, and so not
1377 working correctly, it still kind of
1378 eats them, but so does vanilla perl
1379 - added tests for this
1381 * Moose::Cookbook::Recipe7
1382 - added new recipe for immutable
1383 functionality (thanks Dave Rolsky)
1385 * Moose::Cookbook::Recipe9
1386 - added new recipe for builder and
1387 lazy_build (thanks Dave Rolsky)
1389 * Moose::Cookbook::Recipe11
1390 - added new recipe for method aliasing
1391 and exclusion with Roles (thanks Dave Rolsky)
1394 - fixed Win32 test failure (thanks spicyjack)
1396 ~ removed Build.PL and Module::Build compat
1397 since Module::Install has done that.
1399 0.43 Wed. April, 30, 2008
1401 drink more coffee before
1402 doing release engineering
1404 - whoops, forgot to do the smolder tests,
1405 and we broke some of the custom meta-attr
1406 modules. This fixes that.
1408 0.42 Mon. April 28, 2008
1409 - some bad tests slipped by, nothing else
1410 changed in this release (cpantesters++)
1412 - upped the Class::MOP dependency to 0.55
1413 since we have tests which need the C3
1416 0.41 Mon. April 28, 2008
1417 ~~ numerous documentation updates ~~
1419 - Changed all usage of die to Carp::croak for better
1420 error reporting (initial patch by Tod Hagan)
1422 ** IMPORTANT NOTE **
1423 - the make_immutable keyword is now deprecated, don't
1424 use it in any new code and please fix your old code
1425 as well. There will be 2 releases, and then it will
1431 - refactored the way inner and super work to avoid
1432 any method/@ISA cache penalty (nothingmuch)
1434 * Moose::Meta::Class
1435 - fixing &new_object to make sure trigger gets the
1436 coerced value (spotted by Charles Alderman on the
1438 - added test for this
1440 * Moose::Meta::Method::Constructor
1441 - immutable classes which had non-lazy attributes were calling
1442 the default generating sub twice in the constructor. (bug
1443 found by Jesse Luehrs, fixed by Dave Rolsky)
1444 - added tests for this (Dave Rolsky)
1445 - fix typo in initialize_body method (nothingmuch)
1447 * Moose::Meta::Method::Destructor
1448 - fix typo in initialize_body method (nothingmuch)
1450 * Moose::Meta::Method::Overriden
1451 Moose::Meta::Method::Augmented
1452 - moved the logic for these into their own
1453 classes (nothingmuch)
1455 * Moose::Meta::Attribute
1456 - inherited attributes may now be extended without
1457 restriction on the type ('isa', 'does') (Sartak)
1458 - added tests for this (Sartak)
1459 - when an attribute property is malformed (such as lazy without
1460 a default), give the name of the attribute in the error
1462 - added the &applied_traits and &has_applied_traits methods
1463 to allow introspection of traits
1464 - added tests for this
1465 - moved 'trait' and 'metaclass' argument handling to here from
1467 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1468 '+foo' syntax) (nothingmuch)
1469 - added tests for this (t0m)
1472 - localize $@ inside DEMOLISHALL to avoid it
1473 eating $@ (found by Ernesto)
1474 - added test for this (thanks to Ernesto)
1476 * Moose::Util::TypeConstraints
1477 - &find_type_constraint now DWIMs when given an
1478 type constraint object or name (nothingmuch)
1479 - &find_or_create_type_constraint superseded with a number of more
1481 - find_or_create_{isa,does}_type_constraint
1482 - find_or_parse_type_constraint
1484 * Moose::Meta::TypeConstraint
1485 Moose::Meta::TypeConstraint::Class
1486 Moose::Meta::TypeConstraint::Role
1487 Moose::Meta::TypeConstraint::Enum
1488 Moose::Meta::TypeConstraint::Union
1489 Moose::Meta::TypeConstraint::Parameterized
1490 - added the &equals method for comparing two type
1491 constraints (nothingmuch)
1492 - added tests for this (nothingmuch)
1494 * Moose::Meta::TypeConstraint
1495 - add the &parents method, which is just an alias to &parent.
1496 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1498 * Moose::Meta::TypeConstraint::Class
1499 - added the class attribute for introspection purposes
1501 - added tests for this
1503 * Moose::Meta::TypeConstraint::Enum
1504 Moose::Meta::TypeConstraint::Role
1505 - broke these out into their own classes (nothingmuch)
1507 * Moose::Cookbook::Recipe*
1508 - fixed references to test file locations in the POD
1509 and updated up some text for new Moose features
1513 - Added &resolve_metaclass_alias, a helper function for finding an actual
1514 class for a short name (e.g. in the traits list)
1516 0.40 Fri. March 14, 2008
1517 - I hate Pod::Coverage
1519 0.39 Fri. March 14, 2008
1521 - documenting the use of '+name' with attributes
1522 that come from recently composed roles. It makes
1523 sense, people are using it, and so why not just
1524 officially support it.
1525 - fixing the 'extends' keyword so that it will not
1526 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1529 - added the perl -Moose=+Class::Name feature to allow
1530 monkeypatching of classes in one liners
1533 - fixing the 'apply_all_roles' keyword so that it will not
1534 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1536 * Moose::Meta::Class
1537 - added ->create method which now supports roles (thanks to jrockway)
1538 - added tests for this
1539 - added ->create_anon_class which now supports roles and caching of
1540 the results (thanks to jrockway)
1541 - added tests for this
1542 - made ->does_role a little more forgiving when it is
1543 checking a Class::MOP era metaclasses.
1545 * Moose::Meta::Role::Application::ToInstance
1546 - it is now possible to pass extra params to be used when
1547 a role is applied to an the instance (rebless_params)
1548 - added tests for this
1550 * Moose::Util::TypeConstraints
1551 - class_type now accepts an optional second argument for a
1552 custom message. POD anotated accordingly (groditi)
1553 - added tests for this
1554 - it is now possible to make anon-enums by passing 'enum' an
1555 ARRAY ref instead of the $name => @values. Everything else
1557 - added tests for this
1560 - making test for using '+name' on attributes consumed
1561 from a role, it works and makes sense too.
1563 * Moose::Meta::Attribute
1564 - fix handles so that it doesn't return nothing
1565 when the method cannot be found, not sure why
1566 it ever did this originally, this means we now
1567 have slightly better support for AUTOLOADed
1569 - added more delegation tests
1570 - adding ->does method to this so as to better
1571 support traits and their introspection.
1572 - added tests for this
1575 - localizing the Data::Dumper configurations so
1576 that it does not pollute others (RT #33509)
1577 - made ->does a little more forgiving when it is
1578 passed Class::MOP era metaclasses.
1580 0.38 Fri. Feb. 15, 2008
1581 * Moose::Meta::Attribute
1582 - fixed initializer to correctly do
1583 type checking and coercion in the
1585 - added tests for this
1588 - fixed some finicky tests (thanks to konobi)
1590 0.37 Thurs. Feb. 14, 2008
1592 - fixed some details in Moose::init_meta
1593 and its superclass handling (thanks thepler)
1594 - added tests for this (thanks thepler)
1595 - 'has' now dies if you don't pass in name
1597 - added the 'make_immutable' keyword as a shortcut
1600 * Moose::Meta::Class
1601 Moose::Meta::Method::Constructor
1602 Moose::Meta::Attribute
1603 - making (init_arg => undef) work here too
1604 (thanks to nothingmuch)
1606 * Moose::Meta::Attribute
1607 Moose::Meta::Method::Constructor
1608 Moose::Meta::Method::Accessor
1609 - make lazy attributes respect attr initializers (rjbs)
1610 - added tests for this
1612 * Moose::Util::TypeConstraints
1613 Moose::Util::TypeConstraints::OptimizedConstraints
1614 Moose::Meta::TypeConstraints
1615 Moose::Meta::Attribute
1616 Moose::Meta::Method::Constructor
1617 Moose::Meta::Method::Accessor
1618 - making type errors use the
1619 assigned message (thanks to Sartak)
1620 - added tests for this
1622 * Moose::Meta::Method::Destructor
1623 - making sure DESTROY gets inlined properly
1624 with successive DEMOLISH calls (thanks to manito)
1626 * Moose::Meta::Attribute
1627 Moose::Meta::Method::Accessor
1628 - fixed handling of undef with type constraints
1630 - added tests for this
1633 - added &get_all_init_args and &get_all_attribute_values
1634 (thanks to Sartak and nothingmuch)
1636 0.36 Sat. Jan. 26, 2008
1638 Moose::Meta::Attribute
1639 - role type tests now support when roles are
1640 applied to non-Moose classes (found by ash)
1641 - added tests for this (thanks to ash)
1642 - couple extra tests to boost code coverage
1644 * Moose::Meta::Method::Constructor
1645 - improved fix for handling Class::MOP attributes
1646 - added test for this
1648 * Moose::Meta::Class
1649 - handled the add_attribute($attribute_meta_object)
1651 - added test for this
1653 0.35 Tues. Jan. 22, 2008
1654 * Moose::Meta::Method::Constructor
1655 - fix to make sure even Class::MOP attributes
1656 are handled correctly (Thanks to Dave Rolsky)
1657 - added test for this (also Dave Rolsky)
1659 * Moose::Meta::Class
1660 - improved error message on _apply_all_roles,
1661 you should now use Moose::Util::apply_all_roles
1662 and you shouldnt have been using a _ prefixed
1663 method in the first place ;)
1665 0.34 Mon. Jan. 21, 2008
1666 ~~~ more misc. doc. fixes ~~~
1667 ~~ updated copyright dates ~~
1669 Moose is now a postmodern object system :)
1670 - (see the POD for details)
1672 * <<Role System Refactoring>>
1673 - this release contains a major reworking and
1674 cleanup of the role system
1675 - 100% backwards compat.
1676 - Role application now restructured into seperate
1677 classes based on type of applicants
1678 - Role summation (combining of more than one role)
1679 is much cleaner and anon-classes are no longer
1680 used in this process
1681 - new Composite role metaclass
1682 - runtime application of roles to instances
1683 is now more efficient and re-uses generated
1684 classes when applicable
1686 * <<New Role composition features>>
1687 - methods can now be excluded from a given role
1689 - methods can now be aliased to another name (and
1690 still retain the original as well)
1692 * Moose::Util::TypeConstraints::OptimizedConstraints
1693 - added this module (see above)
1695 * Moose::Meta::Class
1696 - fixed the &_process_attribute method to be called
1697 by &add_attribute, so that the API is now correct
1699 * Moose::Meta::Method::Accessor
1700 - fixed bug when passing a list of values to
1701 an accessor would get (incorrectly) ignored.
1702 Thanks to Sartak for finding this ;)
1703 - added tests for this (Sartak again)
1705 * Moose::Meta::Method::Accessor
1706 Moose::Meta::Method::Constructor
1707 Moose::Meta::Attribute
1708 Moose::Meta::TypeConstraint
1709 Moose::Meta::TypeCoercion
1710 - lots of cleanup of such things as:
1712 - type constraint handling
1713 - error handling/messages
1714 (thanks to nothingmuch)
1716 * Moose::Meta::TypeConstraint::Parameterizable
1717 - added this module to support the refactor
1718 in Moose::Meta::TypeConstraint::Parameterized
1720 * Moose::Meta::TypeConstraint::Parameterized
1721 - refactored how these types are handled so they
1722 are more generic and not confined to ArrayRef
1726 - shortened some file names for better VMS support (RT #32381)
1728 0.33 Fri. Dec. 14, 2007
1729 !! Moose now loads 2 x faster !!
1730 !! with new Class::MOP 0.49 !!
1732 ++ new oose.pm module to make command line
1733 Moose-ness easier (see POD docs for more)
1735 * Moose::Meta::Class
1737 - several tweaks to take advantage of the
1738 new method map caching in Class::MOP
1740 * Moose::Meta::TypeConstraint::Parameterized
1741 - allow subtypes of ArrayRef and HashRef to
1742 be used as a container (sartak)
1743 - added tests for this
1744 - basic support for coercion to ArrayRef and
1745 HashRef for containers (sartak)
1746 - added tests for this
1748 * Moose::Meta::TypeCoercion
1749 - coercions will now create subtypes as needed
1750 so you can now add coercions to parameterized
1751 types without having to explictly define them
1752 - added tests for this
1754 * Moose::Meta::Method::Accessor
1755 - allow subclasses to decide whether we need
1756 to copy the value into a new variable (sartak)
1758 0.32 Tues. Dec. 4, 2007
1759 * Moose::Util::TypeConstraints
1760 - fixing how subtype aliases of unions work
1761 they should inherit the parent's coercion
1762 - added tests for this
1763 - you can now define multiple coercions on
1764 a single type at different times instead of
1765 having to do it all in one place
1766 - added tests for this
1768 * Moose::Meta::TypeConstraint
1769 - there is now a default constraint of sub { 1 }
1770 instead of Moose::Util::TypeConstraints setting
1773 * Moose::Meta::TypeCoercion
1774 * Moose::Meta::TypeCoercion::Union
1775 - added the &has_coercion_for_type and
1776 &add_type_coercions methods to support the
1777 new features above (although you cannot add
1778 more type coercions for Union types)
1780 0.31 Mon. Nov. 26, 2007
1781 * Moose::Meta::Attribute
1782 - made the +attr syntax handle extending types with
1783 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1784 now works if the original foo is an ArrayRef.
1785 - added tests for this.
1786 - delegation now works even if the attribute does not
1787 have a reader method using the get_read_method_ref
1788 method from Class::MOP::Attribute.
1789 - added tests for this
1790 - added docs for this
1792 * Moose::Util::TypeConstraints
1793 - passing no "additional attribute info" to
1794 &find_or_create_type_constraint will no longer
1795 attempt to create an __ANON__ type for you,
1796 instead it will just return undef.
1797 - added docs for this
1799 0.30 Fri. Nov. 23, 2007
1800 * Moose::Meta::Method::Constructor
1801 -builder related bug in inlined constructor. (groditi)
1803 * Moose::Meta::Method::Accessor
1804 - genereate unnecessary calls to predicates and refactor
1805 code generation for runtime speed (groditi)
1807 * Moose::Util::TypeConstraints
1808 - fix ClassName constraint to introspect symbol table (mst)
1809 - added more tests for this (mst)
1810 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1811 with work correctly.
1812 - added tests for this
1815 - adding the link to Recipie 11 (written by Sartak)
1816 - adding test for SYNOPSIS code
1819 - New tests for builder bug. Upon instantiation, if an
1820 attribute had a builder, no value and was not lazy the
1821 builder default was not getting run, oops. (groditi)
1823 0.29 Tues. Nov. 13, 2007
1824 * Moose::Meta::Attribute
1825 - Fix error message on missing builder method (groditi)
1827 * Moose::Meta::Method::Accessor
1828 - Fix error message on missing builder method (groditi)
1831 - Add test to check for the correct error message when
1832 builder method is missing (groditi)
1834 0.28 Tues. Nov. 13, 2007
1835 - 0.27 packaged incorrectly (groditi)
1837 0.27 Tues. Nov. 13, 2007
1838 * Moose::Meta::Attribute
1839 - Added support for the new builder option (groditi)
1840 - Added support for lazy_build option (groditi)
1841 - Changed slot initialization for predicate changes (groditi)
1843 * Moose::Meta::Method::Accessor
1844 - Added support for lazy_build option (groditi)
1845 - Fix inline methods to work with corrected predicate
1848 * Moose::Meta::Method::Constructor
1849 - Added support for lazy_build option (groditi)
1852 - tests for builder and lazy_build (groditi)
1854 * fixing some misc. bits in the docs that
1855 got mentioned on CPAN Forum & perlmonks
1858 - fixed how required methods are handled
1859 when they encounter overriden or modified
1860 methods from a class (thanks to confound).
1861 - added tests for this
1863 * Moose::Util::TypeConstraint
1864 - fixed the type notation parser so that
1865 the | always creates a union and so is
1866 no longer a valid type char (thanks to
1867 konobi, mugwump and #moose for working
1869 - added more tests for this
1871 0.26 Thurs. Sept. 27, 2007
1874 * Parameterized Types
1875 We now support parameterized collection types, such as:
1876 ArrayRef[Int] # array or integers
1877 HashRef[Object] # a hash with object values
1878 They can also be nested:
1879 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1880 And work with the type unions as well:
1881 ArrayRef[Int | Str] # array of integers of strings
1883 * Better Framework Extendability
1884 Moose.pm is now "extendable" such that it is now much
1885 easier to extend the framework and add your own keywords
1886 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1887 section of the Moose.pm docs.
1890 In an effort to begin documenting some of the various
1891 details of Moose as well as some common idioms, we have
1892 created Moose::Cookbook::Snacks as a place to find
1893 small (easily digestable) nuggets of Moose code.
1896 ~ Several doc updates/cleanup thanks to castaway ~
1898 - converted build system to use Module::Install instead of
1899 Module::Build (thanks to jrockway)
1902 - added all the meta classes to the immutable list and
1903 set it to inline the accessors
1904 - fix import to allow Sub::Exporter like { into => }
1905 and { into_level => } (perigrin)
1906 - exposed and documented init_meta() to allow better
1907 embedding and extending of Moose (perigrin)
1910 - complete re-organization of the test suite
1911 - added some new tests as well
1912 - finally re-enabled the Moose::POOP test since
1913 the new version of DBM::Deep now works again
1916 * Moose::Meta::Class
1917 - fixed very odd and very nasty recursion bug with
1919 - added tests for this (eilara)
1921 * Moose::Meta::Attribute
1922 Moose::Meta::Method::Constructor
1923 Moose::Meta::Method::Accessor
1924 - fixed issue with overload::Overloaded getting called
1925 on non-blessed items. (RT #29269)
1926 - added tests for this
1928 * Moose::Meta::Method::Accessor
1929 - fixed issue with generated accessor code making
1930 assumptions about hash based classes (thanks to dexter)
1932 * Moose::Coookbook::Snacks
1933 - these are bits of documentation, not quite as big as
1934 Recipes but which have no clear place in the module docs.
1935 So they are Snacks! (horray for castaway++)
1937 * Moose::Cookbook::Recipe4
1938 - updated it to use the new ArrayRef[MyType] construct
1939 - updated the accompanying test as well
1941 +++ Major Refactor of the Type Constraint system +++
1942 +++ with new features added as well +++
1944 * Moose::Util::TypeConstraint
1945 - no longer uses package variable to keep track of
1946 the type constraints, now uses the an instance of
1947 Moose::Meta::TypeConstraint::Registry to do it
1948 - added more sophisticated type notation parsing
1950 - added tests for this
1952 * Moose::Meta::TypeConstraint
1953 - some minor adjustments to make subclassing easier
1954 - added the package_defined_in attribute so that we
1955 can track where the type constraints are created
1957 * Moose::Meta::TypeConstraint::Union
1958 - this is now been refactored to be a subclass of
1959 Moose::Meta::TypeConstraint
1961 * Moose::Meta::TypeCoercion::Union
1962 - this has been added to service the newly refactored
1963 Moose::Meta::TypeConstraint::Union and is itself
1964 a subclass of Moose::Meta::TypeCoercion
1966 * Moose::Meta::TypeConstraint::Parameterized
1967 - added this module (taken from MooseX::AttributeHelpers)
1968 to help construct nested collection types
1969 - added tests for this
1971 * Moose::Meta::TypeConstraint::Registry
1972 - added this class to keep track of type constraints
1974 0.25 Mon. Aug. 13, 2007
1976 - Documentation update to reference Moose::Util::TypeConstraints
1977 under 'isa' in 'has' for how to define a new type
1978 (thanks to shlomif).
1980 * Moose::Meta::Attribute
1981 - required attributes now will no longer accept undef
1982 from the constructor, even if there is a default and lazy
1983 - added tests for this
1984 - default subroutines must return a value which passes the
1986 - added tests for this
1988 * Moose::Meta::Attribute
1989 * Moose::Meta::Method::Constructor
1990 * Moose::Meta::Method::Accessor
1991 - type-constraint tests now handle overloaded objects correctly
1992 in the error message
1993 - added tests for this (thanks to EvanCarroll)
1995 * Moose::Meta::TypeConstraint::Union
1996 - added (has_)hand_optimized_constraint to this class so that
1997 it behaves as the regular Moose::Meta::TypeConstraint does.
2000 - large refactoring of this code
2001 - added several more tests
2002 - tests for subtle conflict resolition issues
2003 added, but not currently running
2006 * Moose::Cookbook::Recipe7
2007 - added new recipe for augment/inner functionality
2009 - added test for this
2012 - a formal definition of roles (still in progress)
2015 - utilities for easier working with Moose classes
2016 - added tests for these
2019 - This contains Moose specific test functions
2020 - added tests for these
2022 0.24 Tues. July 3, 2007
2023 ~ Some doc updates/cleanup ~
2025 * Moose::Meta::Attribute
2026 - added support for roles to be given as parameters
2027 to the 'handles' option.
2028 - added tests and docs for this
2029 - the has '+foo' attribute form now accepts changes to
2030 the lazy option, and the addition of a handles option
2031 (but not changing the handles option)
2032 - added tests and docs for this
2035 - required methods are now fetched using find_method_by_name
2036 so that required methods can come from superclasses
2037 - adjusted tests for this
2039 0.23 Mon. June 18, 2007
2040 * Moose::Meta::Method::Constructor
2041 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
2042 * Moose::Meta::Class
2043 - Modify make_immutable to work with the new Class::MOP immutable
2044 mechanism + POD + very basic test (groditi)
2045 * Moose::Meta::Attribute
2046 - Fix handles to use goto() so that caller() comes out properly on
2047 the other side (perigrin)
2049 0.22 Thurs. May 31, 2007
2050 * Moose::Util::TypeConstraints
2051 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
2052 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
2053 prototypes for functions
2054 - added the ClassName type constraint, this checks for strings
2055 which will respond true to ->isa(UNIVERSAL).
2056 - added tests and docs for this
2057 - subtyping just in name now works correctly by making the
2058 default for where be { 1 }
2059 - added test for this
2061 * Moose::Meta::Method::Accessor
2062 - coerce and lazy now work together correctly, thanks to
2063 merlyn for finding this bug
2064 - tests added for this
2065 - fix reader presedence bug in Moose::Meta::Attribute + tests
2068 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
2069 a HASH-ref and missed. This produces better error messages then
2070 having it die cause undef is not a HASH.
2071 - added tests for this
2073 0.21 Thursday, May 2nd, 2007
2075 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
2076 - modified unimport to remove super and inner along with the rest
2077 - altered unimport tests to handle this
2080 - altered super export to populate SUPER_SLOT
2082 * Moose::Meta::Class
2083 - altered augment and override modifier application to use *_SLOT
2084 - modified tests for these to unimport one test class each to test
2087 - fixed issue where custom attribute metaclasses
2088 where not handled correctly in roles
2089 - added tests for this
2091 * Moose::Meta::Class
2092 - fixed issue where extending metaclasses with
2093 roles would blow up. Thanks to Aankhen`` for
2094 finding this insidious error, and it's solution.
2096 ~~ lots of spelling and grammer fixes in the docs,
2097 many many thanks to rlb3 and Aankhen for these :)
2099 0.20 Friday, April 6th, 2007
2100 >> I messed up the SKIP logic in one test
2101 so this release is just to fix that.
2104 - 'has' now also accepts an ARRAY ref
2105 to create multiple attrs (see docs)
2106 (thanks to konobi for this)
2107 - added tests and docs
2109 0.19 Thurs. April 5th, 2007
2110 ~~ More documentation updates ~~
2112 * Moose::Util::TypeConstraints
2113 - 'type' now supports messages as well
2114 thanks to phaylon for finding this
2115 - added tests for this
2116 - added &list_all_type_constraints and
2117 &list_all_builtin_type_constraints
2118 functions to facilitate introspection.
2120 * Moose::Meta::Attribute
2121 - fixed regexp 'handles' declarations
2122 to build the list of delegated methods
2123 correctly (and not override important
2124 things like &new) thanks to ashleyb
2126 - added tests and docs for this
2127 - added the 'documentation' attributes
2128 so that you can actually document your
2129 attributes and inspect them through the
2131 - added tests and docs for this
2133 * Moose::Meta::Class
2134 - when loading custom attribute metaclasses
2135 it will first look in for the class in the
2136 Moose::Meta::Attribute::Custom::$name, and
2137 then default to just loading $name.
2138 - added tests and docs for this
2140 * Moose::Meta::TypeConstraint
2141 - type constraints now stringify to their names.
2142 - added test for this
2145 - added tests to assure we work with Module::Refresh
2146 - added stricter test skip logic in the Moose POOP
2147 test, ask Rob Kinyon why.
2148 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
2150 0.18 Sat. March 10, 2007
2151 ~~ Many, many documentation updates ~~
2154 - We now use Class::MOP::load_class to
2156 - added tests to show types and subtypes
2157 working with Declare::Constraints::Simple
2158 and Test::Deep as constraint engines.
2161 !! You must have Class::MOP 0.37_001 !!
2162 !! for this developer release to work !!
2164 This release was primarily adding the immutable
2165 feature to Moose. An immutable class is one which
2166 you promise not to alter. When you set the class
2167 as immutable it will perform various bits of
2168 memoization and inline certain part of the code
2169 (constructors, destructors and accessors). This
2170 minimizes (and in some cases totally eliminates)
2171 one of Moose's biggest performance hits. This
2172 feature is not on by default, and is 100% optional.
2173 It has several configurable bits as well, so you
2174 can pick and choose to your specific needs.
2176 The changes involved in this were fairly wide and
2177 highly specific, but 100% backwards compatible, so
2178 I am not going to enumerate them here. If you are
2179 truely interested in what was changed, please do
2182 0.17 Tues. Nov. 14, 2006
2183 * Moose::Meta::Method::Accessor
2184 - bugfix for read-only accessors which
2185 are have a type constraint and lazy.
2186 Thanks to chansen for finding it.
2188 0.16 Tues. Nov. 14, 2006
2190 There are some speed improvements in this release,
2191 but they are only the begining, so stay tuned.
2194 - BUILDALL and DEMOLISHALL no longer get
2195 called unless they actually need to be.
2196 This gave us a signifigant speed boost
2197 for the cases when there is no BUILD or
2198 DEMOLISH method present.
2200 * Moose::Util::TypeConstraints
2201 * Moose::Meta::TypeConstraint
2202 - added an 'optimize_as' option to the
2203 type constraint, which allows for a
2204 hand optimized version of the type
2205 constraint to be used when possible.
2206 - Any internally created type constraints
2207 now provide an optimized version as well.
2209 0.15 Sun. Nov. 5, 2006
2211 This version of Moose *must* have Class::MOP 0.36 in order
2212 to work correctly. A number of small internal tweaks have
2213 been made in order to be compatible with that release.
2215 * Moose::Util::TypeConstraints
2216 - added &unimport so that you can clean out
2217 your class namespace of these exported
2220 * Moose::Meta::Class
2221 - fixed minor issue which occasionally
2222 comes up during global destruction
2224 - moved Moose::Meta::Method::Overriden into
2228 - moved Moose::Meta::Role::Method into
2231 * Moose::Meta::Attribute
2232 - changed how we do type checks so that
2233 we reduce the overall cost, but still
2236 - moved accessor generation methods to
2237 Moose::Meta::Method::Accessor to
2238 conform to the API changes from
2241 * Moose::Meta::TypeConstraint
2242 - changed how constraints are compiled
2243 so that we do less recursion and more
2244 iteration. This makes the type check
2246 - moved Moose::Meta::TypeConstraint::Union
2249 * Moose::Meta::Method::Accessor
2250 - created this from methods formerly found in
2251 Moose::Meta::Attribute
2253 * Moose::Meta::Role::Method
2254 - moved this from Moose::Meta::Role
2256 * Moose::Meta::Method::Overriden
2257 - moved this from Moose::Meta::Class
2259 * Moose::Meta::TypeConstraint::Union
2260 - moved this from Moose::Meta::TypeConstraint
2262 0.14 Mon. Oct. 9, 2006
2264 * Moose::Meta::Attribute
2265 - fixed lazy attributes which were not getting
2266 checked with the type constraint (thanks ashley)
2267 - added tests for this
2268 - removed the over-enthusiastic DWIMery of the
2269 automatic ArrayRef and HashRef defaults, it
2270 broke predicates in an ugly way.
2271 - removed tests for this
2273 0.13 Sat. Sept. 30, 2006
2275 This version of Moose *must* have Class::MOP 0.35 in order
2276 to work correctly. A number of small internal tweaks have
2277 been made in order to be compatible with that release.
2280 - Removed the use of UNIVERSAL::require to be a better
2281 symbol table citizen and remove a dependency
2282 (thanks Adam Kennedy)
2284 **~~ removed experimental & undocumented feature ~~**
2285 - commented out the 'method' and 'self' keywords, see the
2286 comments for more info.
2289 - added a FAQ and WTF files to document frequently
2290 asked questions and common problems
2292 * Moose::Util::TypeConstraints
2293 - added GlobRef and FileHandle type constraint
2294 - added tests for this
2296 * Moose::Meta::Attribute
2297 - if your attribute 'isa' ArrayRef of HashRef, and you have
2298 not explicitly set a default, then make the default DWIM.
2299 This will also work for subtypes of ArrayRef and HashRef
2301 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2302 - new test added for this (thanks to ashley)
2305 - added basic support for runtime role composition
2306 but this is still *highly experimental*, so feedback
2307 is much appreciated :)
2308 - added tests for this
2310 * Moose::Meta::TypeConstraint
2311 - the type constraint now handles the coercion process
2312 through delegation, this is to support the coercion
2315 * Moose::Meta::TypeConstraint::Union
2316 - it is now possible for coercions to be performed
2318 - added tests for this (thanks to konobi)
2320 * Moose::Meta::TypeCoercion
2321 - properly capturing error when type constraint
2325 - Scalar::Util 1.18 is bad on Win32, so temporarily
2326 only require version 1.17 for Win32 and cygwin.
2327 (thanks Adam Kennedy)
2329 0.12 Sat. Sept. 1, 2006
2331 - Recipe5 (subtypes & coercion) has been written
2334 - fixed "bad meta" error message to be more descriptive
2335 - fixed &unimport to not remove the &inner and &super
2336 keywords because we need to localize them.
2337 - fixed number of spelling/grammer issues, thanks Theory :)
2339 **~~ experimental & undocumented feature ~~**
2340 - added the method and self keywords, they are basically
2341 just sugar, and they may not stay around.
2344 - added &dump method to easily Data::Dumper
2347 * Moose::Meta::TypeConstraint
2348 - added the &is_a_type_of method to check both the current
2349 and the subtype of a method (similar to &isa with classes)
2352 - this is now a subclass of Class::MOP::Module, and no longer
2353 creates the _role_meta ugliness of before.
2354 - fixed tests to reflect this change
2356 0.11 Wed. July 12, 2006
2358 - added an &unimport method to remove all the keywords
2359 that Moose will import, simply add 'no Moose' to the
2360 bottom of your class file.
2363 - fixed some test failures caused by a forgotten test
2366 0.10 Thurs. July 6, 2006
2368 - improved error message when loading modules so
2369 it is less confusing when you load a role.
2370 - added &calculate_all_roles method to
2371 Moose::Meta::Class and Moose::Meta::Role
2374 This module has been tested against Class::MOP 0.30
2375 but it does not yet utilize the optimizations
2376 it makes available. Stay tuned for that ;)
2378 0.09_03 Fri. June 23, 2006
2379 ++ DEVELOPER RELEASE ++
2381 - 'use strict' and 'use warnings' are no longer
2382 needed in Moose classes, Moose itself will
2383 turn them on for you.
2384 - added tests for this
2385 - moved code from exported subs to private methods
2386 in Moose::Meta::Class
2389 - as with Moose, strict and warnings are
2390 automatically turned on for you.
2391 - added tests for this
2394 - now handles an edge case for override errors
2395 - added tests for this
2396 - added some more edge case tests
2398 0.09_02 Tues. May 16, 2006
2399 ++ DEVELOPER RELEASE ++
2401 - added prototypes to the exported subs
2405 - added prototypes to the exported subs
2408 * Moose::Util::TypeConstraints
2409 - cleaned up prototypes for the subs
2412 0.09_01 Fri. May 12, 2006
2413 ++ DEVELOPER RELEASE ++
2414 - This release works in combination with
2415 Class::MOP 0.29_01, it is a developer
2416 release because it uses the a new
2417 instance sub-protocol and a fairly
2418 complete Role implementation. It has
2419 not yet been optimized, so it slower
2420 the the previous CPAN version. This
2421 release also lacks good updated docs,
2422 the official release will have updated docs.
2425 - refactored the keyword exports
2426 - 'with' now checks Role validaity and
2427 accepts more than one Role at a time
2428 - 'extends' makes metaclass adjustments as
2429 needed to ensure metaclass compatibility
2432 - refactored the keyword exports
2433 - 'with' now checks Role validaity and
2434 accepts more than one Role at a time
2436 * Moose::Util::TypeConstraints
2437 - added the 'enum' keyword for simple
2438 string enumerations which can be used as
2440 - see example of usage in t/202_example.t
2443 - more careful checking of params to new()
2446 - much work done on the role composition
2447 - many new tests for conflict detection
2448 and composition edge cases
2449 - not enough documentation, I suggest
2450 looking at the tests
2452 * Moose::Meta::Instance
2453 - added new Instance metaclass to support
2454 the new Class::MOP instance protocol
2456 * Moose::Meta::Class
2457 - some small changes to support the new
2459 - some small additions to support Roles
2461 * Moose::Meta::Attribute
2462 - some improvements to the accessor generation code
2464 - some small changes to support the new
2466 - (still somewhat) experimental delegation support
2467 with the 'handles' option
2468 - added several tests for this
2469 - no docs for this yet
2471 0.05 Thurs. April 27, 2006
2473 - keywords are now exported with Sub::Exporter
2474 thanks to chansen for this commit
2475 - has keyword now takes a 'metaclass' option
2476 to support custom attribute meta-classes
2477 on a per-attribute basis
2478 - added tests for this
2479 - the 'has' keyword not accepts inherited slot
2480 specifications (has '+foo'). This is still an
2481 experimental feature and probably not finished
2482 see t/038_attribute_inherited_slot_specs.t for
2483 more details, or ask about it on #moose
2484 - added tests for this
2487 - keywords are now exported with Sub::Exporter
2489 * Moose::Utils::TypeConstraints
2490 - reorganized the type constraint hierarchy, thanks
2491 to nothingmuch and chansen for his help and advice
2493 - added some tests for this
2494 - keywords are now exported with Sub::Exporter
2495 thanks to chansen for this commit
2497 * Moose::Meta::Class
2498 - due to changes in Class::MOP, we had to change
2499 construct_instance (for the better)
2501 * Moose::Meta::Attribute
2502 - due to changes in Class::MOP, we had to add the
2503 initialize_instance_slot method (it's a good thing)
2505 * Moose::Meta::TypeConstraint
2506 - added type constraint unions
2507 - added tests for this
2508 - added the is_subtype_of predicate method
2509 - added tests for this
2511 0.04 Sun. April 16th, 2006
2513 - Roles can now consume other roles
2514 - added tests for this
2515 - Roles can specify required methods now with
2516 the requires() keyword
2517 - added tests for this
2520 - ripped out much of it's guts ,.. much cleaner now
2521 - added required methods and correct handling of
2522 them in apply() for both classes and roles
2523 - added tests for this
2524 - no longer adds a does() method to consuming classes
2525 it relys on the one in Moose::Object
2526 - added roles attribute and some methods to support
2527 roles consuming roles
2529 * Moose::Meta::Attribute
2530 - added support for triggers on attributes
2531 - added tests for this
2532 - added support for does option on an attribute
2533 - added tests for this
2535 * Moose::Meta::Class
2536 - added support for attribute triggers in the
2538 - added tests for this
2541 - Moose no longer creates a subtype for your class
2542 if a subtype of the same name already exists, this
2543 should DWIM in 99.9999% of all cases
2545 * Moose::Util::TypeConstraints
2546 - fixed bug where incorrect subtype conflicts were
2548 - added test for this
2551 - this class can now be extended with 'use base' if
2552 you need it, it properly loads the metaclass class now
2553 - added test for this
2555 0.03_02 Wed. April 12, 2006
2557 - you must now explictly use Moose::Util::TypeConstraints
2558 it no longer gets exported for you automatically
2561 - new() now accepts hash-refs as well as key/value lists
2562 - added does() method to check for Roles
2563 - added tests for this
2565 * Moose::Meta::Class
2566 - added roles attribute along with the add_role() and
2568 - added tests for this
2571 - now adds a does() method to consuming classes
2572 which tests the class's hierarchy for roles
2573 - added tests for this
2575 0.03_01 Mon. April 10, 2006
2577 - added new Role recipe (no content yet, only code)
2580 - added 'with' keyword for Role support
2581 - added test and docs for this
2582 - fixed subtype quoting bug
2583 - added test for this
2587 - added test and docs
2589 * Moose::Util::TypeConstraints
2590 - added the message keyword to add custom
2591 error messages to type constraints
2594 - the meta role to support Moose::Role
2595 - added tests and docs
2597 * Moose::Meta::Class
2598 - moved a number of things from Moose.pm
2599 to here, they should have been here
2602 * Moose::Meta::Attribute
2603 - moved the attribute option macros here
2604 instead of putting them in Moose.pm
2606 * Moose::Meta::TypeConstraint
2607 - added the message attributes and the
2609 - added tests and docs for this
2611 0.03 Thurs. March 30, 2006
2613 - added the Moose::Cookbook with 5 recipes,
2614 describing all the stuff Moose can do.
2617 - fixed an issue with &extends super class loading
2618 it now captures errors and deals with inline
2619 packages correctly (bug found by mst, solution
2621 - added super/override & inner/augment features
2622 - added tests and docs for these
2625 - BUILDALL now takes a reference of the %params
2626 that are passed to &new, and passes that to
2629 * Moose::Util::TypeConstraints
2630 - Type constraints now survive runtime reloading
2631 - added test for this
2633 * Moose::Meta::Class
2634 - fixed the way attribute defaults are handled
2635 during instance construction (bug found by chansen)
2637 * Moose::Meta::Attribute
2638 - read-only attributes now actually enforce their
2639 read-only-ness (this corrected in Class::MOP as
2642 0.02 Tues. March 21, 2006
2644 - many more tests, fixing some bugs and
2646 - &extends now loads the base module with
2648 - added UNIVERSAL::require to the
2651 - each new Moose class will also create
2652 and register a subtype of Object which
2653 correspond to the new Moose class.
2654 - the 'isa' option in &has now only
2655 accepts strings, and will DWIM in
2658 * Moose::Util::TypeConstraints
2659 - added type coercion features
2660 - added tests for this
2661 - added support for this in attributes
2662 and instance construction
2664 - type construction no longer creates a
2665 function, it registers the type instead.
2666 - added several functions to get the
2670 - BUILDALL and DEMOLISHALL were broken
2671 because of a mis-named hash key, Whoops :)
2673 * Moose::Meta::Attribute
2674 - adding support for coercion in the
2675 autogenerated accessors
2677 * Moose::Meta::Class
2678 - adding support for coercion in the
2679 instance construction
2681 * Moose::Meta::TypeConstraint
2682 * Moose::Meta::TypeCoercion
2683 - type constraints and coercions are now
2684 full fledges meta-objects
2686 0.01 Wed. March 15, 2006
2687 - Moooooooooooooooooose!!!