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