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