Commit | Line | Data |
e522431d |
1 | Revision history for Perl extension Moose |
2 | |
ffcb48b4 |
3 | 0.31 Mon. Nov. 26, 2007 |
f3c4e20e |
4 | * Moose::Meta::Attribute |
5 | - made the +attr syntax handle extending types with |
6 | parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')" |
7 | now works if the original foo is an ArrayRef. |
8 | - added tests for this. |
9 | - delegation now works even if the attribute does not |
10 | have a reader method using the get_read_method_ref |
11 | method from Class::MOP::Attribute. |
12 | - added tests for this |
13 | - added docs for this |
14 | |
15 | * Moose::Util::TypeConstraints |
16 | - passing no "additional attribute info" to |
17 | &find_or_create_type_constraint will no longer |
18 | attempt to create an __ANON__ type for you, |
19 | instead it will just return undef. |
20 | - added docs for this |
21 | |
1edfdf1c |
22 | 0.30 Fri. Nov. 23, 2007 |
ca168e89 |
23 | * Moose::Meta::Method::Constructor |
24 | -builder related bug in inlined constructor. (groditi) |
25 | |
3822d5ee |
26 | * Moose::Meta::Method::Accessor |
27 | - genereate unnecessary calls to predicates and refactor |
28 | code generation for runtime speed (groditi) |
29 | |
5d776bdf |
30 | * Moose::Util::TypeConstraints |
0e0709ea |
31 | - fix ClassName constraint to introspect symbol table (mst) |
a0f8153d |
32 | - added more tests for this (mst) |
33 | - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ... |
34 | with work correctly. |
35 | - added tests for this |
5d776bdf |
36 | |
1edfdf1c |
37 | * Moose::Cookbook |
38 | - adding the link to Recipie 11 (written by Sartak) |
39 | - adding test for SYNOPSIS code |
40 | |
ca168e89 |
41 | * t/ |
42 | - New tests for builder bug. Upon instantiation, if an |
43 | attribute had a builder, no value and was not lazy the |
44 | builder default was not getting run, oops. (groditi) |
45 | |
b97b9655 |
46 | 0.29 Tues. Nov. 13, 2007 |
0b26305c |
47 | * Moose::Meta::Attribute |
5d776bdf |
48 | - Fix error message on missing builder method (groditi) |
0b26305c |
49 | |
50 | * Moose::Meta::Method::Accessor |
5d776bdf |
51 | - Fix error message on missing builder method (groditi) |
0b26305c |
52 | |
53 | * t/ |
5d776bdf |
54 | - Add test to check for the correct error message when |
55 | builder method is missing (groditi) |
0b26305c |
56 | |
98c4c382 |
57 | 0.28 Tues. Nov. 13, 2007 |
58 | - 0.27 packaged incorrectly (groditi) |
59 | |
e134cd19 |
60 | 0.27 Tues. Nov. 13, 2007 |
26fbace8 |
61 | * Moose::Meta::Attribute |
62 | - Added support for the new builder option (groditi) |
6af1a927 |
63 | - Added support for lazy_build option (groditi) |
1ed0b94f |
64 | - Changed slot initialization for predicate changes (groditi) |
26fbace8 |
65 | |
66 | * Moose::Meta::Method::Accessor |
6af1a927 |
67 | - Added support for lazy_build option (groditi) |
28669f89 |
68 | - Fix inline methods to work with corrected predicate |
69 | behavior (groditi) |
26fbace8 |
70 | |
7a5b07b3 |
71 | * Moose::Meta::Method::Constructor |
72 | - Added support for lazy_build option (groditi) |
73 | |
26fbace8 |
74 | * t/ |
28669f89 |
75 | - tests for builder and lazy_build (groditi) |
26fbace8 |
76 | |
5af6a16d |
77 | * fixing some misc. bits in the docs that |
28669f89 |
78 | got mentioned on CPAN Forum & perlmonks |
e7f8d0c2 |
79 | |
80 | * Moose::Meta::Role |
81 | - fixed how required methods are handled |
82 | when they encounter overriden or modified |
83 | methods from a class (thanks to confound). |
84 | - added tests for this |
5af6a16d |
85 | |
3796382a |
86 | * Moose::Util::TypeConstraint |
87 | - fixed the type notation parser so that |
88 | the | always creates a union and so is |
89 | no longer a valid type char (thanks to |
90 | konobi, mugwump and #moose for working |
91 | this one out.) |
92 | - added more tests for this |
93 | |
77a18c28 |
94 | 0.26 Thurs. Sept. 27, 2007 |
95 | == New Features == |
96 | |
97 | * Parameterized Types |
98 | We now support parameterized collection types, such as: |
99 | ArrayRef[Int] # array or integers |
100 | HashRef[Object] # a hash with object values |
101 | They can also be nested: |
102 | ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values |
103 | And work with the type unions as well: |
104 | ArrayRef[Int | Str] # array of integers of strings |
105 | |
106 | * Better Framework Extendability |
107 | Moose.pm is now "extendable" such that it is now much |
108 | easier to extend the framework and add your own keywords |
109 | and customizations. See the "EXTENDING AND EMBEDDING MOOSE" |
110 | section of the Moose.pm docs. |
111 | |
112 | * Moose Snacks! |
113 | In an effort to begin documenting some of the various |
114 | details of Moose as well as some common idioms, we have |
115 | created Moose::Cookbook::Snacks as a place to find |
116 | small (easily digestable) nuggets of Moose code. |
117 | |
118 | ==== |
fb697a87 |
119 | ~ Several doc updates/cleanup thanks to castaway ~ |
e46f5cc2 |
120 | |
121 | - converted build system to use Module::Install instead of |
122 | Module::Build (thanks to jrockway) |
fb697a87 |
123 | |
d67145ed |
124 | * Moose |
125 | - added all the meta classes to the immutable list and |
126 | set it to inline the accessors |
9bcfbab1 |
127 | - fix import to allow Sub::Exporter like { into => } |
e59a5c29 |
128 | and { into_level => } (perigrin) |
9bcfbab1 |
129 | - exposed and documented init_meta() to allow better |
e59a5c29 |
130 | embedding and extending of Moose (perigrin) |
131 | |
132 | * t/ |
133 | - complete re-organization of the test suite |
b468a3d3 |
134 | - added some new tests as well |
77a18c28 |
135 | - finally re-enabled the Moose::POOP test since |
136 | the new version of DBM::Deep now works again |
137 | (thanks rob) |
b468a3d3 |
138 | |
139 | * Moose::Meta::Class |
140 | - fixed very odd and very nasty recursion bug with |
141 | inner/augment (mst) |
142 | - added tests for this (eilara) |
d67145ed |
143 | |
3726f905 |
144 | * Moose::Meta::Attribute |
145 | Moose::Meta::Method::Constructor |
146 | Moose::Meta::Method::Accessor |
147 | - fixed issue with overload::Overloaded getting called |
f1917f58 |
148 | on non-blessed items. (RT #29269) |
3726f905 |
149 | - added tests for this |
150 | |
3ccdc84a |
151 | * Moose::Meta::Method::Accessor |
152 | - fixed issue with generated accessor code making |
153 | assumptions about hash based classes (thanks to dexter) |
154 | |
3726f905 |
155 | * Moose::Coookbook::Snacks |
156 | - these are bits of documentation, not quite as big as |
157 | Recipes but which have no clear place in the module docs. |
158 | So they are Snacks! (horray for castaway++) |
159 | |
07cde929 |
160 | * Moose::Cookbook::Recipe4 |
161 | - updated it to use the new ArrayRef[MyType] construct |
162 | - updated the accompanying test as well |
163 | |
3726f905 |
164 | +++ Major Refactor of the Type Constraint system +++ |
165 | +++ with new features added as well +++ |
166 | |
22aed3c0 |
167 | * Moose::Util::TypeConstraint |
168 | - no longer uses package variable to keep track of |
169 | the type constraints, now uses the an instance of |
170 | Moose::Meta::TypeConstraint::Registry to do it |
f1917f58 |
171 | - added more sophisticated type notation parsing |
172 | (thanks to mugwump) |
173 | - added tests for this |
22aed3c0 |
174 | |
d67145ed |
175 | * Moose::Meta::TypeConstraint |
176 | - some minor adjustments to make subclassing easier |
22aed3c0 |
177 | - added the package_defined_in attribute so that we |
178 | can track where the type constraints are created |
d67145ed |
179 | |
180 | * Moose::Meta::TypeConstraint::Union |
3726f905 |
181 | - this is now been refactored to be a subclass of |
182 | Moose::Meta::TypeConstraint |
183 | |
184 | * Moose::Meta::TypeCoercion::Union |
185 | - this has been added to service the newly refactored |
186 | Moose::Meta::TypeConstraint::Union and is itself |
187 | a subclass of Moose::Meta::TypeCoercion |
d67145ed |
188 | |
0fbd4b0a |
189 | * Moose::Meta::TypeConstraint::Parameterized |
d67145ed |
190 | - added this module (taken from MooseX::AttributeHelpers) |
191 | to help construct nested collection types |
192 | - added tests for this |
18ea2bcc |
193 | |
22aed3c0 |
194 | * Moose::Meta::TypeConstraint::Registry |
195 | - added this class to keep track of type constraints |
d67145ed |
196 | |
887169d7 |
197 | 0.25 Mon. Aug. 13, 2007 |
8eca434b |
198 | * Moose |
199 | - Documentation update to reference Moose::Util::TypeConstraints |
200 | under 'isa' in 'has' for how to define a new type |
201 | (thanks to shlomif). |
202 | |
ab859145 |
203 | * Moose::Meta::Attribute |
204 | - required attributes now will no longer accept undef |
205 | from the constructor, even if there is a default and lazy |
206 | - added tests for this |
7a5ebc40 |
207 | - default subroutines must return a value which passes the |
208 | type constraint |
209 | - added tests for this |
a909a4df |
210 | |
211 | * Moose::Meta::Attribute |
212 | * Moose::Meta::Method::Constructor |
213 | * Moose::Meta::Method::Accessor |
214 | - type-constraint tests now handle overloaded objects correctly |
215 | in the error message |
216 | - added tests for this (thanks to EvanCarroll) |
ab859145 |
217 | |
8eca434b |
218 | * Moose::Meta::TypeConstraint::Union |
219 | - added (has_)hand_optimized_constraint to this class so that |
220 | it behaves as the regular Moose::Meta::TypeConstraint does. |
221 | |
5868294f |
222 | * Moose::Meta::Role |
887169d7 |
223 | - large refactoring of this code |
24a8fe99 |
224 | - added several more tests |
7125b244 |
225 | - tests for subtle conflict resolition issues |
226 | added, but not currently running |
227 | (thanks to kolibre) |
228 | |
229 | * Moose::Cookbook::Recipe7 |
887169d7 |
230 | - added new recipe for augment/inner functionality |
231 | (still in progress) |
7125b244 |
232 | - added test for this |
5868294f |
233 | |
24a8fe99 |
234 | * Moose::Spec::Role |
7125b244 |
235 | - a formal definition of roles (still in progress) |
24a8fe99 |
236 | |
9a641848 |
237 | * Moose::Util |
887169d7 |
238 | - utilities for easier working with Moose classes |
7125b244 |
239 | - added tests for these |
9a641848 |
240 | |
241 | * Test::Moose |
887169d7 |
242 | - This contains Moose specific test functions |
7125b244 |
243 | - added tests for these |
9a641848 |
244 | |
6b4c1bdd |
245 | 0.24 Tues. July 3, 2007 |
246 | ~ Some doc updates/cleanup ~ |
c84f324f |
247 | |
248 | * Moose::Meta::Attribute |
249 | - added support for roles to be given as parameters |
250 | to the 'handles' option. |
251 | - added tests and docs for this |
83cc9094 |
252 | - the has '+foo' attribute form now accepts changes to |
253 | the lazy option, and the addition of a handles option |
254 | (but not changing the handles option) |
255 | - added tests and docs for this |
c84f324f |
256 | |
1db8ecc7 |
257 | * Moose::Meta::Role |
258 | - required methods are now fetched using find_method_by_name |
259 | so that required methods can come from superclasses |
260 | - adjusted tests for this |
261 | |
81941e9b |
262 | 0.23 Mon. June 18, 2007 |
73b84d2e |
263 | * Moose::Meta::Method::Constructor |
264 | - fix inlined constructor for hierarchy with multiple BUILD methods (mst) |
ac2dc464 |
265 | * Moose::Meta::Class |
266 | - Modify make_immutable to work with the new Class::MOP immutable |
267 | mechanism + POD + very basic test (groditi) |
cbe25729 |
268 | * Moose::Meta::Attribute |
269 | - Fix handles to use goto() so that caller() comes out properly on |
270 | the other side (perigrin) |
ac2dc464 |
271 | |
db53853c |
272 | 0.22 Thurs. May 31, 2007 |
3969267d |
273 | * Moose::Util::TypeConstraints |
db53853c |
274 | - fix for prototype undeclared issue when Moose::Util::TypeConstraints |
275 | loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring |
276 | prototypes for functions |
9af1d28b |
277 | - added the ClassName type constraint, this checks for strings |
278 | which will respond true to ->isa(UNIVERSAL). |
279 | - added tests and docs for this |
86629f93 |
280 | - subtyping just in name now works correctly by making the |
281 | default for where be { 1 } |
282 | - added test for this |
3969267d |
283 | |
d7611a4a |
284 | * Moose::Meta::Method::Accessor |
285 | - coerce and lazy now work together correctly, thanks to |
286 | merlyn for finding this bug |
287 | - tests added for this |
df492bba |
288 | - fix reader presedence bug in Moose::Meta::Attribute + tests |
d7611a4a |
289 | |
86629f93 |
290 | * Moose::Object |
291 | - Foo->new(undef) now gets ignored, it is assumed you meant to pass |
292 | a HASH-ref and missed. This produces better error messages then |
293 | having it die cause undef is not a HASH. |
294 | - added tests for this |
295 | |
74a0a945 |
296 | 0.21 Thursday, May 2nd, 2007 |
52c7c330 |
297 | * Moose |
298 | - added SUPER_SLOT and INNER_SLOT class hashes to support unimport |
299 | - modified unimport to remove super and inner along with the rest |
300 | - altered unimport tests to handle this |
301 | |
302 | * Moose::Role |
303 | - altered super export to populate SUPER_SLOT |
304 | |
305 | * Moose::Meta::Class |
306 | - altered augment and override modifier application to use *_SLOT |
307 | - modified tests for these to unimport one test class each to test |
308 | |
492d4d76 |
309 | * Moose::Meta::Role |
310 | - fixed issue where custom attribute metaclasses |
311 | where not handled correctly in roles |
312 | - added tests for this |
5cb193ed |
313 | |
314 | * Moose::Meta::Class |
315 | - fixed issue where extending metaclasses with |
316 | roles would blow up. Thanks to Aankhen`` for |
317 | finding this insidious error, and it's solution. |
b7c751dc |
318 | |
0305961b |
319 | ~~ lots of spelling and grammer fixes in the docs, |
320 | many many thanks to rlb3 and Aankhen for these :) |
492d4d76 |
321 | |
e518dfb4 |
322 | 0.20 Friday, April 6th, 2007 |
a60285b3 |
323 | >> I messed up the SKIP logic in one test |
324 | so this release is just to fix that. |
325 | |
93c435b3 |
326 | * Moose |
327 | - 'has' now also accepts an ARRAY ref |
328 | to create multiple attrs (see docs) |
329 | (thanks to konobi for this) |
330 | - added tests and docs |
331 | |
cd7eeaf5 |
332 | 0.19 Thurs. April 5th, 2007 |
333 | ~~ More documentation updates ~~ |
334 | |
c899258b |
335 | * Moose::Util::TypeConstraints |
c1935ade |
336 | - 'type' now supports messages as well |
ddbdc0cb |
337 | thanks to phaylon for finding this |
c899258b |
338 | - added tests for this |
c1935ade |
339 | - added &list_all_type_constraints and |
340 | &list_all_builtin_type_constraints |
943596a6 |
341 | functions to facilitate introspection. |
d022f632 |
342 | |
343 | * Moose::Meta::Attribute |
344 | - fixed regexp 'handles' declarations |
345 | to build the list of delegated methods |
346 | correctly (and not override important |
ddbdc0cb |
347 | things like &new) thanks to ashleyb |
348 | for finding this |
349 | - added tests and docs for this |
c1935ade |
350 | - added the 'documentation' attributes |
ddbdc0cb |
351 | so that you can actually document your |
352 | attributes and inspect them through the |
353 | meta-object. |
d022f632 |
354 | - added tests and docs for this |
355 | |
c1935ade |
356 | * Moose::Meta::Class |
357 | - when loading custom attribute metaclasses |
358 | it will first look in for the class in the |
359 | Moose::Meta::Attribute::Custom::$name, and |
360 | then default to just loading $name. |
361 | - added tests and docs for this |
362 | |
900466d6 |
363 | * Moose::Meta::TypeConstraint |
364 | - type constraints now stringify to their names. |
365 | - added test for this |
366 | |
d022f632 |
367 | * misc. |
ddbdc0cb |
368 | - added tests to assure we work with Module::Refresh |
369 | - added stricter test skip logic in the Moose POOP |
370 | test, ask Rob Kinyon why. |
371 | - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;) |
c899258b |
372 | |
af5199c6 |
373 | 0.18 Sat. March 10, 2007 |
374 | ~~ Many, many documentation updates ~~ |
ddbdc0cb |
375 | |
376 | * misc. |
377 | - We now use Class::MOP::load_class to |
378 | load all classes. |
379 | - added tests to show types and subtypes |
380 | working with Declare::Constraints::Simple |
381 | and Test::Deep as constraint engines. |
b77fdbed |
382 | |
587ae0d2 |
383 | 0.18_001 |
d01f1dab |
384 | !! You must have Class::MOP 0.37_001 !! |
385 | !! for this developer release to work !! |
386 | |
734d1752 |
387 | This release was primarily adding the immutable |
388 | feature to Moose. An immutable class is one which |
389 | you promise not to alter. When you set the class |
390 | as immutable it will perform various bits of |
391 | memoization and inline certain part of the code |
392 | (constructors, destructors and accessors). This |
393 | minimizes (and in some cases totally eliminates) |
394 | one of Moose's biggest performance hits. This |
395 | feature is not on by default, and is 100% optional. |
396 | It has several configurable bits as well, so you |
397 | can pick and choose to your specific needs. |
398 | |
399 | The changes involved in this were fairly wide and |
400 | highly specific, but 100% backwards compatible, so |
401 | I am not going to enumerate them here. If you are |
402 | truely interested in what was changed, please do |
403 | a diff :) |
587ae0d2 |
404 | |
405 | 0.17 Tues. Nov. 14, 2006 |
406 | * Moose::Meta::Method::Accessor |
407 | - bugfix for read-only accessors which |
408 | are have a type constraint and lazy. |
409 | Thanks to chansen for finding it. |
410 | |
411 | 0.16 Tues. Nov. 14, 2006 |
412 | ++ NOTE ++ |
413 | There are some speed improvements in this release, |
414 | but they are only the begining, so stay tuned. |
415 | |
416 | * Moose::Object |
417 | - BUILDALL and DEMOLISHALL no longer get |
418 | called unless they actually need to be. |
419 | This gave us a signifigant speed boost |
420 | for the cases when there is no BUILD or |
421 | DEMOLISH method present. |
422 | |
423 | * Moose::Util::TypeConstraints |
424 | * Moose::Meta::TypeConstraint |
425 | - added an 'optimize_as' option to the |
426 | type constraint, which allows for a |
427 | hand optimized version of the type |
428 | constraint to be used when possible. |
429 | - Any internally created type constraints |
430 | now provide an optimized version as well. |
431 | |
ecb59493 |
432 | 0.15 Sun. Nov. 5, 2006 |
946289d1 |
433 | ++ NOTE ++ |
434 | This version of Moose *must* have Class::MOP 0.36 in order |
435 | to work correctly. A number of small internal tweaks have |
436 | been made in order to be compatible with that release. |
571dd39f |
437 | |
438 | * Moose::Util::TypeConstraints |
439 | - added &unimport so that you can clean out |
440 | your class namespace of these exported |
441 | keywords |
442 | |
37ee30c9 |
443 | * Moose::Meta::Class |
444 | - fixed minor issue which occasionally |
445 | comes up during global destruction |
446 | (thanks omega) |
946289d1 |
447 | - moved Moose::Meta::Method::Overriden into |
448 | its own file. |
449 | |
450 | * Moose::Meta::Role |
451 | - moved Moose::Meta::Role::Method into |
452 | its own file. |
453 | |
43123819 |
454 | * Moose::Meta::Attribute |
455 | - changed how we do type checks so that |
7623f774 |
456 | we reduce the overall cost, but still |
457 | retain correctness. |
946289d1 |
458 | *** API CHANGE *** |
459 | - moved accessor generation methods to |
460 | Moose::Meta::Method::Accessor to |
461 | conform to the API changes from |
462 | Class::MOP 0.36 |
43123819 |
463 | |
464 | * Moose::Meta::TypeConstraint |
465 | - changed how constraints are compiled |
466 | so that we do less recursion and more |
467 | iteration. This makes the type check |
468 | faster :) |
946289d1 |
469 | - moved Moose::Meta::TypeConstraint::Union |
470 | into its own file |
471 | |
472 | * Moose::Meta::Method::Accessor |
473 | - created this from methods formerly found in |
474 | Moose::Meta::Attribute |
475 | |
476 | * Moose::Meta::Role::Method |
477 | - moved this from Moose::Meta::Role |
478 | |
479 | * Moose::Meta::Method::Overriden |
480 | - moved this from Moose::Meta::Class |
481 | |
482 | * Moose::Meta::TypeConstraint::Union |
483 | - moved this from Moose::Meta::TypeConstraint |
37ee30c9 |
484 | |
3ec7b7a3 |
485 | 0.14 Mon. Oct. 9, 2006 |
4fd69d6c |
486 | |
487 | * Moose::Meta::Attribute |
488 | - fixed lazy attributes which were not getting |
489 | checked with the type constraint (thanks ashley) |
490 | - added tests for this |
3ec7b7a3 |
491 | - removed the over-enthusiastic DWIMery of the |
492 | automatic ArrayRef and HashRef defaults, it |
493 | broke predicates in an ugly way. |
494 | - removed tests for this |
4fd69d6c |
495 | |
c0c41f76 |
496 | 0.13 Sat. Sept. 30, 2006 |
093b12c2 |
497 | ++ NOTE ++ |
498 | This version of Moose *must* have Class::MOP 0.35 in order |
499 | to work correctly. A number of small internal tweaks have |
500 | been made in order to be compatible with that release. |
501 | |
3c2bc5e2 |
502 | * Moose |
503 | - Removed the use of UNIVERSAL::require to be a better |
093b12c2 |
504 | symbol table citizen and remove a dependency |
505 | (thanks Adam Kennedy) |
3c2bc5e2 |
506 | |
2a0f3bd3 |
507 | **~~ removed experimental & undocumented feature ~~** |
508 | - commented out the 'method' and 'self' keywords, see the |
509 | comments for more info. |
510 | |
e95c7c42 |
511 | * Moose::Cookbook |
512 | - added a FAQ and WTF files to document frequently |
513 | asked questions and common problems |
b805c70c |
514 | |
3f7376b0 |
515 | * Moose::Util::TypeConstraints |
0a5bd159 |
516 | - added GlobRef and FileHandle type constraint |
3f7376b0 |
517 | - added tests for this |
518 | |
519 | * Moose::Meta::Attribute |
520 | - if your attribute 'isa' ArrayRef of HashRef, and you have |
521 | not explicitly set a default, then make the default DWIM. |
94b8bbb8 |
522 | This will also work for subtypes of ArrayRef and HashRef |
523 | as well. |
524 | - you can now auto-deref subtypes of ArrayRef or HashRef too. |
525 | - new test added for this (thanks to ashley) |
3f7376b0 |
526 | |
b805c70c |
527 | * Moose::Meta::Role |
528 | - added basic support for runtime role composition |
0a5bd159 |
529 | but this is still *highly experimental*, so feedback |
530 | is much appreciated :) |
b805c70c |
531 | - added tests for this |
e95c7c42 |
532 | |
0a5bd159 |
533 | * Moose::Meta::TypeConstraint |
534 | - the type constraint now handles the coercion process |
535 | through delegation, this is to support the coercion |
536 | of unions |
537 | |
538 | * Moose::Meta::TypeConstraint::Union |
539 | - it is now possible for coercions to be performed |
540 | on a type union |
541 | - added tests for this (thanks to konobi) |
542 | |
e95c7c42 |
543 | * Moose::Meta::TypeCoercion |
544 | - properly capturing error when type constraint |
545 | is not found |
546 | |
3c2bc5e2 |
547 | * Build.PL |
548 | - Scalar::Util 1.18 is bad on Win32, so temporarily |
549 | only require version 1.17 for Win32 and cygwin. |
093b12c2 |
550 | (thanks Adam Kennedy) |
3c2bc5e2 |
551 | |
40e89659 |
552 | 0.12 Sat. Sept. 1, 2006 |
2bdd01cd |
553 | * Moose::Cookbook |
554 | - Recipe5 (subtypes & coercion) has been written |
555 | |
556 | * Moose |
3279ab4a |
557 | - fixed "bad meta" error message to be more descriptive |
558 | - fixed &unimport to not remove the &inner and &super |
559 | keywords because we need to localize them. |
68efb014 |
560 | - fixed number of spelling/grammer issues, thanks Theory :) |
0558683c |
561 | |
562 | **~~ experimental & undocumented feature ~~** |
68efb014 |
563 | - added the method and self keywords, they are basically |
564 | just sugar, and they may not stay around. |
f742dfef |
565 | |
566 | * Moose::Object |
68efb014 |
567 | - added &dump method to easily Data::Dumper |
568 | an object |
b26e162e |
569 | |
570 | * Moose::Meta::TypeConstraint |
571 | - added the &is_a_type_of method to check both the current |
572 | and the subtype of a method (similar to &isa with classes) |
f008ac1f |
573 | |
68efb014 |
574 | * Moose::Meta::Role |
575 | - this is now a subclass of Class::MOP::Module, and no longer |
576 | creates the _role_meta ugliness of before. |
577 | - fixed tests to reflect this change |
578 | |
8c835eba |
579 | 0.11 Wed. July 12, 2006 |
31f8ec72 |
580 | * Moose |
581 | - added an &unimport method to remove all the keywords |
8c835eba |
582 | that Moose will import, simply add 'no Moose' to the |
583 | bottom of your class file. |
31f8ec72 |
584 | |
585 | * t/ |
586 | - fixed some test failures caused by a forgotten test |
587 | dependency. |
588 | |
864cd714 |
589 | 0.10 Thurs. July 6, 2006 |
01a8e221 |
590 | * Moose |
591 | - improved error message when loading modules so |
592 | it is less confusing when you load a role. |
2b14ac61 |
593 | - added &calculate_all_roles method to |
594 | Moose::Meta::Class and Moose::Meta::Role |
595 | |
596 | NOTE: |
597 | This module has been tested against Class::MOP 0.30 |
598 | but it does not yet utilize the optimizations |
599 | it makes available. Stay tuned for that ;) |
600 | |
2b14ac61 |
601 | 0.09_03 Fri. June 23, 2006 |
715ea0b7 |
602 | ++ DEVELOPER RELEASE ++ |
4276ccb4 |
603 | * Moose |
604 | - 'use strict' and 'use warnings' are no longer |
605 | needed in Moose classes, Moose itself will |
606 | turn them on for you. |
607 | - added tests for this |
1341f10c |
608 | - moved code from exported subs to private methods |
609 | in Moose::Meta::Class |
4276ccb4 |
610 | |
611 | * Moose::Role |
612 | - as with Moose, strict and warnings are |
613 | automatically turned on for you. |
614 | - added tests for this |
e39d707f |
615 | |
616 | * Moose::Meta::Role |
617 | - now handles an edge case for override errors |
618 | - added tests for this |
b7f2d25b |
619 | - added some more edge case tests |
1341f10c |
620 | |
43d599e5 |
621 | 0.09_02 Tues. May 16, 2006 |
715ea0b7 |
622 | ++ DEVELOPER RELEASE ++ |
2c0cbef7 |
623 | * Moose |
624 | - added prototypes to the exported subs |
43d599e5 |
625 | - updated docs |
2c0cbef7 |
626 | |
627 | * Moose::Role |
628 | - added prototypes to the exported subs |
43d599e5 |
629 | - updated docs |
2c0cbef7 |
630 | |
631 | * Moose::Util::TypeConstraints |
632 | - cleaned up prototypes for the subs |
43d599e5 |
633 | - updated docs |
2c0cbef7 |
634 | |
72c4f6d1 |
635 | 0.09_01 Fri. May 12, 2006 |
636 | ++ DEVELOPER RELEASE ++ |
637 | - This release works in combination with |
638 | Class::MOP 0.29_01, it is a developer |
639 | release because it uses the a new |
640 | instance sub-protocol and a fairly |
641 | complete Role implementation. It has |
642 | not yet been optimized, so it slower |
643 | the the previous CPAN version. This |
644 | release also lacks good updated docs, |
645 | the official release will have updated docs. |
646 | |
98aae381 |
647 | * Moose |
648 | - refactored the keyword exports |
db1ab48d |
649 | - 'with' now checks Role validaity and |
650 | accepts more than one Role at a time |
98aae381 |
651 | - 'extends' makes metaclass adjustments as |
652 | needed to ensure metaclass compatability |
653 | |
72c4f6d1 |
654 | * Moose::Role |
655 | - refactored the keyword exports |
656 | - 'with' now checks Role validaity and |
657 | accepts more than one Role at a time |
658 | |
98aae381 |
659 | * Moose::Util::TypeConstraints |
660 | - added the 'enum' keyword for simple |
661 | string enumerations which can be used as |
662 | type constraints |
db1ab48d |
663 | - see example of usage in t/202_example.t |
98aae381 |
664 | |
665 | * Moose::Object |
666 | - more careful checking of params to new() |
667 | |
72c4f6d1 |
668 | * Moose::Meta::Role |
669 | - much work done on the role composition |
670 | - many new tests for conflict detection |
671 | and composition edge cases |
672 | - not enough documentation, I suggest |
673 | looking at the tests |
674 | |
98aae381 |
675 | * Moose::Meta::Instance |
676 | - added new Instance metaclass to support |
677 | the new Class::MOP instance protocol |
678 | |
679 | * Moose::Meta::Class |
680 | - some small changes to support the new |
681 | instance protocol |
72c4f6d1 |
682 | - some small additions to support Roles |
98aae381 |
683 | |
684 | * Moose::Meta::Attribute |
685 | - some improvements to the accessor generation code |
686 | by nothingmuch |
687 | - some small changes to support the new |
688 | instance protocol |
689 | - (still somewhat) experimental delegation support |
690 | with the 'handles' option |
691 | - added several tests for this |
db1ab48d |
692 | - no docs for this yet |
98aae381 |
693 | |
35c8b8f2 |
694 | 0.05 Thurs. April 27, 2006 |
2d562421 |
695 | * Moose |
696 | - keywords are now exported with Sub::Exporter |
697 | thanks to chansen for this commit |
590868a3 |
698 | - has keyword now takes a 'metaclass' option |
699 | to support custom attribute meta-classes |
700 | on a per-attribute basis |
daea75c9 |
701 | - added tests for this |
702 | - the 'has' keyword not accepts inherited slot |
703 | specifications (has '+foo'). This is still an |
704 | experimental feature and probably not finished |
705 | see t/038_attribute_inherited_slot_specs.t for |
706 | more details, or ask about it on #moose |
fcb7afc2 |
707 | - added tests for this |
2d562421 |
708 | |
709 | * Moose::Role |
710 | - keywords are now exported with Sub::Exporter |
711 | |
5204cd52 |
712 | * Moose::Utils::TypeConstraints |
cce8198b |
713 | - reorganized the type constraint hierarchy, thanks |
714 | to nothingmuch and chansen for his help and advice |
715 | on this |
716 | - added some tests for this |
7eaef7ad |
717 | - keywords are now exported with Sub::Exporter |
35c8b8f2 |
718 | thanks to chansen for this commit |
5204cd52 |
719 | |
d500266f |
720 | * Moose::Meta::Class |
721 | - due to changes in Class::MOP, we had to change |
722 | construct_instance (for the better) |
723 | |
724 | * Moose::Meta::Attribute |
725 | - due to changes in Class::MOP, we had to add the |
726 | initialize_instance_slot method (it's a good thing) |
c07af9d2 |
727 | |
cce8198b |
728 | * Moose::Meta::TypeConstraint |
c07af9d2 |
729 | - added type constraint unions |
730 | - added tests for this |
cce8198b |
731 | - added the is_subtype_of predicate method |
732 | - added tests for this |
d500266f |
733 | |
02a0fb52 |
734 | 0.04 Sun. April 16th, 2006 |
1331430a |
735 | * Moose::Role |
736 | - Roles can now consume other roles |
737 | - added tests for this |
738 | - Roles can specify required methods now with |
739 | the requires() keyword |
740 | - added tests for this |
741 | |
bdabd620 |
742 | * Moose::Meta::Role |
743 | - ripped out much of it's guts ,.. much cleaner now |
1331430a |
744 | - added required methods and correct handling of |
fa1be058 |
745 | them in apply() for both classes and roles |
746 | - added tests for this |
1331430a |
747 | - no longer adds a does() method to consuming classes |
748 | it relys on the one in Moose::Object |
749 | - added roles attribute and some methods to support |
750 | roles consuming roles |
8c9d74e7 |
751 | |
752 | * Moose::Meta::Attribute |
753 | - added support for triggers on attributes |
754 | - added tests for this |
02a0fb52 |
755 | - added support for does option on an attribute |
756 | - added tests for this |
8c9d74e7 |
757 | |
758 | * Moose::Meta::Class |
759 | - added support for attribute triggers in the |
760 | object construction |
761 | - added tests for this |
256903b6 |
762 | |
763 | * Moose |
764 | - Moose no longer creates a subtype for your class |
765 | if a subtype of the same name already exists, this |
766 | should DWIM in 99.9999% of all cases |
767 | |
768 | * Moose::Util::TypeConstraints |
769 | - fixed bug where incorrect subtype conflicts were |
770 | being reported |
8c9d74e7 |
771 | - added test for this |
772 | |
773 | * Moose::Object |
774 | - this class can now be extended with 'use base' if |
775 | you need it, it properly loads the metaclass class now |
776 | - added test for this |
bdabd620 |
777 | |
0677220d |
778 | 0.03_02 Wed. April 12, 2006 |
05d9eaf6 |
779 | * Moose |
780 | - you must now explictly use Moose::Util::TypeConstraints |
781 | it no longer gets exported for you automatically |
782 | |
783 | * Moose::Object |
784 | - new() now accepts hash-refs as well as key/value lists |
0677220d |
785 | - added does() method to check for Roles |
786 | - added tests for this |
05d9eaf6 |
787 | |
0677220d |
788 | * Moose::Meta::Class |
789 | - added roles attribute along with the add_role() and |
790 | does_role() methods |
791 | - added tests for this |
792 | |
793 | * Moose::Meta::Role |
794 | - now adds a does() method to consuming classes |
795 | which tests the class's hierarchy for roles |
796 | - added tests for this |
797 | |
798 | 0.03_01 Mon. April 10, 2006 |
e9ec68d6 |
799 | * Moose::Cookbook |
76d37e5a |
800 | - added new Role recipe (no content yet, only code) |
e9ec68d6 |
801 | |
802 | * Moose |
803 | - added 'with' keyword for Role support |
804 | - added test and docs for this |
805 | - fixed subtype quoting bug |
806 | - added test for this |
807 | |
808 | * Moose::Role |
809 | - Roles for Moose |
810 | - added test and docs |
76d37e5a |
811 | |
812 | * Moose::Util::TypeConstraints |
813 | - added the message keyword to add custom |
814 | error messages to type constraints |
e9ec68d6 |
815 | |
816 | * Moose::Meta::Role |
817 | - the meta role to support Moose::Role |
818 | - added tests and docs |
819 | |
820 | * Moose::Meta::Class |
821 | - moved a number of things from Moose.pm |
822 | to here, they should have been here |
823 | in the first place |
824 | |
825 | * Moose::Meta::Attribute |
826 | - moved the attribute option macros here |
827 | instead of putting them in Moose.pm |
e185c027 |
828 | |
76d37e5a |
829 | * Moose::Meta::TypeConstraint |
830 | - added the message attributes and the |
831 | validate method |
832 | - added tests and docs for this |
833 | |
0ac928d2 |
834 | 0.03 Thurs. March 30, 2006 |
e9bb8a31 |
835 | * Moose::Cookbook |
836 | - added the Moose::Cookbook with 5 recipes, |
837 | describing all the stuff Moose can do. |
838 | |
d7f17ebb |
839 | * Moose |
840 | - fixed an issue with &extends super class loading |
841 | it now captures errors and deals with inline |
842 | packages correctly (bug found by mst, solution |
843 | stolen from alias) |
159da176 |
844 | - added super/override & inner/augment features |
845 | - added tests and docs for these |
d7f17ebb |
846 | |
847 | * Moose::Object |
848 | - BUILDALL now takes a reference of the %params |
849 | that are passed to &new, and passes that to |
850 | each BUILD as well. |
471c4f09 |
851 | |
852 | * Moose::Util::TypeConstraints |
853 | - Type constraints now survive runtime reloading |
854 | - added test for this |
d7f17ebb |
855 | |
8339fae2 |
856 | * Moose::Meta::Class |
857 | - fixed the way attribute defaults are handled |
858 | during instance construction (bug found by chansen) |
859 | |
d7f17ebb |
860 | * Moose::Meta::Attribute |
861 | - read-only attributes now actually enforce their |
9deed647 |
862 | read-only-ness (this corrected in Class::MOP as |
863 | well) |
d7f17ebb |
864 | |
076c81ed |
865 | 0.02 Tues. March 21, 2006 |
fc5609d2 |
866 | * Moose |
b841b2a3 |
867 | - many more tests, fixing some bugs and |
868 | edge cases |
b841b2a3 |
869 | - &extends now loads the base module with |
870 | UNIVERSAL::require |
871 | - added UNIVERSAL::require to the |
872 | dependencies list |
6ba6d68c |
873 | ** API CHANGES ** |
b841b2a3 |
874 | - each new Moose class will also create |
875 | and register a subtype of Object which |
876 | correspond to the new Moose class. |
b841b2a3 |
877 | - the 'isa' option in &has now only |
878 | accepts strings, and will DWIM in |
879 | almost all cases |
880 | |
881 | * Moose::Util::TypeConstraints |
882 | - added type coercion features |
883 | - added tests for this |
884 | - added support for this in attributes |
885 | and instance construction |
6ba6d68c |
886 | ** API CHANGES ** |
b841b2a3 |
887 | - type construction no longer creates a |
888 | function, it registers the type instead. |
889 | - added several functions to get the |
890 | registered types |
6ba6d68c |
891 | |
892 | * Moose::Object |
893 | - BUILDALL and DEMOLISHALL were broken |
894 | because of a mis-named hash key, Whoops :) |
b841b2a3 |
895 | |
896 | * Moose::Meta::Attribute |
897 | - adding support for coercion in the |
898 | autogenerated accessors |
899 | |
900 | * Moose::Meta::Class |
901 | - adding support for coercion in the |
6ba6d68c |
902 | instance construction |
903 | |
904 | * Moose::Meta::TypeConstraint |
905 | * Moose::Meta::TypeCoercion |
906 | - type constraints and coercions are now |
907 | full fledges meta-objects |
fc5609d2 |
908 | |
e522431d |
909 | 0.01 Wed. March 15, 2006 |
900466d6 |
910 | - Moooooooooooooooooose!!! |