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