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