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