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