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