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