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