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