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