Commit | Line | Data |
7c90a1a8 |
1 | Revision history for Perl extension Class-MOP. |
2 | |
823a5d31 |
3 | 0.38 |
4 | ~~ More documentation updates ~~ |
c81de280 |
5 | |
823a5d31 |
6 | * Class::MOP::Package |
7 | - we now deal with stub methods properly |
8 | - added tests for this |
9c8cda90 |
9 | - fixed some tests failing on 5.9.5 |
c81de280 |
10 | |
b25109b1 |
11 | * Class::MOP::Attribute |
12 | - added get_read_method and get_write_method |
c81de280 |
13 | thanks to groditi for this code, tests |
14 | and docs. |
b25109b1 |
15 | - added tests and POD for this |
795a0c8b |
16 | |
17 | * Class::MOP::Class |
18 | - fixed RT issue #27329, clone object now |
19 | handles undef values correctly. |
20 | - added tests for this |
d4ba1677 |
21 | - Corrected anon-class handling so that they |
22 | will not get reaped when instances still |
23 | exist which need to reference them. This is |
24 | the correct behavior, hopefully this is an |
25 | obscure enough feature that there are not too |
26 | many work arounds out in the wild. |
27 | - added tests for this by groditi |
95514cb4 |
28 | - updated docs to explain this |
29 | |
30 | * metaclass |
31 | - load custom metaclass automatically. |
32 | - modified tests to test this behavior |
a06797b0 |
33 | |
3dc99d93 |
34 | 0.37 Sat. March 10, 2007 |
448b6e55 |
35 | ~~ Many, many documentation updates ~~ |
36 | |
37 | * Class::MOP |
38 | - added &load_class and &is_class_loaded |
39 | - added tests and docs for these |
2367814a |
40 | |
9363ea89 |
41 | * Class::MOP::Attribute |
42 | - default now checks the instance with defined to |
43 | avoid setting off bool-overloads (found by Carl Franks) |
44 | |
c23184fc |
45 | 0.37_002 |
46 | * /t |
47 | - bad name in a test, causing meaningless failuress. |
48 | No other changes. |
49 | |
50 | 0.37_001 |
51 | |
52 | ~~ GLOBAL CHANGES ~~ |
53 | - All attribute names are now consistent and follow Perl 6 |
54 | style (prefixed with the sigil, and ! as the twigil for |
55 | private attrs). This should not affect any code, unless |
56 | you broke encapsulation, in which case, it is your problem |
57 | anyway. |
58 | |
59 | !! Class::MOP::Class::Immutable has been removed |
60 | |
61 | * Class::MOP::Method::Constructor |
62 | - this has been moved out of Class::MOP::Class::Immutable |
63 | and is a proper subclass of Class::MOP::Method now. |
64 | |
65 | * Class::MOP::Class |
66 | - this module now uses Class::MOP::Immutable for the |
67 | immutable transformation instead of |
68 | Class::MOP::Class::Immutable. |
69 | |
70 | + Class::MOP::Immutable |
71 | - this module now controls the transformation from a mutable |
72 | to an immutable version of the class. Docs for this will |
73 | be coming eventually. |
74 | |
75 | |
cdc1ecba |
76 | 0.36 Sun. Nov. 5, 2006 |
a651e249 |
77 | * Class::MOP::Class |
78 | - added a few 'no warnings' lines to keep annoying |
79 | (and meaningless) warnings from chirping during |
80 | global destruction. |
0870928c |
81 | |
82 | * Class::MOP |
83 | - some more bootstrapping is now done on the new |
84 | classes |
85 | |
86 | * Class::MOP::Class::Immutable |
87 | *** API CHANGE *** |
88 | - constructor generation is now handled by |
89 | the Class::MOP::Method::Constructor class |
90 | |
91 | * Class::MOP::Method::Constructor |
92 | - created this to handle constructor generation |
93 | in Class::MOP::Class::Immutable |
94 | |
95 | * Class::MOP::Attribute |
96 | *** API CHANGE *** |
97 | - attributes now delegate to the |
98 | Class::MOP::Method::Accessor to generate |
99 | accessors |
100 | |
101 | * Class::MOP::Method::Accessor |
102 | - all accessor generation functions from |
103 | Class::MOP::Attribute have been moved here |
a651e249 |
104 | |
80f00c79 |
105 | 0.35 Sat. Sept. 30, 2006 |
8745cf22 |
106 | |
107 | * scripts/class_browser.pl |
108 | - initial prototype of a class browser, more |
109 | on this to come. Comments and patches are |
110 | very much welcome. |
b1897d4d |
111 | |
112 | * Class::MOP |
3e86c902 |
113 | - All Class::MOP::* accessors are no longer |
114 | re-generated in the bootstrap, instead |
6d2118a4 |
115 | they are aliased from the originals |
6d2118a4 |
116 | - fixed tests to reflect |
b1897d4d |
117 | - added Class::MOP::Method (and its subclasses) |
118 | to the bootstrap |
119 | - adjusted tests for this |
86482605 |
120 | - added the Class::MOP::Instance attributes |
121 | to the bootstrap |
b1897d4d |
122 | |
123 | * Class::MOP::Method |
124 | *** API CHANGE *** |
125 | - methods are no longer blessed CODE refs |
126 | but are actual objects which can be CODE-ified |
127 | - adjusted tests to compensate |
86482605 |
128 | - adjusted docs for this |
b1897d4d |
129 | |
130 | * Class::MOP::Class |
131 | - changed how methods are dealt with to |
132 | encapsulate most of the work into the |
133 | &get_method_map method |
134 | - made several adjustments for the change |
135 | in Class::MOP::Method |
136 | - &add_attribute now checks if you are adding |
137 | a duplicate name, and properly removes the |
138 | old one before installing the new one |
139 | - added tests for this |
86482605 |
140 | - adjusted docs for this |
b1897d4d |
141 | |
142 | * Class::MOP::Class::Immutable |
143 | - added caching of &get_method_map |
144 | - fixed issue with &get_package_symbol |
145 | - cleaned up the methods that die (patch by David Wheeler) |
146 | |
147 | * Class::MOP::Package |
148 | - added filtering capabilities to |
149 | &list_all_package_symbols |
150 | |
a549ce50 |
151 | 0.34 Sat. Aug. 26, 2006 |
c4260b45 |
152 | * Class::MOP::Class |
153 | - added the %:methods attribute, which like |
154 | the $:version and such just actually goes |
155 | to the symbol table to get it's stuff. |
156 | However, it makes the MOP more complete. |
88dd563c |
157 | ** API CHANGE ** |
158 | - The &create method now requires that all |
159 | but the package name now is passed in as |
160 | named parameters. See docs for more info. |
161 | - updated docs and tests for this |
c4260b45 |
162 | |
163 | * Class::MOP::Object |
164 | - added &dump method to easily Data::Dumper |
165 | an object |
166 | |
167 | * Class::MOP |
168 | - cleaned up the initialization of attributes |
169 | which do not store things in the instance |
170 | - added the %:methods attribute definition to |
171 | the bootstrap |
88dd563c |
172 | |
173 | ~ lots of misc. test cleanup |
c4260b45 |
174 | |
56e8dd5d |
175 | 0.33 Sat. Aug. 19, 2006 |
be7677c7 |
176 | * Class::MOP::Class |
177 | - moved the metaclass cache out of here |
178 | and it is now in Class::MOP itself. |
56e8dd5d |
179 | |
180 | * Class::MOP |
181 | - moved all the metaclass cache stuff here |
182 | - fixed all tests for this |
be7677c7 |
183 | |
148b4697 |
184 | * Class::MOP::Attribute |
185 | - reference values (other than CODE refs) |
186 | are no longer allowed for defaults |
187 | - added tests for this |
56dcfc1a |
188 | |
189 | * Class::MOP::Package |
190 | - fixed an issue with perl 5.8.1 and how it deals |
e3a2c885 |
191 | with symbol tables. The namespace hash is now |
192 | always reloaded from the symbol table. |
193 | |
194 | ~ lots of misc. documentation cleanup |
1396f86b |
195 | |
716c5765 |
196 | 0.32 Sat. Aug. 12, 2006 |
6e57504d |
197 | + added Class::MOP::Object so that the |
198 | metamodel is more complete (and closer |
199 | to what Perl 6 will probably be). |
200 | |
9ca19585 |
201 | * Class::MOP::Package |
202 | - refactored entire class, this is now |
203 | the primary gateway between the metaclass |
204 | and the Perl 5 symbol table |
205 | - added many tests for this |
6e57504d |
206 | - this class is now a subclass of |
207 | Class::MOP::Object |
716c5765 |
208 | - added some tests to reflect this |
9ca19585 |
209 | |
210 | * Class::MOP::Class |
211 | - refactored all symbol table access to |
212 | use Class::MOP::Package methods instead |
f0480c45 |
213 | |
214 | * Class::MOP::Module |
215 | - adding the $:version attribute in the bootstrap |
216 | so that Module has a version as an attribute |
217 | - see comment in Class::MOP for details |
218 | - added the $:authority attribute to this module |
219 | as well as an &identifier method, to bring us |
220 | ever closer to Perl 6 goodness |
716c5765 |
221 | - I have added $AUTHORITY to all the modules |
222 | - added tests for this |
9ca19585 |
223 | |
f0480c45 |
224 | * Class::MOP::Instance |
225 | - added &deinitialize_slot for removing slots |
226 | from an instance |
227 | - added tests for this |
9ca19585 |
228 | |
229 | * Class::MOP::Attribute |
230 | - added support for &deinitialize_slot for removing |
231 | slots from an instance |
232 | - added tests for this |
233 | |
1a09d9cc |
234 | 0.31 Sat. July 15, 2006 |
235 | |
b679e644 |
236 | * Class::MOP::Class |
237 | - added &find_method_by_name to locate a method |
238 | anywhere within the class hierarchy |
239 | |
240 | * Class::MOP::Attribute |
241 | - added &set_value and &get_value for getting |
242 | the value of the attribute for a particular |
243 | instance. |
244 | |
373a16ae |
245 | 0.30 Wed. July 5, 2006 |
246 | --------------------------------------- |
247 | This is the first version of Class::MOP |
248 | to introduce the immutable features which |
249 | will be used for optimizating the MOP. |
250 | This support should still be considered |
251 | experimental, but moving towards stability. |
252 | --------------------------------------- |
e0a82090 |
253 | |
373a16ae |
254 | * Created Class::MOP::Class::Immutable |
be960ba1 |
255 | |
373a16ae |
256 | * Created the Class::MOP::Package and |
257 | Class::MOP::Module classes to more |
258 | closely conform to Perl 6's meta-model |
e0a82090 |
259 | |
260 | * Class::MOP::Class |
261 | - now inherits from Class::MOP::Module |
262 | - several methods moved to ::Module and |
263 | ::Package and now inherited |
264 | - added tests for this |
c0cbf4d9 |
265 | |
266 | * Class::MOP::Instance |
267 | - added an is_inlinable method to allow other |
268 | classes to check before they attempt to optimize. |
be960ba1 |
269 | - added an inline_create_instance to inline |
270 | instance creation (of course) |
271 | |
2ba153a9 |
272 | ** API CHANGE ** |
273 | - the Class::MOP::Class::*_package_variable |
274 | methods are all now methods of Class::MOP::Package |
275 | and called *_package_symbol instead. This is |
276 | because they are now more general purpose symbol |
277 | table manipulation methods. |
e0a82090 |
278 | |
cdfaa4cc |
279 | 0.29_02 Thurs. June 22, 2006 |
280 | ++ DEVELOPER RELEASE ++ |
df7b4119 |
281 | * Class::MOP::Class |
282 | - small change in &create so that it behaves |
283 | properly when inherited |
cdfaa4cc |
284 | - small fix to &clone_instance |
df7b4119 |
285 | |
667cecf3 |
286 | 0.29_01 Fri. May 12, 2006 |
287 | ++ DEVELOPER RELEASE ++ |
288 | - This release works in combination with |
289 | Moose 0.09_01, it is a developer release |
290 | because it introduces a new instance |
291 | sub-protocol and has not yet been |
292 | optimized. |
293 | |
40483095 |
294 | * Class::MOP::Class |
295 | - anon-classes are now properly garbage collected |
296 | - added tests for this |
195f5bf8 |
297 | - improved method modifier wrapping |
40483095 |
298 | |
2bab2be6 |
299 | * Class::MOP::Instance |
1becdfcc |
300 | - added new instance protocol |
2bab2be6 |
301 | - added tests for this |
302 | - changed all relevant modules and examples |
303 | - Class::MOP::Class |
304 | - Class::MOP::Attribute |
305 | - examples/* |
306 | |
1becdfcc |
307 | * metaclass |
308 | - you no longer need to specify the metaclass |
309 | itself, if it is not there, Class::MOP::Class |
310 | is just assumed |
311 | - updated tests for this |
312 | |
313 | * examples/ |
314 | - added ArrayBasedStorage example to show |
315 | instance storage using ARRAY refs instead of |
316 | HASH refs. |
317 | - added tests for this |
318 | - InsideOutClass is totally revised using the |
319 | new instance protocol |
320 | - added more tests for this |
321 | |
93b4e576 |
322 | 0.26 Mon. April 24, 2006 |
e7f732e4 |
323 | * Class::MOP::Class |
324 | - added find_attribute_by_name method |
325 | - added tests and docs for this |
56a0b530 |
326 | - some small optimizations |
327 | |
328 | * Class::MOP::Attribute |
329 | - some small optimizations |
e7f732e4 |
330 | |
46666f33 |
331 | 0.25 Thurs. April 20, 2006 |
587aca23 |
332 | * Class::MOP::Class |
333 | - added create_anon_class for creating anonymous classes |
334 | - added tests for this |
335 | - added get_all_metaclasses, get_all_metaclass_names |
336 | and get_all_metaclass_instances method to allow |
337 | access to all the cached metaclass objects. |
bd4e03f9 |
338 | - attribute slot initialization is now the responsibility |
339 | of the attribute itself, and construct_instance now |
340 | delegates appropriately |
341 | |
342 | * Class::MOP::Attribute |
343 | - attribute slot initialization is now the responsibility |
344 | of the attribute itself, so we added a method for it |
345 | called initialize_instance_slot |
fed4cee7 |
346 | |
347 | * examples/ |
348 | - adjusted all the examples to use the new attribute |
349 | initialize_instance_slot method |
587aca23 |
350 | |
1daaa2b2 |
351 | 0.24 Tues. April 11, 2006 |
8c936afc |
352 | * Class::MOP::Class |
353 | - cleaned up how the before/after/around method |
354 | modifiers get named with Sub::Name |
355 | |
b9dfbf78 |
356 | 0.23 Thurs. March 30, 2006 |
a977cf65 |
357 | * Class::MOP::Class |
358 | - fixed the way attribute defaults are handled |
359 | during instance construction (bug found by chansen) |
b9dfbf78 |
360 | |
361 | * Class::MOP::Attribute |
362 | - read-only accessors ('reader') will now die if |
363 | passed more than one argument (attempting to write |
364 | to them basically) |
365 | - added tests for this |
366 | - adjusted all /example files to comply |
a977cf65 |
367 | |
f9eba090 |
368 | 0.22 Mon. March 20, 2006 |
0eff2c16 |
369 | * Class::MOP::Class |
370 | - localized $@ in the *_package_variable functions |
371 | because otherwise, it does ugly things in Moose. |
372 | - added test case for this |
373 | |
1988e85e |
374 | 0.21 Wed. March 15, 2006 |
2f6d5412 |
375 | * Class::MOP::Class |
376 | - fixed issue where metaclasses are reaped from |
377 | our cache in global destruction, and so are not |
378 | available in DESTORY calls |
379 | |
96ceced8 |
380 | 0.20 Thurs. March 2, 2006 |
d3cb0d4a |
381 | - removed the dependency for Clone since |
382 | we no longer to deep-cloning by default. |
a4258ffd |
383 | |
384 | * Class::MOP::Method |
96ceced8 |
385 | - added &package_name, &name and |
386 | &fully_qualified_name methods, some of |
a4258ffd |
387 | which were formerly private subs in |
388 | Class::MOP::Class |
389 | |
390 | * Class::MOP::Method::Wrapped |
391 | - allows for a method to be wrapped with |
392 | before, after and around modifiers |
393 | - added tests and docs for this feature |
d3cb0d4a |
394 | |
395 | * Class::MOP::Class |
58d75218 |
396 | - improved &get_package_symbol |
96ceced8 |
397 | - &version and &superclasses now use it |
a4258ffd |
398 | - methods are now blessed into Class::MOP::Method |
399 | whenever possible |
a4258ffd |
400 | - added methods to install CLOS-style method modifiers |
401 | - &add_before_method_modifier |
402 | - &add_after_method_modifier |
403 | - &add_around_method_modifier |
404 | - added tests and docs for these |
96ceced8 |
405 | - added &find_next_method_by_name which finds the |
406 | equivalent of SUPER::method_name |
d3cb0d4a |
407 | |
1c020571 |
408 | 0.12 Thurs. Feb 23, 2006 |
d89c0fad |
409 | - reduced the dependency on B, no need to always |
410 | have the latest |
411 | |
1c020571 |
412 | * examples/ |
413 | - added docs to the C3 method dispatch order test |
414 | - fixed missing Algorithm::C3 dependency by making |
415 | the test skip if it is not installed |
416 | |
0dea7280 |
417 | 0.11 Mon Feb. 20, 2006 |
f3f5bd34 |
418 | * examples/ |
419 | - added example of changing method dispatch order to C3 |
a27ae83f |
420 | |
421 | * Class::MOP::Class |
19d4b5b8 |
422 | - changed how clone_instance behaves, it now only does a |
423 | shallow clone (see docs for more details) |
a27ae83f |
424 | - added docs and tests |
f3f5bd34 |
425 | |
3bf7644b |
426 | 0.10 Tues Feb. 14, 2006 |
427 | ** This release was mostly about writing more tests and |
428 | cleaning out old and dusty code, the MOP should now |
429 | be considered "ready to use". |
430 | |
22286063 |
431 | - adding more tests to get coverage up a little higher, |
432 | mostly testing errors and edge cases. |
433 | - test coverage is now at 99% |
aa448b16 |
434 | |
435 | * Class::MOP |
436 | - no longer optionally exports to UNIVERSAL::meta or |
437 | creates a custom metaclass generator, use the |
438 | metaclass pragma instead. |
22286063 |
439 | |
440 | * Class::MOP::Class |
441 | - fixed a number of minor issues which came up in the |
442 | error/edge-case tests |
443 | |
444 | * Class::MOP::Attribute |
445 | - fixed a number of minor issues which came up in the |
446 | error/edge-case tests |
447 | |
0b8eb325 |
448 | * examples/ |
ea263060 |
449 | - fixing the AttributesWithHistory example, it was broken. |
663f8198 |
450 | |
550d56db |
451 | 0.06 Thurs Feb. 9, 2006 |
677eb158 |
452 | * metaclass |
550d56db |
453 | - adding new metaclass pragma to make setting up the |
677eb158 |
454 | metaclass a little more straightforward |
7b31baf4 |
455 | |
456 | * Class::MOP |
457 | - clean up bootstrapping to include more complete |
458 | attribute definitions for Class::MOP::Class and |
459 | Class::MOP::Attribute (accessors, readers, writers, |
460 | etc.) ... it is redundant, but is useful meta-info |
461 | to have around. |
677eb158 |
462 | |
99e5b7e8 |
463 | * Class::MOP::Class |
464 | - fixing minor meta-circularity issue with &meta, it |
465 | is now more useful for subclasses |
7b31baf4 |
466 | - added &get_attribute_map as an accessor for the |
467 | hash of attribute meta objects |
c9e77dbb |
468 | - &compute_all_applicable_attributes now just returns |
469 | the attribute meta-object, rather than the HASH ref |
470 | since all the same info can be gotten from the |
471 | attribute meta-object itself |
472 | - updated docs & tests to reflect |
5f3c057a |
473 | - added &clone_instance method which does a deep clone |
474 | of the instance structure created by &construct_instance |
475 | - added docs & tests for this |
550d56db |
476 | - added Clone as a dependency |
5f3c057a |
477 | - added &new_object and &clone_object convience methods to |
478 | return blessed new or cloned instances |
2a7575a6 |
479 | - they handle Class::MOP::Class singletons correctly too |
5f3c057a |
480 | - added docs & tests for this |
2a7575a6 |
481 | - cleaned up the &constuct_class_instance so that it behaves |
482 | more like &construct_instance (and managed the singletons too) |
550d56db |
483 | - added the &check_metaclass_compatibility method to make sure |
484 | that metaclasses are upward and downward compatible. |
485 | - added tests and docs for this |
5f3c057a |
486 | |
99e5b7e8 |
487 | * examples/ |
488 | - adjusting code to use the &Class::MOP::Class::meta |
489 | fix detailed above |
677eb158 |
490 | - adjusting code to use the metaclass pragma |
99e5b7e8 |
491 | |
aa9c883e |
492 | 0.05 Sat Feb. 4, 2006 |
2e41896e |
493 | * Class::MOP::Class |
494 | - added the &attribute_metaclass and &method_metaclass |
351bd7d4 |
495 | attributes which contain a metaclass name to use for |
2e41896e |
496 | attributes/methods respectively |
351bd7d4 |
497 | |
498 | * Class::MOP |
499 | - bootstrap additional attributes for Class::MOP::Class |
2e41896e |
500 | |
501 | * examples/ |
502 | - adjusted the example code and tests to use the new |
503 | &attribute_metaclass feature of Class::MOP::Class |
aa9c883e |
504 | - added new example: |
505 | - LazyClass |
2e41896e |
506 | |
d7c2cbe3 |
507 | 0.04 Fri Feb. 3, 2006 |
d6fbcd05 |
508 | * Class::MOP::Class |
509 | - some documentation suggestions from #perl6 |
510 | |
511 | * Class::MOP::Attribute |
512 | - improved error messages |
513 | |
514 | * examples/ |
515 | - added new examples: |
516 | - AttributesWithHistory |
d7c2cbe3 |
517 | - ClassEncapsultedAttributes |
343203ee |
518 | |
9ec169fe |
519 | 0.03 Fri Feb. 3, 2006 |
520 | - converted to Module::Build instead of EU::MM |
521 | |
522 | * Class::MOP::Attribute |
523 | - refactored method generation code |
524 | - attributes are now associated with class directly |
525 | |
f71f4295 |
526 | * examples/ |
9ec169fe |
527 | - refactored the InsideOut example to take advantage |
528 | of the Class::MOP::Attribute refactoring |
f71f4295 |
529 | - changed example files to .pod files and hide thier |
530 | package names from PAUSE (I don't want to own these |
531 | namespaces really, they are just examples) |
9ec169fe |
532 | |
a57c7fa2 |
533 | 0.02 Thurs Feb. 2, 2006 |
534 | - moving examples from t/lib/* to examples/* |
535 | - adding POD documentation to the examples |
536 | |
a2e85e6c |
537 | 0.01 Thurs Feb. 2, 2006 |
7c90a1a8 |
538 | - Initial release |