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