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