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