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)
18 - From this release on, we'll try to maintain a list of
19 conflicting modules, and warn you if you have one
20 installed. For example, this release conflicts with ...
21 - MooseX::Singleton <= 0.11
22 - MooseX::Params::Validate <= 0.05
25 In general, we try to not break backwards compatibility for
26 most Moose users, but MooseX modules and other code which
27 extends Moose's metaclasses is often affected by very small
28 changes in the Moose internals.
30 * Moose::Meta::Method::Delegation
31 * Moose::Meta::Attribute
32 - Delegation methods now have their own method class. (Dave
35 * Moose::Meta::TypeConstraint::Parameterizable
36 - Added a new method 'parameterize' which is basically a factory
37 for the containing constraint. This makes it easier to create
38 new types of parameterized constraints. (jnapiorkowski)
40 * Moose::Meta::TypeConstraint::Union
41 - Changed the way Union types canonicalize their names to follow
42 the normalized TC naming rules, which means we strip all
43 whitespace. (jnapiorkowski)
45 * Moose::Util::TypeConstraints
46 - Parameter and Union args are now sorted, this makes Int|Str
47 the same constraint as Str|Int. (jnapiorkowski)
48 - Changes to the way Union types are parsed to more correctly
49 stringify their names. (jnapiorkowski)
50 - When creating a parameterized type, we now use the new
51 parameterize method. (jnapiorkowski)
52 - Incoming type constraint strings are now normalized to remove
53 all whitespace differences. (jnapiorkowski)
54 - Changed the way we parse type constraint strings so that we now
55 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
56 constraints. This lays the foundation for more flexible type
57 constraint implementations.
59 * Tests and docs for all the above. (jnapiorkowski)
63 - Moose::Exporter will no longer remove a subroutine that the
64 exporting package re-exports. Moose re-exports the
65 Carp::confess function, among others. The reasoning is that we
66 cannot know whether you have also explicitly imported those
67 functions for your own use, so we err on the safe side and
68 always keep them. (Dave Rolsky)
69 - added tests for this (rafl)
72 - Changes to how we fix metaclass compatibility that are much
73 too complicated to go into. The summary is that Moose is much
74 less likely to complain about metaclass incompatibility
75 now. In particular, if two metaclasses differ because
76 Moose::Util::MetaRole was used on the two corresponding
77 classes, then the difference in roles is reconciled for the
78 subclass's metaclass. (Dave Rolsky)
79 - Squashed an warning in _process_attribute (thepler)
82 - throw exceptions (sooner) for invalid attribute names (thepler)
83 - added tests for this (thepler)
85 * Moose::Util::MetaRole
86 - If you explicitly set a constructor or destructor class for a
87 metaclass object, and then applied roles to the metaclass,
88 that explicitly set class would be lost and replaced with the
92 * Moose::Meta::Attribute
96 * Moose::Error::Default
98 * Moose::Error::Confess
99 - All instances of confess() changed with an overridable C<throw_error>
100 that leads to the metaclass, with additional parameters (not just an
101 error string). This allows per class custom errors using the
102 C<error_class> metaclass attribute.
103 The default C<error_class> behaves like C<confess>.
105 0.57 Wed September 3, 2008
107 - A new bit of doc intended to introduce folks familiar with
108 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
111 - Shows examples of two classes, each done first with and then
112 without Moose. This makes a nice parallel to
113 Moose::Intro. (Dave Rolsky)
115 * Moose::Util::TypeConstraints
116 - Fixed a bug in find_or_parse_type_constraint so that it
117 accepts a Moose::Meta::TypeConstraint object as the parent
118 type, not just a name (jnapiorkowski)
119 - added tests (jnapiorkowski)
122 - If Sub::Name was not present, unimporting failed to actually
123 remove some sugar subs, causing test failures (Dave Rolsky)
125 0.56 Mon September 1, 2008
126 For those not following the series of dev releases, there are
127 several major changes in this release of Moose.
128 ! Moose::init_meta should now be called as a method. See the
131 - Major performance improvements by nothingmuch.
133 - New modules for extension writers, Moose::Exporter and
134 Moose::Util::MetaRole by Dave Rolsky.
136 - Lots of doc improvements and additions, especially in the
141 * Removed all references to the experimental-but-no-longer-needed
142 Moose::Meta::Role::Application::ToMetaclassInstance.
144 * Require Class::MOP 0.65.
146 0.55_04 Sat August 30, 2008
147 * Moose::Util::MetaRole
148 * Moose::Cookbook::Extending::Recipe2
149 - This simplifies the application of roles to any meta class, as
150 well as the base object class. Reimplemented metaclass traits
151 using this module. (Dave Rolsky)
153 * Moose::Cookbook::Extending::Recipe1
154 - This a new recipe, an overview of various ways to write Moose
155 extensions (Dave Rolsky)
157 * Moose::Cookbook::Extending::Recipe3
158 * Moose::Cookbook::Extending::Recipe4
159 - These used to be Extending::Recipe1 and Extending::Recipe2,
162 0.55_03 Fri August 29, 2008
163 * No changes from 0.55_02 except increasing the Class::MOP
164 dependency to 0.64_07.
166 0.55_02 Fri August 29, 2008
167 * Makefile.PL and Moose.pm
168 - explicitly require Perl 5.8.0+ (Dave Rolsky)
170 * Moose::Util::TypeConstraints
171 - Fix warnings from find_type_constraint if the type is not
174 * Moose::Meta::TypeConstraint
175 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
176 return false if the type you specify cannot be found in the
177 type registry, rather than throwing an unhelpful and
178 coincidental exception. (t0m).
179 - added docs & test for this (t0m)
181 * Moose::Meta::TypeConstraint::Registry
182 - add_type_constraint now throws an exception if a parameter is
184 - added docs & test for this (t0m)
186 * Moose::Cookbook::FAQ
187 - Added a faq entry on the difference between "role" and "trait"
191 - Fixed a bug that caused role composition to not see a required
192 method when that method was provided by another role being
193 composed at the same time. (Dave Rolsky)
194 - test and bug finding (tokuhirom)
196 0.55_01 Wed August 20, 2008
198 !! Calling Moose::init_meta as a function is now !!
199 !! deprecated. Please see the Moose.pm docs for details. !!
201 * Moose::Meta::Method::Constructor
202 - Fix inlined constructor so that values produced by default
203 or builder methods are coerced as required. (t0m)
204 - added test for this (t0m)
206 * Moose::Meta::Attribute
207 - A lazy attribute with a default or builder did not attempt to
208 coerce the default value. The immutable code _did_
210 - added test for this (t0m)
213 - This is a new helper module for writing "Moose-alike"
214 modules. This should make the lives of MooseX module authors
215 much easier. (Dave Rolsky)
218 * Moose::Cookbook::Meta::Recipe5
219 - Implemented metaclass traits (and wrote a recipe for it):
221 use Moose -traits => 'Foo'
223 This should make writing small Moose extensions a little
226 * Moose::Cookbook::Basics::Recipe1
227 - Removed any examples of direct hashref access, and applied an
228 editorial axe to reduce verbosity. (Dave Rolsky)
230 * Moose::Cookbook::Basics::Recipe1
231 - Also applied an editorial axe here. (Dave Rolsky)
234 * Moose::Cookbook::Extending::Recipe1
235 * Moose::Cookbook::Extending::Recipe2
236 - Rewrote extending and embedding moose documentation and
237 recipes to use Moose::Exporter (Dave Rolsky)
241 - These two modules now warn when you load them from the main
242 package "main" package, because we will not export sugar to
243 main. Previously it just did nothing. (Dave Rolsky)
246 - Now provide an init_meta method just like Moose.pm, and you
247 can call this to provide an alternate role metaclass. (Dave
248 Rolsky and nothingmuch)
249 - get_method_map now respects the package cache flag (nothingmuch)
252 - Two new methods - add_method and wrap_method_body
256 - Optimizations including allowing constructors to accept hash
257 refs, making many more classes immutable, and making
258 constructors immutable. (nothingmuch)
260 0.55 Sun August 3, 2008
261 * Moose::Meta::Attribute
262 - breaking down the way 'handles' methods are
263 created so that the process can be more easily
264 overridden by subclasses (stevan)
266 * Moose::Meta::TypeConstraint
267 - fixing what is passed into a ->message with
268 the type constraints (RT #37569)
269 - added tests for this (Charles Alderman)
271 * Moose::Util::TypeConstraints
272 - fix coerce to accept anon types like subtype can (mst)
275 - reorganized the recipes into sections - Basics, Roles, Meta,
276 Extending - and wrote abstracts for each section (Dave Rolsky)
278 * Moose::Cookbook::Basics::Recipe10
279 - A new recipe that demonstrates operator overloading
280 in combination with Moose. (bluefeet)
282 * Moose::Cookbook::Meta::Recipe1
283 - an introduction to what meta is and why you'd want to make
284 your own metaclass extensions (Dave Rolsky)
286 * Moose::Cookbook::Meta::Recipe4
287 - a very simple metaclass example (Dave Rolsky)
289 * Moose::Cookbook::Extending::Recipe1
290 - how to write a Moose-alike module to use your own object base
293 * Moose::Cookbook::Extending::Recipe2
294 - how to write modules with an API just like C<Moose.pm> (Dave
298 - Tons of fixes, both syntactical and grammatical (Dave
299 Rolsky, Paul Fenwick)
301 0.54 Thurs. July 3, 2008
302 ... this is not my day today ...
304 * Moose::Meta::Attribute
305 - fixed legal_options_for_inheritance such that
306 clone_and_inherit options still works for
307 Class::MOP::Attribute objects and therefore
308 does not break MooseX::AttributeHelpers
311 0.53 Thurs. July 3, 2008
312 * Whoops, I guess I should run 'make manifest' before
313 actually releasing the module. No actual changes
314 in this release, except the fact that it includes
315 the changes that I didn't include in the last
318 0.52 Thurs. July 3, 2008
320 - added "FEATURE REQUESTS" section to the Moose docs
321 to properly direct people (stevan) (RT #34333)
322 - making 'extends' croak if it is passed a Role since
323 this is not ever something you want to do
324 (fixed by stevan, found by obra)
325 - added tests for this (stevan)
328 - adding support for DOES (as in UNIVERSAL::DOES)
330 - added test for this
332 * Moose::Meta::Attribute
333 - added legal_options_for_inheritance (wreis)
334 - added tests for this (wreis)
336 * Moose::Cookbook::Snacks::*
337 - removed some of the unfinished snacks that should
338 not have been released yet. Added some more examples
339 to the 'Keywords' snack. (stevan)
341 * Moose::Cookbook::Style
342 - added general Moose "style guide" of sorts to the
343 cookbook (nothingmuch) (RT #34335)
346 - added more BUILDARGS tests (stevan)
348 0.51 Thurs. Jun 26, 2008
350 - add unimport so "no Moose::Role" actually does
353 * Moose::Meta::Role::Application::ToRole
354 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
355 order to provide its own implementation, that method still got
356 added to the list of required methods for consumers of
357 RoleB. Now an aliased method is only added to the list of
358 required methods if the role doing the aliasing does not
359 provide its own implementation. See Recipe 11 for an example
360 of all this. (Dave Rolsky)
361 - added tests for this
363 * Moose::Meta::Method::Constructor
364 - when a single argument that wasn't a hashref was provided to
365 an immutabilized constructor, the error message was very
366 unhelpful, as opposed to the non-immutable error. Reported by
368 - added test for this (Dave Rolsky)
370 * Moose::Meta::Attribute
371 - added support for meta_attr->does("ShortAlias") (sartak)
372 - added tests for this (sartak)
373 - moved the bulk of the `handles` handling to the new
374 install_delegation method (Stevan)
377 - Added BUILDARGS, a new step in new()
379 * Moose::Meta::Role::Application::RoleSummation
380 - fix typos no one ever sees (sartak)
382 * Moose::Util::TypeConstraints
383 * Moose::Meta::TypeConstraint
384 * Moose::Meta::TypeCoercion
385 - Attempt to work around the ??{ } vs. threads issue
387 - Some null_constraint optimizations
389 0.50 Thurs. Jun 11, 2008
390 - Fixed a version number issue by bumping all modules
393 0.49 Thurs. Jun 11, 2008
394 !! This version now approx. 20-25% !!
395 !! faster with new Class::MOP 0.59 !!
397 * Moose::Meta::Attribute
398 - fixed how the is => (ro|rw) works with
399 custom defined reader, writer and accessor
401 - added docs for this (TODO).
402 - added tests for this (Thanks to Penfold)
403 - added the custom attribute alias for regular
404 Moose attributes which is "Moose"
405 - fix builder and default both being used
410 Moose::Meta::Attribute
412 Moose::Meta::Role::Composite
413 Moose::Util::TypeConstraints
414 - switched usage of reftype to ref because
418 - changing add_package_symbol to use the new
422 - fixed how DEMOLISHALL is called so that it
423 can be overrided in subclasses (thanks to Sartak)
424 - added test for this (thanks to Sartak)
426 * Moose::Util::TypeConstraints
427 - move the ClassName type check code to
428 Class::MOP::is_class_loaded (thanks to Sartak)
430 * Moose::Cookbook::Recipe11
431 - add tests for this (thanks to tokuhirom)
433 0.48 Thurs. May 29, 2008
434 (early morning release engineering)--
436 - fixing the version in Moose::Meta::Method::Destructor
437 which was causing the indexer to choke
439 0.47 Thurs. May 29, 2008
440 (late night release engineering)--
442 - fixing the version is META.yml, no functional
443 changes in this release
445 0.46 Wed. May 28, 2008
446 !! This version now approx. 20-25% !!
447 !! faster with new Class::MOP 0.57 !!
450 - some optimizations of the &initialize method
451 since it is called so often by &meta
455 - now use the get_all_package_symbols from the
456 updated Class::MOP, test suite is now 10 seconds
459 * Moose::Meta::Method::Destructor
460 - is_needed can now also be called as a class
461 method for immutablization to check if the
462 destructor object even needs to be created
465 * Moose::Meta::Method::Destructor
466 Moose::Meta::Method::Constructor
467 - added more descriptive error message to help
468 keep people from wasting time tracking an error
469 that is easily fixed by upgrading.
471 0.45 Saturday, May 24, 2008
473 - Because of work in Class::MOP 0.57, all
474 XS based functionality is now optional
475 and a Pure Perl version is supplied
476 - the CLASS_MOP_NO_XS environment variable
477 can now be used to force non-XS versions
479 - several of the packages have been tweaked
480 to take care of this, mostly we added
481 support for the package_name and name
482 variables in all the Method metaclasses
483 - before/around/after method modifiers now
484 support regexp matching of names
485 (thanks to Takatoshi Kitano)
486 - tests added for this
487 - NOTE: this only works for classes, it
488 is currently not supported in roles,
489 but, ... patches welcome
490 - All usage of Carp::confess have been replaced
491 by Carp::croak in the "keyword" functions since
492 the stack trace is usually not helpful
495 - All usage of Carp::confess have been replaced
496 by Carp::croak in the "keyword" functions since
497 the stack trace is usually not helpful
498 - The 'has' keyword for roles now accepts the
499 same array ref form that Moose.pm does
500 (has [qw/foo bar/] => (is => 'rw', ...))
501 - added test for this
503 * Moose::Meta::Attribute
504 - trigger on a ro-attribute is no longer an
505 error, as it's useful to trigger off of the
509 - added same 'add_package_symbol' fix as in
513 - does_role now handles non-Moose classes
515 - added tests for this
516 - added the 'add_method_modifier' function
517 (thanks to Takatoshi Kitano)
519 * Moose::Util::TypeConstraints
520 - subtypes of parameterizable types now are
521 themselves parameterizable types
523 * Moose::Meta::Method::Constructor
524 - fixed bug where trigger was not being
525 called by the inlined immutable
527 - added test for this (thanks to Caelum)
529 * Moose::Meta::Role::Application::ToInstance
530 - now uses the metaclass of the instance
531 (if possible) to create the anon-class
532 (thanks Jonathan Rockway)
534 * Moose::Cookbook::Recipe22
535 - added the meta-attribute trait recipe
539 - fixed hash-ordering test bug that was
540 causing occasional cpantester failures
541 - renamed the t/000_recipe/*.t tests to be
542 more descriptive (thanks to Sartak)
544 0.44 Sat. May 10, 2008
546 - made make_immutable warning cluck to
547 show where the error is (thanks mst)
550 - BUILDALL and DEMOLISHALL now call
551 ->body when looping through the
552 methods, to avoid the overloaded
554 - fixed issue where DEMOLISHALL was
555 eating the $@ values, and so not
556 working correctly, it still kind of
557 eats them, but so does vanilla perl
558 - added tests for this
560 * Moose::Cookbook::Recipe7
561 - added new recipe for immutable
562 functionality (thanks Dave Rolsky)
564 * Moose::Cookbook::Recipe9
565 - added new recipe for builder and
566 lazy_build (thanks Dave Rolsky)
568 * Moose::Cookbook::Recipe11
569 - added new recipe for method aliasing
570 and exclusion with Roles (thanks Dave Rolsky)
573 - fixed Win32 test failure (thanks spicyjack)
575 ~ removed Build.PL and Module::Build compat
576 since Module::Install has done that.
578 0.43 Wed. April, 30, 2008
580 drink more coffee before
581 doing release engineering
583 - whoops, forgot to do the smolder tests,
584 and we broke some of the custom meta-attr
585 modules. This fixes that.
587 0.42 Mon. April 28, 2008
588 - some bad tests slipped by, nothing else
589 changed in this release (cpantesters++)
591 - upped the Class::MOP dependency to 0.55
592 since we have tests which need the C3
595 0.41 Mon. April 28, 2008
596 ~~ numerous documentation updates ~~
598 - Changed all usage of die to Carp::croak for better
599 error reporting (initial patch by Tod Hagan)
602 - the make_immutable keyword is now deprecated, don't
603 use it in any new code and please fix your old code
604 as well. There will be 2 releases, and then it will
610 - refactored the way inner and super work to avoid
611 any method/@ISA cache penalty (nothingmuch)
614 - fixing &new_object to make sure trigger gets the
615 coerced value (spotted by Charles Alderman on the
617 - added test for this
619 * Moose::Meta::Method::Constructor
620 - immutable classes which had non-lazy attributes were calling
621 the default generating sub twice in the constructor. (bug
622 found by Jesse Luehrs, fixed by Dave Rolsky)
623 - added tests for this (Dave Rolsky)
624 - fix typo in initialize_body method (nothingmuch)
626 * Moose::Meta::Method::Destructor
627 - fix typo in initialize_body method (nothingmuch)
629 * Moose::Meta::Method::Overriden
630 Moose::Meta::Method::Augmented
631 - moved the logic for these into their own
632 classes (nothingmuch)
634 * Moose::Meta::Attribute
635 - inherited attributes may now be extended without
636 restriction on the type ('isa', 'does') (Sartak)
637 - added tests for this (Sartak)
638 - when an attribute property is malformed (such as lazy without
639 a default), give the name of the attribute in the error
641 - added the &applied_traits and &has_applied_traits methods
642 to allow introspection of traits
643 - added tests for this
644 - moved 'trait' and 'metaclass' argument handling to here from
646 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
647 '+foo' syntax) (nothingmuch)
648 - added tests for this (t0m)
651 - localize $@ inside DEMOLISHALL to avoid it
652 eating $@ (found by Ernesto)
653 - added test for this (thanks to Ernesto)
655 * Moose::Util::TypeConstraints
656 - &find_type_constraint now DWIMs when given an
657 type constraint object or name (nothingmuch)
658 - &find_or_create_type_constraint superseded with a number of more
660 - find_or_create_{isa,does}_type_constraint
661 - find_or_parse_type_constraint
663 * Moose::Meta::TypeConstraint
664 Moose::Meta::TypeConstraint::Class
665 Moose::Meta::TypeConstraint::Role
666 Moose::Meta::TypeConstraint::Enum
667 Moose::Meta::TypeConstraint::Union
668 Moose::Meta::TypeConstraint::Parameterized
669 - added the &equals method for comparing two type
670 constraints (nothingmuch)
671 - added tests for this (nothingmuch)
673 * Moose::Meta::TypeConstraint
674 - add the &parents method, which is just an alias to &parent.
675 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
677 * Moose::Meta::TypeConstraint::Class
678 - added the class attribute for introspection purposes
680 - added tests for this
682 * Moose::Meta::TypeConstraint::Enum
683 Moose::Meta::TypeConstraint::Role
684 - broke these out into their own classes (nothingmuch)
686 * Moose::Cookbook::Recipe*
687 - fixed references to test file locations in the POD
688 and updated up some text for new Moose features
692 - Added &resolve_metaclass_alias, a helper function for finding an actual
693 class for a short name (e.g. in the traits list)
695 0.40 Fri. March 14, 2008
696 - I hate Pod::Coverage
698 0.39 Fri. March 14, 2008
700 - documenting the use of '+name' with attributes
701 that come from recently composed roles. It makes
702 sense, people are using it, and so why not just
703 officially support it.
704 - fixing the 'extends' keyword so that it will not
705 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
708 - added the perl -Moose=+Class::Name feature to allow
709 monkeypatching of classes in one liners
712 - fixing the 'apply_all_roles' keyword so that it will not
713 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
716 - added ->create method which now supports roles (thanks to jrockway)
717 - added tests for this
718 - added ->create_anon_class which now supports roles and caching of
719 the results (thanks to jrockway)
720 - added tests for this
721 - made ->does_role a little more forgiving when it is
722 checking a Class::MOP era metaclasses.
724 * Moose::Meta::Role::Application::ToInstance
725 - it is now possible to pass extra params to be used when
726 a role is applied to an the instance (rebless_params)
727 - added tests for this
729 * Moose::Util::TypeConstraints
730 - class_type now accepts an optional second argument for a
731 custom message. POD anotated accordingly (groditi)
732 - added tests for this
733 - it is now possible to make anon-enums by passing 'enum' an
734 ARRAY ref instead of the $name => @values. Everything else
736 - added tests for this
739 - making test for using '+name' on attributes consumed
740 from a role, it works and makes sense too.
742 * Moose::Meta::Attribute
743 - fix handles so that it doesn't return nothing
744 when the method cannot be found, not sure why
745 it ever did this originally, this means we now
746 have slightly better support for AUTOLOADed
748 - added more delegation tests
749 - adding ->does method to this so as to better
750 support traits and their introspection.
751 - added tests for this
754 - localizing the Data::Dumper configurations so
755 that it does not pollute others (RT #33509)
756 - made ->does a little more forgiving when it is
757 passed Class::MOP era metaclasses.
759 0.38 Fri. Feb. 15, 2008
760 * Moose::Meta::Attribute
761 - fixed initializer to correctly do
762 type checking and coercion in the
764 - added tests for this
767 - fixed some finicky tests (thanks to konobi)
769 0.37 Thurs. Feb. 14, 2008
771 - fixed some details in Moose::init_meta
772 and its superclass handling (thanks thepler)
773 - added tests for this (thanks thepler)
774 - 'has' now dies if you don't pass in name
776 - added the 'make_immutable' keyword as a shortcut
780 Moose::Meta::Method::Constructor
781 Moose::Meta::Attribute
782 - making (init_arg => undef) work here too
783 (thanks to nothingmuch)
785 * Moose::Meta::Attribute
786 Moose::Meta::Method::Constructor
787 Moose::Meta::Method::Accessor
788 - make lazy attributes respect attr initializers (rjbs)
789 - added tests for this
791 * Moose::Util::TypeConstraints
792 Moose::Util::TypeConstraints::OptimizedConstraints
793 Moose::Meta::TypeConstraints
794 Moose::Meta::Attribute
795 Moose::Meta::Method::Constructor
796 Moose::Meta::Method::Accessor
797 - making type errors use the
798 assigned message (thanks to Sartak)
799 - added tests for this
801 * Moose::Meta::Method::Destructor
802 - making sure DESTROY gets inlined properly
803 with successive DEMOLISH calls (thanks to manito)
805 * Moose::Meta::Attribute
806 Moose::Meta::Method::Accessor
807 - fixed handling of undef with type constraints
809 - added tests for this
812 - added &get_all_init_args and &get_all_attribute_values
813 (thanks to Sartak and nothingmuch)
815 0.36 Sat. Jan. 26, 2008
817 Moose::Meta::Attribute
818 - role type tests now support when roles are
819 applied to non-Moose classes (found by ash)
820 - added tests for this (thanks to ash)
821 - couple extra tests to boost code coverage
823 * Moose::Meta::Method::Constructor
824 - improved fix for handling Class::MOP attributes
825 - added test for this
828 - handled the add_attribute($attribute_meta_object)
830 - added test for this
832 0.35 Tues. Jan. 22, 2008
833 * Moose::Meta::Method::Constructor
834 - fix to make sure even Class::MOP attributes
835 are handled correctly (Thanks to Dave Rolsky)
836 - added test for this (also Dave Rolsky)
839 - improved error message on _apply_all_roles,
840 you should now use Moose::Util::apply_all_roles
841 and you shouldnt have been using a _ prefixed
842 method in the first place ;)
844 0.34 Mon. Jan. 21, 2008
845 ~~~ more misc. doc. fixes ~~~
846 ~~ updated copyright dates ~~
848 Moose is now a postmodern object system :)
849 - (see the POD for details)
851 * <<Role System Refactoring>>
852 - this release contains a major reworking and
853 cleanup of the role system
854 - 100% backwards compat.
855 - Role application now restructured into seperate
856 classes based on type of applicants
857 - Role summation (combining of more than one role)
858 is much cleaner and anon-classes are no longer
860 - new Composite role metaclass
861 - runtime application of roles to instances
862 is now more efficient and re-uses generated
863 classes when applicable
865 * <<New Role composition features>>
866 - methods can now be excluded from a given role
868 - methods can now be aliased to another name (and
869 still retain the original as well)
871 * Moose::Util::TypeConstraints::OptimizedConstraints
872 - added this module (see above)
875 - fixed the &_process_attribute method to be called
876 by &add_attribute, so that the API is now correct
878 * Moose::Meta::Method::Accessor
879 - fixed bug when passing a list of values to
880 an accessor would get (incorrectly) ignored.
881 Thanks to Sartak for finding this ;)
882 - added tests for this (Sartak again)
884 * Moose::Meta::Method::Accessor
885 Moose::Meta::Method::Constructor
886 Moose::Meta::Attribute
887 Moose::Meta::TypeConstraint
888 Moose::Meta::TypeCoercion
889 - lots of cleanup of such things as:
891 - type constraint handling
892 - error handling/messages
893 (thanks to nothingmuch)
895 * Moose::Meta::TypeConstraint::Parameterizable
896 - added this module to support the refactor
897 in Moose::Meta::TypeConstraint::Parameterized
899 * Moose::Meta::TypeConstraint::Parameterized
900 - refactored how these types are handled so they
901 are more generic and not confined to ArrayRef
905 - shortened some file names for better VMS support (RT #32381)
907 0.33 Fri. Dec. 14, 2007
908 !! Moose now loads 2 x faster !!
909 !! with new Class::MOP 0.49 !!
911 ++ new oose.pm module to make command line
912 Moose-ness easier (see POD docs for more)
916 - several tweaks to take advantage of the
917 new method map caching in Class::MOP
919 * Moose::Meta::TypeConstraint::Parameterized
920 - allow subtypes of ArrayRef and HashRef to
921 be used as a container (sartak)
922 - added tests for this
923 - basic support for coercion to ArrayRef and
924 HashRef for containers (sartak)
925 - added tests for this
927 * Moose::Meta::TypeCoercion
928 - coercions will now create subtypes as needed
929 so you can now add coercions to parameterized
930 types without having to explictly define them
931 - added tests for this
933 * Moose::Meta::Method::Accessor
934 - allow subclasses to decide whether we need
935 to copy the value into a new variable (sartak)
937 0.32 Tues. Dec. 4, 2007
938 * Moose::Util::TypeConstraints
939 - fixing how subtype aliases of unions work
940 they should inherit the parent's coercion
941 - added tests for this
942 - you can now define multiple coercions on
943 a single type at different times instead of
944 having to do it all in one place
945 - added tests for this
947 * Moose::Meta::TypeConstraint
948 - there is now a default constraint of sub { 1 }
949 instead of Moose::Util::TypeConstraints setting
952 * Moose::Meta::TypeCoercion
953 * Moose::Meta::TypeCoercion::Union
954 - added the &has_coercion_for_type and
955 &add_type_coercions methods to support the
956 new features above (although you cannot add
957 more type coercions for Union types)
959 0.31 Mon. Nov. 26, 2007
960 * Moose::Meta::Attribute
961 - made the +attr syntax handle extending types with
962 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
963 now works if the original foo is an ArrayRef.
964 - added tests for this.
965 - delegation now works even if the attribute does not
966 have a reader method using the get_read_method_ref
967 method from Class::MOP::Attribute.
968 - added tests for this
969 - added docs for this
971 * Moose::Util::TypeConstraints
972 - passing no "additional attribute info" to
973 &find_or_create_type_constraint will no longer
974 attempt to create an __ANON__ type for you,
975 instead it will just return undef.
976 - added docs for this
978 0.30 Fri. Nov. 23, 2007
979 * Moose::Meta::Method::Constructor
980 -builder related bug in inlined constructor. (groditi)
982 * Moose::Meta::Method::Accessor
983 - genereate unnecessary calls to predicates and refactor
984 code generation for runtime speed (groditi)
986 * Moose::Util::TypeConstraints
987 - fix ClassName constraint to introspect symbol table (mst)
988 - added more tests for this (mst)
989 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
991 - added tests for this
994 - adding the link to Recipie 11 (written by Sartak)
995 - adding test for SYNOPSIS code
998 - New tests for builder bug. Upon instantiation, if an
999 attribute had a builder, no value and was not lazy the
1000 builder default was not getting run, oops. (groditi)
1002 0.29 Tues. Nov. 13, 2007
1003 * Moose::Meta::Attribute
1004 - Fix error message on missing builder method (groditi)
1006 * Moose::Meta::Method::Accessor
1007 - Fix error message on missing builder method (groditi)
1010 - Add test to check for the correct error message when
1011 builder method is missing (groditi)
1013 0.28 Tues. Nov. 13, 2007
1014 - 0.27 packaged incorrectly (groditi)
1016 0.27 Tues. Nov. 13, 2007
1017 * Moose::Meta::Attribute
1018 - Added support for the new builder option (groditi)
1019 - Added support for lazy_build option (groditi)
1020 - Changed slot initialization for predicate changes (groditi)
1022 * Moose::Meta::Method::Accessor
1023 - Added support for lazy_build option (groditi)
1024 - Fix inline methods to work with corrected predicate
1027 * Moose::Meta::Method::Constructor
1028 - Added support for lazy_build option (groditi)
1031 - tests for builder and lazy_build (groditi)
1033 * fixing some misc. bits in the docs that
1034 got mentioned on CPAN Forum & perlmonks
1037 - fixed how required methods are handled
1038 when they encounter overriden or modified
1039 methods from a class (thanks to confound).
1040 - added tests for this
1042 * Moose::Util::TypeConstraint
1043 - fixed the type notation parser so that
1044 the | always creates a union and so is
1045 no longer a valid type char (thanks to
1046 konobi, mugwump and #moose for working
1048 - added more tests for this
1050 0.26 Thurs. Sept. 27, 2007
1053 * Parameterized Types
1054 We now support parameterized collection types, such as:
1055 ArrayRef[Int] # array or integers
1056 HashRef[Object] # a hash with object values
1057 They can also be nested:
1058 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
1059 And work with the type unions as well:
1060 ArrayRef[Int | Str] # array of integers of strings
1062 * Better Framework Extendability
1063 Moose.pm is now "extendable" such that it is now much
1064 easier to extend the framework and add your own keywords
1065 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1066 section of the Moose.pm docs.
1069 In an effort to begin documenting some of the various
1070 details of Moose as well as some common idioms, we have
1071 created Moose::Cookbook::Snacks as a place to find
1072 small (easily digestable) nuggets of Moose code.
1075 ~ Several doc updates/cleanup thanks to castaway ~
1077 - converted build system to use Module::Install instead of
1078 Module::Build (thanks to jrockway)
1081 - added all the meta classes to the immutable list and
1082 set it to inline the accessors
1083 - fix import to allow Sub::Exporter like { into => }
1084 and { into_level => } (perigrin)
1085 - exposed and documented init_meta() to allow better
1086 embedding and extending of Moose (perigrin)
1089 - complete re-organization of the test suite
1090 - added some new tests as well
1091 - finally re-enabled the Moose::POOP test since
1092 the new version of DBM::Deep now works again
1095 * Moose::Meta::Class
1096 - fixed very odd and very nasty recursion bug with
1098 - added tests for this (eilara)
1100 * Moose::Meta::Attribute
1101 Moose::Meta::Method::Constructor
1102 Moose::Meta::Method::Accessor
1103 - fixed issue with overload::Overloaded getting called
1104 on non-blessed items. (RT #29269)
1105 - added tests for this
1107 * Moose::Meta::Method::Accessor
1108 - fixed issue with generated accessor code making
1109 assumptions about hash based classes (thanks to dexter)
1111 * Moose::Coookbook::Snacks
1112 - these are bits of documentation, not quite as big as
1113 Recipes but which have no clear place in the module docs.
1114 So they are Snacks! (horray for castaway++)
1116 * Moose::Cookbook::Recipe4
1117 - updated it to use the new ArrayRef[MyType] construct
1118 - updated the accompanying test as well
1120 +++ Major Refactor of the Type Constraint system +++
1121 +++ with new features added as well +++
1123 * Moose::Util::TypeConstraint
1124 - no longer uses package variable to keep track of
1125 the type constraints, now uses the an instance of
1126 Moose::Meta::TypeConstraint::Registry to do it
1127 - added more sophisticated type notation parsing
1129 - added tests for this
1131 * Moose::Meta::TypeConstraint
1132 - some minor adjustments to make subclassing easier
1133 - added the package_defined_in attribute so that we
1134 can track where the type constraints are created
1136 * Moose::Meta::TypeConstraint::Union
1137 - this is now been refactored to be a subclass of
1138 Moose::Meta::TypeConstraint
1140 * Moose::Meta::TypeCoercion::Union
1141 - this has been added to service the newly refactored
1142 Moose::Meta::TypeConstraint::Union and is itself
1143 a subclass of Moose::Meta::TypeCoercion
1145 * Moose::Meta::TypeConstraint::Parameterized
1146 - added this module (taken from MooseX::AttributeHelpers)
1147 to help construct nested collection types
1148 - added tests for this
1150 * Moose::Meta::TypeConstraint::Registry
1151 - added this class to keep track of type constraints
1153 0.25 Mon. Aug. 13, 2007
1155 - Documentation update to reference Moose::Util::TypeConstraints
1156 under 'isa' in 'has' for how to define a new type
1157 (thanks to shlomif).
1159 * Moose::Meta::Attribute
1160 - required attributes now will no longer accept undef
1161 from the constructor, even if there is a default and lazy
1162 - added tests for this
1163 - default subroutines must return a value which passes the
1165 - added tests for this
1167 * Moose::Meta::Attribute
1168 * Moose::Meta::Method::Constructor
1169 * Moose::Meta::Method::Accessor
1170 - type-constraint tests now handle overloaded objects correctly
1171 in the error message
1172 - added tests for this (thanks to EvanCarroll)
1174 * Moose::Meta::TypeConstraint::Union
1175 - added (has_)hand_optimized_constraint to this class so that
1176 it behaves as the regular Moose::Meta::TypeConstraint does.
1179 - large refactoring of this code
1180 - added several more tests
1181 - tests for subtle conflict resolition issues
1182 added, but not currently running
1185 * Moose::Cookbook::Recipe7
1186 - added new recipe for augment/inner functionality
1188 - added test for this
1191 - a formal definition of roles (still in progress)
1194 - utilities for easier working with Moose classes
1195 - added tests for these
1198 - This contains Moose specific test functions
1199 - added tests for these
1201 0.24 Tues. July 3, 2007
1202 ~ Some doc updates/cleanup ~
1204 * Moose::Meta::Attribute
1205 - added support for roles to be given as parameters
1206 to the 'handles' option.
1207 - added tests and docs for this
1208 - the has '+foo' attribute form now accepts changes to
1209 the lazy option, and the addition of a handles option
1210 (but not changing the handles option)
1211 - added tests and docs for this
1214 - required methods are now fetched using find_method_by_name
1215 so that required methods can come from superclasses
1216 - adjusted tests for this
1218 0.23 Mon. June 18, 2007
1219 * Moose::Meta::Method::Constructor
1220 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1221 * Moose::Meta::Class
1222 - Modify make_immutable to work with the new Class::MOP immutable
1223 mechanism + POD + very basic test (groditi)
1224 * Moose::Meta::Attribute
1225 - Fix handles to use goto() so that caller() comes out properly on
1226 the other side (perigrin)
1228 0.22 Thurs. May 31, 2007
1229 * Moose::Util::TypeConstraints
1230 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1231 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1232 prototypes for functions
1233 - added the ClassName type constraint, this checks for strings
1234 which will respond true to ->isa(UNIVERSAL).
1235 - added tests and docs for this
1236 - subtyping just in name now works correctly by making the
1237 default for where be { 1 }
1238 - added test for this
1240 * Moose::Meta::Method::Accessor
1241 - coerce and lazy now work together correctly, thanks to
1242 merlyn for finding this bug
1243 - tests added for this
1244 - fix reader presedence bug in Moose::Meta::Attribute + tests
1247 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1248 a HASH-ref and missed. This produces better error messages then
1249 having it die cause undef is not a HASH.
1250 - added tests for this
1252 0.21 Thursday, May 2nd, 2007
1254 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1255 - modified unimport to remove super and inner along with the rest
1256 - altered unimport tests to handle this
1259 - altered super export to populate SUPER_SLOT
1261 * Moose::Meta::Class
1262 - altered augment and override modifier application to use *_SLOT
1263 - modified tests for these to unimport one test class each to test
1266 - fixed issue where custom attribute metaclasses
1267 where not handled correctly in roles
1268 - added tests for this
1270 * Moose::Meta::Class
1271 - fixed issue where extending metaclasses with
1272 roles would blow up. Thanks to Aankhen`` for
1273 finding this insidious error, and it's solution.
1275 ~~ lots of spelling and grammer fixes in the docs,
1276 many many thanks to rlb3 and Aankhen for these :)
1278 0.20 Friday, April 6th, 2007
1279 >> I messed up the SKIP logic in one test
1280 so this release is just to fix that.
1283 - 'has' now also accepts an ARRAY ref
1284 to create multiple attrs (see docs)
1285 (thanks to konobi for this)
1286 - added tests and docs
1288 0.19 Thurs. April 5th, 2007
1289 ~~ More documentation updates ~~
1291 * Moose::Util::TypeConstraints
1292 - 'type' now supports messages as well
1293 thanks to phaylon for finding this
1294 - added tests for this
1295 - added &list_all_type_constraints and
1296 &list_all_builtin_type_constraints
1297 functions to facilitate introspection.
1299 * Moose::Meta::Attribute
1300 - fixed regexp 'handles' declarations
1301 to build the list of delegated methods
1302 correctly (and not override important
1303 things like &new) thanks to ashleyb
1305 - added tests and docs for this
1306 - added the 'documentation' attributes
1307 so that you can actually document your
1308 attributes and inspect them through the
1310 - added tests and docs for this
1312 * Moose::Meta::Class
1313 - when loading custom attribute metaclasses
1314 it will first look in for the class in the
1315 Moose::Meta::Attribute::Custom::$name, and
1316 then default to just loading $name.
1317 - added tests and docs for this
1319 * Moose::Meta::TypeConstraint
1320 - type constraints now stringify to their names.
1321 - added test for this
1324 - added tests to assure we work with Module::Refresh
1325 - added stricter test skip logic in the Moose POOP
1326 test, ask Rob Kinyon why.
1327 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1329 0.18 Sat. March 10, 2007
1330 ~~ Many, many documentation updates ~~
1333 - We now use Class::MOP::load_class to
1335 - added tests to show types and subtypes
1336 working with Declare::Constraints::Simple
1337 and Test::Deep as constraint engines.
1340 !! You must have Class::MOP 0.37_001 !!
1341 !! for this developer release to work !!
1343 This release was primarily adding the immutable
1344 feature to Moose. An immutable class is one which
1345 you promise not to alter. When you set the class
1346 as immutable it will perform various bits of
1347 memoization and inline certain part of the code
1348 (constructors, destructors and accessors). This
1349 minimizes (and in some cases totally eliminates)
1350 one of Moose's biggest performance hits. This
1351 feature is not on by default, and is 100% optional.
1352 It has several configurable bits as well, so you
1353 can pick and choose to your specific needs.
1355 The changes involved in this were fairly wide and
1356 highly specific, but 100% backwards compatible, so
1357 I am not going to enumerate them here. If you are
1358 truely interested in what was changed, please do
1361 0.17 Tues. Nov. 14, 2006
1362 * Moose::Meta::Method::Accessor
1363 - bugfix for read-only accessors which
1364 are have a type constraint and lazy.
1365 Thanks to chansen for finding it.
1367 0.16 Tues. Nov. 14, 2006
1369 There are some speed improvements in this release,
1370 but they are only the begining, so stay tuned.
1373 - BUILDALL and DEMOLISHALL no longer get
1374 called unless they actually need to be.
1375 This gave us a signifigant speed boost
1376 for the cases when there is no BUILD or
1377 DEMOLISH method present.
1379 * Moose::Util::TypeConstraints
1380 * Moose::Meta::TypeConstraint
1381 - added an 'optimize_as' option to the
1382 type constraint, which allows for a
1383 hand optimized version of the type
1384 constraint to be used when possible.
1385 - Any internally created type constraints
1386 now provide an optimized version as well.
1388 0.15 Sun. Nov. 5, 2006
1390 This version of Moose *must* have Class::MOP 0.36 in order
1391 to work correctly. A number of small internal tweaks have
1392 been made in order to be compatible with that release.
1394 * Moose::Util::TypeConstraints
1395 - added &unimport so that you can clean out
1396 your class namespace of these exported
1399 * Moose::Meta::Class
1400 - fixed minor issue which occasionally
1401 comes up during global destruction
1403 - moved Moose::Meta::Method::Overriden into
1407 - moved Moose::Meta::Role::Method into
1410 * Moose::Meta::Attribute
1411 - changed how we do type checks so that
1412 we reduce the overall cost, but still
1415 - moved accessor generation methods to
1416 Moose::Meta::Method::Accessor to
1417 conform to the API changes from
1420 * Moose::Meta::TypeConstraint
1421 - changed how constraints are compiled
1422 so that we do less recursion and more
1423 iteration. This makes the type check
1425 - moved Moose::Meta::TypeConstraint::Union
1428 * Moose::Meta::Method::Accessor
1429 - created this from methods formerly found in
1430 Moose::Meta::Attribute
1432 * Moose::Meta::Role::Method
1433 - moved this from Moose::Meta::Role
1435 * Moose::Meta::Method::Overriden
1436 - moved this from Moose::Meta::Class
1438 * Moose::Meta::TypeConstraint::Union
1439 - moved this from Moose::Meta::TypeConstraint
1441 0.14 Mon. Oct. 9, 2006
1443 * Moose::Meta::Attribute
1444 - fixed lazy attributes which were not getting
1445 checked with the type constraint (thanks ashley)
1446 - added tests for this
1447 - removed the over-enthusiastic DWIMery of the
1448 automatic ArrayRef and HashRef defaults, it
1449 broke predicates in an ugly way.
1450 - removed tests for this
1452 0.13 Sat. Sept. 30, 2006
1454 This version of Moose *must* have Class::MOP 0.35 in order
1455 to work correctly. A number of small internal tweaks have
1456 been made in order to be compatible with that release.
1459 - Removed the use of UNIVERSAL::require to be a better
1460 symbol table citizen and remove a dependency
1461 (thanks Adam Kennedy)
1463 **~~ removed experimental & undocumented feature ~~**
1464 - commented out the 'method' and 'self' keywords, see the
1465 comments for more info.
1468 - added a FAQ and WTF files to document frequently
1469 asked questions and common problems
1471 * Moose::Util::TypeConstraints
1472 - added GlobRef and FileHandle type constraint
1473 - added tests for this
1475 * Moose::Meta::Attribute
1476 - if your attribute 'isa' ArrayRef of HashRef, and you have
1477 not explicitly set a default, then make the default DWIM.
1478 This will also work for subtypes of ArrayRef and HashRef
1480 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1481 - new test added for this (thanks to ashley)
1484 - added basic support for runtime role composition
1485 but this is still *highly experimental*, so feedback
1486 is much appreciated :)
1487 - added tests for this
1489 * Moose::Meta::TypeConstraint
1490 - the type constraint now handles the coercion process
1491 through delegation, this is to support the coercion
1494 * Moose::Meta::TypeConstraint::Union
1495 - it is now possible for coercions to be performed
1497 - added tests for this (thanks to konobi)
1499 * Moose::Meta::TypeCoercion
1500 - properly capturing error when type constraint
1504 - Scalar::Util 1.18 is bad on Win32, so temporarily
1505 only require version 1.17 for Win32 and cygwin.
1506 (thanks Adam Kennedy)
1508 0.12 Sat. Sept. 1, 2006
1510 - Recipe5 (subtypes & coercion) has been written
1513 - fixed "bad meta" error message to be more descriptive
1514 - fixed &unimport to not remove the &inner and &super
1515 keywords because we need to localize them.
1516 - fixed number of spelling/grammer issues, thanks Theory :)
1518 **~~ experimental & undocumented feature ~~**
1519 - added the method and self keywords, they are basically
1520 just sugar, and they may not stay around.
1523 - added &dump method to easily Data::Dumper
1526 * Moose::Meta::TypeConstraint
1527 - added the &is_a_type_of method to check both the current
1528 and the subtype of a method (similar to &isa with classes)
1531 - this is now a subclass of Class::MOP::Module, and no longer
1532 creates the _role_meta ugliness of before.
1533 - fixed tests to reflect this change
1535 0.11 Wed. July 12, 2006
1537 - added an &unimport method to remove all the keywords
1538 that Moose will import, simply add 'no Moose' to the
1539 bottom of your class file.
1542 - fixed some test failures caused by a forgotten test
1545 0.10 Thurs. July 6, 2006
1547 - improved error message when loading modules so
1548 it is less confusing when you load a role.
1549 - added &calculate_all_roles method to
1550 Moose::Meta::Class and Moose::Meta::Role
1553 This module has been tested against Class::MOP 0.30
1554 but it does not yet utilize the optimizations
1555 it makes available. Stay tuned for that ;)
1557 0.09_03 Fri. June 23, 2006
1558 ++ DEVELOPER RELEASE ++
1560 - 'use strict' and 'use warnings' are no longer
1561 needed in Moose classes, Moose itself will
1562 turn them on for you.
1563 - added tests for this
1564 - moved code from exported subs to private methods
1565 in Moose::Meta::Class
1568 - as with Moose, strict and warnings are
1569 automatically turned on for you.
1570 - added tests for this
1573 - now handles an edge case for override errors
1574 - added tests for this
1575 - added some more edge case tests
1577 0.09_02 Tues. May 16, 2006
1578 ++ DEVELOPER RELEASE ++
1580 - added prototypes to the exported subs
1584 - added prototypes to the exported subs
1587 * Moose::Util::TypeConstraints
1588 - cleaned up prototypes for the subs
1591 0.09_01 Fri. May 12, 2006
1592 ++ DEVELOPER RELEASE ++
1593 - This release works in combination with
1594 Class::MOP 0.29_01, it is a developer
1595 release because it uses the a new
1596 instance sub-protocol and a fairly
1597 complete Role implementation. It has
1598 not yet been optimized, so it slower
1599 the the previous CPAN version. This
1600 release also lacks good updated docs,
1601 the official release will have updated docs.
1604 - refactored the keyword exports
1605 - 'with' now checks Role validaity and
1606 accepts more than one Role at a time
1607 - 'extends' makes metaclass adjustments as
1608 needed to ensure metaclass compatibility
1611 - refactored the keyword exports
1612 - 'with' now checks Role validaity and
1613 accepts more than one Role at a time
1615 * Moose::Util::TypeConstraints
1616 - added the 'enum' keyword for simple
1617 string enumerations which can be used as
1619 - see example of usage in t/202_example.t
1622 - more careful checking of params to new()
1625 - much work done on the role composition
1626 - many new tests for conflict detection
1627 and composition edge cases
1628 - not enough documentation, I suggest
1629 looking at the tests
1631 * Moose::Meta::Instance
1632 - added new Instance metaclass to support
1633 the new Class::MOP instance protocol
1635 * Moose::Meta::Class
1636 - some small changes to support the new
1638 - some small additions to support Roles
1640 * Moose::Meta::Attribute
1641 - some improvements to the accessor generation code
1643 - some small changes to support the new
1645 - (still somewhat) experimental delegation support
1646 with the 'handles' option
1647 - added several tests for this
1648 - no docs for this yet
1650 0.05 Thurs. April 27, 2006
1652 - keywords are now exported with Sub::Exporter
1653 thanks to chansen for this commit
1654 - has keyword now takes a 'metaclass' option
1655 to support custom attribute meta-classes
1656 on a per-attribute basis
1657 - added tests for this
1658 - the 'has' keyword not accepts inherited slot
1659 specifications (has '+foo'). This is still an
1660 experimental feature and probably not finished
1661 see t/038_attribute_inherited_slot_specs.t for
1662 more details, or ask about it on #moose
1663 - added tests for this
1666 - keywords are now exported with Sub::Exporter
1668 * Moose::Utils::TypeConstraints
1669 - reorganized the type constraint hierarchy, thanks
1670 to nothingmuch and chansen for his help and advice
1672 - added some tests for this
1673 - keywords are now exported with Sub::Exporter
1674 thanks to chansen for this commit
1676 * Moose::Meta::Class
1677 - due to changes in Class::MOP, we had to change
1678 construct_instance (for the better)
1680 * Moose::Meta::Attribute
1681 - due to changes in Class::MOP, we had to add the
1682 initialize_instance_slot method (it's a good thing)
1684 * Moose::Meta::TypeConstraint
1685 - added type constraint unions
1686 - added tests for this
1687 - added the is_subtype_of predicate method
1688 - added tests for this
1690 0.04 Sun. April 16th, 2006
1692 - Roles can now consume other roles
1693 - added tests for this
1694 - Roles can specify required methods now with
1695 the requires() keyword
1696 - added tests for this
1699 - ripped out much of it's guts ,.. much cleaner now
1700 - added required methods and correct handling of
1701 them in apply() for both classes and roles
1702 - added tests for this
1703 - no longer adds a does() method to consuming classes
1704 it relys on the one in Moose::Object
1705 - added roles attribute and some methods to support
1706 roles consuming roles
1708 * Moose::Meta::Attribute
1709 - added support for triggers on attributes
1710 - added tests for this
1711 - added support for does option on an attribute
1712 - added tests for this
1714 * Moose::Meta::Class
1715 - added support for attribute triggers in the
1717 - added tests for this
1720 - Moose no longer creates a subtype for your class
1721 if a subtype of the same name already exists, this
1722 should DWIM in 99.9999% of all cases
1724 * Moose::Util::TypeConstraints
1725 - fixed bug where incorrect subtype conflicts were
1727 - added test for this
1730 - this class can now be extended with 'use base' if
1731 you need it, it properly loads the metaclass class now
1732 - added test for this
1734 0.03_02 Wed. April 12, 2006
1736 - you must now explictly use Moose::Util::TypeConstraints
1737 it no longer gets exported for you automatically
1740 - new() now accepts hash-refs as well as key/value lists
1741 - added does() method to check for Roles
1742 - added tests for this
1744 * Moose::Meta::Class
1745 - added roles attribute along with the add_role() and
1747 - added tests for this
1750 - now adds a does() method to consuming classes
1751 which tests the class's hierarchy for roles
1752 - added tests for this
1754 0.03_01 Mon. April 10, 2006
1756 - added new Role recipe (no content yet, only code)
1759 - added 'with' keyword for Role support
1760 - added test and docs for this
1761 - fixed subtype quoting bug
1762 - added test for this
1766 - added test and docs
1768 * Moose::Util::TypeConstraints
1769 - added the message keyword to add custom
1770 error messages to type constraints
1773 - the meta role to support Moose::Role
1774 - added tests and docs
1776 * Moose::Meta::Class
1777 - moved a number of things from Moose.pm
1778 to here, they should have been here
1781 * Moose::Meta::Attribute
1782 - moved the attribute option macros here
1783 instead of putting them in Moose.pm
1785 * Moose::Meta::TypeConstraint
1786 - added the message attributes and the
1788 - added tests and docs for this
1790 0.03 Thurs. March 30, 2006
1792 - added the Moose::Cookbook with 5 recipes,
1793 describing all the stuff Moose can do.
1796 - fixed an issue with &extends super class loading
1797 it now captures errors and deals with inline
1798 packages correctly (bug found by mst, solution
1800 - added super/override & inner/augment features
1801 - added tests and docs for these
1804 - BUILDALL now takes a reference of the %params
1805 that are passed to &new, and passes that to
1808 * Moose::Util::TypeConstraints
1809 - Type constraints now survive runtime reloading
1810 - added test for this
1812 * Moose::Meta::Class
1813 - fixed the way attribute defaults are handled
1814 during instance construction (bug found by chansen)
1816 * Moose::Meta::Attribute
1817 - read-only attributes now actually enforce their
1818 read-only-ness (this corrected in Class::MOP as
1821 0.02 Tues. March 21, 2006
1823 - many more tests, fixing some bugs and
1825 - &extends now loads the base module with
1827 - added UNIVERSAL::require to the
1830 - each new Moose class will also create
1831 and register a subtype of Object which
1832 correspond to the new Moose class.
1833 - the 'isa' option in &has now only
1834 accepts strings, and will DWIM in
1837 * Moose::Util::TypeConstraints
1838 - added type coercion features
1839 - added tests for this
1840 - added support for this in attributes
1841 and instance construction
1843 - type construction no longer creates a
1844 function, it registers the type instead.
1845 - added several functions to get the
1849 - BUILDALL and DEMOLISHALL were broken
1850 because of a mis-named hash key, Whoops :)
1852 * Moose::Meta::Attribute
1853 - adding support for coercion in the
1854 autogenerated accessors
1856 * Moose::Meta::Class
1857 - adding support for coercion in the
1858 instance construction
1860 * Moose::Meta::TypeConstraint
1861 * Moose::Meta::TypeCoercion
1862 - type constraints and coercions are now
1863 full fledges meta-objects
1865 0.01 Wed. March 15, 2006
1866 - Moooooooooooooooooose!!!