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