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