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