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