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