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