1 Revision history for Perl extension Moose
4 !! This release has an incompatible change regarding !!
5 how roles add methods to a class !!
7 * Roles and role application
8 ! Roles now add methods by calling add_method, not
9 alias_method. They make sure to always provide a method
10 object, which will be cloned internally. This means that it is
11 now possible to track the source of a method provided by a
12 role, and even follow its history through intermediate roles.
14 This means that methods added by a role now show up when
15 looking at a class's method list/map. (Dave Rolsky)
17 * Moose::Meta::Method::Delegation
18 * Moose::Meta::Attribute
19 - Delegation methods now have their own method class. (Dave
24 - Moose::Exporter will no longer remove a subroutine that the
25 exporting package re-exports. Moose re-exports the
26 Carp::confess function, among others. The reasoning is that we
27 cannot know whether you have also explicitly imported those
28 functions for your own use, so we err on the safe side and
29 always keep them. (Dave Rolsky)
30 - added tests for this (rafl)
33 0.57 Wed September 3, 2008
35 - A new bit of doc intended to introduce folks familiar with
36 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
39 - Shows examples of two classes, each done first with and then
40 without Moose. This makes a nice parallel to
41 Moose::Intro. (Dave Rolsky)
43 * Moose::Util::TypeConstraints
44 - Fixed a bug in find_or_parse_type_constraint so that it
45 accepts a Moose::Meta::TypeConstraint object as the parent
46 type, not just a name (jnapiorkowski)
47 - added tests (jnapiorkowski)
50 - If Sub::Name was not present, unimporting failed to actually
51 remove some sugar subs, causing test failures (Dave Rolsky)
53 0.56 Mon September 1, 2008
54 For those not following the series of dev releases, there are
55 several major changes in this release of Moose.
56 ! Moose::init_meta should now be called as a method. See the
59 - Major performance improvements by nothingmuch.
61 - New modules for extension writers, Moose::Exporter and
62 Moose::Util::MetaRole by Dave Rolsky.
64 - Lots of doc improvements and additions, especially in the
69 * Removed all references to the experimental-but-no-longer-needed
70 Moose::Meta::Role::Application::ToMetaclassInstance.
72 * Require Class::MOP 0.65.
74 0.55_04 Sat August 30, 2008
75 * Moose::Util::MetaRole
76 * Moose::Cookbook::Extending::Recipe2
77 - This simplifies the application of roles to any meta class, as
78 well as the base object class. Reimplemented metaclass traits
79 using this module. (Dave Rolsky)
81 * Moose::Cookbook::Extending::Recipe1
82 - This a new recipe, an overview of various ways to write Moose
83 extensions (Dave Rolsky)
85 * Moose::Cookbook::Extending::Recipe3
86 * Moose::Cookbook::Extending::Recipe4
87 - These used to be Extending::Recipe1 and Extending::Recipe2,
90 0.55_03 Fri August 29, 2008
91 * No changes from 0.55_02 except increasing the Class::MOP
92 dependency to 0.64_07.
94 0.55_02 Fri August 29, 2008
95 * Makefile.PL and Moose.pm
96 - explicitly require Perl 5.8.0+ (Dave Rolsky)
98 * Moose::Util::TypeConstraints
99 - Fix warnings from find_type_constraint if the type is not
102 * Moose::Meta::TypeConstraint
103 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
104 return false if the type you specify cannot be found in the
105 type registry, rather than throwing an unhelpful and
106 coincidental exception. (t0m).
107 - added docs & test for this (t0m)
109 * Moose::Meta::TypeConstraint::Registry
110 - add_type_constraint now throws an exception if a parameter is
112 - added docs & test for this (t0m)
114 * Moose::Cookbook::FAQ
115 - Added a faq entry on the difference between "role" and "trait"
119 - Fixed a bug that caused role composition to not see a required
120 method when that method was provided by another role being
121 composed at the same time. (Dave Rolsky)
122 - test and bug finding (tokuhirom)
124 0.55_01 Wed August 20, 2008
126 !! Calling Moose::init_meta as a function is now !!
127 !! deprecated. Please see the Moose.pm docs for details. !!
129 * Moose::Meta::Method::Constructor
130 - Fix inlined constructor so that values produced by default
131 or builder methods are coerced as required. (t0m)
132 - added test for this (t0m)
134 * Moose::Meta::Attribute
135 - A lazy attribute with a default or builder did not attempt to
136 coerce the default value. The immutable code _did_
138 - added test for this (t0m)
141 - This is a new helper module for writing "Moose-alike"
142 modules. This should make the lives of MooseX module authors
143 much easier. (Dave Rolsky)
146 * Moose::Cookbook::Meta::Recipe5
147 - Implemented metaclass traits (and wrote a recipe for it):
149 use Moose -traits => 'Foo'
151 This should make writing small Moose extensions a little
154 * Moose::Cookbook::Basics::Recipe1
155 - Removed any examples of direct hashref access, and applied an
156 editorial axe to reduce verbosity. (Dave Rolsky)
158 * Moose::Cookbook::Basics::Recipe1
159 - Also applied an editorial axe here. (Dave Rolsky)
162 * Moose::Cookbook::Extending::Recipe1
163 * Moose::Cookbook::Extending::Recipe2
164 - Rewrote extending and embedding moose documentation and
165 recipes to use Moose::Exporter (Dave Rolsky)
169 - These two modules now warn when you load them from the main
170 package "main" package, because we will not export sugar to
171 main. Previously it just did nothing. (Dave Rolsky)
174 - Now provide an init_meta method just like Moose.pm, and you
175 can call this to provide an alternate role metaclass. (Dave
176 Rolsky and nothingmuch)
177 - get_method_map now respects the package cache flag (nothingmuch)
180 - Two new methods - add_method and wrap_method_body
184 - Optimizations including allowing constructors to accept hash
185 refs, making many more classes immutable, and making
186 constructors immutable. (nothingmuch)
188 0.55 Sun August 3, 2008
189 * Moose::Meta::Attribute
190 - breaking down the way 'handles' methods are
191 created so that the process can be more easily
192 overridden by subclasses (stevan)
194 * Moose::Meta::TypeConstraint
195 - fixing what is passed into a ->message with
196 the type constraints (RT #37569)
197 - added tests for this (Charles Alderman)
199 * Moose::Util::TypeConstraints
200 - fix coerce to accept anon types like subtype can (mst)
203 - reorganized the recipes into sections - Basics, Roles, Meta,
204 Extending - and wrote abstracts for each section (Dave Rolsky)
206 * Moose::Cookbook::Basics::Recipe10
207 - A new recipe that demonstrates operator overloading
208 in combination with Moose. (bluefeet)
210 * Moose::Cookbook::Meta::Recipe1
211 - an introduction to what meta is and why you'd want to make
212 your own metaclass extensions (Dave Rolsky)
214 * Moose::Cookbook::Meta::Recipe4
215 - a very simple metaclass example (Dave Rolsky)
217 * Moose::Cookbook::Extending::Recipe1
218 - how to write a Moose-alike module to use your own object base
221 * Moose::Cookbook::Extending::Recipe2
222 - how to write modules with an API just like C<Moose.pm> (Dave
226 - Tons of fixes, both syntactical and grammatical (Dave
227 Rolsky, Paul Fenwick)
229 0.54 Thurs. July 3, 2008
230 ... this is not my day today ...
232 * Moose::Meta::Attribute
233 - fixed legal_options_for_inheritance such that
234 clone_and_inherit options still works for
235 Class::MOP::Attribute objects and therefore
236 does not break MooseX::AttributeHelpers
239 0.53 Thurs. July 3, 2008
240 * Whoops, I guess I should run 'make manifest' before
241 actually releasing the module. No actual changes
242 in this release, except the fact that it includes
243 the changes that I didn't include in the last
246 0.52 Thurs. July 3, 2008
248 - added "FEATURE REQUESTS" section to the Moose docs
249 to properly direct people (stevan) (RT #34333)
250 - making 'extends' croak if it is passed a Role since
251 this is not ever something you want to do
252 (fixed by stevan, found by obra)
253 - added tests for this (stevan)
256 - adding support for DOES (as in UNIVERSAL::DOES)
258 - added test for this
260 * Moose::Meta::Attribute
261 - added legal_options_for_inheritance (wreis)
262 - added tests for this (wreis)
264 * Moose::Cookbook::Snacks::*
265 - removed some of the unfinished snacks that should
266 not have been released yet. Added some more examples
267 to the 'Keywords' snack. (stevan)
269 * Moose::Cookbook::Style
270 - added general Moose "style guide" of sorts to the
271 cookbook (nothingmuch) (RT #34335)
274 - added more BUILDARGS tests (stevan)
276 0.51 Thurs. Jun 26, 2008
278 - add unimport so "no Moose::Role" actually does
281 * Moose::Meta::Role::Application::ToRole
282 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
283 order to provide its own implementation, that method still got
284 added to the list of required methods for consumers of
285 RoleB. Now an aliased method is only added to the list of
286 required methods if the role doing the aliasing does not
287 provide its own implementation. See Recipe 11 for an example
288 of all this. (Dave Rolsky)
289 - added tests for this
291 * Moose::Meta::Method::Constructor
292 - when a single argument that wasn't a hashref was provided to
293 an immutabilized constructor, the error message was very
294 unhelpful, as opposed to the non-immutable error. Reported by
296 - added test for this (Dave Rolsky)
298 * Moose::Meta::Attribute
299 - added support for meta_attr->does("ShortAlias") (sartak)
300 - added tests for this (sartak)
301 - moved the bulk of the `handles` handling to the new
302 install_delegation method (Stevan)
305 - Added BUILDARGS, a new step in new()
307 * Moose::Meta::Role::Application::RoleSummation
308 - fix typos no one ever sees (sartak)
310 * Moose::Util::TypeConstraints
311 * Moose::Meta::TypeConstraint
312 * Moose::Meta::TypeCoercion
313 - Attempt to work around the ??{ } vs. threads issue
315 - Some null_constraint optimizations
317 0.50 Thurs. Jun 11, 2008
318 - Fixed a version number issue by bumping all modules
321 0.49 Thurs. Jun 11, 2008
322 !! This version now approx. 20-25% !!
323 !! faster with new Class::MOP 0.59 !!
325 * Moose::Meta::Attribute
326 - fixed how the is => (ro|rw) works with
327 custom defined reader, writer and accessor
329 - added docs for this (TODO).
330 - added tests for this (Thanks to Penfold)
331 - added the custom attribute alias for regular
332 Moose attributes which is "Moose"
333 - fix builder and default both being used
338 Moose::Meta::Attribute
340 Moose::Meta::Role::Composite
341 Moose::Util::TypeConstraints
342 - switched usage of reftype to ref because
346 - changing add_package_symbol to use the new
350 - fixed how DEMOLISHALL is called so that it
351 can be overrided in subclasses (thanks to Sartak)
352 - added test for this (thanks to Sartak)
354 * Moose::Util::TypeConstraints
355 - move the ClassName type check code to
356 Class::MOP::is_class_loaded (thanks to Sartak)
358 * Moose::Cookbook::Recipe11
359 - add tests for this (thanks to tokuhirom)
361 0.48 Thurs. May 29, 2008
362 (early morning release engineering)--
364 - fixing the version in Moose::Meta::Method::Destructor
365 which was causing the indexer to choke
367 0.47 Thurs. May 29, 2008
368 (late night release engineering)--
370 - fixing the version is META.yml, no functional
371 changes in this release
373 0.46 Wed. May 28, 2008
374 !! This version now approx. 20-25% !!
375 !! faster with new Class::MOP 0.57 !!
378 - some optimizations of the &initialize method
379 since it is called so often by &meta
383 - now use the get_all_package_symbols from the
384 updated Class::MOP, test suite is now 10 seconds
387 * Moose::Meta::Method::Destructor
388 - is_needed can now also be called as a class
389 method for immutablization to check if the
390 destructor object even needs to be created
393 * Moose::Meta::Method::Destructor
394 Moose::Meta::Method::Constructor
395 - added more descriptive error message to help
396 keep people from wasting time tracking an error
397 that is easily fixed by upgrading.
399 0.45 Saturday, May 24, 2008
401 - Because of work in Class::MOP 0.57, all
402 XS based functionality is now optional
403 and a Pure Perl version is supplied
404 - the CLASS_MOP_NO_XS environment variable
405 can now be used to force non-XS versions
407 - several of the packages have been tweaked
408 to take care of this, mostly we added
409 support for the package_name and name
410 variables in all the Method metaclasses
411 - before/around/after method modifiers now
412 support regexp matching of names
413 (thanks to Takatoshi Kitano)
414 - tests added for this
415 - NOTE: this only works for classes, it
416 is currently not supported in roles,
417 but, ... patches welcome
418 - All usage of Carp::confess have been replaced
419 by Carp::croak in the "keyword" functions since
420 the stack trace is usually not helpful
423 - All usage of Carp::confess have been replaced
424 by Carp::croak in the "keyword" functions since
425 the stack trace is usually not helpful
426 - The 'has' keyword for roles now accepts the
427 same array ref form that Moose.pm does
428 (has [qw/foo bar/] => (is => 'rw', ...))
429 - added test for this
431 * Moose::Meta::Attribute
432 - trigger on a ro-attribute is no longer an
433 error, as it's useful to trigger off of the
437 - added same 'add_package_symbol' fix as in
441 - does_role now handles non-Moose classes
443 - added tests for this
444 - added the 'add_method_modifier' function
445 (thanks to Takatoshi Kitano)
447 * Moose::Util::TypeConstraints
448 - subtypes of parameterizable types now are
449 themselves parameterizable types
451 * Moose::Meta::Method::Constructor
452 - fixed bug where trigger was not being
453 called by the inlined immutable
455 - added test for this (thanks to Caelum)
457 * Moose::Meta::Role::Application::ToInstance
458 - now uses the metaclass of the instance
459 (if possible) to create the anon-class
460 (thanks Jonathan Rockway)
462 * Moose::Cookbook::Recipe22
463 - added the meta-attribute trait recipe
467 - fixed hash-ordering test bug that was
468 causing occasional cpantester failures
469 - renamed the t/000_recipe/*.t tests to be
470 more descriptive (thanks to Sartak)
472 0.44 Sat. May 10, 2008
474 - made make_immutable warning cluck to
475 show where the error is (thanks mst)
478 - BUILDALL and DEMOLISHALL now call
479 ->body when looping through the
480 methods, to avoid the overloaded
482 - fixed issue where DEMOLISHALL was
483 eating the $@ values, and so not
484 working correctly, it still kind of
485 eats them, but so does vanilla perl
486 - added tests for this
488 * Moose::Cookbook::Recipe7
489 - added new recipe for immutable
490 functionality (thanks Dave Rolsky)
492 * Moose::Cookbook::Recipe9
493 - added new recipe for builder and
494 lazy_build (thanks Dave Rolsky)
496 * Moose::Cookbook::Recipe11
497 - added new recipe for method aliasing
498 and exclusion with Roles (thanks Dave Rolsky)
501 - fixed Win32 test failure (thanks spicyjack)
503 ~ removed Build.PL and Module::Build compat
504 since Module::Install has done that.
506 0.43 Wed. April, 30, 2008
508 drink more coffee before
509 doing release engineering
511 - whoops, forgot to do the smolder tests,
512 and we broke some of the custom meta-attr
513 modules. This fixes that.
515 0.42 Mon. April 28, 2008
516 - some bad tests slipped by, nothing else
517 changed in this release (cpantesters++)
519 - upped the Class::MOP dependency to 0.55
520 since we have tests which need the C3
523 0.41 Mon. April 28, 2008
524 ~~ numerous documentation updates ~~
526 - Changed all usage of die to Carp::croak for better
527 error reporting (initial patch by Tod Hagan)
530 - the make_immutable keyword is now deprecated, don't
531 use it in any new code and please fix your old code
532 as well. There will be 2 releases, and then it will
538 - refactored the way inner and super work to avoid
539 any method/@ISA cache penalty (nothingmuch)
542 - fixing &new_object to make sure trigger gets the
543 coerced value (spotted by Charles Alderman on the
545 - added test for this
547 * Moose::Meta::Method::Constructor
548 - immutable classes which had non-lazy attributes were calling
549 the default generating sub twice in the constructor. (bug
550 found by Jesse Luehrs, fixed by Dave Rolsky)
551 - added tests for this (Dave Rolsky)
552 - fix typo in initialize_body method (nothingmuch)
554 * Moose::Meta::Method::Destructor
555 - fix typo in initialize_body method (nothingmuch)
557 * Moose::Meta::Method::Overriden
558 Moose::Meta::Method::Augmented
559 - moved the logic for these into their own
560 classes (nothingmuch)
562 * Moose::Meta::Attribute
563 - inherited attributes may now be extended without
564 restriction on the type ('isa', 'does') (Sartak)
565 - added tests for this (Sartak)
566 - when an attribute property is malformed (such as lazy without
567 a default), give the name of the attribute in the error
569 - added the &applied_traits and &has_applied_traits methods
570 to allow introspection of traits
571 - added tests for this
572 - moved 'trait' and 'metaclass' argument handling to here from
574 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
575 '+foo' syntax) (nothingmuch)
576 - added tests for this (t0m)
579 - localize $@ inside DEMOLISHALL to avoid it
580 eating $@ (found by Ernesto)
581 - added test for this (thanks to Ernesto)
583 * Moose::Util::TypeConstraints
584 - &find_type_constraint now DWIMs when given an
585 type constraint object or name (nothingmuch)
586 - &find_or_create_type_constraint superseded with a number of more
588 - find_or_create_{isa,does}_type_constraint
589 - find_or_parse_type_constraint
591 * Moose::Meta::TypeConstraint
592 Moose::Meta::TypeConstraint::Class
593 Moose::Meta::TypeConstraint::Role
594 Moose::Meta::TypeConstraint::Enum
595 Moose::Meta::TypeConstraint::Union
596 Moose::Meta::TypeConstraint::Parameterized
597 - added the &equals method for comparing two type
598 constraints (nothingmuch)
599 - added tests for this (nothingmuch)
601 * Moose::Meta::TypeConstraint
602 - add the &parents method, which is just an alias to &parent.
603 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
605 * Moose::Meta::TypeConstraint::Class
606 - added the class attribute for introspection purposes
608 - added tests for this
610 * Moose::Meta::TypeConstraint::Enum
611 Moose::Meta::TypeConstraint::Role
612 - broke these out into their own classes (nothingmuch)
614 * Moose::Cookbook::Recipe*
615 - fixed references to test file locations in the POD
616 and updated up some text for new Moose features
620 - Added &resolve_metaclass_alias, a helper function for finding an actual
621 class for a short name (e.g. in the traits list)
623 0.40 Fri. March 14, 2008
624 - I hate Pod::Coverage
626 0.39 Fri. March 14, 2008
628 - documenting the use of '+name' with attributes
629 that come from recently composed roles. It makes
630 sense, people are using it, and so why not just
631 officially support it.
632 - fixing the 'extends' keyword so that it will not
633 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
636 - added the perl -Moose=+Class::Name feature to allow
637 monkeypatching of classes in one liners
640 - fixing the 'apply_all_roles' keyword so that it will not
641 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
644 - added ->create method which now supports roles (thanks to jrockway)
645 - added tests for this
646 - added ->create_anon_class which now supports roles and caching of
647 the results (thanks to jrockway)
648 - added tests for this
649 - made ->does_role a little more forgiving when it is
650 checking a Class::MOP era metaclasses.
652 * Moose::Meta::Role::Application::ToInstance
653 - it is now possible to pass extra params to be used when
654 a role is applied to an the instance (rebless_params)
655 - added tests for this
657 * Moose::Util::TypeConstraints
658 - class_type now accepts an optional second argument for a
659 custom message. POD anotated accordingly (groditi)
660 - added tests for this
661 - it is now possible to make anon-enums by passing 'enum' an
662 ARRAY ref instead of the $name => @values. Everything else
664 - added tests for this
667 - making test for using '+name' on attributes consumed
668 from a role, it works and makes sense too.
670 * Moose::Meta::Attribute
671 - fix handles so that it doesn't return nothing
672 when the method cannot be found, not sure why
673 it ever did this originally, this means we now
674 have slightly better support for AUTOLOADed
676 - added more delegation tests
677 - adding ->does method to this so as to better
678 support traits and their introspection.
679 - added tests for this
682 - localizing the Data::Dumper configurations so
683 that it does not pollute others (RT #33509)
684 - made ->does a little more forgiving when it is
685 passed Class::MOP era metaclasses.
687 0.38 Fri. Feb. 15, 2008
688 * Moose::Meta::Attribute
689 - fixed initializer to correctly do
690 type checking and coercion in the
692 - added tests for this
695 - fixed some finicky tests (thanks to konobi)
697 0.37 Thurs. Feb. 14, 2008
699 - fixed some details in Moose::init_meta
700 and its superclass handling (thanks thepler)
701 - added tests for this (thanks thepler)
702 - 'has' now dies if you don't pass in name
704 - added the 'make_immutable' keyword as a shortcut
708 Moose::Meta::Method::Constructor
709 Moose::Meta::Attribute
710 - making (init_arg => undef) work here too
711 (thanks to nothingmuch)
713 * Moose::Meta::Attribute
714 Moose::Meta::Method::Constructor
715 Moose::Meta::Method::Accessor
716 - make lazy attributes respect attr initializers (rjbs)
717 - added tests for this
719 * Moose::Util::TypeConstraints
720 Moose::Util::TypeConstraints::OptimizedConstraints
721 Moose::Meta::TypeConstraints
722 Moose::Meta::Attribute
723 Moose::Meta::Method::Constructor
724 Moose::Meta::Method::Accessor
725 - making type errors use the
726 assigned message (thanks to Sartak)
727 - added tests for this
729 * Moose::Meta::Method::Destructor
730 - making sure DESTROY gets inlined properly
731 with successive DEMOLISH calls (thanks to manito)
733 * Moose::Meta::Attribute
734 Moose::Meta::Method::Accessor
735 - fixed handling of undef with type constraints
737 - added tests for this
740 - added &get_all_init_args and &get_all_attribute_values
741 (thanks to Sartak and nothingmuch)
743 0.36 Sat. Jan. 26, 2008
745 Moose::Meta::Attribute
746 - role type tests now support when roles are
747 applied to non-Moose classes (found by ash)
748 - added tests for this (thanks to ash)
749 - couple extra tests to boost code coverage
751 * Moose::Meta::Method::Constructor
752 - improved fix for handling Class::MOP attributes
753 - added test for this
756 - handled the add_attribute($attribute_meta_object)
758 - added test for this
760 0.35 Tues. Jan. 22, 2008
761 * Moose::Meta::Method::Constructor
762 - fix to make sure even Class::MOP attributes
763 are handled correctly (Thanks to Dave Rolsky)
764 - added test for this (also Dave Rolsky)
767 - improved error message on _apply_all_roles,
768 you should now use Moose::Util::apply_all_roles
769 and you shouldnt have been using a _ prefixed
770 method in the first place ;)
772 0.34 Mon. Jan. 21, 2008
773 ~~~ more misc. doc. fixes ~~~
774 ~~ updated copyright dates ~~
776 Moose is now a postmodern object system :)
777 - (see the POD for details)
779 * <<Role System Refactoring>>
780 - this release contains a major reworking and
781 cleanup of the role system
782 - 100% backwards compat.
783 - Role application now restructured into seperate
784 classes based on type of applicants
785 - Role summation (combining of more than one role)
786 is much cleaner and anon-classes are no longer
788 - new Composite role metaclass
789 - runtime application of roles to instances
790 is now more efficient and re-uses generated
791 classes when applicable
793 * <<New Role composition features>>
794 - methods can now be excluded from a given role
796 - methods can now be aliased to another name (and
797 still retain the original as well)
799 * Moose::Util::TypeConstraints::OptimizedConstraints
800 - added this module (see above)
803 - fixed the &_process_attribute method to be called
804 by &add_attribute, so that the API is now correct
806 * Moose::Meta::Method::Accessor
807 - fixed bug when passing a list of values to
808 an accessor would get (incorrectly) ignored.
809 Thanks to Sartak for finding this ;)
810 - added tests for this (Sartak again)
812 * Moose::Meta::Method::Accessor
813 Moose::Meta::Method::Constructor
814 Moose::Meta::Attribute
815 Moose::Meta::TypeConstraint
816 Moose::Meta::TypeCoercion
817 - lots of cleanup of such things as:
819 - type constraint handling
820 - error handling/messages
821 (thanks to nothingmuch)
823 * Moose::Meta::TypeConstraint::Parameterizable
824 - added this module to support the refactor
825 in Moose::Meta::TypeConstraint::Parameterized
827 * Moose::Meta::TypeConstraint::Parameterized
828 - refactored how these types are handled so they
829 are more generic and not confined to ArrayRef
833 - shortened some file names for better VMS support (RT #32381)
835 0.33 Fri. Dec. 14, 2007
836 !! Moose now loads 2 x faster !!
837 !! with new Class::MOP 0.49 !!
839 ++ new oose.pm module to make command line
840 Moose-ness easier (see POD docs for more)
844 - several tweaks to take advantage of the
845 new method map caching in Class::MOP
847 * Moose::Meta::TypeConstraint::Parameterized
848 - allow subtypes of ArrayRef and HashRef to
849 be used as a container (sartak)
850 - added tests for this
851 - basic support for coercion to ArrayRef and
852 HashRef for containers (sartak)
853 - added tests for this
855 * Moose::Meta::TypeCoercion
856 - coercions will now create subtypes as needed
857 so you can now add coercions to parameterized
858 types without having to explictly define them
859 - added tests for this
861 * Moose::Meta::Method::Accessor
862 - allow subclasses to decide whether we need
863 to copy the value into a new variable (sartak)
865 0.32 Tues. Dec. 4, 2007
866 * Moose::Util::TypeConstraints
867 - fixing how subtype aliases of unions work
868 they should inherit the parent's coercion
869 - added tests for this
870 - you can now define multiple coercions on
871 a single type at different times instead of
872 having to do it all in one place
873 - added tests for this
875 * Moose::Meta::TypeConstraint
876 - there is now a default constraint of sub { 1 }
877 instead of Moose::Util::TypeConstraints setting
880 * Moose::Meta::TypeCoercion
881 * Moose::Meta::TypeCoercion::Union
882 - added the &has_coercion_for_type and
883 &add_type_coercions methods to support the
884 new features above (although you cannot add
885 more type coercions for Union types)
887 0.31 Mon. Nov. 26, 2007
888 * Moose::Meta::Attribute
889 - made the +attr syntax handle extending types with
890 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
891 now works if the original foo is an ArrayRef.
892 - added tests for this.
893 - delegation now works even if the attribute does not
894 have a reader method using the get_read_method_ref
895 method from Class::MOP::Attribute.
896 - added tests for this
897 - added docs for this
899 * Moose::Util::TypeConstraints
900 - passing no "additional attribute info" to
901 &find_or_create_type_constraint will no longer
902 attempt to create an __ANON__ type for you,
903 instead it will just return undef.
904 - added docs for this
906 0.30 Fri. Nov. 23, 2007
907 * Moose::Meta::Method::Constructor
908 -builder related bug in inlined constructor. (groditi)
910 * Moose::Meta::Method::Accessor
911 - genereate unnecessary calls to predicates and refactor
912 code generation for runtime speed (groditi)
914 * Moose::Util::TypeConstraints
915 - fix ClassName constraint to introspect symbol table (mst)
916 - added more tests for this (mst)
917 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
919 - added tests for this
922 - adding the link to Recipie 11 (written by Sartak)
923 - adding test for SYNOPSIS code
926 - New tests for builder bug. Upon instantiation, if an
927 attribute had a builder, no value and was not lazy the
928 builder default was not getting run, oops. (groditi)
930 0.29 Tues. Nov. 13, 2007
931 * Moose::Meta::Attribute
932 - Fix error message on missing builder method (groditi)
934 * Moose::Meta::Method::Accessor
935 - Fix error message on missing builder method (groditi)
938 - Add test to check for the correct error message when
939 builder method is missing (groditi)
941 0.28 Tues. Nov. 13, 2007
942 - 0.27 packaged incorrectly (groditi)
944 0.27 Tues. Nov. 13, 2007
945 * Moose::Meta::Attribute
946 - Added support for the new builder option (groditi)
947 - Added support for lazy_build option (groditi)
948 - Changed slot initialization for predicate changes (groditi)
950 * Moose::Meta::Method::Accessor
951 - Added support for lazy_build option (groditi)
952 - Fix inline methods to work with corrected predicate
955 * Moose::Meta::Method::Constructor
956 - Added support for lazy_build option (groditi)
959 - tests for builder and lazy_build (groditi)
961 * fixing some misc. bits in the docs that
962 got mentioned on CPAN Forum & perlmonks
965 - fixed how required methods are handled
966 when they encounter overriden or modified
967 methods from a class (thanks to confound).
968 - added tests for this
970 * Moose::Util::TypeConstraint
971 - fixed the type notation parser so that
972 the | always creates a union and so is
973 no longer a valid type char (thanks to
974 konobi, mugwump and #moose for working
976 - added more tests for this
978 0.26 Thurs. Sept. 27, 2007
981 * Parameterized Types
982 We now support parameterized collection types, such as:
983 ArrayRef[Int] # array or integers
984 HashRef[Object] # a hash with object values
985 They can also be nested:
986 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
987 And work with the type unions as well:
988 ArrayRef[Int | Str] # array of integers of strings
990 * Better Framework Extendability
991 Moose.pm is now "extendable" such that it is now much
992 easier to extend the framework and add your own keywords
993 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
994 section of the Moose.pm docs.
997 In an effort to begin documenting some of the various
998 details of Moose as well as some common idioms, we have
999 created Moose::Cookbook::Snacks as a place to find
1000 small (easily digestable) nuggets of Moose code.
1003 ~ Several doc updates/cleanup thanks to castaway ~
1005 - converted build system to use Module::Install instead of
1006 Module::Build (thanks to jrockway)
1009 - added all the meta classes to the immutable list and
1010 set it to inline the accessors
1011 - fix import to allow Sub::Exporter like { into => }
1012 and { into_level => } (perigrin)
1013 - exposed and documented init_meta() to allow better
1014 embedding and extending of Moose (perigrin)
1017 - complete re-organization of the test suite
1018 - added some new tests as well
1019 - finally re-enabled the Moose::POOP test since
1020 the new version of DBM::Deep now works again
1023 * Moose::Meta::Class
1024 - fixed very odd and very nasty recursion bug with
1026 - added tests for this (eilara)
1028 * Moose::Meta::Attribute
1029 Moose::Meta::Method::Constructor
1030 Moose::Meta::Method::Accessor
1031 - fixed issue with overload::Overloaded getting called
1032 on non-blessed items. (RT #29269)
1033 - added tests for this
1035 * Moose::Meta::Method::Accessor
1036 - fixed issue with generated accessor code making
1037 assumptions about hash based classes (thanks to dexter)
1039 * Moose::Coookbook::Snacks
1040 - these are bits of documentation, not quite as big as
1041 Recipes but which have no clear place in the module docs.
1042 So they are Snacks! (horray for castaway++)
1044 * Moose::Cookbook::Recipe4
1045 - updated it to use the new ArrayRef[MyType] construct
1046 - updated the accompanying test as well
1048 +++ Major Refactor of the Type Constraint system +++
1049 +++ with new features added as well +++
1051 * Moose::Util::TypeConstraint
1052 - no longer uses package variable to keep track of
1053 the type constraints, now uses the an instance of
1054 Moose::Meta::TypeConstraint::Registry to do it
1055 - added more sophisticated type notation parsing
1057 - added tests for this
1059 * Moose::Meta::TypeConstraint
1060 - some minor adjustments to make subclassing easier
1061 - added the package_defined_in attribute so that we
1062 can track where the type constraints are created
1064 * Moose::Meta::TypeConstraint::Union
1065 - this is now been refactored to be a subclass of
1066 Moose::Meta::TypeConstraint
1068 * Moose::Meta::TypeCoercion::Union
1069 - this has been added to service the newly refactored
1070 Moose::Meta::TypeConstraint::Union and is itself
1071 a subclass of Moose::Meta::TypeCoercion
1073 * Moose::Meta::TypeConstraint::Parameterized
1074 - added this module (taken from MooseX::AttributeHelpers)
1075 to help construct nested collection types
1076 - added tests for this
1078 * Moose::Meta::TypeConstraint::Registry
1079 - added this class to keep track of type constraints
1081 0.25 Mon. Aug. 13, 2007
1083 - Documentation update to reference Moose::Util::TypeConstraints
1084 under 'isa' in 'has' for how to define a new type
1085 (thanks to shlomif).
1087 * Moose::Meta::Attribute
1088 - required attributes now will no longer accept undef
1089 from the constructor, even if there is a default and lazy
1090 - added tests for this
1091 - default subroutines must return a value which passes the
1093 - added tests for this
1095 * Moose::Meta::Attribute
1096 * Moose::Meta::Method::Constructor
1097 * Moose::Meta::Method::Accessor
1098 - type-constraint tests now handle overloaded objects correctly
1099 in the error message
1100 - added tests for this (thanks to EvanCarroll)
1102 * Moose::Meta::TypeConstraint::Union
1103 - added (has_)hand_optimized_constraint to this class so that
1104 it behaves as the regular Moose::Meta::TypeConstraint does.
1107 - large refactoring of this code
1108 - added several more tests
1109 - tests for subtle conflict resolition issues
1110 added, but not currently running
1113 * Moose::Cookbook::Recipe7
1114 - added new recipe for augment/inner functionality
1116 - added test for this
1119 - a formal definition of roles (still in progress)
1122 - utilities for easier working with Moose classes
1123 - added tests for these
1126 - This contains Moose specific test functions
1127 - added tests for these
1129 0.24 Tues. July 3, 2007
1130 ~ Some doc updates/cleanup ~
1132 * Moose::Meta::Attribute
1133 - added support for roles to be given as parameters
1134 to the 'handles' option.
1135 - added tests and docs for this
1136 - the has '+foo' attribute form now accepts changes to
1137 the lazy option, and the addition of a handles option
1138 (but not changing the handles option)
1139 - added tests and docs for this
1142 - required methods are now fetched using find_method_by_name
1143 so that required methods can come from superclasses
1144 - adjusted tests for this
1146 0.23 Mon. June 18, 2007
1147 * Moose::Meta::Method::Constructor
1148 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1149 * Moose::Meta::Class
1150 - Modify make_immutable to work with the new Class::MOP immutable
1151 mechanism + POD + very basic test (groditi)
1152 * Moose::Meta::Attribute
1153 - Fix handles to use goto() so that caller() comes out properly on
1154 the other side (perigrin)
1156 0.22 Thurs. May 31, 2007
1157 * Moose::Util::TypeConstraints
1158 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1159 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1160 prototypes for functions
1161 - added the ClassName type constraint, this checks for strings
1162 which will respond true to ->isa(UNIVERSAL).
1163 - added tests and docs for this
1164 - subtyping just in name now works correctly by making the
1165 default for where be { 1 }
1166 - added test for this
1168 * Moose::Meta::Method::Accessor
1169 - coerce and lazy now work together correctly, thanks to
1170 merlyn for finding this bug
1171 - tests added for this
1172 - fix reader presedence bug in Moose::Meta::Attribute + tests
1175 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1176 a HASH-ref and missed. This produces better error messages then
1177 having it die cause undef is not a HASH.
1178 - added tests for this
1180 0.21 Thursday, May 2nd, 2007
1182 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1183 - modified unimport to remove super and inner along with the rest
1184 - altered unimport tests to handle this
1187 - altered super export to populate SUPER_SLOT
1189 * Moose::Meta::Class
1190 - altered augment and override modifier application to use *_SLOT
1191 - modified tests for these to unimport one test class each to test
1194 - fixed issue where custom attribute metaclasses
1195 where not handled correctly in roles
1196 - added tests for this
1198 * Moose::Meta::Class
1199 - fixed issue where extending metaclasses with
1200 roles would blow up. Thanks to Aankhen`` for
1201 finding this insidious error, and it's solution.
1203 ~~ lots of spelling and grammer fixes in the docs,
1204 many many thanks to rlb3 and Aankhen for these :)
1206 0.20 Friday, April 6th, 2007
1207 >> I messed up the SKIP logic in one test
1208 so this release is just to fix that.
1211 - 'has' now also accepts an ARRAY ref
1212 to create multiple attrs (see docs)
1213 (thanks to konobi for this)
1214 - added tests and docs
1216 0.19 Thurs. April 5th, 2007
1217 ~~ More documentation updates ~~
1219 * Moose::Util::TypeConstraints
1220 - 'type' now supports messages as well
1221 thanks to phaylon for finding this
1222 - added tests for this
1223 - added &list_all_type_constraints and
1224 &list_all_builtin_type_constraints
1225 functions to facilitate introspection.
1227 * Moose::Meta::Attribute
1228 - fixed regexp 'handles' declarations
1229 to build the list of delegated methods
1230 correctly (and not override important
1231 things like &new) thanks to ashleyb
1233 - added tests and docs for this
1234 - added the 'documentation' attributes
1235 so that you can actually document your
1236 attributes and inspect them through the
1238 - added tests and docs for this
1240 * Moose::Meta::Class
1241 - when loading custom attribute metaclasses
1242 it will first look in for the class in the
1243 Moose::Meta::Attribute::Custom::$name, and
1244 then default to just loading $name.
1245 - added tests and docs for this
1247 * Moose::Meta::TypeConstraint
1248 - type constraints now stringify to their names.
1249 - added test for this
1252 - added tests to assure we work with Module::Refresh
1253 - added stricter test skip logic in the Moose POOP
1254 test, ask Rob Kinyon why.
1255 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
1257 0.18 Sat. March 10, 2007
1258 ~~ Many, many documentation updates ~~
1261 - We now use Class::MOP::load_class to
1263 - added tests to show types and subtypes
1264 working with Declare::Constraints::Simple
1265 and Test::Deep as constraint engines.
1268 !! You must have Class::MOP 0.37_001 !!
1269 !! for this developer release to work !!
1271 This release was primarily adding the immutable
1272 feature to Moose. An immutable class is one which
1273 you promise not to alter. When you set the class
1274 as immutable it will perform various bits of
1275 memoization and inline certain part of the code
1276 (constructors, destructors and accessors). This
1277 minimizes (and in some cases totally eliminates)
1278 one of Moose's biggest performance hits. This
1279 feature is not on by default, and is 100% optional.
1280 It has several configurable bits as well, so you
1281 can pick and choose to your specific needs.
1283 The changes involved in this were fairly wide and
1284 highly specific, but 100% backwards compatible, so
1285 I am not going to enumerate them here. If you are
1286 truely interested in what was changed, please do
1289 0.17 Tues. Nov. 14, 2006
1290 * Moose::Meta::Method::Accessor
1291 - bugfix for read-only accessors which
1292 are have a type constraint and lazy.
1293 Thanks to chansen for finding it.
1295 0.16 Tues. Nov. 14, 2006
1297 There are some speed improvements in this release,
1298 but they are only the begining, so stay tuned.
1301 - BUILDALL and DEMOLISHALL no longer get
1302 called unless they actually need to be.
1303 This gave us a signifigant speed boost
1304 for the cases when there is no BUILD or
1305 DEMOLISH method present.
1307 * Moose::Util::TypeConstraints
1308 * Moose::Meta::TypeConstraint
1309 - added an 'optimize_as' option to the
1310 type constraint, which allows for a
1311 hand optimized version of the type
1312 constraint to be used when possible.
1313 - Any internally created type constraints
1314 now provide an optimized version as well.
1316 0.15 Sun. Nov. 5, 2006
1318 This version of Moose *must* have Class::MOP 0.36 in order
1319 to work correctly. A number of small internal tweaks have
1320 been made in order to be compatible with that release.
1322 * Moose::Util::TypeConstraints
1323 - added &unimport so that you can clean out
1324 your class namespace of these exported
1327 * Moose::Meta::Class
1328 - fixed minor issue which occasionally
1329 comes up during global destruction
1331 - moved Moose::Meta::Method::Overriden into
1335 - moved Moose::Meta::Role::Method into
1338 * Moose::Meta::Attribute
1339 - changed how we do type checks so that
1340 we reduce the overall cost, but still
1343 - moved accessor generation methods to
1344 Moose::Meta::Method::Accessor to
1345 conform to the API changes from
1348 * Moose::Meta::TypeConstraint
1349 - changed how constraints are compiled
1350 so that we do less recursion and more
1351 iteration. This makes the type check
1353 - moved Moose::Meta::TypeConstraint::Union
1356 * Moose::Meta::Method::Accessor
1357 - created this from methods formerly found in
1358 Moose::Meta::Attribute
1360 * Moose::Meta::Role::Method
1361 - moved this from Moose::Meta::Role
1363 * Moose::Meta::Method::Overriden
1364 - moved this from Moose::Meta::Class
1366 * Moose::Meta::TypeConstraint::Union
1367 - moved this from Moose::Meta::TypeConstraint
1369 0.14 Mon. Oct. 9, 2006
1371 * Moose::Meta::Attribute
1372 - fixed lazy attributes which were not getting
1373 checked with the type constraint (thanks ashley)
1374 - added tests for this
1375 - removed the over-enthusiastic DWIMery of the
1376 automatic ArrayRef and HashRef defaults, it
1377 broke predicates in an ugly way.
1378 - removed tests for this
1380 0.13 Sat. Sept. 30, 2006
1382 This version of Moose *must* have Class::MOP 0.35 in order
1383 to work correctly. A number of small internal tweaks have
1384 been made in order to be compatible with that release.
1387 - Removed the use of UNIVERSAL::require to be a better
1388 symbol table citizen and remove a dependency
1389 (thanks Adam Kennedy)
1391 **~~ removed experimental & undocumented feature ~~**
1392 - commented out the 'method' and 'self' keywords, see the
1393 comments for more info.
1396 - added a FAQ and WTF files to document frequently
1397 asked questions and common problems
1399 * Moose::Util::TypeConstraints
1400 - added GlobRef and FileHandle type constraint
1401 - added tests for this
1403 * Moose::Meta::Attribute
1404 - if your attribute 'isa' ArrayRef of HashRef, and you have
1405 not explicitly set a default, then make the default DWIM.
1406 This will also work for subtypes of ArrayRef and HashRef
1408 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1409 - new test added for this (thanks to ashley)
1412 - added basic support for runtime role composition
1413 but this is still *highly experimental*, so feedback
1414 is much appreciated :)
1415 - added tests for this
1417 * Moose::Meta::TypeConstraint
1418 - the type constraint now handles the coercion process
1419 through delegation, this is to support the coercion
1422 * Moose::Meta::TypeConstraint::Union
1423 - it is now possible for coercions to be performed
1425 - added tests for this (thanks to konobi)
1427 * Moose::Meta::TypeCoercion
1428 - properly capturing error when type constraint
1432 - Scalar::Util 1.18 is bad on Win32, so temporarily
1433 only require version 1.17 for Win32 and cygwin.
1434 (thanks Adam Kennedy)
1436 0.12 Sat. Sept. 1, 2006
1438 - Recipe5 (subtypes & coercion) has been written
1441 - fixed "bad meta" error message to be more descriptive
1442 - fixed &unimport to not remove the &inner and &super
1443 keywords because we need to localize them.
1444 - fixed number of spelling/grammer issues, thanks Theory :)
1446 **~~ experimental & undocumented feature ~~**
1447 - added the method and self keywords, they are basically
1448 just sugar, and they may not stay around.
1451 - added &dump method to easily Data::Dumper
1454 * Moose::Meta::TypeConstraint
1455 - added the &is_a_type_of method to check both the current
1456 and the subtype of a method (similar to &isa with classes)
1459 - this is now a subclass of Class::MOP::Module, and no longer
1460 creates the _role_meta ugliness of before.
1461 - fixed tests to reflect this change
1463 0.11 Wed. July 12, 2006
1465 - added an &unimport method to remove all the keywords
1466 that Moose will import, simply add 'no Moose' to the
1467 bottom of your class file.
1470 - fixed some test failures caused by a forgotten test
1473 0.10 Thurs. July 6, 2006
1475 - improved error message when loading modules so
1476 it is less confusing when you load a role.
1477 - added &calculate_all_roles method to
1478 Moose::Meta::Class and Moose::Meta::Role
1481 This module has been tested against Class::MOP 0.30
1482 but it does not yet utilize the optimizations
1483 it makes available. Stay tuned for that ;)
1485 0.09_03 Fri. June 23, 2006
1486 ++ DEVELOPER RELEASE ++
1488 - 'use strict' and 'use warnings' are no longer
1489 needed in Moose classes, Moose itself will
1490 turn them on for you.
1491 - added tests for this
1492 - moved code from exported subs to private methods
1493 in Moose::Meta::Class
1496 - as with Moose, strict and warnings are
1497 automatically turned on for you.
1498 - added tests for this
1501 - now handles an edge case for override errors
1502 - added tests for this
1503 - added some more edge case tests
1505 0.09_02 Tues. May 16, 2006
1506 ++ DEVELOPER RELEASE ++
1508 - added prototypes to the exported subs
1512 - added prototypes to the exported subs
1515 * Moose::Util::TypeConstraints
1516 - cleaned up prototypes for the subs
1519 0.09_01 Fri. May 12, 2006
1520 ++ DEVELOPER RELEASE ++
1521 - This release works in combination with
1522 Class::MOP 0.29_01, it is a developer
1523 release because it uses the a new
1524 instance sub-protocol and a fairly
1525 complete Role implementation. It has
1526 not yet been optimized, so it slower
1527 the the previous CPAN version. This
1528 release also lacks good updated docs,
1529 the official release will have updated docs.
1532 - refactored the keyword exports
1533 - 'with' now checks Role validaity and
1534 accepts more than one Role at a time
1535 - 'extends' makes metaclass adjustments as
1536 needed to ensure metaclass compatability
1539 - refactored the keyword exports
1540 - 'with' now checks Role validaity and
1541 accepts more than one Role at a time
1543 * Moose::Util::TypeConstraints
1544 - added the 'enum' keyword for simple
1545 string enumerations which can be used as
1547 - see example of usage in t/202_example.t
1550 - more careful checking of params to new()
1553 - much work done on the role composition
1554 - many new tests for conflict detection
1555 and composition edge cases
1556 - not enough documentation, I suggest
1557 looking at the tests
1559 * Moose::Meta::Instance
1560 - added new Instance metaclass to support
1561 the new Class::MOP instance protocol
1563 * Moose::Meta::Class
1564 - some small changes to support the new
1566 - some small additions to support Roles
1568 * Moose::Meta::Attribute
1569 - some improvements to the accessor generation code
1571 - some small changes to support the new
1573 - (still somewhat) experimental delegation support
1574 with the 'handles' option
1575 - added several tests for this
1576 - no docs for this yet
1578 0.05 Thurs. April 27, 2006
1580 - keywords are now exported with Sub::Exporter
1581 thanks to chansen for this commit
1582 - has keyword now takes a 'metaclass' option
1583 to support custom attribute meta-classes
1584 on a per-attribute basis
1585 - added tests for this
1586 - the 'has' keyword not accepts inherited slot
1587 specifications (has '+foo'). This is still an
1588 experimental feature and probably not finished
1589 see t/038_attribute_inherited_slot_specs.t for
1590 more details, or ask about it on #moose
1591 - added tests for this
1594 - keywords are now exported with Sub::Exporter
1596 * Moose::Utils::TypeConstraints
1597 - reorganized the type constraint hierarchy, thanks
1598 to nothingmuch and chansen for his help and advice
1600 - added some tests for this
1601 - keywords are now exported with Sub::Exporter
1602 thanks to chansen for this commit
1604 * Moose::Meta::Class
1605 - due to changes in Class::MOP, we had to change
1606 construct_instance (for the better)
1608 * Moose::Meta::Attribute
1609 - due to changes in Class::MOP, we had to add the
1610 initialize_instance_slot method (it's a good thing)
1612 * Moose::Meta::TypeConstraint
1613 - added type constraint unions
1614 - added tests for this
1615 - added the is_subtype_of predicate method
1616 - added tests for this
1618 0.04 Sun. April 16th, 2006
1620 - Roles can now consume other roles
1621 - added tests for this
1622 - Roles can specify required methods now with
1623 the requires() keyword
1624 - added tests for this
1627 - ripped out much of it's guts ,.. much cleaner now
1628 - added required methods and correct handling of
1629 them in apply() for both classes and roles
1630 - added tests for this
1631 - no longer adds a does() method to consuming classes
1632 it relys on the one in Moose::Object
1633 - added roles attribute and some methods to support
1634 roles consuming roles
1636 * Moose::Meta::Attribute
1637 - added support for triggers on attributes
1638 - added tests for this
1639 - added support for does option on an attribute
1640 - added tests for this
1642 * Moose::Meta::Class
1643 - added support for attribute triggers in the
1645 - added tests for this
1648 - Moose no longer creates a subtype for your class
1649 if a subtype of the same name already exists, this
1650 should DWIM in 99.9999% of all cases
1652 * Moose::Util::TypeConstraints
1653 - fixed bug where incorrect subtype conflicts were
1655 - added test for this
1658 - this class can now be extended with 'use base' if
1659 you need it, it properly loads the metaclass class now
1660 - added test for this
1662 0.03_02 Wed. April 12, 2006
1664 - you must now explictly use Moose::Util::TypeConstraints
1665 it no longer gets exported for you automatically
1668 - new() now accepts hash-refs as well as key/value lists
1669 - added does() method to check for Roles
1670 - added tests for this
1672 * Moose::Meta::Class
1673 - added roles attribute along with the add_role() and
1675 - added tests for this
1678 - now adds a does() method to consuming classes
1679 which tests the class's hierarchy for roles
1680 - added tests for this
1682 0.03_01 Mon. April 10, 2006
1684 - added new Role recipe (no content yet, only code)
1687 - added 'with' keyword for Role support
1688 - added test and docs for this
1689 - fixed subtype quoting bug
1690 - added test for this
1694 - added test and docs
1696 * Moose::Util::TypeConstraints
1697 - added the message keyword to add custom
1698 error messages to type constraints
1701 - the meta role to support Moose::Role
1702 - added tests and docs
1704 * Moose::Meta::Class
1705 - moved a number of things from Moose.pm
1706 to here, they should have been here
1709 * Moose::Meta::Attribute
1710 - moved the attribute option macros here
1711 instead of putting them in Moose.pm
1713 * Moose::Meta::TypeConstraint
1714 - added the message attributes and the
1716 - added tests and docs for this
1718 0.03 Thurs. March 30, 2006
1720 - added the Moose::Cookbook with 5 recipes,
1721 describing all the stuff Moose can do.
1724 - fixed an issue with &extends super class loading
1725 it now captures errors and deals with inline
1726 packages correctly (bug found by mst, solution
1728 - added super/override & inner/augment features
1729 - added tests and docs for these
1732 - BUILDALL now takes a reference of the %params
1733 that are passed to &new, and passes that to
1736 * Moose::Util::TypeConstraints
1737 - Type constraints now survive runtime reloading
1738 - added test for this
1740 * Moose::Meta::Class
1741 - fixed the way attribute defaults are handled
1742 during instance construction (bug found by chansen)
1744 * Moose::Meta::Attribute
1745 - read-only attributes now actually enforce their
1746 read-only-ness (this corrected in Class::MOP as
1749 0.02 Tues. March 21, 2006
1751 - many more tests, fixing some bugs and
1753 - &extends now loads the base module with
1755 - added UNIVERSAL::require to the
1758 - each new Moose class will also create
1759 and register a subtype of Object which
1760 correspond to the new Moose class.
1761 - the 'isa' option in &has now only
1762 accepts strings, and will DWIM in
1765 * Moose::Util::TypeConstraints
1766 - added type coercion features
1767 - added tests for this
1768 - added support for this in attributes
1769 and instance construction
1771 - type construction no longer creates a
1772 function, it registers the type instead.
1773 - added several functions to get the
1777 - BUILDALL and DEMOLISHALL were broken
1778 because of a mis-named hash key, Whoops :)
1780 * Moose::Meta::Attribute
1781 - adding support for coercion in the
1782 autogenerated accessors
1784 * Moose::Meta::Class
1785 - adding support for coercion in the
1786 instance construction
1788 * Moose::Meta::TypeConstraint
1789 * Moose::Meta::TypeCoercion
1790 - type constraints and coercions are now
1791 full fledges meta-objects
1793 0.01 Wed. March 15, 2006
1794 - Moooooooooooooooooose!!!