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