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