failing test for two subclasses of the same non-Moose class with different metaclasses
[gitmo/Moose.git] / Changes
1 Revision history for Perl extension Moose
2
3 0.37
4     * Moose
5       - fixed some details in Moose::init_meta 
6         and its superclass handling (thanks thepler)
7         - added tests for this (thanks thepler)
8       - 'has' now dies if you don't pass in name 
9         value pairs
10       - added the 'make_immutable' keyword as a shortcut
11         to __PACKAGE__->meta->make_immutable
12
13     * Moose::Meta::Class
14       Moose::Meta::Method::Constructor
15       Moose::Meta::Attribute        
16       - making (init_arg => undef) work here too
17         (thanks to nothingmuch)
18       - make lazy attributes respect attr initializers (rjbs)
19     
20     * Moose::Util::TypeConstraints
21       Moose::Util::TypeConstraints::OptimizedConstraints
22       Moose::Meta::Attribute
23       Moose::Meta::Method::Constructor
24       Moose::Meta::Method::Accessor            
25       - making type errors use the 
26         assigned message (thanks to Sartak)
27         - added tests for this
28
29     * Moose::Meta::Method::Destructor
30       - making sure DESTROY gets inlined properly 
31         with successive DEMOLISH calls (thanks to manito)
32
33 0.36 Sat. Jan. 26, 2008
34     * Moose::Role
35       Moose::Meta::Attribute
36       - role type tests now support when roles are 
37         applied to non-Moose classes (found by ash)
38         - added tests for this (thanks to ash)
39       - couple extra tests to boost code coverage
40
41     * Moose::Meta::Method::Constructor    
42       - improved fix for handling Class::MOP attributes
43         - added test for this        
44       
45     * Moose::Meta::Class
46       - handled the add_attribute($attribute_meta_object)
47         case correctly
48         - added test for this
49
50 0.35 Tues. Jan. 22, 2008
51     * Moose::Meta::Method::Constructor
52       - fix to make sure even Class::MOP attributes 
53         are handled correctly (Thanks to Dave Rolsky)
54         - added test for this (also Dave Rolsky)
55     
56     * Moose::Meta::Class
57       - improved error message on _apply_all_roles, 
58         you should now use Moose::Util::apply_all_roles
59         and you shouldnt have been using a _ prefixed
60         method in the first place ;)
61
62 0.34 Mon. Jan. 21, 2008
63     ~~~ more misc. doc. fixes ~~~
64     ~~ updated copyright dates ~~
65
66     Moose is now a postmodern object system :)
67       - (see the POD for details)
68       
69     * <<Role System Refactoring>>    
70     - this release contains a major reworking and 
71       cleanup of the role system     
72       - 100% backwards compat.
73       - Role application now restructured into seperate
74         classes based on type of applicants
75       - Role summation (combining of more than one role)
76         is much cleaner and anon-classes are no longer 
77         used in this process
78       - new Composite role metaclass    
79       - runtime application of roles to instances
80         is now more efficient and re-uses generated
81         classes when applicable
82         
83     * <<New Role composition features>>
84       - methods can now be excluded from a given role 
85         during composition
86       - methods can now be aliased to another name (and 
87         still retain the original as well)        
88     
89     * Moose::Util::TypeConstraints::OptimizedConstraints
90       - added this module (see above)
91
92     * Moose::Meta::Class
93       - fixed the &_process_attribute method to be called
94         by &add_attribute, so that the API is now correct
95
96     * Moose::Meta::Method::Accessor
97       - fixed bug when passing a list of values to
98         an accessor would get (incorrectly) ignored.
99         Thanks to Sartak for finding this ;)
100         - added tests for this (Sartak again)
101
102     * Moose::Meta::Method::Accessor
103       Moose::Meta::Method::Constructor
104       Moose::Meta::Attribute
105       Moose::Meta::TypeConstraint      
106       Moose::Meta::TypeCoercion      
107       - lots of cleanup of such things as: 
108         - generated methods
109         - type constraint handling
110         - error handling/messages 
111         (thanks to nothingmuch)   
112     
113     * Moose::Meta::TypeConstraint::Parameterizable
114       - added this module to support the refactor 
115         in Moose::Meta::TypeConstraint::Parameterized
116
117     * Moose::Meta::TypeConstraint::Parameterized
118       - refactored how these types are handled so they 
119         are more generic and not confined to ArrayRef
120         and HashRef only
121
122     * t/
123       - shortened some file names for better VMS support (RT #32381)
124
125 0.33 Fri. Dec. 14, 2007
126     !! Moose now loads 2 x faster !!
127     !!  with new Class::MOP 0.49  !!
128
129     ++ new oose.pm module to make command line
130        Moose-ness easier (see POD docs for more)
131
132     * Moose::Meta::Class
133     * Moose::Meta::Role
134       - several tweaks to take advantage of the
135         new method map caching in Class::MOP
136
137     * Moose::Meta::TypeConstraint::Parameterized
138       - allow subtypes of ArrayRef and HashRef to
139         be used as a container (sartak)
140         - added tests for this
141       - basic support for coercion to ArrayRef and
142         HashRef for containers (sartak)
143         - added tests for this
144
145     * Moose::Meta::TypeCoercion
146       - coercions will now create subtypes as needed
147         so you can now add coercions to parameterized
148         types without having to explictly define them
149         - added tests for this
150
151     * Moose::Meta::Method::Accessor
152       - allow subclasses to decide whether we need
153         to copy the value into a new variable (sartak)
154
155 0.32 Tues. Dec. 4, 2007
156     * Moose::Util::TypeConstraints
157       - fixing how subtype aliases of unions work
158         they should inherit the parent's coercion
159         - added tests for this
160       - you can now define multiple coercions on
161         a single type at different times instead of
162         having to do it all in one place
163         - added tests for this
164
165     * Moose::Meta::TypeConstraint
166       - there is now a default constraint of sub { 1 }
167         instead of Moose::Util::TypeConstraints setting
168         this for us
169
170     * Moose::Meta::TypeCoercion
171     * Moose::Meta::TypeCoercion::Union
172       - added the &has_coercion_for_type and
173         &add_type_coercions methods to support the
174         new features above (although you cannot add
175         more type coercions for Union types)
176
177 0.31 Mon. Nov. 26, 2007
178     * Moose::Meta::Attribute
179       - made the +attr syntax handle extending types with
180         parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
181         now works if the original foo is an ArrayRef.
182         - added tests for this.
183       - delegation now works even if the attribute does not
184         have a reader method using the get_read_method_ref
185         method from Class::MOP::Attribute.
186         - added tests for this
187         - added docs for this
188
189     * Moose::Util::TypeConstraints
190       - passing no "additional attribute info" to
191         &find_or_create_type_constraint will no longer
192         attempt to create an __ANON__ type for you,
193         instead it will just return undef.
194         - added docs for this
195
196 0.30 Fri. Nov. 23, 2007
197     * Moose::Meta::Method::Constructor
198       -builder related bug in inlined constructor. (groditi)
199
200     * Moose::Meta::Method::Accessor
201       - genereate unnecessary calls to predicates and refactor
202         code generation for runtime speed (groditi)
203
204     * Moose::Util::TypeConstraints
205       - fix ClassName constraint to introspect symbol table (mst)
206         - added more tests for this (mst)
207       - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
208         with work correctly.
209         - added tests for this
210
211     * Moose::Cookbook
212       - adding the link to Recipie 11 (written by Sartak)
213         - adding test for SYNOPSIS code
214
215     * t/
216       - New tests for builder bug. Upon instantiation, if an
217         attribute had a builder, no value and was not lazy the
218         builder default was not getting run, oops. (groditi)
219
220 0.29 Tues. Nov. 13, 2007
221     * Moose::Meta::Attribute
222       - Fix error message on missing builder method (groditi)
223
224     * Moose::Meta::Method::Accessor
225       - Fix error message on missing builder method (groditi)
226
227     * t/
228       - Add test to check for the correct error message when
229         builder method is missing (groditi)
230
231 0.28 Tues. Nov. 13, 2007
232     - 0.27 packaged incorrectly (groditi)
233
234 0.27 Tues. Nov. 13, 2007
235     * Moose::Meta::Attribute
236       - Added support for the new builder option (groditi)
237       - Added support for lazy_build option (groditi)
238       - Changed slot initialization for predicate changes (groditi)
239
240     * Moose::Meta::Method::Accessor
241       - Added support for lazy_build option (groditi)
242       - Fix inline methods to work with corrected predicate
243         behavior (groditi)
244
245     * Moose::Meta::Method::Constructor
246       - Added support for lazy_build option (groditi)
247
248     * t/
249       - tests for builder and lazy_build (groditi)
250
251     * fixing some misc. bits in the docs that
252       got mentioned on CPAN Forum & perlmonks
253
254     * Moose::Meta::Role
255       - fixed how required methods are handled
256         when they encounter overriden or modified
257         methods from a class (thanks to confound).
258         - added tests for this
259
260     * Moose::Util::TypeConstraint
261       - fixed the type notation parser so that
262         the | always creates a union and so is
263         no longer a valid type char (thanks to
264         konobi, mugwump and #moose for working
265         this one out.)
266         - added more tests for this
267
268 0.26 Thurs. Sept. 27, 2007
269     == New Features ==
270
271     * Parameterized Types
272       We now support parameterized collection types, such as:
273           ArrayRef[Int]    # array or integers
274           HashRef[Object]  # a hash with object values
275       They can also be nested:
276           ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
277       And work with the type unions as well:
278           ArrayRef[Int | Str]  # array of integers of strings
279
280     * Better Framework Extendability
281       Moose.pm is now "extendable" such that it is now much
282       easier to extend the framework and add your own keywords
283       and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
284       section of the Moose.pm docs.
285
286     * Moose Snacks!
287       In an effort to begin documenting some of the various
288       details of Moose as well as some common idioms, we have
289       created Moose::Cookbook::Snacks as a place to find
290       small (easily digestable) nuggets of Moose code.
291
292     ====
293     ~ Several doc updates/cleanup thanks to castaway ~
294
295     - converted build system to use Module::Install instead of
296       Module::Build (thanks to jrockway)
297
298     * Moose
299       - added all the meta classes to the immutable list and
300         set it to inline the accessors
301       - fix import to allow Sub::Exporter like { into => }
302             and { into_level => } (perigrin)
303       - exposed and documented init_meta() to allow better
304             embedding and extending of Moose (perigrin)
305
306         * t/
307           - complete re-organization of the test suite
308           - added some new tests as well
309           - finally re-enabled the Moose::POOP test since
310             the new version of DBM::Deep now works again
311             (thanks rob)
312
313     * Moose::Meta::Class
314       - fixed very odd and very nasty recursion bug with
315         inner/augment (mst)
316         - added tests for this (eilara)
317
318     * Moose::Meta::Attribute
319       Moose::Meta::Method::Constructor
320       Moose::Meta::Method::Accessor
321       - fixed issue with overload::Overloaded getting called
322         on non-blessed items. (RT #29269)
323         - added tests for this
324
325     * Moose::Meta::Method::Accessor
326       - fixed issue with generated accessor code making
327         assumptions about hash based classes (thanks to dexter)
328
329     * Moose::Coookbook::Snacks
330       - these are bits of documentation, not quite as big as
331         Recipes but which have no clear place in the module docs.
332         So they are Snacks! (horray for castaway++)
333
334     * Moose::Cookbook::Recipe4
335       - updated it to use the new ArrayRef[MyType] construct
336         - updated the accompanying test as well
337
338     +++ Major Refactor of the Type Constraint system +++
339     +++       with new features added as well        +++
340
341     * Moose::Util::TypeConstraint
342       - no longer uses package variable to keep track of
343         the type constraints, now uses the an instance of
344         Moose::Meta::TypeConstraint::Registry to do it
345       - added more sophisticated type notation parsing
346         (thanks to mugwump)
347         - added tests for this
348
349     * Moose::Meta::TypeConstraint
350       - some minor adjustments to make subclassing easier
351       - added the package_defined_in attribute so that we
352         can track where the type constraints are created
353
354     * Moose::Meta::TypeConstraint::Union
355       - this is now been refactored to be a subclass of
356         Moose::Meta::TypeConstraint
357
358     * Moose::Meta::TypeCoercion::Union
359       - this has been added to service the newly refactored
360         Moose::Meta::TypeConstraint::Union and is itself
361         a subclass of Moose::Meta::TypeCoercion
362
363     * Moose::Meta::TypeConstraint::Parameterized
364       - added this module (taken from MooseX::AttributeHelpers)
365         to help construct nested collection types
366         - added tests for this
367
368     * Moose::Meta::TypeConstraint::Registry
369       - added this class to keep track of type constraints
370
371 0.25 Mon. Aug. 13, 2007
372     * Moose
373       - Documentation update to reference Moose::Util::TypeConstraints
374         under 'isa' in 'has' for how to define a new type
375         (thanks to shlomif).
376
377     * Moose::Meta::Attribute
378       - required attributes now will no longer accept undef
379         from the constructor, even if there is a default and lazy
380         - added tests for this
381       - default subroutines must return a value which passes the
382         type constraint
383         - added tests for this
384
385     * Moose::Meta::Attribute
386     * Moose::Meta::Method::Constructor
387     * Moose::Meta::Method::Accessor
388       - type-constraint tests now handle overloaded objects correctly
389         in the error message
390         - added tests for this (thanks to EvanCarroll)
391
392     * Moose::Meta::TypeConstraint::Union
393       - added (has_)hand_optimized_constraint to this class so that
394         it behaves as the regular Moose::Meta::TypeConstraint does.
395
396     * Moose::Meta::Role
397       - large refactoring of this code
398       - added several more tests
399         - tests for subtle conflict resolition issues
400           added, but not currently running
401           (thanks to kolibre)
402
403     * Moose::Cookbook::Recipe7
404       - added new recipe for augment/inner functionality
405         (still in progress)
406         - added test for this
407
408     * Moose::Spec::Role
409       - a formal definition of roles (still in progress)
410
411     * Moose::Util
412       - utilities for easier working with Moose classes
413         - added tests for these
414
415     * Test::Moose
416       - This contains Moose specific test functions
417         - added tests for these
418
419 0.24 Tues. July 3, 2007
420     ~ Some doc updates/cleanup ~
421
422     * Moose::Meta::Attribute
423       - added support for roles to be given as parameters
424         to the 'handles' option.
425         - added tests and docs for this
426       - the has '+foo' attribute form now accepts changes to
427         the lazy option, and the addition of a handles option
428         (but not changing the handles option)
429         - added tests and docs for this
430
431     * Moose::Meta::Role
432       - required methods are now fetched using find_method_by_name
433         so that required methods can come from superclasses
434         - adjusted tests for this
435
436 0.23 Mon. June 18, 2007
437     * Moose::Meta::Method::Constructor
438       - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
439     * Moose::Meta::Class
440       - Modify make_immutable to work with the new Class::MOP immutable
441         mechanism + POD + very basic test (groditi)
442     * Moose::Meta::Attribute
443       - Fix handles to use goto() so that caller() comes out properly on
444         the other side (perigrin)
445
446 0.22 Thurs. May 31, 2007
447     * Moose::Util::TypeConstraints
448       - fix for prototype undeclared issue when Moose::Util::TypeConstraints
449         loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
450         prototypes for functions
451       - added the ClassName type constraint, this checks for strings
452         which will respond true to ->isa(UNIVERSAL).
453         - added tests and docs for this
454       - subtyping just in name now works correctly by making the
455         default for where be { 1 }
456         - added test for this
457
458     * Moose::Meta::Method::Accessor
459       - coerce and lazy now work together correctly, thanks to
460         merlyn for finding this bug
461         - tests added for this
462       - fix reader presedence bug in Moose::Meta::Attribute + tests
463
464     * Moose::Object
465       - Foo->new(undef) now gets ignored, it is assumed you meant to pass
466         a HASH-ref and missed. This produces better error messages then
467         having it die cause undef is not a HASH.
468         - added tests for this
469
470 0.21 Thursday, May 2nd, 2007
471     * Moose
472       - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
473       - modified unimport to remove super and inner along with the rest
474         - altered unimport tests to handle this
475
476     * Moose::Role
477       - altered super export to populate SUPER_SLOT
478
479     * Moose::Meta::Class
480       - altered augment and override modifier application to use *_SLOT
481         - modified tests for these to unimport one test class each to test
482
483     * Moose::Meta::Role
484       - fixed issue where custom attribute metaclasses
485         where not handled correctly in roles
486         - added tests for this
487
488     * Moose::Meta::Class
489       - fixed issue where extending metaclasses with
490         roles would blow up. Thanks to Aankhen`` for
491         finding this insidious error, and it's solution.
492
493     ~~ lots of spelling and grammer fixes in the docs,
494        many many thanks to rlb3 and Aankhen for these :)
495
496 0.20 Friday, April 6th, 2007
497     >> I messed up the SKIP logic in one test
498        so this release is just to fix that.
499
500     * Moose
501       - 'has' now also accepts an ARRAY ref
502         to create multiple attrs (see docs)
503         (thanks to konobi for this)
504          - added tests and docs
505
506 0.19 Thurs. April 5th, 2007
507     ~~ More documentation updates ~~
508
509     * Moose::Util::TypeConstraints
510       - 'type' now supports messages as well
511         thanks to phaylon for finding this
512         - added tests for this
513       - added &list_all_type_constraints and
514         &list_all_builtin_type_constraints
515         functions to facilitate introspection.
516
517     * Moose::Meta::Attribute
518       - fixed regexp 'handles' declarations
519         to build the list of delegated methods
520         correctly (and not override important
521         things like &new) thanks to ashleyb
522         for finding this
523         - added tests and docs for this
524       - added the 'documentation' attributes
525         so that you can actually document your
526         attributes and inspect them through the
527         meta-object.
528         - added tests and docs for this
529
530     * Moose::Meta::Class
531       - when loading custom attribute metaclasses
532         it will first look in for the class in the
533         Moose::Meta::Attribute::Custom::$name, and
534         then default to just loading $name.
535         - added tests and docs for this
536
537     * Moose::Meta::TypeConstraint
538       - type constraints now stringify to their names.
539         - added test for this
540
541     * misc.
542       - added tests to assure we work with Module::Refresh
543       - added stricter test skip logic in the Moose POOP
544         test, ask Rob Kinyon why.
545         - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
546
547 0.18 Sat. March 10, 2007
548     ~~ Many, many documentation updates ~~
549
550     * misc.
551       - We now use Class::MOP::load_class to
552         load all classes.
553       - added tests to show types and subtypes
554         working with Declare::Constraints::Simple
555         and Test::Deep as constraint engines.
556
557 0.18_001
558     !! You must have Class::MOP 0.37_001  !!
559     !! for this developer release to work !!
560
561     This release was primarily adding the immutable
562     feature to Moose. An immutable class is one which
563     you promise not to alter. When you set the class
564     as immutable it will perform various bits of
565     memoization and inline certain part of the code
566     (constructors, destructors and accessors). This
567     minimizes (and in some cases totally eliminates)
568     one of Moose's biggest performance hits. This
569     feature is not on by default, and is 100% optional.
570     It has several configurable bits as well, so you
571     can pick and choose to your specific needs.
572
573     The changes involved in this were fairly wide and
574     highly specific, but 100% backwards compatible, so
575     I am not going to enumerate them here. If you are
576     truely interested in what was changed, please do
577     a diff :)
578
579 0.17 Tues. Nov. 14, 2006
580     * Moose::Meta::Method::Accessor
581       - bugfix for read-only accessors which
582         are have a type constraint and lazy.
583         Thanks to chansen for finding it.
584
585 0.16 Tues. Nov. 14, 2006
586     ++ NOTE ++
587     There are some speed improvements in this release,
588     but they are only the begining, so stay tuned.
589
590     * Moose::Object
591       - BUILDALL and DEMOLISHALL no longer get
592         called unless they actually need to be.
593         This gave us a signifigant speed boost
594         for the cases when there is no BUILD or
595         DEMOLISH method present.
596
597     * Moose::Util::TypeConstraints
598     * Moose::Meta::TypeConstraint
599       - added an 'optimize_as' option to the
600         type constraint, which allows for a
601         hand optimized version of the type
602         constraint to be used when possible.
603       - Any internally created type constraints
604         now provide an optimized version as well.
605
606 0.15 Sun. Nov. 5, 2006
607     ++ NOTE ++
608     This version of Moose *must* have Class::MOP 0.36 in order
609     to work correctly. A number of small internal tweaks have
610     been made in order to be compatible with that release.
611
612     * Moose::Util::TypeConstraints
613       - added &unimport so that you can clean out
614         your class namespace of these exported
615         keywords
616
617     * Moose::Meta::Class
618       - fixed minor issue which occasionally
619         comes up during global destruction
620         (thanks omega)
621       - moved Moose::Meta::Method::Overriden into
622         its own file.
623
624     * Moose::Meta::Role
625       - moved Moose::Meta::Role::Method into
626         its own file.
627
628     * Moose::Meta::Attribute
629       - changed how we do type checks so that
630         we reduce the overall cost, but still
631         retain correctness.
632        *** API CHANGE ***
633       - moved accessor generation methods to
634         Moose::Meta::Method::Accessor to
635         conform to the API changes from
636         Class::MOP 0.36
637
638     * Moose::Meta::TypeConstraint
639       - changed how constraints are compiled
640         so that we do less recursion and more
641         iteration. This makes the type check
642         faster :)
643       - moved Moose::Meta::TypeConstraint::Union
644         into its own file
645
646     * Moose::Meta::Method::Accessor
647       - created this from methods formerly found in
648         Moose::Meta::Attribute
649
650     * Moose::Meta::Role::Method
651       - moved this from Moose::Meta::Role
652
653     * Moose::Meta::Method::Overriden
654       - moved this from Moose::Meta::Class
655
656     * Moose::Meta::TypeConstraint::Union
657       - moved this from Moose::Meta::TypeConstraint
658
659 0.14 Mon. Oct. 9, 2006
660
661     * Moose::Meta::Attribute
662       - fixed lazy attributes which were not getting
663         checked with the type constraint (thanks ashley)
664         - added tests for this
665       - removed the over-enthusiastic DWIMery of the
666         automatic ArrayRef and HashRef defaults, it
667         broke predicates in an ugly way.
668         - removed tests for this
669
670 0.13 Sat. Sept. 30, 2006
671     ++ NOTE ++
672     This version of Moose *must* have Class::MOP 0.35 in order
673     to work correctly. A number of small internal tweaks have
674     been made in order to be compatible with that release.
675
676     * Moose
677       - Removed the use of UNIVERSAL::require to be a better
678         symbol table citizen and remove a dependency
679         (thanks Adam Kennedy)
680
681       **~~ removed experimental & undocumented feature ~~**
682       - commented out the 'method' and 'self' keywords, see the
683         comments for more info.
684
685     * Moose::Cookbook
686       - added a FAQ and WTF files to document frequently
687         asked questions and common problems
688
689     * Moose::Util::TypeConstraints
690       - added GlobRef and FileHandle type constraint
691         - added tests for this
692
693     * Moose::Meta::Attribute
694       - if your attribute 'isa' ArrayRef of HashRef, and you have
695         not explicitly set a default, then make the default DWIM.
696         This will also work for subtypes of ArrayRef and HashRef
697         as well.
698       - you can now auto-deref subtypes of ArrayRef or HashRef too.
699         - new test added for this (thanks to ashley)
700
701     * Moose::Meta::Role
702       - added basic support for runtime role composition
703         but this is still *highly experimental*, so feedback
704         is much appreciated :)
705         - added tests for this
706
707     * Moose::Meta::TypeConstraint
708       - the type constraint now handles the coercion process
709         through delegation, this is to support the coercion
710         of unions
711
712     * Moose::Meta::TypeConstraint::Union
713       - it is now possible for coercions to be performed
714         on a type union
715         - added tests for this (thanks to konobi)
716
717     * Moose::Meta::TypeCoercion
718       - properly capturing error when type constraint
719         is not found
720
721     * Build.PL
722       - Scalar::Util 1.18 is bad on Win32, so temporarily
723         only require version 1.17 for Win32 and cygwin.
724         (thanks Adam Kennedy)
725
726 0.12 Sat. Sept. 1, 2006
727     * Moose::Cookbook
728       - Recipe5 (subtypes & coercion) has been written
729
730     * Moose
731       - fixed "bad meta" error message to be more descriptive
732       - fixed &unimport to not remove the &inner and &super
733         keywords because we need to localize them.
734       - fixed number of spelling/grammer issues, thanks Theory :)
735
736       **~~ experimental & undocumented feature ~~**
737       - added the method and self keywords, they are basically
738         just sugar, and they may not stay around.
739
740     * Moose::Object
741       - added &dump method to easily Data::Dumper
742         an object
743
744     * Moose::Meta::TypeConstraint
745       - added the &is_a_type_of method to check both the current
746         and the subtype of a method (similar to &isa with classes)
747
748     * Moose::Meta::Role
749       - this is now a subclass of Class::MOP::Module, and no longer
750         creates the _role_meta ugliness of before.
751         - fixed tests to reflect this change
752
753 0.11 Wed. July 12, 2006
754     * Moose
755       - added an &unimport method to remove all the keywords
756         that Moose will import, simply add 'no Moose' to the
757         bottom of your class file.
758
759     * t/
760       - fixed some test failures caused by a forgotten test
761         dependency.
762
763 0.10 Thurs. July 6, 2006
764     * Moose
765       - improved error message when loading modules so
766         it is less confusing when you load a role.
767       - added &calculate_all_roles method to
768         Moose::Meta::Class and Moose::Meta::Role
769
770     NOTE:
771     This module has been tested against Class::MOP 0.30
772     but it does not yet utilize the optimizations
773     it makes available. Stay tuned for that ;)
774
775 0.09_03 Fri. June 23, 2006
776     ++ DEVELOPER RELEASE ++
777     * Moose
778       - 'use strict' and 'use warnings' are no longer
779          needed in Moose classes, Moose itself will
780          turn them on for you.
781          - added tests for this
782       - moved code from exported subs to private methods
783         in Moose::Meta::Class
784
785     * Moose::Role
786       - as with Moose, strict and warnings are
787         automatically turned on for you.
788          - added tests for this
789
790     * Moose::Meta::Role
791       - now handles an edge case for override errors
792         - added tests for this
793       - added some more edge case tests
794
795 0.09_02 Tues. May 16, 2006
796     ++ DEVELOPER RELEASE ++
797     * Moose
798       - added prototypes to the exported subs
799       - updated docs
800
801     * Moose::Role
802       - added prototypes to the exported subs
803       - updated docs
804
805     * Moose::Util::TypeConstraints
806       - cleaned up prototypes for the subs
807       - updated docs
808
809 0.09_01 Fri. May 12, 2006
810     ++ DEVELOPER RELEASE ++
811       - This release works in combination with
812         Class::MOP 0.29_01, it is a developer
813         release because it uses the a new
814         instance sub-protocol and a fairly
815         complete Role implementation. It has
816         not yet been optimized, so it slower
817         the the previous CPAN version. This
818         release also lacks good updated docs,
819         the official release will have updated docs.
820
821     * Moose
822       - refactored the keyword exports
823         - 'with' now checks Role validaity and
824           accepts more than one Role at a time
825         - 'extends' makes metaclass adjustments as
826            needed to ensure metaclass compatability
827
828     * Moose::Role
829       - refactored the keyword exports
830         - 'with' now checks Role validaity and
831           accepts more than one Role at a time
832
833     * Moose::Util::TypeConstraints
834       - added the 'enum' keyword for simple
835         string enumerations which can be used as
836         type constraints
837         - see example of usage in t/202_example.t
838
839     * Moose::Object
840       - more careful checking of params to new()
841
842     * Moose::Meta::Role
843       - much work done on the role composition
844         - many new tests for conflict detection
845           and composition edge cases
846         - not enough documentation, I suggest
847           looking at the tests
848
849     * Moose::Meta::Instance
850       - added new Instance metaclass to support
851         the new Class::MOP instance protocol
852
853     * Moose::Meta::Class
854       - some small changes to support the new
855         instance protocol
856       - some small additions to support Roles
857
858     * Moose::Meta::Attribute
859       - some improvements to the accessor generation code
860         by nothingmuch
861       - some small changes to support the new
862         instance protocol
863       - (still somewhat) experimental delegation support
864         with the 'handles' option
865         - added several tests for this
866         - no docs for this yet
867
868 0.05 Thurs. April 27, 2006
869     * Moose
870       - keywords are now exported with Sub::Exporter
871         thanks to chansen for this commit
872       - has keyword now takes a 'metaclass' option
873         to support custom attribute meta-classes
874         on a per-attribute basis
875         - added tests for this
876       - the 'has' keyword not accepts inherited slot
877         specifications (has '+foo'). This is still an
878         experimental feature and probably not finished
879         see t/038_attribute_inherited_slot_specs.t for
880         more details, or ask about it on #moose
881         - added tests for this
882
883     * Moose::Role
884       - keywords are now exported with Sub::Exporter
885
886     * Moose::Utils::TypeConstraints
887       - reorganized the type constraint hierarchy, thanks
888         to nothingmuch and chansen for his help and advice
889         on this
890         - added some tests for this
891       - keywords are now exported with Sub::Exporter
892         thanks to chansen for this commit
893
894     * Moose::Meta::Class
895       - due to changes in Class::MOP, we had to change
896         construct_instance (for the better)
897
898     * Moose::Meta::Attribute
899       - due to changes in Class::MOP, we had to add the
900         initialize_instance_slot method (it's a good thing)
901
902     * Moose::Meta::TypeConstraint
903       - added type constraint unions
904         - added tests for this
905       - added the is_subtype_of predicate method
906         - added tests for this
907
908 0.04 Sun. April 16th, 2006
909     * Moose::Role
910       - Roles can now consume other roles
911         - added tests for this
912       - Roles can specify required methods now with
913         the requires() keyword
914         - added tests for this
915
916     * Moose::Meta::Role
917       - ripped out much of it's guts ,.. much cleaner now
918       - added required methods and correct handling of
919         them in apply() for both classes and roles
920         - added tests for this
921       - no longer adds a does() method to consuming classes
922         it relys on the one in Moose::Object
923       - added roles attribute and some methods to support
924         roles consuming roles
925
926     * Moose::Meta::Attribute
927       - added support for triggers on attributes
928         - added tests for this
929       - added support for does option on an attribute
930         - added tests for this
931
932     * Moose::Meta::Class
933       - added support for attribute triggers in the
934         object construction
935         - added tests for this
936
937     * Moose
938       - Moose no longer creates a subtype for your class
939         if a subtype of the same name already exists, this
940         should DWIM in 99.9999% of all cases
941
942     * Moose::Util::TypeConstraints
943       - fixed bug where incorrect subtype conflicts were
944         being reported
945         - added test for this
946
947     * Moose::Object
948       - this class can now be extended with 'use base' if
949         you need it, it properly loads the metaclass class now
950         - added test for this
951
952 0.03_02 Wed. April 12, 2006
953     * Moose
954       - you must now explictly use Moose::Util::TypeConstraints
955         it no longer gets exported for you automatically
956
957     * Moose::Object
958       - new() now accepts hash-refs as well as key/value lists
959       - added does() method to check for Roles
960         - added tests for this
961
962     * Moose::Meta::Class
963       - added roles attribute along with the add_role() and
964         does_role() methods
965         - added tests for this
966
967     * Moose::Meta::Role
968       - now adds a does() method to consuming classes
969         which tests the class's hierarchy for roles
970         - added tests for this
971
972 0.03_01 Mon. April 10, 2006
973     * Moose::Cookbook
974       - added new Role recipe (no content yet, only code)
975
976     * Moose
977       - added 'with' keyword for Role support
978         - added test and docs for this
979       - fixed subtype quoting bug
980         - added test for this
981
982     * Moose::Role
983       - Roles for Moose
984         - added test and docs
985
986     * Moose::Util::TypeConstraints
987       - added the message keyword to add custom
988         error messages to type constraints
989
990     * Moose::Meta::Role
991       - the meta role to support Moose::Role
992         - added tests and docs
993
994     * Moose::Meta::Class
995       - moved a number of things from Moose.pm
996         to here, they should have been here
997         in the first place
998
999     * Moose::Meta::Attribute
1000       - moved the attribute option macros here
1001         instead of putting them in Moose.pm
1002
1003     * Moose::Meta::TypeConstraint
1004       - added the message attributes and the
1005         validate method
1006         - added tests and docs for this
1007
1008 0.03 Thurs. March 30, 2006
1009     * Moose::Cookbook
1010       - added the Moose::Cookbook with 5 recipes,
1011         describing all the stuff Moose can do.
1012
1013     * Moose
1014       - fixed an issue with &extends super class loading
1015         it now captures errors and deals with inline
1016         packages correctly (bug found by mst, solution
1017         stolen from alias)
1018       - added super/override & inner/augment features
1019         - added tests and docs for these
1020
1021     * Moose::Object
1022       - BUILDALL now takes a reference of the %params
1023         that are passed to &new, and passes that to
1024         each BUILD as well.
1025
1026     * Moose::Util::TypeConstraints
1027       - Type constraints now survive runtime reloading
1028         - added test for this
1029
1030         * Moose::Meta::Class
1031           - fixed the way attribute defaults are handled
1032             during instance construction (bug found by chansen)
1033
1034     * Moose::Meta::Attribute
1035       - read-only attributes now actually enforce their
1036         read-only-ness (this corrected in Class::MOP as
1037         well)
1038
1039 0.02 Tues. March 21, 2006
1040     * Moose
1041       - many more tests, fixing some bugs and
1042         edge cases
1043       - &extends now loads the base module with
1044         UNIVERSAL::require
1045         - added UNIVERSAL::require to the
1046           dependencies list
1047       ** API CHANGES **
1048       - each new Moose class will also create
1049         and register a subtype of Object which
1050         correspond to the new Moose class.
1051       - the 'isa' option in &has now only
1052         accepts strings, and will DWIM in
1053         almost all cases
1054
1055     * Moose::Util::TypeConstraints
1056       - added type coercion features
1057         - added tests for this
1058         - added support for this in attributes
1059           and instance construction
1060       ** API CHANGES **
1061       - type construction no longer creates a
1062         function, it registers the type instead.
1063         - added several functions to get the
1064           registered types
1065
1066     * Moose::Object
1067       - BUILDALL and DEMOLISHALL were broken
1068         because of a mis-named hash key, Whoops :)
1069
1070     * Moose::Meta::Attribute
1071       - adding support for coercion in the
1072         autogenerated accessors
1073
1074     * Moose::Meta::Class
1075       - adding support for coercion in the
1076         instance construction
1077
1078     * Moose::Meta::TypeConstraint
1079     * Moose::Meta::TypeCoercion
1080           - type constraints and coercions are now
1081             full fledges meta-objects
1082
1083 0.01 Wed. March 15, 2006
1084     - Moooooooooooooooooose!!!