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