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