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