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)
12 * Moose::Meta::Role::Application::RoleSummation
13 - fixed the error message when trying to compose
14 a role with a role it excludes (Sartak)
17 - Catch another case where recursion caused the value
18 of $CALLER to be stamped on (t0m)
19 - added test for this (t0m)
22 - Remove the make_immutable keyword, which has been
23 deprecated since April. It breaks metaclasses that
24 use Moose without no Moose (Sartak)
26 * Moose::Meta::Attribute
27 - Removing an attribute from a class now also removes delegation
28 (handles) methods installed for that attribute (t0m)
29 - added test for this (t0m)
32 - create method for constructing a role
34 - added test for this (Sartak)
35 - anonymous roles! (Sartak)
36 - added test for this (Sartak)
39 - more consistent error messages (Sartak)
41 * Moose::Cookbook::Roles::Recipe1
42 - attempt to explain why a role that just requires
43 methods is useful (Sartak)
45 0.61 Fri November 7, 2008
46 * Moose::Meta::Attribute
47 - When passing a role to handles, it will be loaded if necessary
51 - Method objects returned by get_method (and other methods)
52 Could end up being returned without an associated_metaclass
53 attribute. Removing get_method_map, which is provided by
54 Class::MOP::Class, fixed this. The Moose version did nothing
55 different from its parent except introduce a bug. (Dave Rolsky)
56 - added tests for this (jdv79)
59 - Added a $VERSION to all .pm files which didn't have one. Fixes
60 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
62 * Moose::Cookbook::Basics::Recipe4
63 * Moose::Cookbook::Basics::Recipe6
64 - These files had spaces on the first line of the SYNOPSIS, as
65 opposed to a totally empty line. According to RT #40432, this
66 confuses POD parsers. (Dave Rolsky)
68 0.60 Fri October 24, 2008
70 - Passing "-traits" when loading Moose caused the Moose.pm
71 exports to be broken. Reported by t0m. (Dave Rolsky)
72 - Tests for this bug. (t0m)
75 - Change resolve_metaclass alias to use the new
76 load_first_existing_class function. This makes it a lot
77 simpler, and also around 5 times faster. (t0m)
78 - Add caching to resolve_metaclass_alias, which gives an order
79 of magnitude speedup to things which repeatedly call the
80 Moose::Meta::Attribute->does method, notably MooseX::Storage
83 * Moose::Util::TypeConstraint
84 - Put back the changes for parameterized constraints that
85 shouldn't have been removed in 0.59. We still cannot parse
86 them, but MooseX modules can create them in some other
87 way. See the 0.58 changes for more details. (jnapiorkowski)
88 - Changed the way subtypes are created so that the job is
89 delegated to a type constraint parent. This clears up some
90 hardcoded checking and should allow correct subtypes of
91 Moose::Meta::Type::Constraint. Don't rely on this new API too
92 much (create_child_type) because it may go away in the
93 future. (jnapiorkowski)
95 * Moose::Meta::TypeConstraint::Union
96 - Type constraint names are sorted as strings, not numbers.
99 * Moose::Meta::TypeConstraint::Parameterizable
100 - New parameterize method. This can be used as a factory method
101 to make a new type constraint with a given parameterized
102 type. (jnapiorkowski)
103 - added tests (jnapiorkowski)
105 0.59 Tue October 14, 2008
107 - Add abridged documentation for builder/default/initializer/
108 predicate, and link to more details sections in
109 Class::MOP::Attribute. (t0m)
111 * Moose::Util::TypeConstraints
112 - removed prototypes from all but the &-based stuff (mst)
114 * Moose::Util::TypeConstraints
115 - Creating a anonymous subtype with both a constraint and a
116 message failed with a very unhelpful error, but should just
117 work. Reported by t0m. (Dave Rolsky)
120 - Some tests that used Test::Warn if it was available failed
121 with older versions of Test::Warn. Reported by Fayland. (Dave
123 - Test firing behavior of triggers in relation to builder/default/
125 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
126 kinds of supported type. (t0m)
129 - In create(), do not pass "roles" option to the superclass
130 - added related test that creates an anon metaclass with
133 * Moose::Meta::TypeConstraint::Class
134 * Moose::Meta::TypeConstraint::Role
135 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
136 other types (as per change in 0.55_02). (t0m)
138 * Moose::Meta::TypeConstraint::Registry
139 - Fix warning when dealing with unknown type names (t0m)
141 * Moose::Util::TypeConstraints
142 - Reverted changes from 0.58 related to handle parameterized
143 types. This caused random failures on BSD and Win32 systems,
144 apparently related to the regex engine. This means that Moose
145 can no longer parse structured type constraints like
146 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
147 supported in a slightly different way via MooseX::Types some
148 time in the future. (Dave Rolsky)
150 0.58 Sat September 20, 2008
151 !! This release has an incompatible change regarding !!
152 !! how roles add methods to a class !!
154 * Roles and role application
155 ! Roles now add methods by calling add_method, not
156 alias_method. They make sure to always provide a method
157 object, which will be cloned internally. This means that it is
158 now possible to track the source of a method provided by a
159 role, and even follow its history through intermediate roles.
161 This means that methods added by a role now show up when
162 looking at a class's method list/map. (Dave Rolsky)
165 - From this release on, we'll try to maintain a list of
166 conflicting modules, and warn you if you have one
167 installed. For example, this release conflicts with ...
168 - MooseX::Singleton <= 0.11
169 - MooseX::Params::Validate <= 0.05
172 In general, we try to not break backwards compatibility for
173 most Moose users, but MooseX modules and other code which
174 extends Moose's metaclasses is often affected by very small
175 changes in the Moose internals.
177 * Moose::Meta::Method::Delegation
178 * Moose::Meta::Attribute
179 - Delegation methods now have their own method class. (Dave
182 * Moose::Meta::TypeConstraint::Parameterizable
183 - Added a new method 'parameterize' which is basically a factory
184 for the containing constraint. This makes it easier to create
185 new types of parameterized constraints. (jnapiorkowski)
187 * Moose::Meta::TypeConstraint::Union
188 - Changed the way Union types canonicalize their names to follow
189 the normalized TC naming rules, which means we strip all
190 whitespace. (jnapiorkowski)
192 * Moose::Util::TypeConstraints
193 - Parameter and Union args are now sorted, this makes Int|Str
194 the same constraint as Str|Int. (jnapiorkowski)
195 - Changes to the way Union types are parsed to more correctly
196 stringify their names. (jnapiorkowski)
197 - When creating a parameterized type, we now use the new
198 parameterize method. (jnapiorkowski)
199 - Incoming type constraint strings are now normalized to remove
200 all whitespace differences. (jnapiorkowski)
201 - Changed the way we parse type constraint strings so that we now
202 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
203 constraints. This lays the foundation for more flexible type
204 constraint implementations.
206 * Tests and docs for all the above. (jnapiorkowski)
210 - Moose::Exporter will no longer remove a subroutine that the
211 exporting package re-exports. Moose re-exports the
212 Carp::confess function, among others. The reasoning is that we
213 cannot know whether you have also explicitly imported those
214 functions for your own use, so we err on the safe side and
215 always keep them. (Dave Rolsky)
216 - added tests for this (rafl)
219 - Changes to how we fix metaclass compatibility that are much
220 too complicated to go into. The summary is that Moose is much
221 less likely to complain about metaclass incompatibility
222 now. In particular, if two metaclasses differ because
223 Moose::Util::MetaRole was used on the two corresponding
224 classes, then the difference in roles is reconciled for the
225 subclass's metaclass. (Dave Rolsky)
226 - Squashed an warning in _process_attribute (thepler)
229 - throw exceptions (sooner) for invalid attribute names (thepler)
230 - added tests for this (thepler)
232 * Moose::Util::MetaRole
233 - If you explicitly set a constructor or destructor class for a
234 metaclass object, and then applied roles to the metaclass,
235 that explicitly set class would be lost and replaced with the
239 * Moose::Meta::Attribute
240 * Moose::Meta::Method
243 * Moose::Error::Default
244 * Moose::Error::Croak
245 * Moose::Error::Confess
246 - All instances of confess() changed to use overridable
247 C<throw_error> method. This method ultimately calls a class
248 constructor, and you can change the class being called. In
249 addition, errors now pass more information than just a string.
250 The default C<error_class> behaves like C<Carp::confess>, so
251 the behavior is not visibly different for end users.
253 0.57 Wed September 3, 2008
255 - A new bit of doc intended to introduce folks familiar with
256 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
259 - Shows examples of two classes, each done first with and then
260 without Moose. This makes a nice parallel to
261 Moose::Intro. (Dave Rolsky)
263 * Moose::Util::TypeConstraints
264 - Fixed a bug in find_or_parse_type_constraint so that it
265 accepts a Moose::Meta::TypeConstraint object as the parent
266 type, not just a name (jnapiorkowski)
267 - added tests (jnapiorkowski)
270 - If Sub::Name was not present, unimporting failed to actually
271 remove some sugar subs, causing test failures (Dave Rolsky)
273 0.56 Mon September 1, 2008
274 For those not following the series of dev releases, there are
275 several major changes in this release of Moose.
276 ! Moose::init_meta should now be called as a method. See the
279 - Major performance improvements by nothingmuch.
281 - New modules for extension writers, Moose::Exporter and
282 Moose::Util::MetaRole by Dave Rolsky.
284 - Lots of doc improvements and additions, especially in the
289 * Removed all references to the experimental-but-no-longer-needed
290 Moose::Meta::Role::Application::ToMetaclassInstance.
292 * Require Class::MOP 0.65.
294 0.55_04 Sat August 30, 2008
295 * Moose::Util::MetaRole
296 * Moose::Cookbook::Extending::Recipe2
297 - This simplifies the application of roles to any meta class, as
298 well as the base object class. Reimplemented metaclass traits
299 using this module. (Dave Rolsky)
301 * Moose::Cookbook::Extending::Recipe1
302 - This a new recipe, an overview of various ways to write Moose
303 extensions (Dave Rolsky)
305 * Moose::Cookbook::Extending::Recipe3
306 * Moose::Cookbook::Extending::Recipe4
307 - These used to be Extending::Recipe1 and Extending::Recipe2,
310 0.55_03 Fri August 29, 2008
311 * No changes from 0.55_02 except increasing the Class::MOP
312 dependency to 0.64_07.
314 0.55_02 Fri August 29, 2008
315 * Makefile.PL and Moose.pm
316 - explicitly require Perl 5.8.0+ (Dave Rolsky)
318 * Moose::Util::TypeConstraints
319 - Fix warnings from find_type_constraint if the type is not
322 * Moose::Meta::TypeConstraint
323 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
324 return false if the type you specify cannot be found in the
325 type registry, rather than throwing an unhelpful and
326 coincidental exception. (t0m).
327 - added docs & test for this (t0m)
329 * Moose::Meta::TypeConstraint::Registry
330 - add_type_constraint now throws an exception if a parameter is
332 - added docs & test for this (t0m)
334 * Moose::Cookbook::FAQ
335 - Added a faq entry on the difference between "role" and "trait"
339 - Fixed a bug that caused role composition to not see a required
340 method when that method was provided by another role being
341 composed at the same time. (Dave Rolsky)
342 - test and bug finding (tokuhirom)
344 0.55_01 Wed August 20, 2008
346 !! Calling Moose::init_meta as a function is now !!
347 !! deprecated. Please see the Moose.pm docs for details. !!
349 * Moose::Meta::Method::Constructor
350 - Fix inlined constructor so that values produced by default
351 or builder methods are coerced as required. (t0m)
352 - added test for this (t0m)
354 * Moose::Meta::Attribute
355 - A lazy attribute with a default or builder did not attempt to
356 coerce the default value. The immutable code _did_
358 - added test for this (t0m)
361 - This is a new helper module for writing "Moose-alike"
362 modules. This should make the lives of MooseX module authors
363 much easier. (Dave Rolsky)
366 * Moose::Cookbook::Meta::Recipe5
367 - Implemented metaclass traits (and wrote a recipe for it):
369 use Moose -traits => 'Foo'
371 This should make writing small Moose extensions a little
374 * Moose::Cookbook::Basics::Recipe1
375 - Removed any examples of direct hashref access, and applied an
376 editorial axe to reduce verbosity. (Dave Rolsky)
378 * Moose::Cookbook::Basics::Recipe1
379 - Also applied an editorial axe here. (Dave Rolsky)
382 * Moose::Cookbook::Extending::Recipe1
383 * Moose::Cookbook::Extending::Recipe2
384 - Rewrote extending and embedding moose documentation and
385 recipes to use Moose::Exporter (Dave Rolsky)
389 - These two modules now warn when you load them from the main
390 package "main" package, because we will not export sugar to
391 main. Previously it just did nothing. (Dave Rolsky)
394 - Now provide an init_meta method just like Moose.pm, and you
395 can call this to provide an alternate role metaclass. (Dave
396 Rolsky and nothingmuch)
397 - get_method_map now respects the package cache flag (nothingmuch)
400 - Two new methods - add_method and wrap_method_body
404 - Optimizations including allowing constructors to accept hash
405 refs, making many more classes immutable, and making
406 constructors immutable. (nothingmuch)
408 0.55 Sun August 3, 2008
409 * Moose::Meta::Attribute
410 - breaking down the way 'handles' methods are
411 created so that the process can be more easily
412 overridden by subclasses (stevan)
414 * Moose::Meta::TypeConstraint
415 - fixing what is passed into a ->message with
416 the type constraints (RT #37569)
417 - added tests for this (Charles Alderman)
419 * Moose::Util::TypeConstraints
420 - fix coerce to accept anon types like subtype can (mst)
423 - reorganized the recipes into sections - Basics, Roles, Meta,
424 Extending - and wrote abstracts for each section (Dave Rolsky)
426 * Moose::Cookbook::Basics::Recipe10
427 - A new recipe that demonstrates operator overloading
428 in combination with Moose. (bluefeet)
430 * Moose::Cookbook::Meta::Recipe1
431 - an introduction to what meta is and why you'd want to make
432 your own metaclass extensions (Dave Rolsky)
434 * Moose::Cookbook::Meta::Recipe4
435 - a very simple metaclass example (Dave Rolsky)
437 * Moose::Cookbook::Extending::Recipe1
438 - how to write a Moose-alike module to use your own object base
441 * Moose::Cookbook::Extending::Recipe2
442 - how to write modules with an API just like C<Moose.pm> (Dave
446 - Tons of fixes, both syntactical and grammatical (Dave
447 Rolsky, Paul Fenwick)
449 0.54 Thurs. July 3, 2008
450 ... this is not my day today ...
452 * Moose::Meta::Attribute
453 - fixed legal_options_for_inheritance such that
454 clone_and_inherit options still works for
455 Class::MOP::Attribute objects and therefore
456 does not break MooseX::AttributeHelpers
459 0.53 Thurs. July 3, 2008
460 * Whoops, I guess I should run 'make manifest' before
461 actually releasing the module. No actual changes
462 in this release, except the fact that it includes
463 the changes that I didn't include in the last
466 0.52 Thurs. July 3, 2008
468 - added "FEATURE REQUESTS" section to the Moose docs
469 to properly direct people (stevan) (RT #34333)
470 - making 'extends' croak if it is passed a Role since
471 this is not ever something you want to do
472 (fixed by stevan, found by obra)
473 - added tests for this (stevan)
476 - adding support for DOES (as in UNIVERSAL::DOES)
478 - added test for this
480 * Moose::Meta::Attribute
481 - added legal_options_for_inheritance (wreis)
482 - added tests for this (wreis)
484 * Moose::Cookbook::Snacks::*
485 - removed some of the unfinished snacks that should
486 not have been released yet. Added some more examples
487 to the 'Keywords' snack. (stevan)
489 * Moose::Cookbook::Style
490 - added general Moose "style guide" of sorts to the
491 cookbook (nothingmuch) (RT #34335)
494 - added more BUILDARGS tests (stevan)
496 0.51 Thurs. Jun 26, 2008
498 - add unimport so "no Moose::Role" actually does
501 * Moose::Meta::Role::Application::ToRole
502 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
503 order to provide its own implementation, that method still got
504 added to the list of required methods for consumers of
505 RoleB. Now an aliased method is only added to the list of
506 required methods if the role doing the aliasing does not
507 provide its own implementation. See Recipe 11 for an example
508 of all this. (Dave Rolsky)
509 - added tests for this
511 * Moose::Meta::Method::Constructor
512 - when a single argument that wasn't a hashref was provided to
513 an immutabilized constructor, the error message was very
514 unhelpful, as opposed to the non-immutable error. Reported by
516 - added test for this (Dave Rolsky)
518 * Moose::Meta::Attribute
519 - added support for meta_attr->does("ShortAlias") (sartak)
520 - added tests for this (sartak)
521 - moved the bulk of the `handles` handling to the new
522 install_delegation method (Stevan)
525 - Added BUILDARGS, a new step in new()
527 * Moose::Meta::Role::Application::RoleSummation
528 - fix typos no one ever sees (sartak)
530 * Moose::Util::TypeConstraints
531 * Moose::Meta::TypeConstraint
532 * Moose::Meta::TypeCoercion
533 - Attempt to work around the ??{ } vs. threads issue
535 - Some null_constraint optimizations
537 0.50 Thurs. Jun 11, 2008
538 - Fixed a version number issue by bumping all modules
541 0.49 Thurs. Jun 11, 2008
542 !! This version now approx. 20-25% !!
543 !! faster with new Class::MOP 0.59 !!
545 * Moose::Meta::Attribute
546 - fixed how the is => (ro|rw) works with
547 custom defined reader, writer and accessor
549 - added docs for this (TODO).
550 - added tests for this (Thanks to Penfold)
551 - added the custom attribute alias for regular
552 Moose attributes which is "Moose"
553 - fix builder and default both being used
558 Moose::Meta::Attribute
560 Moose::Meta::Role::Composite
561 Moose::Util::TypeConstraints
562 - switched usage of reftype to ref because
566 - changing add_package_symbol to use the new
570 - fixed how DEMOLISHALL is called so that it
571 can be overrided in subclasses (thanks to Sartak)
572 - added test for this (thanks to Sartak)
574 * Moose::Util::TypeConstraints
575 - move the ClassName type check code to
576 Class::MOP::is_class_loaded (thanks to Sartak)
578 * Moose::Cookbook::Recipe11
579 - add tests for this (thanks to tokuhirom)
581 0.48 Thurs. May 29, 2008
582 (early morning release engineering)--
584 - fixing the version in Moose::Meta::Method::Destructor
585 which was causing the indexer to choke
587 0.47 Thurs. May 29, 2008
588 (late night release engineering)--
590 - fixing the version is META.yml, no functional
591 changes in this release
593 0.46 Wed. May 28, 2008
594 !! This version now approx. 20-25% !!
595 !! faster with new Class::MOP 0.57 !!
598 - some optimizations of the &initialize method
599 since it is called so often by &meta
603 - now use the get_all_package_symbols from the
604 updated Class::MOP, test suite is now 10 seconds
607 * Moose::Meta::Method::Destructor
608 - is_needed can now also be called as a class
609 method for immutablization to check if the
610 destructor object even needs to be created
613 * Moose::Meta::Method::Destructor
614 Moose::Meta::Method::Constructor
615 - added more descriptive error message to help
616 keep people from wasting time tracking an error
617 that is easily fixed by upgrading.
619 0.45 Saturday, May 24, 2008
621 - Because of work in Class::MOP 0.57, all
622 XS based functionality is now optional
623 and a Pure Perl version is supplied
624 - the CLASS_MOP_NO_XS environment variable
625 can now be used to force non-XS versions
627 - several of the packages have been tweaked
628 to take care of this, mostly we added
629 support for the package_name and name
630 variables in all the Method metaclasses
631 - before/around/after method modifiers now
632 support regexp matching of names
633 (thanks to Takatoshi Kitano)
634 - tests added for this
635 - NOTE: this only works for classes, it
636 is currently not supported in roles,
637 but, ... patches welcome
638 - All usage of Carp::confess have been replaced
639 by Carp::croak in the "keyword" functions since
640 the stack trace is usually not helpful
643 - All usage of Carp::confess have been replaced
644 by Carp::croak in the "keyword" functions since
645 the stack trace is usually not helpful
646 - The 'has' keyword for roles now accepts the
647 same array ref form that Moose.pm does
648 (has [qw/foo bar/] => (is => 'rw', ...))
649 - added test for this
651 * Moose::Meta::Attribute
652 - trigger on a ro-attribute is no longer an
653 error, as it's useful to trigger off of the
657 - added same 'add_package_symbol' fix as in
661 - does_role now handles non-Moose classes
663 - added tests for this
664 - added the 'add_method_modifier' function
665 (thanks to Takatoshi Kitano)
667 * Moose::Util::TypeConstraints
668 - subtypes of parameterizable types now are
669 themselves parameterizable types
671 * Moose::Meta::Method::Constructor
672 - fixed bug where trigger was not being
673 called by the inlined immutable
675 - added test for this (thanks to Caelum)
677 * Moose::Meta::Role::Application::ToInstance
678 - now uses the metaclass of the instance
679 (if possible) to create the anon-class
680 (thanks Jonathan Rockway)
682 * Moose::Cookbook::Recipe22
683 - added the meta-attribute trait recipe
687 - fixed hash-ordering test bug that was
688 causing occasional cpantester failures
689 - renamed the t/000_recipe/*.t tests to be
690 more descriptive (thanks to Sartak)
692 0.44 Sat. May 10, 2008
694 - made make_immutable warning cluck to
695 show where the error is (thanks mst)
698 - BUILDALL and DEMOLISHALL now call
699 ->body when looping through the
700 methods, to avoid the overloaded
702 - fixed issue where DEMOLISHALL was
703 eating the $@ values, and so not
704 working correctly, it still kind of
705 eats them, but so does vanilla perl
706 - added tests for this
708 * Moose::Cookbook::Recipe7
709 - added new recipe for immutable
710 functionality (thanks Dave Rolsky)
712 * Moose::Cookbook::Recipe9
713 - added new recipe for builder and
714 lazy_build (thanks Dave Rolsky)
716 * Moose::Cookbook::Recipe11
717 - added new recipe for method aliasing
718 and exclusion with Roles (thanks Dave Rolsky)
721 - fixed Win32 test failure (thanks spicyjack)
723 ~ removed Build.PL and Module::Build compat
724 since Module::Install has done that.
726 0.43 Wed. April, 30, 2008
728 drink more coffee before
729 doing release engineering
731 - whoops, forgot to do the smolder tests,
732 and we broke some of the custom meta-attr
733 modules. This fixes that.
735 0.42 Mon. April 28, 2008
736 - some bad tests slipped by, nothing else
737 changed in this release (cpantesters++)
739 - upped the Class::MOP dependency to 0.55
740 since we have tests which need the C3
743 0.41 Mon. April 28, 2008
744 ~~ numerous documentation updates ~~
746 - Changed all usage of die to Carp::croak for better
747 error reporting (initial patch by Tod Hagan)
750 - the make_immutable keyword is now deprecated, don't
751 use it in any new code and please fix your old code
752 as well. There will be 2 releases, and then it will
758 - refactored the way inner and super work to avoid
759 any method/@ISA cache penalty (nothingmuch)
762 - fixing &new_object to make sure trigger gets the
763 coerced value (spotted by Charles Alderman on the
765 - added test for this
767 * Moose::Meta::Method::Constructor
768 - immutable classes which had non-lazy attributes were calling
769 the default generating sub twice in the constructor. (bug
770 found by Jesse Luehrs, fixed by Dave Rolsky)
771 - added tests for this (Dave Rolsky)
772 - fix typo in initialize_body method (nothingmuch)
774 * Moose::Meta::Method::Destructor
775 - fix typo in initialize_body method (nothingmuch)
777 * Moose::Meta::Method::Overriden
778 Moose::Meta::Method::Augmented
779 - moved the logic for these into their own
780 classes (nothingmuch)
782 * Moose::Meta::Attribute
783 - inherited attributes may now be extended without
784 restriction on the type ('isa', 'does') (Sartak)
785 - added tests for this (Sartak)
786 - when an attribute property is malformed (such as lazy without
787 a default), give the name of the attribute in the error
789 - added the &applied_traits and &has_applied_traits methods
790 to allow introspection of traits
791 - added tests for this
792 - moved 'trait' and 'metaclass' argument handling to here from
794 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
795 '+foo' syntax) (nothingmuch)
796 - added tests for this (t0m)
799 - localize $@ inside DEMOLISHALL to avoid it
800 eating $@ (found by Ernesto)
801 - added test for this (thanks to Ernesto)
803 * Moose::Util::TypeConstraints
804 - &find_type_constraint now DWIMs when given an
805 type constraint object or name (nothingmuch)
806 - &find_or_create_type_constraint superseded with a number of more
808 - find_or_create_{isa,does}_type_constraint
809 - find_or_parse_type_constraint
811 * Moose::Meta::TypeConstraint
812 Moose::Meta::TypeConstraint::Class
813 Moose::Meta::TypeConstraint::Role
814 Moose::Meta::TypeConstraint::Enum
815 Moose::Meta::TypeConstraint::Union
816 Moose::Meta::TypeConstraint::Parameterized
817 - added the &equals method for comparing two type
818 constraints (nothingmuch)
819 - added tests for this (nothingmuch)
821 * Moose::Meta::TypeConstraint
822 - add the &parents method, which is just an alias to &parent.
823 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
825 * Moose::Meta::TypeConstraint::Class
826 - added the class attribute for introspection purposes
828 - added tests for this
830 * Moose::Meta::TypeConstraint::Enum
831 Moose::Meta::TypeConstraint::Role
832 - broke these out into their own classes (nothingmuch)
834 * Moose::Cookbook::Recipe*
835 - fixed references to test file locations in the POD
836 and updated up some text for new Moose features
840 - Added &resolve_metaclass_alias, a helper function for finding an actual
841 class for a short name (e.g. in the traits list)
843 0.40 Fri. March 14, 2008
844 - I hate Pod::Coverage
846 0.39 Fri. March 14, 2008
848 - documenting the use of '+name' with attributes
849 that come from recently composed roles. It makes
850 sense, people are using it, and so why not just
851 officially support it.
852 - fixing the 'extends' keyword so that it will not
853 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
856 - added the perl -Moose=+Class::Name feature to allow
857 monkeypatching of classes in one liners
860 - fixing the 'apply_all_roles' keyword so that it will not
861 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
864 - added ->create method which now supports roles (thanks to jrockway)
865 - added tests for this
866 - added ->create_anon_class which now supports roles and caching of
867 the results (thanks to jrockway)
868 - added tests for this
869 - made ->does_role a little more forgiving when it is
870 checking a Class::MOP era metaclasses.
872 * Moose::Meta::Role::Application::ToInstance
873 - it is now possible to pass extra params to be used when
874 a role is applied to an the instance (rebless_params)
875 - added tests for this
877 * Moose::Util::TypeConstraints
878 - class_type now accepts an optional second argument for a
879 custom message. POD anotated accordingly (groditi)
880 - added tests for this
881 - it is now possible to make anon-enums by passing 'enum' an
882 ARRAY ref instead of the $name => @values. Everything else
884 - added tests for this
887 - making test for using '+name' on attributes consumed
888 from a role, it works and makes sense too.
890 * Moose::Meta::Attribute
891 - fix handles so that it doesn't return nothing
892 when the method cannot be found, not sure why
893 it ever did this originally, this means we now
894 have slightly better support for AUTOLOADed
896 - added more delegation tests
897 - adding ->does method to this so as to better
898 support traits and their introspection.
899 - added tests for this
902 - localizing the Data::Dumper configurations so
903 that it does not pollute others (RT #33509)
904 - made ->does a little more forgiving when it is
905 passed Class::MOP era metaclasses.
907 0.38 Fri. Feb. 15, 2008
908 * Moose::Meta::Attribute
909 - fixed initializer to correctly do
910 type checking and coercion in the
912 - added tests for this
915 - fixed some finicky tests (thanks to konobi)
917 0.37 Thurs. Feb. 14, 2008
919 - fixed some details in Moose::init_meta
920 and its superclass handling (thanks thepler)
921 - added tests for this (thanks thepler)
922 - 'has' now dies if you don't pass in name
924 - added the 'make_immutable' keyword as a shortcut
928 Moose::Meta::Method::Constructor
929 Moose::Meta::Attribute
930 - making (init_arg => undef) work here too
931 (thanks to nothingmuch)
933 * Moose::Meta::Attribute
934 Moose::Meta::Method::Constructor
935 Moose::Meta::Method::Accessor
936 - make lazy attributes respect attr initializers (rjbs)
937 - added tests for this
939 * Moose::Util::TypeConstraints
940 Moose::Util::TypeConstraints::OptimizedConstraints
941 Moose::Meta::TypeConstraints
942 Moose::Meta::Attribute
943 Moose::Meta::Method::Constructor
944 Moose::Meta::Method::Accessor
945 - making type errors use the
946 assigned message (thanks to Sartak)
947 - added tests for this
949 * Moose::Meta::Method::Destructor
950 - making sure DESTROY gets inlined properly
951 with successive DEMOLISH calls (thanks to manito)
953 * Moose::Meta::Attribute
954 Moose::Meta::Method::Accessor
955 - fixed handling of undef with type constraints
957 - added tests for this
960 - added &get_all_init_args and &get_all_attribute_values
961 (thanks to Sartak and nothingmuch)
963 0.36 Sat. Jan. 26, 2008
965 Moose::Meta::Attribute
966 - role type tests now support when roles are
967 applied to non-Moose classes (found by ash)
968 - added tests for this (thanks to ash)
969 - couple extra tests to boost code coverage
971 * Moose::Meta::Method::Constructor
972 - improved fix for handling Class::MOP attributes
973 - added test for this
976 - handled the add_attribute($attribute_meta_object)
978 - added test for this
980 0.35 Tues. Jan. 22, 2008
981 * Moose::Meta::Method::Constructor
982 - fix to make sure even Class::MOP attributes
983 are handled correctly (Thanks to Dave Rolsky)
984 - added test for this (also Dave Rolsky)
987 - improved error message on _apply_all_roles,
988 you should now use Moose::Util::apply_all_roles
989 and you shouldnt have been using a _ prefixed
990 method in the first place ;)
992 0.34 Mon. Jan. 21, 2008
993 ~~~ more misc. doc. fixes ~~~
994 ~~ updated copyright dates ~~
996 Moose is now a postmodern object system :)
997 - (see the POD for details)
999 * <<Role System Refactoring>>
1000 - this release contains a major reworking and
1001 cleanup of the role system
1002 - 100% backwards compat.
1003 - Role application now restructured into seperate
1004 classes based on type of applicants
1005 - Role summation (combining of more than one role)
1006 is much cleaner and anon-classes are no longer
1007 used in this process
1008 - new Composite role metaclass
1009 - runtime application of roles to instances
1010 is now more efficient and re-uses generated
1011 classes when applicable
1013 * <<New Role composition features>>
1014 - methods can now be excluded from a given role
1016 - methods can now be aliased to another name (and
1017 still retain the original as well)
1019 * Moose::Util::TypeConstraints::OptimizedConstraints
1020 - added this module (see above)
1022 * Moose::Meta::Class
1023 - fixed the &_process_attribute method to be called
1024 by &add_attribute, so that the API is now correct
1026 * Moose::Meta::Method::Accessor
1027 - fixed bug when passing a list of values to
1028 an accessor would get (incorrectly) ignored.
1029 Thanks to Sartak for finding this ;)
1030 - added tests for this (Sartak again)
1032 * Moose::Meta::Method::Accessor
1033 Moose::Meta::Method::Constructor
1034 Moose::Meta::Attribute
1035 Moose::Meta::TypeConstraint
1036 Moose::Meta::TypeCoercion
1037 - lots of cleanup of such things as:
1039 - type constraint handling
1040 - error handling/messages
1041 (thanks to nothingmuch)
1043 * Moose::Meta::TypeConstraint::Parameterizable
1044 - added this module to support the refactor
1045 in Moose::Meta::TypeConstraint::Parameterized
1047 * Moose::Meta::TypeConstraint::Parameterized
1048 - refactored how these types are handled so they
1049 are more generic and not confined to ArrayRef
1053 - shortened some file names for better VMS support (RT #32381)
1055 0.33 Fri. Dec. 14, 2007
1056 !! Moose now loads 2 x faster !!
1057 !! with new Class::MOP 0.49 !!
1059 ++ new oose.pm module to make command line
1060 Moose-ness easier (see POD docs for more)
1062 * Moose::Meta::Class
1064 - several tweaks to take advantage of the
1065 new method map caching in Class::MOP
1067 * Moose::Meta::TypeConstraint::Parameterized
1068 - allow subtypes of ArrayRef and HashRef to
1069 be used as a container (sartak)
1070 - added tests for this
1071 - basic support for coercion to ArrayRef and
1072 HashRef for containers (sartak)
1073 - added tests for this
1075 * Moose::Meta::TypeCoercion
1076 - coercions will now create subtypes as needed
1077 so you can now add coercions to parameterized
1078 types without having to explictly define them
1079 - added tests for this
1081 * Moose::Meta::Method::Accessor
1082 - allow subclasses to decide whether we need
1083 to copy the value into a new variable (sartak)
1085 0.32 Tues. Dec. 4, 2007
1086 * Moose::Util::TypeConstraints
1087 - fixing how subtype aliases of unions work
1088 they should inherit the parent's coercion
1089 - added tests for this
1090 - you can now define multiple coercions on
1091 a single type at different times instead of
1092 having to do it all in one place
1093 - added tests for this
1095 * Moose::Meta::TypeConstraint
1096 - there is now a default constraint of sub { 1 }
1097 instead of Moose::Util::TypeConstraints setting
1100 * Moose::Meta::TypeCoercion
1101 * Moose::Meta::TypeCoercion::Union
1102 - added the &has_coercion_for_type and
1103 &add_type_coercions methods to support the
1104 new features above (although you cannot add
1105 more type coercions for Union types)
1107 0.31 Mon. Nov. 26, 2007
1108 * Moose::Meta::Attribute
1109 - made the +attr syntax handle extending types with
1110 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1111 now works if the original foo is an ArrayRef.
1112 - added tests for this.
1113 - delegation now works even if the attribute does not
1114 have a reader method using the get_read_method_ref
1115 method from Class::MOP::Attribute.
1116 - added tests for this
1117 - added docs for this
1119 * Moose::Util::TypeConstraints
1120 - passing no "additional attribute info" to
1121 &find_or_create_type_constraint will no longer
1122 attempt to create an __ANON__ type for you,
1123 instead it will just return undef.
1124 - added docs for this
1126 0.30 Fri. Nov. 23, 2007
1127 * Moose::Meta::Method::Constructor
1128 -builder related bug in inlined constructor. (groditi)
1130 * Moose::Meta::Method::Accessor
1131 - genereate unnecessary calls to predicates and refactor
1132 code generation for runtime speed (groditi)
1134 * Moose::Util::TypeConstraints
1135 - fix ClassName constraint to introspect symbol table (mst)
1136 - added more tests for this (mst)
1137 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1138 with work correctly.
1139 - added tests for this
1142 - adding the link to Recipie 11 (written by Sartak)
1143 - adding test for SYNOPSIS code
1146 - New tests for builder bug. Upon instantiation, if an
1147 attribute had a builder, no value and was not lazy the
1148 builder default was not getting run, oops. (groditi)
1150 0.29 Tues. Nov. 13, 2007
1151 * Moose::Meta::Attribute
1152 - Fix error message on missing builder method (groditi)
1154 * Moose::Meta::Method::Accessor
1155 - Fix error message on missing builder method (groditi)
1158 - Add test to check for the correct error message when
1159 builder method is missing (groditi)
1161 0.28 Tues. Nov. 13, 2007
1162 - 0.27 packaged incorrectly (groditi)
1164 0.27 Tues. Nov. 13, 2007
1165 * Moose::Meta::Attribute
1166 - Added support for the new builder option (groditi)
1167 - Added support for lazy_build option (groditi)
1168 - Changed slot initialization for predicate changes (groditi)
1170 * Moose::Meta::Method::Accessor
1171 - Added support for lazy_build option (groditi)
1172 - Fix inline methods to work with corrected predicate
1175 * Moose::Meta::Method::Constructor
1176 - Added support for lazy_build option (groditi)
1179 - tests for builder and lazy_build (groditi)
1181 * fixing some misc. bits in the docs that
1182 got mentioned on CPAN Forum & perlmonks
1185 - fixed how required methods are handled
1186 when they encounter overriden or modified
1187 methods from a class (thanks to confound).
1188 - added tests for this
1190 * Moose::Util::TypeConstraint
1191 - fixed the type notation parser so that
1192 the | always creates a union and so is
1193 no longer a valid type char (thanks to
1194 konobi, mugwump and #moose for working
1196 - added more tests for this
1198 0.26 Thurs. Sept. 27, 2007
1201 * Parameterized Types
1202 We now support parameterized collection types, such as:
1203 ArrayRef[Int] # array or integers
1204 HashRef[Object] # a hash with object values
1205 They can also be nested:
1206 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
1207 And work with the type unions as well:
1208 ArrayRef[Int | Str] # array of integers of strings
1210 * Better Framework Extendability
1211 Moose.pm is now "extendable" such that it is now much
1212 easier to extend the framework and add your own keywords
1213 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1214 section of the Moose.pm docs.
1217 In an effort to begin documenting some of the various
1218 details of Moose as well as some common idioms, we have
1219 created Moose::Cookbook::Snacks as a place to find
1220 small (easily digestable) nuggets of Moose code.
1223 ~ Several doc updates/cleanup thanks to castaway ~
1225 - converted build system to use Module::Install instead of
1226 Module::Build (thanks to jrockway)
1229 - added all the meta classes to the immutable list and
1230 set it to inline the accessors
1231 - fix import to allow Sub::Exporter like { into => }
1232 and { into_level => } (perigrin)
1233 - exposed and documented init_meta() to allow better
1234 embedding and extending of Moose (perigrin)
1237 - complete re-organization of the test suite
1238 - added some new tests as well
1239 - finally re-enabled the Moose::POOP test since
1240 the new version of DBM::Deep now works again
1243 * Moose::Meta::Class
1244 - fixed very odd and very nasty recursion bug with
1246 - added tests for this (eilara)
1248 * Moose::Meta::Attribute
1249 Moose::Meta::Method::Constructor
1250 Moose::Meta::Method::Accessor
1251 - fixed issue with overload::Overloaded getting called
1252 on non-blessed items. (RT #29269)
1253 - added tests for this
1255 * Moose::Meta::Method::Accessor
1256 - fixed issue with generated accessor code making
1257 assumptions about hash based classes (thanks to dexter)
1259 * Moose::Coookbook::Snacks
1260 - these are bits of documentation, not quite as big as
1261 Recipes but which have no clear place in the module docs.
1262 So they are Snacks! (horray for castaway++)
1264 * Moose::Cookbook::Recipe4
1265 - updated it to use the new ArrayRef[MyType] construct
1266 - updated the accompanying test as well
1268 +++ Major Refactor of the Type Constraint system +++
1269 +++ with new features added as well +++
1271 * Moose::Util::TypeConstraint
1272 - no longer uses package variable to keep track of
1273 the type constraints, now uses the an instance of
1274 Moose::Meta::TypeConstraint::Registry to do it
1275 - added more sophisticated type notation parsing
1277 - added tests for this
1279 * Moose::Meta::TypeConstraint
1280 - some minor adjustments to make subclassing easier
1281 - added the package_defined_in attribute so that we
1282 can track where the type constraints are created
1284 * Moose::Meta::TypeConstraint::Union
1285 - this is now been refactored to be a subclass of
1286 Moose::Meta::TypeConstraint
1288 * Moose::Meta::TypeCoercion::Union
1289 - this has been added to service the newly refactored
1290 Moose::Meta::TypeConstraint::Union and is itself
1291 a subclass of Moose::Meta::TypeCoercion
1293 * Moose::Meta::TypeConstraint::Parameterized
1294 - added this module (taken from MooseX::AttributeHelpers)
1295 to help construct nested collection types
1296 - added tests for this
1298 * Moose::Meta::TypeConstraint::Registry
1299 - added this class to keep track of type constraints
1301 0.25 Mon. Aug. 13, 2007
1303 - Documentation update to reference Moose::Util::TypeConstraints
1304 under 'isa' in 'has' for how to define a new type
1305 (thanks to shlomif).
1307 * Moose::Meta::Attribute
1308 - required attributes now will no longer accept undef
1309 from the constructor, even if there is a default and lazy
1310 - added tests for this
1311 - default subroutines must return a value which passes the
1313 - added tests for this
1315 * Moose::Meta::Attribute
1316 * Moose::Meta::Method::Constructor
1317 * Moose::Meta::Method::Accessor
1318 - type-constraint tests now handle overloaded objects correctly
1319 in the error message
1320 - added tests for this (thanks to EvanCarroll)
1322 * Moose::Meta::TypeConstraint::Union
1323 - added (has_)hand_optimized_constraint to this class so that
1324 it behaves as the regular Moose::Meta::TypeConstraint does.
1327 - large refactoring of this code
1328 - added several more tests
1329 - tests for subtle conflict resolition issues
1330 added, but not currently running
1333 * Moose::Cookbook::Recipe7
1334 - added new recipe for augment/inner functionality
1336 - added test for this
1339 - a formal definition of roles (still in progress)
1342 - utilities for easier working with Moose classes
1343 - added tests for these
1346 - This contains Moose specific test functions
1347 - added tests for these
1349 0.24 Tues. July 3, 2007
1350 ~ Some doc updates/cleanup ~
1352 * Moose::Meta::Attribute
1353 - added support for roles to be given as parameters
1354 to the 'handles' option.
1355 - added tests and docs for this
1356 - the has '+foo' attribute form now accepts changes to
1357 the lazy option, and the addition of a handles option
1358 (but not changing the handles option)
1359 - added tests and docs for this
1362 - required methods are now fetched using find_method_by_name
1363 so that required methods can come from superclasses
1364 - adjusted tests for this
1366 0.23 Mon. June 18, 2007
1367 * Moose::Meta::Method::Constructor
1368 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1369 * Moose::Meta::Class
1370 - Modify make_immutable to work with the new Class::MOP immutable
1371 mechanism + POD + very basic test (groditi)
1372 * Moose::Meta::Attribute
1373 - Fix handles to use goto() so that caller() comes out properly on
1374 the other side (perigrin)
1376 0.22 Thurs. May 31, 2007
1377 * Moose::Util::TypeConstraints
1378 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1379 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1380 prototypes for functions
1381 - added the ClassName type constraint, this checks for strings
1382 which will respond true to ->isa(UNIVERSAL).
1383 - added tests and docs for this
1384 - subtyping just in name now works correctly by making the
1385 default for where be { 1 }
1386 - added test for this
1388 * Moose::Meta::Method::Accessor
1389 - coerce and lazy now work together correctly, thanks to
1390 merlyn for finding this bug
1391 - tests added for this
1392 - fix reader presedence bug in Moose::Meta::Attribute + tests
1395 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1396 a HASH-ref and missed. This produces better error messages then
1397 having it die cause undef is not a HASH.
1398 - added tests for this
1400 0.21 Thursday, May 2nd, 2007
1402 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1403 - modified unimport to remove super and inner along with the rest
1404 - altered unimport tests to handle this
1407 - altered super export to populate SUPER_SLOT
1409 * Moose::Meta::Class
1410 - altered augment and override modifier application to use *_SLOT
1411 - modified tests for these to unimport one test class each to test
1414 - fixed issue where custom attribute metaclasses
1415 where not handled correctly in roles
1416 - added tests for this
1418 * Moose::Meta::Class
1419 - fixed issue where extending metaclasses with
1420 roles would blow up. Thanks to Aankhen`` for
1421 finding this insidious error, and it's solution.
1423 ~~ lots of spelling and grammer fixes in the docs,
1424 many many thanks to rlb3 and Aankhen for these :)
1426 0.20 Friday, April 6th, 2007
1427 >> I messed up the SKIP logic in one test
1428 so this release is just to fix that.
1431 - 'has' now also accepts an ARRAY ref
1432 to create multiple attrs (see docs)
1433 (thanks to konobi for this)
1434 - added tests and docs
1436 0.19 Thurs. April 5th, 2007
1437 ~~ More documentation updates ~~
1439 * Moose::Util::TypeConstraints
1440 - 'type' now supports messages as well
1441 thanks to phaylon for finding this
1442 - added tests for this
1443 - added &list_all_type_constraints and
1444 &list_all_builtin_type_constraints
1445 functions to facilitate introspection.
1447 * Moose::Meta::Attribute
1448 - fixed regexp 'handles' declarations
1449 to build the list of delegated methods
1450 correctly (and not override important
1451 things like &new) thanks to ashleyb
1453 - added tests and docs for this
1454 - added the 'documentation' attributes
1455 so that you can actually document your
1456 attributes and inspect them through the
1458 - added tests and docs for this
1460 * Moose::Meta::Class
1461 - when loading custom attribute metaclasses
1462 it will first look in for the class in the
1463 Moose::Meta::Attribute::Custom::$name, and
1464 then default to just loading $name.
1465 - added tests and docs for this
1467 * Moose::Meta::TypeConstraint
1468 - type constraints now stringify to their names.
1469 - added test for this
1472 - added tests to assure we work with Module::Refresh
1473 - added stricter test skip logic in the Moose POOP
1474 test, ask Rob Kinyon why.
1475 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1477 0.18 Sat. March 10, 2007
1478 ~~ Many, many documentation updates ~~
1481 - We now use Class::MOP::load_class to
1483 - added tests to show types and subtypes
1484 working with Declare::Constraints::Simple
1485 and Test::Deep as constraint engines.
1488 !! You must have Class::MOP 0.37_001 !!
1489 !! for this developer release to work !!
1491 This release was primarily adding the immutable
1492 feature to Moose. An immutable class is one which
1493 you promise not to alter. When you set the class
1494 as immutable it will perform various bits of
1495 memoization and inline certain part of the code
1496 (constructors, destructors and accessors). This
1497 minimizes (and in some cases totally eliminates)
1498 one of Moose's biggest performance hits. This
1499 feature is not on by default, and is 100% optional.
1500 It has several configurable bits as well, so you
1501 can pick and choose to your specific needs.
1503 The changes involved in this were fairly wide and
1504 highly specific, but 100% backwards compatible, so
1505 I am not going to enumerate them here. If you are
1506 truely interested in what was changed, please do
1509 0.17 Tues. Nov. 14, 2006
1510 * Moose::Meta::Method::Accessor
1511 - bugfix for read-only accessors which
1512 are have a type constraint and lazy.
1513 Thanks to chansen for finding it.
1515 0.16 Tues. Nov. 14, 2006
1517 There are some speed improvements in this release,
1518 but they are only the begining, so stay tuned.
1521 - BUILDALL and DEMOLISHALL no longer get
1522 called unless they actually need to be.
1523 This gave us a signifigant speed boost
1524 for the cases when there is no BUILD or
1525 DEMOLISH method present.
1527 * Moose::Util::TypeConstraints
1528 * Moose::Meta::TypeConstraint
1529 - added an 'optimize_as' option to the
1530 type constraint, which allows for a
1531 hand optimized version of the type
1532 constraint to be used when possible.
1533 - Any internally created type constraints
1534 now provide an optimized version as well.
1536 0.15 Sun. Nov. 5, 2006
1538 This version of Moose *must* have Class::MOP 0.36 in order
1539 to work correctly. A number of small internal tweaks have
1540 been made in order to be compatible with that release.
1542 * Moose::Util::TypeConstraints
1543 - added &unimport so that you can clean out
1544 your class namespace of these exported
1547 * Moose::Meta::Class
1548 - fixed minor issue which occasionally
1549 comes up during global destruction
1551 - moved Moose::Meta::Method::Overriden into
1555 - moved Moose::Meta::Role::Method into
1558 * Moose::Meta::Attribute
1559 - changed how we do type checks so that
1560 we reduce the overall cost, but still
1563 - moved accessor generation methods to
1564 Moose::Meta::Method::Accessor to
1565 conform to the API changes from
1568 * Moose::Meta::TypeConstraint
1569 - changed how constraints are compiled
1570 so that we do less recursion and more
1571 iteration. This makes the type check
1573 - moved Moose::Meta::TypeConstraint::Union
1576 * Moose::Meta::Method::Accessor
1577 - created this from methods formerly found in
1578 Moose::Meta::Attribute
1580 * Moose::Meta::Role::Method
1581 - moved this from Moose::Meta::Role
1583 * Moose::Meta::Method::Overriden
1584 - moved this from Moose::Meta::Class
1586 * Moose::Meta::TypeConstraint::Union
1587 - moved this from Moose::Meta::TypeConstraint
1589 0.14 Mon. Oct. 9, 2006
1591 * Moose::Meta::Attribute
1592 - fixed lazy attributes which were not getting
1593 checked with the type constraint (thanks ashley)
1594 - added tests for this
1595 - removed the over-enthusiastic DWIMery of the
1596 automatic ArrayRef and HashRef defaults, it
1597 broke predicates in an ugly way.
1598 - removed tests for this
1600 0.13 Sat. Sept. 30, 2006
1602 This version of Moose *must* have Class::MOP 0.35 in order
1603 to work correctly. A number of small internal tweaks have
1604 been made in order to be compatible with that release.
1607 - Removed the use of UNIVERSAL::require to be a better
1608 symbol table citizen and remove a dependency
1609 (thanks Adam Kennedy)
1611 **~~ removed experimental & undocumented feature ~~**
1612 - commented out the 'method' and 'self' keywords, see the
1613 comments for more info.
1616 - added a FAQ and WTF files to document frequently
1617 asked questions and common problems
1619 * Moose::Util::TypeConstraints
1620 - added GlobRef and FileHandle type constraint
1621 - added tests for this
1623 * Moose::Meta::Attribute
1624 - if your attribute 'isa' ArrayRef of HashRef, and you have
1625 not explicitly set a default, then make the default DWIM.
1626 This will also work for subtypes of ArrayRef and HashRef
1628 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1629 - new test added for this (thanks to ashley)
1632 - added basic support for runtime role composition
1633 but this is still *highly experimental*, so feedback
1634 is much appreciated :)
1635 - added tests for this
1637 * Moose::Meta::TypeConstraint
1638 - the type constraint now handles the coercion process
1639 through delegation, this is to support the coercion
1642 * Moose::Meta::TypeConstraint::Union
1643 - it is now possible for coercions to be performed
1645 - added tests for this (thanks to konobi)
1647 * Moose::Meta::TypeCoercion
1648 - properly capturing error when type constraint
1652 - Scalar::Util 1.18 is bad on Win32, so temporarily
1653 only require version 1.17 for Win32 and cygwin.
1654 (thanks Adam Kennedy)
1656 0.12 Sat. Sept. 1, 2006
1658 - Recipe5 (subtypes & coercion) has been written
1661 - fixed "bad meta" error message to be more descriptive
1662 - fixed &unimport to not remove the &inner and &super
1663 keywords because we need to localize them.
1664 - fixed number of spelling/grammer issues, thanks Theory :)
1666 **~~ experimental & undocumented feature ~~**
1667 - added the method and self keywords, they are basically
1668 just sugar, and they may not stay around.
1671 - added &dump method to easily Data::Dumper
1674 * Moose::Meta::TypeConstraint
1675 - added the &is_a_type_of method to check both the current
1676 and the subtype of a method (similar to &isa with classes)
1679 - this is now a subclass of Class::MOP::Module, and no longer
1680 creates the _role_meta ugliness of before.
1681 - fixed tests to reflect this change
1683 0.11 Wed. July 12, 2006
1685 - added an &unimport method to remove all the keywords
1686 that Moose will import, simply add 'no Moose' to the
1687 bottom of your class file.
1690 - fixed some test failures caused by a forgotten test
1693 0.10 Thurs. July 6, 2006
1695 - improved error message when loading modules so
1696 it is less confusing when you load a role.
1697 - added &calculate_all_roles method to
1698 Moose::Meta::Class and Moose::Meta::Role
1701 This module has been tested against Class::MOP 0.30
1702 but it does not yet utilize the optimizations
1703 it makes available. Stay tuned for that ;)
1705 0.09_03 Fri. June 23, 2006
1706 ++ DEVELOPER RELEASE ++
1708 - 'use strict' and 'use warnings' are no longer
1709 needed in Moose classes, Moose itself will
1710 turn them on for you.
1711 - added tests for this
1712 - moved code from exported subs to private methods
1713 in Moose::Meta::Class
1716 - as with Moose, strict and warnings are
1717 automatically turned on for you.
1718 - added tests for this
1721 - now handles an edge case for override errors
1722 - added tests for this
1723 - added some more edge case tests
1725 0.09_02 Tues. May 16, 2006
1726 ++ DEVELOPER RELEASE ++
1728 - added prototypes to the exported subs
1732 - added prototypes to the exported subs
1735 * Moose::Util::TypeConstraints
1736 - cleaned up prototypes for the subs
1739 0.09_01 Fri. May 12, 2006
1740 ++ DEVELOPER RELEASE ++
1741 - This release works in combination with
1742 Class::MOP 0.29_01, it is a developer
1743 release because it uses the a new
1744 instance sub-protocol and a fairly
1745 complete Role implementation. It has
1746 not yet been optimized, so it slower
1747 the the previous CPAN version. This
1748 release also lacks good updated docs,
1749 the official release will have updated docs.
1752 - refactored the keyword exports
1753 - 'with' now checks Role validaity and
1754 accepts more than one Role at a time
1755 - 'extends' makes metaclass adjustments as
1756 needed to ensure metaclass compatibility
1759 - refactored the keyword exports
1760 - 'with' now checks Role validaity and
1761 accepts more than one Role at a time
1763 * Moose::Util::TypeConstraints
1764 - added the 'enum' keyword for simple
1765 string enumerations which can be used as
1767 - see example of usage in t/202_example.t
1770 - more careful checking of params to new()
1773 - much work done on the role composition
1774 - many new tests for conflict detection
1775 and composition edge cases
1776 - not enough documentation, I suggest
1777 looking at the tests
1779 * Moose::Meta::Instance
1780 - added new Instance metaclass to support
1781 the new Class::MOP instance protocol
1783 * Moose::Meta::Class
1784 - some small changes to support the new
1786 - some small additions to support Roles
1788 * Moose::Meta::Attribute
1789 - some improvements to the accessor generation code
1791 - some small changes to support the new
1793 - (still somewhat) experimental delegation support
1794 with the 'handles' option
1795 - added several tests for this
1796 - no docs for this yet
1798 0.05 Thurs. April 27, 2006
1800 - keywords are now exported with Sub::Exporter
1801 thanks to chansen for this commit
1802 - has keyword now takes a 'metaclass' option
1803 to support custom attribute meta-classes
1804 on a per-attribute basis
1805 - added tests for this
1806 - the 'has' keyword not accepts inherited slot
1807 specifications (has '+foo'). This is still an
1808 experimental feature and probably not finished
1809 see t/038_attribute_inherited_slot_specs.t for
1810 more details, or ask about it on #moose
1811 - added tests for this
1814 - keywords are now exported with Sub::Exporter
1816 * Moose::Utils::TypeConstraints
1817 - reorganized the type constraint hierarchy, thanks
1818 to nothingmuch and chansen for his help and advice
1820 - added some tests for this
1821 - keywords are now exported with Sub::Exporter
1822 thanks to chansen for this commit
1824 * Moose::Meta::Class
1825 - due to changes in Class::MOP, we had to change
1826 construct_instance (for the better)
1828 * Moose::Meta::Attribute
1829 - due to changes in Class::MOP, we had to add the
1830 initialize_instance_slot method (it's a good thing)
1832 * Moose::Meta::TypeConstraint
1833 - added type constraint unions
1834 - added tests for this
1835 - added the is_subtype_of predicate method
1836 - added tests for this
1838 0.04 Sun. April 16th, 2006
1840 - Roles can now consume other roles
1841 - added tests for this
1842 - Roles can specify required methods now with
1843 the requires() keyword
1844 - added tests for this
1847 - ripped out much of it's guts ,.. much cleaner now
1848 - added required methods and correct handling of
1849 them in apply() for both classes and roles
1850 - added tests for this
1851 - no longer adds a does() method to consuming classes
1852 it relys on the one in Moose::Object
1853 - added roles attribute and some methods to support
1854 roles consuming roles
1856 * Moose::Meta::Attribute
1857 - added support for triggers on attributes
1858 - added tests for this
1859 - added support for does option on an attribute
1860 - added tests for this
1862 * Moose::Meta::Class
1863 - added support for attribute triggers in the
1865 - added tests for this
1868 - Moose no longer creates a subtype for your class
1869 if a subtype of the same name already exists, this
1870 should DWIM in 99.9999% of all cases
1872 * Moose::Util::TypeConstraints
1873 - fixed bug where incorrect subtype conflicts were
1875 - added test for this
1878 - this class can now be extended with 'use base' if
1879 you need it, it properly loads the metaclass class now
1880 - added test for this
1882 0.03_02 Wed. April 12, 2006
1884 - you must now explictly use Moose::Util::TypeConstraints
1885 it no longer gets exported for you automatically
1888 - new() now accepts hash-refs as well as key/value lists
1889 - added does() method to check for Roles
1890 - added tests for this
1892 * Moose::Meta::Class
1893 - added roles attribute along with the add_role() and
1895 - added tests for this
1898 - now adds a does() method to consuming classes
1899 which tests the class's hierarchy for roles
1900 - added tests for this
1902 0.03_01 Mon. April 10, 2006
1904 - added new Role recipe (no content yet, only code)
1907 - added 'with' keyword for Role support
1908 - added test and docs for this
1909 - fixed subtype quoting bug
1910 - added test for this
1914 - added test and docs
1916 * Moose::Util::TypeConstraints
1917 - added the message keyword to add custom
1918 error messages to type constraints
1921 - the meta role to support Moose::Role
1922 - added tests and docs
1924 * Moose::Meta::Class
1925 - moved a number of things from Moose.pm
1926 to here, they should have been here
1929 * Moose::Meta::Attribute
1930 - moved the attribute option macros here
1931 instead of putting them in Moose.pm
1933 * Moose::Meta::TypeConstraint
1934 - added the message attributes and the
1936 - added tests and docs for this
1938 0.03 Thurs. March 30, 2006
1940 - added the Moose::Cookbook with 5 recipes,
1941 describing all the stuff Moose can do.
1944 - fixed an issue with &extends super class loading
1945 it now captures errors and deals with inline
1946 packages correctly (bug found by mst, solution
1948 - added super/override & inner/augment features
1949 - added tests and docs for these
1952 - BUILDALL now takes a reference of the %params
1953 that are passed to &new, and passes that to
1956 * Moose::Util::TypeConstraints
1957 - Type constraints now survive runtime reloading
1958 - added test for this
1960 * Moose::Meta::Class
1961 - fixed the way attribute defaults are handled
1962 during instance construction (bug found by chansen)
1964 * Moose::Meta::Attribute
1965 - read-only attributes now actually enforce their
1966 read-only-ness (this corrected in Class::MOP as
1969 0.02 Tues. March 21, 2006
1971 - many more tests, fixing some bugs and
1973 - &extends now loads the base module with
1975 - added UNIVERSAL::require to the
1978 - each new Moose class will also create
1979 and register a subtype of Object which
1980 correspond to the new Moose class.
1981 - the 'isa' option in &has now only
1982 accepts strings, and will DWIM in
1985 * Moose::Util::TypeConstraints
1986 - added type coercion features
1987 - added tests for this
1988 - added support for this in attributes
1989 and instance construction
1991 - type construction no longer creates a
1992 function, it registers the type instead.
1993 - added several functions to get the
1997 - BUILDALL and DEMOLISHALL were broken
1998 because of a mis-named hash key, Whoops :)
2000 * Moose::Meta::Attribute
2001 - adding support for coercion in the
2002 autogenerated accessors
2004 * Moose::Meta::Class
2005 - adding support for coercion in the
2006 instance construction
2008 * Moose::Meta::TypeConstraint
2009 * Moose::Meta::TypeCoercion
2010 - type constraints and coercions are now
2011 full fledges meta-objects
2013 0.01 Wed. March 15, 2006
2014 - Moooooooooooooooooose!!!