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