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