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