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