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