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