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