1f827706c8e388ba72ac9134ab1c9cefc9ed9f8c
[gitmo/Moose.git] / Changes
1 Revision history for Perl extension Moose
2
3 0.03_02 Wed. April 12, 2006
4     * Moose
5       - you must now explictly use Moose::Util::TypeConstraints
6         it no longer gets exported for you automatically
7         
8     * Moose::Object
9       - new() now accepts hash-refs as well as key/value lists
10       - added does() method to check for Roles
11         - added tests for this
12
13     * Moose::Meta::Class
14       - added roles attribute along with the add_role() and 
15         does_role() methods
16         - added tests for this 
17
18     * Moose::Meta::Role
19       - now adds a does() method to consuming classes 
20         which tests the class's hierarchy for roles
21         - added tests for this
22
23 0.03_01 Mon. April 10, 2006
24     * Moose::Cookbook
25       - added new Role recipe (no content yet, only code)
26       
27     * Moose
28       - added 'with' keyword for Role support
29         - added test and docs for this
30       - fixed subtype quoting bug
31         - added test for this 
32
33     * Moose::Role
34       - Roles for Moose
35         - added test and docs
36
37     * Moose::Util::TypeConstraints
38       - added the message keyword to add custom
39         error messages to type constraints        
40       
41     * Moose::Meta::Role
42       - the meta role to support Moose::Role
43         - added tests and docs
44         
45     * Moose::Meta::Class
46       - moved a number of things from Moose.pm 
47         to here, they should have been here 
48         in the first place
49
50     * Moose::Meta::Attribute
51       - moved the attribute option macros here
52         instead of putting them in Moose.pm
53
54     * Moose::Meta::TypeConstraint
55       - added the message attributes and the 
56         validate method
57         - added tests and docs for this
58
59 0.03 Thurs. March 30, 2006
60     * Moose::Cookbook
61       - added the Moose::Cookbook with 5 recipes, 
62         describing all the stuff Moose can do.
63
64     * Moose
65       - fixed an issue with &extends super class loading
66         it now captures errors and deals with inline 
67         packages correctly (bug found by mst, solution 
68         stolen from alias)
69       - added super/override & inner/augment features
70         - added tests and docs for these
71     
72     * Moose::Object
73       - BUILDALL now takes a reference of the %params 
74         that are passed to &new, and passes that to 
75         each BUILD as well.
76         
77     * Moose::Util::TypeConstraints
78       - Type constraints now survive runtime reloading
79         - added test for this
80
81         * Moose::Meta::Class
82           - fixed the way attribute defaults are handled 
83             during instance construction (bug found by chansen)
84
85     * Moose::Meta::Attribute
86       - read-only attributes now actually enforce their
87         read-only-ness (this corrected in Class::MOP as 
88         well)
89
90 0.02 Tues. March 21, 2006
91     * Moose
92       - many more tests, fixing some bugs and  
93         edge cases
94       - &extends now loads the base module with
95         UNIVERSAL::require 
96         - added UNIVERSAL::require to the 
97           dependencies list
98       ** API CHANGES **
99       - each new Moose class will also create 
100         and register a subtype of Object which 
101         correspond to the new Moose class.      
102       - the 'isa' option in &has now only 
103         accepts strings, and will DWIM in 
104         almost all cases
105     
106     * Moose::Util::TypeConstraints
107       - added type coercion features
108         - added tests for this
109         - added support for this in attributes 
110           and instance construction
111       ** API CHANGES **
112       - type construction no longer creates a 
113         function, it registers the type instead.
114         - added several functions to get the 
115           registered types 
116
117     * Moose::Object
118       - BUILDALL and DEMOLISHALL were broken 
119         because of a mis-named hash key, Whoops :)
120     
121     * Moose::Meta::Attribute
122       - adding support for coercion in the
123         autogenerated accessors
124         
125     * Moose::Meta::Class
126       - adding support for coercion in the
127         instance construction  
128
129     * Moose::Meta::TypeConstraint
130     * Moose::Meta::TypeCoercion
131           - type constraints and coercions are now 
132             full fledges meta-objects
133
134 0.01 Wed. March 15, 2006
135     - Moooooooooooooooooose!!!