bunch of doc fixes
[gitmo/Class-MOP.git] / Changes
CommitLineData
7c90a1a8 1Revision history for Perl extension Class-MOP.
b817e248 2
ad074154 30.53
127d39a7 4 ~~~ some misc. doc. fixes ~~~
5
ad074154 6 * Class::MOP::Instance
7 - added get_all_slot_values method (Sartak)
8 - added tests for this (Sartak)
0c6f4c4a 9
10 * Class::MOP::Class
11 Class::MOP::Method::Constructor
12 Class::MOP::Attribute
13 - making init_arg accept an undefined value
14 to indicate that no constructor args can
15 be passed (thanks to nothingmuch)
16 - added tests for this
339264d8 17 - added attribute initializer attribute (rjbs)
0c6f4c4a 18
19 * Class::MOP.
20 - making this use the new init_arg => undef
21 feature instead of the silly hack from
22 before (thanks to nothingmuch)
ad074154 23
3e8e8f07 240.52 Tues. Jan. 22, 2008
2a2b8458 25 * Class::MOP::Class
26 - fixed bug in rebless_instance
27 (discovered by ash)
28
29 * Class::MOP::Method::Constructor
30 - removed assumptions about the existence of
31 a &meta method
32
656ce3ba 330.51 Mon. Jan. 14, 2008
69e3ab0a 34 ~~~ some misc. doc. fixes ~~~
35 ~~ updated copyright dates ~~
c1d5345a 36
37 * Class::MOP
38 - now sets the IS_RUNNING_ON_5_10
39 constant so that we can take advantage
40 of some of the nice bits of 5.10
41
42 * Class::MOP::Class
43 - uses the IS_RUNNING_ON_5_10 flag to
44 optimize the &linearized_isa method
45 and avoid the hack/check for circular
46 inheritence in &class_precedence_list
3d9e4646 47 - added rebless_instance method (Sartak)
48 - added tests for this
c1d5345a 49
50 * Class::MOP::Immutable
51 - the immutable class now keeps track of
52 the transformer which immutablized it
69e3ab0a 53
3d9e4646 54 * Class::MOP::Instance
55 - added rebless_instance_structure method (Sartak)
56 - added tests for this
57
a780a6ff 580.50 Fri. Dec. 21, 2007
6ff0d647 59 * Class::MOP::Class
60 - fixed bug in immutable to make sure that
61 transformation arguments are saved
62 correctly (mst)
b6bcc3a5 63 - added tests for this
6ff0d647 64
65 * Class::MOP::Immutable
66 - fixed a bug (see above)
67
68 * Class::MOP::Attribute
69 - some doc updates
70
30b8af04 710.49 Fri. Dec. 14, 2007
b6bcc3a5 72 !! Class::MOP now loads 2 x faster !!
30b8af04 73 !! with XS speedups (thanks konobi) !!
74
75 * Class::MOP
76 - removed the dependency on B
77 - added two XS functions (thanks konobi)
78 - get_code_info($code) which replaces all
79 the B fiddling we were doing with
80 faster/leaner XS level fiddling
81 - check_package_cache_flag($pkg_name) which
82 returns the PL_sub_generation variable to
83 be used to help manage method caching.
84
85 NOTE:
86 In 5.10 or greater this will actually
87 use the mro::get_pkg_gen instead to give
88 even more accurate caching information.
89 blblack++ for that stuff :)
90
6c9f390e 91 * Class::MOP::Class
92 - added the &subclasses method (thanks rlb)
30b8af04 93 - added the update_package_cache_flag and
94 reset_package_cache_flag which help keep
95 track of when we need to re-fetch the
96 method map.
97 - Several small improvements to take advantage
98 of the new method map caching features
4c4a6c41 99
1b8b3e09 1000.48 Mon. Nov. 26, 2007
d14f6cbe 101 * Class::MOP::Attribute
102 - fixed get_read/write_method to handle the
103 HASH ref case, which makes the
104 get_read/write_method_ref handle it too.
105 - added more tests for this
106
742fb371 1070.47 Sat. Nov. 24, 2007
108 * Class::MOP::Attribute
109 - fixed misspelling in get_write_method_ref
78d9bb38 110 - added more tests for this
742fb371 111
fe7c0b15 1120.46 Fri. Nov. 23, 2007
b7bdffc3 113 * Class::MOP::Class
114 - added the linearized_isa method instead of constantly
115 pruning duplicate classes (this will be even more
116 useful in the 5.10-compat version coming soon)
5da16d1b 117
118 * Class::MOP::Attribute
119 - added the get_read_method_ref and get_write_method_ref
120 methods which allow you to retrieve a CODE ref which
121 can always be used to read or write an attribute.
b7bdffc3 122
1a5cc82e 1230.45 Thurs. Nov. 13, 2007
232c4e13 124 * Class::MOP::Attribute
125 - Fix error message on confess (groditi)
126
544143b2 1270.44 Thurs. Nov. 13, 2007
128 - Apparently I didn't make dist correctly (groditi)
129
c0aeeb91 1300.43 Thurs. Nov. 13, 2007
b08fd50c 131 * Class::MOP
1d68af04 132 - Add support for the 'builder' attribute (groditi)
133
b08fd50c 134 * Class::MOP::Class
135 - optimise metaclass-already-exists check in
136 construct_class_instance (groditi)
137 - duplicate check into initialize to save a
138 call through (groditi)
139
1d68af04 140 * Class::MOP::Attribute
141 - Add support for the 'builder' attribute (groditi)
8768ecf3 142 - Make predicates check for the existence of a value, not whether
b08fd50c 143 it is defined (groditi)
8768ecf3 144
145 * Class::MOP::Instance
146 - Make predicates check for the existence of a value, not whether
b08fd50c 147 it is defined (groditi)
8768ecf3 148
565f0cbb 149 * Class::MOP::Method::Accessor
150 - made this a subclass of Class::MOP::Method::Generated
151 - removed the relevant attributes
152
153 * Class::MOP::Method::Constructor
154 - fixed the cached values we had to be more sane
155 - made this a subclass of Class::MOP::Method::Generated
156 - fixed generated constructor so it properly handles
157 subclasses now.
158 - added tests for this
159 - added the option to allow for both inlined and
160 non-inlined constructors.
b08fd50c 161 - Update inlined methods for builder and predicate changes (groditi)
565f0cbb 162
163 * Class::MOP::Method::Generated
164 - added this class as an abstract base for the
165 Class::MOP::Method::{Constructor,Accessor} classes
166 - added tests for this
167
b08fd50c 168 *t/
169 - Alter tests (005, 014 020, 021) for new builder addition (groditi)
170 - Tests for new predicate behavior (and corrections to old tests) (groditi)
171
172 *examples/
173 - Update ArrayRef based class example to work with predicate changes
174
367183c4 1750.42 Mon. July 16, 2007
9195ddff 176 !!! Horray for mst, he fixed it !!!
177
92af7fdf 178 * Class::MOP::Package
179 - alter symbol table handling to deal with 5.8.x and 5.9.x
9195ddff 180
92af7fdf 181 * t/
9195ddff 182 - Get rid of the crappy workaround from 0.40/41
92af7fdf 183
829f7554 1840.41 Sun. July 15, 2007
185 * t/
186 Arghh!!! My TODO test didn't work, so I handle
187 it manually now so that people can use this
188 with 5.9.5/bleadperl without issue.
189
1d7205b8 1900.40 Tues, July 3, 2007
9f88b8ff 191 * t/
192 ~ marked a test in 003_methods.t as TODO
1d7205b8 193 for perl 5.9.5 (this test is irrelvant to
194 the module functioning on 5.9.5 for the most
195 part anyway)
9f88b8ff 196
28acb786 1970.39 Mon. June 18, 2007
b817e248 198 * Class::MOP::Immutable
0ac992ee 199 - added make_metaclass_mutable + docs (groditi)
200 - removed unused variable
d9586da2 201 - added create_immutable_transformer
202 necessary for sane overloading of immutable behavior
203 - tests for this (groditi)
0ac992ee 204
205 * Class::MOP::Class
206 - Immutability can now be undone,
207 added make_mutable + tests + docs (groditi)
04dd7510 208 - Massive changes to the way Immutable is done
209 for details see comments next to make_immutable
210 This fixes a bug where custom metaclasses broke
211 when made immutable. We are now keeping one immutable
212 metaclass instance per metaclass instead of just one
213 to prevent isa hierarchy corruption. Memory use will go
214 up, but I suspect it will be neglible.
215 - New tests added for this behavior. (groditi)
7c90a1a8 216
c0fcd6ab 2170.38 Thurs. May 31, 2007
823a5d31 218 ~~ More documentation updates ~~
c81de280 219
823a5d31 220 * Class::MOP::Package
221 - we now deal with stub methods properly
222 - added tests for this
c0fcd6ab 223 - fixed some tests failing on 5.9.5 (thanks blblack)
c81de280 224
b25109b1 225 * Class::MOP::Attribute
226 - added get_read_method and get_write_method
c81de280 227 thanks to groditi for this code, tests
228 and docs.
b25109b1 229 - added tests and POD for this
795a0c8b 230
231 * Class::MOP::Class
232 - fixed RT issue #27329, clone object now
233 handles undef values correctly.
234 - added tests for this
d4ba1677 235 - Corrected anon-class handling so that they
236 will not get reaped when instances still
237 exist which need to reference them. This is
238 the correct behavior, hopefully this is an
239 obscure enough feature that there are not too
240 many work arounds out in the wild.
241 - added tests for this by groditi
95514cb4 242 - updated docs to explain this
243
244 * metaclass
c0fcd6ab 245 - load custom metaclasses automatically (thanks groditi)
f2266181 246 - added tests for this behavior
a06797b0 247
3dc99d93 2480.37 Sat. March 10, 2007
448b6e55 249 ~~ Many, many documentation updates ~~
250
251 * Class::MOP
252 - added &load_class and &is_class_loaded
253 - added tests and docs for these
2367814a 254
9363ea89 255 * Class::MOP::Attribute
256 - default now checks the instance with defined to
257 avoid setting off bool-overloads (found by Carl Franks)
258
c23184fc 2590.37_002
260 * /t
261 - bad name in a test, causing meaningless failuress.
262 No other changes.
263
2640.37_001
265
266 ~~ GLOBAL CHANGES ~~
267 - All attribute names are now consistent and follow Perl 6
268 style (prefixed with the sigil, and ! as the twigil for
269 private attrs). This should not affect any code, unless
270 you broke encapsulation, in which case, it is your problem
271 anyway.
272
273 !! Class::MOP::Class::Immutable has been removed
274
275 * Class::MOP::Method::Constructor
276 - this has been moved out of Class::MOP::Class::Immutable
277 and is a proper subclass of Class::MOP::Method now.
278
279 * Class::MOP::Class
280 - this module now uses Class::MOP::Immutable for the
281 immutable transformation instead of
282 Class::MOP::Class::Immutable.
283
284 + Class::MOP::Immutable
285 - this module now controls the transformation from a mutable
286 to an immutable version of the class. Docs for this will
287 be coming eventually.
288
289
cdc1ecba 2900.36 Sun. Nov. 5, 2006
a651e249 291 * Class::MOP::Class
292 - added a few 'no warnings' lines to keep annoying
293 (and meaningless) warnings from chirping during
294 global destruction.
0870928c 295
296 * Class::MOP
297 - some more bootstrapping is now done on the new
298 classes
299
300 * Class::MOP::Class::Immutable
301 *** API CHANGE ***
302 - constructor generation is now handled by
303 the Class::MOP::Method::Constructor class
304
305 * Class::MOP::Method::Constructor
306 - created this to handle constructor generation
307 in Class::MOP::Class::Immutable
308
309 * Class::MOP::Attribute
310 *** API CHANGE ***
311 - attributes now delegate to the
312 Class::MOP::Method::Accessor to generate
313 accessors
314
315 * Class::MOP::Method::Accessor
316 - all accessor generation functions from
317 Class::MOP::Attribute have been moved here
a651e249 318
80f00c79 3190.35 Sat. Sept. 30, 2006
8745cf22 320
321 * scripts/class_browser.pl
322 - initial prototype of a class browser, more
323 on this to come. Comments and patches are
324 very much welcome.
b1897d4d 325
326 * Class::MOP
3e86c902 327 - All Class::MOP::* accessors are no longer
328 re-generated in the bootstrap, instead
6d2118a4 329 they are aliased from the originals
6d2118a4 330 - fixed tests to reflect
b1897d4d 331 - added Class::MOP::Method (and its subclasses)
332 to the bootstrap
333 - adjusted tests for this
86482605 334 - added the Class::MOP::Instance attributes
335 to the bootstrap
b1897d4d 336
337 * Class::MOP::Method
338 *** API CHANGE ***
339 - methods are no longer blessed CODE refs
340 but are actual objects which can be CODE-ified
341 - adjusted tests to compensate
86482605 342 - adjusted docs for this
b1897d4d 343
344 * Class::MOP::Class
345 - changed how methods are dealt with to
346 encapsulate most of the work into the
347 &get_method_map method
348 - made several adjustments for the change
349 in Class::MOP::Method
350 - &add_attribute now checks if you are adding
351 a duplicate name, and properly removes the
352 old one before installing the new one
353 - added tests for this
86482605 354 - adjusted docs for this
b1897d4d 355
356 * Class::MOP::Class::Immutable
357 - added caching of &get_method_map
358 - fixed issue with &get_package_symbol
359 - cleaned up the methods that die (patch by David Wheeler)
360
361 * Class::MOP::Package
362 - added filtering capabilities to
363 &list_all_package_symbols
364
a549ce50 3650.34 Sat. Aug. 26, 2006
c4260b45 366 * Class::MOP::Class
367 - added the %:methods attribute, which like
368 the $:version and such just actually goes
369 to the symbol table to get it's stuff.
370 However, it makes the MOP more complete.
88dd563c 371 ** API CHANGE **
372 - The &create method now requires that all
373 but the package name now is passed in as
374 named parameters. See docs for more info.
375 - updated docs and tests for this
c4260b45 376
377 * Class::MOP::Object
378 - added &dump method to easily Data::Dumper
379 an object
380
381 * Class::MOP
382 - cleaned up the initialization of attributes
383 which do not store things in the instance
384 - added the %:methods attribute definition to
385 the bootstrap
88dd563c 386
387 ~ lots of misc. test cleanup
c4260b45 388
56e8dd5d 3890.33 Sat. Aug. 19, 2006
be7677c7 390 * Class::MOP::Class
391 - moved the metaclass cache out of here
392 and it is now in Class::MOP itself.
56e8dd5d 393
394 * Class::MOP
395 - moved all the metaclass cache stuff here
396 - fixed all tests for this
be7677c7 397
148b4697 398 * Class::MOP::Attribute
399 - reference values (other than CODE refs)
400 are no longer allowed for defaults
401 - added tests for this
56dcfc1a 402
403 * Class::MOP::Package
404 - fixed an issue with perl 5.8.1 and how it deals
e3a2c885 405 with symbol tables. The namespace hash is now
406 always reloaded from the symbol table.
407
408 ~ lots of misc. documentation cleanup
1396f86b 409
716c5765 4100.32 Sat. Aug. 12, 2006
6e57504d 411 + added Class::MOP::Object so that the
412 metamodel is more complete (and closer
413 to what Perl 6 will probably be).
414
9ca19585 415 * Class::MOP::Package
416 - refactored entire class, this is now
417 the primary gateway between the metaclass
418 and the Perl 5 symbol table
419 - added many tests for this
6e57504d 420 - this class is now a subclass of
421 Class::MOP::Object
716c5765 422 - added some tests to reflect this
9ca19585 423
424 * Class::MOP::Class
425 - refactored all symbol table access to
426 use Class::MOP::Package methods instead
f0480c45 427
428 * Class::MOP::Module
429 - adding the $:version attribute in the bootstrap
430 so that Module has a version as an attribute
431 - see comment in Class::MOP for details
432 - added the $:authority attribute to this module
433 as well as an &identifier method, to bring us
434 ever closer to Perl 6 goodness
716c5765 435 - I have added $AUTHORITY to all the modules
436 - added tests for this
9ca19585 437
f0480c45 438 * Class::MOP::Instance
439 - added &deinitialize_slot for removing slots
440 from an instance
441 - added tests for this
9ca19585 442
443 * Class::MOP::Attribute
444 - added support for &deinitialize_slot for removing
445 slots from an instance
446 - added tests for this
447
1a09d9cc 4480.31 Sat. July 15, 2006
449
b679e644 450 * Class::MOP::Class
451 - added &find_method_by_name to locate a method
452 anywhere within the class hierarchy
453
454 * Class::MOP::Attribute
455 - added &set_value and &get_value for getting
456 the value of the attribute for a particular
457 instance.
458
373a16ae 4590.30 Wed. July 5, 2006
460 ---------------------------------------
461 This is the first version of Class::MOP
462 to introduce the immutable features which
463 will be used for optimizating the MOP.
464 This support should still be considered
465 experimental, but moving towards stability.
466 ---------------------------------------
e0a82090 467
373a16ae 468 * Created Class::MOP::Class::Immutable
be960ba1 469
373a16ae 470 * Created the Class::MOP::Package and
471 Class::MOP::Module classes to more
472 closely conform to Perl 6's meta-model
e0a82090 473
474 * Class::MOP::Class
475 - now inherits from Class::MOP::Module
476 - several methods moved to ::Module and
477 ::Package and now inherited
478 - added tests for this
c0cbf4d9 479
480 * Class::MOP::Instance
481 - added an is_inlinable method to allow other
482 classes to check before they attempt to optimize.
be960ba1 483 - added an inline_create_instance to inline
484 instance creation (of course)
485
2ba153a9 486 ** API CHANGE **
487 - the Class::MOP::Class::*_package_variable
488 methods are all now methods of Class::MOP::Package
489 and called *_package_symbol instead. This is
490 because they are now more general purpose symbol
491 table manipulation methods.
e0a82090 492
cdfaa4cc 4930.29_02 Thurs. June 22, 2006
494 ++ DEVELOPER RELEASE ++
df7b4119 495 * Class::MOP::Class
496 - small change in &create so that it behaves
497 properly when inherited
cdfaa4cc 498 - small fix to &clone_instance
df7b4119 499
667cecf3 5000.29_01 Fri. May 12, 2006
501 ++ DEVELOPER RELEASE ++
502 - This release works in combination with
503 Moose 0.09_01, it is a developer release
504 because it introduces a new instance
505 sub-protocol and has not yet been
506 optimized.
507
40483095 508 * Class::MOP::Class
509 - anon-classes are now properly garbage collected
510 - added tests for this
195f5bf8 511 - improved method modifier wrapping
40483095 512
2bab2be6 513 * Class::MOP::Instance
1becdfcc 514 - added new instance protocol
2bab2be6 515 - added tests for this
516 - changed all relevant modules and examples
517 - Class::MOP::Class
518 - Class::MOP::Attribute
519 - examples/*
520
1becdfcc 521 * metaclass
522 - you no longer need to specify the metaclass
523 itself, if it is not there, Class::MOP::Class
524 is just assumed
525 - updated tests for this
526
527 * examples/
528 - added ArrayBasedStorage example to show
529 instance storage using ARRAY refs instead of
530 HASH refs.
531 - added tests for this
532 - InsideOutClass is totally revised using the
533 new instance protocol
534 - added more tests for this
535
93b4e576 5360.26 Mon. April 24, 2006
e7f732e4 537 * Class::MOP::Class
538 - added find_attribute_by_name method
539 - added tests and docs for this
56a0b530 540 - some small optimizations
541
542 * Class::MOP::Attribute
543 - some small optimizations
e7f732e4 544
46666f33 5450.25 Thurs. April 20, 2006
587aca23 546 * Class::MOP::Class
547 - added create_anon_class for creating anonymous classes
548 - added tests for this
549 - added get_all_metaclasses, get_all_metaclass_names
550 and get_all_metaclass_instances method to allow
551 access to all the cached metaclass objects.
bd4e03f9 552 - attribute slot initialization is now the responsibility
553 of the attribute itself, and construct_instance now
554 delegates appropriately
555
556 * Class::MOP::Attribute
557 - attribute slot initialization is now the responsibility
558 of the attribute itself, so we added a method for it
559 called initialize_instance_slot
fed4cee7 560
561 * examples/
562 - adjusted all the examples to use the new attribute
563 initialize_instance_slot method
587aca23 564
1daaa2b2 5650.24 Tues. April 11, 2006
8c936afc 566 * Class::MOP::Class
567 - cleaned up how the before/after/around method
568 modifiers get named with Sub::Name
569
b9dfbf78 5700.23 Thurs. March 30, 2006
a977cf65 571 * Class::MOP::Class
572 - fixed the way attribute defaults are handled
573 during instance construction (bug found by chansen)
b9dfbf78 574
575 * Class::MOP::Attribute
576 - read-only accessors ('reader') will now die if
577 passed more than one argument (attempting to write
578 to them basically)
579 - added tests for this
580 - adjusted all /example files to comply
a977cf65 581
f9eba090 5820.22 Mon. March 20, 2006
0eff2c16 583 * Class::MOP::Class
584 - localized $@ in the *_package_variable functions
585 because otherwise, it does ugly things in Moose.
586 - added test case for this
587
1988e85e 5880.21 Wed. March 15, 2006
2f6d5412 589 * Class::MOP::Class
590 - fixed issue where metaclasses are reaped from
591 our cache in global destruction, and so are not
592 available in DESTORY calls
593
96ceced8 5940.20 Thurs. March 2, 2006
d3cb0d4a 595 - removed the dependency for Clone since
596 we no longer to deep-cloning by default.
a4258ffd 597
598 * Class::MOP::Method
96ceced8 599 - added &package_name, &name and
600 &fully_qualified_name methods, some of
a4258ffd 601 which were formerly private subs in
602 Class::MOP::Class
603
604 * Class::MOP::Method::Wrapped
605 - allows for a method to be wrapped with
606 before, after and around modifiers
607 - added tests and docs for this feature
d3cb0d4a 608
609 * Class::MOP::Class
58d75218 610 - improved &get_package_symbol
96ceced8 611 - &version and &superclasses now use it
a4258ffd 612 - methods are now blessed into Class::MOP::Method
613 whenever possible
a4258ffd 614 - added methods to install CLOS-style method modifiers
615 - &add_before_method_modifier
616 - &add_after_method_modifier
617 - &add_around_method_modifier
618 - added tests and docs for these
96ceced8 619 - added &find_next_method_by_name which finds the
620 equivalent of SUPER::method_name
d3cb0d4a 621
1c020571 6220.12 Thurs. Feb 23, 2006
d89c0fad 623 - reduced the dependency on B, no need to always
624 have the latest
625
1c020571 626 * examples/
627 - added docs to the C3 method dispatch order test
628 - fixed missing Algorithm::C3 dependency by making
629 the test skip if it is not installed
630
0dea7280 6310.11 Mon Feb. 20, 2006
f3f5bd34 632 * examples/
633 - added example of changing method dispatch order to C3
a27ae83f 634
635 * Class::MOP::Class
19d4b5b8 636 - changed how clone_instance behaves, it now only does a
637 shallow clone (see docs for more details)
a27ae83f 638 - added docs and tests
f3f5bd34 639
3bf7644b 6400.10 Tues Feb. 14, 2006
641 ** This release was mostly about writing more tests and
642 cleaning out old and dusty code, the MOP should now
643 be considered "ready to use".
644
22286063 645 - adding more tests to get coverage up a little higher,
646 mostly testing errors and edge cases.
647 - test coverage is now at 99%
aa448b16 648
649 * Class::MOP
650 - no longer optionally exports to UNIVERSAL::meta or
651 creates a custom metaclass generator, use the
652 metaclass pragma instead.
22286063 653
654 * Class::MOP::Class
655 - fixed a number of minor issues which came up in the
656 error/edge-case tests
657
658 * Class::MOP::Attribute
659 - fixed a number of minor issues which came up in the
660 error/edge-case tests
661
0b8eb325 662 * examples/
ea263060 663 - fixing the AttributesWithHistory example, it was broken.
663f8198 664
550d56db 6650.06 Thurs Feb. 9, 2006
677eb158 666 * metaclass
550d56db 667 - adding new metaclass pragma to make setting up the
677eb158 668 metaclass a little more straightforward
7b31baf4 669
670 * Class::MOP
671 - clean up bootstrapping to include more complete
672 attribute definitions for Class::MOP::Class and
673 Class::MOP::Attribute (accessors, readers, writers,
674 etc.) ... it is redundant, but is useful meta-info
675 to have around.
677eb158 676
99e5b7e8 677 * Class::MOP::Class
678 - fixing minor meta-circularity issue with &meta, it
679 is now more useful for subclasses
7b31baf4 680 - added &get_attribute_map as an accessor for the
681 hash of attribute meta objects
c9e77dbb 682 - &compute_all_applicable_attributes now just returns
683 the attribute meta-object, rather than the HASH ref
684 since all the same info can be gotten from the
685 attribute meta-object itself
686 - updated docs & tests to reflect
5f3c057a 687 - added &clone_instance method which does a deep clone
688 of the instance structure created by &construct_instance
689 - added docs & tests for this
550d56db 690 - added Clone as a dependency
5f3c057a 691 - added &new_object and &clone_object convience methods to
692 return blessed new or cloned instances
2a7575a6 693 - they handle Class::MOP::Class singletons correctly too
5f3c057a 694 - added docs & tests for this
2a7575a6 695 - cleaned up the &constuct_class_instance so that it behaves
696 more like &construct_instance (and managed the singletons too)
550d56db 697 - added the &check_metaclass_compatibility method to make sure
698 that metaclasses are upward and downward compatible.
699 - added tests and docs for this
5f3c057a 700
99e5b7e8 701 * examples/
702 - adjusting code to use the &Class::MOP::Class::meta
703 fix detailed above
677eb158 704 - adjusting code to use the metaclass pragma
99e5b7e8 705
aa9c883e 7060.05 Sat Feb. 4, 2006
2e41896e 707 * Class::MOP::Class
708 - added the &attribute_metaclass and &method_metaclass
351bd7d4 709 attributes which contain a metaclass name to use for
2e41896e 710 attributes/methods respectively
351bd7d4 711
712 * Class::MOP
713 - bootstrap additional attributes for Class::MOP::Class
2e41896e 714
715 * examples/
716 - adjusted the example code and tests to use the new
717 &attribute_metaclass feature of Class::MOP::Class
aa9c883e 718 - added new example:
719 - LazyClass
2e41896e 720
d7c2cbe3 7210.04 Fri Feb. 3, 2006
d6fbcd05 722 * Class::MOP::Class
723 - some documentation suggestions from #perl6
724
725 * Class::MOP::Attribute
726 - improved error messages
727
728 * examples/
729 - added new examples:
730 - AttributesWithHistory
d7c2cbe3 731 - ClassEncapsultedAttributes
343203ee 732
9ec169fe 7330.03 Fri Feb. 3, 2006
734 - converted to Module::Build instead of EU::MM
735
736 * Class::MOP::Attribute
737 - refactored method generation code
738 - attributes are now associated with class directly
739
f71f4295 740 * examples/
9ec169fe 741 - refactored the InsideOut example to take advantage
742 of the Class::MOP::Attribute refactoring
f71f4295 743 - changed example files to .pod files and hide thier
744 package names from PAUSE (I don't want to own these
745 namespaces really, they are just examples)
9ec169fe 746
a57c7fa2 7470.02 Thurs Feb. 2, 2006
748 - moving examples from t/lib/* to examples/*
749 - adding POD documentation to the examples
750
a2e85e6c 7510.01 Thurs Feb. 2, 2006
92af7fdf 752 - Initial release