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