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