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