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