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