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