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