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