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