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