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