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