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
10 - added test for this (stevan)
11 * Moose::Meta::Role::Application::RoleSummation
12 - fixed the error message when trying to compose
13 a role with a role it excludes (Sartak)
15 - Catch another case where recursion caused the value
16 of $CALLER to be stamped on (t0m)
17 - added test for this (t0m)
19 - Remove the make_immutable keyword, which has been
20 deprecated since April. It breaks metaclasses that
21 use Moose without no Moose (Sartak)
23 - create method for constructing a role
25 - added test for this (Sartak)
26 - anonymous roles! (Sartak)
27 - added test for this (Sartak)
29 - more consistent error messages (Sartak)
31 0.61 Fri November 7, 2008
32 * Moose::Meta::Attribute
33 - When passing a role to handles, it will be loaded if necessary
37 - Method objects returned by get_method (and other methods)
38 Could end up being returned without an associated_metaclass
39 attribute. Removing get_method_map, which is provided by
40 Class::MOP::Class, fixed this. The Moose version did nothing
41 different from its parent except introduce a bug. (Dave Rolsky)
42 - added tests for this (jdv79)
45 - Added a $VERSION to all .pm files which didn't have one. Fixes
46 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
48 * Moose::Cookbook::Basics::Recipe4
49 * Moose::Cookbook::Basics::Recipe6
50 - These files had spaces on the first line of the SYNOPSIS, as
51 opposed to a totally empty line. According to RT #40432, this
52 confuses POD parsers. (Dave Rolsky)
54 0.60 Fri October 24, 2008
56 - Passing "-traits" when loading Moose caused the Moose.pm
57 exports to be broken. Reported by t0m. (Dave Rolsky)
58 - Tests for this bug. (t0m)
61 - Change resolve_metaclass alias to use the new
62 load_first_existing_class function. This makes it a lot
63 simpler, and also around 5 times faster. (t0m)
64 - Add caching to resolve_metaclass_alias, which gives an order
65 of magnitude speedup to things which repeatedly call the
66 Moose::Meta::Attribute->does method, notably MooseX::Storage
69 * Moose::Util::TypeConstraint
70 - Put back the changes for parameterized constraints that
71 shouldn't have been removed in 0.59. We still cannot parse
72 them, but MooseX modules can create them in some other
73 way. See the 0.58 changes for more details. (jnapiorkowski)
74 - Changed the way subtypes are created so that the job is
75 delegated to a type constraint parent. This clears up some
76 hardcoded checking and should allow correct subtypes of
77 Moose::Meta::Type::Constraint. Don't rely on this new API too
78 much (create_child_type) because it may go away in the
79 future. (jnapiorkowski)
81 * Moose::Meta::TypeConstraint::Union
82 - Type constraint names are sorted as strings, not numbers.
85 * Moose::Meta::TypeConstraint::Parameterizable
86 - New parameterize method. This can be used as a factory method
87 to make a new type constraint with a given parameterized
89 - added tests (jnapiorkowski)
91 0.59 Tue October 14, 2008
93 - Add abridged documentation for builder/default/initializer/
94 predicate, and link to more details sections in
95 Class::MOP::Attribute. (t0m)
97 * Moose::Util::TypeConstraints
98 - removed prototypes from all but the &-based stuff (mst)
100 * Moose::Util::TypeConstraints
101 - Creating a anonymous subtype with both a constraint and a
102 message failed with a very unhelpful error, but should just
103 work. Reported by t0m. (Dave Rolsky)
106 - Some tests that used Test::Warn if it was available failed
107 with older versions of Test::Warn. Reported by Fayland. (Dave
109 - Test firing behavior of triggers in relation to builder/default/
111 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
112 kinds of supported type. (t0m)
115 - In create(), do not pass "roles" option to the superclass
116 - added related test that creates an anon metaclass with
119 * Moose::Meta::TypeConstraint::Class
120 * Moose::Meta::TypeConstraint::Role
121 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
122 other types (as per change in 0.55_02). (t0m)
124 * Moose::Meta::TypeConstraint::Registry
125 - Fix warning when dealing with unknown type names (t0m)
127 * Moose::Util::TypeConstraints
128 - Reverted changes from 0.58 related to handle parameterized
129 types. This caused random failures on BSD and Win32 systems,
130 apparently related to the regex engine. This means that Moose
131 can no longer parse structured type constraints like
132 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
133 supported in a slightly different way via MooseX::Types some
134 time in the future. (Dave Rolsky)
136 0.58 Sat September 20, 2008
137 !! This release has an incompatible change regarding !!
138 !! how roles add methods to a class !!
140 * Roles and role application
141 ! Roles now add methods by calling add_method, not
142 alias_method. They make sure to always provide a method
143 object, which will be cloned internally. This means that it is
144 now possible to track the source of a method provided by a
145 role, and even follow its history through intermediate roles.
147 This means that methods added by a role now show up when
148 looking at a class's method list/map. (Dave Rolsky)
151 - From this release on, we'll try to maintain a list of
152 conflicting modules, and warn you if you have one
153 installed. For example, this release conflicts with ...
154 - MooseX::Singleton <= 0.11
155 - MooseX::Params::Validate <= 0.05
158 In general, we try to not break backwards compatibility for
159 most Moose users, but MooseX modules and other code which
160 extends Moose's metaclasses is often affected by very small
161 changes in the Moose internals.
163 * Moose::Meta::Method::Delegation
164 * Moose::Meta::Attribute
165 - Delegation methods now have their own method class. (Dave
168 * Moose::Meta::TypeConstraint::Parameterizable
169 - Added a new method 'parameterize' which is basically a factory
170 for the containing constraint. This makes it easier to create
171 new types of parameterized constraints. (jnapiorkowski)
173 * Moose::Meta::TypeConstraint::Union
174 - Changed the way Union types canonicalize their names to follow
175 the normalized TC naming rules, which means we strip all
176 whitespace. (jnapiorkowski)
178 * Moose::Util::TypeConstraints
179 - Parameter and Union args are now sorted, this makes Int|Str
180 the same constraint as Str|Int. (jnapiorkowski)
181 - Changes to the way Union types are parsed to more correctly
182 stringify their names. (jnapiorkowski)
183 - When creating a parameterized type, we now use the new
184 parameterize method. (jnapiorkowski)
185 - Incoming type constraint strings are now normalized to remove
186 all whitespace differences. (jnapiorkowski)
187 - Changed the way we parse type constraint strings so that we now
188 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
189 constraints. This lays the foundation for more flexible type
190 constraint implementations.
192 * Tests and docs for all the above. (jnapiorkowski)
196 - Moose::Exporter will no longer remove a subroutine that the
197 exporting package re-exports. Moose re-exports the
198 Carp::confess function, among others. The reasoning is that we
199 cannot know whether you have also explicitly imported those
200 functions for your own use, so we err on the safe side and
201 always keep them. (Dave Rolsky)
202 - added tests for this (rafl)
205 - Changes to how we fix metaclass compatibility that are much
206 too complicated to go into. The summary is that Moose is much
207 less likely to complain about metaclass incompatibility
208 now. In particular, if two metaclasses differ because
209 Moose::Util::MetaRole was used on the two corresponding
210 classes, then the difference in roles is reconciled for the
211 subclass's metaclass. (Dave Rolsky)
212 - Squashed an warning in _process_attribute (thepler)
215 - throw exceptions (sooner) for invalid attribute names (thepler)
216 - added tests for this (thepler)
218 * Moose::Util::MetaRole
219 - If you explicitly set a constructor or destructor class for a
220 metaclass object, and then applied roles to the metaclass,
221 that explicitly set class would be lost and replaced with the
225 * Moose::Meta::Attribute
226 * Moose::Meta::Method
229 * Moose::Error::Default
230 * Moose::Error::Croak
231 * Moose::Error::Confess
232 - All instances of confess() changed to use overridable
233 C<throw_error> method. This method ultimately calls a class
234 constructor, and you can change the class being called. In
235 addition, errors now pass more information than just a string.
236 The default C<error_class> behaves like C<Carp::confess>, so
237 the behavior is not visibly different for end users.
239 0.57 Wed September 3, 2008
241 - A new bit of doc intended to introduce folks familiar with
242 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
245 - Shows examples of two classes, each done first with and then
246 without Moose. This makes a nice parallel to
247 Moose::Intro. (Dave Rolsky)
249 * Moose::Util::TypeConstraints
250 - Fixed a bug in find_or_parse_type_constraint so that it
251 accepts a Moose::Meta::TypeConstraint object as the parent
252 type, not just a name (jnapiorkowski)
253 - added tests (jnapiorkowski)
256 - If Sub::Name was not present, unimporting failed to actually
257 remove some sugar subs, causing test failures (Dave Rolsky)
259 0.56 Mon September 1, 2008
260 For those not following the series of dev releases, there are
261 several major changes in this release of Moose.
262 ! Moose::init_meta should now be called as a method. See the
265 - Major performance improvements by nothingmuch.
267 - New modules for extension writers, Moose::Exporter and
268 Moose::Util::MetaRole by Dave Rolsky.
270 - Lots of doc improvements and additions, especially in the
275 * Removed all references to the experimental-but-no-longer-needed
276 Moose::Meta::Role::Application::ToMetaclassInstance.
278 * Require Class::MOP 0.65.
280 0.55_04 Sat August 30, 2008
281 * Moose::Util::MetaRole
282 * Moose::Cookbook::Extending::Recipe2
283 - This simplifies the application of roles to any meta class, as
284 well as the base object class. Reimplemented metaclass traits
285 using this module. (Dave Rolsky)
287 * Moose::Cookbook::Extending::Recipe1
288 - This a new recipe, an overview of various ways to write Moose
289 extensions (Dave Rolsky)
291 * Moose::Cookbook::Extending::Recipe3
292 * Moose::Cookbook::Extending::Recipe4
293 - These used to be Extending::Recipe1 and Extending::Recipe2,
296 0.55_03 Fri August 29, 2008
297 * No changes from 0.55_02 except increasing the Class::MOP
298 dependency to 0.64_07.
300 0.55_02 Fri August 29, 2008
301 * Makefile.PL and Moose.pm
302 - explicitly require Perl 5.8.0+ (Dave Rolsky)
304 * Moose::Util::TypeConstraints
305 - Fix warnings from find_type_constraint if the type is not
308 * Moose::Meta::TypeConstraint
309 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
310 return false if the type you specify cannot be found in the
311 type registry, rather than throwing an unhelpful and
312 coincidental exception. (t0m).
313 - added docs & test for this (t0m)
315 * Moose::Meta::TypeConstraint::Registry
316 - add_type_constraint now throws an exception if a parameter is
318 - added docs & test for this (t0m)
320 * Moose::Cookbook::FAQ
321 - Added a faq entry on the difference between "role" and "trait"
325 - Fixed a bug that caused role composition to not see a required
326 method when that method was provided by another role being
327 composed at the same time. (Dave Rolsky)
328 - test and bug finding (tokuhirom)
330 0.55_01 Wed August 20, 2008
332 !! Calling Moose::init_meta as a function is now !!
333 !! deprecated. Please see the Moose.pm docs for details. !!
335 * Moose::Meta::Method::Constructor
336 - Fix inlined constructor so that values produced by default
337 or builder methods are coerced as required. (t0m)
338 - added test for this (t0m)
340 * Moose::Meta::Attribute
341 - A lazy attribute with a default or builder did not attempt to
342 coerce the default value. The immutable code _did_
344 - added test for this (t0m)
347 - This is a new helper module for writing "Moose-alike"
348 modules. This should make the lives of MooseX module authors
349 much easier. (Dave Rolsky)
352 * Moose::Cookbook::Meta::Recipe5
353 - Implemented metaclass traits (and wrote a recipe for it):
355 use Moose -traits => 'Foo'
357 This should make writing small Moose extensions a little
360 * Moose::Cookbook::Basics::Recipe1
361 - Removed any examples of direct hashref access, and applied an
362 editorial axe to reduce verbosity. (Dave Rolsky)
364 * Moose::Cookbook::Basics::Recipe1
365 - Also applied an editorial axe here. (Dave Rolsky)
368 * Moose::Cookbook::Extending::Recipe1
369 * Moose::Cookbook::Extending::Recipe2
370 - Rewrote extending and embedding moose documentation and
371 recipes to use Moose::Exporter (Dave Rolsky)
375 - These two modules now warn when you load them from the main
376 package "main" package, because we will not export sugar to
377 main. Previously it just did nothing. (Dave Rolsky)
380 - Now provide an init_meta method just like Moose.pm, and you
381 can call this to provide an alternate role metaclass. (Dave
382 Rolsky and nothingmuch)
383 - get_method_map now respects the package cache flag (nothingmuch)
386 - Two new methods - add_method and wrap_method_body
390 - Optimizations including allowing constructors to accept hash
391 refs, making many more classes immutable, and making
392 constructors immutable. (nothingmuch)
394 0.55 Sun August 3, 2008
395 * Moose::Meta::Attribute
396 - breaking down the way 'handles' methods are
397 created so that the process can be more easily
398 overridden by subclasses (stevan)
400 * Moose::Meta::TypeConstraint
401 - fixing what is passed into a ->message with
402 the type constraints (RT #37569)
403 - added tests for this (Charles Alderman)
405 * Moose::Util::TypeConstraints
406 - fix coerce to accept anon types like subtype can (mst)
409 - reorganized the recipes into sections - Basics, Roles, Meta,
410 Extending - and wrote abstracts for each section (Dave Rolsky)
412 * Moose::Cookbook::Basics::Recipe10
413 - A new recipe that demonstrates operator overloading
414 in combination with Moose. (bluefeet)
416 * Moose::Cookbook::Meta::Recipe1
417 - an introduction to what meta is and why you'd want to make
418 your own metaclass extensions (Dave Rolsky)
420 * Moose::Cookbook::Meta::Recipe4
421 - a very simple metaclass example (Dave Rolsky)
423 * Moose::Cookbook::Extending::Recipe1
424 - how to write a Moose-alike module to use your own object base
427 * Moose::Cookbook::Extending::Recipe2
428 - how to write modules with an API just like C<Moose.pm> (Dave
432 - Tons of fixes, both syntactical and grammatical (Dave
433 Rolsky, Paul Fenwick)
435 0.54 Thurs. July 3, 2008
436 ... this is not my day today ...
438 * Moose::Meta::Attribute
439 - fixed legal_options_for_inheritance such that
440 clone_and_inherit options still works for
441 Class::MOP::Attribute objects and therefore
442 does not break MooseX::AttributeHelpers
445 0.53 Thurs. July 3, 2008
446 * Whoops, I guess I should run 'make manifest' before
447 actually releasing the module. No actual changes
448 in this release, except the fact that it includes
449 the changes that I didn't include in the last
452 0.52 Thurs. July 3, 2008
454 - added "FEATURE REQUESTS" section to the Moose docs
455 to properly direct people (stevan) (RT #34333)
456 - making 'extends' croak if it is passed a Role since
457 this is not ever something you want to do
458 (fixed by stevan, found by obra)
459 - added tests for this (stevan)
462 - adding support for DOES (as in UNIVERSAL::DOES)
464 - added test for this
466 * Moose::Meta::Attribute
467 - added legal_options_for_inheritance (wreis)
468 - added tests for this (wreis)
470 * Moose::Cookbook::Snacks::*
471 - removed some of the unfinished snacks that should
472 not have been released yet. Added some more examples
473 to the 'Keywords' snack. (stevan)
475 * Moose::Cookbook::Style
476 - added general Moose "style guide" of sorts to the
477 cookbook (nothingmuch) (RT #34335)
480 - added more BUILDARGS tests (stevan)
482 0.51 Thurs. Jun 26, 2008
484 - add unimport so "no Moose::Role" actually does
487 * Moose::Meta::Role::Application::ToRole
488 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
489 order to provide its own implementation, that method still got
490 added to the list of required methods for consumers of
491 RoleB. Now an aliased method is only added to the list of
492 required methods if the role doing the aliasing does not
493 provide its own implementation. See Recipe 11 for an example
494 of all this. (Dave Rolsky)
495 - added tests for this
497 * Moose::Meta::Method::Constructor
498 - when a single argument that wasn't a hashref was provided to
499 an immutabilized constructor, the error message was very
500 unhelpful, as opposed to the non-immutable error. Reported by
502 - added test for this (Dave Rolsky)
504 * Moose::Meta::Attribute
505 - added support for meta_attr->does("ShortAlias") (sartak)
506 - added tests for this (sartak)
507 - moved the bulk of the `handles` handling to the new
508 install_delegation method (Stevan)
511 - Added BUILDARGS, a new step in new()
513 * Moose::Meta::Role::Application::RoleSummation
514 - fix typos no one ever sees (sartak)
516 * Moose::Util::TypeConstraints
517 * Moose::Meta::TypeConstraint
518 * Moose::Meta::TypeCoercion
519 - Attempt to work around the ??{ } vs. threads issue
521 - Some null_constraint optimizations
523 0.50 Thurs. Jun 11, 2008
524 - Fixed a version number issue by bumping all modules
527 0.49 Thurs. Jun 11, 2008
528 !! This version now approx. 20-25% !!
529 !! faster with new Class::MOP 0.59 !!
531 * Moose::Meta::Attribute
532 - fixed how the is => (ro|rw) works with
533 custom defined reader, writer and accessor
535 - added docs for this (TODO).
536 - added tests for this (Thanks to Penfold)
537 - added the custom attribute alias for regular
538 Moose attributes which is "Moose"
539 - fix builder and default both being used
544 Moose::Meta::Attribute
546 Moose::Meta::Role::Composite
547 Moose::Util::TypeConstraints
548 - switched usage of reftype to ref because
552 - changing add_package_symbol to use the new
556 - fixed how DEMOLISHALL is called so that it
557 can be overrided in subclasses (thanks to Sartak)
558 - added test for this (thanks to Sartak)
560 * Moose::Util::TypeConstraints
561 - move the ClassName type check code to
562 Class::MOP::is_class_loaded (thanks to Sartak)
564 * Moose::Cookbook::Recipe11
565 - add tests for this (thanks to tokuhirom)
567 0.48 Thurs. May 29, 2008
568 (early morning release engineering)--
570 - fixing the version in Moose::Meta::Method::Destructor
571 which was causing the indexer to choke
573 0.47 Thurs. May 29, 2008
574 (late night release engineering)--
576 - fixing the version is META.yml, no functional
577 changes in this release
579 0.46 Wed. May 28, 2008
580 !! This version now approx. 20-25% !!
581 !! faster with new Class::MOP 0.57 !!
584 - some optimizations of the &initialize method
585 since it is called so often by &meta
589 - now use the get_all_package_symbols from the
590 updated Class::MOP, test suite is now 10 seconds
593 * Moose::Meta::Method::Destructor
594 - is_needed can now also be called as a class
595 method for immutablization to check if the
596 destructor object even needs to be created
599 * Moose::Meta::Method::Destructor
600 Moose::Meta::Method::Constructor
601 - added more descriptive error message to help
602 keep people from wasting time tracking an error
603 that is easily fixed by upgrading.
605 0.45 Saturday, May 24, 2008
607 - Because of work in Class::MOP 0.57, all
608 XS based functionality is now optional
609 and a Pure Perl version is supplied
610 - the CLASS_MOP_NO_XS environment variable
611 can now be used to force non-XS versions
613 - several of the packages have been tweaked
614 to take care of this, mostly we added
615 support for the package_name and name
616 variables in all the Method metaclasses
617 - before/around/after method modifiers now
618 support regexp matching of names
619 (thanks to Takatoshi Kitano)
620 - tests added for this
621 - NOTE: this only works for classes, it
622 is currently not supported in roles,
623 but, ... patches welcome
624 - All usage of Carp::confess have been replaced
625 by Carp::croak in the "keyword" functions since
626 the stack trace is usually not helpful
629 - All usage of Carp::confess have been replaced
630 by Carp::croak in the "keyword" functions since
631 the stack trace is usually not helpful
632 - The 'has' keyword for roles now accepts the
633 same array ref form that Moose.pm does
634 (has [qw/foo bar/] => (is => 'rw', ...))
635 - added test for this
637 * Moose::Meta::Attribute
638 - trigger on a ro-attribute is no longer an
639 error, as it's useful to trigger off of the
643 - added same 'add_package_symbol' fix as in
647 - does_role now handles non-Moose classes
649 - added tests for this
650 - added the 'add_method_modifier' function
651 (thanks to Takatoshi Kitano)
653 * Moose::Util::TypeConstraints
654 - subtypes of parameterizable types now are
655 themselves parameterizable types
657 * Moose::Meta::Method::Constructor
658 - fixed bug where trigger was not being
659 called by the inlined immutable
661 - added test for this (thanks to Caelum)
663 * Moose::Meta::Role::Application::ToInstance
664 - now uses the metaclass of the instance
665 (if possible) to create the anon-class
666 (thanks Jonathan Rockway)
668 * Moose::Cookbook::Recipe22
669 - added the meta-attribute trait recipe
673 - fixed hash-ordering test bug that was
674 causing occasional cpantester failures
675 - renamed the t/000_recipe/*.t tests to be
676 more descriptive (thanks to Sartak)
678 0.44 Sat. May 10, 2008
680 - made make_immutable warning cluck to
681 show where the error is (thanks mst)
684 - BUILDALL and DEMOLISHALL now call
685 ->body when looping through the
686 methods, to avoid the overloaded
688 - fixed issue where DEMOLISHALL was
689 eating the $@ values, and so not
690 working correctly, it still kind of
691 eats them, but so does vanilla perl
692 - added tests for this
694 * Moose::Cookbook::Recipe7
695 - added new recipe for immutable
696 functionality (thanks Dave Rolsky)
698 * Moose::Cookbook::Recipe9
699 - added new recipe for builder and
700 lazy_build (thanks Dave Rolsky)
702 * Moose::Cookbook::Recipe11
703 - added new recipe for method aliasing
704 and exclusion with Roles (thanks Dave Rolsky)
707 - fixed Win32 test failure (thanks spicyjack)
709 ~ removed Build.PL and Module::Build compat
710 since Module::Install has done that.
712 0.43 Wed. April, 30, 2008
714 drink more coffee before
715 doing release engineering
717 - whoops, forgot to do the smolder tests,
718 and we broke some of the custom meta-attr
719 modules. This fixes that.
721 0.42 Mon. April 28, 2008
722 - some bad tests slipped by, nothing else
723 changed in this release (cpantesters++)
725 - upped the Class::MOP dependency to 0.55
726 since we have tests which need the C3
729 0.41 Mon. April 28, 2008
730 ~~ numerous documentation updates ~~
732 - Changed all usage of die to Carp::croak for better
733 error reporting (initial patch by Tod Hagan)
736 - the make_immutable keyword is now deprecated, don't
737 use it in any new code and please fix your old code
738 as well. There will be 2 releases, and then it will
744 - refactored the way inner and super work to avoid
745 any method/@ISA cache penalty (nothingmuch)
748 - fixing &new_object to make sure trigger gets the
749 coerced value (spotted by Charles Alderman on the
751 - added test for this
753 * Moose::Meta::Method::Constructor
754 - immutable classes which had non-lazy attributes were calling
755 the default generating sub twice in the constructor. (bug
756 found by Jesse Luehrs, fixed by Dave Rolsky)
757 - added tests for this (Dave Rolsky)
758 - fix typo in initialize_body method (nothingmuch)
760 * Moose::Meta::Method::Destructor
761 - fix typo in initialize_body method (nothingmuch)
763 * Moose::Meta::Method::Overriden
764 Moose::Meta::Method::Augmented
765 - moved the logic for these into their own
766 classes (nothingmuch)
768 * Moose::Meta::Attribute
769 - inherited attributes may now be extended without
770 restriction on the type ('isa', 'does') (Sartak)
771 - added tests for this (Sartak)
772 - when an attribute property is malformed (such as lazy without
773 a default), give the name of the attribute in the error
775 - added the &applied_traits and &has_applied_traits methods
776 to allow introspection of traits
777 - added tests for this
778 - moved 'trait' and 'metaclass' argument handling to here from
780 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
781 '+foo' syntax) (nothingmuch)
782 - added tests for this (t0m)
785 - localize $@ inside DEMOLISHALL to avoid it
786 eating $@ (found by Ernesto)
787 - added test for this (thanks to Ernesto)
789 * Moose::Util::TypeConstraints
790 - &find_type_constraint now DWIMs when given an
791 type constraint object or name (nothingmuch)
792 - &find_or_create_type_constraint superseded with a number of more
794 - find_or_create_{isa,does}_type_constraint
795 - find_or_parse_type_constraint
797 * Moose::Meta::TypeConstraint
798 Moose::Meta::TypeConstraint::Class
799 Moose::Meta::TypeConstraint::Role
800 Moose::Meta::TypeConstraint::Enum
801 Moose::Meta::TypeConstraint::Union
802 Moose::Meta::TypeConstraint::Parameterized
803 - added the &equals method for comparing two type
804 constraints (nothingmuch)
805 - added tests for this (nothingmuch)
807 * Moose::Meta::TypeConstraint
808 - add the &parents method, which is just an alias to &parent.
809 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
811 * Moose::Meta::TypeConstraint::Class
812 - added the class attribute for introspection purposes
814 - added tests for this
816 * Moose::Meta::TypeConstraint::Enum
817 Moose::Meta::TypeConstraint::Role
818 - broke these out into their own classes (nothingmuch)
820 * Moose::Cookbook::Recipe*
821 - fixed references to test file locations in the POD
822 and updated up some text for new Moose features
826 - Added &resolve_metaclass_alias, a helper function for finding an actual
827 class for a short name (e.g. in the traits list)
829 0.40 Fri. March 14, 2008
830 - I hate Pod::Coverage
832 0.39 Fri. March 14, 2008
834 - documenting the use of '+name' with attributes
835 that come from recently composed roles. It makes
836 sense, people are using it, and so why not just
837 officially support it.
838 - fixing the 'extends' keyword so that it will not
839 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
842 - added the perl -Moose=+Class::Name feature to allow
843 monkeypatching of classes in one liners
846 - fixing the 'apply_all_roles' keyword so that it will not
847 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
850 - added ->create method which now supports roles (thanks to jrockway)
851 - added tests for this
852 - added ->create_anon_class which now supports roles and caching of
853 the results (thanks to jrockway)
854 - added tests for this
855 - made ->does_role a little more forgiving when it is
856 checking a Class::MOP era metaclasses.
858 * Moose::Meta::Role::Application::ToInstance
859 - it is now possible to pass extra params to be used when
860 a role is applied to an the instance (rebless_params)
861 - added tests for this
863 * Moose::Util::TypeConstraints
864 - class_type now accepts an optional second argument for a
865 custom message. POD anotated accordingly (groditi)
866 - added tests for this
867 - it is now possible to make anon-enums by passing 'enum' an
868 ARRAY ref instead of the $name => @values. Everything else
870 - added tests for this
873 - making test for using '+name' on attributes consumed
874 from a role, it works and makes sense too.
876 * Moose::Meta::Attribute
877 - fix handles so that it doesn't return nothing
878 when the method cannot be found, not sure why
879 it ever did this originally, this means we now
880 have slightly better support for AUTOLOADed
882 - added more delegation tests
883 - adding ->does method to this so as to better
884 support traits and their introspection.
885 - added tests for this
888 - localizing the Data::Dumper configurations so
889 that it does not pollute others (RT #33509)
890 - made ->does a little more forgiving when it is
891 passed Class::MOP era metaclasses.
893 0.38 Fri. Feb. 15, 2008
894 * Moose::Meta::Attribute
895 - fixed initializer to correctly do
896 type checking and coercion in the
898 - added tests for this
901 - fixed some finicky tests (thanks to konobi)
903 0.37 Thurs. Feb. 14, 2008
905 - fixed some details in Moose::init_meta
906 and its superclass handling (thanks thepler)
907 - added tests for this (thanks thepler)
908 - 'has' now dies if you don't pass in name
910 - added the 'make_immutable' keyword as a shortcut
914 Moose::Meta::Method::Constructor
915 Moose::Meta::Attribute
916 - making (init_arg => undef) work here too
917 (thanks to nothingmuch)
919 * Moose::Meta::Attribute
920 Moose::Meta::Method::Constructor
921 Moose::Meta::Method::Accessor
922 - make lazy attributes respect attr initializers (rjbs)
923 - added tests for this
925 * Moose::Util::TypeConstraints
926 Moose::Util::TypeConstraints::OptimizedConstraints
927 Moose::Meta::TypeConstraints
928 Moose::Meta::Attribute
929 Moose::Meta::Method::Constructor
930 Moose::Meta::Method::Accessor
931 - making type errors use the
932 assigned message (thanks to Sartak)
933 - added tests for this
935 * Moose::Meta::Method::Destructor
936 - making sure DESTROY gets inlined properly
937 with successive DEMOLISH calls (thanks to manito)
939 * Moose::Meta::Attribute
940 Moose::Meta::Method::Accessor
941 - fixed handling of undef with type constraints
943 - added tests for this
946 - added &get_all_init_args and &get_all_attribute_values
947 (thanks to Sartak and nothingmuch)
949 0.36 Sat. Jan. 26, 2008
951 Moose::Meta::Attribute
952 - role type tests now support when roles are
953 applied to non-Moose classes (found by ash)
954 - added tests for this (thanks to ash)
955 - couple extra tests to boost code coverage
957 * Moose::Meta::Method::Constructor
958 - improved fix for handling Class::MOP attributes
959 - added test for this
962 - handled the add_attribute($attribute_meta_object)
964 - added test for this
966 0.35 Tues. Jan. 22, 2008
967 * Moose::Meta::Method::Constructor
968 - fix to make sure even Class::MOP attributes
969 are handled correctly (Thanks to Dave Rolsky)
970 - added test for this (also Dave Rolsky)
973 - improved error message on _apply_all_roles,
974 you should now use Moose::Util::apply_all_roles
975 and you shouldnt have been using a _ prefixed
976 method in the first place ;)
978 0.34 Mon. Jan. 21, 2008
979 ~~~ more misc. doc. fixes ~~~
980 ~~ updated copyright dates ~~
982 Moose is now a postmodern object system :)
983 - (see the POD for details)
985 * <<Role System Refactoring>>
986 - this release contains a major reworking and
987 cleanup of the role system
988 - 100% backwards compat.
989 - Role application now restructured into seperate
990 classes based on type of applicants
991 - Role summation (combining of more than one role)
992 is much cleaner and anon-classes are no longer
994 - new Composite role metaclass
995 - runtime application of roles to instances
996 is now more efficient and re-uses generated
997 classes when applicable
999 * <<New Role composition features>>
1000 - methods can now be excluded from a given role
1002 - methods can now be aliased to another name (and
1003 still retain the original as well)
1005 * Moose::Util::TypeConstraints::OptimizedConstraints
1006 - added this module (see above)
1008 * Moose::Meta::Class
1009 - fixed the &_process_attribute method to be called
1010 by &add_attribute, so that the API is now correct
1012 * Moose::Meta::Method::Accessor
1013 - fixed bug when passing a list of values to
1014 an accessor would get (incorrectly) ignored.
1015 Thanks to Sartak for finding this ;)
1016 - added tests for this (Sartak again)
1018 * Moose::Meta::Method::Accessor
1019 Moose::Meta::Method::Constructor
1020 Moose::Meta::Attribute
1021 Moose::Meta::TypeConstraint
1022 Moose::Meta::TypeCoercion
1023 - lots of cleanup of such things as:
1025 - type constraint handling
1026 - error handling/messages
1027 (thanks to nothingmuch)
1029 * Moose::Meta::TypeConstraint::Parameterizable
1030 - added this module to support the refactor
1031 in Moose::Meta::TypeConstraint::Parameterized
1033 * Moose::Meta::TypeConstraint::Parameterized
1034 - refactored how these types are handled so they
1035 are more generic and not confined to ArrayRef
1039 - shortened some file names for better VMS support (RT #32381)
1041 0.33 Fri. Dec. 14, 2007
1042 !! Moose now loads 2 x faster !!
1043 !! with new Class::MOP 0.49 !!
1045 ++ new oose.pm module to make command line
1046 Moose-ness easier (see POD docs for more)
1048 * Moose::Meta::Class
1050 - several tweaks to take advantage of the
1051 new method map caching in Class::MOP
1053 * Moose::Meta::TypeConstraint::Parameterized
1054 - allow subtypes of ArrayRef and HashRef to
1055 be used as a container (sartak)
1056 - added tests for this
1057 - basic support for coercion to ArrayRef and
1058 HashRef for containers (sartak)
1059 - added tests for this
1061 * Moose::Meta::TypeCoercion
1062 - coercions will now create subtypes as needed
1063 so you can now add coercions to parameterized
1064 types without having to explictly define them
1065 - added tests for this
1067 * Moose::Meta::Method::Accessor
1068 - allow subclasses to decide whether we need
1069 to copy the value into a new variable (sartak)
1071 0.32 Tues. Dec. 4, 2007
1072 * Moose::Util::TypeConstraints
1073 - fixing how subtype aliases of unions work
1074 they should inherit the parent's coercion
1075 - added tests for this
1076 - you can now define multiple coercions on
1077 a single type at different times instead of
1078 having to do it all in one place
1079 - added tests for this
1081 * Moose::Meta::TypeConstraint
1082 - there is now a default constraint of sub { 1 }
1083 instead of Moose::Util::TypeConstraints setting
1086 * Moose::Meta::TypeCoercion
1087 * Moose::Meta::TypeCoercion::Union
1088 - added the &has_coercion_for_type and
1089 &add_type_coercions methods to support the
1090 new features above (although you cannot add
1091 more type coercions for Union types)
1093 0.31 Mon. Nov. 26, 2007
1094 * Moose::Meta::Attribute
1095 - made the +attr syntax handle extending types with
1096 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1097 now works if the original foo is an ArrayRef.
1098 - added tests for this.
1099 - delegation now works even if the attribute does not
1100 have a reader method using the get_read_method_ref
1101 method from Class::MOP::Attribute.
1102 - added tests for this
1103 - added docs for this
1105 * Moose::Util::TypeConstraints
1106 - passing no "additional attribute info" to
1107 &find_or_create_type_constraint will no longer
1108 attempt to create an __ANON__ type for you,
1109 instead it will just return undef.
1110 - added docs for this
1112 0.30 Fri. Nov. 23, 2007
1113 * Moose::Meta::Method::Constructor
1114 -builder related bug in inlined constructor. (groditi)
1116 * Moose::Meta::Method::Accessor
1117 - genereate unnecessary calls to predicates and refactor
1118 code generation for runtime speed (groditi)
1120 * Moose::Util::TypeConstraints
1121 - fix ClassName constraint to introspect symbol table (mst)
1122 - added more tests for this (mst)
1123 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1124 with work correctly.
1125 - added tests for this
1128 - adding the link to Recipie 11 (written by Sartak)
1129 - adding test for SYNOPSIS code
1132 - New tests for builder bug. Upon instantiation, if an
1133 attribute had a builder, no value and was not lazy the
1134 builder default was not getting run, oops. (groditi)
1136 0.29 Tues. Nov. 13, 2007
1137 * Moose::Meta::Attribute
1138 - Fix error message on missing builder method (groditi)
1140 * Moose::Meta::Method::Accessor
1141 - Fix error message on missing builder method (groditi)
1144 - Add test to check for the correct error message when
1145 builder method is missing (groditi)
1147 0.28 Tues. Nov. 13, 2007
1148 - 0.27 packaged incorrectly (groditi)
1150 0.27 Tues. Nov. 13, 2007
1151 * Moose::Meta::Attribute
1152 - Added support for the new builder option (groditi)
1153 - Added support for lazy_build option (groditi)
1154 - Changed slot initialization for predicate changes (groditi)
1156 * Moose::Meta::Method::Accessor
1157 - Added support for lazy_build option (groditi)
1158 - Fix inline methods to work with corrected predicate
1161 * Moose::Meta::Method::Constructor
1162 - Added support for lazy_build option (groditi)
1165 - tests for builder and lazy_build (groditi)
1167 * fixing some misc. bits in the docs that
1168 got mentioned on CPAN Forum & perlmonks
1171 - fixed how required methods are handled
1172 when they encounter overriden or modified
1173 methods from a class (thanks to confound).
1174 - added tests for this
1176 * Moose::Util::TypeConstraint
1177 - fixed the type notation parser so that
1178 the | always creates a union and so is
1179 no longer a valid type char (thanks to
1180 konobi, mugwump and #moose for working
1182 - added more tests for this
1184 0.26 Thurs. Sept. 27, 2007
1187 * Parameterized Types
1188 We now support parameterized collection types, such as:
1189 ArrayRef[Int] # array or integers
1190 HashRef[Object] # a hash with object values
1191 They can also be nested:
1192 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
1193 And work with the type unions as well:
1194 ArrayRef[Int | Str] # array of integers of strings
1196 * Better Framework Extendability
1197 Moose.pm is now "extendable" such that it is now much
1198 easier to extend the framework and add your own keywords
1199 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1200 section of the Moose.pm docs.
1203 In an effort to begin documenting some of the various
1204 details of Moose as well as some common idioms, we have
1205 created Moose::Cookbook::Snacks as a place to find
1206 small (easily digestable) nuggets of Moose code.
1209 ~ Several doc updates/cleanup thanks to castaway ~
1211 - converted build system to use Module::Install instead of
1212 Module::Build (thanks to jrockway)
1215 - added all the meta classes to the immutable list and
1216 set it to inline the accessors
1217 - fix import to allow Sub::Exporter like { into => }
1218 and { into_level => } (perigrin)
1219 - exposed and documented init_meta() to allow better
1220 embedding and extending of Moose (perigrin)
1223 - complete re-organization of the test suite
1224 - added some new tests as well
1225 - finally re-enabled the Moose::POOP test since
1226 the new version of DBM::Deep now works again
1229 * Moose::Meta::Class
1230 - fixed very odd and very nasty recursion bug with
1232 - added tests for this (eilara)
1234 * Moose::Meta::Attribute
1235 Moose::Meta::Method::Constructor
1236 Moose::Meta::Method::Accessor
1237 - fixed issue with overload::Overloaded getting called
1238 on non-blessed items. (RT #29269)
1239 - added tests for this
1241 * Moose::Meta::Method::Accessor
1242 - fixed issue with generated accessor code making
1243 assumptions about hash based classes (thanks to dexter)
1245 * Moose::Coookbook::Snacks
1246 - these are bits of documentation, not quite as big as
1247 Recipes but which have no clear place in the module docs.
1248 So they are Snacks! (horray for castaway++)
1250 * Moose::Cookbook::Recipe4
1251 - updated it to use the new ArrayRef[MyType] construct
1252 - updated the accompanying test as well
1254 +++ Major Refactor of the Type Constraint system +++
1255 +++ with new features added as well +++
1257 * Moose::Util::TypeConstraint
1258 - no longer uses package variable to keep track of
1259 the type constraints, now uses the an instance of
1260 Moose::Meta::TypeConstraint::Registry to do it
1261 - added more sophisticated type notation parsing
1263 - added tests for this
1265 * Moose::Meta::TypeConstraint
1266 - some minor adjustments to make subclassing easier
1267 - added the package_defined_in attribute so that we
1268 can track where the type constraints are created
1270 * Moose::Meta::TypeConstraint::Union
1271 - this is now been refactored to be a subclass of
1272 Moose::Meta::TypeConstraint
1274 * Moose::Meta::TypeCoercion::Union
1275 - this has been added to service the newly refactored
1276 Moose::Meta::TypeConstraint::Union and is itself
1277 a subclass of Moose::Meta::TypeCoercion
1279 * Moose::Meta::TypeConstraint::Parameterized
1280 - added this module (taken from MooseX::AttributeHelpers)
1281 to help construct nested collection types
1282 - added tests for this
1284 * Moose::Meta::TypeConstraint::Registry
1285 - added this class to keep track of type constraints
1287 0.25 Mon. Aug. 13, 2007
1289 - Documentation update to reference Moose::Util::TypeConstraints
1290 under 'isa' in 'has' for how to define a new type
1291 (thanks to shlomif).
1293 * Moose::Meta::Attribute
1294 - required attributes now will no longer accept undef
1295 from the constructor, even if there is a default and lazy
1296 - added tests for this
1297 - default subroutines must return a value which passes the
1299 - added tests for this
1301 * Moose::Meta::Attribute
1302 * Moose::Meta::Method::Constructor
1303 * Moose::Meta::Method::Accessor
1304 - type-constraint tests now handle overloaded objects correctly
1305 in the error message
1306 - added tests for this (thanks to EvanCarroll)
1308 * Moose::Meta::TypeConstraint::Union
1309 - added (has_)hand_optimized_constraint to this class so that
1310 it behaves as the regular Moose::Meta::TypeConstraint does.
1313 - large refactoring of this code
1314 - added several more tests
1315 - tests for subtle conflict resolition issues
1316 added, but not currently running
1319 * Moose::Cookbook::Recipe7
1320 - added new recipe for augment/inner functionality
1322 - added test for this
1325 - a formal definition of roles (still in progress)
1328 - utilities for easier working with Moose classes
1329 - added tests for these
1332 - This contains Moose specific test functions
1333 - added tests for these
1335 0.24 Tues. July 3, 2007
1336 ~ Some doc updates/cleanup ~
1338 * Moose::Meta::Attribute
1339 - added support for roles to be given as parameters
1340 to the 'handles' option.
1341 - added tests and docs for this
1342 - the has '+foo' attribute form now accepts changes to
1343 the lazy option, and the addition of a handles option
1344 (but not changing the handles option)
1345 - added tests and docs for this
1348 - required methods are now fetched using find_method_by_name
1349 so that required methods can come from superclasses
1350 - adjusted tests for this
1352 0.23 Mon. June 18, 2007
1353 * Moose::Meta::Method::Constructor
1354 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1355 * Moose::Meta::Class
1356 - Modify make_immutable to work with the new Class::MOP immutable
1357 mechanism + POD + very basic test (groditi)
1358 * Moose::Meta::Attribute
1359 - Fix handles to use goto() so that caller() comes out properly on
1360 the other side (perigrin)
1362 0.22 Thurs. May 31, 2007
1363 * Moose::Util::TypeConstraints
1364 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1365 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1366 prototypes for functions
1367 - added the ClassName type constraint, this checks for strings
1368 which will respond true to ->isa(UNIVERSAL).
1369 - added tests and docs for this
1370 - subtyping just in name now works correctly by making the
1371 default for where be { 1 }
1372 - added test for this
1374 * Moose::Meta::Method::Accessor
1375 - coerce and lazy now work together correctly, thanks to
1376 merlyn for finding this bug
1377 - tests added for this
1378 - fix reader presedence bug in Moose::Meta::Attribute + tests
1381 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1382 a HASH-ref and missed. This produces better error messages then
1383 having it die cause undef is not a HASH.
1384 - added tests for this
1386 0.21 Thursday, May 2nd, 2007
1388 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1389 - modified unimport to remove super and inner along with the rest
1390 - altered unimport tests to handle this
1393 - altered super export to populate SUPER_SLOT
1395 * Moose::Meta::Class
1396 - altered augment and override modifier application to use *_SLOT
1397 - modified tests for these to unimport one test class each to test
1400 - fixed issue where custom attribute metaclasses
1401 where not handled correctly in roles
1402 - added tests for this
1404 * Moose::Meta::Class
1405 - fixed issue where extending metaclasses with
1406 roles would blow up. Thanks to Aankhen`` for
1407 finding this insidious error, and it's solution.
1409 ~~ lots of spelling and grammer fixes in the docs,
1410 many many thanks to rlb3 and Aankhen for these :)
1412 0.20 Friday, April 6th, 2007
1413 >> I messed up the SKIP logic in one test
1414 so this release is just to fix that.
1417 - 'has' now also accepts an ARRAY ref
1418 to create multiple attrs (see docs)
1419 (thanks to konobi for this)
1420 - added tests and docs
1422 0.19 Thurs. April 5th, 2007
1423 ~~ More documentation updates ~~
1425 * Moose::Util::TypeConstraints
1426 - 'type' now supports messages as well
1427 thanks to phaylon for finding this
1428 - added tests for this
1429 - added &list_all_type_constraints and
1430 &list_all_builtin_type_constraints
1431 functions to facilitate introspection.
1433 * Moose::Meta::Attribute
1434 - fixed regexp 'handles' declarations
1435 to build the list of delegated methods
1436 correctly (and not override important
1437 things like &new) thanks to ashleyb
1439 - added tests and docs for this
1440 - added the 'documentation' attributes
1441 so that you can actually document your
1442 attributes and inspect them through the
1444 - added tests and docs for this
1446 * Moose::Meta::Class
1447 - when loading custom attribute metaclasses
1448 it will first look in for the class in the
1449 Moose::Meta::Attribute::Custom::$name, and
1450 then default to just loading $name.
1451 - added tests and docs for this
1453 * Moose::Meta::TypeConstraint
1454 - type constraints now stringify to their names.
1455 - added test for this
1458 - added tests to assure we work with Module::Refresh
1459 - added stricter test skip logic in the Moose POOP
1460 test, ask Rob Kinyon why.
1461 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1463 0.18 Sat. March 10, 2007
1464 ~~ Many, many documentation updates ~~
1467 - We now use Class::MOP::load_class to
1469 - added tests to show types and subtypes
1470 working with Declare::Constraints::Simple
1471 and Test::Deep as constraint engines.
1474 !! You must have Class::MOP 0.37_001 !!
1475 !! for this developer release to work !!
1477 This release was primarily adding the immutable
1478 feature to Moose. An immutable class is one which
1479 you promise not to alter. When you set the class
1480 as immutable it will perform various bits of
1481 memoization and inline certain part of the code
1482 (constructors, destructors and accessors). This
1483 minimizes (and in some cases totally eliminates)
1484 one of Moose's biggest performance hits. This
1485 feature is not on by default, and is 100% optional.
1486 It has several configurable bits as well, so you
1487 can pick and choose to your specific needs.
1489 The changes involved in this were fairly wide and
1490 highly specific, but 100% backwards compatible, so
1491 I am not going to enumerate them here. If you are
1492 truely interested in what was changed, please do
1495 0.17 Tues. Nov. 14, 2006
1496 * Moose::Meta::Method::Accessor
1497 - bugfix for read-only accessors which
1498 are have a type constraint and lazy.
1499 Thanks to chansen for finding it.
1501 0.16 Tues. Nov. 14, 2006
1503 There are some speed improvements in this release,
1504 but they are only the begining, so stay tuned.
1507 - BUILDALL and DEMOLISHALL no longer get
1508 called unless they actually need to be.
1509 This gave us a signifigant speed boost
1510 for the cases when there is no BUILD or
1511 DEMOLISH method present.
1513 * Moose::Util::TypeConstraints
1514 * Moose::Meta::TypeConstraint
1515 - added an 'optimize_as' option to the
1516 type constraint, which allows for a
1517 hand optimized version of the type
1518 constraint to be used when possible.
1519 - Any internally created type constraints
1520 now provide an optimized version as well.
1522 0.15 Sun. Nov. 5, 2006
1524 This version of Moose *must* have Class::MOP 0.36 in order
1525 to work correctly. A number of small internal tweaks have
1526 been made in order to be compatible with that release.
1528 * Moose::Util::TypeConstraints
1529 - added &unimport so that you can clean out
1530 your class namespace of these exported
1533 * Moose::Meta::Class
1534 - fixed minor issue which occasionally
1535 comes up during global destruction
1537 - moved Moose::Meta::Method::Overriden into
1541 - moved Moose::Meta::Role::Method into
1544 * Moose::Meta::Attribute
1545 - changed how we do type checks so that
1546 we reduce the overall cost, but still
1549 - moved accessor generation methods to
1550 Moose::Meta::Method::Accessor to
1551 conform to the API changes from
1554 * Moose::Meta::TypeConstraint
1555 - changed how constraints are compiled
1556 so that we do less recursion and more
1557 iteration. This makes the type check
1559 - moved Moose::Meta::TypeConstraint::Union
1562 * Moose::Meta::Method::Accessor
1563 - created this from methods formerly found in
1564 Moose::Meta::Attribute
1566 * Moose::Meta::Role::Method
1567 - moved this from Moose::Meta::Role
1569 * Moose::Meta::Method::Overriden
1570 - moved this from Moose::Meta::Class
1572 * Moose::Meta::TypeConstraint::Union
1573 - moved this from Moose::Meta::TypeConstraint
1575 0.14 Mon. Oct. 9, 2006
1577 * Moose::Meta::Attribute
1578 - fixed lazy attributes which were not getting
1579 checked with the type constraint (thanks ashley)
1580 - added tests for this
1581 - removed the over-enthusiastic DWIMery of the
1582 automatic ArrayRef and HashRef defaults, it
1583 broke predicates in an ugly way.
1584 - removed tests for this
1586 0.13 Sat. Sept. 30, 2006
1588 This version of Moose *must* have Class::MOP 0.35 in order
1589 to work correctly. A number of small internal tweaks have
1590 been made in order to be compatible with that release.
1593 - Removed the use of UNIVERSAL::require to be a better
1594 symbol table citizen and remove a dependency
1595 (thanks Adam Kennedy)
1597 **~~ removed experimental & undocumented feature ~~**
1598 - commented out the 'method' and 'self' keywords, see the
1599 comments for more info.
1602 - added a FAQ and WTF files to document frequently
1603 asked questions and common problems
1605 * Moose::Util::TypeConstraints
1606 - added GlobRef and FileHandle type constraint
1607 - added tests for this
1609 * Moose::Meta::Attribute
1610 - if your attribute 'isa' ArrayRef of HashRef, and you have
1611 not explicitly set a default, then make the default DWIM.
1612 This will also work for subtypes of ArrayRef and HashRef
1614 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1615 - new test added for this (thanks to ashley)
1618 - added basic support for runtime role composition
1619 but this is still *highly experimental*, so feedback
1620 is much appreciated :)
1621 - added tests for this
1623 * Moose::Meta::TypeConstraint
1624 - the type constraint now handles the coercion process
1625 through delegation, this is to support the coercion
1628 * Moose::Meta::TypeConstraint::Union
1629 - it is now possible for coercions to be performed
1631 - added tests for this (thanks to konobi)
1633 * Moose::Meta::TypeCoercion
1634 - properly capturing error when type constraint
1638 - Scalar::Util 1.18 is bad on Win32, so temporarily
1639 only require version 1.17 for Win32 and cygwin.
1640 (thanks Adam Kennedy)
1642 0.12 Sat. Sept. 1, 2006
1644 - Recipe5 (subtypes & coercion) has been written
1647 - fixed "bad meta" error message to be more descriptive
1648 - fixed &unimport to not remove the &inner and &super
1649 keywords because we need to localize them.
1650 - fixed number of spelling/grammer issues, thanks Theory :)
1652 **~~ experimental & undocumented feature ~~**
1653 - added the method and self keywords, they are basically
1654 just sugar, and they may not stay around.
1657 - added &dump method to easily Data::Dumper
1660 * Moose::Meta::TypeConstraint
1661 - added the &is_a_type_of method to check both the current
1662 and the subtype of a method (similar to &isa with classes)
1665 - this is now a subclass of Class::MOP::Module, and no longer
1666 creates the _role_meta ugliness of before.
1667 - fixed tests to reflect this change
1669 0.11 Wed. July 12, 2006
1671 - added an &unimport method to remove all the keywords
1672 that Moose will import, simply add 'no Moose' to the
1673 bottom of your class file.
1676 - fixed some test failures caused by a forgotten test
1679 0.10 Thurs. July 6, 2006
1681 - improved error message when loading modules so
1682 it is less confusing when you load a role.
1683 - added &calculate_all_roles method to
1684 Moose::Meta::Class and Moose::Meta::Role
1687 This module has been tested against Class::MOP 0.30
1688 but it does not yet utilize the optimizations
1689 it makes available. Stay tuned for that ;)
1691 0.09_03 Fri. June 23, 2006
1692 ++ DEVELOPER RELEASE ++
1694 - 'use strict' and 'use warnings' are no longer
1695 needed in Moose classes, Moose itself will
1696 turn them on for you.
1697 - added tests for this
1698 - moved code from exported subs to private methods
1699 in Moose::Meta::Class
1702 - as with Moose, strict and warnings are
1703 automatically turned on for you.
1704 - added tests for this
1707 - now handles an edge case for override errors
1708 - added tests for this
1709 - added some more edge case tests
1711 0.09_02 Tues. May 16, 2006
1712 ++ DEVELOPER RELEASE ++
1714 - added prototypes to the exported subs
1718 - added prototypes to the exported subs
1721 * Moose::Util::TypeConstraints
1722 - cleaned up prototypes for the subs
1725 0.09_01 Fri. May 12, 2006
1726 ++ DEVELOPER RELEASE ++
1727 - This release works in combination with
1728 Class::MOP 0.29_01, it is a developer
1729 release because it uses the a new
1730 instance sub-protocol and a fairly
1731 complete Role implementation. It has
1732 not yet been optimized, so it slower
1733 the the previous CPAN version. This
1734 release also lacks good updated docs,
1735 the official release will have updated docs.
1738 - refactored the keyword exports
1739 - 'with' now checks Role validaity and
1740 accepts more than one Role at a time
1741 - 'extends' makes metaclass adjustments as
1742 needed to ensure metaclass compatibility
1745 - refactored the keyword exports
1746 - 'with' now checks Role validaity and
1747 accepts more than one Role at a time
1749 * Moose::Util::TypeConstraints
1750 - added the 'enum' keyword for simple
1751 string enumerations which can be used as
1753 - see example of usage in t/202_example.t
1756 - more careful checking of params to new()
1759 - much work done on the role composition
1760 - many new tests for conflict detection
1761 and composition edge cases
1762 - not enough documentation, I suggest
1763 looking at the tests
1765 * Moose::Meta::Instance
1766 - added new Instance metaclass to support
1767 the new Class::MOP instance protocol
1769 * Moose::Meta::Class
1770 - some small changes to support the new
1772 - some small additions to support Roles
1774 * Moose::Meta::Attribute
1775 - some improvements to the accessor generation code
1777 - some small changes to support the new
1779 - (still somewhat) experimental delegation support
1780 with the 'handles' option
1781 - added several tests for this
1782 - no docs for this yet
1784 0.05 Thurs. April 27, 2006
1786 - keywords are now exported with Sub::Exporter
1787 thanks to chansen for this commit
1788 - has keyword now takes a 'metaclass' option
1789 to support custom attribute meta-classes
1790 on a per-attribute basis
1791 - added tests for this
1792 - the 'has' keyword not accepts inherited slot
1793 specifications (has '+foo'). This is still an
1794 experimental feature and probably not finished
1795 see t/038_attribute_inherited_slot_specs.t for
1796 more details, or ask about it on #moose
1797 - added tests for this
1800 - keywords are now exported with Sub::Exporter
1802 * Moose::Utils::TypeConstraints
1803 - reorganized the type constraint hierarchy, thanks
1804 to nothingmuch and chansen for his help and advice
1806 - added some tests for this
1807 - keywords are now exported with Sub::Exporter
1808 thanks to chansen for this commit
1810 * Moose::Meta::Class
1811 - due to changes in Class::MOP, we had to change
1812 construct_instance (for the better)
1814 * Moose::Meta::Attribute
1815 - due to changes in Class::MOP, we had to add the
1816 initialize_instance_slot method (it's a good thing)
1818 * Moose::Meta::TypeConstraint
1819 - added type constraint unions
1820 - added tests for this
1821 - added the is_subtype_of predicate method
1822 - added tests for this
1824 0.04 Sun. April 16th, 2006
1826 - Roles can now consume other roles
1827 - added tests for this
1828 - Roles can specify required methods now with
1829 the requires() keyword
1830 - added tests for this
1833 - ripped out much of it's guts ,.. much cleaner now
1834 - added required methods and correct handling of
1835 them in apply() for both classes and roles
1836 - added tests for this
1837 - no longer adds a does() method to consuming classes
1838 it relys on the one in Moose::Object
1839 - added roles attribute and some methods to support
1840 roles consuming roles
1842 * Moose::Meta::Attribute
1843 - added support for triggers on attributes
1844 - added tests for this
1845 - added support for does option on an attribute
1846 - added tests for this
1848 * Moose::Meta::Class
1849 - added support for attribute triggers in the
1851 - added tests for this
1854 - Moose no longer creates a subtype for your class
1855 if a subtype of the same name already exists, this
1856 should DWIM in 99.9999% of all cases
1858 * Moose::Util::TypeConstraints
1859 - fixed bug where incorrect subtype conflicts were
1861 - added test for this
1864 - this class can now be extended with 'use base' if
1865 you need it, it properly loads the metaclass class now
1866 - added test for this
1868 0.03_02 Wed. April 12, 2006
1870 - you must now explictly use Moose::Util::TypeConstraints
1871 it no longer gets exported for you automatically
1874 - new() now accepts hash-refs as well as key/value lists
1875 - added does() method to check for Roles
1876 - added tests for this
1878 * Moose::Meta::Class
1879 - added roles attribute along with the add_role() and
1881 - added tests for this
1884 - now adds a does() method to consuming classes
1885 which tests the class's hierarchy for roles
1886 - added tests for this
1888 0.03_01 Mon. April 10, 2006
1890 - added new Role recipe (no content yet, only code)
1893 - added 'with' keyword for Role support
1894 - added test and docs for this
1895 - fixed subtype quoting bug
1896 - added test for this
1900 - added test and docs
1902 * Moose::Util::TypeConstraints
1903 - added the message keyword to add custom
1904 error messages to type constraints
1907 - the meta role to support Moose::Role
1908 - added tests and docs
1910 * Moose::Meta::Class
1911 - moved a number of things from Moose.pm
1912 to here, they should have been here
1915 * Moose::Meta::Attribute
1916 - moved the attribute option macros here
1917 instead of putting them in Moose.pm
1919 * Moose::Meta::TypeConstraint
1920 - added the message attributes and the
1922 - added tests and docs for this
1924 0.03 Thurs. March 30, 2006
1926 - added the Moose::Cookbook with 5 recipes,
1927 describing all the stuff Moose can do.
1930 - fixed an issue with &extends super class loading
1931 it now captures errors and deals with inline
1932 packages correctly (bug found by mst, solution
1934 - added super/override & inner/augment features
1935 - added tests and docs for these
1938 - BUILDALL now takes a reference of the %params
1939 that are passed to &new, and passes that to
1942 * Moose::Util::TypeConstraints
1943 - Type constraints now survive runtime reloading
1944 - added test for this
1946 * Moose::Meta::Class
1947 - fixed the way attribute defaults are handled
1948 during instance construction (bug found by chansen)
1950 * Moose::Meta::Attribute
1951 - read-only attributes now actually enforce their
1952 read-only-ness (this corrected in Class::MOP as
1955 0.02 Tues. March 21, 2006
1957 - many more tests, fixing some bugs and
1959 - &extends now loads the base module with
1961 - added UNIVERSAL::require to the
1964 - each new Moose class will also create
1965 and register a subtype of Object which
1966 correspond to the new Moose class.
1967 - the 'isa' option in &has now only
1968 accepts strings, and will DWIM in
1971 * Moose::Util::TypeConstraints
1972 - added type coercion features
1973 - added tests for this
1974 - added support for this in attributes
1975 and instance construction
1977 - type construction no longer creates a
1978 function, it registers the type instead.
1979 - added several functions to get the
1983 - BUILDALL and DEMOLISHALL were broken
1984 because of a mis-named hash key, Whoops :)
1986 * Moose::Meta::Attribute
1987 - adding support for coercion in the
1988 autogenerated accessors
1990 * Moose::Meta::Class
1991 - adding support for coercion in the
1992 instance construction
1994 * Moose::Meta::TypeConstraint
1995 * Moose::Meta::TypeCoercion
1996 - type constraints and coercions are now
1997 full fledges meta-objects
1999 0.01 Wed. March 15, 2006
2000 - Moooooooooooooooooose!!!