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