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