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