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