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