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