1 Revision history for Perl extension Moose
5 - 'use strict' and 'use warnings' are no longer
6 needed in Moose classes, Moose itself will
11 - as with Moose, strict and warnings are
12 automatically turned on for you.
13 - added tests for this
15 0.09_02 Tues. May 16, 2006
17 - added prototypes to the exported subs
21 - added prototypes to the exported subs
24 * Moose::Util::TypeConstraints
25 - cleaned up prototypes for the subs
28 0.09_01 Fri. May 12, 2006
29 ++ DEVELOPER RELEASE ++
30 - This release works in combination with
31 Class::MOP 0.29_01, it is a developer
32 release because it uses the a new
33 instance sub-protocol and a fairly
34 complete Role implementation. It has
35 not yet been optimized, so it slower
36 the the previous CPAN version. This
37 release also lacks good updated docs,
38 the official release will have updated docs.
41 - refactored the keyword exports
42 - 'with' now checks Role validaity and
43 accepts more than one Role at a time
44 - 'extends' makes metaclass adjustments as
45 needed to ensure metaclass compatability
48 - refactored the keyword exports
49 - 'with' now checks Role validaity and
50 accepts more than one Role at a time
52 * Moose::Util::TypeConstraints
53 - added the 'enum' keyword for simple
54 string enumerations which can be used as
56 - see example of usage in t/202_example.t
59 - more careful checking of params to new()
62 - much work done on the role composition
63 - many new tests for conflict detection
64 and composition edge cases
65 - not enough documentation, I suggest
68 * Moose::Meta::Instance
69 - added new Instance metaclass to support
70 the new Class::MOP instance protocol
73 - some small changes to support the new
75 - some small additions to support Roles
77 * Moose::Meta::Attribute
78 - some improvements to the accessor generation code
80 - some small changes to support the new
82 - (still somewhat) experimental delegation support
83 with the 'handles' option
84 - added several tests for this
85 - no docs for this yet
87 0.05 Thurs. April 27, 2006
89 - keywords are now exported with Sub::Exporter
90 thanks to chansen for this commit
91 - has keyword now takes a 'metaclass' option
92 to support custom attribute meta-classes
93 on a per-attribute basis
94 - added tests for this
95 - the 'has' keyword not accepts inherited slot
96 specifications (has '+foo'). This is still an
97 experimental feature and probably not finished
98 see t/038_attribute_inherited_slot_specs.t for
99 more details, or ask about it on #moose
100 - added tests for this
103 - keywords are now exported with Sub::Exporter
105 * Moose::Utils::TypeConstraints
106 - reorganized the type constraint hierarchy, thanks
107 to nothingmuch and chansen for his help and advice
109 - added some tests for this
110 - keywords are now exported with Sub::Exporter
111 thanks to chansen for this commit
114 - due to changes in Class::MOP, we had to change
115 construct_instance (for the better)
117 * Moose::Meta::Attribute
118 - due to changes in Class::MOP, we had to add the
119 initialize_instance_slot method (it's a good thing)
121 * Moose::Meta::TypeConstraint
122 - added type constraint unions
123 - added tests for this
124 - added the is_subtype_of predicate method
125 - added tests for this
127 0.04 Sun. April 16th, 2006
129 - Roles can now consume other roles
130 - added tests for this
131 - Roles can specify required methods now with
132 the requires() keyword
133 - added tests for this
136 - ripped out much of it's guts ,.. much cleaner now
137 - added required methods and correct handling of
138 them in apply() for both classes and roles
139 - added tests for this
140 - no longer adds a does() method to consuming classes
141 it relys on the one in Moose::Object
142 - added roles attribute and some methods to support
143 roles consuming roles
145 * Moose::Meta::Attribute
146 - added support for triggers on attributes
147 - added tests for this
148 - added support for does option on an attribute
149 - added tests for this
152 - added support for attribute triggers in the
154 - added tests for this
157 - Moose no longer creates a subtype for your class
158 if a subtype of the same name already exists, this
159 should DWIM in 99.9999% of all cases
161 * Moose::Util::TypeConstraints
162 - fixed bug where incorrect subtype conflicts were
164 - added test for this
167 - this class can now be extended with 'use base' if
168 you need it, it properly loads the metaclass class now
169 - added test for this
171 0.03_02 Wed. April 12, 2006
173 - you must now explictly use Moose::Util::TypeConstraints
174 it no longer gets exported for you automatically
177 - new() now accepts hash-refs as well as key/value lists
178 - added does() method to check for Roles
179 - added tests for this
182 - added roles attribute along with the add_role() and
184 - added tests for this
187 - now adds a does() method to consuming classes
188 which tests the class's hierarchy for roles
189 - added tests for this
191 0.03_01 Mon. April 10, 2006
193 - added new Role recipe (no content yet, only code)
196 - added 'with' keyword for Role support
197 - added test and docs for this
198 - fixed subtype quoting bug
199 - added test for this
203 - added test and docs
205 * Moose::Util::TypeConstraints
206 - added the message keyword to add custom
207 error messages to type constraints
210 - the meta role to support Moose::Role
211 - added tests and docs
214 - moved a number of things from Moose.pm
215 to here, they should have been here
218 * Moose::Meta::Attribute
219 - moved the attribute option macros here
220 instead of putting them in Moose.pm
222 * Moose::Meta::TypeConstraint
223 - added the message attributes and the
225 - added tests and docs for this
227 0.03 Thurs. March 30, 2006
229 - added the Moose::Cookbook with 5 recipes,
230 describing all the stuff Moose can do.
233 - fixed an issue with &extends super class loading
234 it now captures errors and deals with inline
235 packages correctly (bug found by mst, solution
237 - added super/override & inner/augment features
238 - added tests and docs for these
241 - BUILDALL now takes a reference of the %params
242 that are passed to &new, and passes that to
245 * Moose::Util::TypeConstraints
246 - Type constraints now survive runtime reloading
247 - added test for this
250 - fixed the way attribute defaults are handled
251 during instance construction (bug found by chansen)
253 * Moose::Meta::Attribute
254 - read-only attributes now actually enforce their
255 read-only-ness (this corrected in Class::MOP as
258 0.02 Tues. March 21, 2006
260 - many more tests, fixing some bugs and
262 - &extends now loads the base module with
264 - added UNIVERSAL::require to the
267 - each new Moose class will also create
268 and register a subtype of Object which
269 correspond to the new Moose class.
270 - the 'isa' option in &has now only
271 accepts strings, and will DWIM in
274 * Moose::Util::TypeConstraints
275 - added type coercion features
276 - added tests for this
277 - added support for this in attributes
278 and instance construction
280 - type construction no longer creates a
281 function, it registers the type instead.
282 - added several functions to get the
286 - BUILDALL and DEMOLISHALL were broken
287 because of a mis-named hash key, Whoops :)
289 * Moose::Meta::Attribute
290 - adding support for coercion in the
291 autogenerated accessors
294 - adding support for coercion in the
295 instance construction
297 * Moose::Meta::TypeConstraint
298 * Moose::Meta::TypeCoercion
299 - type constraints and coercions are now
300 full fledges meta-objects
302 0.01 Wed. March 15, 2006
303 - Moooooooooooooooooose!!!