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