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