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