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