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