1 Revision history for Perl extension Moose
4 * Moose::Meta::Role::Application::ToClass
5 Moose::Meta::Role::Application::ToRole
6 - fixed issues where excluding and aliasing the
7 same methods for a single role did not work
8 right (worked just fine with multiple roles)
10 * Moose::Meta::Role::Application::RoleSummation
11 - fixed the error message when trying to compose
12 a role with a role it excludes (Sartak)
14 - Catch another case where recursion caused the value
15 of $CALLER to be stamped on (t0m)
16 - added test for this (t0m)
18 - Remove the make_immutable keyword, which has been
19 deprecated since April. It breaks metaclasses that
20 use Moose without no Moose (Sartak)
22 - create method for constructing a role
24 - begin implementing anonymous roles (Sartak)
26 - more consistent error messages (Sartak)
28 0.61 Fri November 7, 2008
29 * Moose::Meta::Attribute
30 - When passing a role to handles, it will be loaded if necessary
34 - Method objects returned by get_method (and other methods)
35 Could end up being returned without an associated_metaclass
36 attribute. Removing get_method_map, which is provided by
37 Class::MOP::Class, fixed this. The Moose version did nothing
38 different from its parent except introduce a bug. (Dave Rolsky)
39 - added tests for this (jdv79)
42 - Added a $VERSION to all .pm files which didn't have one. Fixes
43 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
45 * Moose::Cookbook::Basics::Recipe4
46 * Moose::Cookbook::Basics::Recipe6
47 - These files had spaces on the first line of the SYNOPSIS, as
48 opposed to a totally empty line. According to RT #40432, this
49 confuses POD parsers. (Dave Rolsky)
51 0.60 Fri October 24, 2008
53 - Passing "-traits" when loading Moose caused the Moose.pm
54 exports to be broken. Reported by t0m. (Dave Rolsky)
55 - Tests for this bug. (t0m)
58 - Change resolve_metaclass alias to use the new
59 load_first_existing_class function. This makes it a lot
60 simpler, and also around 5 times faster. (t0m)
61 - Add caching to resolve_metaclass_alias, which gives an order
62 of magnitude speedup to things which repeatedly call the
63 Moose::Meta::Attribute->does method, notably MooseX::Storage
66 * Moose::Util::TypeConstraint
67 - Put back the changes for parameterized constraints that
68 shouldn't have been removed in 0.59. We still cannot parse
69 them, but MooseX modules can create them in some other
70 way. See the 0.58 changes for more details. (jnapiorkowski)
71 - Changed the way subtypes are created so that the job is
72 delegated to a type constraint parent. This clears up some
73 hardcoded checking and should allow correct subtypes of
74 Moose::Meta::Type::Constraint. Don't rely on this new API too
75 much (create_child_type) because it may go away in the
76 future. (jnapiorkowski)
78 * Moose::Meta::TypeConstraint::Union
79 - Type constraint names are sorted as strings, not numbers.
82 * Moose::Meta::TypeConstraint::Parameterizable
83 - New parameterize method. This can be used as a factory method
84 to make a new type constraint with a given parameterized
86 - added tests (jnapiorkowski)
88 0.59 Tue October 14, 2008
90 - Add abridged documentation for builder/default/initializer/
91 predicate, and link to more details sections in
92 Class::MOP::Attribute. (t0m)
94 * Moose::Util::TypeConstraints
95 - removed prototypes from all but the &-based stuff (mst)
97 * Moose::Util::TypeConstraints
98 - Creating a anonymous subtype with both a constraint and a
99 message failed with a very unhelpful error, but should just
100 work. Reported by t0m. (Dave Rolsky)
103 - Some tests that used Test::Warn if it was available failed
104 with older versions of Test::Warn. Reported by Fayland. (Dave
106 - Test firing behavior of triggers in relation to builder/default/
108 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
109 kinds of supported type. (t0m)
112 - In create(), do not pass "roles" option to the superclass
113 - added related test that creates an anon metaclass with
116 * Moose::Meta::TypeConstraint::Class
117 * Moose::Meta::TypeConstraint::Role
118 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
119 other types (as per change in 0.55_02). (t0m)
121 * Moose::Meta::TypeConstraint::Registry
122 - Fix warning when dealing with unknown type names (t0m)
124 * Moose::Util::TypeConstraints
125 - Reverted changes from 0.58 related to handle parameterized
126 types. This caused random failures on BSD and Win32 systems,
127 apparently related to the regex engine. This means that Moose
128 can no longer parse structured type constraints like
129 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
130 supported in a slightly different way via MooseX::Types some
131 time in the future. (Dave Rolsky)
133 0.58 Sat September 20, 2008
134 !! This release has an incompatible change regarding !!
135 !! how roles add methods to a class !!
137 * Roles and role application
138 ! Roles now add methods by calling add_method, not
139 alias_method. They make sure to always provide a method
140 object, which will be cloned internally. This means that it is
141 now possible to track the source of a method provided by a
142 role, and even follow its history through intermediate roles.
144 This means that methods added by a role now show up when
145 looking at a class's method list/map. (Dave Rolsky)
148 - From this release on, we'll try to maintain a list of
149 conflicting modules, and warn you if you have one
150 installed. For example, this release conflicts with ...
151 - MooseX::Singleton <= 0.11
152 - MooseX::Params::Validate <= 0.05
155 In general, we try to not break backwards compatibility for
156 most Moose users, but MooseX modules and other code which
157 extends Moose's metaclasses is often affected by very small
158 changes in the Moose internals.
160 * Moose::Meta::Method::Delegation
161 * Moose::Meta::Attribute
162 - Delegation methods now have their own method class. (Dave
165 * Moose::Meta::TypeConstraint::Parameterizable
166 - Added a new method 'parameterize' which is basically a factory
167 for the containing constraint. This makes it easier to create
168 new types of parameterized constraints. (jnapiorkowski)
170 * Moose::Meta::TypeConstraint::Union
171 - Changed the way Union types canonicalize their names to follow
172 the normalized TC naming rules, which means we strip all
173 whitespace. (jnapiorkowski)
175 * Moose::Util::TypeConstraints
176 - Parameter and Union args are now sorted, this makes Int|Str
177 the same constraint as Str|Int. (jnapiorkowski)
178 - Changes to the way Union types are parsed to more correctly
179 stringify their names. (jnapiorkowski)
180 - When creating a parameterized type, we now use the new
181 parameterize method. (jnapiorkowski)
182 - Incoming type constraint strings are now normalized to remove
183 all whitespace differences. (jnapiorkowski)
184 - Changed the way we parse type constraint strings so that we now
185 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
186 constraints. This lays the foundation for more flexible type
187 constraint implementations.
189 * Tests and docs for all the above. (jnapiorkowski)
193 - Moose::Exporter will no longer remove a subroutine that the
194 exporting package re-exports. Moose re-exports the
195 Carp::confess function, among others. The reasoning is that we
196 cannot know whether you have also explicitly imported those
197 functions for your own use, so we err on the safe side and
198 always keep them. (Dave Rolsky)
199 - added tests for this (rafl)
202 - Changes to how we fix metaclass compatibility that are much
203 too complicated to go into. The summary is that Moose is much
204 less likely to complain about metaclass incompatibility
205 now. In particular, if two metaclasses differ because
206 Moose::Util::MetaRole was used on the two corresponding
207 classes, then the difference in roles is reconciled for the
208 subclass's metaclass. (Dave Rolsky)
209 - Squashed an warning in _process_attribute (thepler)
212 - throw exceptions (sooner) for invalid attribute names (thepler)
213 - added tests for this (thepler)
215 * Moose::Util::MetaRole
216 - If you explicitly set a constructor or destructor class for a
217 metaclass object, and then applied roles to the metaclass,
218 that explicitly set class would be lost and replaced with the
222 * Moose::Meta::Attribute
223 * Moose::Meta::Method
226 * Moose::Error::Default
227 * Moose::Error::Croak
228 * Moose::Error::Confess
229 - All instances of confess() changed to use overridable
230 C<throw_error> method. This method ultimately calls a class
231 constructor, and you can change the class being called. In
232 addition, errors now pass more information than just a string.
233 The default C<error_class> behaves like C<Carp::confess>, so
234 the behavior is not visibly different for end users.
236 0.57 Wed September 3, 2008
238 - A new bit of doc intended to introduce folks familiar with
239 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
242 - Shows examples of two classes, each done first with and then
243 without Moose. This makes a nice parallel to
244 Moose::Intro. (Dave Rolsky)
246 * Moose::Util::TypeConstraints
247 - Fixed a bug in find_or_parse_type_constraint so that it
248 accepts a Moose::Meta::TypeConstraint object as the parent
249 type, not just a name (jnapiorkowski)
250 - added tests (jnapiorkowski)
253 - If Sub::Name was not present, unimporting failed to actually
254 remove some sugar subs, causing test failures (Dave Rolsky)
256 0.56 Mon September 1, 2008
257 For those not following the series of dev releases, there are
258 several major changes in this release of Moose.
259 ! Moose::init_meta should now be called as a method. See the
262 - Major performance improvements by nothingmuch.
264 - New modules for extension writers, Moose::Exporter and
265 Moose::Util::MetaRole by Dave Rolsky.
267 - Lots of doc improvements and additions, especially in the
272 * Removed all references to the experimental-but-no-longer-needed
273 Moose::Meta::Role::Application::ToMetaclassInstance.
275 * Require Class::MOP 0.65.
277 0.55_04 Sat August 30, 2008
278 * Moose::Util::MetaRole
279 * Moose::Cookbook::Extending::Recipe2
280 - This simplifies the application of roles to any meta class, as
281 well as the base object class. Reimplemented metaclass traits
282 using this module. (Dave Rolsky)
284 * Moose::Cookbook::Extending::Recipe1
285 - This a new recipe, an overview of various ways to write Moose
286 extensions (Dave Rolsky)
288 * Moose::Cookbook::Extending::Recipe3
289 * Moose::Cookbook::Extending::Recipe4
290 - These used to be Extending::Recipe1 and Extending::Recipe2,
293 0.55_03 Fri August 29, 2008
294 * No changes from 0.55_02 except increasing the Class::MOP
295 dependency to 0.64_07.
297 0.55_02 Fri August 29, 2008
298 * Makefile.PL and Moose.pm
299 - explicitly require Perl 5.8.0+ (Dave Rolsky)
301 * Moose::Util::TypeConstraints
302 - Fix warnings from find_type_constraint if the type is not
305 * Moose::Meta::TypeConstraint
306 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
307 return false if the type you specify cannot be found in the
308 type registry, rather than throwing an unhelpful and
309 coincidental exception. (t0m).
310 - added docs & test for this (t0m)
312 * Moose::Meta::TypeConstraint::Registry
313 - add_type_constraint now throws an exception if a parameter is
315 - added docs & test for this (t0m)
317 * Moose::Cookbook::FAQ
318 - Added a faq entry on the difference between "role" and "trait"
322 - Fixed a bug that caused role composition to not see a required
323 method when that method was provided by another role being
324 composed at the same time. (Dave Rolsky)
325 - test and bug finding (tokuhirom)
327 0.55_01 Wed August 20, 2008
329 !! Calling Moose::init_meta as a function is now !!
330 !! deprecated. Please see the Moose.pm docs for details. !!
332 * Moose::Meta::Method::Constructor
333 - Fix inlined constructor so that values produced by default
334 or builder methods are coerced as required. (t0m)
335 - added test for this (t0m)
337 * Moose::Meta::Attribute
338 - A lazy attribute with a default or builder did not attempt to
339 coerce the default value. The immutable code _did_
341 - added test for this (t0m)
344 - This is a new helper module for writing "Moose-alike"
345 modules. This should make the lives of MooseX module authors
346 much easier. (Dave Rolsky)
349 * Moose::Cookbook::Meta::Recipe5
350 - Implemented metaclass traits (and wrote a recipe for it):
352 use Moose -traits => 'Foo'
354 This should make writing small Moose extensions a little
357 * Moose::Cookbook::Basics::Recipe1
358 - Removed any examples of direct hashref access, and applied an
359 editorial axe to reduce verbosity. (Dave Rolsky)
361 * Moose::Cookbook::Basics::Recipe1
362 - Also applied an editorial axe here. (Dave Rolsky)
365 * Moose::Cookbook::Extending::Recipe1
366 * Moose::Cookbook::Extending::Recipe2
367 - Rewrote extending and embedding moose documentation and
368 recipes to use Moose::Exporter (Dave Rolsky)
372 - These two modules now warn when you load them from the main
373 package "main" package, because we will not export sugar to
374 main. Previously it just did nothing. (Dave Rolsky)
377 - Now provide an init_meta method just like Moose.pm, and you
378 can call this to provide an alternate role metaclass. (Dave
379 Rolsky and nothingmuch)
380 - get_method_map now respects the package cache flag (nothingmuch)
383 - Two new methods - add_method and wrap_method_body
387 - Optimizations including allowing constructors to accept hash
388 refs, making many more classes immutable, and making
389 constructors immutable. (nothingmuch)
391 0.55 Sun August 3, 2008
392 * Moose::Meta::Attribute
393 - breaking down the way 'handles' methods are
394 created so that the process can be more easily
395 overridden by subclasses (stevan)
397 * Moose::Meta::TypeConstraint
398 - fixing what is passed into a ->message with
399 the type constraints (RT #37569)
400 - added tests for this (Charles Alderman)
402 * Moose::Util::TypeConstraints
403 - fix coerce to accept anon types like subtype can (mst)
406 - reorganized the recipes into sections - Basics, Roles, Meta,
407 Extending - and wrote abstracts for each section (Dave Rolsky)
409 * Moose::Cookbook::Basics::Recipe10
410 - A new recipe that demonstrates operator overloading
411 in combination with Moose. (bluefeet)
413 * Moose::Cookbook::Meta::Recipe1
414 - an introduction to what meta is and why you'd want to make
415 your own metaclass extensions (Dave Rolsky)
417 * Moose::Cookbook::Meta::Recipe4
418 - a very simple metaclass example (Dave Rolsky)
420 * Moose::Cookbook::Extending::Recipe1
421 - how to write a Moose-alike module to use your own object base
424 * Moose::Cookbook::Extending::Recipe2
425 - how to write modules with an API just like C<Moose.pm> (Dave
429 - Tons of fixes, both syntactical and grammatical (Dave
430 Rolsky, Paul Fenwick)
432 0.54 Thurs. July 3, 2008
433 ... this is not my day today ...
435 * Moose::Meta::Attribute
436 - fixed legal_options_for_inheritance such that
437 clone_and_inherit options still works for
438 Class::MOP::Attribute objects and therefore
439 does not break MooseX::AttributeHelpers
442 0.53 Thurs. July 3, 2008
443 * Whoops, I guess I should run 'make manifest' before
444 actually releasing the module. No actual changes
445 in this release, except the fact that it includes
446 the changes that I didn't include in the last
449 0.52 Thurs. July 3, 2008
451 - added "FEATURE REQUESTS" section to the Moose docs
452 to properly direct people (stevan) (RT #34333)
453 - making 'extends' croak if it is passed a Role since
454 this is not ever something you want to do
455 (fixed by stevan, found by obra)
456 - added tests for this (stevan)
459 - adding support for DOES (as in UNIVERSAL::DOES)
461 - added test for this
463 * Moose::Meta::Attribute
464 - added legal_options_for_inheritance (wreis)
465 - added tests for this (wreis)
467 * Moose::Cookbook::Snacks::*
468 - removed some of the unfinished snacks that should
469 not have been released yet. Added some more examples
470 to the 'Keywords' snack. (stevan)
472 * Moose::Cookbook::Style
473 - added general Moose "style guide" of sorts to the
474 cookbook (nothingmuch) (RT #34335)
477 - added more BUILDARGS tests (stevan)
479 0.51 Thurs. Jun 26, 2008
481 - add unimport so "no Moose::Role" actually does
484 * Moose::Meta::Role::Application::ToRole
485 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
486 order to provide its own implementation, that method still got
487 added to the list of required methods for consumers of
488 RoleB. Now an aliased method is only added to the list of
489 required methods if the role doing the aliasing does not
490 provide its own implementation. See Recipe 11 for an example
491 of all this. (Dave Rolsky)
492 - added tests for this
494 * Moose::Meta::Method::Constructor
495 - when a single argument that wasn't a hashref was provided to
496 an immutabilized constructor, the error message was very
497 unhelpful, as opposed to the non-immutable error. Reported by
499 - added test for this (Dave Rolsky)
501 * Moose::Meta::Attribute
502 - added support for meta_attr->does("ShortAlias") (sartak)
503 - added tests for this (sartak)
504 - moved the bulk of the `handles` handling to the new
505 install_delegation method (Stevan)
508 - Added BUILDARGS, a new step in new()
510 * Moose::Meta::Role::Application::RoleSummation
511 - fix typos no one ever sees (sartak)
513 * Moose::Util::TypeConstraints
514 * Moose::Meta::TypeConstraint
515 * Moose::Meta::TypeCoercion
516 - Attempt to work around the ??{ } vs. threads issue
518 - Some null_constraint optimizations
520 0.50 Thurs. Jun 11, 2008
521 - Fixed a version number issue by bumping all modules
524 0.49 Thurs. Jun 11, 2008
525 !! This version now approx. 20-25% !!
526 !! faster with new Class::MOP 0.59 !!
528 * Moose::Meta::Attribute
529 - fixed how the is => (ro|rw) works with
530 custom defined reader, writer and accessor
532 - added docs for this (TODO).
533 - added tests for this (Thanks to Penfold)
534 - added the custom attribute alias for regular
535 Moose attributes which is "Moose"
536 - fix builder and default both being used
541 Moose::Meta::Attribute
543 Moose::Meta::Role::Composite
544 Moose::Util::TypeConstraints
545 - switched usage of reftype to ref because
549 - changing add_package_symbol to use the new
553 - fixed how DEMOLISHALL is called so that it
554 can be overrided in subclasses (thanks to Sartak)
555 - added test for this (thanks to Sartak)
557 * Moose::Util::TypeConstraints
558 - move the ClassName type check code to
559 Class::MOP::is_class_loaded (thanks to Sartak)
561 * Moose::Cookbook::Recipe11
562 - add tests for this (thanks to tokuhirom)
564 0.48 Thurs. May 29, 2008
565 (early morning release engineering)--
567 - fixing the version in Moose::Meta::Method::Destructor
568 which was causing the indexer to choke
570 0.47 Thurs. May 29, 2008
571 (late night release engineering)--
573 - fixing the version is META.yml, no functional
574 changes in this release
576 0.46 Wed. May 28, 2008
577 !! This version now approx. 20-25% !!
578 !! faster with new Class::MOP 0.57 !!
581 - some optimizations of the &initialize method
582 since it is called so often by &meta
586 - now use the get_all_package_symbols from the
587 updated Class::MOP, test suite is now 10 seconds
590 * Moose::Meta::Method::Destructor
591 - is_needed can now also be called as a class
592 method for immutablization to check if the
593 destructor object even needs to be created
596 * Moose::Meta::Method::Destructor
597 Moose::Meta::Method::Constructor
598 - added more descriptive error message to help
599 keep people from wasting time tracking an error
600 that is easily fixed by upgrading.
602 0.45 Saturday, May 24, 2008
604 - Because of work in Class::MOP 0.57, all
605 XS based functionality is now optional
606 and a Pure Perl version is supplied
607 - the CLASS_MOP_NO_XS environment variable
608 can now be used to force non-XS versions
610 - several of the packages have been tweaked
611 to take care of this, mostly we added
612 support for the package_name and name
613 variables in all the Method metaclasses
614 - before/around/after method modifiers now
615 support regexp matching of names
616 (thanks to Takatoshi Kitano)
617 - tests added for this
618 - NOTE: this only works for classes, it
619 is currently not supported in roles,
620 but, ... patches welcome
621 - All usage of Carp::confess have been replaced
622 by Carp::croak in the "keyword" functions since
623 the stack trace is usually not helpful
626 - All usage of Carp::confess have been replaced
627 by Carp::croak in the "keyword" functions since
628 the stack trace is usually not helpful
629 - The 'has' keyword for roles now accepts the
630 same array ref form that Moose.pm does
631 (has [qw/foo bar/] => (is => 'rw', ...))
632 - added test for this
634 * Moose::Meta::Attribute
635 - trigger on a ro-attribute is no longer an
636 error, as it's useful to trigger off of the
640 - added same 'add_package_symbol' fix as in
644 - does_role now handles non-Moose classes
646 - added tests for this
647 - added the 'add_method_modifier' function
648 (thanks to Takatoshi Kitano)
650 * Moose::Util::TypeConstraints
651 - subtypes of parameterizable types now are
652 themselves parameterizable types
654 * Moose::Meta::Method::Constructor
655 - fixed bug where trigger was not being
656 called by the inlined immutable
658 - added test for this (thanks to Caelum)
660 * Moose::Meta::Role::Application::ToInstance
661 - now uses the metaclass of the instance
662 (if possible) to create the anon-class
663 (thanks Jonathan Rockway)
665 * Moose::Cookbook::Recipe22
666 - added the meta-attribute trait recipe
670 - fixed hash-ordering test bug that was
671 causing occasional cpantester failures
672 - renamed the t/000_recipe/*.t tests to be
673 more descriptive (thanks to Sartak)
675 0.44 Sat. May 10, 2008
677 - made make_immutable warning cluck to
678 show where the error is (thanks mst)
681 - BUILDALL and DEMOLISHALL now call
682 ->body when looping through the
683 methods, to avoid the overloaded
685 - fixed issue where DEMOLISHALL was
686 eating the $@ values, and so not
687 working correctly, it still kind of
688 eats them, but so does vanilla perl
689 - added tests for this
691 * Moose::Cookbook::Recipe7
692 - added new recipe for immutable
693 functionality (thanks Dave Rolsky)
695 * Moose::Cookbook::Recipe9
696 - added new recipe for builder and
697 lazy_build (thanks Dave Rolsky)
699 * Moose::Cookbook::Recipe11
700 - added new recipe for method aliasing
701 and exclusion with Roles (thanks Dave Rolsky)
704 - fixed Win32 test failure (thanks spicyjack)
706 ~ removed Build.PL and Module::Build compat
707 since Module::Install has done that.
709 0.43 Wed. April, 30, 2008
711 drink more coffee before
712 doing release engineering
714 - whoops, forgot to do the smolder tests,
715 and we broke some of the custom meta-attr
716 modules. This fixes that.
718 0.42 Mon. April 28, 2008
719 - some bad tests slipped by, nothing else
720 changed in this release (cpantesters++)
722 - upped the Class::MOP dependency to 0.55
723 since we have tests which need the C3
726 0.41 Mon. April 28, 2008
727 ~~ numerous documentation updates ~~
729 - Changed all usage of die to Carp::croak for better
730 error reporting (initial patch by Tod Hagan)
733 - the make_immutable keyword is now deprecated, don't
734 use it in any new code and please fix your old code
735 as well. There will be 2 releases, and then it will
741 - refactored the way inner and super work to avoid
742 any method/@ISA cache penalty (nothingmuch)
745 - fixing &new_object to make sure trigger gets the
746 coerced value (spotted by Charles Alderman on the
748 - added test for this
750 * Moose::Meta::Method::Constructor
751 - immutable classes which had non-lazy attributes were calling
752 the default generating sub twice in the constructor. (bug
753 found by Jesse Luehrs, fixed by Dave Rolsky)
754 - added tests for this (Dave Rolsky)
755 - fix typo in initialize_body method (nothingmuch)
757 * Moose::Meta::Method::Destructor
758 - fix typo in initialize_body method (nothingmuch)
760 * Moose::Meta::Method::Overriden
761 Moose::Meta::Method::Augmented
762 - moved the logic for these into their own
763 classes (nothingmuch)
765 * Moose::Meta::Attribute
766 - inherited attributes may now be extended without
767 restriction on the type ('isa', 'does') (Sartak)
768 - added tests for this (Sartak)
769 - when an attribute property is malformed (such as lazy without
770 a default), give the name of the attribute in the error
772 - added the &applied_traits and &has_applied_traits methods
773 to allow introspection of traits
774 - added tests for this
775 - moved 'trait' and 'metaclass' argument handling to here from
777 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
778 '+foo' syntax) (nothingmuch)
779 - added tests for this (t0m)
782 - localize $@ inside DEMOLISHALL to avoid it
783 eating $@ (found by Ernesto)
784 - added test for this (thanks to Ernesto)
786 * Moose::Util::TypeConstraints
787 - &find_type_constraint now DWIMs when given an
788 type constraint object or name (nothingmuch)
789 - &find_or_create_type_constraint superseded with a number of more
791 - find_or_create_{isa,does}_type_constraint
792 - find_or_parse_type_constraint
794 * Moose::Meta::TypeConstraint
795 Moose::Meta::TypeConstraint::Class
796 Moose::Meta::TypeConstraint::Role
797 Moose::Meta::TypeConstraint::Enum
798 Moose::Meta::TypeConstraint::Union
799 Moose::Meta::TypeConstraint::Parameterized
800 - added the &equals method for comparing two type
801 constraints (nothingmuch)
802 - added tests for this (nothingmuch)
804 * Moose::Meta::TypeConstraint
805 - add the &parents method, which is just an alias to &parent.
806 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
808 * Moose::Meta::TypeConstraint::Class
809 - added the class attribute for introspection purposes
811 - added tests for this
813 * Moose::Meta::TypeConstraint::Enum
814 Moose::Meta::TypeConstraint::Role
815 - broke these out into their own classes (nothingmuch)
817 * Moose::Cookbook::Recipe*
818 - fixed references to test file locations in the POD
819 and updated up some text for new Moose features
823 - Added &resolve_metaclass_alias, a helper function for finding an actual
824 class for a short name (e.g. in the traits list)
826 0.40 Fri. March 14, 2008
827 - I hate Pod::Coverage
829 0.39 Fri. March 14, 2008
831 - documenting the use of '+name' with attributes
832 that come from recently composed roles. It makes
833 sense, people are using it, and so why not just
834 officially support it.
835 - fixing the 'extends' keyword so that it will not
836 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
839 - added the perl -Moose=+Class::Name feature to allow
840 monkeypatching of classes in one liners
843 - fixing the 'apply_all_roles' keyword so that it will not
844 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
847 - added ->create method which now supports roles (thanks to jrockway)
848 - added tests for this
849 - added ->create_anon_class which now supports roles and caching of
850 the results (thanks to jrockway)
851 - added tests for this
852 - made ->does_role a little more forgiving when it is
853 checking a Class::MOP era metaclasses.
855 * Moose::Meta::Role::Application::ToInstance
856 - it is now possible to pass extra params to be used when
857 a role is applied to an the instance (rebless_params)
858 - added tests for this
860 * Moose::Util::TypeConstraints
861 - class_type now accepts an optional second argument for a
862 custom message. POD anotated accordingly (groditi)
863 - added tests for this
864 - it is now possible to make anon-enums by passing 'enum' an
865 ARRAY ref instead of the $name => @values. Everything else
867 - added tests for this
870 - making test for using '+name' on attributes consumed
871 from a role, it works and makes sense too.
873 * Moose::Meta::Attribute
874 - fix handles so that it doesn't return nothing
875 when the method cannot be found, not sure why
876 it ever did this originally, this means we now
877 have slightly better support for AUTOLOADed
879 - added more delegation tests
880 - adding ->does method to this so as to better
881 support traits and their introspection.
882 - added tests for this
885 - localizing the Data::Dumper configurations so
886 that it does not pollute others (RT #33509)
887 - made ->does a little more forgiving when it is
888 passed Class::MOP era metaclasses.
890 0.38 Fri. Feb. 15, 2008
891 * Moose::Meta::Attribute
892 - fixed initializer to correctly do
893 type checking and coercion in the
895 - added tests for this
898 - fixed some finicky tests (thanks to konobi)
900 0.37 Thurs. Feb. 14, 2008
902 - fixed some details in Moose::init_meta
903 and its superclass handling (thanks thepler)
904 - added tests for this (thanks thepler)
905 - 'has' now dies if you don't pass in name
907 - added the 'make_immutable' keyword as a shortcut
911 Moose::Meta::Method::Constructor
912 Moose::Meta::Attribute
913 - making (init_arg => undef) work here too
914 (thanks to nothingmuch)
916 * Moose::Meta::Attribute
917 Moose::Meta::Method::Constructor
918 Moose::Meta::Method::Accessor
919 - make lazy attributes respect attr initializers (rjbs)
920 - added tests for this
922 * Moose::Util::TypeConstraints
923 Moose::Util::TypeConstraints::OptimizedConstraints
924 Moose::Meta::TypeConstraints
925 Moose::Meta::Attribute
926 Moose::Meta::Method::Constructor
927 Moose::Meta::Method::Accessor
928 - making type errors use the
929 assigned message (thanks to Sartak)
930 - added tests for this
932 * Moose::Meta::Method::Destructor
933 - making sure DESTROY gets inlined properly
934 with successive DEMOLISH calls (thanks to manito)
936 * Moose::Meta::Attribute
937 Moose::Meta::Method::Accessor
938 - fixed handling of undef with type constraints
940 - added tests for this
943 - added &get_all_init_args and &get_all_attribute_values
944 (thanks to Sartak and nothingmuch)
946 0.36 Sat. Jan. 26, 2008
948 Moose::Meta::Attribute
949 - role type tests now support when roles are
950 applied to non-Moose classes (found by ash)
951 - added tests for this (thanks to ash)
952 - couple extra tests to boost code coverage
954 * Moose::Meta::Method::Constructor
955 - improved fix for handling Class::MOP attributes
956 - added test for this
959 - handled the add_attribute($attribute_meta_object)
961 - added test for this
963 0.35 Tues. Jan. 22, 2008
964 * Moose::Meta::Method::Constructor
965 - fix to make sure even Class::MOP attributes
966 are handled correctly (Thanks to Dave Rolsky)
967 - added test for this (also Dave Rolsky)
970 - improved error message on _apply_all_roles,
971 you should now use Moose::Util::apply_all_roles
972 and you shouldnt have been using a _ prefixed
973 method in the first place ;)
975 0.34 Mon. Jan. 21, 2008
976 ~~~ more misc. doc. fixes ~~~
977 ~~ updated copyright dates ~~
979 Moose is now a postmodern object system :)
980 - (see the POD for details)
982 * <<Role System Refactoring>>
983 - this release contains a major reworking and
984 cleanup of the role system
985 - 100% backwards compat.
986 - Role application now restructured into seperate
987 classes based on type of applicants
988 - Role summation (combining of more than one role)
989 is much cleaner and anon-classes are no longer
991 - new Composite role metaclass
992 - runtime application of roles to instances
993 is now more efficient and re-uses generated
994 classes when applicable
996 * <<New Role composition features>>
997 - methods can now be excluded from a given role
999 - methods can now be aliased to another name (and
1000 still retain the original as well)
1002 * Moose::Util::TypeConstraints::OptimizedConstraints
1003 - added this module (see above)
1005 * Moose::Meta::Class
1006 - fixed the &_process_attribute method to be called
1007 by &add_attribute, so that the API is now correct
1009 * Moose::Meta::Method::Accessor
1010 - fixed bug when passing a list of values to
1011 an accessor would get (incorrectly) ignored.
1012 Thanks to Sartak for finding this ;)
1013 - added tests for this (Sartak again)
1015 * Moose::Meta::Method::Accessor
1016 Moose::Meta::Method::Constructor
1017 Moose::Meta::Attribute
1018 Moose::Meta::TypeConstraint
1019 Moose::Meta::TypeCoercion
1020 - lots of cleanup of such things as:
1022 - type constraint handling
1023 - error handling/messages
1024 (thanks to nothingmuch)
1026 * Moose::Meta::TypeConstraint::Parameterizable
1027 - added this module to support the refactor
1028 in Moose::Meta::TypeConstraint::Parameterized
1030 * Moose::Meta::TypeConstraint::Parameterized
1031 - refactored how these types are handled so they
1032 are more generic and not confined to ArrayRef
1036 - shortened some file names for better VMS support (RT #32381)
1038 0.33 Fri. Dec. 14, 2007
1039 !! Moose now loads 2 x faster !!
1040 !! with new Class::MOP 0.49 !!
1042 ++ new oose.pm module to make command line
1043 Moose-ness easier (see POD docs for more)
1045 * Moose::Meta::Class
1047 - several tweaks to take advantage of the
1048 new method map caching in Class::MOP
1050 * Moose::Meta::TypeConstraint::Parameterized
1051 - allow subtypes of ArrayRef and HashRef to
1052 be used as a container (sartak)
1053 - added tests for this
1054 - basic support for coercion to ArrayRef and
1055 HashRef for containers (sartak)
1056 - added tests for this
1058 * Moose::Meta::TypeCoercion
1059 - coercions will now create subtypes as needed
1060 so you can now add coercions to parameterized
1061 types without having to explictly define them
1062 - added tests for this
1064 * Moose::Meta::Method::Accessor
1065 - allow subclasses to decide whether we need
1066 to copy the value into a new variable (sartak)
1068 0.32 Tues. Dec. 4, 2007
1069 * Moose::Util::TypeConstraints
1070 - fixing how subtype aliases of unions work
1071 they should inherit the parent's coercion
1072 - added tests for this
1073 - you can now define multiple coercions on
1074 a single type at different times instead of
1075 having to do it all in one place
1076 - added tests for this
1078 * Moose::Meta::TypeConstraint
1079 - there is now a default constraint of sub { 1 }
1080 instead of Moose::Util::TypeConstraints setting
1083 * Moose::Meta::TypeCoercion
1084 * Moose::Meta::TypeCoercion::Union
1085 - added the &has_coercion_for_type and
1086 &add_type_coercions methods to support the
1087 new features above (although you cannot add
1088 more type coercions for Union types)
1090 0.31 Mon. Nov. 26, 2007
1091 * Moose::Meta::Attribute
1092 - made the +attr syntax handle extending types with
1093 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1094 now works if the original foo is an ArrayRef.
1095 - added tests for this.
1096 - delegation now works even if the attribute does not
1097 have a reader method using the get_read_method_ref
1098 method from Class::MOP::Attribute.
1099 - added tests for this
1100 - added docs for this
1102 * Moose::Util::TypeConstraints
1103 - passing no "additional attribute info" to
1104 &find_or_create_type_constraint will no longer
1105 attempt to create an __ANON__ type for you,
1106 instead it will just return undef.
1107 - added docs for this
1109 0.30 Fri. Nov. 23, 2007
1110 * Moose::Meta::Method::Constructor
1111 -builder related bug in inlined constructor. (groditi)
1113 * Moose::Meta::Method::Accessor
1114 - genereate unnecessary calls to predicates and refactor
1115 code generation for runtime speed (groditi)
1117 * Moose::Util::TypeConstraints
1118 - fix ClassName constraint to introspect symbol table (mst)
1119 - added more tests for this (mst)
1120 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1121 with work correctly.
1122 - added tests for this
1125 - adding the link to Recipie 11 (written by Sartak)
1126 - adding test for SYNOPSIS code
1129 - New tests for builder bug. Upon instantiation, if an
1130 attribute had a builder, no value and was not lazy the
1131 builder default was not getting run, oops. (groditi)
1133 0.29 Tues. Nov. 13, 2007
1134 * Moose::Meta::Attribute
1135 - Fix error message on missing builder method (groditi)
1137 * Moose::Meta::Method::Accessor
1138 - Fix error message on missing builder method (groditi)
1141 - Add test to check for the correct error message when
1142 builder method is missing (groditi)
1144 0.28 Tues. Nov. 13, 2007
1145 - 0.27 packaged incorrectly (groditi)
1147 0.27 Tues. Nov. 13, 2007
1148 * Moose::Meta::Attribute
1149 - Added support for the new builder option (groditi)
1150 - Added support for lazy_build option (groditi)
1151 - Changed slot initialization for predicate changes (groditi)
1153 * Moose::Meta::Method::Accessor
1154 - Added support for lazy_build option (groditi)
1155 - Fix inline methods to work with corrected predicate
1158 * Moose::Meta::Method::Constructor
1159 - Added support for lazy_build option (groditi)
1162 - tests for builder and lazy_build (groditi)
1164 * fixing some misc. bits in the docs that
1165 got mentioned on CPAN Forum & perlmonks
1168 - fixed how required methods are handled
1169 when they encounter overriden or modified
1170 methods from a class (thanks to confound).
1171 - added tests for this
1173 * Moose::Util::TypeConstraint
1174 - fixed the type notation parser so that
1175 the | always creates a union and so is
1176 no longer a valid type char (thanks to
1177 konobi, mugwump and #moose for working
1179 - added more tests for this
1181 0.26 Thurs. Sept. 27, 2007
1184 * Parameterized Types
1185 We now support parameterized collection types, such as:
1186 ArrayRef[Int] # array or integers
1187 HashRef[Object] # a hash with object values
1188 They can also be nested:
1189 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
1190 And work with the type unions as well:
1191 ArrayRef[Int | Str] # array of integers of strings
1193 * Better Framework Extendability
1194 Moose.pm is now "extendable" such that it is now much
1195 easier to extend the framework and add your own keywords
1196 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1197 section of the Moose.pm docs.
1200 In an effort to begin documenting some of the various
1201 details of Moose as well as some common idioms, we have
1202 created Moose::Cookbook::Snacks as a place to find
1203 small (easily digestable) nuggets of Moose code.
1206 ~ Several doc updates/cleanup thanks to castaway ~
1208 - converted build system to use Module::Install instead of
1209 Module::Build (thanks to jrockway)
1212 - added all the meta classes to the immutable list and
1213 set it to inline the accessors
1214 - fix import to allow Sub::Exporter like { into => }
1215 and { into_level => } (perigrin)
1216 - exposed and documented init_meta() to allow better
1217 embedding and extending of Moose (perigrin)
1220 - complete re-organization of the test suite
1221 - added some new tests as well
1222 - finally re-enabled the Moose::POOP test since
1223 the new version of DBM::Deep now works again
1226 * Moose::Meta::Class
1227 - fixed very odd and very nasty recursion bug with
1229 - added tests for this (eilara)
1231 * Moose::Meta::Attribute
1232 Moose::Meta::Method::Constructor
1233 Moose::Meta::Method::Accessor
1234 - fixed issue with overload::Overloaded getting called
1235 on non-blessed items. (RT #29269)
1236 - added tests for this
1238 * Moose::Meta::Method::Accessor
1239 - fixed issue with generated accessor code making
1240 assumptions about hash based classes (thanks to dexter)
1242 * Moose::Coookbook::Snacks
1243 - these are bits of documentation, not quite as big as
1244 Recipes but which have no clear place in the module docs.
1245 So they are Snacks! (horray for castaway++)
1247 * Moose::Cookbook::Recipe4
1248 - updated it to use the new ArrayRef[MyType] construct
1249 - updated the accompanying test as well
1251 +++ Major Refactor of the Type Constraint system +++
1252 +++ with new features added as well +++
1254 * Moose::Util::TypeConstraint
1255 - no longer uses package variable to keep track of
1256 the type constraints, now uses the an instance of
1257 Moose::Meta::TypeConstraint::Registry to do it
1258 - added more sophisticated type notation parsing
1260 - added tests for this
1262 * Moose::Meta::TypeConstraint
1263 - some minor adjustments to make subclassing easier
1264 - added the package_defined_in attribute so that we
1265 can track where the type constraints are created
1267 * Moose::Meta::TypeConstraint::Union
1268 - this is now been refactored to be a subclass of
1269 Moose::Meta::TypeConstraint
1271 * Moose::Meta::TypeCoercion::Union
1272 - this has been added to service the newly refactored
1273 Moose::Meta::TypeConstraint::Union and is itself
1274 a subclass of Moose::Meta::TypeCoercion
1276 * Moose::Meta::TypeConstraint::Parameterized
1277 - added this module (taken from MooseX::AttributeHelpers)
1278 to help construct nested collection types
1279 - added tests for this
1281 * Moose::Meta::TypeConstraint::Registry
1282 - added this class to keep track of type constraints
1284 0.25 Mon. Aug. 13, 2007
1286 - Documentation update to reference Moose::Util::TypeConstraints
1287 under 'isa' in 'has' for how to define a new type
1288 (thanks to shlomif).
1290 * Moose::Meta::Attribute
1291 - required attributes now will no longer accept undef
1292 from the constructor, even if there is a default and lazy
1293 - added tests for this
1294 - default subroutines must return a value which passes the
1296 - added tests for this
1298 * Moose::Meta::Attribute
1299 * Moose::Meta::Method::Constructor
1300 * Moose::Meta::Method::Accessor
1301 - type-constraint tests now handle overloaded objects correctly
1302 in the error message
1303 - added tests for this (thanks to EvanCarroll)
1305 * Moose::Meta::TypeConstraint::Union
1306 - added (has_)hand_optimized_constraint to this class so that
1307 it behaves as the regular Moose::Meta::TypeConstraint does.
1310 - large refactoring of this code
1311 - added several more tests
1312 - tests for subtle conflict resolition issues
1313 added, but not currently running
1316 * Moose::Cookbook::Recipe7
1317 - added new recipe for augment/inner functionality
1319 - added test for this
1322 - a formal definition of roles (still in progress)
1325 - utilities for easier working with Moose classes
1326 - added tests for these
1329 - This contains Moose specific test functions
1330 - added tests for these
1332 0.24 Tues. July 3, 2007
1333 ~ Some doc updates/cleanup ~
1335 * Moose::Meta::Attribute
1336 - added support for roles to be given as parameters
1337 to the 'handles' option.
1338 - added tests and docs for this
1339 - the has '+foo' attribute form now accepts changes to
1340 the lazy option, and the addition of a handles option
1341 (but not changing the handles option)
1342 - added tests and docs for this
1345 - required methods are now fetched using find_method_by_name
1346 so that required methods can come from superclasses
1347 - adjusted tests for this
1349 0.23 Mon. June 18, 2007
1350 * Moose::Meta::Method::Constructor
1351 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1352 * Moose::Meta::Class
1353 - Modify make_immutable to work with the new Class::MOP immutable
1354 mechanism + POD + very basic test (groditi)
1355 * Moose::Meta::Attribute
1356 - Fix handles to use goto() so that caller() comes out properly on
1357 the other side (perigrin)
1359 0.22 Thurs. May 31, 2007
1360 * Moose::Util::TypeConstraints
1361 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1362 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1363 prototypes for functions
1364 - added the ClassName type constraint, this checks for strings
1365 which will respond true to ->isa(UNIVERSAL).
1366 - added tests and docs for this
1367 - subtyping just in name now works correctly by making the
1368 default for where be { 1 }
1369 - added test for this
1371 * Moose::Meta::Method::Accessor
1372 - coerce and lazy now work together correctly, thanks to
1373 merlyn for finding this bug
1374 - tests added for this
1375 - fix reader presedence bug in Moose::Meta::Attribute + tests
1378 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1379 a HASH-ref and missed. This produces better error messages then
1380 having it die cause undef is not a HASH.
1381 - added tests for this
1383 0.21 Thursday, May 2nd, 2007
1385 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1386 - modified unimport to remove super and inner along with the rest
1387 - altered unimport tests to handle this
1390 - altered super export to populate SUPER_SLOT
1392 * Moose::Meta::Class
1393 - altered augment and override modifier application to use *_SLOT
1394 - modified tests for these to unimport one test class each to test
1397 - fixed issue where custom attribute metaclasses
1398 where not handled correctly in roles
1399 - added tests for this
1401 * Moose::Meta::Class
1402 - fixed issue where extending metaclasses with
1403 roles would blow up. Thanks to Aankhen`` for
1404 finding this insidious error, and it's solution.
1406 ~~ lots of spelling and grammer fixes in the docs,
1407 many many thanks to rlb3 and Aankhen for these :)
1409 0.20 Friday, April 6th, 2007
1410 >> I messed up the SKIP logic in one test
1411 so this release is just to fix that.
1414 - 'has' now also accepts an ARRAY ref
1415 to create multiple attrs (see docs)
1416 (thanks to konobi for this)
1417 - added tests and docs
1419 0.19 Thurs. April 5th, 2007
1420 ~~ More documentation updates ~~
1422 * Moose::Util::TypeConstraints
1423 - 'type' now supports messages as well
1424 thanks to phaylon for finding this
1425 - added tests for this
1426 - added &list_all_type_constraints and
1427 &list_all_builtin_type_constraints
1428 functions to facilitate introspection.
1430 * Moose::Meta::Attribute
1431 - fixed regexp 'handles' declarations
1432 to build the list of delegated methods
1433 correctly (and not override important
1434 things like &new) thanks to ashleyb
1436 - added tests and docs for this
1437 - added the 'documentation' attributes
1438 so that you can actually document your
1439 attributes and inspect them through the
1441 - added tests and docs for this
1443 * Moose::Meta::Class
1444 - when loading custom attribute metaclasses
1445 it will first look in for the class in the
1446 Moose::Meta::Attribute::Custom::$name, and
1447 then default to just loading $name.
1448 - added tests and docs for this
1450 * Moose::Meta::TypeConstraint
1451 - type constraints now stringify to their names.
1452 - added test for this
1455 - added tests to assure we work with Module::Refresh
1456 - added stricter test skip logic in the Moose POOP
1457 test, ask Rob Kinyon why.
1458 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1460 0.18 Sat. March 10, 2007
1461 ~~ Many, many documentation updates ~~
1464 - We now use Class::MOP::load_class to
1466 - added tests to show types and subtypes
1467 working with Declare::Constraints::Simple
1468 and Test::Deep as constraint engines.
1471 !! You must have Class::MOP 0.37_001 !!
1472 !! for this developer release to work !!
1474 This release was primarily adding the immutable
1475 feature to Moose. An immutable class is one which
1476 you promise not to alter. When you set the class
1477 as immutable it will perform various bits of
1478 memoization and inline certain part of the code
1479 (constructors, destructors and accessors). This
1480 minimizes (and in some cases totally eliminates)
1481 one of Moose's biggest performance hits. This
1482 feature is not on by default, and is 100% optional.
1483 It has several configurable bits as well, so you
1484 can pick and choose to your specific needs.
1486 The changes involved in this were fairly wide and
1487 highly specific, but 100% backwards compatible, so
1488 I am not going to enumerate them here. If you are
1489 truely interested in what was changed, please do
1492 0.17 Tues. Nov. 14, 2006
1493 * Moose::Meta::Method::Accessor
1494 - bugfix for read-only accessors which
1495 are have a type constraint and lazy.
1496 Thanks to chansen for finding it.
1498 0.16 Tues. Nov. 14, 2006
1500 There are some speed improvements in this release,
1501 but they are only the begining, so stay tuned.
1504 - BUILDALL and DEMOLISHALL no longer get
1505 called unless they actually need to be.
1506 This gave us a signifigant speed boost
1507 for the cases when there is no BUILD or
1508 DEMOLISH method present.
1510 * Moose::Util::TypeConstraints
1511 * Moose::Meta::TypeConstraint
1512 - added an 'optimize_as' option to the
1513 type constraint, which allows for a
1514 hand optimized version of the type
1515 constraint to be used when possible.
1516 - Any internally created type constraints
1517 now provide an optimized version as well.
1519 0.15 Sun. Nov. 5, 2006
1521 This version of Moose *must* have Class::MOP 0.36 in order
1522 to work correctly. A number of small internal tweaks have
1523 been made in order to be compatible with that release.
1525 * Moose::Util::TypeConstraints
1526 - added &unimport so that you can clean out
1527 your class namespace of these exported
1530 * Moose::Meta::Class
1531 - fixed minor issue which occasionally
1532 comes up during global destruction
1534 - moved Moose::Meta::Method::Overriden into
1538 - moved Moose::Meta::Role::Method into
1541 * Moose::Meta::Attribute
1542 - changed how we do type checks so that
1543 we reduce the overall cost, but still
1546 - moved accessor generation methods to
1547 Moose::Meta::Method::Accessor to
1548 conform to the API changes from
1551 * Moose::Meta::TypeConstraint
1552 - changed how constraints are compiled
1553 so that we do less recursion and more
1554 iteration. This makes the type check
1556 - moved Moose::Meta::TypeConstraint::Union
1559 * Moose::Meta::Method::Accessor
1560 - created this from methods formerly found in
1561 Moose::Meta::Attribute
1563 * Moose::Meta::Role::Method
1564 - moved this from Moose::Meta::Role
1566 * Moose::Meta::Method::Overriden
1567 - moved this from Moose::Meta::Class
1569 * Moose::Meta::TypeConstraint::Union
1570 - moved this from Moose::Meta::TypeConstraint
1572 0.14 Mon. Oct. 9, 2006
1574 * Moose::Meta::Attribute
1575 - fixed lazy attributes which were not getting
1576 checked with the type constraint (thanks ashley)
1577 - added tests for this
1578 - removed the over-enthusiastic DWIMery of the
1579 automatic ArrayRef and HashRef defaults, it
1580 broke predicates in an ugly way.
1581 - removed tests for this
1583 0.13 Sat. Sept. 30, 2006
1585 This version of Moose *must* have Class::MOP 0.35 in order
1586 to work correctly. A number of small internal tweaks have
1587 been made in order to be compatible with that release.
1590 - Removed the use of UNIVERSAL::require to be a better
1591 symbol table citizen and remove a dependency
1592 (thanks Adam Kennedy)
1594 **~~ removed experimental & undocumented feature ~~**
1595 - commented out the 'method' and 'self' keywords, see the
1596 comments for more info.
1599 - added a FAQ and WTF files to document frequently
1600 asked questions and common problems
1602 * Moose::Util::TypeConstraints
1603 - added GlobRef and FileHandle type constraint
1604 - added tests for this
1606 * Moose::Meta::Attribute
1607 - if your attribute 'isa' ArrayRef of HashRef, and you have
1608 not explicitly set a default, then make the default DWIM.
1609 This will also work for subtypes of ArrayRef and HashRef
1611 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1612 - new test added for this (thanks to ashley)
1615 - added basic support for runtime role composition
1616 but this is still *highly experimental*, so feedback
1617 is much appreciated :)
1618 - added tests for this
1620 * Moose::Meta::TypeConstraint
1621 - the type constraint now handles the coercion process
1622 through delegation, this is to support the coercion
1625 * Moose::Meta::TypeConstraint::Union
1626 - it is now possible for coercions to be performed
1628 - added tests for this (thanks to konobi)
1630 * Moose::Meta::TypeCoercion
1631 - properly capturing error when type constraint
1635 - Scalar::Util 1.18 is bad on Win32, so temporarily
1636 only require version 1.17 for Win32 and cygwin.
1637 (thanks Adam Kennedy)
1639 0.12 Sat. Sept. 1, 2006
1641 - Recipe5 (subtypes & coercion) has been written
1644 - fixed "bad meta" error message to be more descriptive
1645 - fixed &unimport to not remove the &inner and &super
1646 keywords because we need to localize them.
1647 - fixed number of spelling/grammer issues, thanks Theory :)
1649 **~~ experimental & undocumented feature ~~**
1650 - added the method and self keywords, they are basically
1651 just sugar, and they may not stay around.
1654 - added &dump method to easily Data::Dumper
1657 * Moose::Meta::TypeConstraint
1658 - added the &is_a_type_of method to check both the current
1659 and the subtype of a method (similar to &isa with classes)
1662 - this is now a subclass of Class::MOP::Module, and no longer
1663 creates the _role_meta ugliness of before.
1664 - fixed tests to reflect this change
1666 0.11 Wed. July 12, 2006
1668 - added an &unimport method to remove all the keywords
1669 that Moose will import, simply add 'no Moose' to the
1670 bottom of your class file.
1673 - fixed some test failures caused by a forgotten test
1676 0.10 Thurs. July 6, 2006
1678 - improved error message when loading modules so
1679 it is less confusing when you load a role.
1680 - added &calculate_all_roles method to
1681 Moose::Meta::Class and Moose::Meta::Role
1684 This module has been tested against Class::MOP 0.30
1685 but it does not yet utilize the optimizations
1686 it makes available. Stay tuned for that ;)
1688 0.09_03 Fri. June 23, 2006
1689 ++ DEVELOPER RELEASE ++
1691 - 'use strict' and 'use warnings' are no longer
1692 needed in Moose classes, Moose itself will
1693 turn them on for you.
1694 - added tests for this
1695 - moved code from exported subs to private methods
1696 in Moose::Meta::Class
1699 - as with Moose, strict and warnings are
1700 automatically turned on for you.
1701 - added tests for this
1704 - now handles an edge case for override errors
1705 - added tests for this
1706 - added some more edge case tests
1708 0.09_02 Tues. May 16, 2006
1709 ++ DEVELOPER RELEASE ++
1711 - added prototypes to the exported subs
1715 - added prototypes to the exported subs
1718 * Moose::Util::TypeConstraints
1719 - cleaned up prototypes for the subs
1722 0.09_01 Fri. May 12, 2006
1723 ++ DEVELOPER RELEASE ++
1724 - This release works in combination with
1725 Class::MOP 0.29_01, it is a developer
1726 release because it uses the a new
1727 instance sub-protocol and a fairly
1728 complete Role implementation. It has
1729 not yet been optimized, so it slower
1730 the the previous CPAN version. This
1731 release also lacks good updated docs,
1732 the official release will have updated docs.
1735 - refactored the keyword exports
1736 - 'with' now checks Role validaity and
1737 accepts more than one Role at a time
1738 - 'extends' makes metaclass adjustments as
1739 needed to ensure metaclass compatibility
1742 - refactored the keyword exports
1743 - 'with' now checks Role validaity and
1744 accepts more than one Role at a time
1746 * Moose::Util::TypeConstraints
1747 - added the 'enum' keyword for simple
1748 string enumerations which can be used as
1750 - see example of usage in t/202_example.t
1753 - more careful checking of params to new()
1756 - much work done on the role composition
1757 - many new tests for conflict detection
1758 and composition edge cases
1759 - not enough documentation, I suggest
1760 looking at the tests
1762 * Moose::Meta::Instance
1763 - added new Instance metaclass to support
1764 the new Class::MOP instance protocol
1766 * Moose::Meta::Class
1767 - some small changes to support the new
1769 - some small additions to support Roles
1771 * Moose::Meta::Attribute
1772 - some improvements to the accessor generation code
1774 - some small changes to support the new
1776 - (still somewhat) experimental delegation support
1777 with the 'handles' option
1778 - added several tests for this
1779 - no docs for this yet
1781 0.05 Thurs. April 27, 2006
1783 - keywords are now exported with Sub::Exporter
1784 thanks to chansen for this commit
1785 - has keyword now takes a 'metaclass' option
1786 to support custom attribute meta-classes
1787 on a per-attribute basis
1788 - added tests for this
1789 - the 'has' keyword not accepts inherited slot
1790 specifications (has '+foo'). This is still an
1791 experimental feature and probably not finished
1792 see t/038_attribute_inherited_slot_specs.t for
1793 more details, or ask about it on #moose
1794 - added tests for this
1797 - keywords are now exported with Sub::Exporter
1799 * Moose::Utils::TypeConstraints
1800 - reorganized the type constraint hierarchy, thanks
1801 to nothingmuch and chansen for his help and advice
1803 - added some tests for this
1804 - keywords are now exported with Sub::Exporter
1805 thanks to chansen for this commit
1807 * Moose::Meta::Class
1808 - due to changes in Class::MOP, we had to change
1809 construct_instance (for the better)
1811 * Moose::Meta::Attribute
1812 - due to changes in Class::MOP, we had to add the
1813 initialize_instance_slot method (it's a good thing)
1815 * Moose::Meta::TypeConstraint
1816 - added type constraint unions
1817 - added tests for this
1818 - added the is_subtype_of predicate method
1819 - added tests for this
1821 0.04 Sun. April 16th, 2006
1823 - Roles can now consume other roles
1824 - added tests for this
1825 - Roles can specify required methods now with
1826 the requires() keyword
1827 - added tests for this
1830 - ripped out much of it's guts ,.. much cleaner now
1831 - added required methods and correct handling of
1832 them in apply() for both classes and roles
1833 - added tests for this
1834 - no longer adds a does() method to consuming classes
1835 it relys on the one in Moose::Object
1836 - added roles attribute and some methods to support
1837 roles consuming roles
1839 * Moose::Meta::Attribute
1840 - added support for triggers on attributes
1841 - added tests for this
1842 - added support for does option on an attribute
1843 - added tests for this
1845 * Moose::Meta::Class
1846 - added support for attribute triggers in the
1848 - added tests for this
1851 - Moose no longer creates a subtype for your class
1852 if a subtype of the same name already exists, this
1853 should DWIM in 99.9999% of all cases
1855 * Moose::Util::TypeConstraints
1856 - fixed bug where incorrect subtype conflicts were
1858 - added test for this
1861 - this class can now be extended with 'use base' if
1862 you need it, it properly loads the metaclass class now
1863 - added test for this
1865 0.03_02 Wed. April 12, 2006
1867 - you must now explictly use Moose::Util::TypeConstraints
1868 it no longer gets exported for you automatically
1871 - new() now accepts hash-refs as well as key/value lists
1872 - added does() method to check for Roles
1873 - added tests for this
1875 * Moose::Meta::Class
1876 - added roles attribute along with the add_role() and
1878 - added tests for this
1881 - now adds a does() method to consuming classes
1882 which tests the class's hierarchy for roles
1883 - added tests for this
1885 0.03_01 Mon. April 10, 2006
1887 - added new Role recipe (no content yet, only code)
1890 - added 'with' keyword for Role support
1891 - added test and docs for this
1892 - fixed subtype quoting bug
1893 - added test for this
1897 - added test and docs
1899 * Moose::Util::TypeConstraints
1900 - added the message keyword to add custom
1901 error messages to type constraints
1904 - the meta role to support Moose::Role
1905 - added tests and docs
1907 * Moose::Meta::Class
1908 - moved a number of things from Moose.pm
1909 to here, they should have been here
1912 * Moose::Meta::Attribute
1913 - moved the attribute option macros here
1914 instead of putting them in Moose.pm
1916 * Moose::Meta::TypeConstraint
1917 - added the message attributes and the
1919 - added tests and docs for this
1921 0.03 Thurs. March 30, 2006
1923 - added the Moose::Cookbook with 5 recipes,
1924 describing all the stuff Moose can do.
1927 - fixed an issue with &extends super class loading
1928 it now captures errors and deals with inline
1929 packages correctly (bug found by mst, solution
1931 - added super/override & inner/augment features
1932 - added tests and docs for these
1935 - BUILDALL now takes a reference of the %params
1936 that are passed to &new, and passes that to
1939 * Moose::Util::TypeConstraints
1940 - Type constraints now survive runtime reloading
1941 - added test for this
1943 * Moose::Meta::Class
1944 - fixed the way attribute defaults are handled
1945 during instance construction (bug found by chansen)
1947 * Moose::Meta::Attribute
1948 - read-only attributes now actually enforce their
1949 read-only-ness (this corrected in Class::MOP as
1952 0.02 Tues. March 21, 2006
1954 - many more tests, fixing some bugs and
1956 - &extends now loads the base module with
1958 - added UNIVERSAL::require to the
1961 - each new Moose class will also create
1962 and register a subtype of Object which
1963 correspond to the new Moose class.
1964 - the 'isa' option in &has now only
1965 accepts strings, and will DWIM in
1968 * Moose::Util::TypeConstraints
1969 - added type coercion features
1970 - added tests for this
1971 - added support for this in attributes
1972 and instance construction
1974 - type construction no longer creates a
1975 function, it registers the type instead.
1976 - added several functions to get the
1980 - BUILDALL and DEMOLISHALL were broken
1981 because of a mis-named hash key, Whoops :)
1983 * Moose::Meta::Attribute
1984 - adding support for coercion in the
1985 autogenerated accessors
1987 * Moose::Meta::Class
1988 - adding support for coercion in the
1989 instance construction
1991 * Moose::Meta::TypeConstraint
1992 * Moose::Meta::TypeCoercion
1993 - type constraints and coercions are now
1994 full fledges meta-objects
1996 0.01 Wed. March 15, 2006
1997 - Moooooooooooooooooose!!!