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