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