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