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