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