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