1 Revision history for Perl extension Moose
4 ++ DEVELOPER RELEASE ++
6 - 'use strict' and 'use warnings' are no longer
7 needed in Moose classes, Moose itself will
10 - moved code from exported subs to private methods
14 - as with Moose, strict and warnings are
15 automatically turned on for you.
16 - added tests for this
19 - now handles an edge case for override errors
20 - added tests for this
21 - added some more edge case tests
23 0.09_02 Tues. May 16, 2006
24 ++ DEVELOPER RELEASE ++
26 - added prototypes to the exported subs
30 - added prototypes to the exported subs
33 * Moose::Util::TypeConstraints
34 - cleaned up prototypes for the subs
37 0.09_01 Fri. May 12, 2006
38 ++ DEVELOPER RELEASE ++
39 - This release works in combination with
40 Class::MOP 0.29_01, it is a developer
41 release because it uses the a new
42 instance sub-protocol and a fairly
43 complete Role implementation. It has
44 not yet been optimized, so it slower
45 the the previous CPAN version. This
46 release also lacks good updated docs,
47 the official release will have updated docs.
50 - refactored the keyword exports
51 - 'with' now checks Role validaity and
52 accepts more than one Role at a time
53 - 'extends' makes metaclass adjustments as
54 needed to ensure metaclass compatability
57 - refactored the keyword exports
58 - 'with' now checks Role validaity and
59 accepts more than one Role at a time
61 * Moose::Util::TypeConstraints
62 - added the 'enum' keyword for simple
63 string enumerations which can be used as
65 - see example of usage in t/202_example.t
68 - more careful checking of params to new()
71 - much work done on the role composition
72 - many new tests for conflict detection
73 and composition edge cases
74 - not enough documentation, I suggest
77 * Moose::Meta::Instance
78 - added new Instance metaclass to support
79 the new Class::MOP instance protocol
82 - some small changes to support the new
84 - some small additions to support Roles
86 * Moose::Meta::Attribute
87 - some improvements to the accessor generation code
89 - some small changes to support the new
91 - (still somewhat) experimental delegation support
92 with the 'handles' option
93 - added several tests for this
94 - no docs for this yet
96 0.05 Thurs. April 27, 2006
98 - keywords are now exported with Sub::Exporter
99 thanks to chansen for this commit
100 - has keyword now takes a 'metaclass' option
101 to support custom attribute meta-classes
102 on a per-attribute basis
103 - added tests for this
104 - the 'has' keyword not accepts inherited slot
105 specifications (has '+foo'). This is still an
106 experimental feature and probably not finished
107 see t/038_attribute_inherited_slot_specs.t for
108 more details, or ask about it on #moose
109 - added tests for this
112 - keywords are now exported with Sub::Exporter
114 * Moose::Utils::TypeConstraints
115 - reorganized the type constraint hierarchy, thanks
116 to nothingmuch and chansen for his help and advice
118 - added some tests for this
119 - keywords are now exported with Sub::Exporter
120 thanks to chansen for this commit
123 - due to changes in Class::MOP, we had to change
124 construct_instance (for the better)
126 * Moose::Meta::Attribute
127 - due to changes in Class::MOP, we had to add the
128 initialize_instance_slot method (it's a good thing)
130 * Moose::Meta::TypeConstraint
131 - added type constraint unions
132 - added tests for this
133 - added the is_subtype_of predicate method
134 - added tests for this
136 0.04 Sun. April 16th, 2006
138 - Roles can now consume other roles
139 - added tests for this
140 - Roles can specify required methods now with
141 the requires() keyword
142 - added tests for this
145 - ripped out much of it's guts ,.. much cleaner now
146 - added required methods and correct handling of
147 them in apply() for both classes and roles
148 - added tests for this
149 - no longer adds a does() method to consuming classes
150 it relys on the one in Moose::Object
151 - added roles attribute and some methods to support
152 roles consuming roles
154 * Moose::Meta::Attribute
155 - added support for triggers on attributes
156 - added tests for this
157 - added support for does option on an attribute
158 - added tests for this
161 - added support for attribute triggers in the
163 - added tests for this
166 - Moose no longer creates a subtype for your class
167 if a subtype of the same name already exists, this
168 should DWIM in 99.9999% of all cases
170 * Moose::Util::TypeConstraints
171 - fixed bug where incorrect subtype conflicts were
173 - added test for this
176 - this class can now be extended with 'use base' if
177 you need it, it properly loads the metaclass class now
178 - added test for this
180 0.03_02 Wed. April 12, 2006
182 - you must now explictly use Moose::Util::TypeConstraints
183 it no longer gets exported for you automatically
186 - new() now accepts hash-refs as well as key/value lists
187 - added does() method to check for Roles
188 - added tests for this
191 - added roles attribute along with the add_role() and
193 - added tests for this
196 - now adds a does() method to consuming classes
197 which tests the class's hierarchy for roles
198 - added tests for this
200 0.03_01 Mon. April 10, 2006
202 - added new Role recipe (no content yet, only code)
205 - added 'with' keyword for Role support
206 - added test and docs for this
207 - fixed subtype quoting bug
208 - added test for this
212 - added test and docs
214 * Moose::Util::TypeConstraints
215 - added the message keyword to add custom
216 error messages to type constraints
219 - the meta role to support Moose::Role
220 - added tests and docs
223 - moved a number of things from Moose.pm
224 to here, they should have been here
227 * Moose::Meta::Attribute
228 - moved the attribute option macros here
229 instead of putting them in Moose.pm
231 * Moose::Meta::TypeConstraint
232 - added the message attributes and the
234 - added tests and docs for this
236 0.03 Thurs. March 30, 2006
238 - added the Moose::Cookbook with 5 recipes,
239 describing all the stuff Moose can do.
242 - fixed an issue with &extends super class loading
243 it now captures errors and deals with inline
244 packages correctly (bug found by mst, solution
246 - added super/override & inner/augment features
247 - added tests and docs for these
250 - BUILDALL now takes a reference of the %params
251 that are passed to &new, and passes that to
254 * Moose::Util::TypeConstraints
255 - Type constraints now survive runtime reloading
256 - added test for this
259 - fixed the way attribute defaults are handled
260 during instance construction (bug found by chansen)
262 * Moose::Meta::Attribute
263 - read-only attributes now actually enforce their
264 read-only-ness (this corrected in Class::MOP as
267 0.02 Tues. March 21, 2006
269 - many more tests, fixing some bugs and
271 - &extends now loads the base module with
273 - added UNIVERSAL::require to the
276 - each new Moose class will also create
277 and register a subtype of Object which
278 correspond to the new Moose class.
279 - the 'isa' option in &has now only
280 accepts strings, and will DWIM in
283 * Moose::Util::TypeConstraints
284 - added type coercion features
285 - added tests for this
286 - added support for this in attributes
287 and instance construction
289 - type construction no longer creates a
290 function, it registers the type instead.
291 - added several functions to get the
295 - BUILDALL and DEMOLISHALL were broken
296 because of a mis-named hash key, Whoops :)
298 * Moose::Meta::Attribute
299 - adding support for coercion in the
300 autogenerated accessors
303 - adding support for coercion in the
304 instance construction
306 * Moose::Meta::TypeConstraint
307 * Moose::Meta::TypeCoercion
308 - type constraints and coercions are now
309 full fledges meta-objects
311 0.01 Wed. March 15, 2006
312 - Moooooooooooooooooose!!!