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