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