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