1 Revision history for Perl extension Moose
3 * Moose::Util::TypeConstraints
4 - Fixed a bug in find_or_parse_type_constraint that caused
5 trouble if it's argument was an already blessed type
6 constraint. Added test to prevent regressions.
9 - A new bit of doc intended to introduce folks familiar with
10 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
13 - Shows examples of two classes, each done first with and then
14 without Moose. This makes a nice parallel to
15 Moose::Intro. (Dave Rolsky)
17 0.56 Mon September 1, 2008
18 For those not following the series of dev releases, there are
19 several major changes in this release of Moose.
20 ! Moose::init_meta should now be called as a method. See the
23 - Major performance improvements by nothingmuch.
25 - New modules for extension writers, Moose::Exporter and
26 Moose::Util::MetaRole by Dave Rolsky.
28 - Lots of doc improvements and additions, especially in the
33 * Removed all references to the experimental-but-no-longer-needed
34 Moose::Meta::Role::Application::ToMetaclassInstance.
36 * Require Class::MOP 0.65.
38 0.55_04 Sat August 30, 2008
39 * Moose::Util::MetaRole
40 * Moose::Cookbook::Extending::Recipe2
41 - This simplifies the application of roles to any meta class, as
42 well as the base object class. Reimplemented metaclass traits
43 using this module. (Dave Rolsky)
45 * Moose::Cookbook::Extending::Recipe1
46 - This a new recipe, an overview of various ways to write Moose
47 extensions (Dave Rolsky)
49 * Moose::Cookbook::Extending::Recipe3
50 * Moose::Cookbook::Extending::Recipe4
51 - These used to be Extending::Recipe1 and Extending::Recipe2,
54 0.55_03 Fri August 29, 2008
55 * No changes from 0.55_02 except increasing the Class::MOP
56 dependency to 0.64_07.
58 0.55_02 Fri August 29, 2008
59 * Makefile.PL and Moose.pm
60 - explicitly require Perl 5.8.0+ (Dave Rolsky)
62 * Moose::Util::TypeConstraints
63 - Fix warnings from find_type_constraint if the type is not
66 * Moose::Meta::TypeConstraint
67 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
68 return false if the type you specify cannot be found in the
69 type registry, rather than throwing an unhelpful and
70 coincidental exception. (t0m).
71 - added docs & test for this (t0m)
73 * Moose::Meta::TypeConstraint::Registry
74 - add_type_constraint now throws an exception if a parameter is
76 - added docs & test for this (t0m)
78 * Moose::Cookbook::FAQ
79 - Added a faq entry on the difference between "role" and "trait"
83 - Fixed a bug that caused role composition to not see a required
84 method when that method was provided by another role being
85 composed at the same time. (Dave Rolsky)
86 - test and bug finding (tokuhirom)
88 0.55_01 Wed August 20, 2008
90 !! Calling Moose::init_meta as a function is now !!
91 !! deprecated. Please see the Moose.pm docs for details. !!
93 * Moose::Meta::Method::Constructor
94 - Fix inlined constructor so that values produced by default
95 or builder methods are coerced as required. (t0m)
96 - added test for this (t0m)
98 * Moose::Meta::Attribute
99 - A lazy attribute with a default or builder did not attempt to
100 coerce the default value. The immutable code _did_
102 - added test for this (t0m)
105 - This is a new helper module for writing "Moose-alike"
106 modules. This should make the lives of MooseX module authors
107 much easier. (Dave Rolsky)
110 * Moose::Cookbook::Meta::Recipe5
111 - Implemented metaclass traits (and wrote a recipe for it):
113 use Moose -traits => 'Foo'
115 This should make writing small Moose extensions a little
118 * Moose::Cookbook::Basics::Recipe1
119 - Removed any examples of direct hashref access, and applied an
120 editorial axe to reduce verbosity. (Dave Rolsky)
122 * Moose::Cookbook::Basics::Recipe1
123 - Also applied an editorial axe here. (Dave Rolsky)
126 * Moose::Cookbook::Extending::Recipe1
127 * Moose::Cookbook::Extending::Recipe2
128 - Rewrote extending and embedding moose documentation and
129 recipes to use Moose::Exporter (Dave Rolsky)
133 - These two modules now warn when you load them from the main
134 package "main" package, because we will not export sugar to
135 main. Previously it just did nothing. (Dave Rolsky)
138 - Now provide an init_meta method just like Moose.pm, and you
139 can call this to provide an alternate role metaclass. (Dave
140 Rolsky and nothingmuch)
141 - get_method_map now respects the package cache flag (nothingmuch)
144 - Two new methods - add_method and wrap_method_body
148 - Optimizations including allowing constructors to accept hash
149 refs, making many more classes immutable, and making
150 constructors immutable. (nothingmuch)
152 0.55 Sun August 3, 2008
153 * Moose::Meta::Attribute
154 - breaking down the way 'handles' methods are
155 created so that the process can be more easily
156 overridden by subclasses (stevan)
158 * Moose::Meta::TypeConstraint
159 - fixing what is passed into a ->message with
160 the type constraints (RT #37569)
161 - added tests for this (Charles Alderman)
163 * Moose::Util::TypeConstraints
164 - fix coerce to accept anon types like subtype can (mst)
167 - reorganized the recipes into sections - Basics, Roles, Meta,
168 Extending - and wrote abstracts for each section (Dave Rolsky)
170 * Moose::Cookbook::Basics::Recipe10
171 - A new recipe that demonstrates operator overloading
172 in combination with Moose. (bluefeet)
174 * Moose::Cookbook::Meta::Recipe1
175 - an introduction to what meta is and why you'd want to make
176 your own metaclass extensions (Dave Rolsky)
178 * Moose::Cookbook::Meta::Recipe4
179 - a very simple metaclass example (Dave Rolsky)
181 * Moose::Cookbook::Extending::Recipe1
182 - how to write a Moose-alike module to use your own object base
185 * Moose::Cookbook::Extending::Recipe2
186 - how to write modules with an API just like C<Moose.pm> (Dave
190 - Tons of fixes, both syntactical and grammatical (Dave
191 Rolsky, Paul Fenwick)
193 0.54 Thurs. July 3, 2008
194 ... this is not my day today ...
196 * Moose::Meta::Attribute
197 - fixed legal_options_for_inheritance such that
198 clone_and_inherit options still works for
199 Class::MOP::Attribute objects and therefore
200 does not break MooseX::AttributeHelpers
203 0.53 Thurs. July 3, 2008
204 * Whoops, I guess I should run 'make manifest' before
205 actually releasing the module. No actual changes
206 in this release, except the fact that it includes
207 the changes that I didn't include in the last
210 0.52 Thurs. July 3, 2008
212 - added "FEATURE REQUESTS" section to the Moose docs
213 to properly direct people (stevan) (RT #34333)
214 - making 'extends' croak if it is passed a Role since
215 this is not ever something you want to do
216 (fixed by stevan, found by obra)
217 - added tests for this (stevan)
220 - adding support for DOES (as in UNIVERSAL::DOES)
222 - added test for this
224 * Moose::Meta::Attribute
225 - added legal_options_for_inheritance (wreis)
226 - added tests for this (wreis)
228 * Moose::Cookbook::Snacks::*
229 - removed some of the unfinished snacks that should
230 not have been released yet. Added some more examples
231 to the 'Keywords' snack. (stevan)
233 * Moose::Cookbook::Style
234 - added general Moose "style guide" of sorts to the
235 cookbook (nothingmuch) (RT #34335)
238 - added more BUILDARGS tests (stevan)
240 0.51 Thurs. Jun 26, 2008
242 - add unimport so "no Moose::Role" actually does
245 * Moose::Meta::Role::Application::ToRole
246 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
247 order to provide its own implementation, that method still got
248 added to the list of required methods for consumers of
249 RoleB. Now an aliased method is only added to the list of
250 required methods if the role doing the aliasing does not
251 provide its own implementation. See Recipe 11 for an example
252 of all this. (Dave Rolsky)
253 - added tests for this
255 * Moose::Meta::Method::Constructor
256 - when a single argument that wasn't a hashref was provided to
257 an immutabilized constructor, the error message was very
258 unhelpful, as opposed to the non-immutable error. Reported by
260 - added test for this (Dave Rolsky)
262 * Moose::Meta::Attribute
263 - added support for meta_attr->does("ShortAlias") (sartak)
264 - added tests for this (sartak)
265 - moved the bulk of the `handles` handling to the new
266 install_delegation method (Stevan)
269 - Added BUILDARGS, a new step in new()
271 * Moose::Meta::Role::Application::RoleSummation
272 - fix typos no one ever sees (sartak)
274 * Moose::Util::TypeConstraints
275 * Moose::Meta::TypeConstraint
276 * Moose::Meta::TypeCoercion
277 - Attempt to work around the ??{ } vs. threads issue
279 - Some null_constraint optimizations
281 0.50 Thurs. Jun 11, 2008
282 - Fixed a version number issue by bumping all modules
285 0.49 Thurs. Jun 11, 2008
286 !! This version now approx. 20-25% !!
287 !! faster with new Class::MOP 0.59 !!
289 * Moose::Meta::Attribute
290 - fixed how the is => (ro|rw) works with
291 custom defined reader, writer and accessor
293 - added docs for this (TODO).
294 - added tests for this (Thanks to Penfold)
295 - added the custom attribute alias for regular
296 Moose attributes which is "Moose"
297 - fix builder and default both being used
302 Moose::Meta::Attribute
304 Moose::Meta::Role::Composite
305 Moose::Util::TypeConstraints
306 - switched usage of reftype to ref because
310 - changing add_package_symbol to use the new
314 - fixed how DEMOLISHALL is called so that it
315 can be overrided in subclasses (thanks to Sartak)
316 - added test for this (thanks to Sartak)
318 * Moose::Util::TypeConstraints
319 - move the ClassName type check code to
320 Class::MOP::is_class_loaded (thanks to Sartak)
322 * Moose::Cookbook::Recipe11
323 - add tests for this (thanks to tokuhirom)
325 0.48 Thurs. May 29, 2008
326 (early morning release engineering)--
328 - fixing the version in Moose::Meta::Method::Destructor
329 which was causing the indexer to choke
331 0.47 Thurs. May 29, 2008
332 (late night release engineering)--
334 - fixing the version is META.yml, no functional
335 changes in this release
337 0.46 Wed. May 28, 2008
338 !! This version now approx. 20-25% !!
339 !! faster with new Class::MOP 0.57 !!
342 - some optimizations of the &initialize method
343 since it is called so often by &meta
347 - now use the get_all_package_symbols from the
348 updated Class::MOP, test suite is now 10 seconds
351 * Moose::Meta::Method::Destructor
352 - is_needed can now also be called as a class
353 method for immutablization to check if the
354 destructor object even needs to be created
357 * Moose::Meta::Method::Destructor
358 Moose::Meta::Method::Constructor
359 - added more descriptive error message to help
360 keep people from wasting time tracking an error
361 that is easily fixed by upgrading.
363 0.45 Saturday, May 24, 2008
365 - Because of work in Class::MOP 0.56, all
366 XS based functionality is now optional
367 and a Pure Perl version is supplied
368 - the CLASS_MOP_NO_XS environment variable
369 can now be used to force non-XS versions
371 - several of the packages have been tweaked
372 to take care of this, mostly we added
373 support for the package_name and name
374 variables in all the Method metaclasses
375 - before/around/after method modifiers now
376 support regexp matching of names
377 (thanks to Takatoshi Kitano)
378 - tests added for this
379 - NOTE: this only works for classes, it
380 is currently not supported in roles,
381 but, ... patches welcome
382 - All usage of Carp::confess have been replaced
383 by Carp::croak in the "keyword" functions since
384 the stack trace is usually not helpful
387 - All usage of Carp::confess have been replaced
388 by Carp::croak in the "keyword" functions since
389 the stack trace is usually not helpful
390 - The 'has' keyword for roles now accepts the
391 same array ref form that Moose.pm does
392 (has [qw/foo bar/] => (is => 'rw', ...))
393 - added test for this
395 * Moose::Meta::Attribute
396 - trigger on a ro-attribute is no longer an
397 error, as it's useful to trigger off of the
401 - added same 'add_package_symbol' fix as in
405 - does_role now handles non-Moose classes
407 - added tests for this
408 - added the 'add_method_modifier' function
409 (thanks to Takatoshi Kitano)
411 * Moose::Util::TypeConstraints
412 - subtypes of parameterizable types now are
413 themselves parameterizable types
415 * Moose::Meta::Method::Constructor
416 - fixed bug where trigger was not being
417 called by the inlined immutable
419 - added test for this (thanks to Caelum)
421 * Moose::Meta::Role::Application::ToInstance
422 - now uses the metaclass of the instance
423 (if possible) to create the anon-class
424 (thanks Jonathan Rockway)
426 * Moose::Cookbook::Recipe22
427 - added the meta-attribute trait recipe
431 - fixed hash-ordering test bug that was
432 causing occasional cpantester failures
433 - renamed the t/000_recipe/*.t tests to be
434 more descriptive (thanks to Sartak)
436 0.44 Sat. May 10, 2008
438 - made make_immutable warning cluck to
439 show where the error is (thanks mst)
442 - BUILDALL and DEMOLISHALL now call
443 ->body when looping through the
444 methods, to avoid the overloaded
446 - fixed issue where DEMOLISHALL was
447 eating the $@ values, and so not
448 working correctly, it still kind of
449 eats them, but so does vanilla perl
450 - added tests for this
452 * Moose::Cookbook::Recipe7
453 - added new recipe for immutable
454 functionality (thanks Dave Rolsky)
456 * Moose::Cookbook::Recipe9
457 - added new recipe for builder and
458 lazy_build (thanks Dave Rolsky)
460 * Moose::Cookbook::Recipe11
461 - added new recipe for method aliasing
462 and exclusion with Roles (thanks Dave Rolsky)
465 - fixed Win32 test failure (thanks spicyjack)
467 ~ removed Build.PL and Module::Build compat
468 since Module::Install has done that.
470 0.43 Wed. April, 30, 2008
472 drink more coffee before
473 doing release engineering
475 - whoops, forgot to do the smolder tests,
476 and we broke some of the custom meta-attr
477 modules. This fixes that.
479 0.42 Mon. April 28, 2008
480 - some bad tests slipped by, nothing else
481 changed in this release (cpantesters++)
483 - upped the Class::MOP dependency to 0.55
484 since we have tests which need the C3
487 0.41 Mon. April 28, 2008
488 ~~ numerous documentation updates ~~
490 - Changed all usage of die to Carp::croak for better
491 error reporting (initial patch by Tod Hagan)
494 - the make_immutable keyword is now deprecated, don't
495 use it in any new code and please fix your old code
496 as well. There will be 2 releases, and then it will
502 - refactored the way inner and super work to avoid
503 any method/@ISA cache penalty (nothingmuch)
506 - fixing &new_object to make sure trigger gets the
507 coerced value (spotted by Charles Alderman on the
509 - added test for this
511 * Moose::Meta::Method::Constructor
512 - immutable classes which had non-lazy attributes were calling
513 the default generating sub twice in the constructor. (bug
514 found by Jesse Luehrs, fixed by Dave Rolsky)
515 - added tests for this (Dave Rolsky)
516 - fix typo in initialize_body method (nothingmuch)
518 * Moose::Meta::Method::Destructor
519 - fix typo in initialize_body method (nothingmuch)
521 * Moose::Meta::Method::Overriden
522 Moose::Meta::Method::Augmented
523 - moved the logic for these into their own
524 classes (nothingmuch)
526 * Moose::Meta::Attribute
527 - inherited attributes may now be extended without
528 restriction on the type ('isa', 'does') (Sartak)
529 - added tests for this (Sartak)
530 - when an attribute property is malformed (such as lazy without
531 a default), give the name of the attribute in the error
533 - added the &applied_traits and &has_applied_traits methods
534 to allow introspection of traits
535 - added tests for this
536 - moved 'trait' and 'metaclass' argument handling to here from
538 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
539 '+foo' syntax) (nothingmuch)
540 - added tests for this (t0m)
543 - localize $@ inside DEMOLISHALL to avoid it
544 eating $@ (found by Ernesto)
545 - added test for this (thanks to Ernesto)
547 * Moose::Util::TypeConstraints
548 - &find_type_constraint now DWIMs when given an
549 type constraint object or name (nothingmuch)
550 - &find_or_create_type_constraint superseded with a number of more
552 - find_or_create_{isa,does}_type_constraint
553 - find_or_parse_type_constraint
555 * Moose::Meta::TypeConstraint
556 Moose::Meta::TypeConstraint::Class
557 Moose::Meta::TypeConstraint::Role
558 Moose::Meta::TypeConstraint::Enum
559 Moose::Meta::TypeConstraint::Union
560 Moose::Meta::TypeConstraint::Parameterized
561 - added the &equals method for comparing two type
562 constraints (nothingmuch)
563 - added tests for this (nothingmuch)
565 * Moose::Meta::TypeConstraint
566 - add the &parents method, which is just an alias to &parent.
567 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
569 * Moose::Meta::TypeConstraint::Class
570 - added the class attribute for introspection purposes
572 - added tests for this
574 * Moose::Meta::TypeConstraint::Enum
575 Moose::Meta::TypeConstraint::Role
576 - broke these out into their own classes (nothingmuch)
578 * Moose::Cookbook::Recipe*
579 - fixed references to test file locations in the POD
580 and updated up some text for new Moose features
584 - Added &resolve_metaclass_alias, a helper function for finding an actual
585 class for a short name (e.g. in the traits list)
587 0.40 Fri. March 14, 2008
588 - I hate Pod::Coverage
590 0.39 Fri. March 14, 2008
592 - documenting the use of '+name' with attributes
593 that come from recently composed roles. It makes
594 sense, people are using it, and so why not just
595 officially support it.
596 - fixing the 'extends' keyword so that it will not
597 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
600 - added the perl -Moose=+Class::Name feature to allow
601 monkeypatching of classes in one liners
604 - fixing the 'apply_all_roles' keyword so that it will not
605 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
608 - added ->create method which now supports roles (thanks to jrockway)
609 - added tests for this
610 - added ->create_anon_class which now supports roles and caching of
611 the results (thanks to jrockway)
612 - added tests for this
613 - made ->does_role a little more forgiving when it is
614 checking a Class::MOP era metaclasses.
616 * Moose::Meta::Role::Application::ToInstance
617 - it is now possible to pass extra params to be used when
618 a role is applied to an the instance (rebless_params)
619 - added tests for this
621 * Moose::Util::TypeConstraints
622 - class_type now accepts an optional second argument for a
623 custom message. POD anotated accordingly (groditi)
624 - added tests for this
625 - it is now possible to make anon-enums by passing 'enum' an
626 ARRAY ref instead of the $name => @values. Everything else
628 - added tests for this
631 - making test for using '+name' on attributes consumed
632 from a role, it works and makes sense too.
634 * Moose::Meta::Attribute
635 - fix handles so that it doesn't return nothing
636 when the method cannot be found, not sure why
637 it ever did this originally, this means we now
638 have slightly better support for AUTOLOADed
640 - added more delegation tests
641 - adding ->does method to this so as to better
642 support traits and their introspection.
643 - added tests for this
646 - localizing the Data::Dumper configurations so
647 that it does not pollute others (RT #33509)
648 - made ->does a little more forgiving when it is
649 passed Class::MOP era metaclasses.
651 0.38 Fri. Feb. 15, 2008
652 * Moose::Meta::Attribute
653 - fixed initializer to correctly do
654 type checking and coercion in the
656 - added tests for this
659 - fixed some finicky tests (thanks to konobi)
661 0.37 Thurs. Feb. 14, 2008
663 - fixed some details in Moose::init_meta
664 and its superclass handling (thanks thepler)
665 - added tests for this (thanks thepler)
666 - 'has' now dies if you don't pass in name
668 - added the 'make_immutable' keyword as a shortcut
672 Moose::Meta::Method::Constructor
673 Moose::Meta::Attribute
674 - making (init_arg => undef) work here too
675 (thanks to nothingmuch)
677 * Moose::Meta::Attribute
678 Moose::Meta::Method::Constructor
679 Moose::Meta::Method::Accessor
680 - make lazy attributes respect attr initializers (rjbs)
681 - added tests for this
683 * Moose::Util::TypeConstraints
684 Moose::Util::TypeConstraints::OptimizedConstraints
685 Moose::Meta::TypeConstraints
686 Moose::Meta::Attribute
687 Moose::Meta::Method::Constructor
688 Moose::Meta::Method::Accessor
689 - making type errors use the
690 assigned message (thanks to Sartak)
691 - added tests for this
693 * Moose::Meta::Method::Destructor
694 - making sure DESTROY gets inlined properly
695 with successive DEMOLISH calls (thanks to manito)
697 * Moose::Meta::Attribute
698 Moose::Meta::Method::Accessor
699 - fixed handling of undef with type constraints
701 - added tests for this
704 - added &get_all_init_args and &get_all_attribute_values
705 (thanks to Sartak and nothingmuch)
707 0.36 Sat. Jan. 26, 2008
709 Moose::Meta::Attribute
710 - role type tests now support when roles are
711 applied to non-Moose classes (found by ash)
712 - added tests for this (thanks to ash)
713 - couple extra tests to boost code coverage
715 * Moose::Meta::Method::Constructor
716 - improved fix for handling Class::MOP attributes
717 - added test for this
720 - handled the add_attribute($attribute_meta_object)
722 - added test for this
724 0.35 Tues. Jan. 22, 2008
725 * Moose::Meta::Method::Constructor
726 - fix to make sure even Class::MOP attributes
727 are handled correctly (Thanks to Dave Rolsky)
728 - added test for this (also Dave Rolsky)
731 - improved error message on _apply_all_roles,
732 you should now use Moose::Util::apply_all_roles
733 and you shouldnt have been using a _ prefixed
734 method in the first place ;)
736 0.34 Mon. Jan. 21, 2008
737 ~~~ more misc. doc. fixes ~~~
738 ~~ updated copyright dates ~~
740 Moose is now a postmodern object system :)
741 - (see the POD for details)
743 * <<Role System Refactoring>>
744 - this release contains a major reworking and
745 cleanup of the role system
746 - 100% backwards compat.
747 - Role application now restructured into seperate
748 classes based on type of applicants
749 - Role summation (combining of more than one role)
750 is much cleaner and anon-classes are no longer
752 - new Composite role metaclass
753 - runtime application of roles to instances
754 is now more efficient and re-uses generated
755 classes when applicable
757 * <<New Role composition features>>
758 - methods can now be excluded from a given role
760 - methods can now be aliased to another name (and
761 still retain the original as well)
763 * Moose::Util::TypeConstraints::OptimizedConstraints
764 - added this module (see above)
767 - fixed the &_process_attribute method to be called
768 by &add_attribute, so that the API is now correct
770 * Moose::Meta::Method::Accessor
771 - fixed bug when passing a list of values to
772 an accessor would get (incorrectly) ignored.
773 Thanks to Sartak for finding this ;)
774 - added tests for this (Sartak again)
776 * Moose::Meta::Method::Accessor
777 Moose::Meta::Method::Constructor
778 Moose::Meta::Attribute
779 Moose::Meta::TypeConstraint
780 Moose::Meta::TypeCoercion
781 - lots of cleanup of such things as:
783 - type constraint handling
784 - error handling/messages
785 (thanks to nothingmuch)
787 * Moose::Meta::TypeConstraint::Parameterizable
788 - added this module to support the refactor
789 in Moose::Meta::TypeConstraint::Parameterized
791 * Moose::Meta::TypeConstraint::Parameterized
792 - refactored how these types are handled so they
793 are more generic and not confined to ArrayRef
797 - shortened some file names for better VMS support (RT #32381)
799 0.33 Fri. Dec. 14, 2007
800 !! Moose now loads 2 x faster !!
801 !! with new Class::MOP 0.49 !!
803 ++ new oose.pm module to make command line
804 Moose-ness easier (see POD docs for more)
808 - several tweaks to take advantage of the
809 new method map caching in Class::MOP
811 * Moose::Meta::TypeConstraint::Parameterized
812 - allow subtypes of ArrayRef and HashRef to
813 be used as a container (sartak)
814 - added tests for this
815 - basic support for coercion to ArrayRef and
816 HashRef for containers (sartak)
817 - added tests for this
819 * Moose::Meta::TypeCoercion
820 - coercions will now create subtypes as needed
821 so you can now add coercions to parameterized
822 types without having to explictly define them
823 - added tests for this
825 * Moose::Meta::Method::Accessor
826 - allow subclasses to decide whether we need
827 to copy the value into a new variable (sartak)
829 0.32 Tues. Dec. 4, 2007
830 * Moose::Util::TypeConstraints
831 - fixing how subtype aliases of unions work
832 they should inherit the parent's coercion
833 - added tests for this
834 - you can now define multiple coercions on
835 a single type at different times instead of
836 having to do it all in one place
837 - added tests for this
839 * Moose::Meta::TypeConstraint
840 - there is now a default constraint of sub { 1 }
841 instead of Moose::Util::TypeConstraints setting
844 * Moose::Meta::TypeCoercion
845 * Moose::Meta::TypeCoercion::Union
846 - added the &has_coercion_for_type and
847 &add_type_coercions methods to support the
848 new features above (although you cannot add
849 more type coercions for Union types)
851 0.31 Mon. Nov. 26, 2007
852 * Moose::Meta::Attribute
853 - made the +attr syntax handle extending types with
854 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
855 now works if the original foo is an ArrayRef.
856 - added tests for this.
857 - delegation now works even if the attribute does not
858 have a reader method using the get_read_method_ref
859 method from Class::MOP::Attribute.
860 - added tests for this
861 - added docs for this
863 * Moose::Util::TypeConstraints
864 - passing no "additional attribute info" to
865 &find_or_create_type_constraint will no longer
866 attempt to create an __ANON__ type for you,
867 instead it will just return undef.
868 - added docs for this
870 0.30 Fri. Nov. 23, 2007
871 * Moose::Meta::Method::Constructor
872 -builder related bug in inlined constructor. (groditi)
874 * Moose::Meta::Method::Accessor
875 - genereate unnecessary calls to predicates and refactor
876 code generation for runtime speed (groditi)
878 * Moose::Util::TypeConstraints
879 - fix ClassName constraint to introspect symbol table (mst)
880 - added more tests for this (mst)
881 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
883 - added tests for this
886 - adding the link to Recipie 11 (written by Sartak)
887 - adding test for SYNOPSIS code
890 - New tests for builder bug. Upon instantiation, if an
891 attribute had a builder, no value and was not lazy the
892 builder default was not getting run, oops. (groditi)
894 0.29 Tues. Nov. 13, 2007
895 * Moose::Meta::Attribute
896 - Fix error message on missing builder method (groditi)
898 * Moose::Meta::Method::Accessor
899 - Fix error message on missing builder method (groditi)
902 - Add test to check for the correct error message when
903 builder method is missing (groditi)
905 0.28 Tues. Nov. 13, 2007
906 - 0.27 packaged incorrectly (groditi)
908 0.27 Tues. Nov. 13, 2007
909 * Moose::Meta::Attribute
910 - Added support for the new builder option (groditi)
911 - Added support for lazy_build option (groditi)
912 - Changed slot initialization for predicate changes (groditi)
914 * Moose::Meta::Method::Accessor
915 - Added support for lazy_build option (groditi)
916 - Fix inline methods to work with corrected predicate
919 * Moose::Meta::Method::Constructor
920 - Added support for lazy_build option (groditi)
923 - tests for builder and lazy_build (groditi)
925 * fixing some misc. bits in the docs that
926 got mentioned on CPAN Forum & perlmonks
929 - fixed how required methods are handled
930 when they encounter overriden or modified
931 methods from a class (thanks to confound).
932 - added tests for this
934 * Moose::Util::TypeConstraint
935 - fixed the type notation parser so that
936 the | always creates a union and so is
937 no longer a valid type char (thanks to
938 konobi, mugwump and #moose for working
940 - added more tests for this
942 0.26 Thurs. Sept. 27, 2007
945 * Parameterized Types
946 We now support parameterized collection types, such as:
947 ArrayRef[Int] # array or integers
948 HashRef[Object] # a hash with object values
949 They can also be nested:
950 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
951 And work with the type unions as well:
952 ArrayRef[Int | Str] # array of integers of strings
954 * Better Framework Extendability
955 Moose.pm is now "extendable" such that it is now much
956 easier to extend the framework and add your own keywords
957 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
958 section of the Moose.pm docs.
961 In an effort to begin documenting some of the various
962 details of Moose as well as some common idioms, we have
963 created Moose::Cookbook::Snacks as a place to find
964 small (easily digestable) nuggets of Moose code.
967 ~ Several doc updates/cleanup thanks to castaway ~
969 - converted build system to use Module::Install instead of
970 Module::Build (thanks to jrockway)
973 - added all the meta classes to the immutable list and
974 set it to inline the accessors
975 - fix import to allow Sub::Exporter like { into => }
976 and { into_level => } (perigrin)
977 - exposed and documented init_meta() to allow better
978 embedding and extending of Moose (perigrin)
981 - complete re-organization of the test suite
982 - added some new tests as well
983 - finally re-enabled the Moose::POOP test since
984 the new version of DBM::Deep now works again
988 - fixed very odd and very nasty recursion bug with
990 - added tests for this (eilara)
992 * Moose::Meta::Attribute
993 Moose::Meta::Method::Constructor
994 Moose::Meta::Method::Accessor
995 - fixed issue with overload::Overloaded getting called
996 on non-blessed items. (RT #29269)
997 - added tests for this
999 * Moose::Meta::Method::Accessor
1000 - fixed issue with generated accessor code making
1001 assumptions about hash based classes (thanks to dexter)
1003 * Moose::Coookbook::Snacks
1004 - these are bits of documentation, not quite as big as
1005 Recipes but which have no clear place in the module docs.
1006 So they are Snacks! (horray for castaway++)
1008 * Moose::Cookbook::Recipe4
1009 - updated it to use the new ArrayRef[MyType] construct
1010 - updated the accompanying test as well
1012 +++ Major Refactor of the Type Constraint system +++
1013 +++ with new features added as well +++
1015 * Moose::Util::TypeConstraint
1016 - no longer uses package variable to keep track of
1017 the type constraints, now uses the an instance of
1018 Moose::Meta::TypeConstraint::Registry to do it
1019 - added more sophisticated type notation parsing
1021 - added tests for this
1023 * Moose::Meta::TypeConstraint
1024 - some minor adjustments to make subclassing easier
1025 - added the package_defined_in attribute so that we
1026 can track where the type constraints are created
1028 * Moose::Meta::TypeConstraint::Union
1029 - this is now been refactored to be a subclass of
1030 Moose::Meta::TypeConstraint
1032 * Moose::Meta::TypeCoercion::Union
1033 - this has been added to service the newly refactored
1034 Moose::Meta::TypeConstraint::Union and is itself
1035 a subclass of Moose::Meta::TypeCoercion
1037 * Moose::Meta::TypeConstraint::Parameterized
1038 - added this module (taken from MooseX::AttributeHelpers)
1039 to help construct nested collection types
1040 - added tests for this
1042 * Moose::Meta::TypeConstraint::Registry
1043 - added this class to keep track of type constraints
1045 0.25 Mon. Aug. 13, 2007
1047 - Documentation update to reference Moose::Util::TypeConstraints
1048 under 'isa' in 'has' for how to define a new type
1049 (thanks to shlomif).
1051 * Moose::Meta::Attribute
1052 - required attributes now will no longer accept undef
1053 from the constructor, even if there is a default and lazy
1054 - added tests for this
1055 - default subroutines must return a value which passes the
1057 - added tests for this
1059 * Moose::Meta::Attribute
1060 * Moose::Meta::Method::Constructor
1061 * Moose::Meta::Method::Accessor
1062 - type-constraint tests now handle overloaded objects correctly
1063 in the error message
1064 - added tests for this (thanks to EvanCarroll)
1066 * Moose::Meta::TypeConstraint::Union
1067 - added (has_)hand_optimized_constraint to this class so that
1068 it behaves as the regular Moose::Meta::TypeConstraint does.
1071 - large refactoring of this code
1072 - added several more tests
1073 - tests for subtle conflict resolition issues
1074 added, but not currently running
1077 * Moose::Cookbook::Recipe7
1078 - added new recipe for augment/inner functionality
1080 - added test for this
1083 - a formal definition of roles (still in progress)
1086 - utilities for easier working with Moose classes
1087 - added tests for these
1090 - This contains Moose specific test functions
1091 - added tests for these
1093 0.24 Tues. July 3, 2007
1094 ~ Some doc updates/cleanup ~
1096 * Moose::Meta::Attribute
1097 - added support for roles to be given as parameters
1098 to the 'handles' option.
1099 - added tests and docs for this
1100 - the has '+foo' attribute form now accepts changes to
1101 the lazy option, and the addition of a handles option
1102 (but not changing the handles option)
1103 - added tests and docs for this
1106 - required methods are now fetched using find_method_by_name
1107 so that required methods can come from superclasses
1108 - adjusted tests for this
1110 0.23 Mon. June 18, 2007
1111 * Moose::Meta::Method::Constructor
1112 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1113 * Moose::Meta::Class
1114 - Modify make_immutable to work with the new Class::MOP immutable
1115 mechanism + POD + very basic test (groditi)
1116 * Moose::Meta::Attribute
1117 - Fix handles to use goto() so that caller() comes out properly on
1118 the other side (perigrin)
1120 0.22 Thurs. May 31, 2007
1121 * Moose::Util::TypeConstraints
1122 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1123 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1124 prototypes for functions
1125 - added the ClassName type constraint, this checks for strings
1126 which will respond true to ->isa(UNIVERSAL).
1127 - added tests and docs for this
1128 - subtyping just in name now works correctly by making the
1129 default for where be { 1 }
1130 - added test for this
1132 * Moose::Meta::Method::Accessor
1133 - coerce and lazy now work together correctly, thanks to
1134 merlyn for finding this bug
1135 - tests added for this
1136 - fix reader presedence bug in Moose::Meta::Attribute + tests
1139 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1140 a HASH-ref and missed. This produces better error messages then
1141 having it die cause undef is not a HASH.
1142 - added tests for this
1144 0.21 Thursday, May 2nd, 2007
1146 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1147 - modified unimport to remove super and inner along with the rest
1148 - altered unimport tests to handle this
1151 - altered super export to populate SUPER_SLOT
1153 * Moose::Meta::Class
1154 - altered augment and override modifier application to use *_SLOT
1155 - modified tests for these to unimport one test class each to test
1158 - fixed issue where custom attribute metaclasses
1159 where not handled correctly in roles
1160 - added tests for this
1162 * Moose::Meta::Class
1163 - fixed issue where extending metaclasses with
1164 roles would blow up. Thanks to Aankhen`` for
1165 finding this insidious error, and it's solution.
1167 ~~ lots of spelling and grammer fixes in the docs,
1168 many many thanks to rlb3 and Aankhen for these :)
1170 0.20 Friday, April 6th, 2007
1171 >> I messed up the SKIP logic in one test
1172 so this release is just to fix that.
1175 - 'has' now also accepts an ARRAY ref
1176 to create multiple attrs (see docs)
1177 (thanks to konobi for this)
1178 - added tests and docs
1180 0.19 Thurs. April 5th, 2007
1181 ~~ More documentation updates ~~
1183 * Moose::Util::TypeConstraints
1184 - 'type' now supports messages as well
1185 thanks to phaylon for finding this
1186 - added tests for this
1187 - added &list_all_type_constraints and
1188 &list_all_builtin_type_constraints
1189 functions to facilitate introspection.
1191 * Moose::Meta::Attribute
1192 - fixed regexp 'handles' declarations
1193 to build the list of delegated methods
1194 correctly (and not override important
1195 things like &new) thanks to ashleyb
1197 - added tests and docs for this
1198 - added the 'documentation' attributes
1199 so that you can actually document your
1200 attributes and inspect them through the
1202 - added tests and docs for this
1204 * Moose::Meta::Class
1205 - when loading custom attribute metaclasses
1206 it will first look in for the class in the
1207 Moose::Meta::Attribute::Custom::$name, and
1208 then default to just loading $name.
1209 - added tests and docs for this
1211 * Moose::Meta::TypeConstraint
1212 - type constraints now stringify to their names.
1213 - added test for this
1216 - added tests to assure we work with Module::Refresh
1217 - added stricter test skip logic in the Moose POOP
1218 test, ask Rob Kinyon why.
1219 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
1221 0.18 Sat. March 10, 2007
1222 ~~ Many, many documentation updates ~~
1225 - We now use Class::MOP::load_class to
1227 - added tests to show types and subtypes
1228 working with Declare::Constraints::Simple
1229 and Test::Deep as constraint engines.
1232 !! You must have Class::MOP 0.37_001 !!
1233 !! for this developer release to work !!
1235 This release was primarily adding the immutable
1236 feature to Moose. An immutable class is one which
1237 you promise not to alter. When you set the class
1238 as immutable it will perform various bits of
1239 memoization and inline certain part of the code
1240 (constructors, destructors and accessors). This
1241 minimizes (and in some cases totally eliminates)
1242 one of Moose's biggest performance hits. This
1243 feature is not on by default, and is 100% optional.
1244 It has several configurable bits as well, so you
1245 can pick and choose to your specific needs.
1247 The changes involved in this were fairly wide and
1248 highly specific, but 100% backwards compatible, so
1249 I am not going to enumerate them here. If you are
1250 truely interested in what was changed, please do
1253 0.17 Tues. Nov. 14, 2006
1254 * Moose::Meta::Method::Accessor
1255 - bugfix for read-only accessors which
1256 are have a type constraint and lazy.
1257 Thanks to chansen for finding it.
1259 0.16 Tues. Nov. 14, 2006
1261 There are some speed improvements in this release,
1262 but they are only the begining, so stay tuned.
1265 - BUILDALL and DEMOLISHALL no longer get
1266 called unless they actually need to be.
1267 This gave us a signifigant speed boost
1268 for the cases when there is no BUILD or
1269 DEMOLISH method present.
1271 * Moose::Util::TypeConstraints
1272 * Moose::Meta::TypeConstraint
1273 - added an 'optimize_as' option to the
1274 type constraint, which allows for a
1275 hand optimized version of the type
1276 constraint to be used when possible.
1277 - Any internally created type constraints
1278 now provide an optimized version as well.
1280 0.15 Sun. Nov. 5, 2006
1282 This version of Moose *must* have Class::MOP 0.36 in order
1283 to work correctly. A number of small internal tweaks have
1284 been made in order to be compatible with that release.
1286 * Moose::Util::TypeConstraints
1287 - added &unimport so that you can clean out
1288 your class namespace of these exported
1291 * Moose::Meta::Class
1292 - fixed minor issue which occasionally
1293 comes up during global destruction
1295 - moved Moose::Meta::Method::Overriden into
1299 - moved Moose::Meta::Role::Method into
1302 * Moose::Meta::Attribute
1303 - changed how we do type checks so that
1304 we reduce the overall cost, but still
1307 - moved accessor generation methods to
1308 Moose::Meta::Method::Accessor to
1309 conform to the API changes from
1312 * Moose::Meta::TypeConstraint
1313 - changed how constraints are compiled
1314 so that we do less recursion and more
1315 iteration. This makes the type check
1317 - moved Moose::Meta::TypeConstraint::Union
1320 * Moose::Meta::Method::Accessor
1321 - created this from methods formerly found in
1322 Moose::Meta::Attribute
1324 * Moose::Meta::Role::Method
1325 - moved this from Moose::Meta::Role
1327 * Moose::Meta::Method::Overriden
1328 - moved this from Moose::Meta::Class
1330 * Moose::Meta::TypeConstraint::Union
1331 - moved this from Moose::Meta::TypeConstraint
1333 0.14 Mon. Oct. 9, 2006
1335 * Moose::Meta::Attribute
1336 - fixed lazy attributes which were not getting
1337 checked with the type constraint (thanks ashley)
1338 - added tests for this
1339 - removed the over-enthusiastic DWIMery of the
1340 automatic ArrayRef and HashRef defaults, it
1341 broke predicates in an ugly way.
1342 - removed tests for this
1344 0.13 Sat. Sept. 30, 2006
1346 This version of Moose *must* have Class::MOP 0.35 in order
1347 to work correctly. A number of small internal tweaks have
1348 been made in order to be compatible with that release.
1351 - Removed the use of UNIVERSAL::require to be a better
1352 symbol table citizen and remove a dependency
1353 (thanks Adam Kennedy)
1355 **~~ removed experimental & undocumented feature ~~**
1356 - commented out the 'method' and 'self' keywords, see the
1357 comments for more info.
1360 - added a FAQ and WTF files to document frequently
1361 asked questions and common problems
1363 * Moose::Util::TypeConstraints
1364 - added GlobRef and FileHandle type constraint
1365 - added tests for this
1367 * Moose::Meta::Attribute
1368 - if your attribute 'isa' ArrayRef of HashRef, and you have
1369 not explicitly set a default, then make the default DWIM.
1370 This will also work for subtypes of ArrayRef and HashRef
1372 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1373 - new test added for this (thanks to ashley)
1376 - added basic support for runtime role composition
1377 but this is still *highly experimental*, so feedback
1378 is much appreciated :)
1379 - added tests for this
1381 * Moose::Meta::TypeConstraint
1382 - the type constraint now handles the coercion process
1383 through delegation, this is to support the coercion
1386 * Moose::Meta::TypeConstraint::Union
1387 - it is now possible for coercions to be performed
1389 - added tests for this (thanks to konobi)
1391 * Moose::Meta::TypeCoercion
1392 - properly capturing error when type constraint
1396 - Scalar::Util 1.18 is bad on Win32, so temporarily
1397 only require version 1.17 for Win32 and cygwin.
1398 (thanks Adam Kennedy)
1400 0.12 Sat. Sept. 1, 2006
1402 - Recipe5 (subtypes & coercion) has been written
1405 - fixed "bad meta" error message to be more descriptive
1406 - fixed &unimport to not remove the &inner and &super
1407 keywords because we need to localize them.
1408 - fixed number of spelling/grammer issues, thanks Theory :)
1410 **~~ experimental & undocumented feature ~~**
1411 - added the method and self keywords, they are basically
1412 just sugar, and they may not stay around.
1415 - added &dump method to easily Data::Dumper
1418 * Moose::Meta::TypeConstraint
1419 - added the &is_a_type_of method to check both the current
1420 and the subtype of a method (similar to &isa with classes)
1423 - this is now a subclass of Class::MOP::Module, and no longer
1424 creates the _role_meta ugliness of before.
1425 - fixed tests to reflect this change
1427 0.11 Wed. July 12, 2006
1429 - added an &unimport method to remove all the keywords
1430 that Moose will import, simply add 'no Moose' to the
1431 bottom of your class file.
1434 - fixed some test failures caused by a forgotten test
1437 0.10 Thurs. July 6, 2006
1439 - improved error message when loading modules so
1440 it is less confusing when you load a role.
1441 - added &calculate_all_roles method to
1442 Moose::Meta::Class and Moose::Meta::Role
1445 This module has been tested against Class::MOP 0.30
1446 but it does not yet utilize the optimizations
1447 it makes available. Stay tuned for that ;)
1449 0.09_03 Fri. June 23, 2006
1450 ++ DEVELOPER RELEASE ++
1452 - 'use strict' and 'use warnings' are no longer
1453 needed in Moose classes, Moose itself will
1454 turn them on for you.
1455 - added tests for this
1456 - moved code from exported subs to private methods
1457 in Moose::Meta::Class
1460 - as with Moose, strict and warnings are
1461 automatically turned on for you.
1462 - added tests for this
1465 - now handles an edge case for override errors
1466 - added tests for this
1467 - added some more edge case tests
1469 0.09_02 Tues. May 16, 2006
1470 ++ DEVELOPER RELEASE ++
1472 - added prototypes to the exported subs
1476 - added prototypes to the exported subs
1479 * Moose::Util::TypeConstraints
1480 - cleaned up prototypes for the subs
1483 0.09_01 Fri. May 12, 2006
1484 ++ DEVELOPER RELEASE ++
1485 - This release works in combination with
1486 Class::MOP 0.29_01, it is a developer
1487 release because it uses the a new
1488 instance sub-protocol and a fairly
1489 complete Role implementation. It has
1490 not yet been optimized, so it slower
1491 the the previous CPAN version. This
1492 release also lacks good updated docs,
1493 the official release will have updated docs.
1496 - refactored the keyword exports
1497 - 'with' now checks Role validaity and
1498 accepts more than one Role at a time
1499 - 'extends' makes metaclass adjustments as
1500 needed to ensure metaclass compatability
1503 - refactored the keyword exports
1504 - 'with' now checks Role validaity and
1505 accepts more than one Role at a time
1507 * Moose::Util::TypeConstraints
1508 - added the 'enum' keyword for simple
1509 string enumerations which can be used as
1511 - see example of usage in t/202_example.t
1514 - more careful checking of params to new()
1517 - much work done on the role composition
1518 - many new tests for conflict detection
1519 and composition edge cases
1520 - not enough documentation, I suggest
1521 looking at the tests
1523 * Moose::Meta::Instance
1524 - added new Instance metaclass to support
1525 the new Class::MOP instance protocol
1527 * Moose::Meta::Class
1528 - some small changes to support the new
1530 - some small additions to support Roles
1532 * Moose::Meta::Attribute
1533 - some improvements to the accessor generation code
1535 - some small changes to support the new
1537 - (still somewhat) experimental delegation support
1538 with the 'handles' option
1539 - added several tests for this
1540 - no docs for this yet
1542 0.05 Thurs. April 27, 2006
1544 - keywords are now exported with Sub::Exporter
1545 thanks to chansen for this commit
1546 - has keyword now takes a 'metaclass' option
1547 to support custom attribute meta-classes
1548 on a per-attribute basis
1549 - added tests for this
1550 - the 'has' keyword not accepts inherited slot
1551 specifications (has '+foo'). This is still an
1552 experimental feature and probably not finished
1553 see t/038_attribute_inherited_slot_specs.t for
1554 more details, or ask about it on #moose
1555 - added tests for this
1558 - keywords are now exported with Sub::Exporter
1560 * Moose::Utils::TypeConstraints
1561 - reorganized the type constraint hierarchy, thanks
1562 to nothingmuch and chansen for his help and advice
1564 - added some tests for this
1565 - keywords are now exported with Sub::Exporter
1566 thanks to chansen for this commit
1568 * Moose::Meta::Class
1569 - due to changes in Class::MOP, we had to change
1570 construct_instance (for the better)
1572 * Moose::Meta::Attribute
1573 - due to changes in Class::MOP, we had to add the
1574 initialize_instance_slot method (it's a good thing)
1576 * Moose::Meta::TypeConstraint
1577 - added type constraint unions
1578 - added tests for this
1579 - added the is_subtype_of predicate method
1580 - added tests for this
1582 0.04 Sun. April 16th, 2006
1584 - Roles can now consume other roles
1585 - added tests for this
1586 - Roles can specify required methods now with
1587 the requires() keyword
1588 - added tests for this
1591 - ripped out much of it's guts ,.. much cleaner now
1592 - added required methods and correct handling of
1593 them in apply() for both classes and roles
1594 - added tests for this
1595 - no longer adds a does() method to consuming classes
1596 it relys on the one in Moose::Object
1597 - added roles attribute and some methods to support
1598 roles consuming roles
1600 * Moose::Meta::Attribute
1601 - added support for triggers on attributes
1602 - added tests for this
1603 - added support for does option on an attribute
1604 - added tests for this
1606 * Moose::Meta::Class
1607 - added support for attribute triggers in the
1609 - added tests for this
1612 - Moose no longer creates a subtype for your class
1613 if a subtype of the same name already exists, this
1614 should DWIM in 99.9999% of all cases
1616 * Moose::Util::TypeConstraints
1617 - fixed bug where incorrect subtype conflicts were
1619 - added test for this
1622 - this class can now be extended with 'use base' if
1623 you need it, it properly loads the metaclass class now
1624 - added test for this
1626 0.03_02 Wed. April 12, 2006
1628 - you must now explictly use Moose::Util::TypeConstraints
1629 it no longer gets exported for you automatically
1632 - new() now accepts hash-refs as well as key/value lists
1633 - added does() method to check for Roles
1634 - added tests for this
1636 * Moose::Meta::Class
1637 - added roles attribute along with the add_role() and
1639 - added tests for this
1642 - now adds a does() method to consuming classes
1643 which tests the class's hierarchy for roles
1644 - added tests for this
1646 0.03_01 Mon. April 10, 2006
1648 - added new Role recipe (no content yet, only code)
1651 - added 'with' keyword for Role support
1652 - added test and docs for this
1653 - fixed subtype quoting bug
1654 - added test for this
1658 - added test and docs
1660 * Moose::Util::TypeConstraints
1661 - added the message keyword to add custom
1662 error messages to type constraints
1665 - the meta role to support Moose::Role
1666 - added tests and docs
1668 * Moose::Meta::Class
1669 - moved a number of things from Moose.pm
1670 to here, they should have been here
1673 * Moose::Meta::Attribute
1674 - moved the attribute option macros here
1675 instead of putting them in Moose.pm
1677 * Moose::Meta::TypeConstraint
1678 - added the message attributes and the
1680 - added tests and docs for this
1682 0.03 Thurs. March 30, 2006
1684 - added the Moose::Cookbook with 5 recipes,
1685 describing all the stuff Moose can do.
1688 - fixed an issue with &extends super class loading
1689 it now captures errors and deals with inline
1690 packages correctly (bug found by mst, solution
1692 - added super/override & inner/augment features
1693 - added tests and docs for these
1696 - BUILDALL now takes a reference of the %params
1697 that are passed to &new, and passes that to
1700 * Moose::Util::TypeConstraints
1701 - Type constraints now survive runtime reloading
1702 - added test for this
1704 * Moose::Meta::Class
1705 - fixed the way attribute defaults are handled
1706 during instance construction (bug found by chansen)
1708 * Moose::Meta::Attribute
1709 - read-only attributes now actually enforce their
1710 read-only-ness (this corrected in Class::MOP as
1713 0.02 Tues. March 21, 2006
1715 - many more tests, fixing some bugs and
1717 - &extends now loads the base module with
1719 - added UNIVERSAL::require to the
1722 - each new Moose class will also create
1723 and register a subtype of Object which
1724 correspond to the new Moose class.
1725 - the 'isa' option in &has now only
1726 accepts strings, and will DWIM in
1729 * Moose::Util::TypeConstraints
1730 - added type coercion features
1731 - added tests for this
1732 - added support for this in attributes
1733 and instance construction
1735 - type construction no longer creates a
1736 function, it registers the type instead.
1737 - added several functions to get the
1741 - BUILDALL and DEMOLISHALL were broken
1742 because of a mis-named hash key, Whoops :)
1744 * Moose::Meta::Attribute
1745 - adding support for coercion in the
1746 autogenerated accessors
1748 * Moose::Meta::Class
1749 - adding support for coercion in the
1750 instance construction
1752 * Moose::Meta::TypeConstraint
1753 * Moose::Meta::TypeCoercion
1754 - type constraints and coercions are now
1755 full fledges meta-objects
1757 0.01 Wed. March 15, 2006
1758 - Moooooooooooooooooose!!!