1 Revision history for Perl extension Moose
3 0.11 Wed. July 12, 2006
5 - added an &unimport method to remove all the keywords
6 that Moose will import, simply add 'no Moose' to the
7 bottom of your class file.
10 - fixed some test failures caused by a forgotten test
13 0.10 Thurs. July 6, 2006
15 - improved error message when loading modules so
16 it is less confusing when you load a role.
17 - added &calculate_all_roles method to
18 Moose::Meta::Class and Moose::Meta::Role
21 This module has been tested against Class::MOP 0.30
22 but it does not yet utilize the optimizations
23 it makes available. Stay tuned for that ;)
25 0.09_03 Fri. June 23, 2006
26 ++ DEVELOPER RELEASE ++
28 - 'use strict' and 'use warnings' are no longer
29 needed in Moose classes, Moose itself will
31 - added tests for this
32 - moved code from exported subs to private methods
36 - as with Moose, strict and warnings are
37 automatically turned on for you.
38 - added tests for this
41 - now handles an edge case for override errors
42 - added tests for this
43 - added some more edge case tests
45 0.09_02 Tues. May 16, 2006
46 ++ DEVELOPER RELEASE ++
48 - added prototypes to the exported subs
52 - added prototypes to the exported subs
55 * Moose::Util::TypeConstraints
56 - cleaned up prototypes for the subs
59 0.09_01 Fri. May 12, 2006
60 ++ DEVELOPER RELEASE ++
61 - This release works in combination with
62 Class::MOP 0.29_01, it is a developer
63 release because it uses the a new
64 instance sub-protocol and a fairly
65 complete Role implementation. It has
66 not yet been optimized, so it slower
67 the the previous CPAN version. This
68 release also lacks good updated docs,
69 the official release will have updated docs.
72 - refactored the keyword exports
73 - 'with' now checks Role validaity and
74 accepts more than one Role at a time
75 - 'extends' makes metaclass adjustments as
76 needed to ensure metaclass compatability
79 - refactored the keyword exports
80 - 'with' now checks Role validaity and
81 accepts more than one Role at a time
83 * Moose::Util::TypeConstraints
84 - added the 'enum' keyword for simple
85 string enumerations which can be used as
87 - see example of usage in t/202_example.t
90 - more careful checking of params to new()
93 - much work done on the role composition
94 - many new tests for conflict detection
95 and composition edge cases
96 - not enough documentation, I suggest
99 * Moose::Meta::Instance
100 - added new Instance metaclass to support
101 the new Class::MOP instance protocol
104 - some small changes to support the new
106 - some small additions to support Roles
108 * Moose::Meta::Attribute
109 - some improvements to the accessor generation code
111 - some small changes to support the new
113 - (still somewhat) experimental delegation support
114 with the 'handles' option
115 - added several tests for this
116 - no docs for this yet
118 0.05 Thurs. April 27, 2006
120 - keywords are now exported with Sub::Exporter
121 thanks to chansen for this commit
122 - has keyword now takes a 'metaclass' option
123 to support custom attribute meta-classes
124 on a per-attribute basis
125 - added tests for this
126 - the 'has' keyword not accepts inherited slot
127 specifications (has '+foo'). This is still an
128 experimental feature and probably not finished
129 see t/038_attribute_inherited_slot_specs.t for
130 more details, or ask about it on #moose
131 - added tests for this
134 - keywords are now exported with Sub::Exporter
136 * Moose::Utils::TypeConstraints
137 - reorganized the type constraint hierarchy, thanks
138 to nothingmuch and chansen for his help and advice
140 - added some tests for this
141 - keywords are now exported with Sub::Exporter
142 thanks to chansen for this commit
145 - due to changes in Class::MOP, we had to change
146 construct_instance (for the better)
148 * Moose::Meta::Attribute
149 - due to changes in Class::MOP, we had to add the
150 initialize_instance_slot method (it's a good thing)
152 * Moose::Meta::TypeConstraint
153 - added type constraint unions
154 - added tests for this
155 - added the is_subtype_of predicate method
156 - added tests for this
158 0.04 Sun. April 16th, 2006
160 - Roles can now consume other roles
161 - added tests for this
162 - Roles can specify required methods now with
163 the requires() keyword
164 - added tests for this
167 - ripped out much of it's guts ,.. much cleaner now
168 - added required methods and correct handling of
169 them in apply() for both classes and roles
170 - added tests for this
171 - no longer adds a does() method to consuming classes
172 it relys on the one in Moose::Object
173 - added roles attribute and some methods to support
174 roles consuming roles
176 * Moose::Meta::Attribute
177 - added support for triggers on attributes
178 - added tests for this
179 - added support for does option on an attribute
180 - added tests for this
183 - added support for attribute triggers in the
185 - added tests for this
188 - Moose no longer creates a subtype for your class
189 if a subtype of the same name already exists, this
190 should DWIM in 99.9999% of all cases
192 * Moose::Util::TypeConstraints
193 - fixed bug where incorrect subtype conflicts were
195 - added test for this
198 - this class can now be extended with 'use base' if
199 you need it, it properly loads the metaclass class now
200 - added test for this
202 0.03_02 Wed. April 12, 2006
204 - you must now explictly use Moose::Util::TypeConstraints
205 it no longer gets exported for you automatically
208 - new() now accepts hash-refs as well as key/value lists
209 - added does() method to check for Roles
210 - added tests for this
213 - added roles attribute along with the add_role() and
215 - added tests for this
218 - now adds a does() method to consuming classes
219 which tests the class's hierarchy for roles
220 - added tests for this
222 0.03_01 Mon. April 10, 2006
224 - added new Role recipe (no content yet, only code)
227 - added 'with' keyword for Role support
228 - added test and docs for this
229 - fixed subtype quoting bug
230 - added test for this
234 - added test and docs
236 * Moose::Util::TypeConstraints
237 - added the message keyword to add custom
238 error messages to type constraints
241 - the meta role to support Moose::Role
242 - added tests and docs
245 - moved a number of things from Moose.pm
246 to here, they should have been here
249 * Moose::Meta::Attribute
250 - moved the attribute option macros here
251 instead of putting them in Moose.pm
253 * Moose::Meta::TypeConstraint
254 - added the message attributes and the
256 - added tests and docs for this
258 0.03 Thurs. March 30, 2006
260 - added the Moose::Cookbook with 5 recipes,
261 describing all the stuff Moose can do.
264 - fixed an issue with &extends super class loading
265 it now captures errors and deals with inline
266 packages correctly (bug found by mst, solution
268 - added super/override & inner/augment features
269 - added tests and docs for these
272 - BUILDALL now takes a reference of the %params
273 that are passed to &new, and passes that to
276 * Moose::Util::TypeConstraints
277 - Type constraints now survive runtime reloading
278 - added test for this
281 - fixed the way attribute defaults are handled
282 during instance construction (bug found by chansen)
284 * Moose::Meta::Attribute
285 - read-only attributes now actually enforce their
286 read-only-ness (this corrected in Class::MOP as
289 0.02 Tues. March 21, 2006
291 - many more tests, fixing some bugs and
293 - &extends now loads the base module with
295 - added UNIVERSAL::require to the
298 - each new Moose class will also create
299 and register a subtype of Object which
300 correspond to the new Moose class.
301 - the 'isa' option in &has now only
302 accepts strings, and will DWIM in
305 * Moose::Util::TypeConstraints
306 - added type coercion features
307 - added tests for this
308 - added support for this in attributes
309 and instance construction
311 - type construction no longer creates a
312 function, it registers the type instead.
313 - added several functions to get the
317 - BUILDALL and DEMOLISHALL were broken
318 because of a mis-named hash key, Whoops :)
320 * Moose::Meta::Attribute
321 - adding support for coercion in the
322 autogenerated accessors
325 - adding support for coercion in the
326 instance construction
328 * Moose::Meta::TypeConstraint
329 * Moose::Meta::TypeCoercion
330 - type constraints and coercions are now
331 full fledges meta-objects
333 0.01 Wed. March 15, 2006
334 - Moooooooooooooooooose!!!