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