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