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