Version 1.06
[gitmo/Moose.git] / Changes
1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
3
4 1.06 Tue, Jun 01, 2010
5
6   [NEW FEATURES]
7
8   * Added '0+' overloading in Moose::Meta::TypeConstraint so that we can
9     more uniformly compare type constraints between 'classic' Moose type
10     constraints and MooseX::Types based type constraints.
11
12 1.05 Thu, May 20, 2010
13
14   [API CHANGES]
15
16   * Packages and modules no longer have methods - this functionality was
17     moved back up into Moose::Meta::Class and Moose::Meta::Role individually
18     (through the Class::MOP::Mixin::HasMethods mixin) (doy).
19
20   * BUILDALL is now called by Moose::Meta::Class::new_object, rather than by
21     Moose::Object::new. (doy)
22
23   [NEW FEATURES]
24
25   * strict and warnings are now unimported when Moose, Moose::Role, or
26     Moose::Exporter are unimported. (doy, Adam Kennedy)
27
28   * Added a 'consumers' method to Moose::Meta::Role for finding all
29     classes/roles which consume the given role. (doy)
30
31   [BUG FIXES]
32
33   * Fix has '+attr' in Roles to explode immediately, rather than when the role
34     is applied to a class (t0m).
35
36   * Fix type constraint validation messages to not include the string 'failed'
37     twice in the same sentence (Florian Ragwitz).
38
39   * New type constraints will default to being unequal, rather than equal
40     (rjbs).
41
42   * The tests no longer check for perl's behavior of clobbering $@, which has
43     been fixed in perl-5.13.1 (Florian Ragwitz).
44
45   * Metaclass compatibility fixing has been completely rewritten, and should
46     be much more robust. (doy)
47
48 1.04 Thu, May 20, 2010
49
50   * This release was broken and has been deleted from CPAN shortly after its
51     upload.
52
53 1.03 Thu, May 06, 2010
54
55   [NEW FEATURES]
56
57   * Allow specifying required versions when setting superclasses or applying
58     roles (Florian Ragwitz).
59
60 1.02 Sat, May 01, 2010
61
62   [BUG FIXES]
63
64   * Stop the natatime method provided by the native Array trait from returning
65     an exhausted iterator when being called with a callback. (Florian Ragwitz)
66
67   * Make Moose::Meta::TypeConstraint::Class correctly reject RegexpRefs.
68     (Florian Ragwitz)
69
70   * Calling is_subtype_of on a Moose::Meta::TypeConstraint::Class with itself or
71     the class the TC represents as an argument incorrectly returned true. This
72     behavior is correct for is_type_of, not is_subtype_of. (Guillermo Roditi)
73
74   * Use File::Temp for temp files created during tests. Previously, files were
75     written to the t/ dir, which could cause problems of the user running the
76     tests did not have write access to that directory.. (Chris Weyl, Ævar
77     Arnfjörð Bjarmason)
78
79   * Pass role arguments along when applying roles to instances. (doy, lsm)
80
81 1.01 Fri, Mar 26, 2010
82
83   [NEW FEATURES]
84
85   * The handles option now also accepts a role type constraint in addition to a
86     plain role name. (Florian Ragwitz)
87
88   [OTHER]
89
90   * Record the Sartak/doy debt properly in Changes (perigrin)
91
92 1.00 Tue, Mar 25, 2010
93
94   [BUG FIXES]
95
96   * Moose::Meta::Attribute::Native::Trait::Code no longer creates reader
97     methods by default. (Florian Ragwitz)
98
99   [DOCUMENTATION]
100
101   * Improve various parts of the documentation and fix many typos.
102     (Dave Rolsky, Mateu Hunter, Graham Knop, Robin V, Jay Hannah, Jesse Luehrs)
103
104   [OTHER]
105
106   * Paid the $10 debt to doy from 0.80 Sat, Jun 6, 2009 (Sartak)
107
108 0.99 Mon, Mar 8, 2010
109
110   [NEW FEATURES]
111
112   * New method find_type_for in Moose::Meta::TypeConstraint::Union, for finding
113     which member of the union a given value validates for. (Cory Watson)
114
115   [BUG FIXES]
116
117   * DEMOLISH methods in mutable subclasses of immutable classes are now called
118     properly (Chia-liang Kao, Jesse Luehrs)
119
120   [NEW DOCUMENTATION]
121
122   * Added Moose::Manual::Support that defines the support, compatiblity, and
123     release policies for Moose. (Chris Prather)
124
125 0.98 Wed, Feb 10, 2010
126
127   [BUG FIXES]
128
129   * An internals change in 0.97 broke role application to an instance in some
130     cases. The bug occurred when two different roles were applied to different
131     instances of the same class. (Rafael Kitover)
132
133
134 0.97 Tue, Feb 9, 2010
135
136   [BUG FIXES]
137
138   * Calling ->reinitialize on a cached anonymous class effectively uncached
139     the metaclass object, causing the metaclass to go out of scope
140     unexpectedly. This could easily happen at a distance by applying a
141     metarole to an anonymous class. (Dave Rolsky).
142
143 0.96 Sat, Feb 6, 2010
144
145   [NEW FEATURES]
146
147   * ScalarRef is now a parameterized type. You can now specify a type
148     constraint for whatever the reference points to. (Closes RT#50857)
149     (Michael G. Schwern, Florian Ragwitz)
150
151   [BUG FIXES]
152
153   * ScalarRef now accepts references to other references. (Closes RT#50934)
154     (Michael G. Schwern)
155
156 0.95 Thu, Feb 4, 2010
157
158   [NEW FEATURES]
159
160   * Moose::Meta::Attribute::Native::Trait::Code now provides execute_method as
161     a delegation option. This allows the code reference to be called as a
162     method on the object. (Florian Ragwitz)
163
164   [ENHANCEMENTS]
165
166   * Moose::Object::does no longer checks the entire inheritance tree, since
167     Moose::Meta::Class::does_role already does this. (doy)
168
169   * Moose::Util::add_method_modifier (and subsequently the sugar functions
170     Moose::before, Moose::after, and Moose::around) can now accept arrayrefs,
171     with the same behavior as lists. Types other than arrayref and regexp
172     result in an error.  (Dylan Hardison)
173
174 0.94 Mon, Jan 18, 2010
175
176   [API CHANGES]
177
178   * Please see the changes listed for 0.93_01 and Moose::Manual::Delta.
179
180   [ENHANCEMENTS]
181
182   * Improved support for anonymous roles by changing various APIs to take
183     Moose::Meta::Role objects as well as role names. This included
184
185   - Moose::Meta::Class->does_role
186   - Moose::Meta::Role->does_role
187   - Moose::Util::does_role
188   - Moose::Util::apply_all_roles
189   - Moose::Util::ensure_all_roles
190   - Moose::Util::search_class_by_role
191
192   Requested by Shawn Moore. Addresses RT #51143 (and then some). (Dave Rolsky)
193
194   [BUG FIXES]
195
196   * Fix handling of non-alphanumeric attributes names like '@foo'. This should
197     work as long as the accessor method names are explicitly set to valid Perl
198     method names. Reported by Doug Treder. RT #53731. (Dave Rolsky)
199
200
201 0.93_03 Tue, Jan 5, 2010
202
203   [BUG FIXES]
204
205   * Portability fixes to our XS code so we compile with 5.8.8 and Visual
206     C++. Fixes RT #53391. Reported by Taro Nishino. (rafl)
207
208
209 0.93_02 Tue, Jan 5, 2010
210
211  [BUG FIXES]
212
213   * Depend on Class::MOP 0.97_01 so we can get useful results from CPAN
214     testers. (Dave Rolsky)
215
216
217 0.93_01 Mon, Jan 4, 2010
218
219   [API CHANGES]
220
221   See Moose::Manual::Delta for more details on backwards compatiblity issues.
222
223   * Role attributes are now objects of the Moose::Meta::Role::Attribute
224     class. (Dave Rolsky).
225
226   * There were major changes to how metaroles are applied. We now distinguish
227     between metaroles for classes vs those for roles. See the
228     Moose::Util::MetaRole docs for details. (Dave Rolsky)
229
230   * The old MetaRole API has been deprecated, but will continue to
231     work. However, if you are applying an attribute metaclass role, this may
232     break because of the fact that roles now have an attribute metaclass
233     too. (Dave Rolsky)
234
235   * Moose::Util::MetaRole::apply_metaclass_roles is now called
236     apply_metaroles. The old name is deprecated. Dave Rolsky>
237
238   * The unimport subs created by Moose::Exporter now clean up re-exported
239     functions like blessed and confess, unless the caller imported them from
240     somewhere else too. See Moose::Manua::Delta for backcompat details. (rafl)
241
242   [ENHANCEMENTS AND BUG FIXES]
243
244   * Changed the Str constraint to accept magic lvalue strings like one gets from
245     substr et al, again. (sorear)
246
247   * Sped up the type constraint parsing regex. (Sam Vilain)
248
249   * The Moose::Cookbook::Extending::Recipe2 recipe was broken. Fix suggested by
250     jrey.
251
252   * Added Moose::Util::TypeConstraints exports when using oose.pm to allow
253     easier testing of TypeConstraints from the command line. (perigrin)
254
255   * Added a with_immutable test function to Test::Moose, to run a block of tests
256     with and without certain classes being immutable. (doy)
257
258   * We now use Module::Install extensions explicitly to avoid confusing errors
259     if they're not installed. We use Module::Install::AuthorRequires to stop
260     test extraction and general failures if you don't have the author side
261     dependencies installed.
262
263   * Fixed a grammar error in Moose::Cookbook::Basics::Recipe4. rt.cpan.org
264     #51791. (Amir E. Aharoni)
265
266
267 0.93 Thu, Nov 19, 2009
268     * Moose::Object
269       - Calling $object->new() is no longer deprecated, and no longer
270         warns. (doy)
271
272     * Moose::Meta::Role
273       - The get_attribute_map method is now deprecated. (Dave Rolsky)
274
275     * Moose::Meta::Method::Delegation
276       - Preserve variable aliasing in @_ for delegated methods, so that
277         altering @_ affects the passed value. (doy)
278
279     * Moose::Util::TypeConstraints
280       - Allow array refs for non-anonymous form of enum and duck_type, not
281         just anonymous. The non-arrayref forms may be removed in the
282         future. (doy)
283       - Changed Str constraint to not accept globs (*STDIN or *FOO). (chansen)
284       - Properly document Int being a subtype of Str. (doy)
285
286     * Moose::Exporter
287       - Moose::Exporter using modules can now export their functions to the
288         main package. This applied to Moose and Moose::Role, among
289         others. (nothingmuch)
290
291     * Moose::Meta::Attribute
292       - Don't remove attribute accessors we never installed, during
293         remove_accessors. (doy)
294
295     * Moose::Meta::Attribute::Native::Trait::Array
296       - Don't bypass prototype checking when calling List::Util::first, to
297         avoid a segfault when it is called with a non-code argument. (doy)
298
299     * Moose::Meta::Attribute::Native::Trait::Code
300       - Fix passing arguments to code execute helpers. (doy)
301
302 0.92 Tue, Sep 22, 2009
303     * Moose::Util::TypeConstraints
304       - added the match_on_type operator (Stevan)
305         - added tests and docs for this (Stevan)
306
307     * Moose::Meta::Class
308       - Metaclass compat fixing should already happen recursively, there's no
309         need to explicitly walk up the inheritance tree. (doy)
310
311     * Moose::Meta::Attribute
312       - Add tests for set_raw_value and get_raw_value. (nothingmuch)
313
314 0.91 Thu, Sep 17, 2009
315     * Moose::Object
316       - Don't import any functions, in order to avoid polluting our namespace
317         with things that can look like methods (blessed, try, etc)
318         (nothingmuch)
319
320     * Moose::Meta::Method::Constructor
321       - The generated code needs to called Scalar::Util::blessed by its
322         fully-qualified name or else Perl can interpret the call to blessed as
323         an indirect method call. This broke Search::GIN, which in turn broke
324         KiokuDB. (nothingmuch)
325
326 0.90 Tue, Sep 15, 2009
327     * Moose::Meta::Attribute::Native::Trait::Counter
328     * Moose::Meta::Attribute::Native::Trait::String
329       - For these two traits, an attribute which did not explicitly provide
330         methods to handles magically ended up delegating *all* the helper
331         methods. This has been removed. You must be explicit in your handles
332         declaration for all Native Traits. (Dave Rolsky)
333
334     * Moose::Object
335       - DEMOLISHALL behavior has changed. If any DEMOLISH method dies, we make
336         sure to rethrow its error message. However, we also localize $@ before
337         this so that if all the DEMOLISH methods success, the value of $@ will
338         be preserved. (nothingmuch and Dave Rolsky)
339       - We now also localize $? during object destruction. (nothingmuch and
340         Dave Rolsky)
341       - The handling of DEMOLISH methods was broken for immutablized classes,
342         which were not receiving the value of
343         Devel::GlobalDestruction::in_global_destruction.
344       - These two fixes address some of RT #48271, reported by Zefram.
345       - This is all now documented in Moose::Manual::Construction.
346       - Calling $object->new() is now deprecated. A warning will be
347         issued. (perigrin)
348
349     * Moose::Meta::Role
350       - Added more hooks to customize how roles are applied. The role
351         summation class, used to create composite roles, can now be changed
352         and/or have meta-roles applied to it. (rafl)
353       - The get_method_list method no longer explicitly excludes the "meta"
354         method. This was a hack that has been replaced by better hacks. (Dave
355         Rolsky)
356
357     * Moose::Meta::Method::Delegation
358       - fixed delegated methods to make sure that any modifiers attached to
359         the accessor being delegated on will be called (Stevan)
360         - added tests for this (Stevan)
361
362     * Moose::Meta::Class
363       - Moose no longer warns when a class that is being made immutable has
364         mutable ancestors. While in theory this is a good thing to warn about,
365         we found so many exceptions to this that doing this properly became
366         quite problematic.
367
368 0.89_02 Thu, Sep 10, 2009
369     * Moose::Meta::Attribute::Native
370       - Fix Hash, which still had 'empty' instead of 'is_empty'. (hdp)
371
372     * Moose::Meta::Attribute::Native::Trait::Array
373       - Added a number of functions from List::Util and List::MoreUtils,
374         including reduce, shuffle, uniq, and natatime. (doy)
375
376     * Moose::Exporter
377       - This module will now generate an init_meta method for your exporting
378         class if you pass it options for
379         Moose::Util::MetaRole::apply_metaclass_roles or
380         apply_base_class_roles. This eliminates a lot of repetitive
381         boilerplate for typical MooseX modules. (doy).
382       - Documented the with_meta feature, which is a replacement for
383         with_caller. This feature was added by josh a while ago.
384       - The with_caller feature is now deprecated, but will not issue a
385         warning yet. (Dave Rolsky)
386       - If you try to wrap/export a subroutine which doesn't actually exist,
387         Moose::Exporter will warn you about this. (doy)
388
389     * Moose::Meta::Role::Application::ToRole
390       - When a role aliased a method from another role, it was only getting
391         the new (aliased) name, not the original name. This differed from what
392         happens when a class aliases a role's methods. If you _only_ want the
393         aliased name, make sure to also exclue the original name. (Dave
394         Rolsky)
395
396 0.89_01 Wed Sep 2, 2009
397     * Moose::Meta::Attribute
398       - Added the currying syntax for delegation from AttributeHelpers to the
399         existing delegation API. (hdp)
400
401     * Moose::Meta::Attribute::Native
402       - We have merged the functionality of MooseX::AttributeHelpers into the
403         Moose core with some API tweaks. You can continue to use
404         MooseX::AttributeHelpers, but it will not be maintained except
405         (perhaps) for critical bug fixes in the future. See
406         Moose::Manual::Delta for details. (hdp, jhannah, rbuels, Sartak,
407         perigrin, doy)
408
409     * Moose::Error::Croak
410     * Moose::Error::Confess
411       - Clarify documentation on how to use different error-throwing
412         modules. (Curtis Jewell)
413
414     * Moose
415       - Correct POD for builder to point to Recipe8, not 9. (gphat)
416
417     * Moose::Exporter
418       - When a nonexistent sub name is passed to as_is, with_caller, or
419         with_meta, throw a warning and skip the exporting, rather than
420         installing a broken sub. (doy)
421
422     * Moose::Meta::Class
423       - Moose now warns if you call C<make_immutable> for a class with mutable
424         ancestors. (doy)
425
426 0.89 Thu Aug 13, 2009
427     * Moose::Manual::Attributes
428       - Clarify "is", include discussion of "bare". (Sartak)
429
430     * Moose::Meta::Role::Method::Conflicting
431     * Moose::Meta::Role::Application::ToClass
432       - For the first set of roles involved in a conflict, report all
433         unresolved method conflicts, not just the first method. Fixes #47210
434         reported by Ovid. (Sartak)
435
436     * Moose::Meta::TypeConstraint
437       - Add assert_valid method to use a TypeConstraint for assertion (rjbs)
438
439     * Moose::Exporter
440       - Make "use Moose -metaclass => 'Foo'" do alias resolution, like -traits
441         does. (doy)
442       - Allow specifying role options (alias, excludes, MXRP stuff) in the
443         arrayref passed to "use Moose -traits" (doy)
444
445     * Moose::Util
446       - Add functions meta_class_alias and meta_attribute_alias for creating
447         aliases for class and attribute metaclasses and metatraits. (doy)
448
449     * Moose::Meta::Attribute
450     * Moose::Meta::Method::Accessor
451       - A trigger now receives the old value as a second argument, if the
452         attribute had one. (Dave Rolsky)
453
454     * Moose::Meta::Method::Constructor
455       - Fix a bug with $obj->new when $obj has stringify overloading.
456         Reported by Andrew Suffield [rt.cpan.org #47882] (Sartak)
457         - However, we will probably deprecate $obj->new, so please don't start
458           using it for new code!
459
460     * Moose::Meta::Role::Application
461     * Moose::Meta::Role::Application::RoleSummation
462       - Rename alias and excludes to -alias and -excludes (but keep the old
463         names for now, for backcompat) (doy)
464
465 0.88 Fri Jul 24, 2009
466     * Moose::Manual::Contributing
467       - Re-write the Moose::Manual::Contributing document to reflect
468         the new layout and methods of work for the Git repository. All
469         work now should be done in topic branches and reviewed by a
470         core committer before being applied to master. All releases
471         are done by a cabal member and merged from master to
472         stable. This plan was devised by Yuval, blame him. (perigrin)
473
474     * Moose::Meta::Role
475       - Create metaclass attributes for the different role application
476         classes.  (rafl)
477
478     * Moose::Util::MetaRole
479       - Allow applying roles to a meta role's role application
480         classes. (rafl)
481
482     * Moose::Meta::Attribute
483       - Add weak_ref to allowed options for "has '+foo'" (mst)
484
485     * Moose::Meta::Method::Accessor
486       - No longer uses inline_slot_access in accessors, to support
487         non-lvalue-based meta instances. (sorear)
488
489 0.87 Tue Jul 7, 2009
490     * Moose::Meta::Method::Delegation
491       - Once again allow class names as well as objects for
492         delegation. This was changed in 0.86.
493
494 0.86 Fri Jul 3, 2009
495     * Moose::Meta::Class::Immutable::Trait
496       - Fixes to work with the latest Class::MOP.
497
498     * Moose::Meta::Method::Delegation
499       - Delegation now dies with a more useful error message if the
500         attribute's accessor returns something defined but
501         unblessed. (hdp)
502
503 0.85 Fri, Jun 26, 2009
504     * Moose::Meta::Attribute
505       - The warning for 'no associated methods' is now split out into
506         the _check_associated_methods method, so that extensions can
507         safely call 'after install_accessors => ...'. This fixes a
508         warning from MooseX::AttributeHelpers. (hdp)
509
510 0.84 Fri, Jun 26, 2009
511     * Moose::Role
512       - has now sets definition_context for attributes defined in
513         roles. (doy)
514
515     * Moose::Meta::Attribute
516       - When adding an attribute to a metaclass, if the attribute has
517         no associated methods, it will give a deprecation
518         warning. (hdp)
519       - Methods generated by delegation were not being added to
520         associated_methods. (hdp)
521       - Attribute accessors (reader, writer, accessor, predicate,
522         clearer) now warn if they overwrite an existing method. (doy)
523       - Attribute constructors now warn very noisily about unknown (or
524         misspelled) arguments
525
526     * Moose::Util::TypeConstraints
527       - Deprecated the totally useless Role type name, which just
528         checked if $object->can('does'). Note that this is _not_ the
529         same as a type created by calling role_type('RoleName').
530
531     * Moose::Util::TypeConstraints
532     * Moose::Meta::TypeConstraint::DuckType
533       - Reify duck type from a regular subtype into an actual class
534         (Sartak)
535         - Document this because Sartak did all my work for me
536           (perigrin)
537
538     * Moose::Meta::Attribute
539       - Allow Moose::Meta::TypeConstraint::DuckType in handles, since
540         it is just a list of methods (Sartak)
541
542     * Moose::Meta::Role
543       - The get_*_method_modifiers methods would die if the role had
544         no modifiers of the given type (Robert Buels).
545
546 0.83 Tue, Jun 23, 2009
547     * Moose::Meta::Class
548       - Fix _construct_instance not setting the special __MOP__ object
549         key in instances of anon classes. (doy)
550
551 0.82 Sun, Jun 21, 2009
552     * Moose::Manual::Types
553       - Mention MooseX::Types early to avoid users falling down the
554         string parsing rathole (mst)
555
556     * Moose::Manual::MooseX
557       - Add warnings about class-level extensions and mention considering
558         using plain objects instead
559
560 0.81 Sun, Jun 7, 2009
561     * Bumped our Class::MOP prereq to the latest version (0.85), since
562       that's what we need.
563
564 0.80 Sat, Jun 6, 2009
565     * Moose::Manual::FAQ
566       - Add FAQ about the coercion change from 0.76 because it came up
567         three times today (perigrin)
568         - Win doy $10 dollars because Sartak didn't think anybody
569           would document this fast enough (perigrin)
570
571     * Moose::Meta::Method::Destructor
572       - Inline a DESTROY method even if there are no DEMOLISH methods
573         to prevent unnecessary introspection in
574         Moose::Object::DEMOLISHALL
575
576     * Moose::*
577       - A role's required methods are now represented by
578         Moose::Meta::Role::Method::Required objects. Conflicts are now
579         represented by Moose::Meta::Role::Method::Conflicting
580         objects. The benefit for end-users in that unresolved
581         conflicts generate different, more instructive, errors,
582         resolving Ovid's #44895. (Sartak)
583
584     * Moose::Role
585       - Improve the error message of "extends" as suggested by Adam
586         Kennedy and confound (Sartak)
587       - Link to Moose::Manual::Roles from Moose::Role as we now have
588         excellent documentation (Adam Kennedy)
589
590     * Tests
591       - Update test suite for subname change in Class::MOP
592         (nothingmuch)
593       - Add TODO test for infinite recursion in Moose::Meta::Class
594         (groditi)
595
596 0.79 Wed, May 13, 2009
597     * Tests
598       - More fixes for Win32 problems. Reported by Robert Krimen.
599
600     * Moose::Object
601       - The DEMOLISHALL method could still blow up in some cases
602         during global destruction. This method has been made more
603         resilient in the face of global destruction's random garbage
604         collection order.
605
606     * Moose::Exporter
607       - If you "also" a module that isn't loaded, the error message
608         now acknowledges that (Sartak)
609
610     * Moose
611       - When your ->meta method does not return a Moose::Meta::Class,
612         the error message gave the wrong output (Sartak)
613
614 0.78 Tue, May 12, 2009
615     * Moose::Cookbook::FAQ and Moose::Cookbook::WTF
616       - Merged these documents into what is now Moose::Manual::FAQ
617
618     * Moose::Unsweetened
619       - Moved to Moose::Manual::Unsweetened
620
621     * Moose::Cookbook::Basics::Recipes 9-12
622       - Renamed to be 8-11, since recipe 8 did not exist
623
624     * Moose::Exporter
625       - Make Moose::Exporter import strict and warnings into packages
626         that use it (doy)
627
628     * Moose::Object
629       - Fix DEMOLISHALL sometimes not being able to find DEMOLISH
630         methods during global destruction (doy)
631
632     * Moose::Meta::Class
633     * Moose::Meta::Role::Application::ToClass
634       - Track the Role::Application objects created during class-role
635         consumption (Sartak)
636
637     * Moose::Meta::Class
638       - Fix metaclass incompatibility errors when extending a vanilla perl
639         class which isa Moose class with a metaclass role applied (t0m)
640
641     * Moose::Meta::Role
642       - Add a role-combination hook, _role_for_combination, for the
643         benefit of MooseX::Role::Parameterized (Sartak)
644
645     * Tests
646       - Some tests were failing on Win32 because they explicit checked
647         warning output for newlines. Reported by Nickolay Platonov.
648
649 0.77 Sat, May 2, 2009
650     * Moose::Meta::Role
651       - Add explicit use of Devel::GlobalDestruction and Sub::Name
652         (perigrin)
653
654     * Moose::Object
655       - Pass a boolean to DEMOLISHALL and DEMOLISH indicating whether
656         or not we are currently in global destruction (doy)
657       - Add explicit use of Devel::GlobalDestruction and Sub::Name
658         (perigrin)
659
660     * Moose::Cookbook::FAQ
661       - Reworked much of the existing content to be more useful to
662         modern Moose hackers (Sartak)
663
664     * Makefile.PL
665       - Depend on Class::MOP 0.83 instead of 0.82_01.
666
667 0.76 Mon, April 27, 2009
668     * Moose::Meta::TypeConstraint
669       - Do not run coercions in coerce() if the value already passes the type
670         constraint (hdp)
671
672     * Moose::Meta::TypeConstraint::Class
673       - In validation error messages, specifically say that the value is not
674         an instance of the class. This should alleviate some frustrating
675         forgot-to-load-my-type bugs. rt.cpan.org #44639 (Sartak)
676
677     * Moose::Meta::Role::Application::ToClass
678       - Revert the class-overrides-role warning in favor of a solution outside
679         of the Moose core (Sartak)
680
681     * Tests
682       - Make Test::Output optional again, since it's only used in a few files
683         (Sartak)
684
685 0.75_01 Thu, April 23, 2009
686     * Moose::Meta::Role::Application::ToClass
687       - Moose now warns about each class overriding methods from roles it
688         consumes (Sartak)
689
690     * Tests
691       - Warnings tests have standardized on Test::Output which is now an
692         unconditionally dependency (Sartak)
693
694     * Moose::Meta::Class
695       - Changes to immutabilization to work with Class::MOP 0.82_01+.
696
697 0.75 Mon, April 20, 2009
698     * Moose
699     * Moose::Meta::Class
700       - Move validation of not inheriting from roles from Moose::extends to
701         Moose::Meta::Class::superclasses (doy)
702
703     * Moose::Util
704       - add ensure_all_roles() function to encapsulate the common "apply this
705         role unless the object already does it" pattern (hdp)
706
707     * Moose::Exporter
708       - Users can now select a different metaclass with the "-metaclass"
709         option to import, for classes and roles (Sartak)
710
711     * Moose::Meta::Role
712       - Make method_metaclass an attr so that it can accept a metarole
713         application.  (jdv)
714
715 0.74 Tue, April 7, 2009
716     * Moose::Meta::Role
717     * Moose::Meta::Method::Destructor
718       - Include stack traces in the deprecation warnings.
719         (Florian Ragwitz)
720
721     * Moose::Meta::Class
722       - Removed the long-deprecated _apply_all_roles method.
723
724     * Moose::Meta::TypeConstraint
725       - Removed the long-deprecated union method.
726
727
728 0.73_02 Mon, April 6, 2009
729     * More deprecations and renamings
730       - Moose::Meta::Method::Constructor
731         - initialize_body => _initialize_body (this is always called
732           when an object is constructed)
733
734     * Moose::Object
735       - The DEMOLISHALL method could throw an exception during global
736         destruction, meaning that your class's DEMOLISH methods would
737         not be properly called. Reported by t0m.
738
739     * Moose::Meta::Method::Destructor
740       - Destructor inlining was totally broken by the change to the
741         is_needed method in 0.72_01. Now there is a test for this
742         feature, and it works again.
743
744     * Moose::Util
745       - Bold the word 'not' in the POD for find_meta (t0m)
746
747 0.73_01 Sun, April 5, 2009
748     * Moose::*
749       - Call user_class->meta in fewer places, with the eventual goal
750         of allowing the user to rename or exclude ->meta
751         altogether. Instead uses Class::MOP::class_of. (Sartak)
752
753     * Moose::Meta::Method::Accessor
754       - If an attribute had a lazy default, and that value did not
755         pass the attribute's type constraint, it did not get the
756         message from the type constraint, instead using a generic
757         message. Test provided by perigrin.
758
759     * Moose::Util::TypeConstraints
760       - Add duck_type keyword. It's sugar over making sure an object
761         can() a list of methods. This is easier than jrockway's
762         suggestion to fork all of CPAN. (perigrin)
763         - add tests and documentation (perigrin)
764
765     * Moose
766       - Document the fact that init_meta() returns the target class's
767         metaclass object. (hdp)
768
769     * Moose::Cookbook::Extending::Recipe1
770     * Moose::Cookbook::Extending::Recipe2
771     * Moose::Cookbook::Extending::Recipe3
772     * Moose::Cookbook::Extending::Recipe4
773       - Make init_meta() examples explicitly return the metaclass and
774         point out this fact. (hdp)
775
776     * Moose::Cookbook::Basics::Recipe12
777       - A new recipe, creating a custom meta-method class.
778
779     * Moose::Cookbook::Meta::Recipe6
780       - A new recipe, creating a custom meta-method class.
781
782     * Moose::Meta::Class
783     * Moose::Meta::Method::Constructor
784       - Attribute triggers no longer receive the meta-attribute object
785         as an argument in any circumstance. Previously, triggers
786         called during instance construction were passed the
787         meta-attribute, but triggers called by normal accessors were
788         not. Fixes RT#44429, reported by Mark Swayne. (hdp)
789
790     * Moose::Manual::Attributes
791       - Remove references to triggers receving the meta-attribute object as an
792         argument. (hdp)
793
794     * Moose::Cookbook::FAQ
795       - Remove recommendation for deprecated Moose::Policy and
796         Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
797         instead. (hdp)
798
799     * Many methods have been renamed with a leading underscore, and a
800       few have been deprecated entirely. The methods with a leading
801       underscore are consider "internals only". People writing
802       subclasses or extensions to Moose should feel free to override
803       them, but they are not for "public" use.
804
805       - Moose::Meta::Class
806         - check_metaclass_compatibility => _check_metaclass_compatibility
807
808       - Moose::Meta::Method::Accessor
809         - initialize_body => _initialize_body (this is always called
810           when an object is constructed)
811         - /(generate_.*_method(?:_inline)?)/ => '_' . $1
812
813       - Moose::Meta::Method::Constructor
814         - initialize_body => _initialize_body (this is always called
815           when an object is constructed)
816         - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
817         - attributes => _attributes (now inherited from parent)
818         - meta_instance => _meta_instance (now inherited from parent)
819
820       - Moose::Meta::Role
821         - alias_method is deprecated. Use add_method
822
823 0.73 Fri, March 29, 2009
824     * No changes from 0.72_01.
825
826 0.72_01 Thu, March 26, 2009
827     * Everything
828       - Almost every module has complete API documentation. A few
829         methods (and even whole classes) have been intentionally
830         excluded pending some rethinking of their APIs.
831
832     * Moose::Util::TypeConstraints
833       - Calling subtype with a name as the only argument is now an
834         exception. If you want an anonymous subtype do:
835
836          my $subtype = subtype as 'Foo';
837
838     * Moose::Cookbook::Meta::Recipe7
839       - A new recipe, creating a custom meta-instance class.
840
841     * Moose::Cookbook::Basics::Recipe5
842       - Fix various typos and mistakes. Includes a patch from Radu
843         Greab.
844
845     * Moose::Cookbook::Basics::Recipe9
846       - Link to this recipe from Moose.pm's builder blurb
847
848     * Moose::Exporter
849       - When wrapping a function with a prototype, Moose::Exporter now
850         makes sure the wrapped function still has the same
851         prototype. (Daisuke Maki)
852
853     * Moose::Meta::Attribute
854       - Allow a subclass to set lazy_build for an inherited
855         attribute. (hdp)
856
857     * Makefile.PL
858       - Explicitly depend on Data::OptList. We already had this dependency
859         via Sub::Exporter, but since we're using it directly we're
860         better off with it listed. (Sartak)
861
862     * Moose::Meta::Method::Constructor
863       - Make it easier to subclass the inlining behaviour. (Ash
864         Berlin)
865
866     * Moose::Manual::Delta
867       - Details significant changes in the history of Moose, along
868         with recommended workarounds.
869
870     * Moose::Manual::Contributing
871       - Contributor's guide to Moose.
872
873     * Moose::Meta::Method::Constructor
874       - The long-deprecated intialize_body method has been removed
875         (yes, spelled like that).
876
877     * Moose::Meta::Method::Destructor
878       - This is_needed method is now always a class method.
879
880     * Moose::Meta::Class
881       - Changes to the internals of how make_immutable works to match
882         changes in latest Class::MOP.
883
884 0.72 Mon, February 23, 2009
885     * Moose::Object
886     * Moose::Meta::Method::Constructor
887       - A mutable class accepted Foo->new(undef) without complaint,
888         while an immutable class would blow up with an unhelpful
889         error. Now, in both cases we throw a helpful error
890         instead. Reported by doy.
891
892 0.71_01 Sun, February 22, 2009
893     * Moose::Cookbook
894       - Hopefully fixed some POD errors in a few recipes that caused
895         them to display weird on search.cpan.org.
896
897     * Moose::Util::TypeConstraints
898       - Calling type or subtype without the sugar helpers (as, where,
899         message) is now deprecated.
900       - The subtype function tried hard to guess what you meant, but
901         often got it wrong. For example:
902
903          my $subtype = subtype as 'ArrayRef[Object]';
904
905         This caused an error in the past, but now works as you'd
906         expect.
907
908     * Everywhere
909       - Make sure Moose.pm is loaded before calling
910         Moose->throw_error. This wasn't normally an issue, but could
911         bite you in weird cases.
912
913 0.71 Thu, February 19, 2009
914     * Moose::Cookbook::Basics::Recipe11
915       - A new recipe which demonstrates the use of BUILDARGS and
916         BUILD. (Dave Rolsky)
917
918     * Moose::Cookbook::Roles::Recipe3
919       - A new recipe, applying a role to an object instance. (Dave
920         Rolsky)
921
922     * Moose::Exporter
923       - Allow overriding specific keywords from "also" packages. (doy)
924
925     * Tests
926       - Replace hardcoded cookbook tests with Test::Inline to ensure
927         the tests match the actual code in the recipes. (Dave Rolsky)
928
929     * Moose::Cookbook
930       - Working on the above turned up a number of little bugs in the
931         recipe code. (Dave Rolsky)
932
933     * Moose::Util::TypeConstraints::Optimized
934       - Just use Class::MOP for the optimized ClassName check. (Dave
935         Rolsky)
936
937 0.70 Sat, February 14, 2009
938     * Moose::Util::TypeConstraints
939       - Added the RoleName type (stevan)
940         - added tests for this (stevan)
941
942     * Moose::Cookbook::Basics::Recipe3
943       - Updated the before qw[left right] sub to be a little more
944         defensive about what it accepts (stevan)
945         - added more tests to t/000_recipies/basics/003_binary_tree.t
946           (stevan)
947
948     * Moose::Object
949       - We now always call DEMOLISHALL, even if a class does not
950         define DEMOLISH. This makes sure that method modifiers on
951         DEMOLISHALL work as expected. (doy)
952         - added tests for this (EvanCarroll)
953
954     * Moose::Util::MetaRole
955       - Accept roles for the wrapped_method_metaclass (rafl)
956         - added tests for this (rafl)
957
958     * Moose::Meta::Attribute
959       - We no longer pass the meta-attribute object as a final
960         argument to triggers. This actually changed for inlined code a
961         while back, but the non-inlined version and the docs were
962         still out of date.
963
964     * Tests
965       - Some tests tried to use Test::Warn 0.10, which had bugs. Now
966         they require 0.11. (Dave Rolsky)
967
968     * Documentation
969       - Lots of small changes to the manual, cookbook, and
970         elsewhere. These were based on feedback from various
971         users, too many to list here. (Dave Rolsky)
972
973 0.69 Thu, February 12, 2009
974     * Moose
975       - Make some keyword errors use throw_error instead of croak
976         since Moose::Exporter wraps keywords now (Sartak)
977
978     * Moose::Cookbook::*
979       - Revised every recipe for style and clarity. Also moved some
980         documentation out of cookbook recipes and into Moose::Manual
981         pages. This work was funded as part of the Moose docs grant
982         from TPF. (Dave Rolsky)
983
984     * Moose::Meta::Method::Delegation
985       - If the attribute doing the delegation was not populated, the
986         error message did not specify the attribute name
987         properly. (doy)
988
989 0.68 Wed, February 4, 2009
990     * POD
991       - Many spelling, typo, and formatting fixes by daxim.
992
993     * Moose::Manual::Attributes
994       - The NAME section in the POD used "Attribute" so search.cpan
995         didn't resolve links from other documents properly.
996
997     * Moose::Meta::Method::Overriden
998       - Now properly spelled as Overridden. Thanks to daxim for
999         noticing this.
1000
1001 0.67 Tue, February 3, 2009
1002     * Moose::Manual::*
1003       - Lots of little typo fixes and a few clarifications. Several
1004         pages didn't have proper titles, and so weren't actually
1005         visible on search.cpan.org. Thanks to hanekomu for a variety
1006         of fixes and formatting improvements.
1007
1008 0.66 Tue, February 3, 2009
1009     * Moose::Manual
1010       - This is a brand new, extensive manual for Moose. This aims to
1011         provide a complete introduction to all of Moose's
1012         features. This work was funded as part of the Moose docs grant
1013         from TPF. (Dave Rolsky)
1014
1015     * Moose::Meta::Attribute
1016       - Added a delegation_metaclass method to replace a hard-coded
1017         use of Moose::Meta::Method::Delegation. (Dave Rolsky)
1018
1019     * Moose::Util::TypeConstraints
1020       - If you created a subtype and passed a parent that Moose didn't
1021         know about, it simply ignored the parent. Now it automatically
1022         creates the parent as a class type. This may not be what you
1023         want, but is less broken than before. (Dave Rolsky)
1024
1025     * Moose::Util::TypeConstraints
1026       - This module tried throw errors by calling Moose->throw_error,
1027         but it did not ensure that Moose was loaded first. This could
1028         cause very unhelpful errors when it tried to throw an error
1029         before Moose was loaded. (Dave Rolsky)
1030
1031     * Moose::Util::TypeConstraints
1032       - You could declare a name with subtype such as "Foo!Bar" that
1033         would be allowed, but if you used it in a parameterized type
1034         such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
1035         vetting on names created via the sugar functions, so that they
1036         can only contain alphanumerics, ":", and ".". (Dave Rolsky)
1037
1038 0.65 Thu, January 22, 2008
1039     * Moose and Moose::Meta::Method::Overridden
1040       - If an overridden method called super(), and then the
1041         superclass's method (not overridden) _also_ called super(),
1042         Moose went into an endless recursion loop. Test provided by
1043         Chris Prather. (Dave Rolsky)
1044
1045     * Moose::Meta::TypeConstraint
1046       - All methods are now documented. (gphat)
1047
1048     * t/100_bugs/011_DEMOLISH_eats_exceptions.t
1049       - Fixed some bogus failures that occurred because we tried to
1050         validate filesystem paths in a very ad-hoc and
1051         not-quite-correct way. (Dave Rolsky)
1052
1053     * Moose::Util::TypeConstraints
1054       - Added maybe_type to exports. See docs for details. (rjbs)
1055
1056     * Moose
1057       - Added Moose::Util::TypeConstraints to the SEE ALSO
1058         section. (pjf)
1059
1060     * Moose::Role
1061       - Methods created via an attribute can now fulfill a "requires"
1062         declaration for a role. (nothingmuch)
1063
1064     * Moose::Meta::Method::*
1065       - Stack traces from inlined code will now report its line and
1066         file as being in your class, as opposed to in Moose
1067         guts. (nothingmuch).
1068
1069 0.64 Wed, December 31, 2008
1070     * Moose::Meta::Method::Accessor
1071       - Always inline predicate and clearer methods (Sartak)
1072
1073     * Moose::Meta::Attribute
1074       - Support for parameterized traits (Sartak)
1075       - verify_against_type_constraint method to avoid duplication
1076         and enhance extensibility (Sartak)
1077
1078     * Moose::Meta::Class
1079       - Tests (but no support yet) for parameterized traits (Sartak)
1080
1081     * Moose
1082       - Require Class::MOP 0.75+, which has the side effect of making
1083         sure we work on Win32. (Dave Rolsky)
1084
1085 0.63 Mon, December 8, 2008
1086     * Moose::Unsweetened
1087       - Some small grammar tweaks and bug fixes in non-Moose example
1088         code. (Dave Rolsky)
1089
1090 0.62_02 Fri, December 5, 2008
1091     * Moose::Meta::Role::Application::ToClass
1092       - When a class does not provide all of a role's required
1093         methods, the error thrown now mentions all of the missing
1094         methods, as opposed to just the first one found. Requested by
1095         Curtis Poe (RT #41119). (Dave Rolsky)
1096
1097     * Moose::Meta::Method::Constructor
1098       - Moose will no longer inline a constructor for your class
1099         unless it inherits its constructor from Moose::Object, and
1100         will warn when it doesn't inline. If you want to force
1101         inlining anyway, pass "replace_constructor => 1" to
1102         make_immutable. Addresses RT #40968, reported by Jon
1103         Swartz. (Dave Rolsky)
1104       - The quoting of default values could be broken if the default
1105         contained a single quote ('). Now we use quotemeta to escape
1106         anything potentially dangerous in the defaults. (Dave Rolsky)
1107
1108 0.62_01 Wed, December 3, 2008
1109     * Moose::Object
1110       - use the method->execute API for BUILDALL
1111         and DEMOLISHALL (Sartak)
1112
1113     * Moose::Util::TypeConstraints
1114       - We now make all the type constraint meta classes immutable
1115         before creating the default types provided by Moose. This
1116         should make loading Moose a little faster. (Dave Rolsky)
1117
1118 0.62 Wed November 26, 2008
1119     * Moose::Meta::Role::Application::ToClass
1120       Moose::Meta::Role::Application::ToRole
1121       - fixed issues where excluding and aliasing the
1122         same methods for a single role did not work
1123         right (worked just fine with multiple
1124         roles) (stevan)
1125         - added test for this (stevan)
1126
1127     * Moose::Meta::Role::Application::RoleSummation
1128       - fixed the error message when trying to compose
1129         a role with a role it excludes (Sartak)
1130
1131     * Moose::Exporter
1132       - Catch another case where recursion caused the value
1133         of $CALLER to be stamped on (t0m)
1134         - added test for this (t0m)
1135
1136     * Moose
1137       - Remove the make_immutable keyword, which has been
1138         deprecated since April. It breaks metaclasses that
1139         use Moose without no Moose (Sartak)
1140
1141     * Moose::Meta::Attribute
1142       - Removing an attribute from a class now also removes delegation
1143         (handles) methods installed for that attribute (t0m)
1144         - added test for this (t0m)
1145
1146     * Moose::Meta::Method::Constructor
1147       - An attribute with a default that looked like a number (but was
1148         really a string) would accidentally be treated as a number
1149         when the constructor was made immutable (perigrin)
1150         - added test for this (perigrin)
1151
1152     * Moose::Meta::Role
1153       - create method for constructing a role
1154         dynamically (Sartak)
1155         - added test for this (Sartak)
1156       - anonymous roles! (Sartak)
1157         - added test for this (Sartak)
1158
1159     * Moose::Role
1160       - more consistent error messages (Sartak)
1161
1162     * Moose::Cookbook::Roles::Recipe1
1163       - attempt to explain why a role that just requires
1164         methods is useful (Sartak)
1165
1166 0.61 Fri November 7, 2008
1167     * Moose::Meta::Attribute
1168       - When passing a role to handles, it will be loaded if necessary
1169         (perigrin)
1170
1171     * Moose::Meta::Class
1172       - Method objects returned by get_method (and other methods)
1173         Could end up being returned without an associated_metaclass
1174         attribute. Removing get_method_map, which is provided by
1175         Class::MOP::Class, fixed this. The Moose version did nothing
1176         different from its parent except introduce a bug. (Dave Rolsky)
1177         - added tests for this (jdv79)
1178
1179     * Various
1180       - Added a $VERSION to all .pm files which didn't have one. Fixes
1181         RT #40049, reported by Adam Kennedy. (Dave Rolsky)
1182
1183     * Moose::Cookbook::Basics::Recipe4
1184     * Moose::Cookbook::Basics::Recipe6
1185       - These files had spaces on the first line of the SYNOPSIS, as
1186         opposed to a totally empty line. According to RT #40432, this
1187         confuses POD parsers. (Dave Rolsky)
1188
1189 0.60 Fri October 24, 2008
1190     * Moose::Exporter
1191       - Passing "-traits" when loading Moose caused the Moose.pm
1192         exports to be broken. Reported by t0m. (Dave Rolsky)
1193         - Tests for this bug. (t0m)
1194
1195     * Moose::Util
1196       - Change resolve_metaclass alias to use the new
1197         load_first_existing_class function. This makes it a lot
1198         simpler, and also around 5 times faster. (t0m)
1199       - Add caching to resolve_metaclass_alias, which gives an order
1200         of magnitude speedup to things which repeatedly call the
1201         Moose::Meta::Attribute->does method, notably MooseX::Storage
1202         (t0m)
1203
1204     * Moose::Util::TypeConstraint
1205       - Put back the changes for parameterized constraints that
1206         shouldn't have been removed in 0.59. We still cannot parse
1207         them, but MooseX modules can create them in some other
1208         way. See the 0.58 changes for more details. (jnapiorkowski)
1209       - Changed the way subtypes are created so that the job is
1210         delegated to a type constraint parent. This clears up some
1211         hardcoded checking and should allow correct subtypes of
1212         Moose::Meta::Type::Constraint. Don't rely on this new API too
1213         much (create_child_type) because it may go away in the
1214         future. (jnapiorkowski)
1215
1216     * Moose::Meta::TypeConstraint::Union
1217       - Type constraint names are sorted as strings, not numbers.
1218         (jnapiorkowski)
1219
1220     * Moose::Meta::TypeConstraint::Parameterizable
1221       - New parameterize method. This can be used as a factory method
1222         to make a new type constraint with a given parameterized
1223         type. (jnapiorkowski)
1224         - added tests (jnapiorkowski)
1225
1226 0.59 Tue October 14, 2008
1227     * Moose
1228       - Add abridged documentation for builder/default/initializer/
1229         predicate, and link to more details sections in
1230         Class::MOP::Attribute. (t0m)
1231
1232     * Moose::Util::TypeConstraints
1233       - removed prototypes from all but the &-based stuff (mst)
1234
1235     * Moose::Util::TypeConstraints
1236       - Creating a anonymous subtype with both a constraint and a
1237         message failed with a very unhelpful error, but should just
1238         work. Reported by t0m. (Dave Rolsky)
1239
1240     * Tests
1241       - Some tests that used Test::Warn if it was available failed
1242         with older versions of Test::Warn. Reported by Fayland. (Dave
1243         Rolsky)
1244       - Test firing behavior of triggers in relation to builder/default/
1245         lazy_build. (t0m)
1246       - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
1247         kinds of supported type. (t0m)
1248
1249     * Moose::Meta::Class
1250       - In create(), do not pass "roles" option to the superclass
1251         - added related test that creates an anon metaclass with
1252           a required attribute
1253
1254     * Moose::Meta::TypeConstraint::Class
1255     * Moose::Meta::TypeConstraint::Role
1256       - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
1257         other types (as per change in 0.55_02). (t0m)
1258
1259     * Moose::Meta::TypeConstraint::Registry
1260       - Fix warning when dealing with unknown type names (t0m)
1261
1262     * Moose::Util::TypeConstraints
1263       - Reverted changes from 0.58 related to handle parameterized
1264         types. This caused random failures on BSD and Win32 systems,
1265         apparently related to the regex engine. This means that Moose
1266         can no longer parse structured type constraints like
1267         ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
1268         supported in a slightly different way via MooseX::Types some
1269         time in the future. (Dave Rolsky)
1270
1271 0.58 Sat September 20, 2008
1272     !! This release has an incompatible change regarding !!
1273     !! how roles add methods to a class !!
1274
1275     * Roles and role application
1276       ! Roles now add methods by calling add_method, not
1277         alias_method. They make sure to always provide a method
1278         object, which will be cloned internally. This means that it is
1279         now possible to track the source of a method provided by a
1280         role, and even follow its history through intermediate roles.
1281
1282         This means that methods added by a role now show up when
1283         looking at a class's method list/map. (Dave Rolsky)
1284
1285     * Makefile.PL
1286       - From this release on, we'll try to maintain a list of
1287         conflicting modules, and warn you if you have one
1288         installed. For example, this release conflicts with ...
1289         - MooseX::Singleton        <= 0.11
1290         - MooseX::Params::Validate <= 0.05
1291         - Fey::ORM                 <= 0.10
1292
1293         In general, we try to not break backwards compatibility for
1294         most Moose users, but MooseX modules and other code which
1295         extends Moose's metaclasses is often affected by very small
1296         changes in the Moose internals.
1297
1298     * Moose::Meta::Method::Delegation
1299     * Moose::Meta::Attribute
1300       - Delegation methods now have their own method class. (Dave
1301         Rolsky)
1302
1303     * Moose::Meta::TypeConstraint::Parameterizable
1304       - Added a new method 'parameterize' which is basically a factory
1305         for the containing constraint. This makes it easier to create
1306         new types of parameterized constraints. (jnapiorkowski)
1307
1308     * Moose::Meta::TypeConstraint::Union
1309       - Changed the way Union types canonicalize their names to follow
1310         the normalized TC naming rules, which means we strip all
1311         whitespace. (jnapiorkowski)
1312
1313     * Moose::Util::TypeConstraints
1314       - Parameter and Union args are now sorted, this makes Int|Str
1315         the same constraint as Str|Int. (jnapiorkowski)
1316       - Changes to the way Union types are parsed to more correctly
1317         stringify their names. (jnapiorkowski)
1318       - When creating a parameterized type, we now use the new
1319         parameterize method. (jnapiorkowski)
1320       - Incoming type constraint strings are now normalized to remove
1321         all whitespace differences. (jnapiorkowski)
1322       - Changed the way we parse type constraint strings so that we now
1323         match TC[Int,Int,...] and TC[name=>Str] as parameterized type
1324         constraints. This lays the foundation for more flexible type
1325         constraint implementations.
1326
1327     * Tests and docs for all the above. (jnapiorkowski)
1328
1329     * Moose::Exporter
1330     * Moose
1331       - Moose::Exporter will no longer remove a subroutine that the
1332         exporting package re-exports. Moose re-exports the
1333         Carp::confess function, among others. The reasoning is that we
1334         cannot know whether you have also explicitly imported those
1335         functions for your own use, so we err on the safe side and
1336         always keep them. (Dave Rolsky)
1337         - added tests for this (rafl)
1338
1339     * Moose::Meta::Class
1340       - Changes to how we fix metaclass compatibility that are much
1341         too complicated to go into. The summary is that Moose is much
1342         less likely to complain about metaclass incompatibility
1343         now. In particular, if two metaclasses differ because
1344         Moose::Util::MetaRole was used on the two corresponding
1345         classes, then the difference in roles is reconciled for the
1346         subclass's metaclass. (Dave Rolsky)
1347       - Squashed an warning in _process_attribute (thepler)
1348
1349     * Moose::Meta::Role
1350       - throw exceptions (sooner) for invalid attribute names (thepler)
1351         - added tests for this (thepler)
1352
1353     * Moose::Util::MetaRole
1354       - If you explicitly set a constructor or destructor class for a
1355         metaclass object, and then applied roles to the metaclass,
1356         that explicitly set class would be lost and replaced with the
1357         default.
1358
1359     * Moose::Meta::Class
1360     * Moose::Meta::Attribute
1361     * Moose::Meta::Method
1362     * Moose
1363     * Moose::Object
1364     * Moose::Error::Default
1365     * Moose::Error::Croak
1366     * Moose::Error::Confess
1367       - All instances of confess() changed to use overridable
1368         C<throw_error> method. This method ultimately calls a class
1369         constructor, and you can change the class being called. In
1370         addition, errors now pass more information than just a string.
1371         The default C<error_class> behaves like C<Carp::confess>, so
1372         the behavior is not visibly different for end users.
1373
1374 0.57 Wed September 3, 2008
1375     * Moose::Intro
1376       - A new bit of doc intended to introduce folks familiar with
1377         "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
1378
1379     * Moose::Unsweetened
1380       - Shows examples of two classes, each done first with and then
1381         without Moose. This makes a nice parallel to
1382         Moose::Intro. (Dave Rolsky)
1383
1384     * Moose::Util::TypeConstraints
1385       - Fixed a bug in find_or_parse_type_constraint so that it
1386         accepts a Moose::Meta::TypeConstraint object as the parent
1387         type, not just a name (jnapiorkowski)
1388         - added tests (jnapiorkowski)
1389
1390     * Moose::Exporter
1391       - If Sub::Name was not present, unimporting failed to actually
1392         remove some sugar subs, causing test failures (Dave Rolsky)
1393
1394 0.56 Mon September 1, 2008
1395     For those not following the series of dev releases, there are
1396     several major changes in this release of Moose.
1397       ! Moose::init_meta should now be called as a method. See the
1398         docs for details.
1399
1400       - Major performance improvements by nothingmuch.
1401
1402       - New modules for extension writers, Moose::Exporter and
1403         Moose::Util::MetaRole by Dave Rolsky.
1404
1405       - Lots of doc improvements and additions, especially in the
1406         cookbook sections.
1407
1408       - Various bug fixes.
1409
1410     * Removed all references to the experimental-but-no-longer-needed
1411       Moose::Meta::Role::Application::ToMetaclassInstance.
1412
1413     * Require Class::MOP 0.65.
1414
1415 0.55_04 Sat August 30, 2008
1416     * Moose::Util::MetaRole
1417     * Moose::Cookbook::Extending::Recipe2
1418       - This simplifies the application of roles to any meta class, as
1419         well as the base object class. Reimplemented metaclass traits
1420         using this module. (Dave Rolsky)
1421
1422     * Moose::Cookbook::Extending::Recipe1
1423       - This a new recipe, an overview of various ways to write Moose
1424         extensions (Dave Rolsky)
1425
1426     * Moose::Cookbook::Extending::Recipe3
1427     * Moose::Cookbook::Extending::Recipe4
1428       - These used to be Extending::Recipe1 and Extending::Recipe2,
1429         respectively.
1430
1431 0.55_03 Fri August 29, 2008
1432     * No changes from 0.55_02 except increasing the Class::MOP
1433       dependency to 0.64_07.
1434
1435 0.55_02 Fri August 29, 2008
1436     * Makefile.PL and Moose.pm
1437       - explicitly require Perl 5.8.0+ (Dave Rolsky)
1438
1439     * Moose::Util::TypeConstraints
1440       - Fix warnings from find_type_constraint if the type is not
1441         found (t0m).
1442
1443     * Moose::Meta::TypeConstraint
1444       - Predicate methods (equals/is_a_type_of/is_subtype_of) now
1445         return false if the type you specify cannot be found in the
1446         type registry, rather than throwing an unhelpful and
1447         coincidental exception. (t0m).
1448         - added docs & test for this (t0m)
1449
1450     * Moose::Meta::TypeConstraint::Registry
1451       - add_type_constraint now throws an exception if a parameter is
1452         not supplied (t0m).
1453         - added docs & test for this (t0m)
1454
1455     * Moose::Cookbook::FAQ
1456       - Added a faq entry on the difference between "role" and "trait"
1457         (t0m)
1458
1459     * Moose::Meta::Role
1460       - Fixed a bug that caused role composition to not see a required
1461         method when that method was provided by another role being
1462         composed at the same time. (Dave Rolsky)
1463         - test and bug finding (tokuhirom)
1464
1465 0.55_01 Wed August 20, 2008
1466
1467     !! Calling Moose::init_meta as a function is now         !!
1468     !! deprecated. Please see the Moose.pm docs for details. !!
1469
1470     * Moose::Meta::Method::Constructor
1471       - Fix inlined constructor so that values produced by default
1472         or builder methods are coerced as required. (t0m)
1473         - added test for this (t0m)
1474
1475     * Moose::Meta::Attribute
1476       - A lazy attribute with a default or builder did not attempt to
1477         coerce the default value. The immutable code _did_
1478         coerce. (t0m)
1479         - added test for this (t0m)
1480
1481     * Moose::Exporter
1482       - This is a new helper module for writing "Moose-alike"
1483         modules. This should make the lives of MooseX module authors
1484         much easier. (Dave Rolsky)
1485
1486     * Moose
1487     * Moose::Cookbook::Meta::Recipe5
1488       - Implemented metaclass traits (and wrote a recipe for it):
1489
1490           use Moose -traits => 'Foo'
1491
1492         This should make writing small Moose extensions a little
1493         easier (Dave Rolsky)
1494
1495     * Moose::Cookbook::Basics::Recipe1
1496       - Removed any examples of direct hashref access, and applied an
1497         editorial axe to reduce verbosity. (Dave Rolsky)
1498
1499     * Moose::Cookbook::Basics::Recipe1
1500       - Also applied an editorial axe here. (Dave Rolsky)
1501
1502     * Moose
1503     * Moose::Cookbook::Extending::Recipe1
1504     * Moose::Cookbook::Extending::Recipe2
1505       - Rewrote extending and embedding moose documentation and
1506         recipes to use Moose::Exporter (Dave Rolsky)
1507
1508     * Moose
1509     * Moose::Role
1510       - These two modules now warn when you load them from the main
1511         package "main" package, because we will not export sugar to
1512         main. Previously it just did nothing. (Dave Rolsky)
1513
1514     * Moose::Role
1515       - Now provide an init_meta method just like Moose.pm, and you
1516         can call this to provide an alternate role metaclass. (Dave
1517         Rolsky and nothingmuch)
1518       - get_method_map now respects the package cache flag (nothingmuch)
1519
1520     * Moose::Meta::Role
1521       - Two new methods - add_method and wrap_method_body
1522         (nothingmuch)
1523
1524     * many modules
1525       - Optimizations including allowing constructors to accept hash
1526         refs, making many more classes immutable, and making
1527         constructors immutable. (nothingmuch)
1528
1529 0.55 Sun August 3, 2008
1530     * Moose::Meta::Attribute
1531       - breaking down the way 'handles' methods are
1532         created so that the process can be more easily
1533         overridden by subclasses (stevan)
1534
1535     * Moose::Meta::TypeConstraint
1536       - fixing what is passed into a ->message with
1537         the type constraints (RT #37569)
1538         - added tests for this (Charles Alderman)
1539
1540     * Moose::Util::TypeConstraints
1541       - fix coerce to accept anon types like subtype can (mst)
1542
1543     * Moose::Cookbook
1544       - reorganized the recipes into sections - Basics, Roles, Meta,
1545         Extending - and wrote abstracts for each section (Dave Rolsky)
1546
1547     * Moose::Cookbook::Basics::Recipe10
1548       - A new recipe that demonstrates operator overloading
1549         in combination with Moose. (bluefeet)
1550
1551     * Moose::Cookbook::Meta::Recipe1
1552       - an introduction to what meta is and why you'd want to make
1553         your own metaclass extensions (Dave Rolsky)
1554
1555     * Moose::Cookbook::Meta::Recipe4
1556       - a very simple metaclass example (Dave Rolsky)
1557
1558     * Moose::Cookbook::Extending::Recipe1
1559       - how to write a Moose-alike module to use your own object base
1560         class (Dave Rolsky)
1561
1562     * Moose::Cookbook::Extending::Recipe2
1563       - how to write modules with an API just like C<Moose.pm> (Dave
1564         Rolsky)
1565
1566     * all documentation
1567       - Tons of fixes, both syntactical and grammatical (Dave
1568         Rolsky, Paul Fenwick)
1569
1570 0.54 Thurs. July 3, 2008
1571     ... this is not my day today ...
1572
1573     * Moose::Meta::Attribute
1574       - fixed legal_options_for_inheritance such that
1575         clone_and_inherit options still works for
1576         Class::MOP::Attribute objects and therefore
1577         does not break MooseX::AttributeHelpers
1578         (stevan)
1579
1580 0.53 Thurs. July 3, 2008
1581     * Whoops, I guess I should run 'make manifest' before
1582       actually releasing the module. No actual changes
1583       in this release, except the fact that it includes
1584       the changes that I didn't include in the last
1585       release. (stevan--)
1586
1587 0.52 Thurs. July 3, 2008
1588     * Moose
1589       - added "FEATURE REQUESTS" section to the Moose docs
1590         to properly direct people (stevan) (RT #34333)
1591       - making 'extends' croak if it is passed a Role since
1592         this is not ever something you want to do
1593         (fixed by stevan, found by obra)
1594         - added tests for this (stevan)
1595
1596     * Moose::Object
1597       - adding support for DOES (as in UNIVERSAL::DOES)
1598         (nothingmuch)
1599         - added test for this
1600
1601     * Moose::Meta::Attribute
1602       - added legal_options_for_inheritance (wreis)
1603         - added tests for this (wreis)
1604
1605     * Moose::Cookbook::Snacks::*
1606       - removed some of the unfinished snacks that should
1607         not have been released yet. Added some more examples
1608         to the 'Keywords' snack. (stevan)
1609
1610     * Moose::Cookbook::Style
1611       - added general Moose "style guide" of sorts to the
1612         cookbook (nothingmuch) (RT #34335)
1613
1614     * t/
1615       - added more BUILDARGS tests (stevan)
1616
1617 0.51 Thurs. Jun 26, 2008
1618     * Moose::Role
1619       - add unimport so "no Moose::Role" actually does
1620         something (sartak)
1621
1622     * Moose::Meta::Role::Application::ToRole
1623       - when RoleA did RoleB, and RoleA aliased a method from RoleB in
1624         order to provide its own implementation, that method still got
1625         added to the list of required methods for consumers of
1626         RoleB. Now an aliased method is only added to the list of
1627         required methods if the role doing the aliasing does not
1628         provide its own implementation. See Recipe 11 for an example
1629         of all this. (Dave Rolsky)
1630         - added tests for this
1631
1632     * Moose::Meta::Method::Constructor
1633       - when a single argument that wasn't a hashref was provided to
1634         an immutabilized constructor, the error message was very
1635         unhelpful, as opposed to the non-immutable error. Reported by
1636         dew. (Dave Rolsky)
1637         - added test for this (Dave Rolsky)
1638
1639     * Moose::Meta::Attribute
1640       - added support for meta_attr->does("ShortAlias") (sartak)
1641         - added tests for this (sartak)
1642       - moved the bulk of the `handles` handling to the new
1643         install_delegation method (Stevan)
1644
1645     * Moose::Object
1646       - Added BUILDARGS, a new step in new()
1647
1648     * Moose::Meta::Role::Application::RoleSummation
1649       - fix typos no one ever sees (sartak)
1650
1651     * Moose::Util::TypeConstraints
1652     * Moose::Meta::TypeConstraint
1653     * Moose::Meta::TypeCoercion
1654       - Attempt to work around the ??{ } vs. threads issue
1655         (not yet fixed)
1656       - Some null_constraint optimizations
1657
1658 0.50 Thurs. Jun 11, 2008
1659     - Fixed a version number issue by bumping all modules
1660       to 0.50.
1661
1662 0.49 Thurs. Jun 11, 2008
1663     !! This version now approx. 20-25% !!
1664     !! faster with new Class::MOP 0.59 !!
1665
1666     * Moose::Meta::Attribute
1667       - fixed how the is => (ro|rw) works with
1668         custom defined reader, writer and accessor
1669         options.
1670         - added docs for this (TODO).
1671         - added tests for this (Thanks to Penfold)
1672       - added the custom attribute alias for regular
1673         Moose attributes which is "Moose"
1674       - fix builder and default both being used
1675         (groditi)
1676
1677     * Moose
1678       Moose::Meta::Class
1679       Moose::Meta::Attribute
1680       Moose::Meta::Role
1681       Moose::Meta::Role::Composite
1682       Moose::Util::TypeConstraints
1683       - switched usage of reftype to ref because
1684         it is much faster
1685
1686     * Moose::Meta::Role
1687       - changing add_package_symbol to use the new
1688         HASH ref form
1689
1690     * Moose::Object
1691       - fixed how DEMOLISHALL is called so that it
1692         can be overrided in subclasses (thanks to Sartak)
1693         - added test for this (thanks to Sartak)
1694
1695     * Moose::Util::TypeConstraints
1696       - move the ClassName type check code to
1697         Class::MOP::is_class_loaded (thanks to Sartak)
1698
1699     * Moose::Cookbook::Recipe11
1700       - add tests for this (thanks to tokuhirom)
1701
1702 0.48 Thurs. May 29, 2008
1703     (early morning release engineering)--
1704
1705     - fixing the version in Moose::Meta::Method::Destructor
1706       which was causing the indexer to choke
1707
1708 0.47 Thurs. May 29, 2008
1709     (late night release engineering)--
1710
1711     - fixing the version is META.yml, no functional
1712       changes in this release
1713
1714 0.46 Wed. May 28, 2008
1715     !! This version now approx. 20-25% !!
1716     !! faster with new Class::MOP 0.57 !!
1717
1718     * Moose::Meta::Class
1719       - some optimizations of the &initialize method
1720         since it is called so often by &meta
1721
1722     * Moose::Meta::Class
1723       Moose::Meta::Role
1724       - now use the get_all_package_symbols from the
1725         updated Class::MOP, test suite is now 10 seconds
1726         faster
1727
1728     * Moose::Meta::Method::Destructor
1729       - is_needed can now also be called as a class
1730         method for immutablization to check if the
1731         destructor object even needs to be created
1732         at all
1733
1734     * Moose::Meta::Method::Destructor
1735       Moose::Meta::Method::Constructor
1736       - added more descriptive error message to help
1737         keep people from wasting time tracking an error
1738         that is easily fixed by upgrading.
1739
1740 0.45 Saturday, May 24, 2008
1741     * Moose
1742       - Because of work in Class::MOP 0.57, all
1743         XS based functionality is now optional
1744         and a Pure Perl version is supplied
1745         - the CLASS_MOP_NO_XS environment variable
1746           can now be used to force non-XS versions
1747           to always be used
1748         - several of the packages have been tweaked
1749           to take care of this, mostly we added
1750           support for the package_name and name
1751           variables in all the Method metaclasses
1752       - before/around/after method modifiers now
1753         support regexp matching of names
1754         (thanks to Takatoshi Kitano)
1755         - tests added for this
1756         - NOTE: this only works for classes, it
1757           is currently not supported in roles,
1758           but, ... patches welcome
1759       - All usage of Carp::confess have been replaced
1760         by Carp::croak in the "keyword" functions since
1761         the stack trace is usually not helpful
1762
1763     * Moose::Role
1764       - All usage of Carp::confess have been replaced
1765         by Carp::croak in the "keyword" functions since
1766         the stack trace is usually not helpful
1767       - The 'has' keyword for roles now accepts the
1768         same array ref form that Moose.pm does
1769         (has [qw/foo bar/] => (is => 'rw', ...))
1770         - added test for this
1771
1772     * Moose::Meta::Attribute
1773       - trigger on a ro-attribute is no longer an
1774         error, as it's useful to trigger off of the
1775         constructor
1776
1777     * Moose::Meta::Class
1778       - added same 'add_package_symbol' fix as in
1779         Class::MOP 0.57
1780
1781     * Moose::Util
1782       - does_role now handles non-Moose classes
1783         more gracefully
1784         - added tests for this
1785       - added the 'add_method_modifier' function
1786         (thanks to Takatoshi Kitano)
1787
1788     * Moose::Util::TypeConstraints
1789       - subtypes of parameterizable types now are
1790         themselves parameterizable types
1791
1792     * Moose::Meta::Method::Constructor
1793       - fixed bug where trigger was not being
1794         called by the inlined immutable
1795         constructors
1796         - added test for this (thanks to Caelum)
1797
1798     * Moose::Meta::Role::Application::ToInstance
1799       - now uses the metaclass of the instance
1800         (if possible) to create the anon-class
1801         (thanks Jonathan Rockway)
1802
1803     * Moose::Cookbook::Recipe22
1804       - added the meta-attribute trait recipe
1805         (thanks to Sartak)
1806
1807     * t/
1808       - fixed hash-ordering test bug that was
1809         causing occasional cpantester failures
1810       - renamed the t/000_recipe/*.t tests to be
1811         more descriptive (thanks to Sartak)
1812
1813 0.44 Sat. May 10, 2008
1814     * Moose
1815       - made make_immutable warning cluck to
1816         show where the error is (thanks mst)
1817
1818     * Moose::Object
1819       - BUILDALL and DEMOLISHALL now call
1820         ->body when looping through the
1821         methods, to avoid the overloaded
1822         method call.
1823       - fixed issue where DEMOLISHALL was
1824         eating the $@ values, and so not
1825         working correctly, it still kind of
1826         eats them, but so does vanilla perl
1827         - added tests for this
1828
1829     * Moose::Cookbook::Recipe7
1830       - added new recipe for immutable
1831         functionality (thanks Dave Rolsky)
1832
1833     * Moose::Cookbook::Recipe9
1834       - added new recipe for builder and
1835         lazy_build (thanks Dave Rolsky)
1836
1837     * Moose::Cookbook::Recipe11
1838       - added new recipe for method aliasing
1839         and exclusion with Roles (thanks Dave Rolsky)
1840
1841     * t/
1842       - fixed Win32 test failure (thanks spicyjack)
1843
1844     ~ removed Build.PL and Module::Build compat
1845       since Module::Install has done that.
1846
1847 0.43 Wed. April, 30, 2008
1848     * NOTE TO SELF:
1849         drink more coffee before
1850         doing release engineering
1851
1852     - whoops, forgot to do the smolder tests,
1853       and we broke some of the custom meta-attr
1854       modules. This fixes that.
1855
1856 0.42 Mon. April 28, 2008
1857     - some bad tests slipped by, nothing else
1858       changed in this release (cpantesters++)
1859
1860     - upped the Class::MOP dependency to 0.55
1861       since we have tests which need the C3
1862       support
1863
1864 0.41 Mon. April 28, 2008
1865     ~~ numerous documentation updates ~~
1866
1867     - Changed all usage of die to Carp::croak for better
1868       error reporting (initial patch by Tod Hagan)
1869
1870     ** IMPORTANT NOTE **
1871     - the make_immutable keyword is now deprecated, don't
1872       use it in any new code and please fix your old code
1873       as well. There will be 2 releases, and then it will
1874       be removed.
1875
1876     * Moose
1877       Moose::Role
1878       Moose::Meta::Class
1879       - refactored the way inner and super work to avoid
1880         any method/@ISA cache penalty (nothingmuch)
1881
1882     * Moose::Meta::Class
1883       - fixing &new_object to make sure trigger gets the
1884         coerced value (spotted by Charles Alderman on the
1885         mailing list)
1886         - added test for this
1887
1888     * Moose::Meta::Method::Constructor
1889       - immutable classes which had non-lazy attributes were calling
1890         the default generating sub twice in the constructor. (bug
1891         found by Jesse Luehrs, fixed by Dave Rolsky)
1892         - added tests for this (Dave Rolsky)
1893       - fix typo in initialize_body method (nothingmuch)
1894
1895     * Moose::Meta::Method::Destructor
1896       - fix typo in initialize_body method (nothingmuch)
1897
1898     * Moose::Meta::Method::Overriden
1899       Moose::Meta::Method::Augmented
1900       - moved the logic for these into their own
1901         classes (nothingmuch)
1902
1903     * Moose::Meta::Attribute
1904       - inherited attributes may now be extended without
1905         restriction on the type ('isa', 'does') (Sartak)
1906         - added tests for this (Sartak)
1907       - when an attribute property is malformed (such as lazy without
1908         a default), give the name of the attribute in the error
1909         message (Sartak)
1910       - added the &applied_traits and &has_applied_traits methods
1911         to allow introspection of traits
1912         - added tests for this
1913       - moved 'trait' and 'metaclass' argument handling to here from
1914         Moose::Meta::Class
1915       - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1916         '+foo' syntax) (nothingmuch)
1917         - added tests for this (t0m)
1918
1919     * Moose::Object
1920       - localize $@ inside DEMOLISHALL to avoid it
1921         eating $@ (found by Ernesto)
1922         - added test for this (thanks to Ernesto)
1923
1924     * Moose::Util::TypeConstraints
1925       - &find_type_constraint now DWIMs when given an
1926         type constraint object or name (nothingmuch)
1927       - &find_or_create_type_constraint superseded with a number of more
1928         specific functions:
1929         - find_or_create_{isa,does}_type_constraint
1930         - find_or_parse_type_constraint
1931
1932     * Moose::Meta::TypeConstraint
1933       Moose::Meta::TypeConstraint::Class
1934       Moose::Meta::TypeConstraint::Role
1935       Moose::Meta::TypeConstraint::Enum
1936       Moose::Meta::TypeConstraint::Union
1937       Moose::Meta::TypeConstraint::Parameterized
1938         - added the &equals method for comparing two type
1939           constraints (nothingmuch)
1940           - added tests for this (nothingmuch)
1941
1942     * Moose::Meta::TypeConstraint
1943       - add the &parents method, which is just an alias to &parent.
1944         Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1945
1946     * Moose::Meta::TypeConstraint::Class
1947       - added the class attribute for introspection purposes
1948         (nothingmuch)
1949         - added tests for this
1950
1951     * Moose::Meta::TypeConstraint::Enum
1952       Moose::Meta::TypeConstraint::Role
1953       - broke these out into their own classes (nothingmuch)
1954
1955     * Moose::Cookbook::Recipe*
1956       - fixed references to test file locations in the POD
1957         and updated up some text for new Moose features
1958         (Sartak)
1959
1960     * Moose::Util
1961       - Added &resolve_metaclass_alias, a helper function for finding an actual
1962         class for a short name (e.g. in the traits list)
1963
1964 0.40 Fri. March 14, 2008
1965     - I hate Pod::Coverage
1966
1967 0.39 Fri. March 14, 2008
1968     * Moose
1969       - documenting the use of '+name' with attributes
1970         that come from recently composed roles. It makes
1971         sense, people are using it, and so why not just
1972         officially support it.
1973       - fixing the 'extends' keyword so that it will not
1974         trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1975
1976     * oose
1977       - added the perl -Moose=+Class::Name feature to allow
1978         monkeypatching of classes in one liners
1979
1980     * Moose::Util
1981       - fixing the 'apply_all_roles' keyword so that it will not
1982         trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1983
1984     * Moose::Meta::Class
1985       - added ->create method which now supports roles (thanks to jrockway)
1986         - added tests for this
1987       - added ->create_anon_class which now supports roles and caching of
1988         the results (thanks to jrockway)
1989         - added tests for this
1990       - made ->does_role a little more forgiving when it is
1991         checking a Class::MOP era metaclasses.
1992
1993     * Moose::Meta::Role::Application::ToInstance
1994       - it is now possible to pass extra params to be used when
1995         a role is applied to an the instance (rebless_params)
1996         - added tests for this
1997
1998     * Moose::Util::TypeConstraints
1999       - class_type now accepts an optional second argument for a
2000         custom message. POD anotated accordingly (groditi)
2001         - added tests for this
2002       - it is now possible to make anon-enums by passing 'enum' an
2003         ARRAY ref instead of the $name => @values. Everything else
2004         works as before.
2005         - added tests for this
2006
2007     * t/
2008       - making test for using '+name' on attributes consumed
2009         from a role, it works and makes sense too.
2010
2011     * Moose::Meta::Attribute
2012       - fix handles so that it doesn't return nothing
2013         when the method cannot be found, not sure why
2014         it ever did this originally, this means we now
2015         have slightly better support for AUTOLOADed
2016         objects
2017         - added more delegation tests
2018       - adding ->does method to this so as to better
2019         support traits and their introspection.
2020         - added tests for this
2021
2022     * Moose::Object
2023       - localizing the Data::Dumper configurations so
2024         that it does not pollute others (RT #33509)
2025       - made ->does a little more forgiving when it is
2026         passed Class::MOP era metaclasses.
2027
2028 0.38 Fri. Feb. 15, 2008
2029     * Moose::Meta::Attribute
2030       - fixed initializer to correctly do
2031         type checking and coercion in the
2032         callback
2033         - added tests for this
2034
2035     * t/
2036       - fixed some finicky tests (thanks to konobi)
2037
2038 0.37 Thurs. Feb. 14, 2008
2039     * Moose
2040       - fixed some details in Moose::init_meta
2041         and its superclass handling (thanks thepler)
2042         - added tests for this (thanks thepler)
2043       - 'has' now dies if you don't pass in name
2044         value pairs
2045       - added the 'make_immutable' keyword as a shortcut
2046         to make_immutable
2047
2048     * Moose::Meta::Class
2049       Moose::Meta::Method::Constructor
2050       Moose::Meta::Attribute
2051       - making (init_arg => undef) work here too
2052         (thanks to nothingmuch)
2053
2054     * Moose::Meta::Attribute
2055       Moose::Meta::Method::Constructor
2056       Moose::Meta::Method::Accessor
2057       - make lazy attributes respect attr initializers (rjbs)
2058         - added tests for this
2059
2060     * Moose::Util::TypeConstraints
2061       Moose::Util::TypeConstraints::OptimizedConstraints
2062       Moose::Meta::TypeConstraints
2063       Moose::Meta::Attribute
2064       Moose::Meta::Method::Constructor
2065       Moose::Meta::Method::Accessor
2066       - making type errors use the
2067         assigned message (thanks to Sartak)
2068         - added tests for this
2069
2070     * Moose::Meta::Method::Destructor
2071       - making sure DESTROY gets inlined properly
2072         with successive DEMOLISH calls (thanks to manito)
2073
2074     * Moose::Meta::Attribute
2075       Moose::Meta::Method::Accessor
2076       - fixed handling of undef with type constraints
2077         (thanks to Ernesto)
2078         - added tests for this
2079
2080     * Moose::Util
2081       - added &get_all_init_args and &get_all_attribute_values
2082         (thanks to Sartak and nothingmuch)
2083
2084 0.36 Sat. Jan. 26, 2008
2085     * Moose::Role
2086       Moose::Meta::Attribute
2087       - role type tests now support when roles are
2088         applied to non-Moose classes (found by ash)
2089         - added tests for this (thanks to ash)
2090       - couple extra tests to boost code coverage
2091
2092     * Moose::Meta::Method::Constructor
2093       - improved fix for handling Class::MOP attributes
2094         - added test for this
2095
2096     * Moose::Meta::Class
2097       - handled the add_attribute($attribute_meta_object)
2098         case correctly
2099         - added test for this
2100
2101 0.35 Tues. Jan. 22, 2008
2102     * Moose::Meta::Method::Constructor
2103       - fix to make sure even Class::MOP attributes
2104         are handled correctly (Thanks to Dave Rolsky)
2105         - added test for this (also Dave Rolsky)
2106
2107     * Moose::Meta::Class
2108       - improved error message on _apply_all_roles,
2109         you should now use Moose::Util::apply_all_roles
2110         and you shouldnt have been using a _ prefixed
2111         method in the first place ;)
2112
2113 0.34 Mon. Jan. 21, 2008
2114     ~~~ more misc. doc. fixes ~~~
2115     ~~ updated copyright dates ~~
2116
2117     Moose is now a postmodern object system :)
2118       - (see the POD for details)
2119
2120     * <<Role System Refactoring>>
2121     - this release contains a major reworking and
2122       cleanup of the role system
2123       - 100% backwards compat.
2124       - Role application now restructured into seperate
2125         classes based on type of applicants
2126       - Role summation (combining of more than one role)
2127         is much cleaner and anon-classes are no longer
2128         used in this process
2129       - new Composite role metaclass
2130       - runtime application of roles to instances
2131         is now more efficient and re-uses generated
2132         classes when applicable
2133
2134     * <<New Role composition features>>
2135       - methods can now be excluded from a given role
2136         during composition
2137       - methods can now be aliased to another name (and
2138         still retain the original as well)
2139
2140     * Moose::Util::TypeConstraints::OptimizedConstraints
2141       - added this module (see above)
2142
2143     * Moose::Meta::Class
2144       - fixed the &_process_attribute method to be called
2145         by &add_attribute, so that the API is now correct
2146
2147     * Moose::Meta::Method::Accessor
2148       - fixed bug when passing a list of values to
2149         an accessor would get (incorrectly) ignored.
2150         Thanks to Sartak for finding this ;)
2151         - added tests for this (Sartak again)
2152
2153     * Moose::Meta::Method::Accessor
2154       Moose::Meta::Method::Constructor
2155       Moose::Meta::Attribute
2156       Moose::Meta::TypeConstraint
2157       Moose::Meta::TypeCoercion
2158       - lots of cleanup of such things as:
2159         - generated methods
2160         - type constraint handling
2161         - error handling/messages
2162         (thanks to nothingmuch)
2163
2164     * Moose::Meta::TypeConstraint::Parameterizable
2165       - added this module to support the refactor
2166         in Moose::Meta::TypeConstraint::Parameterized
2167
2168     * Moose::Meta::TypeConstraint::Parameterized
2169       - refactored how these types are handled so they
2170         are more generic and not confined to ArrayRef
2171         and HashRef only
2172
2173     * t/
2174       - shortened some file names for better VMS support (RT #32381)
2175
2176 0.33 Fri. Dec. 14, 2007
2177     !! Moose now loads 2 x faster !!
2178     !!  with new Class::MOP 0.49  !!
2179
2180     ++ new oose.pm module to make command line
2181        Moose-ness easier (see POD docs for more)
2182
2183     * Moose::Meta::Class
2184     * Moose::Meta::Role
2185       - several tweaks to take advantage of the
2186         new method map caching in Class::MOP
2187
2188     * Moose::Meta::TypeConstraint::Parameterized
2189       - allow subtypes of ArrayRef and HashRef to
2190         be used as a container (sartak)
2191         - added tests for this
2192       - basic support for coercion to ArrayRef and
2193         HashRef for containers (sartak)
2194         - added tests for this
2195
2196     * Moose::Meta::TypeCoercion
2197       - coercions will now create subtypes as needed
2198         so you can now add coercions to parameterized
2199         types without having to explictly define them
2200         - added tests for this
2201
2202     * Moose::Meta::Method::Accessor
2203       - allow subclasses to decide whether we need
2204         to copy the value into a new variable (sartak)
2205
2206 0.32 Tues. Dec. 4, 2007
2207     * Moose::Util::TypeConstraints
2208       - fixing how subtype aliases of unions work
2209         they should inherit the parent's coercion
2210         - added tests for this
2211       - you can now define multiple coercions on
2212         a single type at different times instead of
2213         having to do it all in one place
2214         - added tests for this
2215
2216     * Moose::Meta::TypeConstraint
2217       - there is now a default constraint of sub { 1 }
2218         instead of Moose::Util::TypeConstraints setting
2219         this for us
2220
2221     * Moose::Meta::TypeCoercion
2222     * Moose::Meta::TypeCoercion::Union
2223       - added the &has_coercion_for_type and
2224         &add_type_coercions methods to support the
2225         new features above (although you cannot add
2226         more type coercions for Union types)
2227
2228 0.31 Mon. Nov. 26, 2007
2229     * Moose::Meta::Attribute
2230       - made the +attr syntax handle extending types with
2231         parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
2232         now works if the original foo is an ArrayRef.
2233         - added tests for this.
2234       - delegation now works even if the attribute does not
2235         have a reader method using the get_read_method_ref
2236         method from Class::MOP::Attribute.
2237         - added tests for this
2238         - added docs for this
2239
2240     * Moose::Util::TypeConstraints
2241       - passing no "additional attribute info" to
2242         &find_or_create_type_constraint will no longer
2243         attempt to create an __ANON__ type for you,
2244         instead it will just return undef.
2245         - added docs for this
2246
2247 0.30 Fri. Nov. 23, 2007
2248     * Moose::Meta::Method::Constructor
2249       -builder related bug in inlined constructor. (groditi)
2250
2251     * Moose::Meta::Method::Accessor
2252       - genereate unnecessary calls to predicates and refactor
2253         code generation for runtime speed (groditi)
2254
2255     * Moose::Util::TypeConstraints
2256       - fix ClassName constraint to introspect symbol table (mst)
2257         - added more tests for this (mst)
2258       - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
2259         with work correctly.
2260         - added tests for this
2261
2262     * Moose::Cookbook
2263       - adding the link to Recipie 11 (written by Sartak)
2264         - adding test for SYNOPSIS code
2265
2266     * t/
2267       - New tests for builder bug. Upon instantiation, if an
2268         attribute had a builder, no value and was not lazy the
2269         builder default was not getting run, oops. (groditi)
2270
2271 0.29 Tues. Nov. 13, 2007
2272     * Moose::Meta::Attribute
2273       - Fix error message on missing builder method (groditi)
2274
2275     * Moose::Meta::Method::Accessor
2276       - Fix error message on missing builder method (groditi)
2277
2278     * t/
2279       - Add test to check for the correct error message when
2280         builder method is missing (groditi)
2281
2282 0.28 Tues. Nov. 13, 2007
2283     - 0.27 packaged incorrectly (groditi)
2284
2285 0.27 Tues. Nov. 13, 2007
2286     * Moose::Meta::Attribute
2287       - Added support for the new builder option (groditi)
2288       - Added support for lazy_build option (groditi)
2289       - Changed slot initialization for predicate changes (groditi)
2290
2291     * Moose::Meta::Method::Accessor
2292       - Added support for lazy_build option (groditi)
2293       - Fix inline methods to work with corrected predicate
2294         behavior (groditi)
2295
2296     * Moose::Meta::Method::Constructor
2297       - Added support for lazy_build option (groditi)
2298
2299     * t/
2300       - tests for builder and lazy_build (groditi)
2301
2302     * fixing some misc. bits in the docs that
2303       got mentioned on CPAN Forum & perlmonks
2304
2305     * Moose::Meta::Role
2306       - fixed how required methods are handled
2307         when they encounter overriden or modified
2308         methods from a class (thanks to confound).
2309         - added tests for this
2310
2311     * Moose::Util::TypeConstraint
2312       - fixed the type notation parser so that
2313         the | always creates a union and so is
2314         no longer a valid type char (thanks to
2315         konobi, mugwump and #moose for working
2316         this one out.)
2317         - added more tests for this
2318
2319 0.26 Thurs. Sept. 27, 2007
2320     == New Features ==
2321
2322     * Parameterized Types
2323       We now support parameterized collection types, such as:
2324           ArrayRef[Int]    # array or integers
2325           HashRef[Object]  # a hash with object values
2326       They can also be nested:
2327           ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
2328       And work with the type unions as well:
2329           ArrayRef[Int | Str]  # array of integers of strings
2330
2331     * Better Framework Extendability
2332       Moose.pm is now "extendable" such that it is now much
2333       easier to extend the framework and add your own keywords
2334       and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
2335       section of the Moose.pm docs.
2336
2337     * Moose Snacks!
2338       In an effort to begin documenting some of the various
2339       details of Moose as well as some common idioms, we have
2340       created Moose::Cookbook::Snacks as a place to find
2341       small (easily digestable) nuggets of Moose code.
2342
2343     ====
2344     ~ Several doc updates/cleanup thanks to castaway ~
2345
2346     - converted build system to use Module::Install instead of
2347       Module::Build (thanks to jrockway)
2348
2349     * Moose
2350       - added all the meta classes to the immutable list and
2351         set it to inline the accessors
2352       - fix import to allow Sub::Exporter like { into => }
2353             and { into_level => } (perigrin)
2354       - exposed and documented init_meta() to allow better
2355             embedding and extending of Moose (perigrin)
2356
2357         * t/
2358           - complete re-organization of the test suite
2359           - added some new tests as well
2360           - finally re-enabled the Moose::POOP test since
2361             the new version of DBM::Deep now works again
2362             (thanks rob)
2363
2364     * Moose::Meta::Class
2365       - fixed very odd and very nasty recursion bug with
2366         inner/augment (mst)
2367         - added tests for this (eilara)
2368
2369     * Moose::Meta::Attribute
2370       Moose::Meta::Method::Constructor
2371       Moose::Meta::Method::Accessor
2372       - fixed issue with overload::Overloaded getting called
2373         on non-blessed items. (RT #29269)
2374         - added tests for this
2375
2376     * Moose::Meta::Method::Accessor
2377       - fixed issue with generated accessor code making
2378         assumptions about hash based classes (thanks to dexter)
2379
2380     * Moose::Coookbook::Snacks
2381       - these are bits of documentation, not quite as big as
2382         Recipes but which have no clear place in the module docs.
2383         So they are Snacks! (horray for castaway++)
2384
2385     * Moose::Cookbook::Recipe4
2386       - updated it to use the new ArrayRef[MyType] construct
2387         - updated the accompanying test as well
2388
2389     +++ Major Refactor of the Type Constraint system +++
2390     +++       with new features added as well        +++
2391
2392     * Moose::Util::TypeConstraint
2393       - no longer uses package variable to keep track of
2394         the type constraints, now uses the an instance of
2395         Moose::Meta::TypeConstraint::Registry to do it
2396       - added more sophisticated type notation parsing
2397         (thanks to mugwump)
2398         - added tests for this
2399
2400     * Moose::Meta::TypeConstraint
2401       - some minor adjustments to make subclassing easier
2402       - added the package_defined_in attribute so that we
2403         can track where the type constraints are created
2404
2405     * Moose::Meta::TypeConstraint::Union
2406       - this is now been refactored to be a subclass of
2407         Moose::Meta::TypeConstraint
2408
2409     * Moose::Meta::TypeCoercion::Union
2410       - this has been added to service the newly refactored
2411         Moose::Meta::TypeConstraint::Union and is itself
2412         a subclass of Moose::Meta::TypeCoercion
2413
2414     * Moose::Meta::TypeConstraint::Parameterized
2415       - added this module (taken from MooseX::AttributeHelpers)
2416         to help construct nested collection types
2417         - added tests for this
2418
2419     * Moose::Meta::TypeConstraint::Registry
2420       - added this class to keep track of type constraints
2421
2422 0.25 Mon. Aug. 13, 2007
2423     * Moose
2424       - Documentation update to reference Moose::Util::TypeConstraints
2425         under 'isa' in 'has' for how to define a new type
2426         (thanks to shlomif).
2427
2428     * Moose::Meta::Attribute
2429       - required attributes now will no longer accept undef
2430         from the constructor, even if there is a default and lazy
2431         - added tests for this
2432       - default subroutines must return a value which passes the
2433         type constraint
2434         - added tests for this
2435
2436     * Moose::Meta::Attribute
2437     * Moose::Meta::Method::Constructor
2438     * Moose::Meta::Method::Accessor
2439       - type-constraint tests now handle overloaded objects correctly
2440         in the error message
2441         - added tests for this (thanks to EvanCarroll)
2442
2443     * Moose::Meta::TypeConstraint::Union
2444       - added (has_)hand_optimized_constraint to this class so that
2445         it behaves as the regular Moose::Meta::TypeConstraint does.
2446
2447     * Moose::Meta::Role
2448       - large refactoring of this code
2449       - added several more tests
2450         - tests for subtle conflict resolition issues
2451           added, but not currently running
2452           (thanks to kolibre)
2453
2454     * Moose::Cookbook::Recipe7
2455       - added new recipe for augment/inner functionality
2456         (still in progress)
2457         - added test for this
2458
2459     * Moose::Spec::Role
2460       - a formal definition of roles (still in progress)
2461
2462     * Moose::Util
2463       - utilities for easier working with Moose classes
2464         - added tests for these
2465
2466     * Test::Moose
2467       - This contains Moose specific test functions
2468         - added tests for these
2469
2470 0.24 Tues. July 3, 2007
2471     ~ Some doc updates/cleanup ~
2472
2473     * Moose::Meta::Attribute
2474       - added support for roles to be given as parameters
2475         to the 'handles' option.
2476         - added tests and docs for this
2477       - the has '+foo' attribute form now accepts changes to
2478         the lazy option, and the addition of a handles option
2479         (but not changing the handles option)
2480         - added tests and docs for this
2481
2482     * Moose::Meta::Role
2483       - required methods are now fetched using find_method_by_name
2484         so that required methods can come from superclasses
2485         - adjusted tests for this
2486
2487 0.23 Mon. June 18, 2007
2488     * Moose::Meta::Method::Constructor
2489       - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
2490     * Moose::Meta::Class
2491       - Modify make_immutable to work with the new Class::MOP immutable
2492         mechanism + POD + very basic test (groditi)
2493     * Moose::Meta::Attribute
2494       - Fix handles to use goto() so that caller() comes out properly on
2495         the other side (perigrin)
2496
2497 0.22 Thurs. May 31, 2007
2498     * Moose::Util::TypeConstraints
2499       - fix for prototype undeclared issue when Moose::Util::TypeConstraints
2500         loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
2501         prototypes for functions
2502       - added the ClassName type constraint, this checks for strings
2503         which will respond true to ->isa(UNIVERSAL).
2504         - added tests and docs for this
2505       - subtyping just in name now works correctly by making the
2506         default for where be { 1 }
2507         - added test for this
2508
2509     * Moose::Meta::Method::Accessor
2510       - coerce and lazy now work together correctly, thanks to
2511         merlyn for finding this bug
2512         - tests added for this
2513       - fix reader presedence bug in Moose::Meta::Attribute + tests
2514
2515     * Moose::Object
2516       - Foo->new(undef) now gets ignored, it is assumed you meant to pass
2517         a HASH-ref and missed. This produces better error messages then
2518         having it die cause undef is not a HASH.
2519         - added tests for this
2520
2521 0.21 Thursday, May 2nd, 2007
2522     * Moose
2523       - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
2524       - modified unimport to remove super and inner along with the rest
2525         - altered unimport tests to handle this
2526
2527     * Moose::Role
2528       - altered super export to populate SUPER_SLOT
2529
2530     * Moose::Meta::Class
2531       - altered augment and override modifier application to use *_SLOT
2532         - modified tests for these to unimport one test class each to test
2533
2534     * Moose::Meta::Role
2535       - fixed issue where custom attribute metaclasses
2536         where not handled correctly in roles
2537         - added tests for this
2538
2539     * Moose::Meta::Class
2540       - fixed issue where extending metaclasses with
2541         roles would blow up. Thanks to Aankhen`` for
2542         finding this insidious error, and it's solution.
2543
2544     ~~ lots of spelling and grammer fixes in the docs,
2545        many many thanks to rlb3 and Aankhen for these :)
2546
2547 0.20 Friday, April 6th, 2007
2548     >> I messed up the SKIP logic in one test
2549        so this release is just to fix that.
2550
2551     * Moose
2552       - 'has' now also accepts an ARRAY ref
2553         to create multiple attrs (see docs)
2554         (thanks to konobi for this)
2555          - added tests and docs
2556
2557 0.19 Thurs. April 5th, 2007
2558     ~~ More documentation updates ~~
2559
2560     * Moose::Util::TypeConstraints
2561       - 'type' now supports messages as well
2562         thanks to phaylon for finding this
2563         - added tests for this
2564       - added &list_all_type_constraints and
2565         &list_all_builtin_type_constraints
2566         functions to facilitate introspection.
2567
2568     * Moose::Meta::Attribute
2569       - fixed regexp 'handles' declarations
2570         to build the list of delegated methods
2571         correctly (and not override important
2572         things like &new) thanks to ashleyb
2573         for finding this
2574         - added tests and docs for this
2575       - added the 'documentation' attributes
2576         so that you can actually document your
2577         attributes and inspect them through the
2578         meta-object.
2579         - added tests and docs for this
2580
2581     * Moose::Meta::Class
2582       - when loading custom attribute metaclasses
2583         it will first look in for the class in the
2584         Moose::Meta::Attribute::Custom::$name, and
2585         then default to just loading $name.
2586         - added tests and docs for this
2587
2588     * Moose::Meta::TypeConstraint
2589       - type constraints now stringify to their names.
2590         - added test for this
2591
2592     * misc.
2593       - added tests to assure we work with Module::Refresh
2594       - added stricter test skip logic in the Moose POOP
2595         test, ask Rob Kinyon why.
2596         - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
2597
2598 0.18 Sat. March 10, 2007
2599     ~~ Many, many documentation updates ~~
2600
2601     * misc.
2602       - We now use Class::MOP::load_class to
2603         load all classes.
2604       - added tests to show types and subtypes
2605         working with Declare::Constraints::Simple
2606         and Test::Deep as constraint engines.
2607
2608 0.18_001
2609     !! You must have Class::MOP 0.37_001  !!
2610     !! for this developer release to work !!
2611
2612     This release was primarily adding the immutable
2613     feature to Moose. An immutable class is one which
2614     you promise not to alter. When you set the class
2615     as immutable it will perform various bits of
2616     memoization and inline certain part of the code
2617     (constructors, destructors and accessors). This
2618     minimizes (and in some cases totally eliminates)
2619     one of Moose's biggest performance hits. This
2620     feature is not on by default, and is 100% optional.
2621     It has several configurable bits as well, so you
2622     can pick and choose to your specific needs.
2623
2624     The changes involved in this were fairly wide and
2625     highly specific, but 100% backwards compatible, so
2626     I am not going to enumerate them here. If you are
2627     truely interested in what was changed, please do
2628     a diff :)
2629
2630 0.17 Tues. Nov. 14, 2006
2631     * Moose::Meta::Method::Accessor
2632       - bugfix for read-only accessors which
2633         are have a type constraint and lazy.
2634         Thanks to chansen for finding it.
2635
2636 0.16 Tues. Nov. 14, 2006
2637     ++ NOTE ++
2638     There are some speed improvements in this release,
2639     but they are only the begining, so stay tuned.
2640
2641     * Moose::Object
2642       - BUILDALL and DEMOLISHALL no longer get
2643         called unless they actually need to be.
2644         This gave us a signifigant speed boost
2645         for the cases when there is no BUILD or
2646         DEMOLISH method present.
2647
2648     * Moose::Util::TypeConstraints
2649     * Moose::Meta::TypeConstraint
2650       - added an 'optimize_as' option to the
2651         type constraint, which allows for a
2652         hand optimized version of the type
2653         constraint to be used when possible.
2654       - Any internally created type constraints
2655         now provide an optimized version as well.
2656
2657 0.15 Sun. Nov. 5, 2006
2658     ++ NOTE ++
2659     This version of Moose *must* have Class::MOP 0.36 in order
2660     to work correctly. A number of small internal tweaks have
2661     been made in order to be compatible with that release.
2662
2663     * Moose::Util::TypeConstraints
2664       - added &unimport so that you can clean out
2665         your class namespace of these exported
2666         keywords
2667
2668     * Moose::Meta::Class
2669       - fixed minor issue which occasionally
2670         comes up during global destruction
2671         (thanks omega)
2672       - moved Moose::Meta::Method::Overriden into
2673         its own file.
2674
2675     * Moose::Meta::Role
2676       - moved Moose::Meta::Role::Method into
2677         its own file.
2678
2679     * Moose::Meta::Attribute
2680       - changed how we do type checks so that
2681         we reduce the overall cost, but still
2682         retain correctness.
2683        *** API CHANGE ***
2684       - moved accessor generation methods to
2685         Moose::Meta::Method::Accessor to
2686         conform to the API changes from
2687         Class::MOP 0.36
2688
2689     * Moose::Meta::TypeConstraint
2690       - changed how constraints are compiled
2691         so that we do less recursion and more
2692         iteration. This makes the type check
2693         faster :)
2694       - moved Moose::Meta::TypeConstraint::Union
2695         into its own file
2696
2697     * Moose::Meta::Method::Accessor
2698       - created this from methods formerly found in
2699         Moose::Meta::Attribute
2700
2701     * Moose::Meta::Role::Method
2702       - moved this from Moose::Meta::Role
2703
2704     * Moose::Meta::Method::Overriden
2705       - moved this from Moose::Meta::Class
2706
2707     * Moose::Meta::TypeConstraint::Union
2708       - moved this from Moose::Meta::TypeConstraint
2709
2710 0.14 Mon. Oct. 9, 2006
2711
2712     * Moose::Meta::Attribute
2713       - fixed lazy attributes which were not getting
2714         checked with the type constraint (thanks ashley)
2715         - added tests for this
2716       - removed the over-enthusiastic DWIMery of the
2717         automatic ArrayRef and HashRef defaults, it
2718         broke predicates in an ugly way.
2719         - removed tests for this
2720
2721 0.13 Sat. Sept. 30, 2006
2722     ++ NOTE ++
2723     This version of Moose *must* have Class::MOP 0.35 in order
2724     to work correctly. A number of small internal tweaks have
2725     been made in order to be compatible with that release.
2726
2727     * Moose
2728       - Removed the use of UNIVERSAL::require to be a better
2729         symbol table citizen and remove a dependency
2730         (thanks Adam Kennedy)
2731
2732       **~~ removed experimental & undocumented feature ~~**
2733       - commented out the 'method' and 'self' keywords, see the
2734         comments for more info.
2735
2736     * Moose::Cookbook
2737       - added a FAQ and WTF files to document frequently
2738         asked questions and common problems
2739
2740     * Moose::Util::TypeConstraints
2741       - added GlobRef and FileHandle type constraint
2742         - added tests for this
2743
2744     * Moose::Meta::Attribute
2745       - if your attribute 'isa' ArrayRef of HashRef, and you have
2746         not explicitly set a default, then make the default DWIM.
2747         This will also work for subtypes of ArrayRef and HashRef
2748         as well.
2749       - you can now auto-deref subtypes of ArrayRef or HashRef too.
2750         - new test added for this (thanks to ashley)
2751
2752     * Moose::Meta::Role
2753       - added basic support for runtime role composition
2754         but this is still *highly experimental*, so feedback
2755         is much appreciated :)
2756         - added tests for this
2757
2758     * Moose::Meta::TypeConstraint
2759       - the type constraint now handles the coercion process
2760         through delegation, this is to support the coercion
2761         of unions
2762
2763     * Moose::Meta::TypeConstraint::Union
2764       - it is now possible for coercions to be performed
2765         on a type union
2766         - added tests for this (thanks to konobi)
2767
2768     * Moose::Meta::TypeCoercion
2769       - properly capturing error when type constraint
2770         is not found
2771
2772     * Build.PL
2773       - Scalar::Util 1.18 is bad on Win32, so temporarily
2774         only require version 1.17 for Win32 and cygwin.
2775         (thanks Adam Kennedy)
2776
2777 0.12 Sat. Sept. 1, 2006
2778     * Moose::Cookbook
2779       - Recipe5 (subtypes & coercion) has been written
2780
2781     * Moose
2782       - fixed "bad meta" error message to be more descriptive
2783       - fixed &unimport to not remove the &inner and &super
2784         keywords because we need to localize them.
2785       - fixed number of spelling/grammer issues, thanks Theory :)
2786
2787       **~~ experimental & undocumented feature ~~**
2788       - added the method and self keywords, they are basically
2789         just sugar, and they may not stay around.
2790
2791     * Moose::Object
2792       - added &dump method to easily Data::Dumper
2793         an object
2794
2795     * Moose::Meta::TypeConstraint
2796       - added the &is_a_type_of method to check both the current
2797         and the subtype of a method (similar to &isa with classes)
2798
2799     * Moose::Meta::Role
2800       - this is now a subclass of Class::MOP::Module, and no longer
2801         creates the _role_meta ugliness of before.
2802         - fixed tests to reflect this change
2803
2804 0.11 Wed. July 12, 2006
2805     * Moose
2806       - added an &unimport method to remove all the keywords
2807         that Moose will import, simply add 'no Moose' to the
2808         bottom of your class file.
2809
2810     * t/
2811       - fixed some test failures caused by a forgotten test
2812         dependency.
2813
2814 0.10 Thurs. July 6, 2006
2815     * Moose
2816       - improved error message when loading modules so
2817         it is less confusing when you load a role.
2818       - added &calculate_all_roles method to
2819         Moose::Meta::Class and Moose::Meta::Role
2820
2821     NOTE:
2822     This module has been tested against Class::MOP 0.30
2823     but it does not yet utilize the optimizations
2824     it makes available. Stay tuned for that ;)
2825
2826 0.09_03 Fri. June 23, 2006
2827     ++ DEVELOPER RELEASE ++
2828     * Moose
2829       - 'use strict' and 'use warnings' are no longer
2830          needed in Moose classes, Moose itself will
2831          turn them on for you.
2832          - added tests for this
2833       - moved code from exported subs to private methods
2834         in Moose::Meta::Class
2835
2836     * Moose::Role
2837       - as with Moose, strict and warnings are
2838         automatically turned on for you.
2839          - added tests for this
2840
2841     * Moose::Meta::Role
2842       - now handles an edge case for override errors
2843         - added tests for this
2844       - added some more edge case tests
2845
2846 0.09_02 Tues. May 16, 2006
2847     ++ DEVELOPER RELEASE ++
2848     * Moose
2849       - added prototypes to the exported subs
2850       - updated docs
2851
2852     * Moose::Role
2853       - added prototypes to the exported subs
2854       - updated docs
2855
2856     * Moose::Util::TypeConstraints
2857       - cleaned up prototypes for the subs
2858       - updated docs
2859
2860 0.09_01 Fri. May 12, 2006
2861     ++ DEVELOPER RELEASE ++
2862       - This release works in combination with
2863         Class::MOP 0.29_01, it is a developer
2864         release because it uses the a new
2865         instance sub-protocol and a fairly
2866         complete Role implementation. It has
2867         not yet been optimized, so it slower
2868         the the previous CPAN version. This
2869         release also lacks good updated docs,
2870         the official release will have updated docs.
2871
2872     * Moose
2873       - refactored the keyword exports
2874         - 'with' now checks Role validaity and
2875           accepts more than one Role at a time
2876         - 'extends' makes metaclass adjustments as
2877            needed to ensure metaclass compatibility
2878
2879     * Moose::Role
2880       - refactored the keyword exports
2881         - 'with' now checks Role validaity and
2882           accepts more than one Role at a time
2883
2884     * Moose::Util::TypeConstraints
2885       - added the 'enum' keyword for simple
2886         string enumerations which can be used as
2887         type constraints
2888         - see example of usage in t/202_example.t
2889
2890     * Moose::Object
2891       - more careful checking of params to new()
2892
2893     * Moose::Meta::Role
2894       - much work done on the role composition
2895         - many new tests for conflict detection
2896           and composition edge cases
2897         - not enough documentation, I suggest
2898           looking at the tests
2899
2900     * Moose::Meta::Instance
2901       - added new Instance metaclass to support
2902         the new Class::MOP instance protocol
2903
2904     * Moose::Meta::Class
2905       - some small changes to support the new
2906         instance protocol
2907       - some small additions to support Roles
2908
2909     * Moose::Meta::Attribute
2910       - some improvements to the accessor generation code
2911         by nothingmuch
2912       - some small changes to support the new
2913         instance protocol
2914       - (still somewhat) experimental delegation support
2915         with the 'handles' option
2916         - added several tests for this
2917         - no docs for this yet
2918
2919 0.05 Thurs. April 27, 2006
2920     * Moose
2921       - keywords are now exported with Sub::Exporter
2922         thanks to chansen for this commit
2923       - has keyword now takes a 'metaclass' option
2924         to support custom attribute meta-classes
2925         on a per-attribute basis
2926         - added tests for this
2927       - the 'has' keyword not accepts inherited slot
2928         specifications (has '+foo'). This is still an
2929         experimental feature and probably not finished
2930         see t/038_attribute_inherited_slot_specs.t for
2931         more details, or ask about it on #moose
2932         - added tests for this
2933
2934     * Moose::Role
2935       - keywords are now exported with Sub::Exporter
2936
2937     * Moose::Utils::TypeConstraints
2938       - reorganized the type constraint hierarchy, thanks
2939         to nothingmuch and chansen for his help and advice
2940         on this
2941         - added some tests for this
2942       - keywords are now exported with Sub::Exporter
2943         thanks to chansen for this commit
2944
2945     * Moose::Meta::Class
2946       - due to changes in Class::MOP, we had to change
2947         construct_instance (for the better)
2948
2949     * Moose::Meta::Attribute
2950       - due to changes in Class::MOP, we had to add the
2951         initialize_instance_slot method (it's a good thing)
2952
2953     * Moose::Meta::TypeConstraint
2954       - added type constraint unions
2955         - added tests for this
2956       - added the is_subtype_of predicate method
2957         - added tests for this
2958
2959 0.04 Sun. April 16th, 2006
2960     * Moose::Role
2961       - Roles can now consume other roles
2962         - added tests for this
2963       - Roles can specify required methods now with
2964         the requires() keyword
2965         - added tests for this
2966
2967     * Moose::Meta::Role
2968       - ripped out much of it's guts ,.. much cleaner now
2969       - added required methods and correct handling of
2970         them in apply() for both classes and roles
2971         - added tests for this
2972       - no longer adds a does() method to consuming classes
2973         it relys on the one in Moose::Object
2974       - added roles attribute and some methods to support
2975         roles consuming roles
2976
2977     * Moose::Meta::Attribute
2978       - added support for triggers on attributes
2979         - added tests for this
2980       - added support for does option on an attribute
2981         - added tests for this
2982
2983     * Moose::Meta::Class
2984       - added support for attribute triggers in the
2985         object construction
2986         - added tests for this
2987
2988     * Moose
2989       - Moose no longer creates a subtype for your class
2990         if a subtype of the same name already exists, this
2991         should DWIM in 99.9999% of all cases
2992
2993     * Moose::Util::TypeConstraints
2994       - fixed bug where incorrect subtype conflicts were
2995         being reported
2996         - added test for this
2997
2998     * Moose::Object
2999       - this class can now be extended with 'use base' if
3000         you need it, it properly loads the metaclass class now
3001         - added test for this
3002
3003 0.03_02 Wed. April 12, 2006
3004     * Moose
3005       - you must now explictly use Moose::Util::TypeConstraints
3006         it no longer gets exported for you automatically
3007
3008     * Moose::Object
3009       - new() now accepts hash-refs as well as key/value lists
3010       - added does() method to check for Roles
3011         - added tests for this
3012
3013     * Moose::Meta::Class
3014       - added roles attribute along with the add_role() and
3015         does_role() methods
3016         - added tests for this
3017
3018     * Moose::Meta::Role
3019       - now adds a does() method to consuming classes
3020         which tests the class's hierarchy for roles
3021         - added tests for this
3022
3023 0.03_01 Mon. April 10, 2006
3024     * Moose::Cookbook
3025       - added new Role recipe (no content yet, only code)
3026
3027     * Moose
3028       - added 'with' keyword for Role support
3029         - added test and docs for this
3030       - fixed subtype quoting bug
3031         - added test for this
3032
3033     * Moose::Role
3034       - Roles for Moose
3035         - added test and docs
3036
3037     * Moose::Util::TypeConstraints
3038       - added the message keyword to add custom
3039         error messages to type constraints
3040
3041     * Moose::Meta::Role
3042       - the meta role to support Moose::Role
3043         - added tests and docs
3044
3045     * Moose::Meta::Class
3046       - moved a number of things from Moose.pm
3047         to here, they should have been here
3048         in the first place
3049
3050     * Moose::Meta::Attribute
3051       - moved the attribute option macros here
3052         instead of putting them in Moose.pm
3053
3054     * Moose::Meta::TypeConstraint
3055       - added the message attributes and the
3056         validate method
3057         - added tests and docs for this
3058
3059 0.03 Thurs. March 30, 2006
3060     * Moose::Cookbook
3061       - added the Moose::Cookbook with 5 recipes,
3062         describing all the stuff Moose can do.
3063
3064     * Moose
3065       - fixed an issue with &extends super class loading
3066         it now captures errors and deals with inline
3067         packages correctly (bug found by mst, solution
3068         stolen from alias)
3069       - added super/override & inner/augment features
3070         - added tests and docs for these
3071
3072     * Moose::Object
3073       - BUILDALL now takes a reference of the %params
3074         that are passed to &new, and passes that to
3075         each BUILD as well.
3076
3077     * Moose::Util::TypeConstraints
3078       - Type constraints now survive runtime reloading
3079         - added test for this
3080
3081         * Moose::Meta::Class
3082           - fixed the way attribute defaults are handled
3083             during instance construction (bug found by chansen)
3084
3085     * Moose::Meta::Attribute
3086       - read-only attributes now actually enforce their
3087         read-only-ness (this corrected in Class::MOP as
3088         well)
3089
3090 0.02 Tues. March 21, 2006
3091     * Moose
3092       - many more tests, fixing some bugs and
3093         edge cases
3094       - &extends now loads the base module with
3095         UNIVERSAL::require
3096         - added UNIVERSAL::require to the
3097           dependencies list
3098       ** API CHANGES **
3099       - each new Moose class will also create
3100         and register a subtype of Object which
3101         correspond to the new Moose class.
3102       - the 'isa' option in &has now only
3103         accepts strings, and will DWIM in
3104         almost all cases
3105
3106     * Moose::Util::TypeConstraints
3107       - added type coercion features
3108         - added tests for this
3109         - added support for this in attributes
3110           and instance construction
3111       ** API CHANGES **
3112       - type construction no longer creates a
3113         function, it registers the type instead.
3114         - added several functions to get the
3115           registered types
3116
3117     * Moose::Object
3118       - BUILDALL and DEMOLISHALL were broken
3119         because of a mis-named hash key, Whoops :)
3120
3121     * Moose::Meta::Attribute
3122       - adding support for coercion in the
3123         autogenerated accessors
3124
3125     * Moose::Meta::Class
3126       - adding support for coercion in the
3127         instance construction
3128
3129     * Moose::Meta::TypeConstraint
3130     * Moose::Meta::TypeCoercion
3131           - type constraints and coercions are now
3132             full fledges meta-objects
3133
3134 0.01 Wed. March 15, 2006
3135     - Moooooooooooooooooose!!!