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