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