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