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