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