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