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