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