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