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