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