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