1 Revision history for Perl extension Moose
5 - A new bit of doc intended to introduce folks familiar with
6 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
9 - Shows examples of two classes, each done first with and then
10 without Moose. This makes a nice parallel to
11 Moose::Intro. (Dave Rolsky)
13 * Moose::Util::TypeConstraints
14 - Fixed a bug in find_or_parse_type_constraint so that it
15 accepts a Moose::Meta::TypeConstraint object as the parent
16 type, not just a name (jnapiorkowski)
17 - added tests (jnapiorkowski)
19 0.56 Mon September 1, 2008
20 For those not following the series of dev releases, there are
21 several major changes in this release of Moose.
22 ! Moose::init_meta should now be called as a method. See the
25 - Major performance improvements by nothingmuch.
27 - New modules for extension writers, Moose::Exporter and
28 Moose::Util::MetaRole by Dave Rolsky.
30 - Lots of doc improvements and additions, especially in the
35 * Removed all references to the experimental-but-no-longer-needed
36 Moose::Meta::Role::Application::ToMetaclassInstance.
38 * Require Class::MOP 0.65.
40 0.55_04 Sat August 30, 2008
41 * Moose::Util::MetaRole
42 * Moose::Cookbook::Extending::Recipe2
43 - This simplifies the application of roles to any meta class, as
44 well as the base object class. Reimplemented metaclass traits
45 using this module. (Dave Rolsky)
47 * Moose::Cookbook::Extending::Recipe1
48 - This a new recipe, an overview of various ways to write Moose
49 extensions (Dave Rolsky)
51 * Moose::Cookbook::Extending::Recipe3
52 * Moose::Cookbook::Extending::Recipe4
53 - These used to be Extending::Recipe1 and Extending::Recipe2,
56 0.55_03 Fri August 29, 2008
57 * No changes from 0.55_02 except increasing the Class::MOP
58 dependency to 0.64_07.
60 0.55_02 Fri August 29, 2008
61 * Makefile.PL and Moose.pm
62 - explicitly require Perl 5.8.0+ (Dave Rolsky)
64 * Moose::Util::TypeConstraints
65 - Fix warnings from find_type_constraint if the type is not
68 * Moose::Meta::TypeConstraint
69 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
70 return false if the type you specify cannot be found in the
71 type registry, rather than throwing an unhelpful and
72 coincidental exception. (t0m).
73 - added docs & test for this (t0m)
75 * Moose::Meta::TypeConstraint::Registry
76 - add_type_constraint now throws an exception if a parameter is
78 - added docs & test for this (t0m)
80 * Moose::Cookbook::FAQ
81 - Added a faq entry on the difference between "role" and "trait"
85 - Fixed a bug that caused role composition to not see a required
86 method when that method was provided by another role being
87 composed at the same time. (Dave Rolsky)
88 - test and bug finding (tokuhirom)
90 0.55_01 Wed August 20, 2008
92 !! Calling Moose::init_meta as a function is now !!
93 !! deprecated. Please see the Moose.pm docs for details. !!
95 * Moose::Meta::Method::Constructor
96 - Fix inlined constructor so that values produced by default
97 or builder methods are coerced as required. (t0m)
98 - added test for this (t0m)
100 * Moose::Meta::Attribute
101 - A lazy attribute with a default or builder did not attempt to
102 coerce the default value. The immutable code _did_
104 - added test for this (t0m)
107 - This is a new helper module for writing "Moose-alike"
108 modules. This should make the lives of MooseX module authors
109 much easier. (Dave Rolsky)
112 * Moose::Cookbook::Meta::Recipe5
113 - Implemented metaclass traits (and wrote a recipe for it):
115 use Moose -traits => 'Foo'
117 This should make writing small Moose extensions a little
120 * Moose::Cookbook::Basics::Recipe1
121 - Removed any examples of direct hashref access, and applied an
122 editorial axe to reduce verbosity. (Dave Rolsky)
124 * Moose::Cookbook::Basics::Recipe1
125 - Also applied an editorial axe here. (Dave Rolsky)
128 * Moose::Cookbook::Extending::Recipe1
129 * Moose::Cookbook::Extending::Recipe2
130 - Rewrote extending and embedding moose documentation and
131 recipes to use Moose::Exporter (Dave Rolsky)
135 - These two modules now warn when you load them from the main
136 package "main" package, because we will not export sugar to
137 main. Previously it just did nothing. (Dave Rolsky)
140 - Now provide an init_meta method just like Moose.pm, and you
141 can call this to provide an alternate role metaclass. (Dave
142 Rolsky and nothingmuch)
143 - get_method_map now respects the package cache flag (nothingmuch)
146 - Two new methods - add_method and wrap_method_body
150 - Optimizations including allowing constructors to accept hash
151 refs, making many more classes immutable, and making
152 constructors immutable. (nothingmuch)
154 0.55 Sun August 3, 2008
155 * Moose::Meta::Attribute
156 - breaking down the way 'handles' methods are
157 created so that the process can be more easily
158 overridden by subclasses (stevan)
160 * Moose::Meta::TypeConstraint
161 - fixing what is passed into a ->message with
162 the type constraints (RT #37569)
163 - added tests for this (Charles Alderman)
165 * Moose::Util::TypeConstraints
166 - fix coerce to accept anon types like subtype can (mst)
169 - reorganized the recipes into sections - Basics, Roles, Meta,
170 Extending - and wrote abstracts for each section (Dave Rolsky)
172 * Moose::Cookbook::Basics::Recipe10
173 - A new recipe that demonstrates operator overloading
174 in combination with Moose. (bluefeet)
176 * Moose::Cookbook::Meta::Recipe1
177 - an introduction to what meta is and why you'd want to make
178 your own metaclass extensions (Dave Rolsky)
180 * Moose::Cookbook::Meta::Recipe4
181 - a very simple metaclass example (Dave Rolsky)
183 * Moose::Cookbook::Extending::Recipe1
184 - how to write a Moose-alike module to use your own object base
187 * Moose::Cookbook::Extending::Recipe2
188 - how to write modules with an API just like C<Moose.pm> (Dave
192 - Tons of fixes, both syntactical and grammatical (Dave
193 Rolsky, Paul Fenwick)
195 0.54 Thurs. July 3, 2008
196 ... this is not my day today ...
198 * Moose::Meta::Attribute
199 - fixed legal_options_for_inheritance such that
200 clone_and_inherit options still works for
201 Class::MOP::Attribute objects and therefore
202 does not break MooseX::AttributeHelpers
205 0.53 Thurs. July 3, 2008
206 * Whoops, I guess I should run 'make manifest' before
207 actually releasing the module. No actual changes
208 in this release, except the fact that it includes
209 the changes that I didn't include in the last
212 0.52 Thurs. July 3, 2008
214 - added "FEATURE REQUESTS" section to the Moose docs
215 to properly direct people (stevan) (RT #34333)
216 - making 'extends' croak if it is passed a Role since
217 this is not ever something you want to do
218 (fixed by stevan, found by obra)
219 - added tests for this (stevan)
222 - adding support for DOES (as in UNIVERSAL::DOES)
224 - added test for this
226 * Moose::Meta::Attribute
227 - added legal_options_for_inheritance (wreis)
228 - added tests for this (wreis)
230 * Moose::Cookbook::Snacks::*
231 - removed some of the unfinished snacks that should
232 not have been released yet. Added some more examples
233 to the 'Keywords' snack. (stevan)
235 * Moose::Cookbook::Style
236 - added general Moose "style guide" of sorts to the
237 cookbook (nothingmuch) (RT #34335)
240 - added more BUILDARGS tests (stevan)
242 0.51 Thurs. Jun 26, 2008
244 - add unimport so "no Moose::Role" actually does
247 * Moose::Meta::Role::Application::ToRole
248 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
249 order to provide its own implementation, that method still got
250 added to the list of required methods for consumers of
251 RoleB. Now an aliased method is only added to the list of
252 required methods if the role doing the aliasing does not
253 provide its own implementation. See Recipe 11 for an example
254 of all this. (Dave Rolsky)
255 - added tests for this
257 * Moose::Meta::Method::Constructor
258 - when a single argument that wasn't a hashref was provided to
259 an immutabilized constructor, the error message was very
260 unhelpful, as opposed to the non-immutable error. Reported by
262 - added test for this (Dave Rolsky)
264 * Moose::Meta::Attribute
265 - added support for meta_attr->does("ShortAlias") (sartak)
266 - added tests for this (sartak)
267 - moved the bulk of the `handles` handling to the new
268 install_delegation method (Stevan)
271 - Added BUILDARGS, a new step in new()
273 * Moose::Meta::Role::Application::RoleSummation
274 - fix typos no one ever sees (sartak)
276 * Moose::Util::TypeConstraints
277 * Moose::Meta::TypeConstraint
278 * Moose::Meta::TypeCoercion
279 - Attempt to work around the ??{ } vs. threads issue
281 - Some null_constraint optimizations
283 0.50 Thurs. Jun 11, 2008
284 - Fixed a version number issue by bumping all modules
287 0.49 Thurs. Jun 11, 2008
288 !! This version now approx. 20-25% !!
289 !! faster with new Class::MOP 0.59 !!
291 * Moose::Meta::Attribute
292 - fixed how the is => (ro|rw) works with
293 custom defined reader, writer and accessor
295 - added docs for this (TODO).
296 - added tests for this (Thanks to Penfold)
297 - added the custom attribute alias for regular
298 Moose attributes which is "Moose"
299 - fix builder and default both being used
304 Moose::Meta::Attribute
306 Moose::Meta::Role::Composite
307 Moose::Util::TypeConstraints
308 - switched usage of reftype to ref because
312 - changing add_package_symbol to use the new
316 - fixed how DEMOLISHALL is called so that it
317 can be overrided in subclasses (thanks to Sartak)
318 - added test for this (thanks to Sartak)
320 * Moose::Util::TypeConstraints
321 - move the ClassName type check code to
322 Class::MOP::is_class_loaded (thanks to Sartak)
324 * Moose::Cookbook::Recipe11
325 - add tests for this (thanks to tokuhirom)
327 0.48 Thurs. May 29, 2008
328 (early morning release engineering)--
330 - fixing the version in Moose::Meta::Method::Destructor
331 which was causing the indexer to choke
333 0.47 Thurs. May 29, 2008
334 (late night release engineering)--
336 - fixing the version is META.yml, no functional
337 changes in this release
339 0.46 Wed. May 28, 2008
340 !! This version now approx. 20-25% !!
341 !! faster with new Class::MOP 0.57 !!
344 - some optimizations of the &initialize method
345 since it is called so often by &meta
349 - now use the get_all_package_symbols from the
350 updated Class::MOP, test suite is now 10 seconds
353 * Moose::Meta::Method::Destructor
354 - is_needed can now also be called as a class
355 method for immutablization to check if the
356 destructor object even needs to be created
359 * Moose::Meta::Method::Destructor
360 Moose::Meta::Method::Constructor
361 - added more descriptive error message to help
362 keep people from wasting time tracking an error
363 that is easily fixed by upgrading.
365 0.45 Saturday, May 24, 2008
367 - Because of work in Class::MOP 0.56, all
368 XS based functionality is now optional
369 and a Pure Perl version is supplied
370 - the CLASS_MOP_NO_XS environment variable
371 can now be used to force non-XS versions
373 - several of the packages have been tweaked
374 to take care of this, mostly we added
375 support for the package_name and name
376 variables in all the Method metaclasses
377 - before/around/after method modifiers now
378 support regexp matching of names
379 (thanks to Takatoshi Kitano)
380 - tests added for this
381 - NOTE: this only works for classes, it
382 is currently not supported in roles,
383 but, ... patches welcome
384 - All usage of Carp::confess have been replaced
385 by Carp::croak in the "keyword" functions since
386 the stack trace is usually not helpful
389 - All usage of Carp::confess have been replaced
390 by Carp::croak in the "keyword" functions since
391 the stack trace is usually not helpful
392 - The 'has' keyword for roles now accepts the
393 same array ref form that Moose.pm does
394 (has [qw/foo bar/] => (is => 'rw', ...))
395 - added test for this
397 * Moose::Meta::Attribute
398 - trigger on a ro-attribute is no longer an
399 error, as it's useful to trigger off of the
403 - added same 'add_package_symbol' fix as in
407 - does_role now handles non-Moose classes
409 - added tests for this
410 - added the 'add_method_modifier' function
411 (thanks to Takatoshi Kitano)
413 * Moose::Util::TypeConstraints
414 - subtypes of parameterizable types now are
415 themselves parameterizable types
417 * Moose::Meta::Method::Constructor
418 - fixed bug where trigger was not being
419 called by the inlined immutable
421 - added test for this (thanks to Caelum)
423 * Moose::Meta::Role::Application::ToInstance
424 - now uses the metaclass of the instance
425 (if possible) to create the anon-class
426 (thanks Jonathan Rockway)
428 * Moose::Cookbook::Recipe22
429 - added the meta-attribute trait recipe
433 - fixed hash-ordering test bug that was
434 causing occasional cpantester failures
435 - renamed the t/000_recipe/*.t tests to be
436 more descriptive (thanks to Sartak)
438 0.44 Sat. May 10, 2008
440 - made make_immutable warning cluck to
441 show where the error is (thanks mst)
444 - BUILDALL and DEMOLISHALL now call
445 ->body when looping through the
446 methods, to avoid the overloaded
448 - fixed issue where DEMOLISHALL was
449 eating the $@ values, and so not
450 working correctly, it still kind of
451 eats them, but so does vanilla perl
452 - added tests for this
454 * Moose::Cookbook::Recipe7
455 - added new recipe for immutable
456 functionality (thanks Dave Rolsky)
458 * Moose::Cookbook::Recipe9
459 - added new recipe for builder and
460 lazy_build (thanks Dave Rolsky)
462 * Moose::Cookbook::Recipe11
463 - added new recipe for method aliasing
464 and exclusion with Roles (thanks Dave Rolsky)
467 - fixed Win32 test failure (thanks spicyjack)
469 ~ removed Build.PL and Module::Build compat
470 since Module::Install has done that.
472 0.43 Wed. April, 30, 2008
474 drink more coffee before
475 doing release engineering
477 - whoops, forgot to do the smolder tests,
478 and we broke some of the custom meta-attr
479 modules. This fixes that.
481 0.42 Mon. April 28, 2008
482 - some bad tests slipped by, nothing else
483 changed in this release (cpantesters++)
485 - upped the Class::MOP dependency to 0.55
486 since we have tests which need the C3
489 0.41 Mon. April 28, 2008
490 ~~ numerous documentation updates ~~
492 - Changed all usage of die to Carp::croak for better
493 error reporting (initial patch by Tod Hagan)
496 - the make_immutable keyword is now deprecated, don't
497 use it in any new code and please fix your old code
498 as well. There will be 2 releases, and then it will
504 - refactored the way inner and super work to avoid
505 any method/@ISA cache penalty (nothingmuch)
508 - fixing &new_object to make sure trigger gets the
509 coerced value (spotted by Charles Alderman on the
511 - added test for this
513 * Moose::Meta::Method::Constructor
514 - immutable classes which had non-lazy attributes were calling
515 the default generating sub twice in the constructor. (bug
516 found by Jesse Luehrs, fixed by Dave Rolsky)
517 - added tests for this (Dave Rolsky)
518 - fix typo in initialize_body method (nothingmuch)
520 * Moose::Meta::Method::Destructor
521 - fix typo in initialize_body method (nothingmuch)
523 * Moose::Meta::Method::Overriden
524 Moose::Meta::Method::Augmented
525 - moved the logic for these into their own
526 classes (nothingmuch)
528 * Moose::Meta::Attribute
529 - inherited attributes may now be extended without
530 restriction on the type ('isa', 'does') (Sartak)
531 - added tests for this (Sartak)
532 - when an attribute property is malformed (such as lazy without
533 a default), give the name of the attribute in the error
535 - added the &applied_traits and &has_applied_traits methods
536 to allow introspection of traits
537 - added tests for this
538 - moved 'trait' and 'metaclass' argument handling to here from
540 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
541 '+foo' syntax) (nothingmuch)
542 - added tests for this (t0m)
545 - localize $@ inside DEMOLISHALL to avoid it
546 eating $@ (found by Ernesto)
547 - added test for this (thanks to Ernesto)
549 * Moose::Util::TypeConstraints
550 - &find_type_constraint now DWIMs when given an
551 type constraint object or name (nothingmuch)
552 - &find_or_create_type_constraint superseded with a number of more
554 - find_or_create_{isa,does}_type_constraint
555 - find_or_parse_type_constraint
557 * Moose::Meta::TypeConstraint
558 Moose::Meta::TypeConstraint::Class
559 Moose::Meta::TypeConstraint::Role
560 Moose::Meta::TypeConstraint::Enum
561 Moose::Meta::TypeConstraint::Union
562 Moose::Meta::TypeConstraint::Parameterized
563 - added the &equals method for comparing two type
564 constraints (nothingmuch)
565 - added tests for this (nothingmuch)
567 * Moose::Meta::TypeConstraint
568 - add the &parents method, which is just an alias to &parent.
569 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
571 * Moose::Meta::TypeConstraint::Class
572 - added the class attribute for introspection purposes
574 - added tests for this
576 * Moose::Meta::TypeConstraint::Enum
577 Moose::Meta::TypeConstraint::Role
578 - broke these out into their own classes (nothingmuch)
580 * Moose::Cookbook::Recipe*
581 - fixed references to test file locations in the POD
582 and updated up some text for new Moose features
586 - Added &resolve_metaclass_alias, a helper function for finding an actual
587 class for a short name (e.g. in the traits list)
589 0.40 Fri. March 14, 2008
590 - I hate Pod::Coverage
592 0.39 Fri. March 14, 2008
594 - documenting the use of '+name' with attributes
595 that come from recently composed roles. It makes
596 sense, people are using it, and so why not just
597 officially support it.
598 - fixing the 'extends' keyword so that it will not
599 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
602 - added the perl -Moose=+Class::Name feature to allow
603 monkeypatching of classes in one liners
606 - fixing the 'apply_all_roles' keyword so that it will not
607 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
610 - added ->create method which now supports roles (thanks to jrockway)
611 - added tests for this
612 - added ->create_anon_class which now supports roles and caching of
613 the results (thanks to jrockway)
614 - added tests for this
615 - made ->does_role a little more forgiving when it is
616 checking a Class::MOP era metaclasses.
618 * Moose::Meta::Role::Application::ToInstance
619 - it is now possible to pass extra params to be used when
620 a role is applied to an the instance (rebless_params)
621 - added tests for this
623 * Moose::Util::TypeConstraints
624 - class_type now accepts an optional second argument for a
625 custom message. POD anotated accordingly (groditi)
626 - added tests for this
627 - it is now possible to make anon-enums by passing 'enum' an
628 ARRAY ref instead of the $name => @values. Everything else
630 - added tests for this
633 - making test for using '+name' on attributes consumed
634 from a role, it works and makes sense too.
636 * Moose::Meta::Attribute
637 - fix handles so that it doesn't return nothing
638 when the method cannot be found, not sure why
639 it ever did this originally, this means we now
640 have slightly better support for AUTOLOADed
642 - added more delegation tests
643 - adding ->does method to this so as to better
644 support traits and their introspection.
645 - added tests for this
648 - localizing the Data::Dumper configurations so
649 that it does not pollute others (RT #33509)
650 - made ->does a little more forgiving when it is
651 passed Class::MOP era metaclasses.
653 0.38 Fri. Feb. 15, 2008
654 * Moose::Meta::Attribute
655 - fixed initializer to correctly do
656 type checking and coercion in the
658 - added tests for this
661 - fixed some finicky tests (thanks to konobi)
663 0.37 Thurs. Feb. 14, 2008
665 - fixed some details in Moose::init_meta
666 and its superclass handling (thanks thepler)
667 - added tests for this (thanks thepler)
668 - 'has' now dies if you don't pass in name
670 - added the 'make_immutable' keyword as a shortcut
674 Moose::Meta::Method::Constructor
675 Moose::Meta::Attribute
676 - making (init_arg => undef) work here too
677 (thanks to nothingmuch)
679 * Moose::Meta::Attribute
680 Moose::Meta::Method::Constructor
681 Moose::Meta::Method::Accessor
682 - make lazy attributes respect attr initializers (rjbs)
683 - added tests for this
685 * Moose::Util::TypeConstraints
686 Moose::Util::TypeConstraints::OptimizedConstraints
687 Moose::Meta::TypeConstraints
688 Moose::Meta::Attribute
689 Moose::Meta::Method::Constructor
690 Moose::Meta::Method::Accessor
691 - making type errors use the
692 assigned message (thanks to Sartak)
693 - added tests for this
695 * Moose::Meta::Method::Destructor
696 - making sure DESTROY gets inlined properly
697 with successive DEMOLISH calls (thanks to manito)
699 * Moose::Meta::Attribute
700 Moose::Meta::Method::Accessor
701 - fixed handling of undef with type constraints
703 - added tests for this
706 - added &get_all_init_args and &get_all_attribute_values
707 (thanks to Sartak and nothingmuch)
709 0.36 Sat. Jan. 26, 2008
711 Moose::Meta::Attribute
712 - role type tests now support when roles are
713 applied to non-Moose classes (found by ash)
714 - added tests for this (thanks to ash)
715 - couple extra tests to boost code coverage
717 * Moose::Meta::Method::Constructor
718 - improved fix for handling Class::MOP attributes
719 - added test for this
722 - handled the add_attribute($attribute_meta_object)
724 - added test for this
726 0.35 Tues. Jan. 22, 2008
727 * Moose::Meta::Method::Constructor
728 - fix to make sure even Class::MOP attributes
729 are handled correctly (Thanks to Dave Rolsky)
730 - added test for this (also Dave Rolsky)
733 - improved error message on _apply_all_roles,
734 you should now use Moose::Util::apply_all_roles
735 and you shouldnt have been using a _ prefixed
736 method in the first place ;)
738 0.34 Mon. Jan. 21, 2008
739 ~~~ more misc. doc. fixes ~~~
740 ~~ updated copyright dates ~~
742 Moose is now a postmodern object system :)
743 - (see the POD for details)
745 * <<Role System Refactoring>>
746 - this release contains a major reworking and
747 cleanup of the role system
748 - 100% backwards compat.
749 - Role application now restructured into seperate
750 classes based on type of applicants
751 - Role summation (combining of more than one role)
752 is much cleaner and anon-classes are no longer
754 - new Composite role metaclass
755 - runtime application of roles to instances
756 is now more efficient and re-uses generated
757 classes when applicable
759 * <<New Role composition features>>
760 - methods can now be excluded from a given role
762 - methods can now be aliased to another name (and
763 still retain the original as well)
765 * Moose::Util::TypeConstraints::OptimizedConstraints
766 - added this module (see above)
769 - fixed the &_process_attribute method to be called
770 by &add_attribute, so that the API is now correct
772 * Moose::Meta::Method::Accessor
773 - fixed bug when passing a list of values to
774 an accessor would get (incorrectly) ignored.
775 Thanks to Sartak for finding this ;)
776 - added tests for this (Sartak again)
778 * Moose::Meta::Method::Accessor
779 Moose::Meta::Method::Constructor
780 Moose::Meta::Attribute
781 Moose::Meta::TypeConstraint
782 Moose::Meta::TypeCoercion
783 - lots of cleanup of such things as:
785 - type constraint handling
786 - error handling/messages
787 (thanks to nothingmuch)
789 * Moose::Meta::TypeConstraint::Parameterizable
790 - added this module to support the refactor
791 in Moose::Meta::TypeConstraint::Parameterized
793 * Moose::Meta::TypeConstraint::Parameterized
794 - refactored how these types are handled so they
795 are more generic and not confined to ArrayRef
799 - shortened some file names for better VMS support (RT #32381)
801 0.33 Fri. Dec. 14, 2007
802 !! Moose now loads 2 x faster !!
803 !! with new Class::MOP 0.49 !!
805 ++ new oose.pm module to make command line
806 Moose-ness easier (see POD docs for more)
810 - several tweaks to take advantage of the
811 new method map caching in Class::MOP
813 * Moose::Meta::TypeConstraint::Parameterized
814 - allow subtypes of ArrayRef and HashRef to
815 be used as a container (sartak)
816 - added tests for this
817 - basic support for coercion to ArrayRef and
818 HashRef for containers (sartak)
819 - added tests for this
821 * Moose::Meta::TypeCoercion
822 - coercions will now create subtypes as needed
823 so you can now add coercions to parameterized
824 types without having to explictly define them
825 - added tests for this
827 * Moose::Meta::Method::Accessor
828 - allow subclasses to decide whether we need
829 to copy the value into a new variable (sartak)
831 0.32 Tues. Dec. 4, 2007
832 * Moose::Util::TypeConstraints
833 - fixing how subtype aliases of unions work
834 they should inherit the parent's coercion
835 - added tests for this
836 - you can now define multiple coercions on
837 a single type at different times instead of
838 having to do it all in one place
839 - added tests for this
841 * Moose::Meta::TypeConstraint
842 - there is now a default constraint of sub { 1 }
843 instead of Moose::Util::TypeConstraints setting
846 * Moose::Meta::TypeCoercion
847 * Moose::Meta::TypeCoercion::Union
848 - added the &has_coercion_for_type and
849 &add_type_coercions methods to support the
850 new features above (although you cannot add
851 more type coercions for Union types)
853 0.31 Mon. Nov. 26, 2007
854 * Moose::Meta::Attribute
855 - made the +attr syntax handle extending types with
856 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
857 now works if the original foo is an ArrayRef.
858 - added tests for this.
859 - delegation now works even if the attribute does not
860 have a reader method using the get_read_method_ref
861 method from Class::MOP::Attribute.
862 - added tests for this
863 - added docs for this
865 * Moose::Util::TypeConstraints
866 - passing no "additional attribute info" to
867 &find_or_create_type_constraint will no longer
868 attempt to create an __ANON__ type for you,
869 instead it will just return undef.
870 - added docs for this
872 0.30 Fri. Nov. 23, 2007
873 * Moose::Meta::Method::Constructor
874 -builder related bug in inlined constructor. (groditi)
876 * Moose::Meta::Method::Accessor
877 - genereate unnecessary calls to predicates and refactor
878 code generation for runtime speed (groditi)
880 * Moose::Util::TypeConstraints
881 - fix ClassName constraint to introspect symbol table (mst)
882 - added more tests for this (mst)
883 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
885 - added tests for this
888 - adding the link to Recipie 11 (written by Sartak)
889 - adding test for SYNOPSIS code
892 - New tests for builder bug. Upon instantiation, if an
893 attribute had a builder, no value and was not lazy the
894 builder default was not getting run, oops. (groditi)
896 0.29 Tues. Nov. 13, 2007
897 * Moose::Meta::Attribute
898 - Fix error message on missing builder method (groditi)
900 * Moose::Meta::Method::Accessor
901 - Fix error message on missing builder method (groditi)
904 - Add test to check for the correct error message when
905 builder method is missing (groditi)
907 0.28 Tues. Nov. 13, 2007
908 - 0.27 packaged incorrectly (groditi)
910 0.27 Tues. Nov. 13, 2007
911 * Moose::Meta::Attribute
912 - Added support for the new builder option (groditi)
913 - Added support for lazy_build option (groditi)
914 - Changed slot initialization for predicate changes (groditi)
916 * Moose::Meta::Method::Accessor
917 - Added support for lazy_build option (groditi)
918 - Fix inline methods to work with corrected predicate
921 * Moose::Meta::Method::Constructor
922 - Added support for lazy_build option (groditi)
925 - tests for builder and lazy_build (groditi)
927 * fixing some misc. bits in the docs that
928 got mentioned on CPAN Forum & perlmonks
931 - fixed how required methods are handled
932 when they encounter overriden or modified
933 methods from a class (thanks to confound).
934 - added tests for this
936 * Moose::Util::TypeConstraint
937 - fixed the type notation parser so that
938 the | always creates a union and so is
939 no longer a valid type char (thanks to
940 konobi, mugwump and #moose for working
942 - added more tests for this
944 0.26 Thurs. Sept. 27, 2007
947 * Parameterized Types
948 We now support parameterized collection types, such as:
949 ArrayRef[Int] # array or integers
950 HashRef[Object] # a hash with object values
951 They can also be nested:
952 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
953 And work with the type unions as well:
954 ArrayRef[Int | Str] # array of integers of strings
956 * Better Framework Extendability
957 Moose.pm is now "extendable" such that it is now much
958 easier to extend the framework and add your own keywords
959 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
960 section of the Moose.pm docs.
963 In an effort to begin documenting some of the various
964 details of Moose as well as some common idioms, we have
965 created Moose::Cookbook::Snacks as a place to find
966 small (easily digestable) nuggets of Moose code.
969 ~ Several doc updates/cleanup thanks to castaway ~
971 - converted build system to use Module::Install instead of
972 Module::Build (thanks to jrockway)
975 - added all the meta classes to the immutable list and
976 set it to inline the accessors
977 - fix import to allow Sub::Exporter like { into => }
978 and { into_level => } (perigrin)
979 - exposed and documented init_meta() to allow better
980 embedding and extending of Moose (perigrin)
983 - complete re-organization of the test suite
984 - added some new tests as well
985 - finally re-enabled the Moose::POOP test since
986 the new version of DBM::Deep now works again
990 - fixed very odd and very nasty recursion bug with
992 - added tests for this (eilara)
994 * Moose::Meta::Attribute
995 Moose::Meta::Method::Constructor
996 Moose::Meta::Method::Accessor
997 - fixed issue with overload::Overloaded getting called
998 on non-blessed items. (RT #29269)
999 - added tests for this
1001 * Moose::Meta::Method::Accessor
1002 - fixed issue with generated accessor code making
1003 assumptions about hash based classes (thanks to dexter)
1005 * Moose::Coookbook::Snacks
1006 - these are bits of documentation, not quite as big as
1007 Recipes but which have no clear place in the module docs.
1008 So they are Snacks! (horray for castaway++)
1010 * Moose::Cookbook::Recipe4
1011 - updated it to use the new ArrayRef[MyType] construct
1012 - updated the accompanying test as well
1014 +++ Major Refactor of the Type Constraint system +++
1015 +++ with new features added as well +++
1017 * Moose::Util::TypeConstraint
1018 - no longer uses package variable to keep track of
1019 the type constraints, now uses the an instance of
1020 Moose::Meta::TypeConstraint::Registry to do it
1021 - added more sophisticated type notation parsing
1023 - added tests for this
1025 * Moose::Meta::TypeConstraint
1026 - some minor adjustments to make subclassing easier
1027 - added the package_defined_in attribute so that we
1028 can track where the type constraints are created
1030 * Moose::Meta::TypeConstraint::Union
1031 - this is now been refactored to be a subclass of
1032 Moose::Meta::TypeConstraint
1034 * Moose::Meta::TypeCoercion::Union
1035 - this has been added to service the newly refactored
1036 Moose::Meta::TypeConstraint::Union and is itself
1037 a subclass of Moose::Meta::TypeCoercion
1039 * Moose::Meta::TypeConstraint::Parameterized
1040 - added this module (taken from MooseX::AttributeHelpers)
1041 to help construct nested collection types
1042 - added tests for this
1044 * Moose::Meta::TypeConstraint::Registry
1045 - added this class to keep track of type constraints
1047 0.25 Mon. Aug. 13, 2007
1049 - Documentation update to reference Moose::Util::TypeConstraints
1050 under 'isa' in 'has' for how to define a new type
1051 (thanks to shlomif).
1053 * Moose::Meta::Attribute
1054 - required attributes now will no longer accept undef
1055 from the constructor, even if there is a default and lazy
1056 - added tests for this
1057 - default subroutines must return a value which passes the
1059 - added tests for this
1061 * Moose::Meta::Attribute
1062 * Moose::Meta::Method::Constructor
1063 * Moose::Meta::Method::Accessor
1064 - type-constraint tests now handle overloaded objects correctly
1065 in the error message
1066 - added tests for this (thanks to EvanCarroll)
1068 * Moose::Meta::TypeConstraint::Union
1069 - added (has_)hand_optimized_constraint to this class so that
1070 it behaves as the regular Moose::Meta::TypeConstraint does.
1073 - large refactoring of this code
1074 - added several more tests
1075 - tests for subtle conflict resolition issues
1076 added, but not currently running
1079 * Moose::Cookbook::Recipe7
1080 - added new recipe for augment/inner functionality
1082 - added test for this
1085 - a formal definition of roles (still in progress)
1088 - utilities for easier working with Moose classes
1089 - added tests for these
1092 - This contains Moose specific test functions
1093 - added tests for these
1095 0.24 Tues. July 3, 2007
1096 ~ Some doc updates/cleanup ~
1098 * Moose::Meta::Attribute
1099 - added support for roles to be given as parameters
1100 to the 'handles' option.
1101 - added tests and docs for this
1102 - the has '+foo' attribute form now accepts changes to
1103 the lazy option, and the addition of a handles option
1104 (but not changing the handles option)
1105 - added tests and docs for this
1108 - required methods are now fetched using find_method_by_name
1109 so that required methods can come from superclasses
1110 - adjusted tests for this
1112 0.23 Mon. June 18, 2007
1113 * Moose::Meta::Method::Constructor
1114 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1115 * Moose::Meta::Class
1116 - Modify make_immutable to work with the new Class::MOP immutable
1117 mechanism + POD + very basic test (groditi)
1118 * Moose::Meta::Attribute
1119 - Fix handles to use goto() so that caller() comes out properly on
1120 the other side (perigrin)
1122 0.22 Thurs. May 31, 2007
1123 * Moose::Util::TypeConstraints
1124 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1125 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1126 prototypes for functions
1127 - added the ClassName type constraint, this checks for strings
1128 which will respond true to ->isa(UNIVERSAL).
1129 - added tests and docs for this
1130 - subtyping just in name now works correctly by making the
1131 default for where be { 1 }
1132 - added test for this
1134 * Moose::Meta::Method::Accessor
1135 - coerce and lazy now work together correctly, thanks to
1136 merlyn for finding this bug
1137 - tests added for this
1138 - fix reader presedence bug in Moose::Meta::Attribute + tests
1141 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1142 a HASH-ref and missed. This produces better error messages then
1143 having it die cause undef is not a HASH.
1144 - added tests for this
1146 0.21 Thursday, May 2nd, 2007
1148 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1149 - modified unimport to remove super and inner along with the rest
1150 - altered unimport tests to handle this
1153 - altered super export to populate SUPER_SLOT
1155 * Moose::Meta::Class
1156 - altered augment and override modifier application to use *_SLOT
1157 - modified tests for these to unimport one test class each to test
1160 - fixed issue where custom attribute metaclasses
1161 where not handled correctly in roles
1162 - added tests for this
1164 * Moose::Meta::Class
1165 - fixed issue where extending metaclasses with
1166 roles would blow up. Thanks to Aankhen`` for
1167 finding this insidious error, and it's solution.
1169 ~~ lots of spelling and grammer fixes in the docs,
1170 many many thanks to rlb3 and Aankhen for these :)
1172 0.20 Friday, April 6th, 2007
1173 >> I messed up the SKIP logic in one test
1174 so this release is just to fix that.
1177 - 'has' now also accepts an ARRAY ref
1178 to create multiple attrs (see docs)
1179 (thanks to konobi for this)
1180 - added tests and docs
1182 0.19 Thurs. April 5th, 2007
1183 ~~ More documentation updates ~~
1185 * Moose::Util::TypeConstraints
1186 - 'type' now supports messages as well
1187 thanks to phaylon for finding this
1188 - added tests for this
1189 - added &list_all_type_constraints and
1190 &list_all_builtin_type_constraints
1191 functions to facilitate introspection.
1193 * Moose::Meta::Attribute
1194 - fixed regexp 'handles' declarations
1195 to build the list of delegated methods
1196 correctly (and not override important
1197 things like &new) thanks to ashleyb
1199 - added tests and docs for this
1200 - added the 'documentation' attributes
1201 so that you can actually document your
1202 attributes and inspect them through the
1204 - added tests and docs for this
1206 * Moose::Meta::Class
1207 - when loading custom attribute metaclasses
1208 it will first look in for the class in the
1209 Moose::Meta::Attribute::Custom::$name, and
1210 then default to just loading $name.
1211 - added tests and docs for this
1213 * Moose::Meta::TypeConstraint
1214 - type constraints now stringify to their names.
1215 - added test for this
1218 - added tests to assure we work with Module::Refresh
1219 - added stricter test skip logic in the Moose POOP
1220 test, ask Rob Kinyon why.
1221 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
1223 0.18 Sat. March 10, 2007
1224 ~~ Many, many documentation updates ~~
1227 - We now use Class::MOP::load_class to
1229 - added tests to show types and subtypes
1230 working with Declare::Constraints::Simple
1231 and Test::Deep as constraint engines.
1234 !! You must have Class::MOP 0.37_001 !!
1235 !! for this developer release to work !!
1237 This release was primarily adding the immutable
1238 feature to Moose. An immutable class is one which
1239 you promise not to alter. When you set the class
1240 as immutable it will perform various bits of
1241 memoization and inline certain part of the code
1242 (constructors, destructors and accessors). This
1243 minimizes (and in some cases totally eliminates)
1244 one of Moose's biggest performance hits. This
1245 feature is not on by default, and is 100% optional.
1246 It has several configurable bits as well, so you
1247 can pick and choose to your specific needs.
1249 The changes involved in this were fairly wide and
1250 highly specific, but 100% backwards compatible, so
1251 I am not going to enumerate them here. If you are
1252 truely interested in what was changed, please do
1255 0.17 Tues. Nov. 14, 2006
1256 * Moose::Meta::Method::Accessor
1257 - bugfix for read-only accessors which
1258 are have a type constraint and lazy.
1259 Thanks to chansen for finding it.
1261 0.16 Tues. Nov. 14, 2006
1263 There are some speed improvements in this release,
1264 but they are only the begining, so stay tuned.
1267 - BUILDALL and DEMOLISHALL no longer get
1268 called unless they actually need to be.
1269 This gave us a signifigant speed boost
1270 for the cases when there is no BUILD or
1271 DEMOLISH method present.
1273 * Moose::Util::TypeConstraints
1274 * Moose::Meta::TypeConstraint
1275 - added an 'optimize_as' option to the
1276 type constraint, which allows for a
1277 hand optimized version of the type
1278 constraint to be used when possible.
1279 - Any internally created type constraints
1280 now provide an optimized version as well.
1282 0.15 Sun. Nov. 5, 2006
1284 This version of Moose *must* have Class::MOP 0.36 in order
1285 to work correctly. A number of small internal tweaks have
1286 been made in order to be compatible with that release.
1288 * Moose::Util::TypeConstraints
1289 - added &unimport so that you can clean out
1290 your class namespace of these exported
1293 * Moose::Meta::Class
1294 - fixed minor issue which occasionally
1295 comes up during global destruction
1297 - moved Moose::Meta::Method::Overriden into
1301 - moved Moose::Meta::Role::Method into
1304 * Moose::Meta::Attribute
1305 - changed how we do type checks so that
1306 we reduce the overall cost, but still
1309 - moved accessor generation methods to
1310 Moose::Meta::Method::Accessor to
1311 conform to the API changes from
1314 * Moose::Meta::TypeConstraint
1315 - changed how constraints are compiled
1316 so that we do less recursion and more
1317 iteration. This makes the type check
1319 - moved Moose::Meta::TypeConstraint::Union
1322 * Moose::Meta::Method::Accessor
1323 - created this from methods formerly found in
1324 Moose::Meta::Attribute
1326 * Moose::Meta::Role::Method
1327 - moved this from Moose::Meta::Role
1329 * Moose::Meta::Method::Overriden
1330 - moved this from Moose::Meta::Class
1332 * Moose::Meta::TypeConstraint::Union
1333 - moved this from Moose::Meta::TypeConstraint
1335 0.14 Mon. Oct. 9, 2006
1337 * Moose::Meta::Attribute
1338 - fixed lazy attributes which were not getting
1339 checked with the type constraint (thanks ashley)
1340 - added tests for this
1341 - removed the over-enthusiastic DWIMery of the
1342 automatic ArrayRef and HashRef defaults, it
1343 broke predicates in an ugly way.
1344 - removed tests for this
1346 0.13 Sat. Sept. 30, 2006
1348 This version of Moose *must* have Class::MOP 0.35 in order
1349 to work correctly. A number of small internal tweaks have
1350 been made in order to be compatible with that release.
1353 - Removed the use of UNIVERSAL::require to be a better
1354 symbol table citizen and remove a dependency
1355 (thanks Adam Kennedy)
1357 **~~ removed experimental & undocumented feature ~~**
1358 - commented out the 'method' and 'self' keywords, see the
1359 comments for more info.
1362 - added a FAQ and WTF files to document frequently
1363 asked questions and common problems
1365 * Moose::Util::TypeConstraints
1366 - added GlobRef and FileHandle type constraint
1367 - added tests for this
1369 * Moose::Meta::Attribute
1370 - if your attribute 'isa' ArrayRef of HashRef, and you have
1371 not explicitly set a default, then make the default DWIM.
1372 This will also work for subtypes of ArrayRef and HashRef
1374 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1375 - new test added for this (thanks to ashley)
1378 - added basic support for runtime role composition
1379 but this is still *highly experimental*, so feedback
1380 is much appreciated :)
1381 - added tests for this
1383 * Moose::Meta::TypeConstraint
1384 - the type constraint now handles the coercion process
1385 through delegation, this is to support the coercion
1388 * Moose::Meta::TypeConstraint::Union
1389 - it is now possible for coercions to be performed
1391 - added tests for this (thanks to konobi)
1393 * Moose::Meta::TypeCoercion
1394 - properly capturing error when type constraint
1398 - Scalar::Util 1.18 is bad on Win32, so temporarily
1399 only require version 1.17 for Win32 and cygwin.
1400 (thanks Adam Kennedy)
1402 0.12 Sat. Sept. 1, 2006
1404 - Recipe5 (subtypes & coercion) has been written
1407 - fixed "bad meta" error message to be more descriptive
1408 - fixed &unimport to not remove the &inner and &super
1409 keywords because we need to localize them.
1410 - fixed number of spelling/grammer issues, thanks Theory :)
1412 **~~ experimental & undocumented feature ~~**
1413 - added the method and self keywords, they are basically
1414 just sugar, and they may not stay around.
1417 - added &dump method to easily Data::Dumper
1420 * Moose::Meta::TypeConstraint
1421 - added the &is_a_type_of method to check both the current
1422 and the subtype of a method (similar to &isa with classes)
1425 - this is now a subclass of Class::MOP::Module, and no longer
1426 creates the _role_meta ugliness of before.
1427 - fixed tests to reflect this change
1429 0.11 Wed. July 12, 2006
1431 - added an &unimport method to remove all the keywords
1432 that Moose will import, simply add 'no Moose' to the
1433 bottom of your class file.
1436 - fixed some test failures caused by a forgotten test
1439 0.10 Thurs. July 6, 2006
1441 - improved error message when loading modules so
1442 it is less confusing when you load a role.
1443 - added &calculate_all_roles method to
1444 Moose::Meta::Class and Moose::Meta::Role
1447 This module has been tested against Class::MOP 0.30
1448 but it does not yet utilize the optimizations
1449 it makes available. Stay tuned for that ;)
1451 0.09_03 Fri. June 23, 2006
1452 ++ DEVELOPER RELEASE ++
1454 - 'use strict' and 'use warnings' are no longer
1455 needed in Moose classes, Moose itself will
1456 turn them on for you.
1457 - added tests for this
1458 - moved code from exported subs to private methods
1459 in Moose::Meta::Class
1462 - as with Moose, strict and warnings are
1463 automatically turned on for you.
1464 - added tests for this
1467 - now handles an edge case for override errors
1468 - added tests for this
1469 - added some more edge case tests
1471 0.09_02 Tues. May 16, 2006
1472 ++ DEVELOPER RELEASE ++
1474 - added prototypes to the exported subs
1478 - added prototypes to the exported subs
1481 * Moose::Util::TypeConstraints
1482 - cleaned up prototypes for the subs
1485 0.09_01 Fri. May 12, 2006
1486 ++ DEVELOPER RELEASE ++
1487 - This release works in combination with
1488 Class::MOP 0.29_01, it is a developer
1489 release because it uses the a new
1490 instance sub-protocol and a fairly
1491 complete Role implementation. It has
1492 not yet been optimized, so it slower
1493 the the previous CPAN version. This
1494 release also lacks good updated docs,
1495 the official release will have updated docs.
1498 - refactored the keyword exports
1499 - 'with' now checks Role validaity and
1500 accepts more than one Role at a time
1501 - 'extends' makes metaclass adjustments as
1502 needed to ensure metaclass compatability
1505 - refactored the keyword exports
1506 - 'with' now checks Role validaity and
1507 accepts more than one Role at a time
1509 * Moose::Util::TypeConstraints
1510 - added the 'enum' keyword for simple
1511 string enumerations which can be used as
1513 - see example of usage in t/202_example.t
1516 - more careful checking of params to new()
1519 - much work done on the role composition
1520 - many new tests for conflict detection
1521 and composition edge cases
1522 - not enough documentation, I suggest
1523 looking at the tests
1525 * Moose::Meta::Instance
1526 - added new Instance metaclass to support
1527 the new Class::MOP instance protocol
1529 * Moose::Meta::Class
1530 - some small changes to support the new
1532 - some small additions to support Roles
1534 * Moose::Meta::Attribute
1535 - some improvements to the accessor generation code
1537 - some small changes to support the new
1539 - (still somewhat) experimental delegation support
1540 with the 'handles' option
1541 - added several tests for this
1542 - no docs for this yet
1544 0.05 Thurs. April 27, 2006
1546 - keywords are now exported with Sub::Exporter
1547 thanks to chansen for this commit
1548 - has keyword now takes a 'metaclass' option
1549 to support custom attribute meta-classes
1550 on a per-attribute basis
1551 - added tests for this
1552 - the 'has' keyword not accepts inherited slot
1553 specifications (has '+foo'). This is still an
1554 experimental feature and probably not finished
1555 see t/038_attribute_inherited_slot_specs.t for
1556 more details, or ask about it on #moose
1557 - added tests for this
1560 - keywords are now exported with Sub::Exporter
1562 * Moose::Utils::TypeConstraints
1563 - reorganized the type constraint hierarchy, thanks
1564 to nothingmuch and chansen for his help and advice
1566 - added some tests for this
1567 - keywords are now exported with Sub::Exporter
1568 thanks to chansen for this commit
1570 * Moose::Meta::Class
1571 - due to changes in Class::MOP, we had to change
1572 construct_instance (for the better)
1574 * Moose::Meta::Attribute
1575 - due to changes in Class::MOP, we had to add the
1576 initialize_instance_slot method (it's a good thing)
1578 * Moose::Meta::TypeConstraint
1579 - added type constraint unions
1580 - added tests for this
1581 - added the is_subtype_of predicate method
1582 - added tests for this
1584 0.04 Sun. April 16th, 2006
1586 - Roles can now consume other roles
1587 - added tests for this
1588 - Roles can specify required methods now with
1589 the requires() keyword
1590 - added tests for this
1593 - ripped out much of it's guts ,.. much cleaner now
1594 - added required methods and correct handling of
1595 them in apply() for both classes and roles
1596 - added tests for this
1597 - no longer adds a does() method to consuming classes
1598 it relys on the one in Moose::Object
1599 - added roles attribute and some methods to support
1600 roles consuming roles
1602 * Moose::Meta::Attribute
1603 - added support for triggers on attributes
1604 - added tests for this
1605 - added support for does option on an attribute
1606 - added tests for this
1608 * Moose::Meta::Class
1609 - added support for attribute triggers in the
1611 - added tests for this
1614 - Moose no longer creates a subtype for your class
1615 if a subtype of the same name already exists, this
1616 should DWIM in 99.9999% of all cases
1618 * Moose::Util::TypeConstraints
1619 - fixed bug where incorrect subtype conflicts were
1621 - added test for this
1624 - this class can now be extended with 'use base' if
1625 you need it, it properly loads the metaclass class now
1626 - added test for this
1628 0.03_02 Wed. April 12, 2006
1630 - you must now explictly use Moose::Util::TypeConstraints
1631 it no longer gets exported for you automatically
1634 - new() now accepts hash-refs as well as key/value lists
1635 - added does() method to check for Roles
1636 - added tests for this
1638 * Moose::Meta::Class
1639 - added roles attribute along with the add_role() and
1641 - added tests for this
1644 - now adds a does() method to consuming classes
1645 which tests the class's hierarchy for roles
1646 - added tests for this
1648 0.03_01 Mon. April 10, 2006
1650 - added new Role recipe (no content yet, only code)
1653 - added 'with' keyword for Role support
1654 - added test and docs for this
1655 - fixed subtype quoting bug
1656 - added test for this
1660 - added test and docs
1662 * Moose::Util::TypeConstraints
1663 - added the message keyword to add custom
1664 error messages to type constraints
1667 - the meta role to support Moose::Role
1668 - added tests and docs
1670 * Moose::Meta::Class
1671 - moved a number of things from Moose.pm
1672 to here, they should have been here
1675 * Moose::Meta::Attribute
1676 - moved the attribute option macros here
1677 instead of putting them in Moose.pm
1679 * Moose::Meta::TypeConstraint
1680 - added the message attributes and the
1682 - added tests and docs for this
1684 0.03 Thurs. March 30, 2006
1686 - added the Moose::Cookbook with 5 recipes,
1687 describing all the stuff Moose can do.
1690 - fixed an issue with &extends super class loading
1691 it now captures errors and deals with inline
1692 packages correctly (bug found by mst, solution
1694 - added super/override & inner/augment features
1695 - added tests and docs for these
1698 - BUILDALL now takes a reference of the %params
1699 that are passed to &new, and passes that to
1702 * Moose::Util::TypeConstraints
1703 - Type constraints now survive runtime reloading
1704 - added test for this
1706 * Moose::Meta::Class
1707 - fixed the way attribute defaults are handled
1708 during instance construction (bug found by chansen)
1710 * Moose::Meta::Attribute
1711 - read-only attributes now actually enforce their
1712 read-only-ness (this corrected in Class::MOP as
1715 0.02 Tues. March 21, 2006
1717 - many more tests, fixing some bugs and
1719 - &extends now loads the base module with
1721 - added UNIVERSAL::require to the
1724 - each new Moose class will also create
1725 and register a subtype of Object which
1726 correspond to the new Moose class.
1727 - the 'isa' option in &has now only
1728 accepts strings, and will DWIM in
1731 * Moose::Util::TypeConstraints
1732 - added type coercion features
1733 - added tests for this
1734 - added support for this in attributes
1735 and instance construction
1737 - type construction no longer creates a
1738 function, it registers the type instead.
1739 - added several functions to get the
1743 - BUILDALL and DEMOLISHALL were broken
1744 because of a mis-named hash key, Whoops :)
1746 * Moose::Meta::Attribute
1747 - adding support for coercion in the
1748 autogenerated accessors
1750 * Moose::Meta::Class
1751 - adding support for coercion in the
1752 instance construction
1754 * Moose::Meta::TypeConstraint
1755 * Moose::Meta::TypeCoercion
1756 - type constraints and coercions are now
1757 full fledges meta-objects
1759 0.01 Wed. March 15, 2006
1760 - Moooooooooooooooooose!!!