1 Revision history for Perl extension Moose
4 * Roles and role application
5 - Roles now add methods by calling add_method, not
6 alias_method. They make sure to always provide a method
7 object, which will be cloned internally. This means that it is
8 now possible to track the source of a method provided by a
9 role, and even follow its history through intermediate roles.
11 * Moose::Meta::Method::Delegation
12 * Moose::Meta::Attribute
13 - Delegation methods now have their own method class.
15 0.57 Wed September 3, 2008
17 - A new bit of doc intended to introduce folks familiar with
18 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
21 - Shows examples of two classes, each done first with and then
22 without Moose. This makes a nice parallel to
23 Moose::Intro. (Dave Rolsky)
25 * Moose::Util::TypeConstraints
26 - Fixed a bug in find_or_parse_type_constraint so that it
27 accepts a Moose::Meta::TypeConstraint object as the parent
28 type, not just a name (jnapiorkowski)
29 - added tests (jnapiorkowski)
32 - If Sub::Name was not present, unimporting failed to actually
33 remove some sugar subs, causing test failures (Dave Rolsky)
35 0.56 Mon September 1, 2008
36 For those not following the series of dev releases, there are
37 several major changes in this release of Moose.
38 ! Moose::init_meta should now be called as a method. See the
41 - Major performance improvements by nothingmuch.
43 - New modules for extension writers, Moose::Exporter and
44 Moose::Util::MetaRole by Dave Rolsky.
46 - Lots of doc improvements and additions, especially in the
51 * Removed all references to the experimental-but-no-longer-needed
52 Moose::Meta::Role::Application::ToMetaclassInstance.
54 * Require Class::MOP 0.65.
56 0.55_04 Sat August 30, 2008
57 * Moose::Util::MetaRole
58 * Moose::Cookbook::Extending::Recipe2
59 - This simplifies the application of roles to any meta class, as
60 well as the base object class. Reimplemented metaclass traits
61 using this module. (Dave Rolsky)
63 * Moose::Cookbook::Extending::Recipe1
64 - This a new recipe, an overview of various ways to write Moose
65 extensions (Dave Rolsky)
67 * Moose::Cookbook::Extending::Recipe3
68 * Moose::Cookbook::Extending::Recipe4
69 - These used to be Extending::Recipe1 and Extending::Recipe2,
72 0.55_03 Fri August 29, 2008
73 * No changes from 0.55_02 except increasing the Class::MOP
74 dependency to 0.64_07.
76 0.55_02 Fri August 29, 2008
77 * Makefile.PL and Moose.pm
78 - explicitly require Perl 5.8.0+ (Dave Rolsky)
80 * Moose::Util::TypeConstraints
81 - Fix warnings from find_type_constraint if the type is not
84 * Moose::Meta::TypeConstraint
85 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
86 return false if the type you specify cannot be found in the
87 type registry, rather than throwing an unhelpful and
88 coincidental exception. (t0m).
89 - added docs & test for this (t0m)
91 * Moose::Meta::TypeConstraint::Registry
92 - add_type_constraint now throws an exception if a parameter is
94 - added docs & test for this (t0m)
96 * Moose::Cookbook::FAQ
97 - Added a faq entry on the difference between "role" and "trait"
101 - Fixed a bug that caused role composition to not see a required
102 method when that method was provided by another role being
103 composed at the same time. (Dave Rolsky)
104 - test and bug finding (tokuhirom)
106 0.55_01 Wed August 20, 2008
108 !! Calling Moose::init_meta as a function is now !!
109 !! deprecated. Please see the Moose.pm docs for details. !!
111 * Moose::Meta::Method::Constructor
112 - Fix inlined constructor so that values produced by default
113 or builder methods are coerced as required. (t0m)
114 - added test for this (t0m)
116 * Moose::Meta::Attribute
117 - A lazy attribute with a default or builder did not attempt to
118 coerce the default value. The immutable code _did_
120 - added test for this (t0m)
123 - This is a new helper module for writing "Moose-alike"
124 modules. This should make the lives of MooseX module authors
125 much easier. (Dave Rolsky)
128 * Moose::Cookbook::Meta::Recipe5
129 - Implemented metaclass traits (and wrote a recipe for it):
131 use Moose -traits => 'Foo'
133 This should make writing small Moose extensions a little
136 * Moose::Cookbook::Basics::Recipe1
137 - Removed any examples of direct hashref access, and applied an
138 editorial axe to reduce verbosity. (Dave Rolsky)
140 * Moose::Cookbook::Basics::Recipe1
141 - Also applied an editorial axe here. (Dave Rolsky)
144 * Moose::Cookbook::Extending::Recipe1
145 * Moose::Cookbook::Extending::Recipe2
146 - Rewrote extending and embedding moose documentation and
147 recipes to use Moose::Exporter (Dave Rolsky)
151 - These two modules now warn when you load them from the main
152 package "main" package, because we will not export sugar to
153 main. Previously it just did nothing. (Dave Rolsky)
156 - Now provide an init_meta method just like Moose.pm, and you
157 can call this to provide an alternate role metaclass. (Dave
158 Rolsky and nothingmuch)
159 - get_method_map now respects the package cache flag (nothingmuch)
162 - Two new methods - add_method and wrap_method_body
166 - Optimizations including allowing constructors to accept hash
167 refs, making many more classes immutable, and making
168 constructors immutable. (nothingmuch)
170 0.55 Sun August 3, 2008
171 * Moose::Meta::Attribute
172 - breaking down the way 'handles' methods are
173 created so that the process can be more easily
174 overridden by subclasses (stevan)
176 * Moose::Meta::TypeConstraint
177 - fixing what is passed into a ->message with
178 the type constraints (RT #37569)
179 - added tests for this (Charles Alderman)
181 * Moose::Util::TypeConstraints
182 - fix coerce to accept anon types like subtype can (mst)
185 - reorganized the recipes into sections - Basics, Roles, Meta,
186 Extending - and wrote abstracts for each section (Dave Rolsky)
188 * Moose::Cookbook::Basics::Recipe10
189 - A new recipe that demonstrates operator overloading
190 in combination with Moose. (bluefeet)
192 * Moose::Cookbook::Meta::Recipe1
193 - an introduction to what meta is and why you'd want to make
194 your own metaclass extensions (Dave Rolsky)
196 * Moose::Cookbook::Meta::Recipe4
197 - a very simple metaclass example (Dave Rolsky)
199 * Moose::Cookbook::Extending::Recipe1
200 - how to write a Moose-alike module to use your own object base
203 * Moose::Cookbook::Extending::Recipe2
204 - how to write modules with an API just like C<Moose.pm> (Dave
208 - Tons of fixes, both syntactical and grammatical (Dave
209 Rolsky, Paul Fenwick)
211 0.54 Thurs. July 3, 2008
212 ... this is not my day today ...
214 * Moose::Meta::Attribute
215 - fixed legal_options_for_inheritance such that
216 clone_and_inherit options still works for
217 Class::MOP::Attribute objects and therefore
218 does not break MooseX::AttributeHelpers
221 0.53 Thurs. July 3, 2008
222 * Whoops, I guess I should run 'make manifest' before
223 actually releasing the module. No actual changes
224 in this release, except the fact that it includes
225 the changes that I didn't include in the last
228 0.52 Thurs. July 3, 2008
230 - added "FEATURE REQUESTS" section to the Moose docs
231 to properly direct people (stevan) (RT #34333)
232 - making 'extends' croak if it is passed a Role since
233 this is not ever something you want to do
234 (fixed by stevan, found by obra)
235 - added tests for this (stevan)
238 - adding support for DOES (as in UNIVERSAL::DOES)
240 - added test for this
242 * Moose::Meta::Attribute
243 - added legal_options_for_inheritance (wreis)
244 - added tests for this (wreis)
246 * Moose::Cookbook::Snacks::*
247 - removed some of the unfinished snacks that should
248 not have been released yet. Added some more examples
249 to the 'Keywords' snack. (stevan)
251 * Moose::Cookbook::Style
252 - added general Moose "style guide" of sorts to the
253 cookbook (nothingmuch) (RT #34335)
256 - added more BUILDARGS tests (stevan)
258 0.51 Thurs. Jun 26, 2008
260 - add unimport so "no Moose::Role" actually does
263 * Moose::Meta::Role::Application::ToRole
264 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
265 order to provide its own implementation, that method still got
266 added to the list of required methods for consumers of
267 RoleB. Now an aliased method is only added to the list of
268 required methods if the role doing the aliasing does not
269 provide its own implementation. See Recipe 11 for an example
270 of all this. (Dave Rolsky)
271 - added tests for this
273 * Moose::Meta::Method::Constructor
274 - when a single argument that wasn't a hashref was provided to
275 an immutabilized constructor, the error message was very
276 unhelpful, as opposed to the non-immutable error. Reported by
278 - added test for this (Dave Rolsky)
280 * Moose::Meta::Attribute
281 - added support for meta_attr->does("ShortAlias") (sartak)
282 - added tests for this (sartak)
283 - moved the bulk of the `handles` handling to the new
284 install_delegation method (Stevan)
287 - Added BUILDARGS, a new step in new()
289 * Moose::Meta::Role::Application::RoleSummation
290 - fix typos no one ever sees (sartak)
292 * Moose::Util::TypeConstraints
293 * Moose::Meta::TypeConstraint
294 * Moose::Meta::TypeCoercion
295 - Attempt to work around the ??{ } vs. threads issue
297 - Some null_constraint optimizations
299 0.50 Thurs. Jun 11, 2008
300 - Fixed a version number issue by bumping all modules
303 0.49 Thurs. Jun 11, 2008
304 !! This version now approx. 20-25% !!
305 !! faster with new Class::MOP 0.59 !!
307 * Moose::Meta::Attribute
308 - fixed how the is => (ro|rw) works with
309 custom defined reader, writer and accessor
311 - added docs for this (TODO).
312 - added tests for this (Thanks to Penfold)
313 - added the custom attribute alias for regular
314 Moose attributes which is "Moose"
315 - fix builder and default both being used
320 Moose::Meta::Attribute
322 Moose::Meta::Role::Composite
323 Moose::Util::TypeConstraints
324 - switched usage of reftype to ref because
328 - changing add_package_symbol to use the new
332 - fixed how DEMOLISHALL is called so that it
333 can be overrided in subclasses (thanks to Sartak)
334 - added test for this (thanks to Sartak)
336 * Moose::Util::TypeConstraints
337 - move the ClassName type check code to
338 Class::MOP::is_class_loaded (thanks to Sartak)
340 * Moose::Cookbook::Recipe11
341 - add tests for this (thanks to tokuhirom)
343 0.48 Thurs. May 29, 2008
344 (early morning release engineering)--
346 - fixing the version in Moose::Meta::Method::Destructor
347 which was causing the indexer to choke
349 0.47 Thurs. May 29, 2008
350 (late night release engineering)--
352 - fixing the version is META.yml, no functional
353 changes in this release
355 0.46 Wed. May 28, 2008
356 !! This version now approx. 20-25% !!
357 !! faster with new Class::MOP 0.57 !!
360 - some optimizations of the &initialize method
361 since it is called so often by &meta
365 - now use the get_all_package_symbols from the
366 updated Class::MOP, test suite is now 10 seconds
369 * Moose::Meta::Method::Destructor
370 - is_needed can now also be called as a class
371 method for immutablization to check if the
372 destructor object even needs to be created
375 * Moose::Meta::Method::Destructor
376 Moose::Meta::Method::Constructor
377 - added more descriptive error message to help
378 keep people from wasting time tracking an error
379 that is easily fixed by upgrading.
381 0.45 Saturday, May 24, 2008
383 - Because of work in Class::MOP 0.57, all
384 XS based functionality is now optional
385 and a Pure Perl version is supplied
386 - the CLASS_MOP_NO_XS environment variable
387 can now be used to force non-XS versions
389 - several of the packages have been tweaked
390 to take care of this, mostly we added
391 support for the package_name and name
392 variables in all the Method metaclasses
393 - before/around/after method modifiers now
394 support regexp matching of names
395 (thanks to Takatoshi Kitano)
396 - tests added for this
397 - NOTE: this only works for classes, it
398 is currently not supported in roles,
399 but, ... patches welcome
400 - All usage of Carp::confess have been replaced
401 by Carp::croak in the "keyword" functions since
402 the stack trace is usually not helpful
405 - All usage of Carp::confess have been replaced
406 by Carp::croak in the "keyword" functions since
407 the stack trace is usually not helpful
408 - The 'has' keyword for roles now accepts the
409 same array ref form that Moose.pm does
410 (has [qw/foo bar/] => (is => 'rw', ...))
411 - added test for this
413 * Moose::Meta::Attribute
414 - trigger on a ro-attribute is no longer an
415 error, as it's useful to trigger off of the
419 - added same 'add_package_symbol' fix as in
423 - does_role now handles non-Moose classes
425 - added tests for this
426 - added the 'add_method_modifier' function
427 (thanks to Takatoshi Kitano)
429 * Moose::Util::TypeConstraints
430 - subtypes of parameterizable types now are
431 themselves parameterizable types
433 * Moose::Meta::Method::Constructor
434 - fixed bug where trigger was not being
435 called by the inlined immutable
437 - added test for this (thanks to Caelum)
439 * Moose::Meta::Role::Application::ToInstance
440 - now uses the metaclass of the instance
441 (if possible) to create the anon-class
442 (thanks Jonathan Rockway)
444 * Moose::Cookbook::Recipe22
445 - added the meta-attribute trait recipe
449 - fixed hash-ordering test bug that was
450 causing occasional cpantester failures
451 - renamed the t/000_recipe/*.t tests to be
452 more descriptive (thanks to Sartak)
454 0.44 Sat. May 10, 2008
456 - made make_immutable warning cluck to
457 show where the error is (thanks mst)
460 - BUILDALL and DEMOLISHALL now call
461 ->body when looping through the
462 methods, to avoid the overloaded
464 - fixed issue where DEMOLISHALL was
465 eating the $@ values, and so not
466 working correctly, it still kind of
467 eats them, but so does vanilla perl
468 - added tests for this
470 * Moose::Cookbook::Recipe7
471 - added new recipe for immutable
472 functionality (thanks Dave Rolsky)
474 * Moose::Cookbook::Recipe9
475 - added new recipe for builder and
476 lazy_build (thanks Dave Rolsky)
478 * Moose::Cookbook::Recipe11
479 - added new recipe for method aliasing
480 and exclusion with Roles (thanks Dave Rolsky)
483 - fixed Win32 test failure (thanks spicyjack)
485 ~ removed Build.PL and Module::Build compat
486 since Module::Install has done that.
488 0.43 Wed. April, 30, 2008
490 drink more coffee before
491 doing release engineering
493 - whoops, forgot to do the smolder tests,
494 and we broke some of the custom meta-attr
495 modules. This fixes that.
497 0.42 Mon. April 28, 2008
498 - some bad tests slipped by, nothing else
499 changed in this release (cpantesters++)
501 - upped the Class::MOP dependency to 0.55
502 since we have tests which need the C3
505 0.41 Mon. April 28, 2008
506 ~~ numerous documentation updates ~~
508 - Changed all usage of die to Carp::croak for better
509 error reporting (initial patch by Tod Hagan)
512 - the make_immutable keyword is now deprecated, don't
513 use it in any new code and please fix your old code
514 as well. There will be 2 releases, and then it will
520 - refactored the way inner and super work to avoid
521 any method/@ISA cache penalty (nothingmuch)
524 - fixing &new_object to make sure trigger gets the
525 coerced value (spotted by Charles Alderman on the
527 - added test for this
529 * Moose::Meta::Method::Constructor
530 - immutable classes which had non-lazy attributes were calling
531 the default generating sub twice in the constructor. (bug
532 found by Jesse Luehrs, fixed by Dave Rolsky)
533 - added tests for this (Dave Rolsky)
534 - fix typo in initialize_body method (nothingmuch)
536 * Moose::Meta::Method::Destructor
537 - fix typo in initialize_body method (nothingmuch)
539 * Moose::Meta::Method::Overriden
540 Moose::Meta::Method::Augmented
541 - moved the logic for these into their own
542 classes (nothingmuch)
544 * Moose::Meta::Attribute
545 - inherited attributes may now be extended without
546 restriction on the type ('isa', 'does') (Sartak)
547 - added tests for this (Sartak)
548 - when an attribute property is malformed (such as lazy without
549 a default), give the name of the attribute in the error
551 - added the &applied_traits and &has_applied_traits methods
552 to allow introspection of traits
553 - added tests for this
554 - moved 'trait' and 'metaclass' argument handling to here from
556 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
557 '+foo' syntax) (nothingmuch)
558 - added tests for this (t0m)
561 - localize $@ inside DEMOLISHALL to avoid it
562 eating $@ (found by Ernesto)
563 - added test for this (thanks to Ernesto)
565 * Moose::Util::TypeConstraints
566 - &find_type_constraint now DWIMs when given an
567 type constraint object or name (nothingmuch)
568 - &find_or_create_type_constraint superseded with a number of more
570 - find_or_create_{isa,does}_type_constraint
571 - find_or_parse_type_constraint
573 * Moose::Meta::TypeConstraint
574 Moose::Meta::TypeConstraint::Class
575 Moose::Meta::TypeConstraint::Role
576 Moose::Meta::TypeConstraint::Enum
577 Moose::Meta::TypeConstraint::Union
578 Moose::Meta::TypeConstraint::Parameterized
579 - added the &equals method for comparing two type
580 constraints (nothingmuch)
581 - added tests for this (nothingmuch)
583 * Moose::Meta::TypeConstraint
584 - add the &parents method, which is just an alias to &parent.
585 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
587 * Moose::Meta::TypeConstraint::Class
588 - added the class attribute for introspection purposes
590 - added tests for this
592 * Moose::Meta::TypeConstraint::Enum
593 Moose::Meta::TypeConstraint::Role
594 - broke these out into their own classes (nothingmuch)
596 * Moose::Cookbook::Recipe*
597 - fixed references to test file locations in the POD
598 and updated up some text for new Moose features
602 - Added &resolve_metaclass_alias, a helper function for finding an actual
603 class for a short name (e.g. in the traits list)
605 0.40 Fri. March 14, 2008
606 - I hate Pod::Coverage
608 0.39 Fri. March 14, 2008
610 - documenting the use of '+name' with attributes
611 that come from recently composed roles. It makes
612 sense, people are using it, and so why not just
613 officially support it.
614 - fixing the 'extends' keyword so that it will not
615 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
618 - added the perl -Moose=+Class::Name feature to allow
619 monkeypatching of classes in one liners
622 - fixing the 'apply_all_roles' keyword so that it will not
623 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
626 - added ->create method which now supports roles (thanks to jrockway)
627 - added tests for this
628 - added ->create_anon_class which now supports roles and caching of
629 the results (thanks to jrockway)
630 - added tests for this
631 - made ->does_role a little more forgiving when it is
632 checking a Class::MOP era metaclasses.
634 * Moose::Meta::Role::Application::ToInstance
635 - it is now possible to pass extra params to be used when
636 a role is applied to an the instance (rebless_params)
637 - added tests for this
639 * Moose::Util::TypeConstraints
640 - class_type now accepts an optional second argument for a
641 custom message. POD anotated accordingly (groditi)
642 - added tests for this
643 - it is now possible to make anon-enums by passing 'enum' an
644 ARRAY ref instead of the $name => @values. Everything else
646 - added tests for this
649 - making test for using '+name' on attributes consumed
650 from a role, it works and makes sense too.
652 * Moose::Meta::Attribute
653 - fix handles so that it doesn't return nothing
654 when the method cannot be found, not sure why
655 it ever did this originally, this means we now
656 have slightly better support for AUTOLOADed
658 - added more delegation tests
659 - adding ->does method to this so as to better
660 support traits and their introspection.
661 - added tests for this
664 - localizing the Data::Dumper configurations so
665 that it does not pollute others (RT #33509)
666 - made ->does a little more forgiving when it is
667 passed Class::MOP era metaclasses.
669 0.38 Fri. Feb. 15, 2008
670 * Moose::Meta::Attribute
671 - fixed initializer to correctly do
672 type checking and coercion in the
674 - added tests for this
677 - fixed some finicky tests (thanks to konobi)
679 0.37 Thurs. Feb. 14, 2008
681 - fixed some details in Moose::init_meta
682 and its superclass handling (thanks thepler)
683 - added tests for this (thanks thepler)
684 - 'has' now dies if you don't pass in name
686 - added the 'make_immutable' keyword as a shortcut
690 Moose::Meta::Method::Constructor
691 Moose::Meta::Attribute
692 - making (init_arg => undef) work here too
693 (thanks to nothingmuch)
695 * Moose::Meta::Attribute
696 Moose::Meta::Method::Constructor
697 Moose::Meta::Method::Accessor
698 - make lazy attributes respect attr initializers (rjbs)
699 - added tests for this
701 * Moose::Util::TypeConstraints
702 Moose::Util::TypeConstraints::OptimizedConstraints
703 Moose::Meta::TypeConstraints
704 Moose::Meta::Attribute
705 Moose::Meta::Method::Constructor
706 Moose::Meta::Method::Accessor
707 - making type errors use the
708 assigned message (thanks to Sartak)
709 - added tests for this
711 * Moose::Meta::Method::Destructor
712 - making sure DESTROY gets inlined properly
713 with successive DEMOLISH calls (thanks to manito)
715 * Moose::Meta::Attribute
716 Moose::Meta::Method::Accessor
717 - fixed handling of undef with type constraints
719 - added tests for this
722 - added &get_all_init_args and &get_all_attribute_values
723 (thanks to Sartak and nothingmuch)
725 0.36 Sat. Jan. 26, 2008
727 Moose::Meta::Attribute
728 - role type tests now support when roles are
729 applied to non-Moose classes (found by ash)
730 - added tests for this (thanks to ash)
731 - couple extra tests to boost code coverage
733 * Moose::Meta::Method::Constructor
734 - improved fix for handling Class::MOP attributes
735 - added test for this
738 - handled the add_attribute($attribute_meta_object)
740 - added test for this
742 0.35 Tues. Jan. 22, 2008
743 * Moose::Meta::Method::Constructor
744 - fix to make sure even Class::MOP attributes
745 are handled correctly (Thanks to Dave Rolsky)
746 - added test for this (also Dave Rolsky)
749 - improved error message on _apply_all_roles,
750 you should now use Moose::Util::apply_all_roles
751 and you shouldnt have been using a _ prefixed
752 method in the first place ;)
754 0.34 Mon. Jan. 21, 2008
755 ~~~ more misc. doc. fixes ~~~
756 ~~ updated copyright dates ~~
758 Moose is now a postmodern object system :)
759 - (see the POD for details)
761 * <<Role System Refactoring>>
762 - this release contains a major reworking and
763 cleanup of the role system
764 - 100% backwards compat.
765 - Role application now restructured into seperate
766 classes based on type of applicants
767 - Role summation (combining of more than one role)
768 is much cleaner and anon-classes are no longer
770 - new Composite role metaclass
771 - runtime application of roles to instances
772 is now more efficient and re-uses generated
773 classes when applicable
775 * <<New Role composition features>>
776 - methods can now be excluded from a given role
778 - methods can now be aliased to another name (and
779 still retain the original as well)
781 * Moose::Util::TypeConstraints::OptimizedConstraints
782 - added this module (see above)
785 - fixed the &_process_attribute method to be called
786 by &add_attribute, so that the API is now correct
788 * Moose::Meta::Method::Accessor
789 - fixed bug when passing a list of values to
790 an accessor would get (incorrectly) ignored.
791 Thanks to Sartak for finding this ;)
792 - added tests for this (Sartak again)
794 * Moose::Meta::Method::Accessor
795 Moose::Meta::Method::Constructor
796 Moose::Meta::Attribute
797 Moose::Meta::TypeConstraint
798 Moose::Meta::TypeCoercion
799 - lots of cleanup of such things as:
801 - type constraint handling
802 - error handling/messages
803 (thanks to nothingmuch)
805 * Moose::Meta::TypeConstraint::Parameterizable
806 - added this module to support the refactor
807 in Moose::Meta::TypeConstraint::Parameterized
809 * Moose::Meta::TypeConstraint::Parameterized
810 - refactored how these types are handled so they
811 are more generic and not confined to ArrayRef
815 - shortened some file names for better VMS support (RT #32381)
817 0.33 Fri. Dec. 14, 2007
818 !! Moose now loads 2 x faster !!
819 !! with new Class::MOP 0.49 !!
821 ++ new oose.pm module to make command line
822 Moose-ness easier (see POD docs for more)
826 - several tweaks to take advantage of the
827 new method map caching in Class::MOP
829 * Moose::Meta::TypeConstraint::Parameterized
830 - allow subtypes of ArrayRef and HashRef to
831 be used as a container (sartak)
832 - added tests for this
833 - basic support for coercion to ArrayRef and
834 HashRef for containers (sartak)
835 - added tests for this
837 * Moose::Meta::TypeCoercion
838 - coercions will now create subtypes as needed
839 so you can now add coercions to parameterized
840 types without having to explictly define them
841 - added tests for this
843 * Moose::Meta::Method::Accessor
844 - allow subclasses to decide whether we need
845 to copy the value into a new variable (sartak)
847 0.32 Tues. Dec. 4, 2007
848 * Moose::Util::TypeConstraints
849 - fixing how subtype aliases of unions work
850 they should inherit the parent's coercion
851 - added tests for this
852 - you can now define multiple coercions on
853 a single type at different times instead of
854 having to do it all in one place
855 - added tests for this
857 * Moose::Meta::TypeConstraint
858 - there is now a default constraint of sub { 1 }
859 instead of Moose::Util::TypeConstraints setting
862 * Moose::Meta::TypeCoercion
863 * Moose::Meta::TypeCoercion::Union
864 - added the &has_coercion_for_type and
865 &add_type_coercions methods to support the
866 new features above (although you cannot add
867 more type coercions for Union types)
869 0.31 Mon. Nov. 26, 2007
870 * Moose::Meta::Attribute
871 - made the +attr syntax handle extending types with
872 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
873 now works if the original foo is an ArrayRef.
874 - added tests for this.
875 - delegation now works even if the attribute does not
876 have a reader method using the get_read_method_ref
877 method from Class::MOP::Attribute.
878 - added tests for this
879 - added docs for this
881 * Moose::Util::TypeConstraints
882 - passing no "additional attribute info" to
883 &find_or_create_type_constraint will no longer
884 attempt to create an __ANON__ type for you,
885 instead it will just return undef.
886 - added docs for this
888 0.30 Fri. Nov. 23, 2007
889 * Moose::Meta::Method::Constructor
890 -builder related bug in inlined constructor. (groditi)
892 * Moose::Meta::Method::Accessor
893 - genereate unnecessary calls to predicates and refactor
894 code generation for runtime speed (groditi)
896 * Moose::Util::TypeConstraints
897 - fix ClassName constraint to introspect symbol table (mst)
898 - added more tests for this (mst)
899 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
901 - added tests for this
904 - adding the link to Recipie 11 (written by Sartak)
905 - adding test for SYNOPSIS code
908 - New tests for builder bug. Upon instantiation, if an
909 attribute had a builder, no value and was not lazy the
910 builder default was not getting run, oops. (groditi)
912 0.29 Tues. Nov. 13, 2007
913 * Moose::Meta::Attribute
914 - Fix error message on missing builder method (groditi)
916 * Moose::Meta::Method::Accessor
917 - Fix error message on missing builder method (groditi)
920 - Add test to check for the correct error message when
921 builder method is missing (groditi)
923 0.28 Tues. Nov. 13, 2007
924 - 0.27 packaged incorrectly (groditi)
926 0.27 Tues. Nov. 13, 2007
927 * Moose::Meta::Attribute
928 - Added support for the new builder option (groditi)
929 - Added support for lazy_build option (groditi)
930 - Changed slot initialization for predicate changes (groditi)
932 * Moose::Meta::Method::Accessor
933 - Added support for lazy_build option (groditi)
934 - Fix inline methods to work with corrected predicate
937 * Moose::Meta::Method::Constructor
938 - Added support for lazy_build option (groditi)
941 - tests for builder and lazy_build (groditi)
943 * fixing some misc. bits in the docs that
944 got mentioned on CPAN Forum & perlmonks
947 - fixed how required methods are handled
948 when they encounter overriden or modified
949 methods from a class (thanks to confound).
950 - added tests for this
952 * Moose::Util::TypeConstraint
953 - fixed the type notation parser so that
954 the | always creates a union and so is
955 no longer a valid type char (thanks to
956 konobi, mugwump and #moose for working
958 - added more tests for this
960 0.26 Thurs. Sept. 27, 2007
963 * Parameterized Types
964 We now support parameterized collection types, such as:
965 ArrayRef[Int] # array or integers
966 HashRef[Object] # a hash with object values
967 They can also be nested:
968 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
969 And work with the type unions as well:
970 ArrayRef[Int | Str] # array of integers of strings
972 * Better Framework Extendability
973 Moose.pm is now "extendable" such that it is now much
974 easier to extend the framework and add your own keywords
975 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
976 section of the Moose.pm docs.
979 In an effort to begin documenting some of the various
980 details of Moose as well as some common idioms, we have
981 created Moose::Cookbook::Snacks as a place to find
982 small (easily digestable) nuggets of Moose code.
985 ~ Several doc updates/cleanup thanks to castaway ~
987 - converted build system to use Module::Install instead of
988 Module::Build (thanks to jrockway)
991 - added all the meta classes to the immutable list and
992 set it to inline the accessors
993 - fix import to allow Sub::Exporter like { into => }
994 and { into_level => } (perigrin)
995 - exposed and documented init_meta() to allow better
996 embedding and extending of Moose (perigrin)
999 - complete re-organization of the test suite
1000 - added some new tests as well
1001 - finally re-enabled the Moose::POOP test since
1002 the new version of DBM::Deep now works again
1005 * Moose::Meta::Class
1006 - fixed very odd and very nasty recursion bug with
1008 - added tests for this (eilara)
1010 * Moose::Meta::Attribute
1011 Moose::Meta::Method::Constructor
1012 Moose::Meta::Method::Accessor
1013 - fixed issue with overload::Overloaded getting called
1014 on non-blessed items. (RT #29269)
1015 - added tests for this
1017 * Moose::Meta::Method::Accessor
1018 - fixed issue with generated accessor code making
1019 assumptions about hash based classes (thanks to dexter)
1021 * Moose::Coookbook::Snacks
1022 - these are bits of documentation, not quite as big as
1023 Recipes but which have no clear place in the module docs.
1024 So they are Snacks! (horray for castaway++)
1026 * Moose::Cookbook::Recipe4
1027 - updated it to use the new ArrayRef[MyType] construct
1028 - updated the accompanying test as well
1030 +++ Major Refactor of the Type Constraint system +++
1031 +++ with new features added as well +++
1033 * Moose::Util::TypeConstraint
1034 - no longer uses package variable to keep track of
1035 the type constraints, now uses the an instance of
1036 Moose::Meta::TypeConstraint::Registry to do it
1037 - added more sophisticated type notation parsing
1039 - added tests for this
1041 * Moose::Meta::TypeConstraint
1042 - some minor adjustments to make subclassing easier
1043 - added the package_defined_in attribute so that we
1044 can track where the type constraints are created
1046 * Moose::Meta::TypeConstraint::Union
1047 - this is now been refactored to be a subclass of
1048 Moose::Meta::TypeConstraint
1050 * Moose::Meta::TypeCoercion::Union
1051 - this has been added to service the newly refactored
1052 Moose::Meta::TypeConstraint::Union and is itself
1053 a subclass of Moose::Meta::TypeCoercion
1055 * Moose::Meta::TypeConstraint::Parameterized
1056 - added this module (taken from MooseX::AttributeHelpers)
1057 to help construct nested collection types
1058 - added tests for this
1060 * Moose::Meta::TypeConstraint::Registry
1061 - added this class to keep track of type constraints
1063 0.25 Mon. Aug. 13, 2007
1065 - Documentation update to reference Moose::Util::TypeConstraints
1066 under 'isa' in 'has' for how to define a new type
1067 (thanks to shlomif).
1069 * Moose::Meta::Attribute
1070 - required attributes now will no longer accept undef
1071 from the constructor, even if there is a default and lazy
1072 - added tests for this
1073 - default subroutines must return a value which passes the
1075 - added tests for this
1077 * Moose::Meta::Attribute
1078 * Moose::Meta::Method::Constructor
1079 * Moose::Meta::Method::Accessor
1080 - type-constraint tests now handle overloaded objects correctly
1081 in the error message
1082 - added tests for this (thanks to EvanCarroll)
1084 * Moose::Meta::TypeConstraint::Union
1085 - added (has_)hand_optimized_constraint to this class so that
1086 it behaves as the regular Moose::Meta::TypeConstraint does.
1089 - large refactoring of this code
1090 - added several more tests
1091 - tests for subtle conflict resolition issues
1092 added, but not currently running
1095 * Moose::Cookbook::Recipe7
1096 - added new recipe for augment/inner functionality
1098 - added test for this
1101 - a formal definition of roles (still in progress)
1104 - utilities for easier working with Moose classes
1105 - added tests for these
1108 - This contains Moose specific test functions
1109 - added tests for these
1111 0.24 Tues. July 3, 2007
1112 ~ Some doc updates/cleanup ~
1114 * Moose::Meta::Attribute
1115 - added support for roles to be given as parameters
1116 to the 'handles' option.
1117 - added tests and docs for this
1118 - the has '+foo' attribute form now accepts changes to
1119 the lazy option, and the addition of a handles option
1120 (but not changing the handles option)
1121 - added tests and docs for this
1124 - required methods are now fetched using find_method_by_name
1125 so that required methods can come from superclasses
1126 - adjusted tests for this
1128 0.23 Mon. June 18, 2007
1129 * Moose::Meta::Method::Constructor
1130 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1131 * Moose::Meta::Class
1132 - Modify make_immutable to work with the new Class::MOP immutable
1133 mechanism + POD + very basic test (groditi)
1134 * Moose::Meta::Attribute
1135 - Fix handles to use goto() so that caller() comes out properly on
1136 the other side (perigrin)
1138 0.22 Thurs. May 31, 2007
1139 * Moose::Util::TypeConstraints
1140 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1141 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1142 prototypes for functions
1143 - added the ClassName type constraint, this checks for strings
1144 which will respond true to ->isa(UNIVERSAL).
1145 - added tests and docs for this
1146 - subtyping just in name now works correctly by making the
1147 default for where be { 1 }
1148 - added test for this
1150 * Moose::Meta::Method::Accessor
1151 - coerce and lazy now work together correctly, thanks to
1152 merlyn for finding this bug
1153 - tests added for this
1154 - fix reader presedence bug in Moose::Meta::Attribute + tests
1157 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1158 a HASH-ref and missed. This produces better error messages then
1159 having it die cause undef is not a HASH.
1160 - added tests for this
1162 0.21 Thursday, May 2nd, 2007
1164 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1165 - modified unimport to remove super and inner along with the rest
1166 - altered unimport tests to handle this
1169 - altered super export to populate SUPER_SLOT
1171 * Moose::Meta::Class
1172 - altered augment and override modifier application to use *_SLOT
1173 - modified tests for these to unimport one test class each to test
1176 - fixed issue where custom attribute metaclasses
1177 where not handled correctly in roles
1178 - added tests for this
1180 * Moose::Meta::Class
1181 - fixed issue where extending metaclasses with
1182 roles would blow up. Thanks to Aankhen`` for
1183 finding this insidious error, and it's solution.
1185 ~~ lots of spelling and grammer fixes in the docs,
1186 many many thanks to rlb3 and Aankhen for these :)
1188 0.20 Friday, April 6th, 2007
1189 >> I messed up the SKIP logic in one test
1190 so this release is just to fix that.
1193 - 'has' now also accepts an ARRAY ref
1194 to create multiple attrs (see docs)
1195 (thanks to konobi for this)
1196 - added tests and docs
1198 0.19 Thurs. April 5th, 2007
1199 ~~ More documentation updates ~~
1201 * Moose::Util::TypeConstraints
1202 - 'type' now supports messages as well
1203 thanks to phaylon for finding this
1204 - added tests for this
1205 - added &list_all_type_constraints and
1206 &list_all_builtin_type_constraints
1207 functions to facilitate introspection.
1209 * Moose::Meta::Attribute
1210 - fixed regexp 'handles' declarations
1211 to build the list of delegated methods
1212 correctly (and not override important
1213 things like &new) thanks to ashleyb
1215 - added tests and docs for this
1216 - added the 'documentation' attributes
1217 so that you can actually document your
1218 attributes and inspect them through the
1220 - added tests and docs for this
1222 * Moose::Meta::Class
1223 - when loading custom attribute metaclasses
1224 it will first look in for the class in the
1225 Moose::Meta::Attribute::Custom::$name, and
1226 then default to just loading $name.
1227 - added tests and docs for this
1229 * Moose::Meta::TypeConstraint
1230 - type constraints now stringify to their names.
1231 - added test for this
1234 - added tests to assure we work with Module::Refresh
1235 - added stricter test skip logic in the Moose POOP
1236 test, ask Rob Kinyon why.
1237 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
1239 0.18 Sat. March 10, 2007
1240 ~~ Many, many documentation updates ~~
1243 - We now use Class::MOP::load_class to
1245 - added tests to show types and subtypes
1246 working with Declare::Constraints::Simple
1247 and Test::Deep as constraint engines.
1250 !! You must have Class::MOP 0.37_001 !!
1251 !! for this developer release to work !!
1253 This release was primarily adding the immutable
1254 feature to Moose. An immutable class is one which
1255 you promise not to alter. When you set the class
1256 as immutable it will perform various bits of
1257 memoization and inline certain part of the code
1258 (constructors, destructors and accessors). This
1259 minimizes (and in some cases totally eliminates)
1260 one of Moose's biggest performance hits. This
1261 feature is not on by default, and is 100% optional.
1262 It has several configurable bits as well, so you
1263 can pick and choose to your specific needs.
1265 The changes involved in this were fairly wide and
1266 highly specific, but 100% backwards compatible, so
1267 I am not going to enumerate them here. If you are
1268 truely interested in what was changed, please do
1271 0.17 Tues. Nov. 14, 2006
1272 * Moose::Meta::Method::Accessor
1273 - bugfix for read-only accessors which
1274 are have a type constraint and lazy.
1275 Thanks to chansen for finding it.
1277 0.16 Tues. Nov. 14, 2006
1279 There are some speed improvements in this release,
1280 but they are only the begining, so stay tuned.
1283 - BUILDALL and DEMOLISHALL no longer get
1284 called unless they actually need to be.
1285 This gave us a signifigant speed boost
1286 for the cases when there is no BUILD or
1287 DEMOLISH method present.
1289 * Moose::Util::TypeConstraints
1290 * Moose::Meta::TypeConstraint
1291 - added an 'optimize_as' option to the
1292 type constraint, which allows for a
1293 hand optimized version of the type
1294 constraint to be used when possible.
1295 - Any internally created type constraints
1296 now provide an optimized version as well.
1298 0.15 Sun. Nov. 5, 2006
1300 This version of Moose *must* have Class::MOP 0.36 in order
1301 to work correctly. A number of small internal tweaks have
1302 been made in order to be compatible with that release.
1304 * Moose::Util::TypeConstraints
1305 - added &unimport so that you can clean out
1306 your class namespace of these exported
1309 * Moose::Meta::Class
1310 - fixed minor issue which occasionally
1311 comes up during global destruction
1313 - moved Moose::Meta::Method::Overriden into
1317 - moved Moose::Meta::Role::Method into
1320 * Moose::Meta::Attribute
1321 - changed how we do type checks so that
1322 we reduce the overall cost, but still
1325 - moved accessor generation methods to
1326 Moose::Meta::Method::Accessor to
1327 conform to the API changes from
1330 * Moose::Meta::TypeConstraint
1331 - changed how constraints are compiled
1332 so that we do less recursion and more
1333 iteration. This makes the type check
1335 - moved Moose::Meta::TypeConstraint::Union
1338 * Moose::Meta::Method::Accessor
1339 - created this from methods formerly found in
1340 Moose::Meta::Attribute
1342 * Moose::Meta::Role::Method
1343 - moved this from Moose::Meta::Role
1345 * Moose::Meta::Method::Overriden
1346 - moved this from Moose::Meta::Class
1348 * Moose::Meta::TypeConstraint::Union
1349 - moved this from Moose::Meta::TypeConstraint
1351 0.14 Mon. Oct. 9, 2006
1353 * Moose::Meta::Attribute
1354 - fixed lazy attributes which were not getting
1355 checked with the type constraint (thanks ashley)
1356 - added tests for this
1357 - removed the over-enthusiastic DWIMery of the
1358 automatic ArrayRef and HashRef defaults, it
1359 broke predicates in an ugly way.
1360 - removed tests for this
1362 0.13 Sat. Sept. 30, 2006
1364 This version of Moose *must* have Class::MOP 0.35 in order
1365 to work correctly. A number of small internal tweaks have
1366 been made in order to be compatible with that release.
1369 - Removed the use of UNIVERSAL::require to be a better
1370 symbol table citizen and remove a dependency
1371 (thanks Adam Kennedy)
1373 **~~ removed experimental & undocumented feature ~~**
1374 - commented out the 'method' and 'self' keywords, see the
1375 comments for more info.
1378 - added a FAQ and WTF files to document frequently
1379 asked questions and common problems
1381 * Moose::Util::TypeConstraints
1382 - added GlobRef and FileHandle type constraint
1383 - added tests for this
1385 * Moose::Meta::Attribute
1386 - if your attribute 'isa' ArrayRef of HashRef, and you have
1387 not explicitly set a default, then make the default DWIM.
1388 This will also work for subtypes of ArrayRef and HashRef
1390 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1391 - new test added for this (thanks to ashley)
1394 - added basic support for runtime role composition
1395 but this is still *highly experimental*, so feedback
1396 is much appreciated :)
1397 - added tests for this
1399 * Moose::Meta::TypeConstraint
1400 - the type constraint now handles the coercion process
1401 through delegation, this is to support the coercion
1404 * Moose::Meta::TypeConstraint::Union
1405 - it is now possible for coercions to be performed
1407 - added tests for this (thanks to konobi)
1409 * Moose::Meta::TypeCoercion
1410 - properly capturing error when type constraint
1414 - Scalar::Util 1.18 is bad on Win32, so temporarily
1415 only require version 1.17 for Win32 and cygwin.
1416 (thanks Adam Kennedy)
1418 0.12 Sat. Sept. 1, 2006
1420 - Recipe5 (subtypes & coercion) has been written
1423 - fixed "bad meta" error message to be more descriptive
1424 - fixed &unimport to not remove the &inner and &super
1425 keywords because we need to localize them.
1426 - fixed number of spelling/grammer issues, thanks Theory :)
1428 **~~ experimental & undocumented feature ~~**
1429 - added the method and self keywords, they are basically
1430 just sugar, and they may not stay around.
1433 - added &dump method to easily Data::Dumper
1436 * Moose::Meta::TypeConstraint
1437 - added the &is_a_type_of method to check both the current
1438 and the subtype of a method (similar to &isa with classes)
1441 - this is now a subclass of Class::MOP::Module, and no longer
1442 creates the _role_meta ugliness of before.
1443 - fixed tests to reflect this change
1445 0.11 Wed. July 12, 2006
1447 - added an &unimport method to remove all the keywords
1448 that Moose will import, simply add 'no Moose' to the
1449 bottom of your class file.
1452 - fixed some test failures caused by a forgotten test
1455 0.10 Thurs. July 6, 2006
1457 - improved error message when loading modules so
1458 it is less confusing when you load a role.
1459 - added &calculate_all_roles method to
1460 Moose::Meta::Class and Moose::Meta::Role
1463 This module has been tested against Class::MOP 0.30
1464 but it does not yet utilize the optimizations
1465 it makes available. Stay tuned for that ;)
1467 0.09_03 Fri. June 23, 2006
1468 ++ DEVELOPER RELEASE ++
1470 - 'use strict' and 'use warnings' are no longer
1471 needed in Moose classes, Moose itself will
1472 turn them on for you.
1473 - added tests for this
1474 - moved code from exported subs to private methods
1475 in Moose::Meta::Class
1478 - as with Moose, strict and warnings are
1479 automatically turned on for you.
1480 - added tests for this
1483 - now handles an edge case for override errors
1484 - added tests for this
1485 - added some more edge case tests
1487 0.09_02 Tues. May 16, 2006
1488 ++ DEVELOPER RELEASE ++
1490 - added prototypes to the exported subs
1494 - added prototypes to the exported subs
1497 * Moose::Util::TypeConstraints
1498 - cleaned up prototypes for the subs
1501 0.09_01 Fri. May 12, 2006
1502 ++ DEVELOPER RELEASE ++
1503 - This release works in combination with
1504 Class::MOP 0.29_01, it is a developer
1505 release because it uses the a new
1506 instance sub-protocol and a fairly
1507 complete Role implementation. It has
1508 not yet been optimized, so it slower
1509 the the previous CPAN version. This
1510 release also lacks good updated docs,
1511 the official release will have updated docs.
1514 - refactored the keyword exports
1515 - 'with' now checks Role validaity and
1516 accepts more than one Role at a time
1517 - 'extends' makes metaclass adjustments as
1518 needed to ensure metaclass compatability
1521 - refactored the keyword exports
1522 - 'with' now checks Role validaity and
1523 accepts more than one Role at a time
1525 * Moose::Util::TypeConstraints
1526 - added the 'enum' keyword for simple
1527 string enumerations which can be used as
1529 - see example of usage in t/202_example.t
1532 - more careful checking of params to new()
1535 - much work done on the role composition
1536 - many new tests for conflict detection
1537 and composition edge cases
1538 - not enough documentation, I suggest
1539 looking at the tests
1541 * Moose::Meta::Instance
1542 - added new Instance metaclass to support
1543 the new Class::MOP instance protocol
1545 * Moose::Meta::Class
1546 - some small changes to support the new
1548 - some small additions to support Roles
1550 * Moose::Meta::Attribute
1551 - some improvements to the accessor generation code
1553 - some small changes to support the new
1555 - (still somewhat) experimental delegation support
1556 with the 'handles' option
1557 - added several tests for this
1558 - no docs for this yet
1560 0.05 Thurs. April 27, 2006
1562 - keywords are now exported with Sub::Exporter
1563 thanks to chansen for this commit
1564 - has keyword now takes a 'metaclass' option
1565 to support custom attribute meta-classes
1566 on a per-attribute basis
1567 - added tests for this
1568 - the 'has' keyword not accepts inherited slot
1569 specifications (has '+foo'). This is still an
1570 experimental feature and probably not finished
1571 see t/038_attribute_inherited_slot_specs.t for
1572 more details, or ask about it on #moose
1573 - added tests for this
1576 - keywords are now exported with Sub::Exporter
1578 * Moose::Utils::TypeConstraints
1579 - reorganized the type constraint hierarchy, thanks
1580 to nothingmuch and chansen for his help and advice
1582 - added some tests for this
1583 - keywords are now exported with Sub::Exporter
1584 thanks to chansen for this commit
1586 * Moose::Meta::Class
1587 - due to changes in Class::MOP, we had to change
1588 construct_instance (for the better)
1590 * Moose::Meta::Attribute
1591 - due to changes in Class::MOP, we had to add the
1592 initialize_instance_slot method (it's a good thing)
1594 * Moose::Meta::TypeConstraint
1595 - added type constraint unions
1596 - added tests for this
1597 - added the is_subtype_of predicate method
1598 - added tests for this
1600 0.04 Sun. April 16th, 2006
1602 - Roles can now consume other roles
1603 - added tests for this
1604 - Roles can specify required methods now with
1605 the requires() keyword
1606 - added tests for this
1609 - ripped out much of it's guts ,.. much cleaner now
1610 - added required methods and correct handling of
1611 them in apply() for both classes and roles
1612 - added tests for this
1613 - no longer adds a does() method to consuming classes
1614 it relys on the one in Moose::Object
1615 - added roles attribute and some methods to support
1616 roles consuming roles
1618 * Moose::Meta::Attribute
1619 - added support for triggers on attributes
1620 - added tests for this
1621 - added support for does option on an attribute
1622 - added tests for this
1624 * Moose::Meta::Class
1625 - added support for attribute triggers in the
1627 - added tests for this
1630 - Moose no longer creates a subtype for your class
1631 if a subtype of the same name already exists, this
1632 should DWIM in 99.9999% of all cases
1634 * Moose::Util::TypeConstraints
1635 - fixed bug where incorrect subtype conflicts were
1637 - added test for this
1640 - this class can now be extended with 'use base' if
1641 you need it, it properly loads the metaclass class now
1642 - added test for this
1644 0.03_02 Wed. April 12, 2006
1646 - you must now explictly use Moose::Util::TypeConstraints
1647 it no longer gets exported for you automatically
1650 - new() now accepts hash-refs as well as key/value lists
1651 - added does() method to check for Roles
1652 - added tests for this
1654 * Moose::Meta::Class
1655 - added roles attribute along with the add_role() and
1657 - added tests for this
1660 - now adds a does() method to consuming classes
1661 which tests the class's hierarchy for roles
1662 - added tests for this
1664 0.03_01 Mon. April 10, 2006
1666 - added new Role recipe (no content yet, only code)
1669 - added 'with' keyword for Role support
1670 - added test and docs for this
1671 - fixed subtype quoting bug
1672 - added test for this
1676 - added test and docs
1678 * Moose::Util::TypeConstraints
1679 - added the message keyword to add custom
1680 error messages to type constraints
1683 - the meta role to support Moose::Role
1684 - added tests and docs
1686 * Moose::Meta::Class
1687 - moved a number of things from Moose.pm
1688 to here, they should have been here
1691 * Moose::Meta::Attribute
1692 - moved the attribute option macros here
1693 instead of putting them in Moose.pm
1695 * Moose::Meta::TypeConstraint
1696 - added the message attributes and the
1698 - added tests and docs for this
1700 0.03 Thurs. March 30, 2006
1702 - added the Moose::Cookbook with 5 recipes,
1703 describing all the stuff Moose can do.
1706 - fixed an issue with &extends super class loading
1707 it now captures errors and deals with inline
1708 packages correctly (bug found by mst, solution
1710 - added super/override & inner/augment features
1711 - added tests and docs for these
1714 - BUILDALL now takes a reference of the %params
1715 that are passed to &new, and passes that to
1718 * Moose::Util::TypeConstraints
1719 - Type constraints now survive runtime reloading
1720 - added test for this
1722 * Moose::Meta::Class
1723 - fixed the way attribute defaults are handled
1724 during instance construction (bug found by chansen)
1726 * Moose::Meta::Attribute
1727 - read-only attributes now actually enforce their
1728 read-only-ness (this corrected in Class::MOP as
1731 0.02 Tues. March 21, 2006
1733 - many more tests, fixing some bugs and
1735 - &extends now loads the base module with
1737 - added UNIVERSAL::require to the
1740 - each new Moose class will also create
1741 and register a subtype of Object which
1742 correspond to the new Moose class.
1743 - the 'isa' option in &has now only
1744 accepts strings, and will DWIM in
1747 * Moose::Util::TypeConstraints
1748 - added type coercion features
1749 - added tests for this
1750 - added support for this in attributes
1751 and instance construction
1753 - type construction no longer creates a
1754 function, it registers the type instead.
1755 - added several functions to get the
1759 - BUILDALL and DEMOLISHALL were broken
1760 because of a mis-named hash key, Whoops :)
1762 * Moose::Meta::Attribute
1763 - adding support for coercion in the
1764 autogenerated accessors
1766 * Moose::Meta::Class
1767 - adding support for coercion in the
1768 instance construction
1770 * Moose::Meta::TypeConstraint
1771 * Moose::Meta::TypeCoercion
1772 - type constraints and coercions are now
1773 full fledges meta-objects
1775 0.01 Wed. March 15, 2006
1776 - Moooooooooooooooooose!!!