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