1 Revision history for Perl extension Moose
5 - use the method->execute API for BUILDALL
6 and DEMOLISHALL (Sartak)
8 0.62 Wed November 26, 2008
9 * Moose::Meta::Role::Application::ToClass
10 Moose::Meta::Role::Application::ToRole
11 - fixed issues where excluding and aliasing the
12 same methods for a single role did not work
13 right (worked just fine with multiple
15 - added test for this (stevan)
17 * Moose::Meta::Role::Application::RoleSummation
18 - fixed the error message when trying to compose
19 a role with a role it excludes (Sartak)
22 - Catch another case where recursion caused the value
23 of $CALLER to be stamped on (t0m)
24 - added test for this (t0m)
27 - Remove the make_immutable keyword, which has been
28 deprecated since April. It breaks metaclasses that
29 use Moose without no Moose (Sartak)
31 * Moose::Meta::Attribute
32 - Removing an attribute from a class now also removes delegation
33 (handles) methods installed for that attribute (t0m)
34 - added test for this (t0m)
36 * Moose::Meta::Method::Constructor
37 - An attribute with a default that looked like a number (but was
38 really a string) would accidentally be treated as a number
39 when the constructor was made immutable (perigrin)
40 - added test for this (perigrin)
43 - create method for constructing a role
45 - added test for this (Sartak)
46 - anonymous roles! (Sartak)
47 - added test for this (Sartak)
50 - more consistent error messages (Sartak)
52 * Moose::Cookbook::Roles::Recipe1
53 - attempt to explain why a role that just requires
54 methods is useful (Sartak)
56 0.61 Fri November 7, 2008
57 * Moose::Meta::Attribute
58 - When passing a role to handles, it will be loaded if necessary
62 - Method objects returned by get_method (and other methods)
63 Could end up being returned without an associated_metaclass
64 attribute. Removing get_method_map, which is provided by
65 Class::MOP::Class, fixed this. The Moose version did nothing
66 different from its parent except introduce a bug. (Dave Rolsky)
67 - added tests for this (jdv79)
70 - Added a $VERSION to all .pm files which didn't have one. Fixes
71 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
73 * Moose::Cookbook::Basics::Recipe4
74 * Moose::Cookbook::Basics::Recipe6
75 - These files had spaces on the first line of the SYNOPSIS, as
76 opposed to a totally empty line. According to RT #40432, this
77 confuses POD parsers. (Dave Rolsky)
79 0.60 Fri October 24, 2008
81 - Passing "-traits" when loading Moose caused the Moose.pm
82 exports to be broken. Reported by t0m. (Dave Rolsky)
83 - Tests for this bug. (t0m)
86 - Change resolve_metaclass alias to use the new
87 load_first_existing_class function. This makes it a lot
88 simpler, and also around 5 times faster. (t0m)
89 - Add caching to resolve_metaclass_alias, which gives an order
90 of magnitude speedup to things which repeatedly call the
91 Moose::Meta::Attribute->does method, notably MooseX::Storage
94 * Moose::Util::TypeConstraint
95 - Put back the changes for parameterized constraints that
96 shouldn't have been removed in 0.59. We still cannot parse
97 them, but MooseX modules can create them in some other
98 way. See the 0.58 changes for more details. (jnapiorkowski)
99 - Changed the way subtypes are created so that the job is
100 delegated to a type constraint parent. This clears up some
101 hardcoded checking and should allow correct subtypes of
102 Moose::Meta::Type::Constraint. Don't rely on this new API too
103 much (create_child_type) because it may go away in the
104 future. (jnapiorkowski)
106 * Moose::Meta::TypeConstraint::Union
107 - Type constraint names are sorted as strings, not numbers.
110 * Moose::Meta::TypeConstraint::Parameterizable
111 - New parameterize method. This can be used as a factory method
112 to make a new type constraint with a given parameterized
113 type. (jnapiorkowski)
114 - added tests (jnapiorkowski)
116 0.59 Tue October 14, 2008
118 - Add abridged documentation for builder/default/initializer/
119 predicate, and link to more details sections in
120 Class::MOP::Attribute. (t0m)
122 * Moose::Util::TypeConstraints
123 - removed prototypes from all but the &-based stuff (mst)
125 * Moose::Util::TypeConstraints
126 - Creating a anonymous subtype with both a constraint and a
127 message failed with a very unhelpful error, but should just
128 work. Reported by t0m. (Dave Rolsky)
131 - Some tests that used Test::Warn if it was available failed
132 with older versions of Test::Warn. Reported by Fayland. (Dave
134 - Test firing behavior of triggers in relation to builder/default/
136 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
137 kinds of supported type. (t0m)
140 - In create(), do not pass "roles" option to the superclass
141 - added related test that creates an anon metaclass with
144 * Moose::Meta::TypeConstraint::Class
145 * Moose::Meta::TypeConstraint::Role
146 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
147 other types (as per change in 0.55_02). (t0m)
149 * Moose::Meta::TypeConstraint::Registry
150 - Fix warning when dealing with unknown type names (t0m)
152 * Moose::Util::TypeConstraints
153 - Reverted changes from 0.58 related to handle parameterized
154 types. This caused random failures on BSD and Win32 systems,
155 apparently related to the regex engine. This means that Moose
156 can no longer parse structured type constraints like
157 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
158 supported in a slightly different way via MooseX::Types some
159 time in the future. (Dave Rolsky)
161 0.58 Sat September 20, 2008
162 !! This release has an incompatible change regarding !!
163 !! how roles add methods to a class !!
165 * Roles and role application
166 ! Roles now add methods by calling add_method, not
167 alias_method. They make sure to always provide a method
168 object, which will be cloned internally. This means that it is
169 now possible to track the source of a method provided by a
170 role, and even follow its history through intermediate roles.
172 This means that methods added by a role now show up when
173 looking at a class's method list/map. (Dave Rolsky)
176 - From this release on, we'll try to maintain a list of
177 conflicting modules, and warn you if you have one
178 installed. For example, this release conflicts with ...
179 - MooseX::Singleton <= 0.11
180 - MooseX::Params::Validate <= 0.05
183 In general, we try to not break backwards compatibility for
184 most Moose users, but MooseX modules and other code which
185 extends Moose's metaclasses is often affected by very small
186 changes in the Moose internals.
188 * Moose::Meta::Method::Delegation
189 * Moose::Meta::Attribute
190 - Delegation methods now have their own method class. (Dave
193 * Moose::Meta::TypeConstraint::Parameterizable
194 - Added a new method 'parameterize' which is basically a factory
195 for the containing constraint. This makes it easier to create
196 new types of parameterized constraints. (jnapiorkowski)
198 * Moose::Meta::TypeConstraint::Union
199 - Changed the way Union types canonicalize their names to follow
200 the normalized TC naming rules, which means we strip all
201 whitespace. (jnapiorkowski)
203 * Moose::Util::TypeConstraints
204 - Parameter and Union args are now sorted, this makes Int|Str
205 the same constraint as Str|Int. (jnapiorkowski)
206 - Changes to the way Union types are parsed to more correctly
207 stringify their names. (jnapiorkowski)
208 - When creating a parameterized type, we now use the new
209 parameterize method. (jnapiorkowski)
210 - Incoming type constraint strings are now normalized to remove
211 all whitespace differences. (jnapiorkowski)
212 - Changed the way we parse type constraint strings so that we now
213 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
214 constraints. This lays the foundation for more flexible type
215 constraint implementations.
217 * Tests and docs for all the above. (jnapiorkowski)
221 - Moose::Exporter will no longer remove a subroutine that the
222 exporting package re-exports. Moose re-exports the
223 Carp::confess function, among others. The reasoning is that we
224 cannot know whether you have also explicitly imported those
225 functions for your own use, so we err on the safe side and
226 always keep them. (Dave Rolsky)
227 - added tests for this (rafl)
230 - Changes to how we fix metaclass compatibility that are much
231 too complicated to go into. The summary is that Moose is much
232 less likely to complain about metaclass incompatibility
233 now. In particular, if two metaclasses differ because
234 Moose::Util::MetaRole was used on the two corresponding
235 classes, then the difference in roles is reconciled for the
236 subclass's metaclass. (Dave Rolsky)
237 - Squashed an warning in _process_attribute (thepler)
240 - throw exceptions (sooner) for invalid attribute names (thepler)
241 - added tests for this (thepler)
243 * Moose::Util::MetaRole
244 - If you explicitly set a constructor or destructor class for a
245 metaclass object, and then applied roles to the metaclass,
246 that explicitly set class would be lost and replaced with the
250 * Moose::Meta::Attribute
251 * Moose::Meta::Method
254 * Moose::Error::Default
255 * Moose::Error::Croak
256 * Moose::Error::Confess
257 - All instances of confess() changed to use overridable
258 C<throw_error> method. This method ultimately calls a class
259 constructor, and you can change the class being called. In
260 addition, errors now pass more information than just a string.
261 The default C<error_class> behaves like C<Carp::confess>, so
262 the behavior is not visibly different for end users.
264 0.57 Wed September 3, 2008
266 - A new bit of doc intended to introduce folks familiar with
267 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
270 - Shows examples of two classes, each done first with and then
271 without Moose. This makes a nice parallel to
272 Moose::Intro. (Dave Rolsky)
274 * Moose::Util::TypeConstraints
275 - Fixed a bug in find_or_parse_type_constraint so that it
276 accepts a Moose::Meta::TypeConstraint object as the parent
277 type, not just a name (jnapiorkowski)
278 - added tests (jnapiorkowski)
281 - If Sub::Name was not present, unimporting failed to actually
282 remove some sugar subs, causing test failures (Dave Rolsky)
284 0.56 Mon September 1, 2008
285 For those not following the series of dev releases, there are
286 several major changes in this release of Moose.
287 ! Moose::init_meta should now be called as a method. See the
290 - Major performance improvements by nothingmuch.
292 - New modules for extension writers, Moose::Exporter and
293 Moose::Util::MetaRole by Dave Rolsky.
295 - Lots of doc improvements and additions, especially in the
300 * Removed all references to the experimental-but-no-longer-needed
301 Moose::Meta::Role::Application::ToMetaclassInstance.
303 * Require Class::MOP 0.65.
305 0.55_04 Sat August 30, 2008
306 * Moose::Util::MetaRole
307 * Moose::Cookbook::Extending::Recipe2
308 - This simplifies the application of roles to any meta class, as
309 well as the base object class. Reimplemented metaclass traits
310 using this module. (Dave Rolsky)
312 * Moose::Cookbook::Extending::Recipe1
313 - This a new recipe, an overview of various ways to write Moose
314 extensions (Dave Rolsky)
316 * Moose::Cookbook::Extending::Recipe3
317 * Moose::Cookbook::Extending::Recipe4
318 - These used to be Extending::Recipe1 and Extending::Recipe2,
321 0.55_03 Fri August 29, 2008
322 * No changes from 0.55_02 except increasing the Class::MOP
323 dependency to 0.64_07.
325 0.55_02 Fri August 29, 2008
326 * Makefile.PL and Moose.pm
327 - explicitly require Perl 5.8.0+ (Dave Rolsky)
329 * Moose::Util::TypeConstraints
330 - Fix warnings from find_type_constraint if the type is not
333 * Moose::Meta::TypeConstraint
334 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
335 return false if the type you specify cannot be found in the
336 type registry, rather than throwing an unhelpful and
337 coincidental exception. (t0m).
338 - added docs & test for this (t0m)
340 * Moose::Meta::TypeConstraint::Registry
341 - add_type_constraint now throws an exception if a parameter is
343 - added docs & test for this (t0m)
345 * Moose::Cookbook::FAQ
346 - Added a faq entry on the difference between "role" and "trait"
350 - Fixed a bug that caused role composition to not see a required
351 method when that method was provided by another role being
352 composed at the same time. (Dave Rolsky)
353 - test and bug finding (tokuhirom)
355 0.55_01 Wed August 20, 2008
357 !! Calling Moose::init_meta as a function is now !!
358 !! deprecated. Please see the Moose.pm docs for details. !!
360 * Moose::Meta::Method::Constructor
361 - Fix inlined constructor so that values produced by default
362 or builder methods are coerced as required. (t0m)
363 - added test for this (t0m)
365 * Moose::Meta::Attribute
366 - A lazy attribute with a default or builder did not attempt to
367 coerce the default value. The immutable code _did_
369 - added test for this (t0m)
372 - This is a new helper module for writing "Moose-alike"
373 modules. This should make the lives of MooseX module authors
374 much easier. (Dave Rolsky)
377 * Moose::Cookbook::Meta::Recipe5
378 - Implemented metaclass traits (and wrote a recipe for it):
380 use Moose -traits => 'Foo'
382 This should make writing small Moose extensions a little
385 * Moose::Cookbook::Basics::Recipe1
386 - Removed any examples of direct hashref access, and applied an
387 editorial axe to reduce verbosity. (Dave Rolsky)
389 * Moose::Cookbook::Basics::Recipe1
390 - Also applied an editorial axe here. (Dave Rolsky)
393 * Moose::Cookbook::Extending::Recipe1
394 * Moose::Cookbook::Extending::Recipe2
395 - Rewrote extending and embedding moose documentation and
396 recipes to use Moose::Exporter (Dave Rolsky)
400 - These two modules now warn when you load them from the main
401 package "main" package, because we will not export sugar to
402 main. Previously it just did nothing. (Dave Rolsky)
405 - Now provide an init_meta method just like Moose.pm, and you
406 can call this to provide an alternate role metaclass. (Dave
407 Rolsky and nothingmuch)
408 - get_method_map now respects the package cache flag (nothingmuch)
411 - Two new methods - add_method and wrap_method_body
415 - Optimizations including allowing constructors to accept hash
416 refs, making many more classes immutable, and making
417 constructors immutable. (nothingmuch)
419 0.55 Sun August 3, 2008
420 * Moose::Meta::Attribute
421 - breaking down the way 'handles' methods are
422 created so that the process can be more easily
423 overridden by subclasses (stevan)
425 * Moose::Meta::TypeConstraint
426 - fixing what is passed into a ->message with
427 the type constraints (RT #37569)
428 - added tests for this (Charles Alderman)
430 * Moose::Util::TypeConstraints
431 - fix coerce to accept anon types like subtype can (mst)
434 - reorganized the recipes into sections - Basics, Roles, Meta,
435 Extending - and wrote abstracts for each section (Dave Rolsky)
437 * Moose::Cookbook::Basics::Recipe10
438 - A new recipe that demonstrates operator overloading
439 in combination with Moose. (bluefeet)
441 * Moose::Cookbook::Meta::Recipe1
442 - an introduction to what meta is and why you'd want to make
443 your own metaclass extensions (Dave Rolsky)
445 * Moose::Cookbook::Meta::Recipe4
446 - a very simple metaclass example (Dave Rolsky)
448 * Moose::Cookbook::Extending::Recipe1
449 - how to write a Moose-alike module to use your own object base
452 * Moose::Cookbook::Extending::Recipe2
453 - how to write modules with an API just like C<Moose.pm> (Dave
457 - Tons of fixes, both syntactical and grammatical (Dave
458 Rolsky, Paul Fenwick)
460 0.54 Thurs. July 3, 2008
461 ... this is not my day today ...
463 * Moose::Meta::Attribute
464 - fixed legal_options_for_inheritance such that
465 clone_and_inherit options still works for
466 Class::MOP::Attribute objects and therefore
467 does not break MooseX::AttributeHelpers
470 0.53 Thurs. July 3, 2008
471 * Whoops, I guess I should run 'make manifest' before
472 actually releasing the module. No actual changes
473 in this release, except the fact that it includes
474 the changes that I didn't include in the last
477 0.52 Thurs. July 3, 2008
479 - added "FEATURE REQUESTS" section to the Moose docs
480 to properly direct people (stevan) (RT #34333)
481 - making 'extends' croak if it is passed a Role since
482 this is not ever something you want to do
483 (fixed by stevan, found by obra)
484 - added tests for this (stevan)
487 - adding support for DOES (as in UNIVERSAL::DOES)
489 - added test for this
491 * Moose::Meta::Attribute
492 - added legal_options_for_inheritance (wreis)
493 - added tests for this (wreis)
495 * Moose::Cookbook::Snacks::*
496 - removed some of the unfinished snacks that should
497 not have been released yet. Added some more examples
498 to the 'Keywords' snack. (stevan)
500 * Moose::Cookbook::Style
501 - added general Moose "style guide" of sorts to the
502 cookbook (nothingmuch) (RT #34335)
505 - added more BUILDARGS tests (stevan)
507 0.51 Thurs. Jun 26, 2008
509 - add unimport so "no Moose::Role" actually does
512 * Moose::Meta::Role::Application::ToRole
513 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
514 order to provide its own implementation, that method still got
515 added to the list of required methods for consumers of
516 RoleB. Now an aliased method is only added to the list of
517 required methods if the role doing the aliasing does not
518 provide its own implementation. See Recipe 11 for an example
519 of all this. (Dave Rolsky)
520 - added tests for this
522 * Moose::Meta::Method::Constructor
523 - when a single argument that wasn't a hashref was provided to
524 an immutabilized constructor, the error message was very
525 unhelpful, as opposed to the non-immutable error. Reported by
527 - added test for this (Dave Rolsky)
529 * Moose::Meta::Attribute
530 - added support for meta_attr->does("ShortAlias") (sartak)
531 - added tests for this (sartak)
532 - moved the bulk of the `handles` handling to the new
533 install_delegation method (Stevan)
536 - Added BUILDARGS, a new step in new()
538 * Moose::Meta::Role::Application::RoleSummation
539 - fix typos no one ever sees (sartak)
541 * Moose::Util::TypeConstraints
542 * Moose::Meta::TypeConstraint
543 * Moose::Meta::TypeCoercion
544 - Attempt to work around the ??{ } vs. threads issue
546 - Some null_constraint optimizations
548 0.50 Thurs. Jun 11, 2008
549 - Fixed a version number issue by bumping all modules
552 0.49 Thurs. Jun 11, 2008
553 !! This version now approx. 20-25% !!
554 !! faster with new Class::MOP 0.59 !!
556 * Moose::Meta::Attribute
557 - fixed how the is => (ro|rw) works with
558 custom defined reader, writer and accessor
560 - added docs for this (TODO).
561 - added tests for this (Thanks to Penfold)
562 - added the custom attribute alias for regular
563 Moose attributes which is "Moose"
564 - fix builder and default both being used
569 Moose::Meta::Attribute
571 Moose::Meta::Role::Composite
572 Moose::Util::TypeConstraints
573 - switched usage of reftype to ref because
577 - changing add_package_symbol to use the new
581 - fixed how DEMOLISHALL is called so that it
582 can be overrided in subclasses (thanks to Sartak)
583 - added test for this (thanks to Sartak)
585 * Moose::Util::TypeConstraints
586 - move the ClassName type check code to
587 Class::MOP::is_class_loaded (thanks to Sartak)
589 * Moose::Cookbook::Recipe11
590 - add tests for this (thanks to tokuhirom)
592 0.48 Thurs. May 29, 2008
593 (early morning release engineering)--
595 - fixing the version in Moose::Meta::Method::Destructor
596 which was causing the indexer to choke
598 0.47 Thurs. May 29, 2008
599 (late night release engineering)--
601 - fixing the version is META.yml, no functional
602 changes in this release
604 0.46 Wed. May 28, 2008
605 !! This version now approx. 20-25% !!
606 !! faster with new Class::MOP 0.57 !!
609 - some optimizations of the &initialize method
610 since it is called so often by &meta
614 - now use the get_all_package_symbols from the
615 updated Class::MOP, test suite is now 10 seconds
618 * Moose::Meta::Method::Destructor
619 - is_needed can now also be called as a class
620 method for immutablization to check if the
621 destructor object even needs to be created
624 * Moose::Meta::Method::Destructor
625 Moose::Meta::Method::Constructor
626 - added more descriptive error message to help
627 keep people from wasting time tracking an error
628 that is easily fixed by upgrading.
630 0.45 Saturday, May 24, 2008
632 - Because of work in Class::MOP 0.57, all
633 XS based functionality is now optional
634 and a Pure Perl version is supplied
635 - the CLASS_MOP_NO_XS environment variable
636 can now be used to force non-XS versions
638 - several of the packages have been tweaked
639 to take care of this, mostly we added
640 support for the package_name and name
641 variables in all the Method metaclasses
642 - before/around/after method modifiers now
643 support regexp matching of names
644 (thanks to Takatoshi Kitano)
645 - tests added for this
646 - NOTE: this only works for classes, it
647 is currently not supported in roles,
648 but, ... patches welcome
649 - All usage of Carp::confess have been replaced
650 by Carp::croak in the "keyword" functions since
651 the stack trace is usually not helpful
654 - All usage of Carp::confess have been replaced
655 by Carp::croak in the "keyword" functions since
656 the stack trace is usually not helpful
657 - The 'has' keyword for roles now accepts the
658 same array ref form that Moose.pm does
659 (has [qw/foo bar/] => (is => 'rw', ...))
660 - added test for this
662 * Moose::Meta::Attribute
663 - trigger on a ro-attribute is no longer an
664 error, as it's useful to trigger off of the
668 - added same 'add_package_symbol' fix as in
672 - does_role now handles non-Moose classes
674 - added tests for this
675 - added the 'add_method_modifier' function
676 (thanks to Takatoshi Kitano)
678 * Moose::Util::TypeConstraints
679 - subtypes of parameterizable types now are
680 themselves parameterizable types
682 * Moose::Meta::Method::Constructor
683 - fixed bug where trigger was not being
684 called by the inlined immutable
686 - added test for this (thanks to Caelum)
688 * Moose::Meta::Role::Application::ToInstance
689 - now uses the metaclass of the instance
690 (if possible) to create the anon-class
691 (thanks Jonathan Rockway)
693 * Moose::Cookbook::Recipe22
694 - added the meta-attribute trait recipe
698 - fixed hash-ordering test bug that was
699 causing occasional cpantester failures
700 - renamed the t/000_recipe/*.t tests to be
701 more descriptive (thanks to Sartak)
703 0.44 Sat. May 10, 2008
705 - made make_immutable warning cluck to
706 show where the error is (thanks mst)
709 - BUILDALL and DEMOLISHALL now call
710 ->body when looping through the
711 methods, to avoid the overloaded
713 - fixed issue where DEMOLISHALL was
714 eating the $@ values, and so not
715 working correctly, it still kind of
716 eats them, but so does vanilla perl
717 - added tests for this
719 * Moose::Cookbook::Recipe7
720 - added new recipe for immutable
721 functionality (thanks Dave Rolsky)
723 * Moose::Cookbook::Recipe9
724 - added new recipe for builder and
725 lazy_build (thanks Dave Rolsky)
727 * Moose::Cookbook::Recipe11
728 - added new recipe for method aliasing
729 and exclusion with Roles (thanks Dave Rolsky)
732 - fixed Win32 test failure (thanks spicyjack)
734 ~ removed Build.PL and Module::Build compat
735 since Module::Install has done that.
737 0.43 Wed. April, 30, 2008
739 drink more coffee before
740 doing release engineering
742 - whoops, forgot to do the smolder tests,
743 and we broke some of the custom meta-attr
744 modules. This fixes that.
746 0.42 Mon. April 28, 2008
747 - some bad tests slipped by, nothing else
748 changed in this release (cpantesters++)
750 - upped the Class::MOP dependency to 0.55
751 since we have tests which need the C3
754 0.41 Mon. April 28, 2008
755 ~~ numerous documentation updates ~~
757 - Changed all usage of die to Carp::croak for better
758 error reporting (initial patch by Tod Hagan)
761 - the make_immutable keyword is now deprecated, don't
762 use it in any new code and please fix your old code
763 as well. There will be 2 releases, and then it will
769 - refactored the way inner and super work to avoid
770 any method/@ISA cache penalty (nothingmuch)
773 - fixing &new_object to make sure trigger gets the
774 coerced value (spotted by Charles Alderman on the
776 - added test for this
778 * Moose::Meta::Method::Constructor
779 - immutable classes which had non-lazy attributes were calling
780 the default generating sub twice in the constructor. (bug
781 found by Jesse Luehrs, fixed by Dave Rolsky)
782 - added tests for this (Dave Rolsky)
783 - fix typo in initialize_body method (nothingmuch)
785 * Moose::Meta::Method::Destructor
786 - fix typo in initialize_body method (nothingmuch)
788 * Moose::Meta::Method::Overriden
789 Moose::Meta::Method::Augmented
790 - moved the logic for these into their own
791 classes (nothingmuch)
793 * Moose::Meta::Attribute
794 - inherited attributes may now be extended without
795 restriction on the type ('isa', 'does') (Sartak)
796 - added tests for this (Sartak)
797 - when an attribute property is malformed (such as lazy without
798 a default), give the name of the attribute in the error
800 - added the &applied_traits and &has_applied_traits methods
801 to allow introspection of traits
802 - added tests for this
803 - moved 'trait' and 'metaclass' argument handling to here from
805 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
806 '+foo' syntax) (nothingmuch)
807 - added tests for this (t0m)
810 - localize $@ inside DEMOLISHALL to avoid it
811 eating $@ (found by Ernesto)
812 - added test for this (thanks to Ernesto)
814 * Moose::Util::TypeConstraints
815 - &find_type_constraint now DWIMs when given an
816 type constraint object or name (nothingmuch)
817 - &find_or_create_type_constraint superseded with a number of more
819 - find_or_create_{isa,does}_type_constraint
820 - find_or_parse_type_constraint
822 * Moose::Meta::TypeConstraint
823 Moose::Meta::TypeConstraint::Class
824 Moose::Meta::TypeConstraint::Role
825 Moose::Meta::TypeConstraint::Enum
826 Moose::Meta::TypeConstraint::Union
827 Moose::Meta::TypeConstraint::Parameterized
828 - added the &equals method for comparing two type
829 constraints (nothingmuch)
830 - added tests for this (nothingmuch)
832 * Moose::Meta::TypeConstraint
833 - add the &parents method, which is just an alias to &parent.
834 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
836 * Moose::Meta::TypeConstraint::Class
837 - added the class attribute for introspection purposes
839 - added tests for this
841 * Moose::Meta::TypeConstraint::Enum
842 Moose::Meta::TypeConstraint::Role
843 - broke these out into their own classes (nothingmuch)
845 * Moose::Cookbook::Recipe*
846 - fixed references to test file locations in the POD
847 and updated up some text for new Moose features
851 - Added &resolve_metaclass_alias, a helper function for finding an actual
852 class for a short name (e.g. in the traits list)
854 0.40 Fri. March 14, 2008
855 - I hate Pod::Coverage
857 0.39 Fri. March 14, 2008
859 - documenting the use of '+name' with attributes
860 that come from recently composed roles. It makes
861 sense, people are using it, and so why not just
862 officially support it.
863 - fixing the 'extends' keyword so that it will not
864 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
867 - added the perl -Moose=+Class::Name feature to allow
868 monkeypatching of classes in one liners
871 - fixing the 'apply_all_roles' keyword so that it will not
872 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
875 - added ->create method which now supports roles (thanks to jrockway)
876 - added tests for this
877 - added ->create_anon_class which now supports roles and caching of
878 the results (thanks to jrockway)
879 - added tests for this
880 - made ->does_role a little more forgiving when it is
881 checking a Class::MOP era metaclasses.
883 * Moose::Meta::Role::Application::ToInstance
884 - it is now possible to pass extra params to be used when
885 a role is applied to an the instance (rebless_params)
886 - added tests for this
888 * Moose::Util::TypeConstraints
889 - class_type now accepts an optional second argument for a
890 custom message. POD anotated accordingly (groditi)
891 - added tests for this
892 - it is now possible to make anon-enums by passing 'enum' an
893 ARRAY ref instead of the $name => @values. Everything else
895 - added tests for this
898 - making test for using '+name' on attributes consumed
899 from a role, it works and makes sense too.
901 * Moose::Meta::Attribute
902 - fix handles so that it doesn't return nothing
903 when the method cannot be found, not sure why
904 it ever did this originally, this means we now
905 have slightly better support for AUTOLOADed
907 - added more delegation tests
908 - adding ->does method to this so as to better
909 support traits and their introspection.
910 - added tests for this
913 - localizing the Data::Dumper configurations so
914 that it does not pollute others (RT #33509)
915 - made ->does a little more forgiving when it is
916 passed Class::MOP era metaclasses.
918 0.38 Fri. Feb. 15, 2008
919 * Moose::Meta::Attribute
920 - fixed initializer to correctly do
921 type checking and coercion in the
923 - added tests for this
926 - fixed some finicky tests (thanks to konobi)
928 0.37 Thurs. Feb. 14, 2008
930 - fixed some details in Moose::init_meta
931 and its superclass handling (thanks thepler)
932 - added tests for this (thanks thepler)
933 - 'has' now dies if you don't pass in name
935 - added the 'make_immutable' keyword as a shortcut
939 Moose::Meta::Method::Constructor
940 Moose::Meta::Attribute
941 - making (init_arg => undef) work here too
942 (thanks to nothingmuch)
944 * Moose::Meta::Attribute
945 Moose::Meta::Method::Constructor
946 Moose::Meta::Method::Accessor
947 - make lazy attributes respect attr initializers (rjbs)
948 - added tests for this
950 * Moose::Util::TypeConstraints
951 Moose::Util::TypeConstraints::OptimizedConstraints
952 Moose::Meta::TypeConstraints
953 Moose::Meta::Attribute
954 Moose::Meta::Method::Constructor
955 Moose::Meta::Method::Accessor
956 - making type errors use the
957 assigned message (thanks to Sartak)
958 - added tests for this
960 * Moose::Meta::Method::Destructor
961 - making sure DESTROY gets inlined properly
962 with successive DEMOLISH calls (thanks to manito)
964 * Moose::Meta::Attribute
965 Moose::Meta::Method::Accessor
966 - fixed handling of undef with type constraints
968 - added tests for this
971 - added &get_all_init_args and &get_all_attribute_values
972 (thanks to Sartak and nothingmuch)
974 0.36 Sat. Jan. 26, 2008
976 Moose::Meta::Attribute
977 - role type tests now support when roles are
978 applied to non-Moose classes (found by ash)
979 - added tests for this (thanks to ash)
980 - couple extra tests to boost code coverage
982 * Moose::Meta::Method::Constructor
983 - improved fix for handling Class::MOP attributes
984 - added test for this
987 - handled the add_attribute($attribute_meta_object)
989 - added test for this
991 0.35 Tues. Jan. 22, 2008
992 * Moose::Meta::Method::Constructor
993 - fix to make sure even Class::MOP attributes
994 are handled correctly (Thanks to Dave Rolsky)
995 - added test for this (also Dave Rolsky)
998 - improved error message on _apply_all_roles,
999 you should now use Moose::Util::apply_all_roles
1000 and you shouldnt have been using a _ prefixed
1001 method in the first place ;)
1003 0.34 Mon. Jan. 21, 2008
1004 ~~~ more misc. doc. fixes ~~~
1005 ~~ updated copyright dates ~~
1007 Moose is now a postmodern object system :)
1008 - (see the POD for details)
1010 * <<Role System Refactoring>>
1011 - this release contains a major reworking and
1012 cleanup of the role system
1013 - 100% backwards compat.
1014 - Role application now restructured into seperate
1015 classes based on type of applicants
1016 - Role summation (combining of more than one role)
1017 is much cleaner and anon-classes are no longer
1018 used in this process
1019 - new Composite role metaclass
1020 - runtime application of roles to instances
1021 is now more efficient and re-uses generated
1022 classes when applicable
1024 * <<New Role composition features>>
1025 - methods can now be excluded from a given role
1027 - methods can now be aliased to another name (and
1028 still retain the original as well)
1030 * Moose::Util::TypeConstraints::OptimizedConstraints
1031 - added this module (see above)
1033 * Moose::Meta::Class
1034 - fixed the &_process_attribute method to be called
1035 by &add_attribute, so that the API is now correct
1037 * Moose::Meta::Method::Accessor
1038 - fixed bug when passing a list of values to
1039 an accessor would get (incorrectly) ignored.
1040 Thanks to Sartak for finding this ;)
1041 - added tests for this (Sartak again)
1043 * Moose::Meta::Method::Accessor
1044 Moose::Meta::Method::Constructor
1045 Moose::Meta::Attribute
1046 Moose::Meta::TypeConstraint
1047 Moose::Meta::TypeCoercion
1048 - lots of cleanup of such things as:
1050 - type constraint handling
1051 - error handling/messages
1052 (thanks to nothingmuch)
1054 * Moose::Meta::TypeConstraint::Parameterizable
1055 - added this module to support the refactor
1056 in Moose::Meta::TypeConstraint::Parameterized
1058 * Moose::Meta::TypeConstraint::Parameterized
1059 - refactored how these types are handled so they
1060 are more generic and not confined to ArrayRef
1064 - shortened some file names for better VMS support (RT #32381)
1066 0.33 Fri. Dec. 14, 2007
1067 !! Moose now loads 2 x faster !!
1068 !! with new Class::MOP 0.49 !!
1070 ++ new oose.pm module to make command line
1071 Moose-ness easier (see POD docs for more)
1073 * Moose::Meta::Class
1075 - several tweaks to take advantage of the
1076 new method map caching in Class::MOP
1078 * Moose::Meta::TypeConstraint::Parameterized
1079 - allow subtypes of ArrayRef and HashRef to
1080 be used as a container (sartak)
1081 - added tests for this
1082 - basic support for coercion to ArrayRef and
1083 HashRef for containers (sartak)
1084 - added tests for this
1086 * Moose::Meta::TypeCoercion
1087 - coercions will now create subtypes as needed
1088 so you can now add coercions to parameterized
1089 types without having to explictly define them
1090 - added tests for this
1092 * Moose::Meta::Method::Accessor
1093 - allow subclasses to decide whether we need
1094 to copy the value into a new variable (sartak)
1096 0.32 Tues. Dec. 4, 2007
1097 * Moose::Util::TypeConstraints
1098 - fixing how subtype aliases of unions work
1099 they should inherit the parent's coercion
1100 - added tests for this
1101 - you can now define multiple coercions on
1102 a single type at different times instead of
1103 having to do it all in one place
1104 - added tests for this
1106 * Moose::Meta::TypeConstraint
1107 - there is now a default constraint of sub { 1 }
1108 instead of Moose::Util::TypeConstraints setting
1111 * Moose::Meta::TypeCoercion
1112 * Moose::Meta::TypeCoercion::Union
1113 - added the &has_coercion_for_type and
1114 &add_type_coercions methods to support the
1115 new features above (although you cannot add
1116 more type coercions for Union types)
1118 0.31 Mon. Nov. 26, 2007
1119 * Moose::Meta::Attribute
1120 - made the +attr syntax handle extending types with
1121 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1122 now works if the original foo is an ArrayRef.
1123 - added tests for this.
1124 - delegation now works even if the attribute does not
1125 have a reader method using the get_read_method_ref
1126 method from Class::MOP::Attribute.
1127 - added tests for this
1128 - added docs for this
1130 * Moose::Util::TypeConstraints
1131 - passing no "additional attribute info" to
1132 &find_or_create_type_constraint will no longer
1133 attempt to create an __ANON__ type for you,
1134 instead it will just return undef.
1135 - added docs for this
1137 0.30 Fri. Nov. 23, 2007
1138 * Moose::Meta::Method::Constructor
1139 -builder related bug in inlined constructor. (groditi)
1141 * Moose::Meta::Method::Accessor
1142 - genereate unnecessary calls to predicates and refactor
1143 code generation for runtime speed (groditi)
1145 * Moose::Util::TypeConstraints
1146 - fix ClassName constraint to introspect symbol table (mst)
1147 - added more tests for this (mst)
1148 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1149 with work correctly.
1150 - added tests for this
1153 - adding the link to Recipie 11 (written by Sartak)
1154 - adding test for SYNOPSIS code
1157 - New tests for builder bug. Upon instantiation, if an
1158 attribute had a builder, no value and was not lazy the
1159 builder default was not getting run, oops. (groditi)
1161 0.29 Tues. Nov. 13, 2007
1162 * Moose::Meta::Attribute
1163 - Fix error message on missing builder method (groditi)
1165 * Moose::Meta::Method::Accessor
1166 - Fix error message on missing builder method (groditi)
1169 - Add test to check for the correct error message when
1170 builder method is missing (groditi)
1172 0.28 Tues. Nov. 13, 2007
1173 - 0.27 packaged incorrectly (groditi)
1175 0.27 Tues. Nov. 13, 2007
1176 * Moose::Meta::Attribute
1177 - Added support for the new builder option (groditi)
1178 - Added support for lazy_build option (groditi)
1179 - Changed slot initialization for predicate changes (groditi)
1181 * Moose::Meta::Method::Accessor
1182 - Added support for lazy_build option (groditi)
1183 - Fix inline methods to work with corrected predicate
1186 * Moose::Meta::Method::Constructor
1187 - Added support for lazy_build option (groditi)
1190 - tests for builder and lazy_build (groditi)
1192 * fixing some misc. bits in the docs that
1193 got mentioned on CPAN Forum & perlmonks
1196 - fixed how required methods are handled
1197 when they encounter overriden or modified
1198 methods from a class (thanks to confound).
1199 - added tests for this
1201 * Moose::Util::TypeConstraint
1202 - fixed the type notation parser so that
1203 the | always creates a union and so is
1204 no longer a valid type char (thanks to
1205 konobi, mugwump and #moose for working
1207 - added more tests for this
1209 0.26 Thurs. Sept. 27, 2007
1212 * Parameterized Types
1213 We now support parameterized collection types, such as:
1214 ArrayRef[Int] # array or integers
1215 HashRef[Object] # a hash with object values
1216 They can also be nested:
1217 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
1218 And work with the type unions as well:
1219 ArrayRef[Int | Str] # array of integers of strings
1221 * Better Framework Extendability
1222 Moose.pm is now "extendable" such that it is now much
1223 easier to extend the framework and add your own keywords
1224 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1225 section of the Moose.pm docs.
1228 In an effort to begin documenting some of the various
1229 details of Moose as well as some common idioms, we have
1230 created Moose::Cookbook::Snacks as a place to find
1231 small (easily digestable) nuggets of Moose code.
1234 ~ Several doc updates/cleanup thanks to castaway ~
1236 - converted build system to use Module::Install instead of
1237 Module::Build (thanks to jrockway)
1240 - added all the meta classes to the immutable list and
1241 set it to inline the accessors
1242 - fix import to allow Sub::Exporter like { into => }
1243 and { into_level => } (perigrin)
1244 - exposed and documented init_meta() to allow better
1245 embedding and extending of Moose (perigrin)
1248 - complete re-organization of the test suite
1249 - added some new tests as well
1250 - finally re-enabled the Moose::POOP test since
1251 the new version of DBM::Deep now works again
1254 * Moose::Meta::Class
1255 - fixed very odd and very nasty recursion bug with
1257 - added tests for this (eilara)
1259 * Moose::Meta::Attribute
1260 Moose::Meta::Method::Constructor
1261 Moose::Meta::Method::Accessor
1262 - fixed issue with overload::Overloaded getting called
1263 on non-blessed items. (RT #29269)
1264 - added tests for this
1266 * Moose::Meta::Method::Accessor
1267 - fixed issue with generated accessor code making
1268 assumptions about hash based classes (thanks to dexter)
1270 * Moose::Coookbook::Snacks
1271 - these are bits of documentation, not quite as big as
1272 Recipes but which have no clear place in the module docs.
1273 So they are Snacks! (horray for castaway++)
1275 * Moose::Cookbook::Recipe4
1276 - updated it to use the new ArrayRef[MyType] construct
1277 - updated the accompanying test as well
1279 +++ Major Refactor of the Type Constraint system +++
1280 +++ with new features added as well +++
1282 * Moose::Util::TypeConstraint
1283 - no longer uses package variable to keep track of
1284 the type constraints, now uses the an instance of
1285 Moose::Meta::TypeConstraint::Registry to do it
1286 - added more sophisticated type notation parsing
1288 - added tests for this
1290 * Moose::Meta::TypeConstraint
1291 - some minor adjustments to make subclassing easier
1292 - added the package_defined_in attribute so that we
1293 can track where the type constraints are created
1295 * Moose::Meta::TypeConstraint::Union
1296 - this is now been refactored to be a subclass of
1297 Moose::Meta::TypeConstraint
1299 * Moose::Meta::TypeCoercion::Union
1300 - this has been added to service the newly refactored
1301 Moose::Meta::TypeConstraint::Union and is itself
1302 a subclass of Moose::Meta::TypeCoercion
1304 * Moose::Meta::TypeConstraint::Parameterized
1305 - added this module (taken from MooseX::AttributeHelpers)
1306 to help construct nested collection types
1307 - added tests for this
1309 * Moose::Meta::TypeConstraint::Registry
1310 - added this class to keep track of type constraints
1312 0.25 Mon. Aug. 13, 2007
1314 - Documentation update to reference Moose::Util::TypeConstraints
1315 under 'isa' in 'has' for how to define a new type
1316 (thanks to shlomif).
1318 * Moose::Meta::Attribute
1319 - required attributes now will no longer accept undef
1320 from the constructor, even if there is a default and lazy
1321 - added tests for this
1322 - default subroutines must return a value which passes the
1324 - added tests for this
1326 * Moose::Meta::Attribute
1327 * Moose::Meta::Method::Constructor
1328 * Moose::Meta::Method::Accessor
1329 - type-constraint tests now handle overloaded objects correctly
1330 in the error message
1331 - added tests for this (thanks to EvanCarroll)
1333 * Moose::Meta::TypeConstraint::Union
1334 - added (has_)hand_optimized_constraint to this class so that
1335 it behaves as the regular Moose::Meta::TypeConstraint does.
1338 - large refactoring of this code
1339 - added several more tests
1340 - tests for subtle conflict resolition issues
1341 added, but not currently running
1344 * Moose::Cookbook::Recipe7
1345 - added new recipe for augment/inner functionality
1347 - added test for this
1350 - a formal definition of roles (still in progress)
1353 - utilities for easier working with Moose classes
1354 - added tests for these
1357 - This contains Moose specific test functions
1358 - added tests for these
1360 0.24 Tues. July 3, 2007
1361 ~ Some doc updates/cleanup ~
1363 * Moose::Meta::Attribute
1364 - added support for roles to be given as parameters
1365 to the 'handles' option.
1366 - added tests and docs for this
1367 - the has '+foo' attribute form now accepts changes to
1368 the lazy option, and the addition of a handles option
1369 (but not changing the handles option)
1370 - added tests and docs for this
1373 - required methods are now fetched using find_method_by_name
1374 so that required methods can come from superclasses
1375 - adjusted tests for this
1377 0.23 Mon. June 18, 2007
1378 * Moose::Meta::Method::Constructor
1379 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1380 * Moose::Meta::Class
1381 - Modify make_immutable to work with the new Class::MOP immutable
1382 mechanism + POD + very basic test (groditi)
1383 * Moose::Meta::Attribute
1384 - Fix handles to use goto() so that caller() comes out properly on
1385 the other side (perigrin)
1387 0.22 Thurs. May 31, 2007
1388 * Moose::Util::TypeConstraints
1389 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1390 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1391 prototypes for functions
1392 - added the ClassName type constraint, this checks for strings
1393 which will respond true to ->isa(UNIVERSAL).
1394 - added tests and docs for this
1395 - subtyping just in name now works correctly by making the
1396 default for where be { 1 }
1397 - added test for this
1399 * Moose::Meta::Method::Accessor
1400 - coerce and lazy now work together correctly, thanks to
1401 merlyn for finding this bug
1402 - tests added for this
1403 - fix reader presedence bug in Moose::Meta::Attribute + tests
1406 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1407 a HASH-ref and missed. This produces better error messages then
1408 having it die cause undef is not a HASH.
1409 - added tests for this
1411 0.21 Thursday, May 2nd, 2007
1413 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1414 - modified unimport to remove super and inner along with the rest
1415 - altered unimport tests to handle this
1418 - altered super export to populate SUPER_SLOT
1420 * Moose::Meta::Class
1421 - altered augment and override modifier application to use *_SLOT
1422 - modified tests for these to unimport one test class each to test
1425 - fixed issue where custom attribute metaclasses
1426 where not handled correctly in roles
1427 - added tests for this
1429 * Moose::Meta::Class
1430 - fixed issue where extending metaclasses with
1431 roles would blow up. Thanks to Aankhen`` for
1432 finding this insidious error, and it's solution.
1434 ~~ lots of spelling and grammer fixes in the docs,
1435 many many thanks to rlb3 and Aankhen for these :)
1437 0.20 Friday, April 6th, 2007
1438 >> I messed up the SKIP logic in one test
1439 so this release is just to fix that.
1442 - 'has' now also accepts an ARRAY ref
1443 to create multiple attrs (see docs)
1444 (thanks to konobi for this)
1445 - added tests and docs
1447 0.19 Thurs. April 5th, 2007
1448 ~~ More documentation updates ~~
1450 * Moose::Util::TypeConstraints
1451 - 'type' now supports messages as well
1452 thanks to phaylon for finding this
1453 - added tests for this
1454 - added &list_all_type_constraints and
1455 &list_all_builtin_type_constraints
1456 functions to facilitate introspection.
1458 * Moose::Meta::Attribute
1459 - fixed regexp 'handles' declarations
1460 to build the list of delegated methods
1461 correctly (and not override important
1462 things like &new) thanks to ashleyb
1464 - added tests and docs for this
1465 - added the 'documentation' attributes
1466 so that you can actually document your
1467 attributes and inspect them through the
1469 - added tests and docs for this
1471 * Moose::Meta::Class
1472 - when loading custom attribute metaclasses
1473 it will first look in for the class in the
1474 Moose::Meta::Attribute::Custom::$name, and
1475 then default to just loading $name.
1476 - added tests and docs for this
1478 * Moose::Meta::TypeConstraint
1479 - type constraints now stringify to their names.
1480 - added test for this
1483 - added tests to assure we work with Module::Refresh
1484 - added stricter test skip logic in the Moose POOP
1485 test, ask Rob Kinyon why.
1486 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1488 0.18 Sat. March 10, 2007
1489 ~~ Many, many documentation updates ~~
1492 - We now use Class::MOP::load_class to
1494 - added tests to show types and subtypes
1495 working with Declare::Constraints::Simple
1496 and Test::Deep as constraint engines.
1499 !! You must have Class::MOP 0.37_001 !!
1500 !! for this developer release to work !!
1502 This release was primarily adding the immutable
1503 feature to Moose. An immutable class is one which
1504 you promise not to alter. When you set the class
1505 as immutable it will perform various bits of
1506 memoization and inline certain part of the code
1507 (constructors, destructors and accessors). This
1508 minimizes (and in some cases totally eliminates)
1509 one of Moose's biggest performance hits. This
1510 feature is not on by default, and is 100% optional.
1511 It has several configurable bits as well, so you
1512 can pick and choose to your specific needs.
1514 The changes involved in this were fairly wide and
1515 highly specific, but 100% backwards compatible, so
1516 I am not going to enumerate them here. If you are
1517 truely interested in what was changed, please do
1520 0.17 Tues. Nov. 14, 2006
1521 * Moose::Meta::Method::Accessor
1522 - bugfix for read-only accessors which
1523 are have a type constraint and lazy.
1524 Thanks to chansen for finding it.
1526 0.16 Tues. Nov. 14, 2006
1528 There are some speed improvements in this release,
1529 but they are only the begining, so stay tuned.
1532 - BUILDALL and DEMOLISHALL no longer get
1533 called unless they actually need to be.
1534 This gave us a signifigant speed boost
1535 for the cases when there is no BUILD or
1536 DEMOLISH method present.
1538 * Moose::Util::TypeConstraints
1539 * Moose::Meta::TypeConstraint
1540 - added an 'optimize_as' option to the
1541 type constraint, which allows for a
1542 hand optimized version of the type
1543 constraint to be used when possible.
1544 - Any internally created type constraints
1545 now provide an optimized version as well.
1547 0.15 Sun. Nov. 5, 2006
1549 This version of Moose *must* have Class::MOP 0.36 in order
1550 to work correctly. A number of small internal tweaks have
1551 been made in order to be compatible with that release.
1553 * Moose::Util::TypeConstraints
1554 - added &unimport so that you can clean out
1555 your class namespace of these exported
1558 * Moose::Meta::Class
1559 - fixed minor issue which occasionally
1560 comes up during global destruction
1562 - moved Moose::Meta::Method::Overriden into
1566 - moved Moose::Meta::Role::Method into
1569 * Moose::Meta::Attribute
1570 - changed how we do type checks so that
1571 we reduce the overall cost, but still
1574 - moved accessor generation methods to
1575 Moose::Meta::Method::Accessor to
1576 conform to the API changes from
1579 * Moose::Meta::TypeConstraint
1580 - changed how constraints are compiled
1581 so that we do less recursion and more
1582 iteration. This makes the type check
1584 - moved Moose::Meta::TypeConstraint::Union
1587 * Moose::Meta::Method::Accessor
1588 - created this from methods formerly found in
1589 Moose::Meta::Attribute
1591 * Moose::Meta::Role::Method
1592 - moved this from Moose::Meta::Role
1594 * Moose::Meta::Method::Overriden
1595 - moved this from Moose::Meta::Class
1597 * Moose::Meta::TypeConstraint::Union
1598 - moved this from Moose::Meta::TypeConstraint
1600 0.14 Mon. Oct. 9, 2006
1602 * Moose::Meta::Attribute
1603 - fixed lazy attributes which were not getting
1604 checked with the type constraint (thanks ashley)
1605 - added tests for this
1606 - removed the over-enthusiastic DWIMery of the
1607 automatic ArrayRef and HashRef defaults, it
1608 broke predicates in an ugly way.
1609 - removed tests for this
1611 0.13 Sat. Sept. 30, 2006
1613 This version of Moose *must* have Class::MOP 0.35 in order
1614 to work correctly. A number of small internal tweaks have
1615 been made in order to be compatible with that release.
1618 - Removed the use of UNIVERSAL::require to be a better
1619 symbol table citizen and remove a dependency
1620 (thanks Adam Kennedy)
1622 **~~ removed experimental & undocumented feature ~~**
1623 - commented out the 'method' and 'self' keywords, see the
1624 comments for more info.
1627 - added a FAQ and WTF files to document frequently
1628 asked questions and common problems
1630 * Moose::Util::TypeConstraints
1631 - added GlobRef and FileHandle type constraint
1632 - added tests for this
1634 * Moose::Meta::Attribute
1635 - if your attribute 'isa' ArrayRef of HashRef, and you have
1636 not explicitly set a default, then make the default DWIM.
1637 This will also work for subtypes of ArrayRef and HashRef
1639 - you can now auto-deref subtypes of ArrayRef or HashRef too.
1640 - new test added for this (thanks to ashley)
1643 - added basic support for runtime role composition
1644 but this is still *highly experimental*, so feedback
1645 is much appreciated :)
1646 - added tests for this
1648 * Moose::Meta::TypeConstraint
1649 - the type constraint now handles the coercion process
1650 through delegation, this is to support the coercion
1653 * Moose::Meta::TypeConstraint::Union
1654 - it is now possible for coercions to be performed
1656 - added tests for this (thanks to konobi)
1658 * Moose::Meta::TypeCoercion
1659 - properly capturing error when type constraint
1663 - Scalar::Util 1.18 is bad on Win32, so temporarily
1664 only require version 1.17 for Win32 and cygwin.
1665 (thanks Adam Kennedy)
1667 0.12 Sat. Sept. 1, 2006
1669 - Recipe5 (subtypes & coercion) has been written
1672 - fixed "bad meta" error message to be more descriptive
1673 - fixed &unimport to not remove the &inner and &super
1674 keywords because we need to localize them.
1675 - fixed number of spelling/grammer issues, thanks Theory :)
1677 **~~ experimental & undocumented feature ~~**
1678 - added the method and self keywords, they are basically
1679 just sugar, and they may not stay around.
1682 - added &dump method to easily Data::Dumper
1685 * Moose::Meta::TypeConstraint
1686 - added the &is_a_type_of method to check both the current
1687 and the subtype of a method (similar to &isa with classes)
1690 - this is now a subclass of Class::MOP::Module, and no longer
1691 creates the _role_meta ugliness of before.
1692 - fixed tests to reflect this change
1694 0.11 Wed. July 12, 2006
1696 - added an &unimport method to remove all the keywords
1697 that Moose will import, simply add 'no Moose' to the
1698 bottom of your class file.
1701 - fixed some test failures caused by a forgotten test
1704 0.10 Thurs. July 6, 2006
1706 - improved error message when loading modules so
1707 it is less confusing when you load a role.
1708 - added &calculate_all_roles method to
1709 Moose::Meta::Class and Moose::Meta::Role
1712 This module has been tested against Class::MOP 0.30
1713 but it does not yet utilize the optimizations
1714 it makes available. Stay tuned for that ;)
1716 0.09_03 Fri. June 23, 2006
1717 ++ DEVELOPER RELEASE ++
1719 - 'use strict' and 'use warnings' are no longer
1720 needed in Moose classes, Moose itself will
1721 turn them on for you.
1722 - added tests for this
1723 - moved code from exported subs to private methods
1724 in Moose::Meta::Class
1727 - as with Moose, strict and warnings are
1728 automatically turned on for you.
1729 - added tests for this
1732 - now handles an edge case for override errors
1733 - added tests for this
1734 - added some more edge case tests
1736 0.09_02 Tues. May 16, 2006
1737 ++ DEVELOPER RELEASE ++
1739 - added prototypes to the exported subs
1743 - added prototypes to the exported subs
1746 * Moose::Util::TypeConstraints
1747 - cleaned up prototypes for the subs
1750 0.09_01 Fri. May 12, 2006
1751 ++ DEVELOPER RELEASE ++
1752 - This release works in combination with
1753 Class::MOP 0.29_01, it is a developer
1754 release because it uses the a new
1755 instance sub-protocol and a fairly
1756 complete Role implementation. It has
1757 not yet been optimized, so it slower
1758 the the previous CPAN version. This
1759 release also lacks good updated docs,
1760 the official release will have updated docs.
1763 - refactored the keyword exports
1764 - 'with' now checks Role validaity and
1765 accepts more than one Role at a time
1766 - 'extends' makes metaclass adjustments as
1767 needed to ensure metaclass compatibility
1770 - refactored the keyword exports
1771 - 'with' now checks Role validaity and
1772 accepts more than one Role at a time
1774 * Moose::Util::TypeConstraints
1775 - added the 'enum' keyword for simple
1776 string enumerations which can be used as
1778 - see example of usage in t/202_example.t
1781 - more careful checking of params to new()
1784 - much work done on the role composition
1785 - many new tests for conflict detection
1786 and composition edge cases
1787 - not enough documentation, I suggest
1788 looking at the tests
1790 * Moose::Meta::Instance
1791 - added new Instance metaclass to support
1792 the new Class::MOP instance protocol
1794 * Moose::Meta::Class
1795 - some small changes to support the new
1797 - some small additions to support Roles
1799 * Moose::Meta::Attribute
1800 - some improvements to the accessor generation code
1802 - some small changes to support the new
1804 - (still somewhat) experimental delegation support
1805 with the 'handles' option
1806 - added several tests for this
1807 - no docs for this yet
1809 0.05 Thurs. April 27, 2006
1811 - keywords are now exported with Sub::Exporter
1812 thanks to chansen for this commit
1813 - has keyword now takes a 'metaclass' option
1814 to support custom attribute meta-classes
1815 on a per-attribute basis
1816 - added tests for this
1817 - the 'has' keyword not accepts inherited slot
1818 specifications (has '+foo'). This is still an
1819 experimental feature and probably not finished
1820 see t/038_attribute_inherited_slot_specs.t for
1821 more details, or ask about it on #moose
1822 - added tests for this
1825 - keywords are now exported with Sub::Exporter
1827 * Moose::Utils::TypeConstraints
1828 - reorganized the type constraint hierarchy, thanks
1829 to nothingmuch and chansen for his help and advice
1831 - added some tests for this
1832 - keywords are now exported with Sub::Exporter
1833 thanks to chansen for this commit
1835 * Moose::Meta::Class
1836 - due to changes in Class::MOP, we had to change
1837 construct_instance (for the better)
1839 * Moose::Meta::Attribute
1840 - due to changes in Class::MOP, we had to add the
1841 initialize_instance_slot method (it's a good thing)
1843 * Moose::Meta::TypeConstraint
1844 - added type constraint unions
1845 - added tests for this
1846 - added the is_subtype_of predicate method
1847 - added tests for this
1849 0.04 Sun. April 16th, 2006
1851 - Roles can now consume other roles
1852 - added tests for this
1853 - Roles can specify required methods now with
1854 the requires() keyword
1855 - added tests for this
1858 - ripped out much of it's guts ,.. much cleaner now
1859 - added required methods and correct handling of
1860 them in apply() for both classes and roles
1861 - added tests for this
1862 - no longer adds a does() method to consuming classes
1863 it relys on the one in Moose::Object
1864 - added roles attribute and some methods to support
1865 roles consuming roles
1867 * Moose::Meta::Attribute
1868 - added support for triggers on attributes
1869 - added tests for this
1870 - added support for does option on an attribute
1871 - added tests for this
1873 * Moose::Meta::Class
1874 - added support for attribute triggers in the
1876 - added tests for this
1879 - Moose no longer creates a subtype for your class
1880 if a subtype of the same name already exists, this
1881 should DWIM in 99.9999% of all cases
1883 * Moose::Util::TypeConstraints
1884 - fixed bug where incorrect subtype conflicts were
1886 - added test for this
1889 - this class can now be extended with 'use base' if
1890 you need it, it properly loads the metaclass class now
1891 - added test for this
1893 0.03_02 Wed. April 12, 2006
1895 - you must now explictly use Moose::Util::TypeConstraints
1896 it no longer gets exported for you automatically
1899 - new() now accepts hash-refs as well as key/value lists
1900 - added does() method to check for Roles
1901 - added tests for this
1903 * Moose::Meta::Class
1904 - added roles attribute along with the add_role() and
1906 - added tests for this
1909 - now adds a does() method to consuming classes
1910 which tests the class's hierarchy for roles
1911 - added tests for this
1913 0.03_01 Mon. April 10, 2006
1915 - added new Role recipe (no content yet, only code)
1918 - added 'with' keyword for Role support
1919 - added test and docs for this
1920 - fixed subtype quoting bug
1921 - added test for this
1925 - added test and docs
1927 * Moose::Util::TypeConstraints
1928 - added the message keyword to add custom
1929 error messages to type constraints
1932 - the meta role to support Moose::Role
1933 - added tests and docs
1935 * Moose::Meta::Class
1936 - moved a number of things from Moose.pm
1937 to here, they should have been here
1940 * Moose::Meta::Attribute
1941 - moved the attribute option macros here
1942 instead of putting them in Moose.pm
1944 * Moose::Meta::TypeConstraint
1945 - added the message attributes and the
1947 - added tests and docs for this
1949 0.03 Thurs. March 30, 2006
1951 - added the Moose::Cookbook with 5 recipes,
1952 describing all the stuff Moose can do.
1955 - fixed an issue with &extends super class loading
1956 it now captures errors and deals with inline
1957 packages correctly (bug found by mst, solution
1959 - added super/override & inner/augment features
1960 - added tests and docs for these
1963 - BUILDALL now takes a reference of the %params
1964 that are passed to &new, and passes that to
1967 * Moose::Util::TypeConstraints
1968 - Type constraints now survive runtime reloading
1969 - added test for this
1971 * Moose::Meta::Class
1972 - fixed the way attribute defaults are handled
1973 during instance construction (bug found by chansen)
1975 * Moose::Meta::Attribute
1976 - read-only attributes now actually enforce their
1977 read-only-ness (this corrected in Class::MOP as
1980 0.02 Tues. March 21, 2006
1982 - many more tests, fixing some bugs and
1984 - &extends now loads the base module with
1986 - added UNIVERSAL::require to the
1989 - each new Moose class will also create
1990 and register a subtype of Object which
1991 correspond to the new Moose class.
1992 - the 'isa' option in &has now only
1993 accepts strings, and will DWIM in
1996 * Moose::Util::TypeConstraints
1997 - added type coercion features
1998 - added tests for this
1999 - added support for this in attributes
2000 and instance construction
2002 - type construction no longer creates a
2003 function, it registers the type instead.
2004 - added several functions to get the
2008 - BUILDALL and DEMOLISHALL were broken
2009 because of a mis-named hash key, Whoops :)
2011 * Moose::Meta::Attribute
2012 - adding support for coercion in the
2013 autogenerated accessors
2015 * Moose::Meta::Class
2016 - adding support for coercion in the
2017 instance construction
2019 * Moose::Meta::TypeConstraint
2020 * Moose::Meta::TypeCoercion
2021 - type constraints and coercions are now
2022 full fledges meta-objects
2024 0.01 Wed. March 15, 2006
2025 - Moooooooooooooooooose!!!