1 Revision history for Perl extension Moose
6 - Moose::Exporter will no longer remove a subroutine that the
7 exporting package re-exports. Moose re-exports the
8 Carp::confess function, among others. The reasoning is that we
9 cannot know whether you have also explicitly imported those
10 functions for your own use, so we err on the safe side and
13 0.57 Wed September 3, 2008
15 - A new bit of doc intended to introduce folks familiar with
16 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
19 - Shows examples of two classes, each done first with and then
20 without Moose. This makes a nice parallel to
21 Moose::Intro. (Dave Rolsky)
23 * Moose::Util::TypeConstraints
24 - Fixed a bug in find_or_parse_type_constraint so that it
25 accepts a Moose::Meta::TypeConstraint object as the parent
26 type, not just a name (jnapiorkowski)
27 - added tests (jnapiorkowski)
30 - If Sub::Name was not present, unimporting failed to actually
31 remove some sugar subs, causing test failures (Dave Rolsky)
33 0.56 Mon September 1, 2008
34 For those not following the series of dev releases, there are
35 several major changes in this release of Moose.
36 ! Moose::init_meta should now be called as a method. See the
39 - Major performance improvements by nothingmuch.
41 - New modules for extension writers, Moose::Exporter and
42 Moose::Util::MetaRole by Dave Rolsky.
44 - Lots of doc improvements and additions, especially in the
49 * Removed all references to the experimental-but-no-longer-needed
50 Moose::Meta::Role::Application::ToMetaclassInstance.
52 * Require Class::MOP 0.65.
54 0.55_04 Sat August 30, 2008
55 * Moose::Util::MetaRole
56 * Moose::Cookbook::Extending::Recipe2
57 - This simplifies the application of roles to any meta class, as
58 well as the base object class. Reimplemented metaclass traits
59 using this module. (Dave Rolsky)
61 * Moose::Cookbook::Extending::Recipe1
62 - This a new recipe, an overview of various ways to write Moose
63 extensions (Dave Rolsky)
65 * Moose::Cookbook::Extending::Recipe3
66 * Moose::Cookbook::Extending::Recipe4
67 - These used to be Extending::Recipe1 and Extending::Recipe2,
70 0.55_03 Fri August 29, 2008
71 * No changes from 0.55_02 except increasing the Class::MOP
72 dependency to 0.64_07.
74 0.55_02 Fri August 29, 2008
75 * Makefile.PL and Moose.pm
76 - explicitly require Perl 5.8.0+ (Dave Rolsky)
78 * Moose::Util::TypeConstraints
79 - Fix warnings from find_type_constraint if the type is not
82 * Moose::Meta::TypeConstraint
83 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
84 return false if the type you specify cannot be found in the
85 type registry, rather than throwing an unhelpful and
86 coincidental exception. (t0m).
87 - added docs & test for this (t0m)
89 * Moose::Meta::TypeConstraint::Registry
90 - add_type_constraint now throws an exception if a parameter is
92 - added docs & test for this (t0m)
94 * Moose::Cookbook::FAQ
95 - Added a faq entry on the difference between "role" and "trait"
99 - Fixed a bug that caused role composition to not see a required
100 method when that method was provided by another role being
101 composed at the same time. (Dave Rolsky)
102 - test and bug finding (tokuhirom)
104 0.55_01 Wed August 20, 2008
106 !! Calling Moose::init_meta as a function is now !!
107 !! deprecated. Please see the Moose.pm docs for details. !!
109 * Moose::Meta::Method::Constructor
110 - Fix inlined constructor so that values produced by default
111 or builder methods are coerced as required. (t0m)
112 - added test for this (t0m)
114 * Moose::Meta::Attribute
115 - A lazy attribute with a default or builder did not attempt to
116 coerce the default value. The immutable code _did_
118 - added test for this (t0m)
121 - This is a new helper module for writing "Moose-alike"
122 modules. This should make the lives of MooseX module authors
123 much easier. (Dave Rolsky)
126 * Moose::Cookbook::Meta::Recipe5
127 - Implemented metaclass traits (and wrote a recipe for it):
129 use Moose -traits => 'Foo'
131 This should make writing small Moose extensions a little
134 * Moose::Cookbook::Basics::Recipe1
135 - Removed any examples of direct hashref access, and applied an
136 editorial axe to reduce verbosity. (Dave Rolsky)
138 * Moose::Cookbook::Basics::Recipe1
139 - Also applied an editorial axe here. (Dave Rolsky)
142 * Moose::Cookbook::Extending::Recipe1
143 * Moose::Cookbook::Extending::Recipe2
144 - Rewrote extending and embedding moose documentation and
145 recipes to use Moose::Exporter (Dave Rolsky)
149 - These two modules now warn when you load them from the main
150 package "main" package, because we will not export sugar to
151 main. Previously it just did nothing. (Dave Rolsky)
154 - Now provide an init_meta method just like Moose.pm, and you
155 can call this to provide an alternate role metaclass. (Dave
156 Rolsky and nothingmuch)
157 - get_method_map now respects the package cache flag (nothingmuch)
160 - Two new methods - add_method and wrap_method_body
164 - Optimizations including allowing constructors to accept hash
165 refs, making many more classes immutable, and making
166 constructors immutable. (nothingmuch)
168 0.55 Sun August 3, 2008
169 * Moose::Meta::Attribute
170 - breaking down the way 'handles' methods are
171 created so that the process can be more easily
172 overridden by subclasses (stevan)
174 * Moose::Meta::TypeConstraint
175 - fixing what is passed into a ->message with
176 the type constraints (RT #37569)
177 - added tests for this (Charles Alderman)
179 * Moose::Util::TypeConstraints
180 - fix coerce to accept anon types like subtype can (mst)
183 - reorganized the recipes into sections - Basics, Roles, Meta,
184 Extending - and wrote abstracts for each section (Dave Rolsky)
186 * Moose::Cookbook::Basics::Recipe10
187 - A new recipe that demonstrates operator overloading
188 in combination with Moose. (bluefeet)
190 * Moose::Cookbook::Meta::Recipe1
191 - an introduction to what meta is and why you'd want to make
192 your own metaclass extensions (Dave Rolsky)
194 * Moose::Cookbook::Meta::Recipe4
195 - a very simple metaclass example (Dave Rolsky)
197 * Moose::Cookbook::Extending::Recipe1
198 - how to write a Moose-alike module to use your own object base
201 * Moose::Cookbook::Extending::Recipe2
202 - how to write modules with an API just like C<Moose.pm> (Dave
206 - Tons of fixes, both syntactical and grammatical (Dave
207 Rolsky, Paul Fenwick)
209 0.54 Thurs. July 3, 2008
210 ... this is not my day today ...
212 * Moose::Meta::Attribute
213 - fixed legal_options_for_inheritance such that
214 clone_and_inherit options still works for
215 Class::MOP::Attribute objects and therefore
216 does not break MooseX::AttributeHelpers
219 0.53 Thurs. July 3, 2008
220 * Whoops, I guess I should run 'make manifest' before
221 actually releasing the module. No actual changes
222 in this release, except the fact that it includes
223 the changes that I didn't include in the last
226 0.52 Thurs. July 3, 2008
228 - added "FEATURE REQUESTS" section to the Moose docs
229 to properly direct people (stevan) (RT #34333)
230 - making 'extends' croak if it is passed a Role since
231 this is not ever something you want to do
232 (fixed by stevan, found by obra)
233 - added tests for this (stevan)
236 - adding support for DOES (as in UNIVERSAL::DOES)
238 - added test for this
240 * Moose::Meta::Attribute
241 - added legal_options_for_inheritance (wreis)
242 - added tests for this (wreis)
244 * Moose::Cookbook::Snacks::*
245 - removed some of the unfinished snacks that should
246 not have been released yet. Added some more examples
247 to the 'Keywords' snack. (stevan)
249 * Moose::Cookbook::Style
250 - added general Moose "style guide" of sorts to the
251 cookbook (nothingmuch) (RT #34335)
254 - added more BUILDARGS tests (stevan)
256 0.51 Thurs. Jun 26, 2008
258 - add unimport so "no Moose::Role" actually does
261 * Moose::Meta::Role::Application::ToRole
262 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
263 order to provide its own implementation, that method still got
264 added to the list of required methods for consumers of
265 RoleB. Now an aliased method is only added to the list of
266 required methods if the role doing the aliasing does not
267 provide its own implementation. See Recipe 11 for an example
268 of all this. (Dave Rolsky)
269 - added tests for this
271 * Moose::Meta::Method::Constructor
272 - when a single argument that wasn't a hashref was provided to
273 an immutabilized constructor, the error message was very
274 unhelpful, as opposed to the non-immutable error. Reported by
276 - added test for this (Dave Rolsky)
278 * Moose::Meta::Attribute
279 - added support for meta_attr->does("ShortAlias") (sartak)
280 - added tests for this (sartak)
281 - moved the bulk of the `handles` handling to the new
282 install_delegation method (Stevan)
285 - Added BUILDARGS, a new step in new()
287 * Moose::Meta::Role::Application::RoleSummation
288 - fix typos no one ever sees (sartak)
290 * Moose::Util::TypeConstraints
291 * Moose::Meta::TypeConstraint
292 * Moose::Meta::TypeCoercion
293 - Attempt to work around the ??{ } vs. threads issue
295 - Some null_constraint optimizations
297 0.50 Thurs. Jun 11, 2008
298 - Fixed a version number issue by bumping all modules
301 0.49 Thurs. Jun 11, 2008
302 !! This version now approx. 20-25% !!
303 !! faster with new Class::MOP 0.59 !!
305 * Moose::Meta::Attribute
306 - fixed how the is => (ro|rw) works with
307 custom defined reader, writer and accessor
309 - added docs for this (TODO).
310 - added tests for this (Thanks to Penfold)
311 - added the custom attribute alias for regular
312 Moose attributes which is "Moose"
313 - fix builder and default both being used
318 Moose::Meta::Attribute
320 Moose::Meta::Role::Composite
321 Moose::Util::TypeConstraints
322 - switched usage of reftype to ref because
326 - changing add_package_symbol to use the new
330 - fixed how DEMOLISHALL is called so that it
331 can be overrided in subclasses (thanks to Sartak)
332 - added test for this (thanks to Sartak)
334 * Moose::Util::TypeConstraints
335 - move the ClassName type check code to
336 Class::MOP::is_class_loaded (thanks to Sartak)
338 * Moose::Cookbook::Recipe11
339 - add tests for this (thanks to tokuhirom)
341 0.48 Thurs. May 29, 2008
342 (early morning release engineering)--
344 - fixing the version in Moose::Meta::Method::Destructor
345 which was causing the indexer to choke
347 0.47 Thurs. May 29, 2008
348 (late night release engineering)--
350 - fixing the version is META.yml, no functional
351 changes in this release
353 0.46 Wed. May 28, 2008
354 !! This version now approx. 20-25% !!
355 !! faster with new Class::MOP 0.57 !!
358 - some optimizations of the &initialize method
359 since it is called so often by &meta
363 - now use the get_all_package_symbols from the
364 updated Class::MOP, test suite is now 10 seconds
367 * Moose::Meta::Method::Destructor
368 - is_needed can now also be called as a class
369 method for immutablization to check if the
370 destructor object even needs to be created
373 * Moose::Meta::Method::Destructor
374 Moose::Meta::Method::Constructor
375 - added more descriptive error message to help
376 keep people from wasting time tracking an error
377 that is easily fixed by upgrading.
379 0.45 Saturday, May 24, 2008
381 - Because of work in Class::MOP 0.57, all
382 XS based functionality is now optional
383 and a Pure Perl version is supplied
384 - the CLASS_MOP_NO_XS environment variable
385 can now be used to force non-XS versions
387 - several of the packages have been tweaked
388 to take care of this, mostly we added
389 support for the package_name and name
390 variables in all the Method metaclasses
391 - before/around/after method modifiers now
392 support regexp matching of names
393 (thanks to Takatoshi Kitano)
394 - tests added for this
395 - NOTE: this only works for classes, it
396 is currently not supported in roles,
397 but, ... patches welcome
398 - All usage of Carp::confess have been replaced
399 by Carp::croak in the "keyword" functions since
400 the stack trace is usually not helpful
403 - All usage of Carp::confess have been replaced
404 by Carp::croak in the "keyword" functions since
405 the stack trace is usually not helpful
406 - The 'has' keyword for roles now accepts the
407 same array ref form that Moose.pm does
408 (has [qw/foo bar/] => (is => 'rw', ...))
409 - added test for this
411 * Moose::Meta::Attribute
412 - trigger on a ro-attribute is no longer an
413 error, as it's useful to trigger off of the
417 - added same 'add_package_symbol' fix as in
421 - does_role now handles non-Moose classes
423 - added tests for this
424 - added the 'add_method_modifier' function
425 (thanks to Takatoshi Kitano)
427 * Moose::Util::TypeConstraints
428 - subtypes of parameterizable types now are
429 themselves parameterizable types
431 * Moose::Meta::Method::Constructor
432 - fixed bug where trigger was not being
433 called by the inlined immutable
435 - added test for this (thanks to Caelum)
437 * Moose::Meta::Role::Application::ToInstance
438 - now uses the metaclass of the instance
439 (if possible) to create the anon-class
440 (thanks Jonathan Rockway)
442 * Moose::Cookbook::Recipe22
443 - added the meta-attribute trait recipe
447 - fixed hash-ordering test bug that was
448 causing occasional cpantester failures
449 - renamed the t/000_recipe/*.t tests to be
450 more descriptive (thanks to Sartak)
452 0.44 Sat. May 10, 2008
454 - made make_immutable warning cluck to
455 show where the error is (thanks mst)
458 - BUILDALL and DEMOLISHALL now call
459 ->body when looping through the
460 methods, to avoid the overloaded
462 - fixed issue where DEMOLISHALL was
463 eating the $@ values, and so not
464 working correctly, it still kind of
465 eats them, but so does vanilla perl
466 - added tests for this
468 * Moose::Cookbook::Recipe7
469 - added new recipe for immutable
470 functionality (thanks Dave Rolsky)
472 * Moose::Cookbook::Recipe9
473 - added new recipe for builder and
474 lazy_build (thanks Dave Rolsky)
476 * Moose::Cookbook::Recipe11
477 - added new recipe for method aliasing
478 and exclusion with Roles (thanks Dave Rolsky)
481 - fixed Win32 test failure (thanks spicyjack)
483 ~ removed Build.PL and Module::Build compat
484 since Module::Install has done that.
486 0.43 Wed. April, 30, 2008
488 drink more coffee before
489 doing release engineering
491 - whoops, forgot to do the smolder tests,
492 and we broke some of the custom meta-attr
493 modules. This fixes that.
495 0.42 Mon. April 28, 2008
496 - some bad tests slipped by, nothing else
497 changed in this release (cpantesters++)
499 - upped the Class::MOP dependency to 0.55
500 since we have tests which need the C3
503 0.41 Mon. April 28, 2008
504 ~~ numerous documentation updates ~~
506 - Changed all usage of die to Carp::croak for better
507 error reporting (initial patch by Tod Hagan)
510 - the make_immutable keyword is now deprecated, don't
511 use it in any new code and please fix your old code
512 as well. There will be 2 releases, and then it will
518 - refactored the way inner and super work to avoid
519 any method/@ISA cache penalty (nothingmuch)
522 - fixing &new_object to make sure trigger gets the
523 coerced value (spotted by Charles Alderman on the
525 - added test for this
527 * Moose::Meta::Method::Constructor
528 - immutable classes which had non-lazy attributes were calling
529 the default generating sub twice in the constructor. (bug
530 found by Jesse Luehrs, fixed by Dave Rolsky)
531 - added tests for this (Dave Rolsky)
532 - fix typo in initialize_body method (nothingmuch)
534 * Moose::Meta::Method::Destructor
535 - fix typo in initialize_body method (nothingmuch)
537 * Moose::Meta::Method::Overriden
538 Moose::Meta::Method::Augmented
539 - moved the logic for these into their own
540 classes (nothingmuch)
542 * Moose::Meta::Attribute
543 - inherited attributes may now be extended without
544 restriction on the type ('isa', 'does') (Sartak)
545 - added tests for this (Sartak)
546 - when an attribute property is malformed (such as lazy without
547 a default), give the name of the attribute in the error
549 - added the &applied_traits and &has_applied_traits methods
550 to allow introspection of traits
551 - added tests for this
552 - moved 'trait' and 'metaclass' argument handling to here from
554 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
555 '+foo' syntax) (nothingmuch)
556 - added tests for this (t0m)
559 - localize $@ inside DEMOLISHALL to avoid it
560 eating $@ (found by Ernesto)
561 - added test for this (thanks to Ernesto)
563 * Moose::Util::TypeConstraints
564 - &find_type_constraint now DWIMs when given an
565 type constraint object or name (nothingmuch)
566 - &find_or_create_type_constraint superseded with a number of more
568 - find_or_create_{isa,does}_type_constraint
569 - find_or_parse_type_constraint
571 * Moose::Meta::TypeConstraint
572 Moose::Meta::TypeConstraint::Class
573 Moose::Meta::TypeConstraint::Role
574 Moose::Meta::TypeConstraint::Enum
575 Moose::Meta::TypeConstraint::Union
576 Moose::Meta::TypeConstraint::Parameterized
577 - added the &equals method for comparing two type
578 constraints (nothingmuch)
579 - added tests for this (nothingmuch)
581 * Moose::Meta::TypeConstraint
582 - add the &parents method, which is just an alias to &parent.
583 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
585 * Moose::Meta::TypeConstraint::Class
586 - added the class attribute for introspection purposes
588 - added tests for this
590 * Moose::Meta::TypeConstraint::Enum
591 Moose::Meta::TypeConstraint::Role
592 - broke these out into their own classes (nothingmuch)
594 * Moose::Cookbook::Recipe*
595 - fixed references to test file locations in the POD
596 and updated up some text for new Moose features
600 - Added &resolve_metaclass_alias, a helper function for finding an actual
601 class for a short name (e.g. in the traits list)
603 0.40 Fri. March 14, 2008
604 - I hate Pod::Coverage
606 0.39 Fri. March 14, 2008
608 - documenting the use of '+name' with attributes
609 that come from recently composed roles. It makes
610 sense, people are using it, and so why not just
611 officially support it.
612 - fixing the 'extends' keyword so that it will not
613 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
616 - added the perl -Moose=+Class::Name feature to allow
617 monkeypatching of classes in one liners
620 - fixing the 'apply_all_roles' keyword so that it will not
621 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
624 - added ->create method which now supports roles (thanks to jrockway)
625 - added tests for this
626 - added ->create_anon_class which now supports roles and caching of
627 the results (thanks to jrockway)
628 - added tests for this
629 - made ->does_role a little more forgiving when it is
630 checking a Class::MOP era metaclasses.
632 * Moose::Meta::Role::Application::ToInstance
633 - it is now possible to pass extra params to be used when
634 a role is applied to an the instance (rebless_params)
635 - added tests for this
637 * Moose::Util::TypeConstraints
638 - class_type now accepts an optional second argument for a
639 custom message. POD anotated accordingly (groditi)
640 - added tests for this
641 - it is now possible to make anon-enums by passing 'enum' an
642 ARRAY ref instead of the $name => @values. Everything else
644 - added tests for this
647 - making test for using '+name' on attributes consumed
648 from a role, it works and makes sense too.
650 * Moose::Meta::Attribute
651 - fix handles so that it doesn't return nothing
652 when the method cannot be found, not sure why
653 it ever did this originally, this means we now
654 have slightly better support for AUTOLOADed
656 - added more delegation tests
657 - adding ->does method to this so as to better
658 support traits and their introspection.
659 - added tests for this
662 - localizing the Data::Dumper configurations so
663 that it does not pollute others (RT #33509)
664 - made ->does a little more forgiving when it is
665 passed Class::MOP era metaclasses.
667 0.38 Fri. Feb. 15, 2008
668 * Moose::Meta::Attribute
669 - fixed initializer to correctly do
670 type checking and coercion in the
672 - added tests for this
675 - fixed some finicky tests (thanks to konobi)
677 0.37 Thurs. Feb. 14, 2008
679 - fixed some details in Moose::init_meta
680 and its superclass handling (thanks thepler)
681 - added tests for this (thanks thepler)
682 - 'has' now dies if you don't pass in name
684 - added the 'make_immutable' keyword as a shortcut
688 Moose::Meta::Method::Constructor
689 Moose::Meta::Attribute
690 - making (init_arg => undef) work here too
691 (thanks to nothingmuch)
693 * Moose::Meta::Attribute
694 Moose::Meta::Method::Constructor
695 Moose::Meta::Method::Accessor
696 - make lazy attributes respect attr initializers (rjbs)
697 - added tests for this
699 * Moose::Util::TypeConstraints
700 Moose::Util::TypeConstraints::OptimizedConstraints
701 Moose::Meta::TypeConstraints
702 Moose::Meta::Attribute
703 Moose::Meta::Method::Constructor
704 Moose::Meta::Method::Accessor
705 - making type errors use the
706 assigned message (thanks to Sartak)
707 - added tests for this
709 * Moose::Meta::Method::Destructor
710 - making sure DESTROY gets inlined properly
711 with successive DEMOLISH calls (thanks to manito)
713 * Moose::Meta::Attribute
714 Moose::Meta::Method::Accessor
715 - fixed handling of undef with type constraints
717 - added tests for this
720 - added &get_all_init_args and &get_all_attribute_values
721 (thanks to Sartak and nothingmuch)
723 0.36 Sat. Jan. 26, 2008
725 Moose::Meta::Attribute
726 - role type tests now support when roles are
727 applied to non-Moose classes (found by ash)
728 - added tests for this (thanks to ash)
729 - couple extra tests to boost code coverage
731 * Moose::Meta::Method::Constructor
732 - improved fix for handling Class::MOP attributes
733 - added test for this
736 - handled the add_attribute($attribute_meta_object)
738 - added test for this
740 0.35 Tues. Jan. 22, 2008
741 * Moose::Meta::Method::Constructor
742 - fix to make sure even Class::MOP attributes
743 are handled correctly (Thanks to Dave Rolsky)
744 - added test for this (also Dave Rolsky)
747 - improved error message on _apply_all_roles,
748 you should now use Moose::Util::apply_all_roles
749 and you shouldnt have been using a _ prefixed
750 method in the first place ;)
752 0.34 Mon. Jan. 21, 2008
753 ~~~ more misc. doc. fixes ~~~
754 ~~ updated copyright dates ~~
756 Moose is now a postmodern object system :)
757 - (see the POD for details)
759 * <<Role System Refactoring>>
760 - this release contains a major reworking and
761 cleanup of the role system
762 - 100% backwards compat.
763 - Role application now restructured into seperate
764 classes based on type of applicants
765 - Role summation (combining of more than one role)
766 is much cleaner and anon-classes are no longer
768 - new Composite role metaclass
769 - runtime application of roles to instances
770 is now more efficient and re-uses generated
771 classes when applicable
773 * <<New Role composition features>>
774 - methods can now be excluded from a given role
776 - methods can now be aliased to another name (and
777 still retain the original as well)
779 * Moose::Util::TypeConstraints::OptimizedConstraints
780 - added this module (see above)
783 - fixed the &_process_attribute method to be called
784 by &add_attribute, so that the API is now correct
786 * Moose::Meta::Method::Accessor
787 - fixed bug when passing a list of values to
788 an accessor would get (incorrectly) ignored.
789 Thanks to Sartak for finding this ;)
790 - added tests for this (Sartak again)
792 * Moose::Meta::Method::Accessor
793 Moose::Meta::Method::Constructor
794 Moose::Meta::Attribute
795 Moose::Meta::TypeConstraint
796 Moose::Meta::TypeCoercion
797 - lots of cleanup of such things as:
799 - type constraint handling
800 - error handling/messages
801 (thanks to nothingmuch)
803 * Moose::Meta::TypeConstraint::Parameterizable
804 - added this module to support the refactor
805 in Moose::Meta::TypeConstraint::Parameterized
807 * Moose::Meta::TypeConstraint::Parameterized
808 - refactored how these types are handled so they
809 are more generic and not confined to ArrayRef
813 - shortened some file names for better VMS support (RT #32381)
815 0.33 Fri. Dec. 14, 2007
816 !! Moose now loads 2 x faster !!
817 !! with new Class::MOP 0.49 !!
819 ++ new oose.pm module to make command line
820 Moose-ness easier (see POD docs for more)
824 - several tweaks to take advantage of the
825 new method map caching in Class::MOP
827 * Moose::Meta::TypeConstraint::Parameterized
828 - allow subtypes of ArrayRef and HashRef to
829 be used as a container (sartak)
830 - added tests for this
831 - basic support for coercion to ArrayRef and
832 HashRef for containers (sartak)
833 - added tests for this
835 * Moose::Meta::TypeCoercion
836 - coercions will now create subtypes as needed
837 so you can now add coercions to parameterized
838 types without having to explictly define them
839 - added tests for this
841 * Moose::Meta::Method::Accessor
842 - allow subclasses to decide whether we need
843 to copy the value into a new variable (sartak)
845 0.32 Tues. Dec. 4, 2007
846 * Moose::Util::TypeConstraints
847 - fixing how subtype aliases of unions work
848 they should inherit the parent's coercion
849 - added tests for this
850 - you can now define multiple coercions on
851 a single type at different times instead of
852 having to do it all in one place
853 - added tests for this
855 * Moose::Meta::TypeConstraint
856 - there is now a default constraint of sub { 1 }
857 instead of Moose::Util::TypeConstraints setting
860 * Moose::Meta::TypeCoercion
861 * Moose::Meta::TypeCoercion::Union
862 - added the &has_coercion_for_type and
863 &add_type_coercions methods to support the
864 new features above (although you cannot add
865 more type coercions for Union types)
867 0.31 Mon. Nov. 26, 2007
868 * Moose::Meta::Attribute
869 - made the +attr syntax handle extending types with
870 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
871 now works if the original foo is an ArrayRef.
872 - added tests for this.
873 - delegation now works even if the attribute does not
874 have a reader method using the get_read_method_ref
875 method from Class::MOP::Attribute.
876 - added tests for this
877 - added docs for this
879 * Moose::Util::TypeConstraints
880 - passing no "additional attribute info" to
881 &find_or_create_type_constraint will no longer
882 attempt to create an __ANON__ type for you,
883 instead it will just return undef.
884 - added docs for this
886 0.30 Fri. Nov. 23, 2007
887 * Moose::Meta::Method::Constructor
888 -builder related bug in inlined constructor. (groditi)
890 * Moose::Meta::Method::Accessor
891 - genereate unnecessary calls to predicates and refactor
892 code generation for runtime speed (groditi)
894 * Moose::Util::TypeConstraints
895 - fix ClassName constraint to introspect symbol table (mst)
896 - added more tests for this (mst)
897 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
899 - added tests for this
902 - adding the link to Recipie 11 (written by Sartak)
903 - adding test for SYNOPSIS code
906 - New tests for builder bug. Upon instantiation, if an
907 attribute had a builder, no value and was not lazy the
908 builder default was not getting run, oops. (groditi)
910 0.29 Tues. Nov. 13, 2007
911 * Moose::Meta::Attribute
912 - Fix error message on missing builder method (groditi)
914 * Moose::Meta::Method::Accessor
915 - Fix error message on missing builder method (groditi)
918 - Add test to check for the correct error message when
919 builder method is missing (groditi)
921 0.28 Tues. Nov. 13, 2007
922 - 0.27 packaged incorrectly (groditi)
924 0.27 Tues. Nov. 13, 2007
925 * Moose::Meta::Attribute
926 - Added support for the new builder option (groditi)
927 - Added support for lazy_build option (groditi)
928 - Changed slot initialization for predicate changes (groditi)
930 * Moose::Meta::Method::Accessor
931 - Added support for lazy_build option (groditi)
932 - Fix inline methods to work with corrected predicate
935 * Moose::Meta::Method::Constructor
936 - Added support for lazy_build option (groditi)
939 - tests for builder and lazy_build (groditi)
941 * fixing some misc. bits in the docs that
942 got mentioned on CPAN Forum & perlmonks
945 - fixed how required methods are handled
946 when they encounter overriden or modified
947 methods from a class (thanks to confound).
948 - added tests for this
950 * Moose::Util::TypeConstraint
951 - fixed the type notation parser so that
952 the | always creates a union and so is
953 no longer a valid type char (thanks to
954 konobi, mugwump and #moose for working
956 - added more tests for this
958 0.26 Thurs. Sept. 27, 2007
961 * Parameterized Types
962 We now support parameterized collection types, such as:
963 ArrayRef[Int] # array or integers
964 HashRef[Object] # a hash with object values
965 They can also be nested:
966 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
967 And work with the type unions as well:
968 ArrayRef[Int | Str] # array of integers of strings
970 * Better Framework Extendability
971 Moose.pm is now "extendable" such that it is now much
972 easier to extend the framework and add your own keywords
973 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
974 section of the Moose.pm docs.
977 In an effort to begin documenting some of the various
978 details of Moose as well as some common idioms, we have
979 created Moose::Cookbook::Snacks as a place to find
980 small (easily digestable) nuggets of Moose code.
983 ~ Several doc updates/cleanup thanks to castaway ~
985 - converted build system to use Module::Install instead of
986 Module::Build (thanks to jrockway)
989 - added all the meta classes to the immutable list and
990 set it to inline the accessors
991 - fix import to allow Sub::Exporter like { into => }
992 and { into_level => } (perigrin)
993 - exposed and documented init_meta() to allow better
994 embedding and extending of Moose (perigrin)
997 - complete re-organization of the test suite
998 - added some new tests as well
999 - finally re-enabled the Moose::POOP test since
1000 the new version of DBM::Deep now works again
1003 * Moose::Meta::Class
1004 - fixed very odd and very nasty recursion bug with
1006 - added tests for this (eilara)
1008 * Moose::Meta::Attribute
1009 Moose::Meta::Method::Constructor
1010 Moose::Meta::Method::Accessor
1011 - fixed issue with overload::Overloaded getting called
1012 on non-blessed items. (RT #29269)
1013 - added tests for this
1015 * Moose::Meta::Method::Accessor
1016 - fixed issue with generated accessor code making
1017 assumptions about hash based classes (thanks to dexter)
1019 * Moose::Coookbook::Snacks
1020 - these are bits of documentation, not quite as big as
1021 Recipes but which have no clear place in the module docs.
1022 So they are Snacks! (horray for castaway++)
1024 * Moose::Cookbook::Recipe4
1025 - updated it to use the new ArrayRef[MyType] construct
1026 - updated the accompanying test as well
1028 +++ Major Refactor of the Type Constraint system +++
1029 +++ with new features added as well +++
1031 * Moose::Util::TypeConstraint
1032 - no longer uses package variable to keep track of
1033 the type constraints, now uses the an instance of
1034 Moose::Meta::TypeConstraint::Registry to do it
1035 - added more sophisticated type notation parsing
1037 - added tests for this
1039 * Moose::Meta::TypeConstraint
1040 - some minor adjustments to make subclassing easier
1041 - added the package_defined_in attribute so that we
1042 can track where the type constraints are created
1044 * Moose::Meta::TypeConstraint::Union
1045 - this is now been refactored to be a subclass of
1046 Moose::Meta::TypeConstraint
1048 * Moose::Meta::TypeCoercion::Union
1049 - this has been added to service the newly refactored
1050 Moose::Meta::TypeConstraint::Union and is itself
1051 a subclass of Moose::Meta::TypeCoercion
1053 * Moose::Meta::TypeConstraint::Parameterized
1054 - added this module (taken from MooseX::AttributeHelpers)
1055 to help construct nested collection types
1056 - added tests for this
1058 * Moose::Meta::TypeConstraint::Registry
1059 - added this class to keep track of type constraints
1061 0.25 Mon. Aug. 13, 2007
1063 - Documentation update to reference Moose::Util::TypeConstraints
1064 under 'isa' in 'has' for how to define a new type
1065 (thanks to shlomif).
1067 * Moose::Meta::Attribute
1068 - required attributes now will no longer accept undef
1069 from the constructor, even if there is a default and lazy
1070 - added tests for this
1071 - default subroutines must return a value which passes the
1073 - added tests for this
1075 * Moose::Meta::Attribute
1076 * Moose::Meta::Method::Constructor
1077 * Moose::Meta::Method::Accessor
1078 - type-constraint tests now handle overloaded objects correctly
1079 in the error message
1080 - added tests for this (thanks to EvanCarroll)
1082 * Moose::Meta::TypeConstraint::Union
1083 - added (has_)hand_optimized_constraint to this class so that
1084 it behaves as the regular Moose::Meta::TypeConstraint does.
1087 - large refactoring of this code
1088 - added several more tests
1089 - tests for subtle conflict resolition issues
1090 added, but not currently running
1093 * Moose::Cookbook::Recipe7
1094 - added new recipe for augment/inner functionality
1096 - added test for this
1099 - a formal definition of roles (still in progress)
1102 - utilities for easier working with Moose classes
1103 - added tests for these
1106 - This contains Moose specific test functions
1107 - added tests for these
1109 0.24 Tues. July 3, 2007
1110 ~ Some doc updates/cleanup ~
1112 * Moose::Meta::Attribute
1113 - added support for roles to be given as parameters
1114 to the 'handles' option.
1115 - added tests and docs for this
1116 - the has '+foo' attribute form now accepts changes to
1117 the lazy option, and the addition of a handles option
1118 (but not changing the handles option)
1119 - added tests and docs for this
1122 - required methods are now fetched using find_method_by_name
1123 so that required methods can come from superclasses
1124 - adjusted tests for this
1126 0.23 Mon. June 18, 2007
1127 * Moose::Meta::Method::Constructor
1128 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1129 * Moose::Meta::Class
1130 - Modify make_immutable to work with the new Class::MOP immutable
1131 mechanism + POD + very basic test (groditi)
1132 * Moose::Meta::Attribute
1133 - Fix handles to use goto() so that caller() comes out properly on
1134 the other side (perigrin)
1136 0.22 Thurs. May 31, 2007
1137 * Moose::Util::TypeConstraints
1138 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1139 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1140 prototypes for functions
1141 - added the ClassName type constraint, this checks for strings
1142 which will respond true to ->isa(UNIVERSAL).
1143 - added tests and docs for this
1144 - subtyping just in name now works correctly by making the
1145 default for where be { 1 }
1146 - added test for this
1148 * Moose::Meta::Method::Accessor
1149 - coerce and lazy now work together correctly, thanks to
1150 merlyn for finding this bug
1151 - tests added for this
1152 - fix reader presedence bug in Moose::Meta::Attribute + tests
1155 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1156 a HASH-ref and missed. This produces better error messages then
1157 having it die cause undef is not a HASH.
1158 - added tests for this
1160 0.21 Thursday, May 2nd, 2007
1162 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1163 - modified unimport to remove super and inner along with the rest
1164 - altered unimport tests to handle this
1167 - altered super export to populate SUPER_SLOT
1169 * Moose::Meta::Class
1170 - altered augment and override modifier application to use *_SLOT
1171 - modified tests for these to unimport one test class each to test
1174 - fixed issue where custom attribute metaclasses
1175 where not handled correctly in roles
1176 - added tests for this
1178 * Moose::Meta::Class
1179 - fixed issue where extending metaclasses with
1180 roles would blow up. Thanks to Aankhen`` for
1181 finding this insidious error, and it's solution.
1183 ~~ lots of spelling and grammer fixes in the docs,
1184 many many thanks to rlb3 and Aankhen for these :)
1186 0.20 Friday, April 6th, 2007
1187 >> I messed up the SKIP logic in one test
1188 so this release is just to fix that.
1191 - 'has' now also accepts an ARRAY ref
1192 to create multiple attrs (see docs)
1193 (thanks to konobi for this)
1194 - added tests and docs
1196 0.19 Thurs. April 5th, 2007
1197 ~~ More documentation updates ~~
1199 * Moose::Util::TypeConstraints
1200 - 'type' now supports messages as well
1201 thanks to phaylon for finding this
1202 - added tests for this
1203 - added &list_all_type_constraints and
1204 &list_all_builtin_type_constraints
1205 functions to facilitate introspection.
1207 * Moose::Meta::Attribute
1208 - fixed regexp 'handles' declarations
1209 to build the list of delegated methods
1210 correctly (and not override important
1211 things like &new) thanks to ashleyb
1213 - added tests and docs for this
1214 - added the 'documentation' attributes
1215 so that you can actually document your
1216 attributes and inspect them through the
1218 - added tests and docs for this
1220 * Moose::Meta::Class
1221 - when loading custom attribute metaclasses
1222 it will first look in for the class in the
1223 Moose::Meta::Attribute::Custom::$name, and
1224 then default to just loading $name.
1225 - added tests and docs for this
1227 * Moose::Meta::TypeConstraint
1228 - type constraints now stringify to their names.
1229 - added test for this
1232 - added tests to assure we work with Module::Refresh
1233 - added stricter test skip logic in the Moose POOP
1234 test, ask Rob Kinyon why.
1235 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
1237 0.18 Sat. March 10, 2007
1238 ~~ Many, many documentation updates ~~
1241 - We now use Class::MOP::load_class to
1243 - added tests to show types and subtypes
1244 working with Declare::Constraints::Simple
1245 and Test::Deep as constraint engines.
1248 !! You must have Class::MOP 0.37_001 !!
1249 !! for this developer release to work !!
1251 This release was primarily adding the immutable
1252 feature to Moose. An immutable class is one which
1253 you promise not to alter. When you set the class
1254 as immutable it will perform various bits of
1255 memoization and inline certain part of the code
1256 (constructors, destructors and accessors). This
1257 minimizes (and in some cases totally eliminates)
1258 one of Moose's biggest performance hits. This
1259 feature is not on by default, and is 100% optional.
1260 It has several configurable bits as well, so you
1261 can pick and choose to your specific needs.
1263 The changes involved in this were fairly wide and
1264 highly specific, but 100% backwards compatible, so
1265 I am not going to enumerate them here. If you are
1266 truely interested in what was changed, please do
1269 0.17 Tues. Nov. 14, 2006
1270 * Moose::Meta::Method::Accessor
1271 - bugfix for read-only accessors which
1272 are have a type constraint and lazy.
1273 Thanks to chansen for finding it.
1275 0.16 Tues. Nov. 14, 2006
1277 There are some speed improvements in this release,
1278 but they are only the begining, so stay tuned.
1281 - BUILDALL and DEMOLISHALL no longer get
1282 called unless they actually need to be.
1283 This gave us a signifigant speed boost
1284 for the cases when there is no BUILD or
1285 DEMOLISH method present.
1287 * Moose::Util::TypeConstraints
1288 * Moose::Meta::TypeConstraint
1289 - added an 'optimize_as' option to the
1290 type constraint, which allows for a
1291 hand optimized version of the type
1292 constraint to be used when possible.
1293 - Any internally created type constraints
1294 now provide an optimized version as well.
1296 0.15 Sun. Nov. 5, 2006
1298 This version of Moose *must* have Class::MOP 0.36 in order
1299 to work correctly. A number of small internal tweaks have
1300 been made in order to be compatible with that release.
1302 * Moose::Util::TypeConstraints
1303 - added &unimport so that you can clean out
1304 your class namespace of these exported
1307 * Moose::Meta::Class
1308 - fixed minor issue which occasionally
1309 comes up during global destruction
1311 - moved Moose::Meta::Method::Overriden into
1315 - moved Moose::Meta::Role::Method into
1318 * Moose::Meta::Attribute
1319 - changed how we do type checks so that
1320 we reduce the overall cost, but still
1323 - moved accessor generation methods to
1324 Moose::Meta::Method::Accessor to
1325 conform to the API changes from
1328 * Moose::Meta::TypeConstraint
1329 - changed how constraints are compiled
1330 so that we do less recursion and more
1331 iteration. This makes the type check
1333 - moved Moose::Meta::TypeConstraint::Union
1336 * Moose::Meta::Method::Accessor
1337 - created this from methods formerly found in
1338 Moose::Meta::Attribute
1340 * Moose::Meta::Role::Method
1341 - moved this from Moose::Meta::Role
1343 * Moose::Meta::Method::Overriden
1344 - moved this from Moose::Meta::Class
1346 * Moose::Meta::TypeConstraint::Union
1347 - moved this from Moose::Meta::TypeConstraint
1349 0.14 Mon. Oct. 9, 2006
1351 * Moose::Meta::Attribute
1352 - fixed lazy attributes which were not getting
1353 checked with the type constraint (thanks ashley)
1354 - added tests for this
1355 - removed the over-enthusiastic DWIMery of the
1356 automatic ArrayRef and HashRef defaults, it
1357 broke predicates in an ugly way.
1358 - removed tests for this
1360 0.13 Sat. Sept. 30, 2006
1362 This version of Moose *must* have Class::MOP 0.35 in order
1363 to work correctly. A number of small internal tweaks have
1364 been made in order to be compatible with that release.
1367 - Removed the use of UNIVERSAL::require to be a better
1368 symbol table citizen and remove a dependency
1369 (thanks Adam Kennedy)
1371 **~~ removed experimental & undocumented feature ~~**
1372 - commented out the 'method' and 'self' keywords, see the
1373 comments for more info.
1376 - added a FAQ and WTF files to document frequently
1377 asked questions and common problems
1379 * Moose::Util::TypeConstraints
1380 - added GlobRef and FileHandle type constraint
1381 - added tests for this
1383 * Moose::Meta::Attribute
1384 - if your attribute 'isa' ArrayRef of HashRef, and you have
1385 not explicitly set a default, then make the default DWIM.
1386 This will also work for subtypes of ArrayRef and HashRef
1388 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1389 - new test added for this (thanks to ashley)
1392 - added basic support for runtime role composition
1393 but this is still *highly experimental*, so feedback
1394 is much appreciated :)
1395 - added tests for this
1397 * Moose::Meta::TypeConstraint
1398 - the type constraint now handles the coercion process
1399 through delegation, this is to support the coercion
1402 * Moose::Meta::TypeConstraint::Union
1403 - it is now possible for coercions to be performed
1405 - added tests for this (thanks to konobi)
1407 * Moose::Meta::TypeCoercion
1408 - properly capturing error when type constraint
1412 - Scalar::Util 1.18 is bad on Win32, so temporarily
1413 only require version 1.17 for Win32 and cygwin.
1414 (thanks Adam Kennedy)
1416 0.12 Sat. Sept. 1, 2006
1418 - Recipe5 (subtypes & coercion) has been written
1421 - fixed "bad meta" error message to be more descriptive
1422 - fixed &unimport to not remove the &inner and &super
1423 keywords because we need to localize them.
1424 - fixed number of spelling/grammer issues, thanks Theory :)
1426 **~~ experimental & undocumented feature ~~**
1427 - added the method and self keywords, they are basically
1428 just sugar, and they may not stay around.
1431 - added &dump method to easily Data::Dumper
1434 * Moose::Meta::TypeConstraint
1435 - added the &is_a_type_of method to check both the current
1436 and the subtype of a method (similar to &isa with classes)
1439 - this is now a subclass of Class::MOP::Module, and no longer
1440 creates the _role_meta ugliness of before.
1441 - fixed tests to reflect this change
1443 0.11 Wed. July 12, 2006
1445 - added an &unimport method to remove all the keywords
1446 that Moose will import, simply add 'no Moose' to the
1447 bottom of your class file.
1450 - fixed some test failures caused by a forgotten test
1453 0.10 Thurs. July 6, 2006
1455 - improved error message when loading modules so
1456 it is less confusing when you load a role.
1457 - added &calculate_all_roles method to
1458 Moose::Meta::Class and Moose::Meta::Role
1461 This module has been tested against Class::MOP 0.30
1462 but it does not yet utilize the optimizations
1463 it makes available. Stay tuned for that ;)
1465 0.09_03 Fri. June 23, 2006
1466 ++ DEVELOPER RELEASE ++
1468 - 'use strict' and 'use warnings' are no longer
1469 needed in Moose classes, Moose itself will
1470 turn them on for you.
1471 - added tests for this
1472 - moved code from exported subs to private methods
1473 in Moose::Meta::Class
1476 - as with Moose, strict and warnings are
1477 automatically turned on for you.
1478 - added tests for this
1481 - now handles an edge case for override errors
1482 - added tests for this
1483 - added some more edge case tests
1485 0.09_02 Tues. May 16, 2006
1486 ++ DEVELOPER RELEASE ++
1488 - added prototypes to the exported subs
1492 - added prototypes to the exported subs
1495 * Moose::Util::TypeConstraints
1496 - cleaned up prototypes for the subs
1499 0.09_01 Fri. May 12, 2006
1500 ++ DEVELOPER RELEASE ++
1501 - This release works in combination with
1502 Class::MOP 0.29_01, it is a developer
1503 release because it uses the a new
1504 instance sub-protocol and a fairly
1505 complete Role implementation. It has
1506 not yet been optimized, so it slower
1507 the the previous CPAN version. This
1508 release also lacks good updated docs,
1509 the official release will have updated docs.
1512 - refactored the keyword exports
1513 - 'with' now checks Role validaity and
1514 accepts more than one Role at a time
1515 - 'extends' makes metaclass adjustments as
1516 needed to ensure metaclass compatability
1519 - refactored the keyword exports
1520 - 'with' now checks Role validaity and
1521 accepts more than one Role at a time
1523 * Moose::Util::TypeConstraints
1524 - added the 'enum' keyword for simple
1525 string enumerations which can be used as
1527 - see example of usage in t/202_example.t
1530 - more careful checking of params to new()
1533 - much work done on the role composition
1534 - many new tests for conflict detection
1535 and composition edge cases
1536 - not enough documentation, I suggest
1537 looking at the tests
1539 * Moose::Meta::Instance
1540 - added new Instance metaclass to support
1541 the new Class::MOP instance protocol
1543 * Moose::Meta::Class
1544 - some small changes to support the new
1546 - some small additions to support Roles
1548 * Moose::Meta::Attribute
1549 - some improvements to the accessor generation code
1551 - some small changes to support the new
1553 - (still somewhat) experimental delegation support
1554 with the 'handles' option
1555 - added several tests for this
1556 - no docs for this yet
1558 0.05 Thurs. April 27, 2006
1560 - keywords are now exported with Sub::Exporter
1561 thanks to chansen for this commit
1562 - has keyword now takes a 'metaclass' option
1563 to support custom attribute meta-classes
1564 on a per-attribute basis
1565 - added tests for this
1566 - the 'has' keyword not accepts inherited slot
1567 specifications (has '+foo'). This is still an
1568 experimental feature and probably not finished
1569 see t/038_attribute_inherited_slot_specs.t for
1570 more details, or ask about it on #moose
1571 - added tests for this
1574 - keywords are now exported with Sub::Exporter
1576 * Moose::Utils::TypeConstraints
1577 - reorganized the type constraint hierarchy, thanks
1578 to nothingmuch and chansen for his help and advice
1580 - added some tests for this
1581 - keywords are now exported with Sub::Exporter
1582 thanks to chansen for this commit
1584 * Moose::Meta::Class
1585 - due to changes in Class::MOP, we had to change
1586 construct_instance (for the better)
1588 * Moose::Meta::Attribute
1589 - due to changes in Class::MOP, we had to add the
1590 initialize_instance_slot method (it's a good thing)
1592 * Moose::Meta::TypeConstraint
1593 - added type constraint unions
1594 - added tests for this
1595 - added the is_subtype_of predicate method
1596 - added tests for this
1598 0.04 Sun. April 16th, 2006
1600 - Roles can now consume other roles
1601 - added tests for this
1602 - Roles can specify required methods now with
1603 the requires() keyword
1604 - added tests for this
1607 - ripped out much of it's guts ,.. much cleaner now
1608 - added required methods and correct handling of
1609 them in apply() for both classes and roles
1610 - added tests for this
1611 - no longer adds a does() method to consuming classes
1612 it relys on the one in Moose::Object
1613 - added roles attribute and some methods to support
1614 roles consuming roles
1616 * Moose::Meta::Attribute
1617 - added support for triggers on attributes
1618 - added tests for this
1619 - added support for does option on an attribute
1620 - added tests for this
1622 * Moose::Meta::Class
1623 - added support for attribute triggers in the
1625 - added tests for this
1628 - Moose no longer creates a subtype for your class
1629 if a subtype of the same name already exists, this
1630 should DWIM in 99.9999% of all cases
1632 * Moose::Util::TypeConstraints
1633 - fixed bug where incorrect subtype conflicts were
1635 - added test for this
1638 - this class can now be extended with 'use base' if
1639 you need it, it properly loads the metaclass class now
1640 - added test for this
1642 0.03_02 Wed. April 12, 2006
1644 - you must now explictly use Moose::Util::TypeConstraints
1645 it no longer gets exported for you automatically
1648 - new() now accepts hash-refs as well as key/value lists
1649 - added does() method to check for Roles
1650 - added tests for this
1652 * Moose::Meta::Class
1653 - added roles attribute along with the add_role() and
1655 - added tests for this
1658 - now adds a does() method to consuming classes
1659 which tests the class's hierarchy for roles
1660 - added tests for this
1662 0.03_01 Mon. April 10, 2006
1664 - added new Role recipe (no content yet, only code)
1667 - added 'with' keyword for Role support
1668 - added test and docs for this
1669 - fixed subtype quoting bug
1670 - added test for this
1674 - added test and docs
1676 * Moose::Util::TypeConstraints
1677 - added the message keyword to add custom
1678 error messages to type constraints
1681 - the meta role to support Moose::Role
1682 - added tests and docs
1684 * Moose::Meta::Class
1685 - moved a number of things from Moose.pm
1686 to here, they should have been here
1689 * Moose::Meta::Attribute
1690 - moved the attribute option macros here
1691 instead of putting them in Moose.pm
1693 * Moose::Meta::TypeConstraint
1694 - added the message attributes and the
1696 - added tests and docs for this
1698 0.03 Thurs. March 30, 2006
1700 - added the Moose::Cookbook with 5 recipes,
1701 describing all the stuff Moose can do.
1704 - fixed an issue with &extends super class loading
1705 it now captures errors and deals with inline
1706 packages correctly (bug found by mst, solution
1708 - added super/override & inner/augment features
1709 - added tests and docs for these
1712 - BUILDALL now takes a reference of the %params
1713 that are passed to &new, and passes that to
1716 * Moose::Util::TypeConstraints
1717 - Type constraints now survive runtime reloading
1718 - added test for this
1720 * Moose::Meta::Class
1721 - fixed the way attribute defaults are handled
1722 during instance construction (bug found by chansen)
1724 * Moose::Meta::Attribute
1725 - read-only attributes now actually enforce their
1726 read-only-ness (this corrected in Class::MOP as
1729 0.02 Tues. March 21, 2006
1731 - many more tests, fixing some bugs and
1733 - &extends now loads the base module with
1735 - added UNIVERSAL::require to the
1738 - each new Moose class will also create
1739 and register a subtype of Object which
1740 correspond to the new Moose class.
1741 - the 'isa' option in &has now only
1742 accepts strings, and will DWIM in
1745 * Moose::Util::TypeConstraints
1746 - added type coercion features
1747 - added tests for this
1748 - added support for this in attributes
1749 and instance construction
1751 - type construction no longer creates a
1752 function, it registers the type instead.
1753 - added several functions to get the
1757 - BUILDALL and DEMOLISHALL were broken
1758 because of a mis-named hash key, Whoops :)
1760 * Moose::Meta::Attribute
1761 - adding support for coercion in the
1762 autogenerated accessors
1764 * Moose::Meta::Class
1765 - adding support for coercion in the
1766 instance construction
1768 * Moose::Meta::TypeConstraint
1769 * Moose::Meta::TypeCoercion
1770 - type constraints and coercions are now
1771 full fledges meta-objects
1773 0.01 Wed. March 15, 2006
1774 - Moooooooooooooooooose!!!