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