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