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