Name the failing test
[gitmo/Class-MOP.git] / Changes
CommitLineData
7c90a1a8 1Revision history for Perl extension Class-MOP.
b817e248 2
9b522fc4 30.59
4
5 * Class::MOP::Class
6 - now stores the instance of the instance
7 metaclass to avoid needless recomputation
8b49a472 8 and deletes it when the cache is blown
9
10 * Class::MOP::Package
11 - {add, has, get, remove}_package_symbol all
12 now accept a HASH ref argument as well as the
13 string. All internal usages now use the HASH
14 ref version.
f6dc69d2 15
16 * Class::MOP
17 - MOP.xs does sanity checks on the coderef
18 to avoid a segfault
26fcef27 19 - is_class_loaded check now uses code that
20 was improved in Moose's ClassName type
ab5e2f48 21 check (Sartak)
22 - nonsensical (undef, empty, reference) class
23 names now throw a more direct error in
24 load_class (Sartak)
3f7759c1 25 - tests for this and other aspects of
26 load_class (Sartak)
9b522fc4 27
28 * Class::MOP
29 Class::MOP::Class
30 Class::MOP::Method
31 Class::MOP::Method::Wrapped
32 Class::MOP::Attribute
33 - switched usage of reftype to ref because
34 it is much faster
35
352c364f 360.58 Thurs. May 29, 2008
62781d9f 37 (late night release engineering)--
38
39 - fixing the version is META.yml, no functional
40 changes in this release
41
de0f9e1c 420.57 Wed. May 28, 2008
43 !! Seveal speedups resulting in 20-25% speedups !!
44 || (thanks to konobi, groditi, mst & CataMoose) !!
45
ae234dc6 46 * Class::MOP::Class
47 - made get_method_map use list_all_package_symbols
48 instead of manually grabbing each symbol
de0f9e1c 49 - streamlining &initialize somewhat, since it gets
50 called so much
ae234dc6 51
52 * Class::MOP::Package
53 - made {get, has}_package_symbol not call
54 &namespace so much
de0f9e1c 55 - inlining a few calls to &name with
56 direct HASH access key access
ae234dc6 57 - added get_all_package_symbols to fetch
58 a HASH of items based on a type filter
59 similar to list_all_package_symbols
60 - added tests for this
61
32202ce2 62 * Class::MOP::Method
63 Class::MOP::Method::Constructor
64 Class::MOP::Method::Generated
65 Class::MOP::Method::Accessor
66 - added more descriptive error message to help
67 keep people from wasting time tracking an error
47e20ba2 68 that is easily fixed by upgrading.
32202ce2 69
b4009dc1 700.56 Saturday, May 24, 2008
11b56828 71 * Class::MOP
72 - we now get the &check_package_cache_flag
73 function from MRO::Compat
d7d3f3cb 74 - All XS based functionality now has a
75 Pure Perl alternative
6c34db07 76 - the CLASS_MOP_NO_XS environment variable
d7d3f3cb 77 can now be used to force non-XS versions
6c34db07 78 to always be used
11b56828 79
9e517e01 80 * Class::MOP::Attribute
81 - add has_read_method and has_write_method
d7d3f3cb 82 - get_{read,write}_method_ref now wraps the
def5c0b5 83 anon-sub ref in the method metaclass when
84 possible
85 - added tests for this
d7d3f3cb 86
5f3efd66 87 * Class::MOP::Immutable
d7d3f3cb 88 - added the ability to "wrap" methods when
5f3efd66 89 making the class immutable
d7d3f3cb 90
5f3efd66 91 * Class::MOP::Class
daf8d8bc 92 - now handling the edge case of ->meta->identifier
d7d3f3cb 93 dying by wrapping add_package_symbol to specifically
5f3efd66 94 allow for it to work.
95 - added tests for this
d7d3f3cb 96
97 * Class::MOP::Attribute
6c34db07 98 Class::MOP::Class
d7d3f3cb 99 Class::MOP::Immutable
6c34db07 100 - any time a method meta object is constructed
d7d3f3cb 101 we make sure to pass the correct package and
6c34db07 102 method name information
d7d3f3cb 103
6c34db07 104 * Class::MOP::Method
105 Class::MOP::Method::Wrapped
106 Class::MOP::Method::Generated
107 Class::MOP::Method::Accessor
d7d3f3cb 108 Class::MOP::Method::Consructor
109 - the &wrap constructor method now requires that a
110 'package_name' and 'name' attribute are passed. This
111 is to help support the no-XS version, and will
112 throw an error if these are not supplied.
6c34db07 113 - all these classes are now bootstrapped properly
114 and now store the package_name and name attributes
d7d3f3cb 115 correctly as well
116
117 ~ Build.PL has been removed since the
118 Module::Install support has been removed
9e517e01 119
8adaad20 1200.55 Mon. April 28, 2008
121 - All classes now have proper C3 MRO support
122 - added MRO::Compat as a dependency to allow
123 for the C3 MRO support to Just Work in all
124 perl versions
d7d3f3cb 125
830b326c 126 * Class::MOP::Class
d7d3f3cb 127 - rebless_instance now returns the instance
128 it has just blessed, this is mostly to
830b326c 129 facilitate chaining
d7d3f3cb 130 - set the attr correctly in rebless_instance
6e2a700f 131 when it has no init_arg
77a143ba 132 - tweaked &linear_isa and &class_precedence_list
133 to support c3 classes.
830b326c 134
e0db39d2 1350.54 Fri. March, 14, 2008
8861fab2 136 * Class::MOP
214e4bd7 137 metaclass.pm
8861fab2 138 - making sure that load_class never gets
d7d3f3cb 139 passed a value from @_ or $_ to squash
8861fab2 140 Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
141
09c6e1d2 142 * Class::MOP::Class
143 - make_{immutable,mutable} now return 1
144 (cause Sartak asked)
d7b2249e 145 - improved error handling in ->create method
d7d3f3cb 146 - rebless_instance now takes extra params which
147 will be used to populate values
214e4bd7 148 - added tests for this
d7d3f3cb 149
acce7fd6 150 * Class::MOP::Object
d7d3f3cb 151 - localizing the Data::Dumper configurations so
152 that it does not pollute others (RT #33509)
153
d7b2249e 154 * Class::MOP::Class
155 Class::MOP::Package
156 Class::MOP::Module
157 Class::MOP::Method
158 Class::MOP::Attribute
d7d3f3cb 159 - these classes no longer define their own ->meta,
160 but instead just inherit from Class::MOP::Object
161
d7b2249e 162 * Class::MOP::Instance
d7d3f3cb 163 Class::MOP::Immutable
d7b2249e 164 - these classes now inherit from Class::MOP::Object
d7d3f3cb 165
10dd437b 166 * t/
d7d3f3cb 167 - fixed the filename length on several
10dd437b 168 test files so we install on VMS better
169 (RT #32295)
d7d3f3cb 170 - fixed incorrect use of catdir when it
10dd437b 171 should be catfile (RT #32385)
172
2491730f 1730.53 Thurs. Feb. 14, 1008
7a536297 174 ~~ several doc. fixes and updates ~~
d7d3f3cb 175
0c6f4c4a 176 * Class::MOP::Class
177 Class::MOP::Method::Constructor
178 Class::MOP::Attribute
179 - making init_arg accept an undefined value
d7d3f3cb 180 to indicate that no constructor args can
0c6f4c4a 181 be passed (thanks to nothingmuch)
182 - added tests for this
339264d8 183 - added attribute initializer attribute (rjbs)
d7d3f3cb 184
0c6f4c4a 185 * Class::MOP.
186 - making this use the new init_arg => undef
d7d3f3cb 187 feature instead of the silly hack from
0c6f4c4a 188 before (thanks to nothingmuch)
ad074154 189
3e8e8f07 1900.52 Tues. Jan. 22, 2008
2a2b8458 191 * Class::MOP::Class
d7d3f3cb 192 - fixed bug in rebless_instance
2a2b8458 193 (discovered by ash)
194
195 * Class::MOP::Method::Constructor
d7d3f3cb 196 - removed assumptions about the existence of
2a2b8458 197 a &meta method
198
656ce3ba 1990.51 Mon. Jan. 14, 2008
69e3ab0a 200 ~~~ some misc. doc. fixes ~~~
201 ~~ updated copyright dates ~~
d7d3f3cb 202
c1d5345a 203 * Class::MOP
d7d3f3cb 204 - now sets the IS_RUNNING_ON_5_10
c1d5345a 205 constant so that we can take advantage
206 of some of the nice bits of 5.10
d7d3f3cb 207
c1d5345a 208 * Class::MOP::Class
d7d3f3cb 209 - uses the IS_RUNNING_ON_5_10 flag to
210 optimize the &linearized_isa method
c1d5345a 211 and avoid the hack/check for circular
d7d3f3cb 212 inheritence in &class_precedence_list
3d9e4646 213 - added rebless_instance method (Sartak)
214 - added tests for this
d7d3f3cb 215
216 * Class::MOP::Immutable
217 - the immutable class now keeps track of
c1d5345a 218 the transformer which immutablized it
69e3ab0a 219
3d9e4646 220 * Class::MOP::Instance
221 - added rebless_instance_structure method (Sartak)
222 - added tests for this
223
a780a6ff 2240.50 Fri. Dec. 21, 2007
6ff0d647 225 * Class::MOP::Class
d7d3f3cb 226 - fixed bug in immutable to make sure that
227 transformation arguments are saved
6ff0d647 228 correctly (mst)
b6bcc3a5 229 - added tests for this
d7d3f3cb 230
6ff0d647 231 * Class::MOP::Immutable
232 - fixed a bug (see above)
d7d3f3cb 233
6ff0d647 234 * Class::MOP::Attribute
235 - some doc updates
236
30b8af04 2370.49 Fri. Dec. 14, 2007
b6bcc3a5 238 !! Class::MOP now loads 2 x faster !!
30b8af04 239 !! with XS speedups (thanks konobi) !!
d7d3f3cb 240
30b8af04 241 * Class::MOP
242 - removed the dependency on B
243 - added two XS functions (thanks konobi)
244 - get_code_info($code) which replaces all
245 the B fiddling we were doing with
246 faster/leaner XS level fiddling
d7d3f3cb 247 - check_package_cache_flag($pkg_name) which
248 returns the PL_sub_generation variable to
30b8af04 249 be used to help manage method caching.
d7d3f3cb 250
251 NOTE:
252 In 5.10 or greater this will actually
253 use the mro::get_pkg_gen instead to give
254 even more accurate caching information.
30b8af04 255 blblack++ for that stuff :)
d7d3f3cb 256
6c9f390e 257 * Class::MOP::Class
258 - added the &subclasses method (thanks rlb)
d7d3f3cb 259 - added the update_package_cache_flag and
260 reset_package_cache_flag which help keep
261 track of when we need to re-fetch the
262 method map.
30b8af04 263 - Several small improvements to take advantage
264 of the new method map caching features
4c4a6c41 265
1b8b3e09 2660.48 Mon. Nov. 26, 2007
d14f6cbe 267 * Class::MOP::Attribute
d7d3f3cb 268 - fixed get_read/write_method to handle the
269 HASH ref case, which makes the
d14f6cbe 270 get_read/write_method_ref handle it too.
271 - added more tests for this
272
742fb371 2730.47 Sat. Nov. 24, 2007
274 * Class::MOP::Attribute
275 - fixed misspelling in get_write_method_ref
78d9bb38 276 - added more tests for this
742fb371 277
fe7c0b15 2780.46 Fri. Nov. 23, 2007
b7bdffc3 279 * Class::MOP::Class
d7d3f3cb 280 - added the linearized_isa method instead of constantly
281 pruning duplicate classes (this will be even more
b7bdffc3 282 useful in the 5.10-compat version coming soon)
d7d3f3cb 283
5da16d1b 284 * Class::MOP::Attribute
285 - added the get_read_method_ref and get_write_method_ref
d7d3f3cb 286 methods which allow you to retrieve a CODE ref which
5da16d1b 287 can always be used to read or write an attribute.
b7bdffc3 288
1a5cc82e 2890.45 Thurs. Nov. 13, 2007
232c4e13 290 * Class::MOP::Attribute
291 - Fix error message on confess (groditi)
292
544143b2 2930.44 Thurs. Nov. 13, 2007
294 - Apparently I didn't make dist correctly (groditi)
295
c0aeeb91 2960.43 Thurs. Nov. 13, 2007
b08fd50c 297 * Class::MOP
1d68af04 298 - Add support for the 'builder' attribute (groditi)
299
b08fd50c 300 * Class::MOP::Class
d7d3f3cb 301 - optimise metaclass-already-exists check in
b08fd50c 302 construct_class_instance (groditi)
d7d3f3cb 303 - duplicate check into initialize to save a
b08fd50c 304 call through (groditi)
305
1d68af04 306 * Class::MOP::Attribute
307 - Add support for the 'builder' attribute (groditi)
d7d3f3cb 308 - Make predicates check for the existence of a value, not whether
b08fd50c 309 it is defined (groditi)
8768ecf3 310
311 * Class::MOP::Instance
d7d3f3cb 312 - Make predicates check for the existence of a value, not whether
b08fd50c 313 it is defined (groditi)
8768ecf3 314
d7d3f3cb 315 * Class::MOP::Method::Accessor
565f0cbb 316 - made this a subclass of Class::MOP::Method::Generated
317 - removed the relevant attributes
318
319 * Class::MOP::Method::Constructor
320 - fixed the cached values we had to be more sane
321 - made this a subclass of Class::MOP::Method::Generated
d7d3f3cb 322 - fixed generated constructor so it properly handles
565f0cbb 323 subclasses now.
324 - added tests for this
d7d3f3cb 325 - added the option to allow for both inlined and
565f0cbb 326 non-inlined constructors.
b08fd50c 327 - Update inlined methods for builder and predicate changes (groditi)
565f0cbb 328
329 * Class::MOP::Method::Generated
d7d3f3cb 330 - added this class as an abstract base for the
565f0cbb 331 Class::MOP::Method::{Constructor,Accessor} classes
332 - added tests for this
333
b08fd50c 334 *t/
335 - Alter tests (005, 014 020, 021) for new builder addition (groditi)
336 - Tests for new predicate behavior (and corrections to old tests) (groditi)
337
338 *examples/
339 - Update ArrayRef based class example to work with predicate changes
340
367183c4 3410.42 Mon. July 16, 2007
9195ddff 342 !!! Horray for mst, he fixed it !!!
343
92af7fdf 344 * Class::MOP::Package
345 - alter symbol table handling to deal with 5.8.x and 5.9.x
d7d3f3cb 346
92af7fdf 347 * t/
9195ddff 348 - Get rid of the crappy workaround from 0.40/41
92af7fdf 349
829f7554 3500.41 Sun. July 15, 2007
351 * t/
352 Arghh!!! My TODO test didn't work, so I handle
d7d3f3cb 353 it manually now so that people can use this
829f7554 354 with 5.9.5/bleadperl without issue.
355
1d7205b8 3560.40 Tues, July 3, 2007
9f88b8ff 357 * t/
d7d3f3cb 358 ~ marked a test in 003_methods.t as TODO
359 for perl 5.9.5 (this test is irrelvant to
360 the module functioning on 5.9.5 for the most
1d7205b8 361 part anyway)
9f88b8ff 362
28acb786 3630.39 Mon. June 18, 2007
b817e248 364 * Class::MOP::Immutable
0ac992ee 365 - added make_metaclass_mutable + docs (groditi)
366 - removed unused variable
d9586da2 367 - added create_immutable_transformer
368 necessary for sane overloading of immutable behavior
d7d3f3cb 369 - tests for this (groditi)
0ac992ee 370
371 * Class::MOP::Class
372 - Immutability can now be undone,
373 added make_mutable + tests + docs (groditi)
04dd7510 374 - Massive changes to the way Immutable is done
375 for details see comments next to make_immutable
376 This fixes a bug where custom metaclasses broke
d7d3f3cb 377 when made immutable. We are now keeping one immutable
378 metaclass instance per metaclass instead of just one
04dd7510 379 to prevent isa hierarchy corruption. Memory use will go
380 up, but I suspect it will be neglible.
381 - New tests added for this behavior. (groditi)
7c90a1a8 382
c0fcd6ab 3830.38 Thurs. May 31, 2007
823a5d31 384 ~~ More documentation updates ~~
d7d3f3cb 385
823a5d31 386 * Class::MOP::Package
387 - we now deal with stub methods properly
388 - added tests for this
c0fcd6ab 389 - fixed some tests failing on 5.9.5 (thanks blblack)
d7d3f3cb 390
b25109b1 391 * Class::MOP::Attribute
392 - added get_read_method and get_write_method
d7d3f3cb 393 thanks to groditi for this code, tests
c81de280 394 and docs.
b25109b1 395 - added tests and POD for this
d7d3f3cb 396
795a0c8b 397 * Class::MOP::Class
d7d3f3cb 398 - fixed RT issue #27329, clone object now
795a0c8b 399 handles undef values correctly.
400 - added tests for this
d7d3f3cb 401 - Corrected anon-class handling so that they
402 will not get reaped when instances still
403 exist which need to reference them. This is
404 the correct behavior, hopefully this is an
405 obscure enough feature that there are not too
d4ba1677 406 many work arounds out in the wild.
d7d3f3cb 407 - added tests for this by groditi
95514cb4 408 - updated docs to explain this
409
410 * metaclass
c0fcd6ab 411 - load custom metaclasses automatically (thanks groditi)
f2266181 412 - added tests for this behavior
a06797b0 413
3dc99d93 4140.37 Sat. March 10, 2007
448b6e55 415 ~~ Many, many documentation updates ~~
d7d3f3cb 416
448b6e55 417 * Class::MOP
d7d3f3cb 418 - added &load_class and &is_class_loaded
448b6e55 419 - added tests and docs for these
2367814a 420
9363ea89 421 * Class::MOP::Attribute
d7d3f3cb 422 - default now checks the instance with defined to
9363ea89 423 avoid setting off bool-overloads (found by Carl Franks)
424
c23184fc 4250.37_002
d7d3f3cb 426 * /t
427 - bad name in a test, causing meaningless failuress.
c23184fc 428 No other changes.
429
4300.37_001
d7d3f3cb 431
c23184fc 432 ~~ GLOBAL CHANGES ~~
d7d3f3cb 433 - All attribute names are now consistent and follow Perl 6
434 style (prefixed with the sigil, and ! as the twigil for
435 private attrs). This should not affect any code, unless
436 you broke encapsulation, in which case, it is your problem
c23184fc 437 anyway.
d7d3f3cb 438
c23184fc 439 !! Class::MOP::Class::Immutable has been removed
d7d3f3cb 440
c23184fc 441 * Class::MOP::Method::Constructor
d7d3f3cb 442 - this has been moved out of Class::MOP::Class::Immutable
c23184fc 443 and is a proper subclass of Class::MOP::Method now.
d7d3f3cb 444
c23184fc 445 * Class::MOP::Class
d7d3f3cb 446 - this module now uses Class::MOP::Immutable for the
447 immutable transformation instead of
c23184fc 448 Class::MOP::Class::Immutable.
d7d3f3cb 449
450 + Class::MOP::Immutable
451 - this module now controls the transformation from a mutable
452 to an immutable version of the class. Docs for this will
c23184fc 453 be coming eventually.
d7d3f3cb 454
c23184fc 455
cdc1ecba 4560.36 Sun. Nov. 5, 2006
a651e249 457 * Class::MOP::Class
d7d3f3cb 458 - added a few 'no warnings' lines to keep annoying
459 (and meaningless) warnings from chirping during
a651e249 460 global destruction.
d7d3f3cb 461
0870928c 462 * Class::MOP
d7d3f3cb 463 - some more bootstrapping is now done on the new
0870928c 464 classes
d7d3f3cb 465
0870928c 466 * Class::MOP::Class::Immutable
d7d3f3cb 467 *** API CHANGE ***
468 - constructor generation is now handled by
0870928c 469 the Class::MOP::Method::Constructor class
d7d3f3cb 470
0870928c 471 * Class::MOP::Method::Constructor
d7d3f3cb 472 - created this to handle constructor generation
0870928c 473 in Class::MOP::Class::Immutable
d7d3f3cb 474
0870928c 475 * Class::MOP::Attribute
d7d3f3cb 476 *** API CHANGE ***
477 - attributes now delegate to the
478 Class::MOP::Method::Accessor to generate
0870928c 479 accessors
d7d3f3cb 480
0870928c 481 * Class::MOP::Method::Accessor
d7d3f3cb 482 - all accessor generation functions from
0870928c 483 Class::MOP::Attribute have been moved here
a651e249 484
80f00c79 4850.35 Sat. Sept. 30, 2006
8745cf22 486
487 * scripts/class_browser.pl
d7d3f3cb 488 - initial prototype of a class browser, more
489 on this to come. Comments and patches are
8745cf22 490 very much welcome.
b1897d4d 491
492 * Class::MOP
d7d3f3cb 493 - All Class::MOP::* accessors are no longer
494 re-generated in the bootstrap, instead
6d2118a4 495 they are aliased from the originals
6d2118a4 496 - fixed tests to reflect
d7d3f3cb 497 - added Class::MOP::Method (and its subclasses)
b1897d4d 498 to the bootstrap
499 - adjusted tests for this
86482605 500 - added the Class::MOP::Instance attributes
501 to the bootstrap
d7d3f3cb 502
b1897d4d 503 * Class::MOP::Method
504 *** API CHANGE ***
505 - methods are no longer blessed CODE refs
506 but are actual objects which can be CODE-ified
507 - adjusted tests to compensate
d7d3f3cb 508 - adjusted docs for this
b1897d4d 509
510 * Class::MOP::Class
d7d3f3cb 511 - changed how methods are dealt with to
512 encapsulate most of the work into the
b1897d4d 513 &get_method_map method
514 - made several adjustments for the change
515 in Class::MOP::Method
d7d3f3cb 516 - &add_attribute now checks if you are adding
517 a duplicate name, and properly removes the
b1897d4d 518 old one before installing the new one
519 - added tests for this
86482605 520 - adjusted docs for this
d7d3f3cb 521
b1897d4d 522 * Class::MOP::Class::Immutable
523 - added caching of &get_method_map
524 - fixed issue with &get_package_symbol
525 - cleaned up the methods that die (patch by David Wheeler)
d7d3f3cb 526
b1897d4d 527 * Class::MOP::Package
d7d3f3cb 528 - added filtering capabilities to
b1897d4d 529 &list_all_package_symbols
530
a549ce50 5310.34 Sat. Aug. 26, 2006
c4260b45 532 * Class::MOP::Class
533 - added the %:methods attribute, which like
d7d3f3cb 534 the $:version and such just actually goes
535 to the symbol table to get it's stuff.
c4260b45 536 However, it makes the MOP more complete.
88dd563c 537 ** API CHANGE **
d7d3f3cb 538 - The &create method now requires that all
539 but the package name now is passed in as
88dd563c 540 named parameters. See docs for more info.
541 - updated docs and tests for this
d7d3f3cb 542
c4260b45 543 * Class::MOP::Object
d7d3f3cb 544 - added &dump method to easily Data::Dumper
c4260b45 545 an object
d7d3f3cb 546
c4260b45 547 * Class::MOP
d7d3f3cb 548 - cleaned up the initialization of attributes
549 which do not store things in the instance
c4260b45 550 - added the %:methods attribute definition to
551 the bootstrap
d7d3f3cb 552
88dd563c 553 ~ lots of misc. test cleanup
c4260b45 554
56e8dd5d 5550.33 Sat. Aug. 19, 2006
be7677c7 556 * Class::MOP::Class
d7d3f3cb 557 - moved the metaclass cache out of here
be7677c7 558 and it is now in Class::MOP itself.
d7d3f3cb 559
56e8dd5d 560 * Class::MOP
561 - moved all the metaclass cache stuff here
562 - fixed all tests for this
be7677c7 563
148b4697 564 * Class::MOP::Attribute
d7d3f3cb 565 - reference values (other than CODE refs)
148b4697 566 are no longer allowed for defaults
567 - added tests for this
d7d3f3cb 568
56dcfc1a 569 * Class::MOP::Package
d7d3f3cb 570 - fixed an issue with perl 5.8.1 and how it deals
571 with symbol tables. The namespace hash is now
572 always reloaded from the symbol table.
e3a2c885 573
574 ~ lots of misc. documentation cleanup
1396f86b 575
716c5765 5760.32 Sat. Aug. 12, 2006
d7d3f3cb 577 + added Class::MOP::Object so that the
6e57504d 578 metamodel is more complete (and closer
579 to what Perl 6 will probably be).
580
9ca19585 581 * Class::MOP::Package
d7d3f3cb 582 - refactored entire class, this is now
9ca19585 583 the primary gateway between the metaclass
584 and the Perl 5 symbol table
585 - added many tests for this
d7d3f3cb 586 - this class is now a subclass of
6e57504d 587 Class::MOP::Object
716c5765 588 - added some tests to reflect this
d7d3f3cb 589
9ca19585 590 * Class::MOP::Class
d7d3f3cb 591 - refactored all symbol table access to
9ca19585 592 use Class::MOP::Package methods instead
d7d3f3cb 593
f0480c45 594 * Class::MOP::Module
595 - adding the $:version attribute in the bootstrap
596 so that Module has a version as an attribute
597 - see comment in Class::MOP for details
d7d3f3cb 598 - added the $:authority attribute to this module
599 as well as an &identifier method, to bring us
600 ever closer to Perl 6 goodness
601 - I have added $AUTHORITY to all the modules
716c5765 602 - added tests for this
d7d3f3cb 603
f0480c45 604 * Class::MOP::Instance
d7d3f3cb 605 - added &deinitialize_slot for removing slots
f0480c45 606 from an instance
d7d3f3cb 607 - added tests for this
608
609 * Class::MOP::Attribute
9ca19585 610 - added support for &deinitialize_slot for removing
611 slots from an instance
612 - added tests for this
613
1a09d9cc 6140.31 Sat. July 15, 2006
615
b679e644 616 * Class::MOP::Class
617 - added &find_method_by_name to locate a method
d7d3f3cb 618 anywhere within the class hierarchy
619
b679e644 620 * Class::MOP::Attribute
d7d3f3cb 621 - added &set_value and &get_value for getting
622 the value of the attribute for a particular
b679e644 623 instance.
624
373a16ae 6250.30 Wed. July 5, 2006
626 ---------------------------------------
d7d3f3cb 627 This is the first version of Class::MOP
373a16ae 628 to introduce the immutable features which
d7d3f3cb 629 will be used for optimizating the MOP.
373a16ae 630 This support should still be considered
631 experimental, but moving towards stability.
632 ---------------------------------------
d7d3f3cb 633
634 * Created Class::MOP::Class::Immutable
635
636 * Created the Class::MOP::Package and
637 Class::MOP::Module classes to more
373a16ae 638 closely conform to Perl 6's meta-model
e0a82090 639
640 * Class::MOP::Class
641 - now inherits from Class::MOP::Module
d7d3f3cb 642 - several methods moved to ::Module and
e0a82090 643 ::Package and now inherited
644 - added tests for this
d7d3f3cb 645
c0cbf4d9 646 * Class::MOP::Instance
d7d3f3cb 647 - added an is_inlinable method to allow other
c0cbf4d9 648 classes to check before they attempt to optimize.
d7d3f3cb 649 - added an inline_create_instance to inline
650 instance creation (of course)
651
2ba153a9 652 ** API CHANGE **
d7d3f3cb 653 - the Class::MOP::Class::*_package_variable
2ba153a9 654 methods are all now methods of Class::MOP::Package
d7d3f3cb 655 and called *_package_symbol instead. This is
656 because they are now more general purpose symbol
657 table manipulation methods.
e0a82090 658
cdfaa4cc 6590.29_02 Thurs. June 22, 2006
660 ++ DEVELOPER RELEASE ++
df7b4119 661 * Class::MOP::Class
d7d3f3cb 662 - small change in &create so that it behaves
df7b4119 663 properly when inherited
cdfaa4cc 664 - small fix to &clone_instance
df7b4119 665
667cecf3 6660.29_01 Fri. May 12, 2006
667 ++ DEVELOPER RELEASE ++
d7d3f3cb 668 - This release works in combination with
667cecf3 669 Moose 0.09_01, it is a developer release
d7d3f3cb 670 because it introduces a new instance
671 sub-protocol and has not yet been
672 optimized.
667cecf3 673
40483095 674 * Class::MOP::Class
675 - anon-classes are now properly garbage collected
d7d3f3cb 676 - added tests for this
677 - improved method modifier wrapping
40483095 678
2bab2be6 679 * Class::MOP::Instance
1becdfcc 680 - added new instance protocol
2bab2be6 681 - added tests for this
682 - changed all relevant modules and examples
683 - Class::MOP::Class
684 - Class::MOP::Attribute
685 - examples/*
686
1becdfcc 687 * metaclass
688 - you no longer need to specify the metaclass
689 itself, if it is not there, Class::MOP::Class
690 is just assumed
691 - updated tests for this
692
693 * examples/
d7d3f3cb 694 - added ArrayBasedStorage example to show
1becdfcc 695 instance storage using ARRAY refs instead of
d7d3f3cb 696 HASH refs.
1becdfcc 697 - added tests for this
d7d3f3cb 698 - InsideOutClass is totally revised using the
1becdfcc 699 new instance protocol
700 - added more tests for this
701
93b4e576 7020.26 Mon. April 24, 2006
e7f732e4 703 * Class::MOP::Class
704 - added find_attribute_by_name method
705 - added tests and docs for this
56a0b530 706 - some small optimizations
707
708 * Class::MOP::Attribute
709 - some small optimizations
e7f732e4 710
46666f33 7110.25 Thurs. April 20, 2006
587aca23 712 * Class::MOP::Class
713 - added create_anon_class for creating anonymous classes
714 - added tests for this
715 - added get_all_metaclasses, get_all_metaclass_names
716 and get_all_metaclass_instances method to allow
717 access to all the cached metaclass objects.
bd4e03f9 718 - attribute slot initialization is now the responsibility
d7d3f3cb 719 of the attribute itself, and construct_instance now
bd4e03f9 720 delegates appropriately
d7d3f3cb 721
bd4e03f9 722 * Class::MOP::Attribute
723 - attribute slot initialization is now the responsibility
724 of the attribute itself, so we added a method for it
725 called initialize_instance_slot
d7d3f3cb 726
fed4cee7 727 * examples/
d7d3f3cb 728 - adjusted all the examples to use the new attribute
729 initialize_instance_slot method
587aca23 730
1daaa2b2 7310.24 Tues. April 11, 2006
8c936afc 732 * Class::MOP::Class
d7d3f3cb 733 - cleaned up how the before/after/around method
8c936afc 734 modifiers get named with Sub::Name
735
b9dfbf78 7360.23 Thurs. March 30, 2006
a977cf65 737 * Class::MOP::Class
d7d3f3cb 738 - fixed the way attribute defaults are handled
a977cf65 739 during instance construction (bug found by chansen)
d7d3f3cb 740
b9dfbf78 741 * Class::MOP::Attribute
d7d3f3cb 742 - read-only accessors ('reader') will now die if
b9dfbf78 743 passed more than one argument (attempting to write
744 to them basically)
745 - added tests for this
d7d3f3cb 746 - adjusted all /example files to comply
a977cf65 747
f9eba090 7480.22 Mon. March 20, 2006
0eff2c16 749 * Class::MOP::Class
750 - localized $@ in the *_package_variable functions
751 because otherwise, it does ugly things in Moose.
752 - added test case for this
753
1988e85e 7540.21 Wed. March 15, 2006
2f6d5412 755 * Class::MOP::Class
d7d3f3cb 756 - fixed issue where metaclasses are reaped from
2f6d5412 757 our cache in global destruction, and so are not
758 available in DESTORY calls
759
96ceced8 7600.20 Thurs. March 2, 2006
d7d3f3cb 761 - removed the dependency for Clone since
d3cb0d4a 762 we no longer to deep-cloning by default.
d7d3f3cb 763
a4258ffd 764 * Class::MOP::Method
d7d3f3cb 765 - added &package_name, &name and
766 &fully_qualified_name methods, some of
767 which were formerly private subs in
a4258ffd 768 Class::MOP::Class
d7d3f3cb 769
a4258ffd 770 * Class::MOP::Method::Wrapped
d7d3f3cb 771 - allows for a method to be wrapped with
772 before, after and around modifiers
a4258ffd 773 - added tests and docs for this feature
d3cb0d4a 774
775 * Class::MOP::Class
58d75218 776 - improved &get_package_symbol
96ceced8 777 - &version and &superclasses now use it
a4258ffd 778 - methods are now blessed into Class::MOP::Method
779 whenever possible
d7d3f3cb 780 - added methods to install CLOS-style method modifiers
a4258ffd 781 - &add_before_method_modifier
d7d3f3cb 782 - &add_after_method_modifier
a4258ffd 783 - &add_around_method_modifier
784 - added tests and docs for these
d7d3f3cb 785 - added &find_next_method_by_name which finds the
96ceced8 786 equivalent of SUPER::method_name
d3cb0d4a 787
1c020571 7880.12 Thurs. Feb 23, 2006
d7d3f3cb 789 - reduced the dependency on B, no need to always
d89c0fad 790 have the latest
791
1c020571 792 * examples/
793 - added docs to the C3 method dispatch order test
d7d3f3cb 794 - fixed missing Algorithm::C3 dependency by making
1c020571 795 the test skip if it is not installed
796
0dea7280 7970.11 Mon Feb. 20, 2006
f3f5bd34 798 * examples/
799 - added example of changing method dispatch order to C3
d7d3f3cb 800
a27ae83f 801 * Class::MOP::Class
19d4b5b8 802 - changed how clone_instance behaves, it now only does a
803 shallow clone (see docs for more details)
a27ae83f 804 - added docs and tests
f3f5bd34 805
3bf7644b 8060.10 Tues Feb. 14, 2006
d7d3f3cb 807 ** This release was mostly about writing more tests and
808 cleaning out old and dusty code, the MOP should now
3bf7644b 809 be considered "ready to use".
810
22286063 811 - adding more tests to get coverage up a little higher,
812 mostly testing errors and edge cases.
813 - test coverage is now at 99%
d7d3f3cb 814
aa448b16 815 * Class::MOP
816 - no longer optionally exports to UNIVERSAL::meta or
d7d3f3cb 817 creates a custom metaclass generator, use the
aa448b16 818 metaclass pragma instead.
22286063 819
d7d3f3cb 820 * Class::MOP::Class
821 - fixed a number of minor issues which came up in the
822 error/edge-case tests
823
824 * Class::MOP::Attribute
825 - fixed a number of minor issues which came up in the
22286063 826 error/edge-case tests
d7d3f3cb 827
0b8eb325 828 * examples/
ea263060 829 - fixing the AttributesWithHistory example, it was broken.
663f8198 830
550d56db 8310.06 Thurs Feb. 9, 2006
677eb158 832 * metaclass
d7d3f3cb 833 - adding new metaclass pragma to make setting up the
677eb158 834 metaclass a little more straightforward
d7d3f3cb 835
7b31baf4 836 * Class::MOP
d7d3f3cb 837 - clean up bootstrapping to include more complete
838 attribute definitions for Class::MOP::Class and
839 Class::MOP::Attribute (accessors, readers, writers,
7b31baf4 840 etc.) ... it is redundant, but is useful meta-info
841 to have around.
677eb158 842
99e5b7e8 843 * Class::MOP::Class
d7d3f3cb 844 - fixing minor meta-circularity issue with &meta, it
99e5b7e8 845 is now more useful for subclasses
d7d3f3cb 846 - added &get_attribute_map as an accessor for the
7b31baf4 847 hash of attribute meta objects
c9e77dbb 848 - &compute_all_applicable_attributes now just returns
849 the attribute meta-object, rather than the HASH ref
d7d3f3cb 850 since all the same info can be gotten from the
c9e77dbb 851 attribute meta-object itself
852 - updated docs & tests to reflect
5f3c057a 853 - added &clone_instance method which does a deep clone
854 of the instance structure created by &construct_instance
855 - added docs & tests for this
550d56db 856 - added Clone as a dependency
5f3c057a 857 - added &new_object and &clone_object convience methods to
858 return blessed new or cloned instances
2a7575a6 859 - they handle Class::MOP::Class singletons correctly too
5f3c057a 860 - added docs & tests for this
2a7575a6 861 - cleaned up the &constuct_class_instance so that it behaves
862 more like &construct_instance (and managed the singletons too)
550d56db 863 - added the &check_metaclass_compatibility method to make sure
864 that metaclasses are upward and downward compatible.
865 - added tests and docs for this
d7d3f3cb 866
99e5b7e8 867 * examples/
868 - adjusting code to use the &Class::MOP::Class::meta
869 fix detailed above
677eb158 870 - adjusting code to use the metaclass pragma
d7d3f3cb 871
aa9c883e 8720.05 Sat Feb. 4, 2006
2e41896e 873 * Class::MOP::Class
874 - added the &attribute_metaclass and &method_metaclass
d7d3f3cb 875 attributes which contain a metaclass name to use for
2e41896e 876 attributes/methods respectively
d7d3f3cb 877
351bd7d4 878 * Class::MOP
d7d3f3cb 879 - bootstrap additional attributes for Class::MOP::Class
880
2e41896e 881 * examples/
882 - adjusted the example code and tests to use the new
883 &attribute_metaclass feature of Class::MOP::Class
aa9c883e 884 - added new example:
885 - LazyClass
2e41896e 886
d7c2cbe3 8870.04 Fri Feb. 3, 2006
d6fbcd05 888 * Class::MOP::Class
889 - some documentation suggestions from #perl6
d7d3f3cb 890
d6fbcd05 891 * Class::MOP::Attribute
d7d3f3cb 892 - improved error messages
893
d6fbcd05 894 * examples/
895 - added new examples:
896 - AttributesWithHistory
d7c2cbe3 897 - ClassEncapsultedAttributes
343203ee 898
9ec169fe 8990.03 Fri Feb. 3, 2006
900 - converted to Module::Build instead of EU::MM
d7d3f3cb 901
9ec169fe 902 * Class::MOP::Attribute
903 - refactored method generation code
904 - attributes are now associated with class directly
d7d3f3cb 905
f71f4295 906 * examples/
d7d3f3cb 907 - refactored the InsideOut example to take advantage
9ec169fe 908 of the Class::MOP::Attribute refactoring
f71f4295 909 - changed example files to .pod files and hide thier
910 package names from PAUSE (I don't want to own these
911 namespaces really, they are just examples)
9ec169fe 912
a57c7fa2 9130.02 Thurs Feb. 2, 2006
914 - moving examples from t/lib/* to examples/*
915 - adding POD documentation to the examples
916
a2e85e6c 9170.01 Thurs Feb. 2, 2006
92af7fdf 918 - Initial release