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