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