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