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