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)
11 - Catch another case where recursion caused the value
12 of $CALLER to be stamped on (t0m)
13 - added test for this (t0m)
15 0.61 Fri November 7, 2008
16 * Moose::Meta::Attribute
17 - When passing a role to handles, it will be loaded if necessary
21 - Method objects returned by get_method (and other methods)
22 Could end up being returned without an associated_metaclass
23 attribute. Removing get_method_map, which is provided by
24 Class::MOP::Class, fixed this. The Moose version did nothing
25 different from its parent except introduce a bug. (Dave Rolsky)
26 - added tests for this (jdv79)
29 - Added a $VERSION to all .pm files which didn't have one. Fixes
30 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
32 * Moose::Cookbook::Basics::Recipe4
33 * Moose::Cookbook::Basics::Recipe6
34 - These files had spaces on the first line of the SYNOPSIS, as
35 opposed to a totally empty line. According to RT #40432, this
36 confuses POD parsers. (Dave Rolsky)
38 0.60 Fri October 24, 2008
40 - Passing "-traits" when loading Moose caused the Moose.pm
41 exports to be broken. Reported by t0m. (Dave Rolsky)
42 - Tests for this bug. (t0m)
45 - Change resolve_metaclass alias to use the new
46 load_first_existing_class function. This makes it a lot
47 simpler, and also around 5 times faster. (t0m)
48 - Add caching to resolve_metaclass_alias, which gives an order
49 of magnitude speedup to things which repeatedly call the
50 Moose::Meta::Attribute->does method, notably MooseX::Storage
53 * Moose::Util::TypeConstraint
54 - Put back the changes for parameterized constraints that
55 shouldn't have been removed in 0.59. We still cannot parse
56 them, but MooseX modules can create them in some other
57 way. See the 0.58 changes for more details. (jnapiorkowski)
58 - Changed the way subtypes are created so that the job is
59 delegated to a type constraint parent. This clears up some
60 hardcoded checking and should allow correct subtypes of
61 Moose::Meta::Type::Constraint. Don't rely on this new API too
62 much (create_child_type) because it may go away in the
63 future. (jnapiorkowski)
65 * Moose::Meta::TypeConstraint::Union
66 - Type constraint names are sorted as strings, not numbers.
69 * Moose::Meta::TypeConstraint::Parameterizable
70 - New parameterize method. This can be used as a factory method
71 to make a new type constraint with a given parameterized
73 - added tests (jnapiorkowski)
75 0.59 Tue October 14, 2008
77 - Add abridged documentation for builder/default/initializer/
78 predicate, and link to more details sections in
79 Class::MOP::Attribute. (t0m)
81 * Moose::Util::TypeConstraints
82 - removed prototypes from all but the &-based stuff (mst)
84 * Moose::Util::TypeConstraints
85 - Creating a anonymous subtype with both a constraint and a
86 message failed with a very unhelpful error, but should just
87 work. Reported by t0m. (Dave Rolsky)
90 - Some tests that used Test::Warn if it was available failed
91 with older versions of Test::Warn. Reported by Fayland. (Dave
93 - Test firing behavior of triggers in relation to builder/default/
95 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
96 kinds of supported type. (t0m)
99 - In create(), do not pass "roles" option to the superclass
100 - added related test that creates an anon metaclass with
103 * Moose::Meta::TypeConstraint::Class
104 * Moose::Meta::TypeConstraint::Role
105 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
106 other types (as per change in 0.55_02). (t0m)
108 * Moose::Meta::TypeConstraint::Registry
109 - Fix warning when dealing with unknown type names (t0m)
111 * Moose::Util::TypeConstraints
112 - Reverted changes from 0.58 related to handle parameterized
113 types. This caused random failures on BSD and Win32 systems,
114 apparently related to the regex engine. This means that Moose
115 can no longer parse structured type constraints like
116 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
117 supported in a slightly different way via MooseX::Types some
118 time in the future. (Dave Rolsky)
120 0.58 Sat September 20, 2008
121 !! This release has an incompatible change regarding !!
122 !! how roles add methods to a class !!
124 * Roles and role application
125 ! Roles now add methods by calling add_method, not
126 alias_method. They make sure to always provide a method
127 object, which will be cloned internally. This means that it is
128 now possible to track the source of a method provided by a
129 role, and even follow its history through intermediate roles.
131 This means that methods added by a role now show up when
132 looking at a class's method list/map. (Dave Rolsky)
135 - From this release on, we'll try to maintain a list of
136 conflicting modules, and warn you if you have one
137 installed. For example, this release conflicts with ...
138 - MooseX::Singleton <= 0.11
139 - MooseX::Params::Validate <= 0.05
142 In general, we try to not break backwards compatibility for
143 most Moose users, but MooseX modules and other code which
144 extends Moose's metaclasses is often affected by very small
145 changes in the Moose internals.
147 * Moose::Meta::Method::Delegation
148 * Moose::Meta::Attribute
149 - Delegation methods now have their own method class. (Dave
152 * Moose::Meta::TypeConstraint::Parameterizable
153 - Added a new method 'parameterize' which is basically a factory
154 for the containing constraint. This makes it easier to create
155 new types of parameterized constraints. (jnapiorkowski)
157 * Moose::Meta::TypeConstraint::Union
158 - Changed the way Union types canonicalize their names to follow
159 the normalized TC naming rules, which means we strip all
160 whitespace. (jnapiorkowski)
162 * Moose::Util::TypeConstraints
163 - Parameter and Union args are now sorted, this makes Int|Str
164 the same constraint as Str|Int. (jnapiorkowski)
165 - Changes to the way Union types are parsed to more correctly
166 stringify their names. (jnapiorkowski)
167 - When creating a parameterized type, we now use the new
168 parameterize method. (jnapiorkowski)
169 - Incoming type constraint strings are now normalized to remove
170 all whitespace differences. (jnapiorkowski)
171 - Changed the way we parse type constraint strings so that we now
172 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
173 constraints. This lays the foundation for more flexible type
174 constraint implementations.
176 * Tests and docs for all the above. (jnapiorkowski)
180 - Moose::Exporter will no longer remove a subroutine that the
181 exporting package re-exports. Moose re-exports the
182 Carp::confess function, among others. The reasoning is that we
183 cannot know whether you have also explicitly imported those
184 functions for your own use, so we err on the safe side and
185 always keep them. (Dave Rolsky)
186 - added tests for this (rafl)
189 - Changes to how we fix metaclass compatibility that are much
190 too complicated to go into. The summary is that Moose is much
191 less likely to complain about metaclass incompatibility
192 now. In particular, if two metaclasses differ because
193 Moose::Util::MetaRole was used on the two corresponding
194 classes, then the difference in roles is reconciled for the
195 subclass's metaclass. (Dave Rolsky)
196 - Squashed an warning in _process_attribute (thepler)
199 - throw exceptions (sooner) for invalid attribute names (thepler)
200 - added tests for this (thepler)
202 * Moose::Util::MetaRole
203 - If you explicitly set a constructor or destructor class for a
204 metaclass object, and then applied roles to the metaclass,
205 that explicitly set class would be lost and replaced with the
209 * Moose::Meta::Attribute
210 * Moose::Meta::Method
213 * Moose::Error::Default
214 * Moose::Error::Croak
215 * Moose::Error::Confess
216 - All instances of confess() changed to use overridable
217 C<throw_error> method. This method ultimately calls a class
218 constructor, and you can change the class being called. In
219 addition, errors now pass more information than just a string.
220 The default C<error_class> behaves like C<Carp::confess>, so
221 the behavior is not visibly different for end users.
223 0.57 Wed September 3, 2008
225 - A new bit of doc intended to introduce folks familiar with
226 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
229 - Shows examples of two classes, each done first with and then
230 without Moose. This makes a nice parallel to
231 Moose::Intro. (Dave Rolsky)
233 * Moose::Util::TypeConstraints
234 - Fixed a bug in find_or_parse_type_constraint so that it
235 accepts a Moose::Meta::TypeConstraint object as the parent
236 type, not just a name (jnapiorkowski)
237 - added tests (jnapiorkowski)
240 - If Sub::Name was not present, unimporting failed to actually
241 remove some sugar subs, causing test failures (Dave Rolsky)
243 0.56 Mon September 1, 2008
244 For those not following the series of dev releases, there are
245 several major changes in this release of Moose.
246 ! Moose::init_meta should now be called as a method. See the
249 - Major performance improvements by nothingmuch.
251 - New modules for extension writers, Moose::Exporter and
252 Moose::Util::MetaRole by Dave Rolsky.
254 - Lots of doc improvements and additions, especially in the
259 * Removed all references to the experimental-but-no-longer-needed
260 Moose::Meta::Role::Application::ToMetaclassInstance.
262 * Require Class::MOP 0.65.
264 0.55_04 Sat August 30, 2008
265 * Moose::Util::MetaRole
266 * Moose::Cookbook::Extending::Recipe2
267 - This simplifies the application of roles to any meta class, as
268 well as the base object class. Reimplemented metaclass traits
269 using this module. (Dave Rolsky)
271 * Moose::Cookbook::Extending::Recipe1
272 - This a new recipe, an overview of various ways to write Moose
273 extensions (Dave Rolsky)
275 * Moose::Cookbook::Extending::Recipe3
276 * Moose::Cookbook::Extending::Recipe4
277 - These used to be Extending::Recipe1 and Extending::Recipe2,
280 0.55_03 Fri August 29, 2008
281 * No changes from 0.55_02 except increasing the Class::MOP
282 dependency to 0.64_07.
284 0.55_02 Fri August 29, 2008
285 * Makefile.PL and Moose.pm
286 - explicitly require Perl 5.8.0+ (Dave Rolsky)
288 * Moose::Util::TypeConstraints
289 - Fix warnings from find_type_constraint if the type is not
292 * Moose::Meta::TypeConstraint
293 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
294 return false if the type you specify cannot be found in the
295 type registry, rather than throwing an unhelpful and
296 coincidental exception. (t0m).
297 - added docs & test for this (t0m)
299 * Moose::Meta::TypeConstraint::Registry
300 - add_type_constraint now throws an exception if a parameter is
302 - added docs & test for this (t0m)
304 * Moose::Cookbook::FAQ
305 - Added a faq entry on the difference between "role" and "trait"
309 - Fixed a bug that caused role composition to not see a required
310 method when that method was provided by another role being
311 composed at the same time. (Dave Rolsky)
312 - test and bug finding (tokuhirom)
314 0.55_01 Wed August 20, 2008
316 !! Calling Moose::init_meta as a function is now !!
317 !! deprecated. Please see the Moose.pm docs for details. !!
319 * Moose::Meta::Method::Constructor
320 - Fix inlined constructor so that values produced by default
321 or builder methods are coerced as required. (t0m)
322 - added test for this (t0m)
324 * Moose::Meta::Attribute
325 - A lazy attribute with a default or builder did not attempt to
326 coerce the default value. The immutable code _did_
328 - added test for this (t0m)
331 - This is a new helper module for writing "Moose-alike"
332 modules. This should make the lives of MooseX module authors
333 much easier. (Dave Rolsky)
336 * Moose::Cookbook::Meta::Recipe5
337 - Implemented metaclass traits (and wrote a recipe for it):
339 use Moose -traits => 'Foo'
341 This should make writing small Moose extensions a little
344 * Moose::Cookbook::Basics::Recipe1
345 - Removed any examples of direct hashref access, and applied an
346 editorial axe to reduce verbosity. (Dave Rolsky)
348 * Moose::Cookbook::Basics::Recipe1
349 - Also applied an editorial axe here. (Dave Rolsky)
352 * Moose::Cookbook::Extending::Recipe1
353 * Moose::Cookbook::Extending::Recipe2
354 - Rewrote extending and embedding moose documentation and
355 recipes to use Moose::Exporter (Dave Rolsky)
359 - These two modules now warn when you load them from the main
360 package "main" package, because we will not export sugar to
361 main. Previously it just did nothing. (Dave Rolsky)
364 - Now provide an init_meta method just like Moose.pm, and you
365 can call this to provide an alternate role metaclass. (Dave
366 Rolsky and nothingmuch)
367 - get_method_map now respects the package cache flag (nothingmuch)
370 - Two new methods - add_method and wrap_method_body
374 - Optimizations including allowing constructors to accept hash
375 refs, making many more classes immutable, and making
376 constructors immutable. (nothingmuch)
378 0.55 Sun August 3, 2008
379 * Moose::Meta::Attribute
380 - breaking down the way 'handles' methods are
381 created so that the process can be more easily
382 overridden by subclasses (stevan)
384 * Moose::Meta::TypeConstraint
385 - fixing what is passed into a ->message with
386 the type constraints (RT #37569)
387 - added tests for this (Charles Alderman)
389 * Moose::Util::TypeConstraints
390 - fix coerce to accept anon types like subtype can (mst)
393 - reorganized the recipes into sections - Basics, Roles, Meta,
394 Extending - and wrote abstracts for each section (Dave Rolsky)
396 * Moose::Cookbook::Basics::Recipe10
397 - A new recipe that demonstrates operator overloading
398 in combination with Moose. (bluefeet)
400 * Moose::Cookbook::Meta::Recipe1
401 - an introduction to what meta is and why you'd want to make
402 your own metaclass extensions (Dave Rolsky)
404 * Moose::Cookbook::Meta::Recipe4
405 - a very simple metaclass example (Dave Rolsky)
407 * Moose::Cookbook::Extending::Recipe1
408 - how to write a Moose-alike module to use your own object base
411 * Moose::Cookbook::Extending::Recipe2
412 - how to write modules with an API just like C<Moose.pm> (Dave
416 - Tons of fixes, both syntactical and grammatical (Dave
417 Rolsky, Paul Fenwick)
419 0.54 Thurs. July 3, 2008
420 ... this is not my day today ...
422 * Moose::Meta::Attribute
423 - fixed legal_options_for_inheritance such that
424 clone_and_inherit options still works for
425 Class::MOP::Attribute objects and therefore
426 does not break MooseX::AttributeHelpers
429 0.53 Thurs. July 3, 2008
430 * Whoops, I guess I should run 'make manifest' before
431 actually releasing the module. No actual changes
432 in this release, except the fact that it includes
433 the changes that I didn't include in the last
436 0.52 Thurs. July 3, 2008
438 - added "FEATURE REQUESTS" section to the Moose docs
439 to properly direct people (stevan) (RT #34333)
440 - making 'extends' croak if it is passed a Role since
441 this is not ever something you want to do
442 (fixed by stevan, found by obra)
443 - added tests for this (stevan)
446 - adding support for DOES (as in UNIVERSAL::DOES)
448 - added test for this
450 * Moose::Meta::Attribute
451 - added legal_options_for_inheritance (wreis)
452 - added tests for this (wreis)
454 * Moose::Cookbook::Snacks::*
455 - removed some of the unfinished snacks that should
456 not have been released yet. Added some more examples
457 to the 'Keywords' snack. (stevan)
459 * Moose::Cookbook::Style
460 - added general Moose "style guide" of sorts to the
461 cookbook (nothingmuch) (RT #34335)
464 - added more BUILDARGS tests (stevan)
466 0.51 Thurs. Jun 26, 2008
468 - add unimport so "no Moose::Role" actually does
471 * Moose::Meta::Role::Application::ToRole
472 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
473 order to provide its own implementation, that method still got
474 added to the list of required methods for consumers of
475 RoleB. Now an aliased method is only added to the list of
476 required methods if the role doing the aliasing does not
477 provide its own implementation. See Recipe 11 for an example
478 of all this. (Dave Rolsky)
479 - added tests for this
481 * Moose::Meta::Method::Constructor
482 - when a single argument that wasn't a hashref was provided to
483 an immutabilized constructor, the error message was very
484 unhelpful, as opposed to the non-immutable error. Reported by
486 - added test for this (Dave Rolsky)
488 * Moose::Meta::Attribute
489 - added support for meta_attr->does("ShortAlias") (sartak)
490 - added tests for this (sartak)
491 - moved the bulk of the `handles` handling to the new
492 install_delegation method (Stevan)
495 - Added BUILDARGS, a new step in new()
497 * Moose::Meta::Role::Application::RoleSummation
498 - fix typos no one ever sees (sartak)
500 * Moose::Util::TypeConstraints
501 * Moose::Meta::TypeConstraint
502 * Moose::Meta::TypeCoercion
503 - Attempt to work around the ??{ } vs. threads issue
505 - Some null_constraint optimizations
507 0.50 Thurs. Jun 11, 2008
508 - Fixed a version number issue by bumping all modules
511 0.49 Thurs. Jun 11, 2008
512 !! This version now approx. 20-25% !!
513 !! faster with new Class::MOP 0.59 !!
515 * Moose::Meta::Attribute
516 - fixed how the is => (ro|rw) works with
517 custom defined reader, writer and accessor
519 - added docs for this (TODO).
520 - added tests for this (Thanks to Penfold)
521 - added the custom attribute alias for regular
522 Moose attributes which is "Moose"
523 - fix builder and default both being used
528 Moose::Meta::Attribute
530 Moose::Meta::Role::Composite
531 Moose::Util::TypeConstraints
532 - switched usage of reftype to ref because
536 - changing add_package_symbol to use the new
540 - fixed how DEMOLISHALL is called so that it
541 can be overrided in subclasses (thanks to Sartak)
542 - added test for this (thanks to Sartak)
544 * Moose::Util::TypeConstraints
545 - move the ClassName type check code to
546 Class::MOP::is_class_loaded (thanks to Sartak)
548 * Moose::Cookbook::Recipe11
549 - add tests for this (thanks to tokuhirom)
551 0.48 Thurs. May 29, 2008
552 (early morning release engineering)--
554 - fixing the version in Moose::Meta::Method::Destructor
555 which was causing the indexer to choke
557 0.47 Thurs. May 29, 2008
558 (late night release engineering)--
560 - fixing the version is META.yml, no functional
561 changes in this release
563 0.46 Wed. May 28, 2008
564 !! This version now approx. 20-25% !!
565 !! faster with new Class::MOP 0.57 !!
568 - some optimizations of the &initialize method
569 since it is called so often by &meta
573 - now use the get_all_package_symbols from the
574 updated Class::MOP, test suite is now 10 seconds
577 * Moose::Meta::Method::Destructor
578 - is_needed can now also be called as a class
579 method for immutablization to check if the
580 destructor object even needs to be created
583 * Moose::Meta::Method::Destructor
584 Moose::Meta::Method::Constructor
585 - added more descriptive error message to help
586 keep people from wasting time tracking an error
587 that is easily fixed by upgrading.
589 0.45 Saturday, May 24, 2008
591 - Because of work in Class::MOP 0.57, all
592 XS based functionality is now optional
593 and a Pure Perl version is supplied
594 - the CLASS_MOP_NO_XS environment variable
595 can now be used to force non-XS versions
597 - several of the packages have been tweaked
598 to take care of this, mostly we added
599 support for the package_name and name
600 variables in all the Method metaclasses
601 - before/around/after method modifiers now
602 support regexp matching of names
603 (thanks to Takatoshi Kitano)
604 - tests added for this
605 - NOTE: this only works for classes, it
606 is currently not supported in roles,
607 but, ... patches welcome
608 - All usage of Carp::confess have been replaced
609 by Carp::croak in the "keyword" functions since
610 the stack trace is usually not helpful
613 - All usage of Carp::confess have been replaced
614 by Carp::croak in the "keyword" functions since
615 the stack trace is usually not helpful
616 - The 'has' keyword for roles now accepts the
617 same array ref form that Moose.pm does
618 (has [qw/foo bar/] => (is => 'rw', ...))
619 - added test for this
621 * Moose::Meta::Attribute
622 - trigger on a ro-attribute is no longer an
623 error, as it's useful to trigger off of the
627 - added same 'add_package_symbol' fix as in
631 - does_role now handles non-Moose classes
633 - added tests for this
634 - added the 'add_method_modifier' function
635 (thanks to Takatoshi Kitano)
637 * Moose::Util::TypeConstraints
638 - subtypes of parameterizable types now are
639 themselves parameterizable types
641 * Moose::Meta::Method::Constructor
642 - fixed bug where trigger was not being
643 called by the inlined immutable
645 - added test for this (thanks to Caelum)
647 * Moose::Meta::Role::Application::ToInstance
648 - now uses the metaclass of the instance
649 (if possible) to create the anon-class
650 (thanks Jonathan Rockway)
652 * Moose::Cookbook::Recipe22
653 - added the meta-attribute trait recipe
657 - fixed hash-ordering test bug that was
658 causing occasional cpantester failures
659 - renamed the t/000_recipe/*.t tests to be
660 more descriptive (thanks to Sartak)
662 0.44 Sat. May 10, 2008
664 - made make_immutable warning cluck to
665 show where the error is (thanks mst)
668 - BUILDALL and DEMOLISHALL now call
669 ->body when looping through the
670 methods, to avoid the overloaded
672 - fixed issue where DEMOLISHALL was
673 eating the $@ values, and so not
674 working correctly, it still kind of
675 eats them, but so does vanilla perl
676 - added tests for this
678 * Moose::Cookbook::Recipe7
679 - added new recipe for immutable
680 functionality (thanks Dave Rolsky)
682 * Moose::Cookbook::Recipe9
683 - added new recipe for builder and
684 lazy_build (thanks Dave Rolsky)
686 * Moose::Cookbook::Recipe11
687 - added new recipe for method aliasing
688 and exclusion with Roles (thanks Dave Rolsky)
691 - fixed Win32 test failure (thanks spicyjack)
693 ~ removed Build.PL and Module::Build compat
694 since Module::Install has done that.
696 0.43 Wed. April, 30, 2008
698 drink more coffee before
699 doing release engineering
701 - whoops, forgot to do the smolder tests,
702 and we broke some of the custom meta-attr
703 modules. This fixes that.
705 0.42 Mon. April 28, 2008
706 - some bad tests slipped by, nothing else
707 changed in this release (cpantesters++)
709 - upped the Class::MOP dependency to 0.55
710 since we have tests which need the C3
713 0.41 Mon. April 28, 2008
714 ~~ numerous documentation updates ~~
716 - Changed all usage of die to Carp::croak for better
717 error reporting (initial patch by Tod Hagan)
720 - the make_immutable keyword is now deprecated, don't
721 use it in any new code and please fix your old code
722 as well. There will be 2 releases, and then it will
728 - refactored the way inner and super work to avoid
729 any method/@ISA cache penalty (nothingmuch)
732 - fixing &new_object to make sure trigger gets the
733 coerced value (spotted by Charles Alderman on the
735 - added test for this
737 * Moose::Meta::Method::Constructor
738 - immutable classes which had non-lazy attributes were calling
739 the default generating sub twice in the constructor. (bug
740 found by Jesse Luehrs, fixed by Dave Rolsky)
741 - added tests for this (Dave Rolsky)
742 - fix typo in initialize_body method (nothingmuch)
744 * Moose::Meta::Method::Destructor
745 - fix typo in initialize_body method (nothingmuch)
747 * Moose::Meta::Method::Overriden
748 Moose::Meta::Method::Augmented
749 - moved the logic for these into their own
750 classes (nothingmuch)
752 * Moose::Meta::Attribute
753 - inherited attributes may now be extended without
754 restriction on the type ('isa', 'does') (Sartak)
755 - added tests for this (Sartak)
756 - when an attribute property is malformed (such as lazy without
757 a default), give the name of the attribute in the error
759 - added the &applied_traits and &has_applied_traits methods
760 to allow introspection of traits
761 - added tests for this
762 - moved 'trait' and 'metaclass' argument handling to here from
764 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
765 '+foo' syntax) (nothingmuch)
766 - added tests for this (t0m)
769 - localize $@ inside DEMOLISHALL to avoid it
770 eating $@ (found by Ernesto)
771 - added test for this (thanks to Ernesto)
773 * Moose::Util::TypeConstraints
774 - &find_type_constraint now DWIMs when given an
775 type constraint object or name (nothingmuch)
776 - &find_or_create_type_constraint superseded with a number of more
778 - find_or_create_{isa,does}_type_constraint
779 - find_or_parse_type_constraint
781 * Moose::Meta::TypeConstraint
782 Moose::Meta::TypeConstraint::Class
783 Moose::Meta::TypeConstraint::Role
784 Moose::Meta::TypeConstraint::Enum
785 Moose::Meta::TypeConstraint::Union
786 Moose::Meta::TypeConstraint::Parameterized
787 - added the &equals method for comparing two type
788 constraints (nothingmuch)
789 - added tests for this (nothingmuch)
791 * Moose::Meta::TypeConstraint
792 - add the &parents method, which is just an alias to &parent.
793 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
795 * Moose::Meta::TypeConstraint::Class
796 - added the class attribute for introspection purposes
798 - added tests for this
800 * Moose::Meta::TypeConstraint::Enum
801 Moose::Meta::TypeConstraint::Role
802 - broke these out into their own classes (nothingmuch)
804 * Moose::Cookbook::Recipe*
805 - fixed references to test file locations in the POD
806 and updated up some text for new Moose features
810 - Added &resolve_metaclass_alias, a helper function for finding an actual
811 class for a short name (e.g. in the traits list)
813 0.40 Fri. March 14, 2008
814 - I hate Pod::Coverage
816 0.39 Fri. March 14, 2008
818 - documenting the use of '+name' with attributes
819 that come from recently composed roles. It makes
820 sense, people are using it, and so why not just
821 officially support it.
822 - fixing the 'extends' keyword so that it will not
823 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
826 - added the perl -Moose=+Class::Name feature to allow
827 monkeypatching of classes in one liners
830 - fixing the 'apply_all_roles' keyword so that it will not
831 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
834 - added ->create method which now supports roles (thanks to jrockway)
835 - added tests for this
836 - added ->create_anon_class which now supports roles and caching of
837 the results (thanks to jrockway)
838 - added tests for this
839 - made ->does_role a little more forgiving when it is
840 checking a Class::MOP era metaclasses.
842 * Moose::Meta::Role::Application::ToInstance
843 - it is now possible to pass extra params to be used when
844 a role is applied to an the instance (rebless_params)
845 - added tests for this
847 * Moose::Util::TypeConstraints
848 - class_type now accepts an optional second argument for a
849 custom message. POD anotated accordingly (groditi)
850 - added tests for this
851 - it is now possible to make anon-enums by passing 'enum' an
852 ARRAY ref instead of the $name => @values. Everything else
854 - added tests for this
857 - making test for using '+name' on attributes consumed
858 from a role, it works and makes sense too.
860 * Moose::Meta::Attribute
861 - fix handles so that it doesn't return nothing
862 when the method cannot be found, not sure why
863 it ever did this originally, this means we now
864 have slightly better support for AUTOLOADed
866 - added more delegation tests
867 - adding ->does method to this so as to better
868 support traits and their introspection.
869 - added tests for this
872 - localizing the Data::Dumper configurations so
873 that it does not pollute others (RT #33509)
874 - made ->does a little more forgiving when it is
875 passed Class::MOP era metaclasses.
877 0.38 Fri. Feb. 15, 2008
878 * Moose::Meta::Attribute
879 - fixed initializer to correctly do
880 type checking and coercion in the
882 - added tests for this
885 - fixed some finicky tests (thanks to konobi)
887 0.37 Thurs. Feb. 14, 2008
889 - fixed some details in Moose::init_meta
890 and its superclass handling (thanks thepler)
891 - added tests for this (thanks thepler)
892 - 'has' now dies if you don't pass in name
894 - added the 'make_immutable' keyword as a shortcut
898 Moose::Meta::Method::Constructor
899 Moose::Meta::Attribute
900 - making (init_arg => undef) work here too
901 (thanks to nothingmuch)
903 * Moose::Meta::Attribute
904 Moose::Meta::Method::Constructor
905 Moose::Meta::Method::Accessor
906 - make lazy attributes respect attr initializers (rjbs)
907 - added tests for this
909 * Moose::Util::TypeConstraints
910 Moose::Util::TypeConstraints::OptimizedConstraints
911 Moose::Meta::TypeConstraints
912 Moose::Meta::Attribute
913 Moose::Meta::Method::Constructor
914 Moose::Meta::Method::Accessor
915 - making type errors use the
916 assigned message (thanks to Sartak)
917 - added tests for this
919 * Moose::Meta::Method::Destructor
920 - making sure DESTROY gets inlined properly
921 with successive DEMOLISH calls (thanks to manito)
923 * Moose::Meta::Attribute
924 Moose::Meta::Method::Accessor
925 - fixed handling of undef with type constraints
927 - added tests for this
930 - added &get_all_init_args and &get_all_attribute_values
931 (thanks to Sartak and nothingmuch)
933 0.36 Sat. Jan. 26, 2008
935 Moose::Meta::Attribute
936 - role type tests now support when roles are
937 applied to non-Moose classes (found by ash)
938 - added tests for this (thanks to ash)
939 - couple extra tests to boost code coverage
941 * Moose::Meta::Method::Constructor
942 - improved fix for handling Class::MOP attributes
943 - added test for this
946 - handled the add_attribute($attribute_meta_object)
948 - added test for this
950 0.35 Tues. Jan. 22, 2008
951 * Moose::Meta::Method::Constructor
952 - fix to make sure even Class::MOP attributes
953 are handled correctly (Thanks to Dave Rolsky)
954 - added test for this (also Dave Rolsky)
957 - improved error message on _apply_all_roles,
958 you should now use Moose::Util::apply_all_roles
959 and you shouldnt have been using a _ prefixed
960 method in the first place ;)
962 0.34 Mon. Jan. 21, 2008
963 ~~~ more misc. doc. fixes ~~~
964 ~~ updated copyright dates ~~
966 Moose is now a postmodern object system :)
967 - (see the POD for details)
969 * <<Role System Refactoring>>
970 - this release contains a major reworking and
971 cleanup of the role system
972 - 100% backwards compat.
973 - Role application now restructured into seperate
974 classes based on type of applicants
975 - Role summation (combining of more than one role)
976 is much cleaner and anon-classes are no longer
978 - new Composite role metaclass
979 - runtime application of roles to instances
980 is now more efficient and re-uses generated
981 classes when applicable
983 * <<New Role composition features>>
984 - methods can now be excluded from a given role
986 - methods can now be aliased to another name (and
987 still retain the original as well)
989 * Moose::Util::TypeConstraints::OptimizedConstraints
990 - added this module (see above)
993 - fixed the &_process_attribute method to be called
994 by &add_attribute, so that the API is now correct
996 * Moose::Meta::Method::Accessor
997 - fixed bug when passing a list of values to
998 an accessor would get (incorrectly) ignored.
999 Thanks to Sartak for finding this ;)
1000 - added tests for this (Sartak again)
1002 * Moose::Meta::Method::Accessor
1003 Moose::Meta::Method::Constructor
1004 Moose::Meta::Attribute
1005 Moose::Meta::TypeConstraint
1006 Moose::Meta::TypeCoercion
1007 - lots of cleanup of such things as:
1009 - type constraint handling
1010 - error handling/messages
1011 (thanks to nothingmuch)
1013 * Moose::Meta::TypeConstraint::Parameterizable
1014 - added this module to support the refactor
1015 in Moose::Meta::TypeConstraint::Parameterized
1017 * Moose::Meta::TypeConstraint::Parameterized
1018 - refactored how these types are handled so they
1019 are more generic and not confined to ArrayRef
1023 - shortened some file names for better VMS support (RT #32381)
1025 0.33 Fri. Dec. 14, 2007
1026 !! Moose now loads 2 x faster !!
1027 !! with new Class::MOP 0.49 !!
1029 ++ new oose.pm module to make command line
1030 Moose-ness easier (see POD docs for more)
1032 * Moose::Meta::Class
1034 - several tweaks to take advantage of the
1035 new method map caching in Class::MOP
1037 * Moose::Meta::TypeConstraint::Parameterized
1038 - allow subtypes of ArrayRef and HashRef to
1039 be used as a container (sartak)
1040 - added tests for this
1041 - basic support for coercion to ArrayRef and
1042 HashRef for containers (sartak)
1043 - added tests for this
1045 * Moose::Meta::TypeCoercion
1046 - coercions will now create subtypes as needed
1047 so you can now add coercions to parameterized
1048 types without having to explictly define them
1049 - added tests for this
1051 * Moose::Meta::Method::Accessor
1052 - allow subclasses to decide whether we need
1053 to copy the value into a new variable (sartak)
1055 0.32 Tues. Dec. 4, 2007
1056 * Moose::Util::TypeConstraints
1057 - fixing how subtype aliases of unions work
1058 they should inherit the parent's coercion
1059 - added tests for this
1060 - you can now define multiple coercions on
1061 a single type at different times instead of
1062 having to do it all in one place
1063 - added tests for this
1065 * Moose::Meta::TypeConstraint
1066 - there is now a default constraint of sub { 1 }
1067 instead of Moose::Util::TypeConstraints setting
1070 * Moose::Meta::TypeCoercion
1071 * Moose::Meta::TypeCoercion::Union
1072 - added the &has_coercion_for_type and
1073 &add_type_coercions methods to support the
1074 new features above (although you cannot add
1075 more type coercions for Union types)
1077 0.31 Mon. Nov. 26, 2007
1078 * Moose::Meta::Attribute
1079 - made the +attr syntax handle extending types with
1080 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1081 now works if the original foo is an ArrayRef.
1082 - added tests for this.
1083 - delegation now works even if the attribute does not
1084 have a reader method using the get_read_method_ref
1085 method from Class::MOP::Attribute.
1086 - added tests for this
1087 - added docs for this
1089 * Moose::Util::TypeConstraints
1090 - passing no "additional attribute info" to
1091 &find_or_create_type_constraint will no longer
1092 attempt to create an __ANON__ type for you,
1093 instead it will just return undef.
1094 - added docs for this
1096 0.30 Fri. Nov. 23, 2007
1097 * Moose::Meta::Method::Constructor
1098 -builder related bug in inlined constructor. (groditi)
1100 * Moose::Meta::Method::Accessor
1101 - genereate unnecessary calls to predicates and refactor
1102 code generation for runtime speed (groditi)
1104 * Moose::Util::TypeConstraints
1105 - fix ClassName constraint to introspect symbol table (mst)
1106 - added more tests for this (mst)
1107 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1108 with work correctly.
1109 - added tests for this
1112 - adding the link to Recipie 11 (written by Sartak)
1113 - adding test for SYNOPSIS code
1116 - New tests for builder bug. Upon instantiation, if an
1117 attribute had a builder, no value and was not lazy the
1118 builder default was not getting run, oops. (groditi)
1120 0.29 Tues. Nov. 13, 2007
1121 * Moose::Meta::Attribute
1122 - Fix error message on missing builder method (groditi)
1124 * Moose::Meta::Method::Accessor
1125 - Fix error message on missing builder method (groditi)
1128 - Add test to check for the correct error message when
1129 builder method is missing (groditi)
1131 0.28 Tues. Nov. 13, 2007
1132 - 0.27 packaged incorrectly (groditi)
1134 0.27 Tues. Nov. 13, 2007
1135 * Moose::Meta::Attribute
1136 - Added support for the new builder option (groditi)
1137 - Added support for lazy_build option (groditi)
1138 - Changed slot initialization for predicate changes (groditi)
1140 * Moose::Meta::Method::Accessor
1141 - Added support for lazy_build option (groditi)
1142 - Fix inline methods to work with corrected predicate
1145 * Moose::Meta::Method::Constructor
1146 - Added support for lazy_build option (groditi)
1149 - tests for builder and lazy_build (groditi)
1151 * fixing some misc. bits in the docs that
1152 got mentioned on CPAN Forum & perlmonks
1155 - fixed how required methods are handled
1156 when they encounter overriden or modified
1157 methods from a class (thanks to confound).
1158 - added tests for this
1160 * Moose::Util::TypeConstraint
1161 - fixed the type notation parser so that
1162 the | always creates a union and so is
1163 no longer a valid type char (thanks to
1164 konobi, mugwump and #moose for working
1166 - added more tests for this
1168 0.26 Thurs. Sept. 27, 2007
1171 * Parameterized Types
1172 We now support parameterized collection types, such as:
1173 ArrayRef[Int] # array or integers
1174 HashRef[Object] # a hash with object values
1175 They can also be nested:
1176 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
1177 And work with the type unions as well:
1178 ArrayRef[Int | Str] # array of integers of strings
1180 * Better Framework Extendability
1181 Moose.pm is now "extendable" such that it is now much
1182 easier to extend the framework and add your own keywords
1183 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1184 section of the Moose.pm docs.
1187 In an effort to begin documenting some of the various
1188 details of Moose as well as some common idioms, we have
1189 created Moose::Cookbook::Snacks as a place to find
1190 small (easily digestable) nuggets of Moose code.
1193 ~ Several doc updates/cleanup thanks to castaway ~
1195 - converted build system to use Module::Install instead of
1196 Module::Build (thanks to jrockway)
1199 - added all the meta classes to the immutable list and
1200 set it to inline the accessors
1201 - fix import to allow Sub::Exporter like { into => }
1202 and { into_level => } (perigrin)
1203 - exposed and documented init_meta() to allow better
1204 embedding and extending of Moose (perigrin)
1207 - complete re-organization of the test suite
1208 - added some new tests as well
1209 - finally re-enabled the Moose::POOP test since
1210 the new version of DBM::Deep now works again
1213 * Moose::Meta::Class
1214 - fixed very odd and very nasty recursion bug with
1216 - added tests for this (eilara)
1218 * Moose::Meta::Attribute
1219 Moose::Meta::Method::Constructor
1220 Moose::Meta::Method::Accessor
1221 - fixed issue with overload::Overloaded getting called
1222 on non-blessed items. (RT #29269)
1223 - added tests for this
1225 * Moose::Meta::Method::Accessor
1226 - fixed issue with generated accessor code making
1227 assumptions about hash based classes (thanks to dexter)
1229 * Moose::Coookbook::Snacks
1230 - these are bits of documentation, not quite as big as
1231 Recipes but which have no clear place in the module docs.
1232 So they are Snacks! (horray for castaway++)
1234 * Moose::Cookbook::Recipe4
1235 - updated it to use the new ArrayRef[MyType] construct
1236 - updated the accompanying test as well
1238 +++ Major Refactor of the Type Constraint system +++
1239 +++ with new features added as well +++
1241 * Moose::Util::TypeConstraint
1242 - no longer uses package variable to keep track of
1243 the type constraints, now uses the an instance of
1244 Moose::Meta::TypeConstraint::Registry to do it
1245 - added more sophisticated type notation parsing
1247 - added tests for this
1249 * Moose::Meta::TypeConstraint
1250 - some minor adjustments to make subclassing easier
1251 - added the package_defined_in attribute so that we
1252 can track where the type constraints are created
1254 * Moose::Meta::TypeConstraint::Union
1255 - this is now been refactored to be a subclass of
1256 Moose::Meta::TypeConstraint
1258 * Moose::Meta::TypeCoercion::Union
1259 - this has been added to service the newly refactored
1260 Moose::Meta::TypeConstraint::Union and is itself
1261 a subclass of Moose::Meta::TypeCoercion
1263 * Moose::Meta::TypeConstraint::Parameterized
1264 - added this module (taken from MooseX::AttributeHelpers)
1265 to help construct nested collection types
1266 - added tests for this
1268 * Moose::Meta::TypeConstraint::Registry
1269 - added this class to keep track of type constraints
1271 0.25 Mon. Aug. 13, 2007
1273 - Documentation update to reference Moose::Util::TypeConstraints
1274 under 'isa' in 'has' for how to define a new type
1275 (thanks to shlomif).
1277 * Moose::Meta::Attribute
1278 - required attributes now will no longer accept undef
1279 from the constructor, even if there is a default and lazy
1280 - added tests for this
1281 - default subroutines must return a value which passes the
1283 - added tests for this
1285 * Moose::Meta::Attribute
1286 * Moose::Meta::Method::Constructor
1287 * Moose::Meta::Method::Accessor
1288 - type-constraint tests now handle overloaded objects correctly
1289 in the error message
1290 - added tests for this (thanks to EvanCarroll)
1292 * Moose::Meta::TypeConstraint::Union
1293 - added (has_)hand_optimized_constraint to this class so that
1294 it behaves as the regular Moose::Meta::TypeConstraint does.
1297 - large refactoring of this code
1298 - added several more tests
1299 - tests for subtle conflict resolition issues
1300 added, but not currently running
1303 * Moose::Cookbook::Recipe7
1304 - added new recipe for augment/inner functionality
1306 - added test for this
1309 - a formal definition of roles (still in progress)
1312 - utilities for easier working with Moose classes
1313 - added tests for these
1316 - This contains Moose specific test functions
1317 - added tests for these
1319 0.24 Tues. July 3, 2007
1320 ~ Some doc updates/cleanup ~
1322 * Moose::Meta::Attribute
1323 - added support for roles to be given as parameters
1324 to the 'handles' option.
1325 - added tests and docs for this
1326 - the has '+foo' attribute form now accepts changes to
1327 the lazy option, and the addition of a handles option
1328 (but not changing the handles option)
1329 - added tests and docs for this
1332 - required methods are now fetched using find_method_by_name
1333 so that required methods can come from superclasses
1334 - adjusted tests for this
1336 0.23 Mon. June 18, 2007
1337 * Moose::Meta::Method::Constructor
1338 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1339 * Moose::Meta::Class
1340 - Modify make_immutable to work with the new Class::MOP immutable
1341 mechanism + POD + very basic test (groditi)
1342 * Moose::Meta::Attribute
1343 - Fix handles to use goto() so that caller() comes out properly on
1344 the other side (perigrin)
1346 0.22 Thurs. May 31, 2007
1347 * Moose::Util::TypeConstraints
1348 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1349 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1350 prototypes for functions
1351 - added the ClassName type constraint, this checks for strings
1352 which will respond true to ->isa(UNIVERSAL).
1353 - added tests and docs for this
1354 - subtyping just in name now works correctly by making the
1355 default for where be { 1 }
1356 - added test for this
1358 * Moose::Meta::Method::Accessor
1359 - coerce and lazy now work together correctly, thanks to
1360 merlyn for finding this bug
1361 - tests added for this
1362 - fix reader presedence bug in Moose::Meta::Attribute + tests
1365 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1366 a HASH-ref and missed. This produces better error messages then
1367 having it die cause undef is not a HASH.
1368 - added tests for this
1370 0.21 Thursday, May 2nd, 2007
1372 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1373 - modified unimport to remove super and inner along with the rest
1374 - altered unimport tests to handle this
1377 - altered super export to populate SUPER_SLOT
1379 * Moose::Meta::Class
1380 - altered augment and override modifier application to use *_SLOT
1381 - modified tests for these to unimport one test class each to test
1384 - fixed issue where custom attribute metaclasses
1385 where not handled correctly in roles
1386 - added tests for this
1388 * Moose::Meta::Class
1389 - fixed issue where extending metaclasses with
1390 roles would blow up. Thanks to Aankhen`` for
1391 finding this insidious error, and it's solution.
1393 ~~ lots of spelling and grammer fixes in the docs,
1394 many many thanks to rlb3 and Aankhen for these :)
1396 0.20 Friday, April 6th, 2007
1397 >> I messed up the SKIP logic in one test
1398 so this release is just to fix that.
1401 - 'has' now also accepts an ARRAY ref
1402 to create multiple attrs (see docs)
1403 (thanks to konobi for this)
1404 - added tests and docs
1406 0.19 Thurs. April 5th, 2007
1407 ~~ More documentation updates ~~
1409 * Moose::Util::TypeConstraints
1410 - 'type' now supports messages as well
1411 thanks to phaylon for finding this
1412 - added tests for this
1413 - added &list_all_type_constraints and
1414 &list_all_builtin_type_constraints
1415 functions to facilitate introspection.
1417 * Moose::Meta::Attribute
1418 - fixed regexp 'handles' declarations
1419 to build the list of delegated methods
1420 correctly (and not override important
1421 things like &new) thanks to ashleyb
1423 - added tests and docs for this
1424 - added the 'documentation' attributes
1425 so that you can actually document your
1426 attributes and inspect them through the
1428 - added tests and docs for this
1430 * Moose::Meta::Class
1431 - when loading custom attribute metaclasses
1432 it will first look in for the class in the
1433 Moose::Meta::Attribute::Custom::$name, and
1434 then default to just loading $name.
1435 - added tests and docs for this
1437 * Moose::Meta::TypeConstraint
1438 - type constraints now stringify to their names.
1439 - added test for this
1442 - added tests to assure we work with Module::Refresh
1443 - added stricter test skip logic in the Moose POOP
1444 test, ask Rob Kinyon why.
1445 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1447 0.18 Sat. March 10, 2007
1448 ~~ Many, many documentation updates ~~
1451 - We now use Class::MOP::load_class to
1453 - added tests to show types and subtypes
1454 working with Declare::Constraints::Simple
1455 and Test::Deep as constraint engines.
1458 !! You must have Class::MOP 0.37_001 !!
1459 !! for this developer release to work !!
1461 This release was primarily adding the immutable
1462 feature to Moose. An immutable class is one which
1463 you promise not to alter. When you set the class
1464 as immutable it will perform various bits of
1465 memoization and inline certain part of the code
1466 (constructors, destructors and accessors). This
1467 minimizes (and in some cases totally eliminates)
1468 one of Moose's biggest performance hits. This
1469 feature is not on by default, and is 100% optional.
1470 It has several configurable bits as well, so you
1471 can pick and choose to your specific needs.
1473 The changes involved in this were fairly wide and
1474 highly specific, but 100% backwards compatible, so
1475 I am not going to enumerate them here. If you are
1476 truely interested in what was changed, please do
1479 0.17 Tues. Nov. 14, 2006
1480 * Moose::Meta::Method::Accessor
1481 - bugfix for read-only accessors which
1482 are have a type constraint and lazy.
1483 Thanks to chansen for finding it.
1485 0.16 Tues. Nov. 14, 2006
1487 There are some speed improvements in this release,
1488 but they are only the begining, so stay tuned.
1491 - BUILDALL and DEMOLISHALL no longer get
1492 called unless they actually need to be.
1493 This gave us a signifigant speed boost
1494 for the cases when there is no BUILD or
1495 DEMOLISH method present.
1497 * Moose::Util::TypeConstraints
1498 * Moose::Meta::TypeConstraint
1499 - added an 'optimize_as' option to the
1500 type constraint, which allows for a
1501 hand optimized version of the type
1502 constraint to be used when possible.
1503 - Any internally created type constraints
1504 now provide an optimized version as well.
1506 0.15 Sun. Nov. 5, 2006
1508 This version of Moose *must* have Class::MOP 0.36 in order
1509 to work correctly. A number of small internal tweaks have
1510 been made in order to be compatible with that release.
1512 * Moose::Util::TypeConstraints
1513 - added &unimport so that you can clean out
1514 your class namespace of these exported
1517 * Moose::Meta::Class
1518 - fixed minor issue which occasionally
1519 comes up during global destruction
1521 - moved Moose::Meta::Method::Overriden into
1525 - moved Moose::Meta::Role::Method into
1528 * Moose::Meta::Attribute
1529 - changed how we do type checks so that
1530 we reduce the overall cost, but still
1533 - moved accessor generation methods to
1534 Moose::Meta::Method::Accessor to
1535 conform to the API changes from
1538 * Moose::Meta::TypeConstraint
1539 - changed how constraints are compiled
1540 so that we do less recursion and more
1541 iteration. This makes the type check
1543 - moved Moose::Meta::TypeConstraint::Union
1546 * Moose::Meta::Method::Accessor
1547 - created this from methods formerly found in
1548 Moose::Meta::Attribute
1550 * Moose::Meta::Role::Method
1551 - moved this from Moose::Meta::Role
1553 * Moose::Meta::Method::Overriden
1554 - moved this from Moose::Meta::Class
1556 * Moose::Meta::TypeConstraint::Union
1557 - moved this from Moose::Meta::TypeConstraint
1559 0.14 Mon. Oct. 9, 2006
1561 * Moose::Meta::Attribute
1562 - fixed lazy attributes which were not getting
1563 checked with the type constraint (thanks ashley)
1564 - added tests for this
1565 - removed the over-enthusiastic DWIMery of the
1566 automatic ArrayRef and HashRef defaults, it
1567 broke predicates in an ugly way.
1568 - removed tests for this
1570 0.13 Sat. Sept. 30, 2006
1572 This version of Moose *must* have Class::MOP 0.35 in order
1573 to work correctly. A number of small internal tweaks have
1574 been made in order to be compatible with that release.
1577 - Removed the use of UNIVERSAL::require to be a better
1578 symbol table citizen and remove a dependency
1579 (thanks Adam Kennedy)
1581 **~~ removed experimental & undocumented feature ~~**
1582 - commented out the 'method' and 'self' keywords, see the
1583 comments for more info.
1586 - added a FAQ and WTF files to document frequently
1587 asked questions and common problems
1589 * Moose::Util::TypeConstraints
1590 - added GlobRef and FileHandle type constraint
1591 - added tests for this
1593 * Moose::Meta::Attribute
1594 - if your attribute 'isa' ArrayRef of HashRef, and you have
1595 not explicitly set a default, then make the default DWIM.
1596 This will also work for subtypes of ArrayRef and HashRef
1598 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1599 - new test added for this (thanks to ashley)
1602 - added basic support for runtime role composition
1603 but this is still *highly experimental*, so feedback
1604 is much appreciated :)
1605 - added tests for this
1607 * Moose::Meta::TypeConstraint
1608 - the type constraint now handles the coercion process
1609 through delegation, this is to support the coercion
1612 * Moose::Meta::TypeConstraint::Union
1613 - it is now possible for coercions to be performed
1615 - added tests for this (thanks to konobi)
1617 * Moose::Meta::TypeCoercion
1618 - properly capturing error when type constraint
1622 - Scalar::Util 1.18 is bad on Win32, so temporarily
1623 only require version 1.17 for Win32 and cygwin.
1624 (thanks Adam Kennedy)
1626 0.12 Sat. Sept. 1, 2006
1628 - Recipe5 (subtypes & coercion) has been written
1631 - fixed "bad meta" error message to be more descriptive
1632 - fixed &unimport to not remove the &inner and &super
1633 keywords because we need to localize them.
1634 - fixed number of spelling/grammer issues, thanks Theory :)
1636 **~~ experimental & undocumented feature ~~**
1637 - added the method and self keywords, they are basically
1638 just sugar, and they may not stay around.
1641 - added &dump method to easily Data::Dumper
1644 * Moose::Meta::TypeConstraint
1645 - added the &is_a_type_of method to check both the current
1646 and the subtype of a method (similar to &isa with classes)
1649 - this is now a subclass of Class::MOP::Module, and no longer
1650 creates the _role_meta ugliness of before.
1651 - fixed tests to reflect this change
1653 0.11 Wed. July 12, 2006
1655 - added an &unimport method to remove all the keywords
1656 that Moose will import, simply add 'no Moose' to the
1657 bottom of your class file.
1660 - fixed some test failures caused by a forgotten test
1663 0.10 Thurs. July 6, 2006
1665 - improved error message when loading modules so
1666 it is less confusing when you load a role.
1667 - added &calculate_all_roles method to
1668 Moose::Meta::Class and Moose::Meta::Role
1671 This module has been tested against Class::MOP 0.30
1672 but it does not yet utilize the optimizations
1673 it makes available. Stay tuned for that ;)
1675 0.09_03 Fri. June 23, 2006
1676 ++ DEVELOPER RELEASE ++
1678 - 'use strict' and 'use warnings' are no longer
1679 needed in Moose classes, Moose itself will
1680 turn them on for you.
1681 - added tests for this
1682 - moved code from exported subs to private methods
1683 in Moose::Meta::Class
1686 - as with Moose, strict and warnings are
1687 automatically turned on for you.
1688 - added tests for this
1691 - now handles an edge case for override errors
1692 - added tests for this
1693 - added some more edge case tests
1695 0.09_02 Tues. May 16, 2006
1696 ++ DEVELOPER RELEASE ++
1698 - added prototypes to the exported subs
1702 - added prototypes to the exported subs
1705 * Moose::Util::TypeConstraints
1706 - cleaned up prototypes for the subs
1709 0.09_01 Fri. May 12, 2006
1710 ++ DEVELOPER RELEASE ++
1711 - This release works in combination with
1712 Class::MOP 0.29_01, it is a developer
1713 release because it uses the a new
1714 instance sub-protocol and a fairly
1715 complete Role implementation. It has
1716 not yet been optimized, so it slower
1717 the the previous CPAN version. This
1718 release also lacks good updated docs,
1719 the official release will have updated docs.
1722 - refactored the keyword exports
1723 - 'with' now checks Role validaity and
1724 accepts more than one Role at a time
1725 - 'extends' makes metaclass adjustments as
1726 needed to ensure metaclass compatibility
1729 - refactored the keyword exports
1730 - 'with' now checks Role validaity and
1731 accepts more than one Role at a time
1733 * Moose::Util::TypeConstraints
1734 - added the 'enum' keyword for simple
1735 string enumerations which can be used as
1737 - see example of usage in t/202_example.t
1740 - more careful checking of params to new()
1743 - much work done on the role composition
1744 - many new tests for conflict detection
1745 and composition edge cases
1746 - not enough documentation, I suggest
1747 looking at the tests
1749 * Moose::Meta::Instance
1750 - added new Instance metaclass to support
1751 the new Class::MOP instance protocol
1753 * Moose::Meta::Class
1754 - some small changes to support the new
1756 - some small additions to support Roles
1758 * Moose::Meta::Attribute
1759 - some improvements to the accessor generation code
1761 - some small changes to support the new
1763 - (still somewhat) experimental delegation support
1764 with the 'handles' option
1765 - added several tests for this
1766 - no docs for this yet
1768 0.05 Thurs. April 27, 2006
1770 - keywords are now exported with Sub::Exporter
1771 thanks to chansen for this commit
1772 - has keyword now takes a 'metaclass' option
1773 to support custom attribute meta-classes
1774 on a per-attribute basis
1775 - added tests for this
1776 - the 'has' keyword not accepts inherited slot
1777 specifications (has '+foo'). This is still an
1778 experimental feature and probably not finished
1779 see t/038_attribute_inherited_slot_specs.t for
1780 more details, or ask about it on #moose
1781 - added tests for this
1784 - keywords are now exported with Sub::Exporter
1786 * Moose::Utils::TypeConstraints
1787 - reorganized the type constraint hierarchy, thanks
1788 to nothingmuch and chansen for his help and advice
1790 - added some tests for this
1791 - keywords are now exported with Sub::Exporter
1792 thanks to chansen for this commit
1794 * Moose::Meta::Class
1795 - due to changes in Class::MOP, we had to change
1796 construct_instance (for the better)
1798 * Moose::Meta::Attribute
1799 - due to changes in Class::MOP, we had to add the
1800 initialize_instance_slot method (it's a good thing)
1802 * Moose::Meta::TypeConstraint
1803 - added type constraint unions
1804 - added tests for this
1805 - added the is_subtype_of predicate method
1806 - added tests for this
1808 0.04 Sun. April 16th, 2006
1810 - Roles can now consume other roles
1811 - added tests for this
1812 - Roles can specify required methods now with
1813 the requires() keyword
1814 - added tests for this
1817 - ripped out much of it's guts ,.. much cleaner now
1818 - added required methods and correct handling of
1819 them in apply() for both classes and roles
1820 - added tests for this
1821 - no longer adds a does() method to consuming classes
1822 it relys on the one in Moose::Object
1823 - added roles attribute and some methods to support
1824 roles consuming roles
1826 * Moose::Meta::Attribute
1827 - added support for triggers on attributes
1828 - added tests for this
1829 - added support for does option on an attribute
1830 - added tests for this
1832 * Moose::Meta::Class
1833 - added support for attribute triggers in the
1835 - added tests for this
1838 - Moose no longer creates a subtype for your class
1839 if a subtype of the same name already exists, this
1840 should DWIM in 99.9999% of all cases
1842 * Moose::Util::TypeConstraints
1843 - fixed bug where incorrect subtype conflicts were
1845 - added test for this
1848 - this class can now be extended with 'use base' if
1849 you need it, it properly loads the metaclass class now
1850 - added test for this
1852 0.03_02 Wed. April 12, 2006
1854 - you must now explictly use Moose::Util::TypeConstraints
1855 it no longer gets exported for you automatically
1858 - new() now accepts hash-refs as well as key/value lists
1859 - added does() method to check for Roles
1860 - added tests for this
1862 * Moose::Meta::Class
1863 - added roles attribute along with the add_role() and
1865 - added tests for this
1868 - now adds a does() method to consuming classes
1869 which tests the class's hierarchy for roles
1870 - added tests for this
1872 0.03_01 Mon. April 10, 2006
1874 - added new Role recipe (no content yet, only code)
1877 - added 'with' keyword for Role support
1878 - added test and docs for this
1879 - fixed subtype quoting bug
1880 - added test for this
1884 - added test and docs
1886 * Moose::Util::TypeConstraints
1887 - added the message keyword to add custom
1888 error messages to type constraints
1891 - the meta role to support Moose::Role
1892 - added tests and docs
1894 * Moose::Meta::Class
1895 - moved a number of things from Moose.pm
1896 to here, they should have been here
1899 * Moose::Meta::Attribute
1900 - moved the attribute option macros here
1901 instead of putting them in Moose.pm
1903 * Moose::Meta::TypeConstraint
1904 - added the message attributes and the
1906 - added tests and docs for this
1908 0.03 Thurs. March 30, 2006
1910 - added the Moose::Cookbook with 5 recipes,
1911 describing all the stuff Moose can do.
1914 - fixed an issue with &extends super class loading
1915 it now captures errors and deals with inline
1916 packages correctly (bug found by mst, solution
1918 - added super/override & inner/augment features
1919 - added tests and docs for these
1922 - BUILDALL now takes a reference of the %params
1923 that are passed to &new, and passes that to
1926 * Moose::Util::TypeConstraints
1927 - Type constraints now survive runtime reloading
1928 - added test for this
1930 * Moose::Meta::Class
1931 - fixed the way attribute defaults are handled
1932 during instance construction (bug found by chansen)
1934 * Moose::Meta::Attribute
1935 - read-only attributes now actually enforce their
1936 read-only-ness (this corrected in Class::MOP as
1939 0.02 Tues. March 21, 2006
1941 - many more tests, fixing some bugs and
1943 - &extends now loads the base module with
1945 - added UNIVERSAL::require to the
1948 - each new Moose class will also create
1949 and register a subtype of Object which
1950 correspond to the new Moose class.
1951 - the 'isa' option in &has now only
1952 accepts strings, and will DWIM in
1955 * Moose::Util::TypeConstraints
1956 - added type coercion features
1957 - added tests for this
1958 - added support for this in attributes
1959 and instance construction
1961 - type construction no longer creates a
1962 function, it registers the type instead.
1963 - added several functions to get the
1967 - BUILDALL and DEMOLISHALL were broken
1968 because of a mis-named hash key, Whoops :)
1970 * Moose::Meta::Attribute
1971 - adding support for coercion in the
1972 autogenerated accessors
1974 * Moose::Meta::Class
1975 - adding support for coercion in the
1976 instance construction
1978 * Moose::Meta::TypeConstraint
1979 * Moose::Meta::TypeCoercion
1980 - type constraints and coercions are now
1981 full fledges meta-objects
1983 0.01 Wed. March 15, 2006
1984 - Moooooooooooooooooose!!!