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