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