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