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