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