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