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