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