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