1 Revision history for Perl extension Moose
6 - Moose::Exporter will no longer remove a subroutine that the
7 exporting package re-exports. Moose re-exports the
8 Carp::confess function, among others. The reasoning is that we
9 cannot know whether you have also explicitly imported those
10 functions for your own use, so we err on the safe side and
11 always keep them. (Dave Rolsky)
12 - added tests for this (rafl)
14 0.57 Wed September 3, 2008
16 - A new bit of doc intended to introduce folks familiar with
17 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
20 - Shows examples of two classes, each done first with and then
21 without Moose. This makes a nice parallel to
22 Moose::Intro. (Dave Rolsky)
24 * Moose::Util::TypeConstraints
25 - Fixed a bug in find_or_parse_type_constraint so that it
26 accepts a Moose::Meta::TypeConstraint object as the parent
27 type, not just a name (jnapiorkowski)
28 - added tests (jnapiorkowski)
31 - If Sub::Name was not present, unimporting failed to actually
32 remove some sugar subs, causing test failures (Dave Rolsky)
34 0.56 Mon September 1, 2008
35 For those not following the series of dev releases, there are
36 several major changes in this release of Moose.
37 ! Moose::init_meta should now be called as a method. See the
40 - Major performance improvements by nothingmuch.
42 - New modules for extension writers, Moose::Exporter and
43 Moose::Util::MetaRole by Dave Rolsky.
45 - Lots of doc improvements and additions, especially in the
50 * Removed all references to the experimental-but-no-longer-needed
51 Moose::Meta::Role::Application::ToMetaclassInstance.
53 * Require Class::MOP 0.65.
55 0.55_04 Sat August 30, 2008
56 * Moose::Util::MetaRole
57 * Moose::Cookbook::Extending::Recipe2
58 - This simplifies the application of roles to any meta class, as
59 well as the base object class. Reimplemented metaclass traits
60 using this module. (Dave Rolsky)
62 * Moose::Cookbook::Extending::Recipe1
63 - This a new recipe, an overview of various ways to write Moose
64 extensions (Dave Rolsky)
66 * Moose::Cookbook::Extending::Recipe3
67 * Moose::Cookbook::Extending::Recipe4
68 - These used to be Extending::Recipe1 and Extending::Recipe2,
71 0.55_03 Fri August 29, 2008
72 * No changes from 0.55_02 except increasing the Class::MOP
73 dependency to 0.64_07.
75 0.55_02 Fri August 29, 2008
76 * Makefile.PL and Moose.pm
77 - explicitly require Perl 5.8.0+ (Dave Rolsky)
79 * Moose::Util::TypeConstraints
80 - Fix warnings from find_type_constraint if the type is not
83 * Moose::Meta::TypeConstraint
84 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
85 return false if the type you specify cannot be found in the
86 type registry, rather than throwing an unhelpful and
87 coincidental exception. (t0m).
88 - added docs & test for this (t0m)
90 * Moose::Meta::TypeConstraint::Registry
91 - add_type_constraint now throws an exception if a parameter is
93 - added docs & test for this (t0m)
95 * Moose::Cookbook::FAQ
96 - Added a faq entry on the difference between "role" and "trait"
100 - Fixed a bug that caused role composition to not see a required
101 method when that method was provided by another role being
102 composed at the same time. (Dave Rolsky)
103 - test and bug finding (tokuhirom)
105 0.55_01 Wed August 20, 2008
107 !! Calling Moose::init_meta as a function is now !!
108 !! deprecated. Please see the Moose.pm docs for details. !!
110 * Moose::Meta::Method::Constructor
111 - Fix inlined constructor so that values produced by default
112 or builder methods are coerced as required. (t0m)
113 - added test for this (t0m)
115 * Moose::Meta::Attribute
116 - A lazy attribute with a default or builder did not attempt to
117 coerce the default value. The immutable code _did_
119 - added test for this (t0m)
122 - This is a new helper module for writing "Moose-alike"
123 modules. This should make the lives of MooseX module authors
124 much easier. (Dave Rolsky)
127 * Moose::Cookbook::Meta::Recipe5
128 - Implemented metaclass traits (and wrote a recipe for it):
130 use Moose -traits => 'Foo'
132 This should make writing small Moose extensions a little
135 * Moose::Cookbook::Basics::Recipe1
136 - Removed any examples of direct hashref access, and applied an
137 editorial axe to reduce verbosity. (Dave Rolsky)
139 * Moose::Cookbook::Basics::Recipe1
140 - Also applied an editorial axe here. (Dave Rolsky)
143 * Moose::Cookbook::Extending::Recipe1
144 * Moose::Cookbook::Extending::Recipe2
145 - Rewrote extending and embedding moose documentation and
146 recipes to use Moose::Exporter (Dave Rolsky)
150 - These two modules now warn when you load them from the main
151 package "main" package, because we will not export sugar to
152 main. Previously it just did nothing. (Dave Rolsky)
155 - Now provide an init_meta method just like Moose.pm, and you
156 can call this to provide an alternate role metaclass. (Dave
157 Rolsky and nothingmuch)
158 - get_method_map now respects the package cache flag (nothingmuch)
161 - Two new methods - add_method and wrap_method_body
165 - Optimizations including allowing constructors to accept hash
166 refs, making many more classes immutable, and making
167 constructors immutable. (nothingmuch)
169 0.55 Sun August 3, 2008
170 * Moose::Meta::Attribute
171 - breaking down the way 'handles' methods are
172 created so that the process can be more easily
173 overridden by subclasses (stevan)
175 * Moose::Meta::TypeConstraint
176 - fixing what is passed into a ->message with
177 the type constraints (RT #37569)
178 - added tests for this (Charles Alderman)
180 * Moose::Util::TypeConstraints
181 - fix coerce to accept anon types like subtype can (mst)
184 - reorganized the recipes into sections - Basics, Roles, Meta,
185 Extending - and wrote abstracts for each section (Dave Rolsky)
187 * Moose::Cookbook::Basics::Recipe10
188 - A new recipe that demonstrates operator overloading
189 in combination with Moose. (bluefeet)
191 * Moose::Cookbook::Meta::Recipe1
192 - an introduction to what meta is and why you'd want to make
193 your own metaclass extensions (Dave Rolsky)
195 * Moose::Cookbook::Meta::Recipe4
196 - a very simple metaclass example (Dave Rolsky)
198 * Moose::Cookbook::Extending::Recipe1
199 - how to write a Moose-alike module to use your own object base
202 * Moose::Cookbook::Extending::Recipe2
203 - how to write modules with an API just like C<Moose.pm> (Dave
207 - Tons of fixes, both syntactical and grammatical (Dave
208 Rolsky, Paul Fenwick)
210 0.54 Thurs. July 3, 2008
211 ... this is not my day today ...
213 * Moose::Meta::Attribute
214 - fixed legal_options_for_inheritance such that
215 clone_and_inherit options still works for
216 Class::MOP::Attribute objects and therefore
217 does not break MooseX::AttributeHelpers
220 0.53 Thurs. July 3, 2008
221 * Whoops, I guess I should run 'make manifest' before
222 actually releasing the module. No actual changes
223 in this release, except the fact that it includes
224 the changes that I didn't include in the last
227 0.52 Thurs. July 3, 2008
229 - added "FEATURE REQUESTS" section to the Moose docs
230 to properly direct people (stevan) (RT #34333)
231 - making 'extends' croak if it is passed a Role since
232 this is not ever something you want to do
233 (fixed by stevan, found by obra)
234 - added tests for this (stevan)
237 - adding support for DOES (as in UNIVERSAL::DOES)
239 - added test for this
241 * Moose::Meta::Attribute
242 - added legal_options_for_inheritance (wreis)
243 - added tests for this (wreis)
245 * Moose::Cookbook::Snacks::*
246 - removed some of the unfinished snacks that should
247 not have been released yet. Added some more examples
248 to the 'Keywords' snack. (stevan)
250 * Moose::Cookbook::Style
251 - added general Moose "style guide" of sorts to the
252 cookbook (nothingmuch) (RT #34335)
255 - added more BUILDARGS tests (stevan)
257 0.51 Thurs. Jun 26, 2008
259 - add unimport so "no Moose::Role" actually does
262 * Moose::Meta::Role::Application::ToRole
263 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
264 order to provide its own implementation, that method still got
265 added to the list of required methods for consumers of
266 RoleB. Now an aliased method is only added to the list of
267 required methods if the role doing the aliasing does not
268 provide its own implementation. See Recipe 11 for an example
269 of all this. (Dave Rolsky)
270 - added tests for this
272 * Moose::Meta::Method::Constructor
273 - when a single argument that wasn't a hashref was provided to
274 an immutabilized constructor, the error message was very
275 unhelpful, as opposed to the non-immutable error. Reported by
277 - added test for this (Dave Rolsky)
279 * Moose::Meta::Attribute
280 - added support for meta_attr->does("ShortAlias") (sartak)
281 - added tests for this (sartak)
282 - moved the bulk of the `handles` handling to the new
283 install_delegation method (Stevan)
286 - Added BUILDARGS, a new step in new()
288 * Moose::Meta::Role::Application::RoleSummation
289 - fix typos no one ever sees (sartak)
291 * Moose::Util::TypeConstraints
292 * Moose::Meta::TypeConstraint
293 * Moose::Meta::TypeCoercion
294 - Attempt to work around the ??{ } vs. threads issue
296 - Some null_constraint optimizations
298 0.50 Thurs. Jun 11, 2008
299 - Fixed a version number issue by bumping all modules
302 0.49 Thurs. Jun 11, 2008
303 !! This version now approx. 20-25% !!
304 !! faster with new Class::MOP 0.59 !!
306 * Moose::Meta::Attribute
307 - fixed how the is => (ro|rw) works with
308 custom defined reader, writer and accessor
310 - added docs for this (TODO).
311 - added tests for this (Thanks to Penfold)
312 - added the custom attribute alias for regular
313 Moose attributes which is "Moose"
314 - fix builder and default both being used
319 Moose::Meta::Attribute
321 Moose::Meta::Role::Composite
322 Moose::Util::TypeConstraints
323 - switched usage of reftype to ref because
327 - changing add_package_symbol to use the new
331 - fixed how DEMOLISHALL is called so that it
332 can be overrided in subclasses (thanks to Sartak)
333 - added test for this (thanks to Sartak)
335 * Moose::Util::TypeConstraints
336 - move the ClassName type check code to
337 Class::MOP::is_class_loaded (thanks to Sartak)
339 * Moose::Cookbook::Recipe11
340 - add tests for this (thanks to tokuhirom)
342 0.48 Thurs. May 29, 2008
343 (early morning release engineering)--
345 - fixing the version in Moose::Meta::Method::Destructor
346 which was causing the indexer to choke
348 0.47 Thurs. May 29, 2008
349 (late night release engineering)--
351 - fixing the version is META.yml, no functional
352 changes in this release
354 0.46 Wed. May 28, 2008
355 !! This version now approx. 20-25% !!
356 !! faster with new Class::MOP 0.57 !!
359 - some optimizations of the &initialize method
360 since it is called so often by &meta
364 - now use the get_all_package_symbols from the
365 updated Class::MOP, test suite is now 10 seconds
368 * Moose::Meta::Method::Destructor
369 - is_needed can now also be called as a class
370 method for immutablization to check if the
371 destructor object even needs to be created
374 * Moose::Meta::Method::Destructor
375 Moose::Meta::Method::Constructor
376 - added more descriptive error message to help
377 keep people from wasting time tracking an error
378 that is easily fixed by upgrading.
380 0.45 Saturday, May 24, 2008
382 - Because of work in Class::MOP 0.57, all
383 XS based functionality is now optional
384 and a Pure Perl version is supplied
385 - the CLASS_MOP_NO_XS environment variable
386 can now be used to force non-XS versions
388 - several of the packages have been tweaked
389 to take care of this, mostly we added
390 support for the package_name and name
391 variables in all the Method metaclasses
392 - before/around/after method modifiers now
393 support regexp matching of names
394 (thanks to Takatoshi Kitano)
395 - tests added for this
396 - NOTE: this only works for classes, it
397 is currently not supported in roles,
398 but, ... patches welcome
399 - All usage of Carp::confess have been replaced
400 by Carp::croak in the "keyword" functions since
401 the stack trace is usually not helpful
404 - All usage of Carp::confess have been replaced
405 by Carp::croak in the "keyword" functions since
406 the stack trace is usually not helpful
407 - The 'has' keyword for roles now accepts the
408 same array ref form that Moose.pm does
409 (has [qw/foo bar/] => (is => 'rw', ...))
410 - added test for this
412 * Moose::Meta::Attribute
413 - trigger on a ro-attribute is no longer an
414 error, as it's useful to trigger off of the
418 - added same 'add_package_symbol' fix as in
422 - does_role now handles non-Moose classes
424 - added tests for this
425 - added the 'add_method_modifier' function
426 (thanks to Takatoshi Kitano)
428 * Moose::Util::TypeConstraints
429 - subtypes of parameterizable types now are
430 themselves parameterizable types
432 * Moose::Meta::Method::Constructor
433 - fixed bug where trigger was not being
434 called by the inlined immutable
436 - added test for this (thanks to Caelum)
438 * Moose::Meta::Role::Application::ToInstance
439 - now uses the metaclass of the instance
440 (if possible) to create the anon-class
441 (thanks Jonathan Rockway)
443 * Moose::Cookbook::Recipe22
444 - added the meta-attribute trait recipe
448 - fixed hash-ordering test bug that was
449 causing occasional cpantester failures
450 - renamed the t/000_recipe/*.t tests to be
451 more descriptive (thanks to Sartak)
453 0.44 Sat. May 10, 2008
455 - made make_immutable warning cluck to
456 show where the error is (thanks mst)
459 - BUILDALL and DEMOLISHALL now call
460 ->body when looping through the
461 methods, to avoid the overloaded
463 - fixed issue where DEMOLISHALL was
464 eating the $@ values, and so not
465 working correctly, it still kind of
466 eats them, but so does vanilla perl
467 - added tests for this
469 * Moose::Cookbook::Recipe7
470 - added new recipe for immutable
471 functionality (thanks Dave Rolsky)
473 * Moose::Cookbook::Recipe9
474 - added new recipe for builder and
475 lazy_build (thanks Dave Rolsky)
477 * Moose::Cookbook::Recipe11
478 - added new recipe for method aliasing
479 and exclusion with Roles (thanks Dave Rolsky)
482 - fixed Win32 test failure (thanks spicyjack)
484 ~ removed Build.PL and Module::Build compat
485 since Module::Install has done that.
487 0.43 Wed. April, 30, 2008
489 drink more coffee before
490 doing release engineering
492 - whoops, forgot to do the smolder tests,
493 and we broke some of the custom meta-attr
494 modules. This fixes that.
496 0.42 Mon. April 28, 2008
497 - some bad tests slipped by, nothing else
498 changed in this release (cpantesters++)
500 - upped the Class::MOP dependency to 0.55
501 since we have tests which need the C3
504 0.41 Mon. April 28, 2008
505 ~~ numerous documentation updates ~~
507 - Changed all usage of die to Carp::croak for better
508 error reporting (initial patch by Tod Hagan)
511 - the make_immutable keyword is now deprecated, don't
512 use it in any new code and please fix your old code
513 as well. There will be 2 releases, and then it will
519 - refactored the way inner and super work to avoid
520 any method/@ISA cache penalty (nothingmuch)
523 - fixing &new_object to make sure trigger gets the
524 coerced value (spotted by Charles Alderman on the
526 - added test for this
528 * Moose::Meta::Method::Constructor
529 - immutable classes which had non-lazy attributes were calling
530 the default generating sub twice in the constructor. (bug
531 found by Jesse Luehrs, fixed by Dave Rolsky)
532 - added tests for this (Dave Rolsky)
533 - fix typo in initialize_body method (nothingmuch)
535 * Moose::Meta::Method::Destructor
536 - fix typo in initialize_body method (nothingmuch)
538 * Moose::Meta::Method::Overriden
539 Moose::Meta::Method::Augmented
540 - moved the logic for these into their own
541 classes (nothingmuch)
543 * Moose::Meta::Attribute
544 - inherited attributes may now be extended without
545 restriction on the type ('isa', 'does') (Sartak)
546 - added tests for this (Sartak)
547 - when an attribute property is malformed (such as lazy without
548 a default), give the name of the attribute in the error
550 - added the &applied_traits and &has_applied_traits methods
551 to allow introspection of traits
552 - added tests for this
553 - moved 'trait' and 'metaclass' argument handling to here from
555 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
556 '+foo' syntax) (nothingmuch)
557 - added tests for this (t0m)
560 - localize $@ inside DEMOLISHALL to avoid it
561 eating $@ (found by Ernesto)
562 - added test for this (thanks to Ernesto)
564 * Moose::Util::TypeConstraints
565 - &find_type_constraint now DWIMs when given an
566 type constraint object or name (nothingmuch)
567 - &find_or_create_type_constraint superseded with a number of more
569 - find_or_create_{isa,does}_type_constraint
570 - find_or_parse_type_constraint
572 * Moose::Meta::TypeConstraint
573 Moose::Meta::TypeConstraint::Class
574 Moose::Meta::TypeConstraint::Role
575 Moose::Meta::TypeConstraint::Enum
576 Moose::Meta::TypeConstraint::Union
577 Moose::Meta::TypeConstraint::Parameterized
578 - added the &equals method for comparing two type
579 constraints (nothingmuch)
580 - added tests for this (nothingmuch)
582 * Moose::Meta::TypeConstraint
583 - add the &parents method, which is just an alias to &parent.
584 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
586 * Moose::Meta::TypeConstraint::Class
587 - added the class attribute for introspection purposes
589 - added tests for this
591 * Moose::Meta::TypeConstraint::Enum
592 Moose::Meta::TypeConstraint::Role
593 - broke these out into their own classes (nothingmuch)
595 * Moose::Cookbook::Recipe*
596 - fixed references to test file locations in the POD
597 and updated up some text for new Moose features
601 - Added &resolve_metaclass_alias, a helper function for finding an actual
602 class for a short name (e.g. in the traits list)
604 0.40 Fri. March 14, 2008
605 - I hate Pod::Coverage
607 0.39 Fri. March 14, 2008
609 - documenting the use of '+name' with attributes
610 that come from recently composed roles. It makes
611 sense, people are using it, and so why not just
612 officially support it.
613 - fixing the 'extends' keyword so that it will not
614 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
617 - added the perl -Moose=+Class::Name feature to allow
618 monkeypatching of classes in one liners
621 - fixing the 'apply_all_roles' keyword so that it will not
622 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
625 - added ->create method which now supports roles (thanks to jrockway)
626 - added tests for this
627 - added ->create_anon_class which now supports roles and caching of
628 the results (thanks to jrockway)
629 - added tests for this
630 - made ->does_role a little more forgiving when it is
631 checking a Class::MOP era metaclasses.
633 * Moose::Meta::Role::Application::ToInstance
634 - it is now possible to pass extra params to be used when
635 a role is applied to an the instance (rebless_params)
636 - added tests for this
638 * Moose::Util::TypeConstraints
639 - class_type now accepts an optional second argument for a
640 custom message. POD anotated accordingly (groditi)
641 - added tests for this
642 - it is now possible to make anon-enums by passing 'enum' an
643 ARRAY ref instead of the $name => @values. Everything else
645 - added tests for this
648 - making test for using '+name' on attributes consumed
649 from a role, it works and makes sense too.
651 * Moose::Meta::Attribute
652 - fix handles so that it doesn't return nothing
653 when the method cannot be found, not sure why
654 it ever did this originally, this means we now
655 have slightly better support for AUTOLOADed
657 - added more delegation tests
658 - adding ->does method to this so as to better
659 support traits and their introspection.
660 - added tests for this
663 - localizing the Data::Dumper configurations so
664 that it does not pollute others (RT #33509)
665 - made ->does a little more forgiving when it is
666 passed Class::MOP era metaclasses.
668 0.38 Fri. Feb. 15, 2008
669 * Moose::Meta::Attribute
670 - fixed initializer to correctly do
671 type checking and coercion in the
673 - added tests for this
676 - fixed some finicky tests (thanks to konobi)
678 0.37 Thurs. Feb. 14, 2008
680 - fixed some details in Moose::init_meta
681 and its superclass handling (thanks thepler)
682 - added tests for this (thanks thepler)
683 - 'has' now dies if you don't pass in name
685 - added the 'make_immutable' keyword as a shortcut
689 Moose::Meta::Method::Constructor
690 Moose::Meta::Attribute
691 - making (init_arg => undef) work here too
692 (thanks to nothingmuch)
694 * Moose::Meta::Attribute
695 Moose::Meta::Method::Constructor
696 Moose::Meta::Method::Accessor
697 - make lazy attributes respect attr initializers (rjbs)
698 - added tests for this
700 * Moose::Util::TypeConstraints
701 Moose::Util::TypeConstraints::OptimizedConstraints
702 Moose::Meta::TypeConstraints
703 Moose::Meta::Attribute
704 Moose::Meta::Method::Constructor
705 Moose::Meta::Method::Accessor
706 - making type errors use the
707 assigned message (thanks to Sartak)
708 - added tests for this
710 * Moose::Meta::Method::Destructor
711 - making sure DESTROY gets inlined properly
712 with successive DEMOLISH calls (thanks to manito)
714 * Moose::Meta::Attribute
715 Moose::Meta::Method::Accessor
716 - fixed handling of undef with type constraints
718 - added tests for this
721 - added &get_all_init_args and &get_all_attribute_values
722 (thanks to Sartak and nothingmuch)
724 0.36 Sat. Jan. 26, 2008
726 Moose::Meta::Attribute
727 - role type tests now support when roles are
728 applied to non-Moose classes (found by ash)
729 - added tests for this (thanks to ash)
730 - couple extra tests to boost code coverage
732 * Moose::Meta::Method::Constructor
733 - improved fix for handling Class::MOP attributes
734 - added test for this
737 - handled the add_attribute($attribute_meta_object)
739 - added test for this
741 0.35 Tues. Jan. 22, 2008
742 * Moose::Meta::Method::Constructor
743 - fix to make sure even Class::MOP attributes
744 are handled correctly (Thanks to Dave Rolsky)
745 - added test for this (also Dave Rolsky)
748 - improved error message on _apply_all_roles,
749 you should now use Moose::Util::apply_all_roles
750 and you shouldnt have been using a _ prefixed
751 method in the first place ;)
753 0.34 Mon. Jan. 21, 2008
754 ~~~ more misc. doc. fixes ~~~
755 ~~ updated copyright dates ~~
757 Moose is now a postmodern object system :)
758 - (see the POD for details)
760 * <<Role System Refactoring>>
761 - this release contains a major reworking and
762 cleanup of the role system
763 - 100% backwards compat.
764 - Role application now restructured into seperate
765 classes based on type of applicants
766 - Role summation (combining of more than one role)
767 is much cleaner and anon-classes are no longer
769 - new Composite role metaclass
770 - runtime application of roles to instances
771 is now more efficient and re-uses generated
772 classes when applicable
774 * <<New Role composition features>>
775 - methods can now be excluded from a given role
777 - methods can now be aliased to another name (and
778 still retain the original as well)
780 * Moose::Util::TypeConstraints::OptimizedConstraints
781 - added this module (see above)
784 - fixed the &_process_attribute method to be called
785 by &add_attribute, so that the API is now correct
787 * Moose::Meta::Method::Accessor
788 - fixed bug when passing a list of values to
789 an accessor would get (incorrectly) ignored.
790 Thanks to Sartak for finding this ;)
791 - added tests for this (Sartak again)
793 * Moose::Meta::Method::Accessor
794 Moose::Meta::Method::Constructor
795 Moose::Meta::Attribute
796 Moose::Meta::TypeConstraint
797 Moose::Meta::TypeCoercion
798 - lots of cleanup of such things as:
800 - type constraint handling
801 - error handling/messages
802 (thanks to nothingmuch)
804 * Moose::Meta::TypeConstraint::Parameterizable
805 - added this module to support the refactor
806 in Moose::Meta::TypeConstraint::Parameterized
808 * Moose::Meta::TypeConstraint::Parameterized
809 - refactored how these types are handled so they
810 are more generic and not confined to ArrayRef
814 - shortened some file names for better VMS support (RT #32381)
816 0.33 Fri. Dec. 14, 2007
817 !! Moose now loads 2 x faster !!
818 !! with new Class::MOP 0.49 !!
820 ++ new oose.pm module to make command line
821 Moose-ness easier (see POD docs for more)
825 - several tweaks to take advantage of the
826 new method map caching in Class::MOP
828 * Moose::Meta::TypeConstraint::Parameterized
829 - allow subtypes of ArrayRef and HashRef to
830 be used as a container (sartak)
831 - added tests for this
832 - basic support for coercion to ArrayRef and
833 HashRef for containers (sartak)
834 - added tests for this
836 * Moose::Meta::TypeCoercion
837 - coercions will now create subtypes as needed
838 so you can now add coercions to parameterized
839 types without having to explictly define them
840 - added tests for this
842 * Moose::Meta::Method::Accessor
843 - allow subclasses to decide whether we need
844 to copy the value into a new variable (sartak)
846 0.32 Tues. Dec. 4, 2007
847 * Moose::Util::TypeConstraints
848 - fixing how subtype aliases of unions work
849 they should inherit the parent's coercion
850 - added tests for this
851 - you can now define multiple coercions on
852 a single type at different times instead of
853 having to do it all in one place
854 - added tests for this
856 * Moose::Meta::TypeConstraint
857 - there is now a default constraint of sub { 1 }
858 instead of Moose::Util::TypeConstraints setting
861 * Moose::Meta::TypeCoercion
862 * Moose::Meta::TypeCoercion::Union
863 - added the &has_coercion_for_type and
864 &add_type_coercions methods to support the
865 new features above (although you cannot add
866 more type coercions for Union types)
868 0.31 Mon. Nov. 26, 2007
869 * Moose::Meta::Attribute
870 - made the +attr syntax handle extending types with
871 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
872 now works if the original foo is an ArrayRef.
873 - added tests for this.
874 - delegation now works even if the attribute does not
875 have a reader method using the get_read_method_ref
876 method from Class::MOP::Attribute.
877 - added tests for this
878 - added docs for this
880 * Moose::Util::TypeConstraints
881 - passing no "additional attribute info" to
882 &find_or_create_type_constraint will no longer
883 attempt to create an __ANON__ type for you,
884 instead it will just return undef.
885 - added docs for this
887 0.30 Fri. Nov. 23, 2007
888 * Moose::Meta::Method::Constructor
889 -builder related bug in inlined constructor. (groditi)
891 * Moose::Meta::Method::Accessor
892 - genereate unnecessary calls to predicates and refactor
893 code generation for runtime speed (groditi)
895 * Moose::Util::TypeConstraints
896 - fix ClassName constraint to introspect symbol table (mst)
897 - added more tests for this (mst)
898 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
900 - added tests for this
903 - adding the link to Recipie 11 (written by Sartak)
904 - adding test for SYNOPSIS code
907 - New tests for builder bug. Upon instantiation, if an
908 attribute had a builder, no value and was not lazy the
909 builder default was not getting run, oops. (groditi)
911 0.29 Tues. Nov. 13, 2007
912 * Moose::Meta::Attribute
913 - Fix error message on missing builder method (groditi)
915 * Moose::Meta::Method::Accessor
916 - Fix error message on missing builder method (groditi)
919 - Add test to check for the correct error message when
920 builder method is missing (groditi)
922 0.28 Tues. Nov. 13, 2007
923 - 0.27 packaged incorrectly (groditi)
925 0.27 Tues. Nov. 13, 2007
926 * Moose::Meta::Attribute
927 - Added support for the new builder option (groditi)
928 - Added support for lazy_build option (groditi)
929 - Changed slot initialization for predicate changes (groditi)
931 * Moose::Meta::Method::Accessor
932 - Added support for lazy_build option (groditi)
933 - Fix inline methods to work with corrected predicate
936 * Moose::Meta::Method::Constructor
937 - Added support for lazy_build option (groditi)
940 - tests for builder and lazy_build (groditi)
942 * fixing some misc. bits in the docs that
943 got mentioned on CPAN Forum & perlmonks
946 - fixed how required methods are handled
947 when they encounter overriden or modified
948 methods from a class (thanks to confound).
949 - added tests for this
951 * Moose::Util::TypeConstraint
952 - fixed the type notation parser so that
953 the | always creates a union and so is
954 no longer a valid type char (thanks to
955 konobi, mugwump and #moose for working
957 - added more tests for this
959 0.26 Thurs. Sept. 27, 2007
962 * Parameterized Types
963 We now support parameterized collection types, such as:
964 ArrayRef[Int] # array or integers
965 HashRef[Object] # a hash with object values
966 They can also be nested:
967 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
968 And work with the type unions as well:
969 ArrayRef[Int | Str] # array of integers of strings
971 * Better Framework Extendability
972 Moose.pm is now "extendable" such that it is now much
973 easier to extend the framework and add your own keywords
974 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
975 section of the Moose.pm docs.
978 In an effort to begin documenting some of the various
979 details of Moose as well as some common idioms, we have
980 created Moose::Cookbook::Snacks as a place to find
981 small (easily digestable) nuggets of Moose code.
984 ~ Several doc updates/cleanup thanks to castaway ~
986 - converted build system to use Module::Install instead of
987 Module::Build (thanks to jrockway)
990 - added all the meta classes to the immutable list and
991 set it to inline the accessors
992 - fix import to allow Sub::Exporter like { into => }
993 and { into_level => } (perigrin)
994 - exposed and documented init_meta() to allow better
995 embedding and extending of Moose (perigrin)
998 - complete re-organization of the test suite
999 - added some new tests as well
1000 - finally re-enabled the Moose::POOP test since
1001 the new version of DBM::Deep now works again
1004 * Moose::Meta::Class
1005 - fixed very odd and very nasty recursion bug with
1007 - added tests for this (eilara)
1009 * Moose::Meta::Attribute
1010 Moose::Meta::Method::Constructor
1011 Moose::Meta::Method::Accessor
1012 - fixed issue with overload::Overloaded getting called
1013 on non-blessed items. (RT #29269)
1014 - added tests for this
1016 * Moose::Meta::Method::Accessor
1017 - fixed issue with generated accessor code making
1018 assumptions about hash based classes (thanks to dexter)
1020 * Moose::Coookbook::Snacks
1021 - these are bits of documentation, not quite as big as
1022 Recipes but which have no clear place in the module docs.
1023 So they are Snacks! (horray for castaway++)
1025 * Moose::Cookbook::Recipe4
1026 - updated it to use the new ArrayRef[MyType] construct
1027 - updated the accompanying test as well
1029 +++ Major Refactor of the Type Constraint system +++
1030 +++ with new features added as well +++
1032 * Moose::Util::TypeConstraint
1033 - no longer uses package variable to keep track of
1034 the type constraints, now uses the an instance of
1035 Moose::Meta::TypeConstraint::Registry to do it
1036 - added more sophisticated type notation parsing
1038 - added tests for this
1040 * Moose::Meta::TypeConstraint
1041 - some minor adjustments to make subclassing easier
1042 - added the package_defined_in attribute so that we
1043 can track where the type constraints are created
1045 * Moose::Meta::TypeConstraint::Union
1046 - this is now been refactored to be a subclass of
1047 Moose::Meta::TypeConstraint
1049 * Moose::Meta::TypeCoercion::Union
1050 - this has been added to service the newly refactored
1051 Moose::Meta::TypeConstraint::Union and is itself
1052 a subclass of Moose::Meta::TypeCoercion
1054 * Moose::Meta::TypeConstraint::Parameterized
1055 - added this module (taken from MooseX::AttributeHelpers)
1056 to help construct nested collection types
1057 - added tests for this
1059 * Moose::Meta::TypeConstraint::Registry
1060 - added this class to keep track of type constraints
1062 0.25 Mon. Aug. 13, 2007
1064 - Documentation update to reference Moose::Util::TypeConstraints
1065 under 'isa' in 'has' for how to define a new type
1066 (thanks to shlomif).
1068 * Moose::Meta::Attribute
1069 - required attributes now will no longer accept undef
1070 from the constructor, even if there is a default and lazy
1071 - added tests for this
1072 - default subroutines must return a value which passes the
1074 - added tests for this
1076 * Moose::Meta::Attribute
1077 * Moose::Meta::Method::Constructor
1078 * Moose::Meta::Method::Accessor
1079 - type-constraint tests now handle overloaded objects correctly
1080 in the error message
1081 - added tests for this (thanks to EvanCarroll)
1083 * Moose::Meta::TypeConstraint::Union
1084 - added (has_)hand_optimized_constraint to this class so that
1085 it behaves as the regular Moose::Meta::TypeConstraint does.
1088 - large refactoring of this code
1089 - added several more tests
1090 - tests for subtle conflict resolition issues
1091 added, but not currently running
1094 * Moose::Cookbook::Recipe7
1095 - added new recipe for augment/inner functionality
1097 - added test for this
1100 - a formal definition of roles (still in progress)
1103 - utilities for easier working with Moose classes
1104 - added tests for these
1107 - This contains Moose specific test functions
1108 - added tests for these
1110 0.24 Tues. July 3, 2007
1111 ~ Some doc updates/cleanup ~
1113 * Moose::Meta::Attribute
1114 - added support for roles to be given as parameters
1115 to the 'handles' option.
1116 - added tests and docs for this
1117 - the has '+foo' attribute form now accepts changes to
1118 the lazy option, and the addition of a handles option
1119 (but not changing the handles option)
1120 - added tests and docs for this
1123 - required methods are now fetched using find_method_by_name
1124 so that required methods can come from superclasses
1125 - adjusted tests for this
1127 0.23 Mon. June 18, 2007
1128 * Moose::Meta::Method::Constructor
1129 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1130 * Moose::Meta::Class
1131 - Modify make_immutable to work with the new Class::MOP immutable
1132 mechanism + POD + very basic test (groditi)
1133 * Moose::Meta::Attribute
1134 - Fix handles to use goto() so that caller() comes out properly on
1135 the other side (perigrin)
1137 0.22 Thurs. May 31, 2007
1138 * Moose::Util::TypeConstraints
1139 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1140 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1141 prototypes for functions
1142 - added the ClassName type constraint, this checks for strings
1143 which will respond true to ->isa(UNIVERSAL).
1144 - added tests and docs for this
1145 - subtyping just in name now works correctly by making the
1146 default for where be { 1 }
1147 - added test for this
1149 * Moose::Meta::Method::Accessor
1150 - coerce and lazy now work together correctly, thanks to
1151 merlyn for finding this bug
1152 - tests added for this
1153 - fix reader presedence bug in Moose::Meta::Attribute + tests
1156 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1157 a HASH-ref and missed. This produces better error messages then
1158 having it die cause undef is not a HASH.
1159 - added tests for this
1161 0.21 Thursday, May 2nd, 2007
1163 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1164 - modified unimport to remove super and inner along with the rest
1165 - altered unimport tests to handle this
1168 - altered super export to populate SUPER_SLOT
1170 * Moose::Meta::Class
1171 - altered augment and override modifier application to use *_SLOT
1172 - modified tests for these to unimport one test class each to test
1175 - fixed issue where custom attribute metaclasses
1176 where not handled correctly in roles
1177 - added tests for this
1179 * Moose::Meta::Class
1180 - fixed issue where extending metaclasses with
1181 roles would blow up. Thanks to Aankhen`` for
1182 finding this insidious error, and it's solution.
1184 ~~ lots of spelling and grammer fixes in the docs,
1185 many many thanks to rlb3 and Aankhen for these :)
1187 0.20 Friday, April 6th, 2007
1188 >> I messed up the SKIP logic in one test
1189 so this release is just to fix that.
1192 - 'has' now also accepts an ARRAY ref
1193 to create multiple attrs (see docs)
1194 (thanks to konobi for this)
1195 - added tests and docs
1197 0.19 Thurs. April 5th, 2007
1198 ~~ More documentation updates ~~
1200 * Moose::Util::TypeConstraints
1201 - 'type' now supports messages as well
1202 thanks to phaylon for finding this
1203 - added tests for this
1204 - added &list_all_type_constraints and
1205 &list_all_builtin_type_constraints
1206 functions to facilitate introspection.
1208 * Moose::Meta::Attribute
1209 - fixed regexp 'handles' declarations
1210 to build the list of delegated methods
1211 correctly (and not override important
1212 things like &new) thanks to ashleyb
1214 - added tests and docs for this
1215 - added the 'documentation' attributes
1216 so that you can actually document your
1217 attributes and inspect them through the
1219 - added tests and docs for this
1221 * Moose::Meta::Class
1222 - when loading custom attribute metaclasses
1223 it will first look in for the class in the
1224 Moose::Meta::Attribute::Custom::$name, and
1225 then default to just loading $name.
1226 - added tests and docs for this
1228 * Moose::Meta::TypeConstraint
1229 - type constraints now stringify to their names.
1230 - added test for this
1233 - added tests to assure we work with Module::Refresh
1234 - added stricter test skip logic in the Moose POOP
1235 test, ask Rob Kinyon why.
1236 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
1238 0.18 Sat. March 10, 2007
1239 ~~ Many, many documentation updates ~~
1242 - We now use Class::MOP::load_class to
1244 - added tests to show types and subtypes
1245 working with Declare::Constraints::Simple
1246 and Test::Deep as constraint engines.
1249 !! You must have Class::MOP 0.37_001 !!
1250 !! for this developer release to work !!
1252 This release was primarily adding the immutable
1253 feature to Moose. An immutable class is one which
1254 you promise not to alter. When you set the class
1255 as immutable it will perform various bits of
1256 memoization and inline certain part of the code
1257 (constructors, destructors and accessors). This
1258 minimizes (and in some cases totally eliminates)
1259 one of Moose's biggest performance hits. This
1260 feature is not on by default, and is 100% optional.
1261 It has several configurable bits as well, so you
1262 can pick and choose to your specific needs.
1264 The changes involved in this were fairly wide and
1265 highly specific, but 100% backwards compatible, so
1266 I am not going to enumerate them here. If you are
1267 truely interested in what was changed, please do
1270 0.17 Tues. Nov. 14, 2006
1271 * Moose::Meta::Method::Accessor
1272 - bugfix for read-only accessors which
1273 are have a type constraint and lazy.
1274 Thanks to chansen for finding it.
1276 0.16 Tues. Nov. 14, 2006
1278 There are some speed improvements in this release,
1279 but they are only the begining, so stay tuned.
1282 - BUILDALL and DEMOLISHALL no longer get
1283 called unless they actually need to be.
1284 This gave us a signifigant speed boost
1285 for the cases when there is no BUILD or
1286 DEMOLISH method present.
1288 * Moose::Util::TypeConstraints
1289 * Moose::Meta::TypeConstraint
1290 - added an 'optimize_as' option to the
1291 type constraint, which allows for a
1292 hand optimized version of the type
1293 constraint to be used when possible.
1294 - Any internally created type constraints
1295 now provide an optimized version as well.
1297 0.15 Sun. Nov. 5, 2006
1299 This version of Moose *must* have Class::MOP 0.36 in order
1300 to work correctly. A number of small internal tweaks have
1301 been made in order to be compatible with that release.
1303 * Moose::Util::TypeConstraints
1304 - added &unimport so that you can clean out
1305 your class namespace of these exported
1308 * Moose::Meta::Class
1309 - fixed minor issue which occasionally
1310 comes up during global destruction
1312 - moved Moose::Meta::Method::Overriden into
1316 - moved Moose::Meta::Role::Method into
1319 * Moose::Meta::Attribute
1320 - changed how we do type checks so that
1321 we reduce the overall cost, but still
1324 - moved accessor generation methods to
1325 Moose::Meta::Method::Accessor to
1326 conform to the API changes from
1329 * Moose::Meta::TypeConstraint
1330 - changed how constraints are compiled
1331 so that we do less recursion and more
1332 iteration. This makes the type check
1334 - moved Moose::Meta::TypeConstraint::Union
1337 * Moose::Meta::Method::Accessor
1338 - created this from methods formerly found in
1339 Moose::Meta::Attribute
1341 * Moose::Meta::Role::Method
1342 - moved this from Moose::Meta::Role
1344 * Moose::Meta::Method::Overriden
1345 - moved this from Moose::Meta::Class
1347 * Moose::Meta::TypeConstraint::Union
1348 - moved this from Moose::Meta::TypeConstraint
1350 0.14 Mon. Oct. 9, 2006
1352 * Moose::Meta::Attribute
1353 - fixed lazy attributes which were not getting
1354 checked with the type constraint (thanks ashley)
1355 - added tests for this
1356 - removed the over-enthusiastic DWIMery of the
1357 automatic ArrayRef and HashRef defaults, it
1358 broke predicates in an ugly way.
1359 - removed tests for this
1361 0.13 Sat. Sept. 30, 2006
1363 This version of Moose *must* have Class::MOP 0.35 in order
1364 to work correctly. A number of small internal tweaks have
1365 been made in order to be compatible with that release.
1368 - Removed the use of UNIVERSAL::require to be a better
1369 symbol table citizen and remove a dependency
1370 (thanks Adam Kennedy)
1372 **~~ removed experimental & undocumented feature ~~**
1373 - commented out the 'method' and 'self' keywords, see the
1374 comments for more info.
1377 - added a FAQ and WTF files to document frequently
1378 asked questions and common problems
1380 * Moose::Util::TypeConstraints
1381 - added GlobRef and FileHandle type constraint
1382 - added tests for this
1384 * Moose::Meta::Attribute
1385 - if your attribute 'isa' ArrayRef of HashRef, and you have
1386 not explicitly set a default, then make the default DWIM.
1387 This will also work for subtypes of ArrayRef and HashRef
1389 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1390 - new test added for this (thanks to ashley)
1393 - added basic support for runtime role composition
1394 but this is still *highly experimental*, so feedback
1395 is much appreciated :)
1396 - added tests for this
1398 * Moose::Meta::TypeConstraint
1399 - the type constraint now handles the coercion process
1400 through delegation, this is to support the coercion
1403 * Moose::Meta::TypeConstraint::Union
1404 - it is now possible for coercions to be performed
1406 - added tests for this (thanks to konobi)
1408 * Moose::Meta::TypeCoercion
1409 - properly capturing error when type constraint
1413 - Scalar::Util 1.18 is bad on Win32, so temporarily
1414 only require version 1.17 for Win32 and cygwin.
1415 (thanks Adam Kennedy)
1417 0.12 Sat. Sept. 1, 2006
1419 - Recipe5 (subtypes & coercion) has been written
1422 - fixed "bad meta" error message to be more descriptive
1423 - fixed &unimport to not remove the &inner and &super
1424 keywords because we need to localize them.
1425 - fixed number of spelling/grammer issues, thanks Theory :)
1427 **~~ experimental & undocumented feature ~~**
1428 - added the method and self keywords, they are basically
1429 just sugar, and they may not stay around.
1432 - added &dump method to easily Data::Dumper
1435 * Moose::Meta::TypeConstraint
1436 - added the &is_a_type_of method to check both the current
1437 and the subtype of a method (similar to &isa with classes)
1440 - this is now a subclass of Class::MOP::Module, and no longer
1441 creates the _role_meta ugliness of before.
1442 - fixed tests to reflect this change
1444 0.11 Wed. July 12, 2006
1446 - added an &unimport method to remove all the keywords
1447 that Moose will import, simply add 'no Moose' to the
1448 bottom of your class file.
1451 - fixed some test failures caused by a forgotten test
1454 0.10 Thurs. July 6, 2006
1456 - improved error message when loading modules so
1457 it is less confusing when you load a role.
1458 - added &calculate_all_roles method to
1459 Moose::Meta::Class and Moose::Meta::Role
1462 This module has been tested against Class::MOP 0.30
1463 but it does not yet utilize the optimizations
1464 it makes available. Stay tuned for that ;)
1466 0.09_03 Fri. June 23, 2006
1467 ++ DEVELOPER RELEASE ++
1469 - 'use strict' and 'use warnings' are no longer
1470 needed in Moose classes, Moose itself will
1471 turn them on for you.
1472 - added tests for this
1473 - moved code from exported subs to private methods
1474 in Moose::Meta::Class
1477 - as with Moose, strict and warnings are
1478 automatically turned on for you.
1479 - added tests for this
1482 - now handles an edge case for override errors
1483 - added tests for this
1484 - added some more edge case tests
1486 0.09_02 Tues. May 16, 2006
1487 ++ DEVELOPER RELEASE ++
1489 - added prototypes to the exported subs
1493 - added prototypes to the exported subs
1496 * Moose::Util::TypeConstraints
1497 - cleaned up prototypes for the subs
1500 0.09_01 Fri. May 12, 2006
1501 ++ DEVELOPER RELEASE ++
1502 - This release works in combination with
1503 Class::MOP 0.29_01, it is a developer
1504 release because it uses the a new
1505 instance sub-protocol and a fairly
1506 complete Role implementation. It has
1507 not yet been optimized, so it slower
1508 the the previous CPAN version. This
1509 release also lacks good updated docs,
1510 the official release will have updated docs.
1513 - refactored the keyword exports
1514 - 'with' now checks Role validaity and
1515 accepts more than one Role at a time
1516 - 'extends' makes metaclass adjustments as
1517 needed to ensure metaclass compatability
1520 - refactored the keyword exports
1521 - 'with' now checks Role validaity and
1522 accepts more than one Role at a time
1524 * Moose::Util::TypeConstraints
1525 - added the 'enum' keyword for simple
1526 string enumerations which can be used as
1528 - see example of usage in t/202_example.t
1531 - more careful checking of params to new()
1534 - much work done on the role composition
1535 - many new tests for conflict detection
1536 and composition edge cases
1537 - not enough documentation, I suggest
1538 looking at the tests
1540 * Moose::Meta::Instance
1541 - added new Instance metaclass to support
1542 the new Class::MOP instance protocol
1544 * Moose::Meta::Class
1545 - some small changes to support the new
1547 - some small additions to support Roles
1549 * Moose::Meta::Attribute
1550 - some improvements to the accessor generation code
1552 - some small changes to support the new
1554 - (still somewhat) experimental delegation support
1555 with the 'handles' option
1556 - added several tests for this
1557 - no docs for this yet
1559 0.05 Thurs. April 27, 2006
1561 - keywords are now exported with Sub::Exporter
1562 thanks to chansen for this commit
1563 - has keyword now takes a 'metaclass' option
1564 to support custom attribute meta-classes
1565 on a per-attribute basis
1566 - added tests for this
1567 - the 'has' keyword not accepts inherited slot
1568 specifications (has '+foo'). This is still an
1569 experimental feature and probably not finished
1570 see t/038_attribute_inherited_slot_specs.t for
1571 more details, or ask about it on #moose
1572 - added tests for this
1575 - keywords are now exported with Sub::Exporter
1577 * Moose::Utils::TypeConstraints
1578 - reorganized the type constraint hierarchy, thanks
1579 to nothingmuch and chansen for his help and advice
1581 - added some tests for this
1582 - keywords are now exported with Sub::Exporter
1583 thanks to chansen for this commit
1585 * Moose::Meta::Class
1586 - due to changes in Class::MOP, we had to change
1587 construct_instance (for the better)
1589 * Moose::Meta::Attribute
1590 - due to changes in Class::MOP, we had to add the
1591 initialize_instance_slot method (it's a good thing)
1593 * Moose::Meta::TypeConstraint
1594 - added type constraint unions
1595 - added tests for this
1596 - added the is_subtype_of predicate method
1597 - added tests for this
1599 0.04 Sun. April 16th, 2006
1601 - Roles can now consume other roles
1602 - added tests for this
1603 - Roles can specify required methods now with
1604 the requires() keyword
1605 - added tests for this
1608 - ripped out much of it's guts ,.. much cleaner now
1609 - added required methods and correct handling of
1610 them in apply() for both classes and roles
1611 - added tests for this
1612 - no longer adds a does() method to consuming classes
1613 it relys on the one in Moose::Object
1614 - added roles attribute and some methods to support
1615 roles consuming roles
1617 * Moose::Meta::Attribute
1618 - added support for triggers on attributes
1619 - added tests for this
1620 - added support for does option on an attribute
1621 - added tests for this
1623 * Moose::Meta::Class
1624 - added support for attribute triggers in the
1626 - added tests for this
1629 - Moose no longer creates a subtype for your class
1630 if a subtype of the same name already exists, this
1631 should DWIM in 99.9999% of all cases
1633 * Moose::Util::TypeConstraints
1634 - fixed bug where incorrect subtype conflicts were
1636 - added test for this
1639 - this class can now be extended with 'use base' if
1640 you need it, it properly loads the metaclass class now
1641 - added test for this
1643 0.03_02 Wed. April 12, 2006
1645 - you must now explictly use Moose::Util::TypeConstraints
1646 it no longer gets exported for you automatically
1649 - new() now accepts hash-refs as well as key/value lists
1650 - added does() method to check for Roles
1651 - added tests for this
1653 * Moose::Meta::Class
1654 - added roles attribute along with the add_role() and
1656 - added tests for this
1659 - now adds a does() method to consuming classes
1660 which tests the class's hierarchy for roles
1661 - added tests for this
1663 0.03_01 Mon. April 10, 2006
1665 - added new Role recipe (no content yet, only code)
1668 - added 'with' keyword for Role support
1669 - added test and docs for this
1670 - fixed subtype quoting bug
1671 - added test for this
1675 - added test and docs
1677 * Moose::Util::TypeConstraints
1678 - added the message keyword to add custom
1679 error messages to type constraints
1682 - the meta role to support Moose::Role
1683 - added tests and docs
1685 * Moose::Meta::Class
1686 - moved a number of things from Moose.pm
1687 to here, they should have been here
1690 * Moose::Meta::Attribute
1691 - moved the attribute option macros here
1692 instead of putting them in Moose.pm
1694 * Moose::Meta::TypeConstraint
1695 - added the message attributes and the
1697 - added tests and docs for this
1699 0.03 Thurs. March 30, 2006
1701 - added the Moose::Cookbook with 5 recipes,
1702 describing all the stuff Moose can do.
1705 - fixed an issue with &extends super class loading
1706 it now captures errors and deals with inline
1707 packages correctly (bug found by mst, solution
1709 - added super/override & inner/augment features
1710 - added tests and docs for these
1713 - BUILDALL now takes a reference of the %params
1714 that are passed to &new, and passes that to
1717 * Moose::Util::TypeConstraints
1718 - Type constraints now survive runtime reloading
1719 - added test for this
1721 * Moose::Meta::Class
1722 - fixed the way attribute defaults are handled
1723 during instance construction (bug found by chansen)
1725 * Moose::Meta::Attribute
1726 - read-only attributes now actually enforce their
1727 read-only-ness (this corrected in Class::MOP as
1730 0.02 Tues. March 21, 2006
1732 - many more tests, fixing some bugs and
1734 - &extends now loads the base module with
1736 - added UNIVERSAL::require to the
1739 - each new Moose class will also create
1740 and register a subtype of Object which
1741 correspond to the new Moose class.
1742 - the 'isa' option in &has now only
1743 accepts strings, and will DWIM in
1746 * Moose::Util::TypeConstraints
1747 - added type coercion features
1748 - added tests for this
1749 - added support for this in attributes
1750 and instance construction
1752 - type construction no longer creates a
1753 function, it registers the type instead.
1754 - added several functions to get the
1758 - BUILDALL and DEMOLISHALL were broken
1759 because of a mis-named hash key, Whoops :)
1761 * Moose::Meta::Attribute
1762 - adding support for coercion in the
1763 autogenerated accessors
1765 * Moose::Meta::Class
1766 - adding support for coercion in the
1767 instance construction
1769 * Moose::Meta::TypeConstraint
1770 * Moose::Meta::TypeCoercion
1771 - type constraints and coercions are now
1772 full fledges meta-objects
1774 0.01 Wed. March 15, 2006
1775 - Moooooooooooooooooose!!!