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