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