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