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