Commit | Line | Data |
7c90a1a8 |
1 | Revision history for Perl extension Class-MOP. |
b817e248 |
2 | |
69e3ab0a |
3 | 0.51 |
4 | ~~~ some misc. doc. fixes ~~~ |
5 | ~~ updated copyright dates ~~ |
6 | |
a780a6ff |
7 | 0.50 Fri. Dec. 21, 2007 |
6ff0d647 |
8 | * Class::MOP::Class |
9 | - fixed bug in immutable to make sure that |
10 | transformation arguments are saved |
11 | correctly (mst) |
b6bcc3a5 |
12 | - added tests for this |
6ff0d647 |
13 | |
14 | * Class::MOP::Immutable |
15 | - fixed a bug (see above) |
16 | |
17 | * Class::MOP::Attribute |
18 | - some doc updates |
19 | |
30b8af04 |
20 | 0.49 Fri. Dec. 14, 2007 |
b6bcc3a5 |
21 | !! Class::MOP now loads 2 x faster !! |
30b8af04 |
22 | !! with XS speedups (thanks konobi) !! |
23 | |
24 | * Class::MOP |
25 | - removed the dependency on B |
26 | - added two XS functions (thanks konobi) |
27 | - get_code_info($code) which replaces all |
28 | the B fiddling we were doing with |
29 | faster/leaner XS level fiddling |
30 | - check_package_cache_flag($pkg_name) which |
31 | returns the PL_sub_generation variable to |
32 | be used to help manage method caching. |
33 | |
34 | NOTE: |
35 | In 5.10 or greater this will actually |
36 | use the mro::get_pkg_gen instead to give |
37 | even more accurate caching information. |
38 | blblack++ for that stuff :) |
39 | |
6c9f390e |
40 | * Class::MOP::Class |
41 | - added the &subclasses method (thanks rlb) |
30b8af04 |
42 | - added the update_package_cache_flag and |
43 | reset_package_cache_flag which help keep |
44 | track of when we need to re-fetch the |
45 | method map. |
46 | - Several small improvements to take advantage |
47 | of the new method map caching features |
4c4a6c41 |
48 | |
1b8b3e09 |
49 | 0.48 Mon. Nov. 26, 2007 |
d14f6cbe |
50 | * Class::MOP::Attribute |
51 | - fixed get_read/write_method to handle the |
52 | HASH ref case, which makes the |
53 | get_read/write_method_ref handle it too. |
54 | - added more tests for this |
55 | |
742fb371 |
56 | 0.47 Sat. Nov. 24, 2007 |
57 | * Class::MOP::Attribute |
58 | - fixed misspelling in get_write_method_ref |
78d9bb38 |
59 | - added more tests for this |
742fb371 |
60 | |
fe7c0b15 |
61 | 0.46 Fri. Nov. 23, 2007 |
b7bdffc3 |
62 | * Class::MOP::Class |
63 | - added the linearized_isa method instead of constantly |
64 | pruning duplicate classes (this will be even more |
65 | useful in the 5.10-compat version coming soon) |
5da16d1b |
66 | |
67 | * Class::MOP::Attribute |
68 | - added the get_read_method_ref and get_write_method_ref |
69 | methods which allow you to retrieve a CODE ref which |
70 | can always be used to read or write an attribute. |
b7bdffc3 |
71 | |
1a5cc82e |
72 | 0.45 Thurs. Nov. 13, 2007 |
232c4e13 |
73 | * Class::MOP::Attribute |
74 | - Fix error message on confess (groditi) |
75 | |
544143b2 |
76 | 0.44 Thurs. Nov. 13, 2007 |
77 | - Apparently I didn't make dist correctly (groditi) |
78 | |
c0aeeb91 |
79 | 0.43 Thurs. Nov. 13, 2007 |
b08fd50c |
80 | * Class::MOP |
1d68af04 |
81 | - Add support for the 'builder' attribute (groditi) |
82 | |
b08fd50c |
83 | * Class::MOP::Class |
84 | - optimise metaclass-already-exists check in |
85 | construct_class_instance (groditi) |
86 | - duplicate check into initialize to save a |
87 | call through (groditi) |
88 | |
1d68af04 |
89 | * Class::MOP::Attribute |
90 | - Add support for the 'builder' attribute (groditi) |
8768ecf3 |
91 | - Make predicates check for the existence of a value, not whether |
b08fd50c |
92 | it is defined (groditi) |
8768ecf3 |
93 | |
94 | * Class::MOP::Instance |
95 | - Make predicates check for the existence of a value, not whether |
b08fd50c |
96 | it is defined (groditi) |
8768ecf3 |
97 | |
565f0cbb |
98 | * Class::MOP::Method::Accessor |
99 | - made this a subclass of Class::MOP::Method::Generated |
100 | - removed the relevant attributes |
101 | |
102 | * Class::MOP::Method::Constructor |
103 | - fixed the cached values we had to be more sane |
104 | - made this a subclass of Class::MOP::Method::Generated |
105 | - fixed generated constructor so it properly handles |
106 | subclasses now. |
107 | - added tests for this |
108 | - added the option to allow for both inlined and |
109 | non-inlined constructors. |
b08fd50c |
110 | - Update inlined methods for builder and predicate changes (groditi) |
565f0cbb |
111 | |
112 | * Class::MOP::Method::Generated |
113 | - added this class as an abstract base for the |
114 | Class::MOP::Method::{Constructor,Accessor} classes |
115 | - added tests for this |
116 | |
b08fd50c |
117 | *t/ |
118 | - Alter tests (005, 014 020, 021) for new builder addition (groditi) |
119 | - Tests for new predicate behavior (and corrections to old tests) (groditi) |
120 | |
121 | *examples/ |
122 | - Update ArrayRef based class example to work with predicate changes |
123 | |
367183c4 |
124 | 0.42 Mon. July 16, 2007 |
9195ddff |
125 | !!! Horray for mst, he fixed it !!! |
126 | |
92af7fdf |
127 | * Class::MOP::Package |
128 | - alter symbol table handling to deal with 5.8.x and 5.9.x |
9195ddff |
129 | |
92af7fdf |
130 | * t/ |
9195ddff |
131 | - Get rid of the crappy workaround from 0.40/41 |
92af7fdf |
132 | |
829f7554 |
133 | 0.41 Sun. July 15, 2007 |
134 | * t/ |
135 | Arghh!!! My TODO test didn't work, so I handle |
136 | it manually now so that people can use this |
137 | with 5.9.5/bleadperl without issue. |
138 | |
1d7205b8 |
139 | 0.40 Tues, July 3, 2007 |
9f88b8ff |
140 | * t/ |
141 | ~ marked a test in 003_methods.t as TODO |
1d7205b8 |
142 | for perl 5.9.5 (this test is irrelvant to |
143 | the module functioning on 5.9.5 for the most |
144 | part anyway) |
9f88b8ff |
145 | |
28acb786 |
146 | 0.39 Mon. June 18, 2007 |
b817e248 |
147 | * Class::MOP::Immutable |
0ac992ee |
148 | - added make_metaclass_mutable + docs (groditi) |
149 | - removed unused variable |
d9586da2 |
150 | - added create_immutable_transformer |
151 | necessary for sane overloading of immutable behavior |
152 | - tests for this (groditi) |
0ac992ee |
153 | |
154 | * Class::MOP::Class |
155 | - Immutability can now be undone, |
156 | added make_mutable + tests + docs (groditi) |
04dd7510 |
157 | - Massive changes to the way Immutable is done |
158 | for details see comments next to make_immutable |
159 | This fixes a bug where custom metaclasses broke |
160 | when made immutable. We are now keeping one immutable |
161 | metaclass instance per metaclass instead of just one |
162 | to prevent isa hierarchy corruption. Memory use will go |
163 | up, but I suspect it will be neglible. |
164 | - New tests added for this behavior. (groditi) |
7c90a1a8 |
165 | |
c0fcd6ab |
166 | 0.38 Thurs. May 31, 2007 |
823a5d31 |
167 | ~~ More documentation updates ~~ |
c81de280 |
168 | |
823a5d31 |
169 | * Class::MOP::Package |
170 | - we now deal with stub methods properly |
171 | - added tests for this |
c0fcd6ab |
172 | - fixed some tests failing on 5.9.5 (thanks blblack) |
c81de280 |
173 | |
b25109b1 |
174 | * Class::MOP::Attribute |
175 | - added get_read_method and get_write_method |
c81de280 |
176 | thanks to groditi for this code, tests |
177 | and docs. |
b25109b1 |
178 | - added tests and POD for this |
795a0c8b |
179 | |
180 | * Class::MOP::Class |
181 | - fixed RT issue #27329, clone object now |
182 | handles undef values correctly. |
183 | - added tests for this |
d4ba1677 |
184 | - Corrected anon-class handling so that they |
185 | will not get reaped when instances still |
186 | exist which need to reference them. This is |
187 | the correct behavior, hopefully this is an |
188 | obscure enough feature that there are not too |
189 | many work arounds out in the wild. |
190 | - added tests for this by groditi |
95514cb4 |
191 | - updated docs to explain this |
192 | |
193 | * metaclass |
c0fcd6ab |
194 | - load custom metaclasses automatically (thanks groditi) |
f2266181 |
195 | - added tests for this behavior |
a06797b0 |
196 | |
3dc99d93 |
197 | 0.37 Sat. March 10, 2007 |
448b6e55 |
198 | ~~ Many, many documentation updates ~~ |
199 | |
200 | * Class::MOP |
201 | - added &load_class and &is_class_loaded |
202 | - added tests and docs for these |
2367814a |
203 | |
9363ea89 |
204 | * Class::MOP::Attribute |
205 | - default now checks the instance with defined to |
206 | avoid setting off bool-overloads (found by Carl Franks) |
207 | |
c23184fc |
208 | 0.37_002 |
209 | * /t |
210 | - bad name in a test, causing meaningless failuress. |
211 | No other changes. |
212 | |
213 | 0.37_001 |
214 | |
215 | ~~ GLOBAL CHANGES ~~ |
216 | - All attribute names are now consistent and follow Perl 6 |
217 | style (prefixed with the sigil, and ! as the twigil for |
218 | private attrs). This should not affect any code, unless |
219 | you broke encapsulation, in which case, it is your problem |
220 | anyway. |
221 | |
222 | !! Class::MOP::Class::Immutable has been removed |
223 | |
224 | * Class::MOP::Method::Constructor |
225 | - this has been moved out of Class::MOP::Class::Immutable |
226 | and is a proper subclass of Class::MOP::Method now. |
227 | |
228 | * Class::MOP::Class |
229 | - this module now uses Class::MOP::Immutable for the |
230 | immutable transformation instead of |
231 | Class::MOP::Class::Immutable. |
232 | |
233 | + Class::MOP::Immutable |
234 | - this module now controls the transformation from a mutable |
235 | to an immutable version of the class. Docs for this will |
236 | be coming eventually. |
237 | |
238 | |
cdc1ecba |
239 | 0.36 Sun. Nov. 5, 2006 |
a651e249 |
240 | * Class::MOP::Class |
241 | - added a few 'no warnings' lines to keep annoying |
242 | (and meaningless) warnings from chirping during |
243 | global destruction. |
0870928c |
244 | |
245 | * Class::MOP |
246 | - some more bootstrapping is now done on the new |
247 | classes |
248 | |
249 | * Class::MOP::Class::Immutable |
250 | *** API CHANGE *** |
251 | - constructor generation is now handled by |
252 | the Class::MOP::Method::Constructor class |
253 | |
254 | * Class::MOP::Method::Constructor |
255 | - created this to handle constructor generation |
256 | in Class::MOP::Class::Immutable |
257 | |
258 | * Class::MOP::Attribute |
259 | *** API CHANGE *** |
260 | - attributes now delegate to the |
261 | Class::MOP::Method::Accessor to generate |
262 | accessors |
263 | |
264 | * Class::MOP::Method::Accessor |
265 | - all accessor generation functions from |
266 | Class::MOP::Attribute have been moved here |
a651e249 |
267 | |
80f00c79 |
268 | 0.35 Sat. Sept. 30, 2006 |
8745cf22 |
269 | |
270 | * scripts/class_browser.pl |
271 | - initial prototype of a class browser, more |
272 | on this to come. Comments and patches are |
273 | very much welcome. |
b1897d4d |
274 | |
275 | * Class::MOP |
3e86c902 |
276 | - All Class::MOP::* accessors are no longer |
277 | re-generated in the bootstrap, instead |
6d2118a4 |
278 | they are aliased from the originals |
6d2118a4 |
279 | - fixed tests to reflect |
b1897d4d |
280 | - added Class::MOP::Method (and its subclasses) |
281 | to the bootstrap |
282 | - adjusted tests for this |
86482605 |
283 | - added the Class::MOP::Instance attributes |
284 | to the bootstrap |
b1897d4d |
285 | |
286 | * Class::MOP::Method |
287 | *** API CHANGE *** |
288 | - methods are no longer blessed CODE refs |
289 | but are actual objects which can be CODE-ified |
290 | - adjusted tests to compensate |
86482605 |
291 | - adjusted docs for this |
b1897d4d |
292 | |
293 | * Class::MOP::Class |
294 | - changed how methods are dealt with to |
295 | encapsulate most of the work into the |
296 | &get_method_map method |
297 | - made several adjustments for the change |
298 | in Class::MOP::Method |
299 | - &add_attribute now checks if you are adding |
300 | a duplicate name, and properly removes the |
301 | old one before installing the new one |
302 | - added tests for this |
86482605 |
303 | - adjusted docs for this |
b1897d4d |
304 | |
305 | * Class::MOP::Class::Immutable |
306 | - added caching of &get_method_map |
307 | - fixed issue with &get_package_symbol |
308 | - cleaned up the methods that die (patch by David Wheeler) |
309 | |
310 | * Class::MOP::Package |
311 | - added filtering capabilities to |
312 | &list_all_package_symbols |
313 | |
a549ce50 |
314 | 0.34 Sat. Aug. 26, 2006 |
c4260b45 |
315 | * Class::MOP::Class |
316 | - added the %:methods attribute, which like |
317 | the $:version and such just actually goes |
318 | to the symbol table to get it's stuff. |
319 | However, it makes the MOP more complete. |
88dd563c |
320 | ** API CHANGE ** |
321 | - The &create method now requires that all |
322 | but the package name now is passed in as |
323 | named parameters. See docs for more info. |
324 | - updated docs and tests for this |
c4260b45 |
325 | |
326 | * Class::MOP::Object |
327 | - added &dump method to easily Data::Dumper |
328 | an object |
329 | |
330 | * Class::MOP |
331 | - cleaned up the initialization of attributes |
332 | which do not store things in the instance |
333 | - added the %:methods attribute definition to |
334 | the bootstrap |
88dd563c |
335 | |
336 | ~ lots of misc. test cleanup |
c4260b45 |
337 | |
56e8dd5d |
338 | 0.33 Sat. Aug. 19, 2006 |
be7677c7 |
339 | * Class::MOP::Class |
340 | - moved the metaclass cache out of here |
341 | and it is now in Class::MOP itself. |
56e8dd5d |
342 | |
343 | * Class::MOP |
344 | - moved all the metaclass cache stuff here |
345 | - fixed all tests for this |
be7677c7 |
346 | |
148b4697 |
347 | * Class::MOP::Attribute |
348 | - reference values (other than CODE refs) |
349 | are no longer allowed for defaults |
350 | - added tests for this |
56dcfc1a |
351 | |
352 | * Class::MOP::Package |
353 | - fixed an issue with perl 5.8.1 and how it deals |
e3a2c885 |
354 | with symbol tables. The namespace hash is now |
355 | always reloaded from the symbol table. |
356 | |
357 | ~ lots of misc. documentation cleanup |
1396f86b |
358 | |
716c5765 |
359 | 0.32 Sat. Aug. 12, 2006 |
6e57504d |
360 | + added Class::MOP::Object so that the |
361 | metamodel is more complete (and closer |
362 | to what Perl 6 will probably be). |
363 | |
9ca19585 |
364 | * Class::MOP::Package |
365 | - refactored entire class, this is now |
366 | the primary gateway between the metaclass |
367 | and the Perl 5 symbol table |
368 | - added many tests for this |
6e57504d |
369 | - this class is now a subclass of |
370 | Class::MOP::Object |
716c5765 |
371 | - added some tests to reflect this |
9ca19585 |
372 | |
373 | * Class::MOP::Class |
374 | - refactored all symbol table access to |
375 | use Class::MOP::Package methods instead |
f0480c45 |
376 | |
377 | * Class::MOP::Module |
378 | - adding the $:version attribute in the bootstrap |
379 | so that Module has a version as an attribute |
380 | - see comment in Class::MOP for details |
381 | - added the $:authority attribute to this module |
382 | as well as an &identifier method, to bring us |
383 | ever closer to Perl 6 goodness |
716c5765 |
384 | - I have added $AUTHORITY to all the modules |
385 | - added tests for this |
9ca19585 |
386 | |
f0480c45 |
387 | * Class::MOP::Instance |
388 | - added &deinitialize_slot for removing slots |
389 | from an instance |
390 | - added tests for this |
9ca19585 |
391 | |
392 | * Class::MOP::Attribute |
393 | - added support for &deinitialize_slot for removing |
394 | slots from an instance |
395 | - added tests for this |
396 | |
1a09d9cc |
397 | 0.31 Sat. July 15, 2006 |
398 | |
b679e644 |
399 | * Class::MOP::Class |
400 | - added &find_method_by_name to locate a method |
401 | anywhere within the class hierarchy |
402 | |
403 | * Class::MOP::Attribute |
404 | - added &set_value and &get_value for getting |
405 | the value of the attribute for a particular |
406 | instance. |
407 | |
373a16ae |
408 | 0.30 Wed. July 5, 2006 |
409 | --------------------------------------- |
410 | This is the first version of Class::MOP |
411 | to introduce the immutable features which |
412 | will be used for optimizating the MOP. |
413 | This support should still be considered |
414 | experimental, but moving towards stability. |
415 | --------------------------------------- |
e0a82090 |
416 | |
373a16ae |
417 | * Created Class::MOP::Class::Immutable |
be960ba1 |
418 | |
373a16ae |
419 | * Created the Class::MOP::Package and |
420 | Class::MOP::Module classes to more |
421 | closely conform to Perl 6's meta-model |
e0a82090 |
422 | |
423 | * Class::MOP::Class |
424 | - now inherits from Class::MOP::Module |
425 | - several methods moved to ::Module and |
426 | ::Package and now inherited |
427 | - added tests for this |
c0cbf4d9 |
428 | |
429 | * Class::MOP::Instance |
430 | - added an is_inlinable method to allow other |
431 | classes to check before they attempt to optimize. |
be960ba1 |
432 | - added an inline_create_instance to inline |
433 | instance creation (of course) |
434 | |
2ba153a9 |
435 | ** API CHANGE ** |
436 | - the Class::MOP::Class::*_package_variable |
437 | methods are all now methods of Class::MOP::Package |
438 | and called *_package_symbol instead. This is |
439 | because they are now more general purpose symbol |
440 | table manipulation methods. |
e0a82090 |
441 | |
cdfaa4cc |
442 | 0.29_02 Thurs. June 22, 2006 |
443 | ++ DEVELOPER RELEASE ++ |
df7b4119 |
444 | * Class::MOP::Class |
445 | - small change in &create so that it behaves |
446 | properly when inherited |
cdfaa4cc |
447 | - small fix to &clone_instance |
df7b4119 |
448 | |
667cecf3 |
449 | 0.29_01 Fri. May 12, 2006 |
450 | ++ DEVELOPER RELEASE ++ |
451 | - This release works in combination with |
452 | Moose 0.09_01, it is a developer release |
453 | because it introduces a new instance |
454 | sub-protocol and has not yet been |
455 | optimized. |
456 | |
40483095 |
457 | * Class::MOP::Class |
458 | - anon-classes are now properly garbage collected |
459 | - added tests for this |
195f5bf8 |
460 | - improved method modifier wrapping |
40483095 |
461 | |
2bab2be6 |
462 | * Class::MOP::Instance |
1becdfcc |
463 | - added new instance protocol |
2bab2be6 |
464 | - added tests for this |
465 | - changed all relevant modules and examples |
466 | - Class::MOP::Class |
467 | - Class::MOP::Attribute |
468 | - examples/* |
469 | |
1becdfcc |
470 | * metaclass |
471 | - you no longer need to specify the metaclass |
472 | itself, if it is not there, Class::MOP::Class |
473 | is just assumed |
474 | - updated tests for this |
475 | |
476 | * examples/ |
477 | - added ArrayBasedStorage example to show |
478 | instance storage using ARRAY refs instead of |
479 | HASH refs. |
480 | - added tests for this |
481 | - InsideOutClass is totally revised using the |
482 | new instance protocol |
483 | - added more tests for this |
484 | |
93b4e576 |
485 | 0.26 Mon. April 24, 2006 |
e7f732e4 |
486 | * Class::MOP::Class |
487 | - added find_attribute_by_name method |
488 | - added tests and docs for this |
56a0b530 |
489 | - some small optimizations |
490 | |
491 | * Class::MOP::Attribute |
492 | - some small optimizations |
e7f732e4 |
493 | |
46666f33 |
494 | 0.25 Thurs. April 20, 2006 |
587aca23 |
495 | * Class::MOP::Class |
496 | - added create_anon_class for creating anonymous classes |
497 | - added tests for this |
498 | - added get_all_metaclasses, get_all_metaclass_names |
499 | and get_all_metaclass_instances method to allow |
500 | access to all the cached metaclass objects. |
bd4e03f9 |
501 | - attribute slot initialization is now the responsibility |
502 | of the attribute itself, and construct_instance now |
503 | delegates appropriately |
504 | |
505 | * Class::MOP::Attribute |
506 | - attribute slot initialization is now the responsibility |
507 | of the attribute itself, so we added a method for it |
508 | called initialize_instance_slot |
fed4cee7 |
509 | |
510 | * examples/ |
511 | - adjusted all the examples to use the new attribute |
512 | initialize_instance_slot method |
587aca23 |
513 | |
1daaa2b2 |
514 | 0.24 Tues. April 11, 2006 |
8c936afc |
515 | * Class::MOP::Class |
516 | - cleaned up how the before/after/around method |
517 | modifiers get named with Sub::Name |
518 | |
b9dfbf78 |
519 | 0.23 Thurs. March 30, 2006 |
a977cf65 |
520 | * Class::MOP::Class |
521 | - fixed the way attribute defaults are handled |
522 | during instance construction (bug found by chansen) |
b9dfbf78 |
523 | |
524 | * Class::MOP::Attribute |
525 | - read-only accessors ('reader') will now die if |
526 | passed more than one argument (attempting to write |
527 | to them basically) |
528 | - added tests for this |
529 | - adjusted all /example files to comply |
a977cf65 |
530 | |
f9eba090 |
531 | 0.22 Mon. March 20, 2006 |
0eff2c16 |
532 | * Class::MOP::Class |
533 | - localized $@ in the *_package_variable functions |
534 | because otherwise, it does ugly things in Moose. |
535 | - added test case for this |
536 | |
1988e85e |
537 | 0.21 Wed. March 15, 2006 |
2f6d5412 |
538 | * Class::MOP::Class |
539 | - fixed issue where metaclasses are reaped from |
540 | our cache in global destruction, and so are not |
541 | available in DESTORY calls |
542 | |
96ceced8 |
543 | 0.20 Thurs. March 2, 2006 |
d3cb0d4a |
544 | - removed the dependency for Clone since |
545 | we no longer to deep-cloning by default. |
a4258ffd |
546 | |
547 | * Class::MOP::Method |
96ceced8 |
548 | - added &package_name, &name and |
549 | &fully_qualified_name methods, some of |
a4258ffd |
550 | which were formerly private subs in |
551 | Class::MOP::Class |
552 | |
553 | * Class::MOP::Method::Wrapped |
554 | - allows for a method to be wrapped with |
555 | before, after and around modifiers |
556 | - added tests and docs for this feature |
d3cb0d4a |
557 | |
558 | * Class::MOP::Class |
58d75218 |
559 | - improved &get_package_symbol |
96ceced8 |
560 | - &version and &superclasses now use it |
a4258ffd |
561 | - methods are now blessed into Class::MOP::Method |
562 | whenever possible |
a4258ffd |
563 | - added methods to install CLOS-style method modifiers |
564 | - &add_before_method_modifier |
565 | - &add_after_method_modifier |
566 | - &add_around_method_modifier |
567 | - added tests and docs for these |
96ceced8 |
568 | - added &find_next_method_by_name which finds the |
569 | equivalent of SUPER::method_name |
d3cb0d4a |
570 | |
1c020571 |
571 | 0.12 Thurs. Feb 23, 2006 |
d89c0fad |
572 | - reduced the dependency on B, no need to always |
573 | have the latest |
574 | |
1c020571 |
575 | * examples/ |
576 | - added docs to the C3 method dispatch order test |
577 | - fixed missing Algorithm::C3 dependency by making |
578 | the test skip if it is not installed |
579 | |
0dea7280 |
580 | 0.11 Mon Feb. 20, 2006 |
f3f5bd34 |
581 | * examples/ |
582 | - added example of changing method dispatch order to C3 |
a27ae83f |
583 | |
584 | * Class::MOP::Class |
19d4b5b8 |
585 | - changed how clone_instance behaves, it now only does a |
586 | shallow clone (see docs for more details) |
a27ae83f |
587 | - added docs and tests |
f3f5bd34 |
588 | |
3bf7644b |
589 | 0.10 Tues Feb. 14, 2006 |
590 | ** This release was mostly about writing more tests and |
591 | cleaning out old and dusty code, the MOP should now |
592 | be considered "ready to use". |
593 | |
22286063 |
594 | - adding more tests to get coverage up a little higher, |
595 | mostly testing errors and edge cases. |
596 | - test coverage is now at 99% |
aa448b16 |
597 | |
598 | * Class::MOP |
599 | - no longer optionally exports to UNIVERSAL::meta or |
600 | creates a custom metaclass generator, use the |
601 | metaclass pragma instead. |
22286063 |
602 | |
603 | * Class::MOP::Class |
604 | - fixed a number of minor issues which came up in the |
605 | error/edge-case tests |
606 | |
607 | * Class::MOP::Attribute |
608 | - fixed a number of minor issues which came up in the |
609 | error/edge-case tests |
610 | |
0b8eb325 |
611 | * examples/ |
ea263060 |
612 | - fixing the AttributesWithHistory example, it was broken. |
663f8198 |
613 | |
550d56db |
614 | 0.06 Thurs Feb. 9, 2006 |
677eb158 |
615 | * metaclass |
550d56db |
616 | - adding new metaclass pragma to make setting up the |
677eb158 |
617 | metaclass a little more straightforward |
7b31baf4 |
618 | |
619 | * Class::MOP |
620 | - clean up bootstrapping to include more complete |
621 | attribute definitions for Class::MOP::Class and |
622 | Class::MOP::Attribute (accessors, readers, writers, |
623 | etc.) ... it is redundant, but is useful meta-info |
624 | to have around. |
677eb158 |
625 | |
99e5b7e8 |
626 | * Class::MOP::Class |
627 | - fixing minor meta-circularity issue with &meta, it |
628 | is now more useful for subclasses |
7b31baf4 |
629 | - added &get_attribute_map as an accessor for the |
630 | hash of attribute meta objects |
c9e77dbb |
631 | - &compute_all_applicable_attributes now just returns |
632 | the attribute meta-object, rather than the HASH ref |
633 | since all the same info can be gotten from the |
634 | attribute meta-object itself |
635 | - updated docs & tests to reflect |
5f3c057a |
636 | - added &clone_instance method which does a deep clone |
637 | of the instance structure created by &construct_instance |
638 | - added docs & tests for this |
550d56db |
639 | - added Clone as a dependency |
5f3c057a |
640 | - added &new_object and &clone_object convience methods to |
641 | return blessed new or cloned instances |
2a7575a6 |
642 | - they handle Class::MOP::Class singletons correctly too |
5f3c057a |
643 | - added docs & tests for this |
2a7575a6 |
644 | - cleaned up the &constuct_class_instance so that it behaves |
645 | more like &construct_instance (and managed the singletons too) |
550d56db |
646 | - added the &check_metaclass_compatibility method to make sure |
647 | that metaclasses are upward and downward compatible. |
648 | - added tests and docs for this |
5f3c057a |
649 | |
99e5b7e8 |
650 | * examples/ |
651 | - adjusting code to use the &Class::MOP::Class::meta |
652 | fix detailed above |
677eb158 |
653 | - adjusting code to use the metaclass pragma |
99e5b7e8 |
654 | |
aa9c883e |
655 | 0.05 Sat Feb. 4, 2006 |
2e41896e |
656 | * Class::MOP::Class |
657 | - added the &attribute_metaclass and &method_metaclass |
351bd7d4 |
658 | attributes which contain a metaclass name to use for |
2e41896e |
659 | attributes/methods respectively |
351bd7d4 |
660 | |
661 | * Class::MOP |
662 | - bootstrap additional attributes for Class::MOP::Class |
2e41896e |
663 | |
664 | * examples/ |
665 | - adjusted the example code and tests to use the new |
666 | &attribute_metaclass feature of Class::MOP::Class |
aa9c883e |
667 | - added new example: |
668 | - LazyClass |
2e41896e |
669 | |
d7c2cbe3 |
670 | 0.04 Fri Feb. 3, 2006 |
d6fbcd05 |
671 | * Class::MOP::Class |
672 | - some documentation suggestions from #perl6 |
673 | |
674 | * Class::MOP::Attribute |
675 | - improved error messages |
676 | |
677 | * examples/ |
678 | - added new examples: |
679 | - AttributesWithHistory |
d7c2cbe3 |
680 | - ClassEncapsultedAttributes |
343203ee |
681 | |
9ec169fe |
682 | 0.03 Fri Feb. 3, 2006 |
683 | - converted to Module::Build instead of EU::MM |
684 | |
685 | * Class::MOP::Attribute |
686 | - refactored method generation code |
687 | - attributes are now associated with class directly |
688 | |
f71f4295 |
689 | * examples/ |
9ec169fe |
690 | - refactored the InsideOut example to take advantage |
691 | of the Class::MOP::Attribute refactoring |
f71f4295 |
692 | - changed example files to .pod files and hide thier |
693 | package names from PAUSE (I don't want to own these |
694 | namespaces really, they are just examples) |
9ec169fe |
695 | |
a57c7fa2 |
696 | 0.02 Thurs Feb. 2, 2006 |
697 | - moving examples from t/lib/* to examples/* |
698 | - adding POD documentation to the examples |
699 | |
a2e85e6c |
700 | 0.01 Thurs Feb. 2, 2006 |
92af7fdf |
701 | - Initial release |