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