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