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