1 Revision history for Perl extension Class-MOP.
4 * Class::MOP::Method::Wrapped
5 - Added introspection methods for method modifiers (Dave Rolsky)
8 0.68 Fri October 24, 2008
10 - Make load_class require by file name instead of module name.
11 This stops confusing error messages when loading '__PACKAGE__'.
13 - Add load_one_class_of function to enable you to load one of a
14 list of classes, rather than having to call load_class multiple
15 times in an eval. (t0m)
17 0.67 Tue October 14, 2008
19 - Call a method on the class after setting the superclass list
20 so that we can get Perl to detect cycles before MRO::Compat
21 spirals into an infinite loop (sartak)
22 - Reported by Schwern, [rt.cpan.org #39001]
23 - In create(), pass unused options on to initialize()
26 0.66 Sat September 20, 2008
27 !! This release has an incompatible change regarding !!
28 introspection of a class's method with Class::MOP::Class !!
31 - We (us maintainers) now run all tests with XS and then without
32 XS, which should help us catch skew between the XS/pure Perl
36 ! The alias_method method has been deprecated. It now simply
37 calls add_method instead. There is no distinction between
38 aliased methods and "real" methods.
40 This means that methods added via alias_method now show up as
41 part of the class's method list/map. This is a backwards
42 incompatible change, but seems unlikely to break any
43 code. Famous last words. (Dave Rolsky)
46 - Fixed the spelling of "compatibility", but we still have a
47 "check_metaclass_compatability" method for backwards
50 0.65 Mon September 1, 2008
51 For those not following the series of dev releases, the changes
52 from 0.64 from 0.65 can mostly be summed up as a lot performance
53 improvements by nothingmuch, including new optional XS versions of
54 some methods. Also, Class::MOP now works _without_ any XS modules,
55 for sad systems without a compiler.
58 - Added name and package_name XS accessors, and make sure all
59 the XS and Perl versions work the same way. (Dave Rolsky)
62 - The XS versions of various methods just returned undef when
63 called class methods, rather than dying like the pure Perl
64 versions. (Dave Rolsky)
66 0.64_07 Fri August 29, 2008
68 - Silenced warnings that managed to break Moose tests when XS
69 was loaded. (Dave Rolsky)
70 - Some XS versions of methods were ignored because of typos in
73 0.64_06 Mon August 25, 2008
75 - Another MS VC++ fix, cannot declare a variable in the middle
76 of a scope (Taro Nishino).
78 0.64_05 Sun August 24, 2008
80 - None of the dev releases actually loaded the XS properly, but
81 we silently fell back to the pure Perl version of the
85 - Replaced some code that used functions not available on Visual
86 C++ with some Perl XS API bits (Dave Rolsky).
88 0.64_04 Sat August 23, 2008
90 - Workaround a bug in 5.8.1's goto sub (nothingmuch)
92 * pod.t and pod_coveraget.t
93 - These are no longer shipped with the tarball because of bogus
94 failures from CPAN testers. (Dave Rolsky)
96 0.64_03 Thu August 21, 2008
98 - Some (legit) code was misparsed by earlier 5.8.x
99 releases. (nothingmuch)
102 - Fix a constant in void context warning (nothingmuch)
104 0.64_02 Thu August 21, 2008
105 * Makefile.PL and Class::MOP
106 - Explicitly require Perl 5.8.0+ (Dave Rolsky)
109 - Add missing prereqs that got lost in the switch away from
112 * Class::MOP::Instance
113 - New method - get_all_attributes (nothingmuch)
115 0.64_01 Wed August 20, 2008
117 - We now check to see if you have a compiler. If you don't, the
118 module installs without some XS bits, but will work the same
119 as with XS. This should make it easier to install on platforms
120 without a compiler (like Windows). (Dave Rolsky)
123 - Perl 6 style attribute naming replaced with sane style ('methods', not
124 '%!methods'). These changes should not impact any existing API uses.
128 - Quite a number of optimizations based on profiling, including
129 allowing constructors to take hash references instead of
130 hashes, duplicating some frequently used code in XS, and
131 making constructors immutable. These changes should not impact
132 any existing API uses. (nothingmuch)
135 - Constructors now respect the meta attributes of their subclasses,
136 facilitating MOP extensibility. More related changes will happen in the
137 next several releases. (nothingmuch)
140 - New method - get_all_methods, replaces the deprecated
141 compute_all_applicable_methods. get_all_attributes provided for
142 consistency (nothingmuch)
143 - New method - wrap_method was refactored out of get_method_map
145 - New API for meta instance invalidation - invalidate_meta_instance,
146 invalidate_meta_instances, add_dependent_meta_instance,
147 remove_dependent_meta_instance, called automatically when attribute
148 definitions change and allows notification of dependent subclasses.
151 0.64 Sun August 3, 2008
152 * Class::MOP::Immutable
153 - fixing subtle edge case in immutable when you
155 - clean up option processing (nothingmuch)
157 * Class::MOP::Instance
158 - inlined initialize slot didn't match
159 non-inlined (nothingmuch)
161 0.63 Mon July 7, 2008
163 - load_class will initialize a metaclass even if
164 the class is already loaded (sartak)
165 - load_class now returns the metaclass instance
166 instead of just 1 (sartak)
169 - better error messages (sartak and Dave Rolsky)
171 0.62 Wed June 18, 2008
172 - in is_class_loaded, recognize scalar references (as opposed to globs) in
173 the symbol table as methods (these are optimized constant subs)
175 0.61 Fri. June 13, 2008
176 - Okay, lets give this another try and see if PAUSE
177 recognizes it correct this time.
179 0.60 Thurs. Jun 12, 2008
180 - Fixed a version number issue by bumping all modules
183 0.59 Thurs. Jun 12, 2008
184 !! Several fixes resulting in yet another 25-30% speedup !!
187 - now stores the instance of the instance
188 metaclass to avoid needless recomputation
189 and deletes it when the cache is blown
190 - introduce methods to query Class::MOP::Class for
191 the options used to make it immutable as well as
192 the proper immutable transformer. (groditi)
194 * Class::MOP::Package
195 - {add, has, get, remove}_package_symbol all
196 now accept a HASH ref argument as well as the
197 string. All internal usages now use the HASH
201 - MOP.xs does sanity checks on the coderef
203 - is_class_loaded check now uses code that
204 was improved in Moose's ClassName type
206 - nonsensical (undef, empty, reference) class
207 names now throw a more direct error in
209 - tests for this and other aspects of
215 Class::MOP::Method::Wrapped
216 Class::MOP::Attribute
217 - switched usage of reftype to ref because
220 0.58 Thurs. May 29, 2008
221 (late night release engineering)--
223 - fixing the version is META.yml, no functional
224 changes in this release
226 0.57 Wed. May 28, 2008
227 !! Several speedups resulting in 20-25% speedups !!
228 || (thanks to konobi, groditi, mst & CataMoose) !!
231 - made get_method_map use list_all_package_symbols
232 instead of manually grabbing each symbol
233 - streamlining &initialize somewhat, since it gets
236 * Class::MOP::Package
237 - made {get, has}_package_symbol not call
239 - inlining a few calls to &name with
240 direct HASH access key access
241 - added get_all_package_symbols to fetch
242 a HASH of items based on a type filter
243 similar to list_all_package_symbols
244 - added tests for this
247 Class::MOP::Method::Constructor
248 Class::MOP::Method::Generated
249 Class::MOP::Method::Accessor
250 - added more descriptive error message to help
251 keep people from wasting time tracking an error
252 that is easily fixed by upgrading.
254 * Class::MOP::Immutable
255 - Don't inline a destructor unless the user actually
257 - added tests for this
259 0.56 Saturday, May 24, 2008
261 - we now get the &check_package_cache_flag
262 function from MRO::Compat
263 - All XS based functionality now has a
264 Pure Perl alternative
265 - the CLASS_MOP_NO_XS environment variable
266 can now be used to force non-XS versions
269 * Class::MOP::Attribute
270 - add has_read_method and has_write_method
271 - get_{read,write}_method_ref now wraps the
272 anon-sub ref in the method metaclass when
274 - added tests for this
276 * Class::MOP::Immutable
277 - added the ability to "wrap" methods when
278 making the class immutable
281 - now handling the edge case of ->meta->identifier
282 dying by wrapping add_package_symbol to specifically
283 allow for it to work.
284 - added tests for this
286 * Class::MOP::Attribute
288 Class::MOP::Immutable
289 - any time a method meta object is constructed
290 we make sure to pass the correct package and
291 method name information
294 Class::MOP::Method::Wrapped
295 Class::MOP::Method::Generated
296 Class::MOP::Method::Accessor
297 Class::MOP::Method::Consructor
298 - the &wrap constructor method now requires that a
299 'package_name' and 'name' attribute are passed. This
300 is to help support the no-XS version, and will
301 throw an error if these are not supplied.
302 - all these classes are now bootstrapped properly
303 and now store the package_name and name attributes
306 ~ Build.PL has been removed since the
307 Module::Install support has been removed
309 0.55 Mon. April 28, 2008
310 - All classes now have proper C3 MRO support
311 - added MRO::Compat as a dependency to allow
312 for the C3 MRO support to Just Work in all
316 - rebless_instance now returns the instance
317 it has just blessed, this is mostly to
319 - set the attr correctly in rebless_instance
320 when it has no init_arg
321 - tweaked &linear_isa and &class_precedence_list
322 to support c3 classes.
324 0.54 Fri. March, 14, 2008
327 - making sure that load_class never gets
328 passed a value from @_ or $_ to squash
329 Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
332 - make_{immutable,mutable} now return 1
334 - improved error handling in ->create method
335 - rebless_instance now takes extra params which
336 will be used to populate values
337 - added tests for this
340 - localizing the Data::Dumper configurations so
341 that it does not pollute others (RT #33509)
347 Class::MOP::Attribute
348 - these classes no longer define their own ->meta,
349 but instead just inherit from Class::MOP::Object
351 * Class::MOP::Instance
352 Class::MOP::Immutable
353 - these classes now inherit from Class::MOP::Object
356 - fixed the filename length on several
357 test files so we install on VMS better
359 - fixed incorrect use of catdir when it
360 should be catfile (RT #32385)
362 0.53 Thurs. Feb. 14, 1008
363 ~~ several doc. fixes and updates ~~
366 Class::MOP::Method::Constructor
367 Class::MOP::Attribute
368 - making init_arg accept an undefined value
369 to indicate that no constructor args can
370 be passed (thanks to nothingmuch)
371 - added tests for this
372 - added attribute initializer attribute (rjbs)
375 - making this use the new init_arg => undef
376 feature instead of the silly hack from
377 before (thanks to nothingmuch)
379 0.52 Tues. Jan. 22, 2008
381 - fixed bug in rebless_instance
384 * Class::MOP::Method::Constructor
385 - removed assumptions about the existence of
388 0.51 Mon. Jan. 14, 2008
389 ~~~ some misc. doc. fixes ~~~
390 ~~ updated copyright dates ~~
393 - now sets the IS_RUNNING_ON_5_10
394 constant so that we can take advantage
395 of some of the nice bits of 5.10
398 - uses the IS_RUNNING_ON_5_10 flag to
399 optimize the &linearized_isa method
400 and avoid the hack/check for circular
401 inheritence in &class_precedence_list
402 - added rebless_instance method (Sartak)
403 - added tests for this
405 * Class::MOP::Immutable
406 - the immutable class now keeps track of
407 the transformer which immutablized it
409 * Class::MOP::Instance
410 - added rebless_instance_structure method (Sartak)
411 - added tests for this
413 0.50 Fri. Dec. 21, 2007
415 - fixed bug in immutable to make sure that
416 transformation arguments are saved
418 - added tests for this
420 * Class::MOP::Immutable
421 - fixed a bug (see above)
423 * Class::MOP::Attribute
426 0.49 Fri. Dec. 14, 2007
427 !! Class::MOP now loads 2 x faster !!
428 !! with XS speedups (thanks konobi) !!
431 - removed the dependency on B
432 - added two XS functions (thanks konobi)
433 - get_code_info($code) which replaces all
434 the B fiddling we were doing with
435 faster/leaner XS level fiddling
436 - check_package_cache_flag($pkg_name) which
437 returns the PL_sub_generation variable to
438 be used to help manage method caching.
441 In 5.10 or greater this will actually
442 use the mro::get_pkg_gen instead to give
443 even more accurate caching information.
444 blblack++ for that stuff :)
447 - added the &subclasses method (thanks rlb)
448 - added the update_package_cache_flag and
449 reset_package_cache_flag which help keep
450 track of when we need to re-fetch the
452 - Several small improvements to take advantage
453 of the new method map caching features
455 0.48 Mon. Nov. 26, 2007
456 * Class::MOP::Attribute
457 - fixed get_read/write_method to handle the
458 HASH ref case, which makes the
459 get_read/write_method_ref handle it too.
460 - added more tests for this
462 0.47 Sat. Nov. 24, 2007
463 * Class::MOP::Attribute
464 - fixed misspelling in get_write_method_ref
465 - added more tests for this
467 0.46 Fri. Nov. 23, 2007
469 - added the linearized_isa method instead of constantly
470 pruning duplicate classes (this will be even more
471 useful in the 5.10-compat version coming soon)
473 * Class::MOP::Attribute
474 - added the get_read_method_ref and get_write_method_ref
475 methods which allow you to retrieve a CODE ref which
476 can always be used to read or write an attribute.
478 0.45 Thurs. Nov. 13, 2007
479 * Class::MOP::Attribute
480 - Fix error message on confess (groditi)
482 0.44 Thurs. Nov. 13, 2007
483 - Apparently I didn't make dist correctly (groditi)
485 0.43 Thurs. Nov. 13, 2007
487 - Add support for the 'builder' attribute (groditi)
490 - optimise metaclass-already-exists check in
491 construct_class_instance (groditi)
492 - duplicate check into initialize to save a
493 call through (groditi)
495 * Class::MOP::Attribute
496 - Add support for the 'builder' attribute (groditi)
497 - Make predicates check for the existence of a value, not whether
498 it is defined (groditi)
500 * Class::MOP::Instance
501 - Make predicates check for the existence of a value, not whether
502 it is defined (groditi)
504 * Class::MOP::Method::Accessor
505 - made this a subclass of Class::MOP::Method::Generated
506 - removed the relevant attributes
508 * Class::MOP::Method::Constructor
509 - fixed the cached values we had to be more sane
510 - made this a subclass of Class::MOP::Method::Generated
511 - fixed generated constructor so it properly handles
513 - added tests for this
514 - added the option to allow for both inlined and
515 non-inlined constructors.
516 - Update inlined methods for builder and predicate changes (groditi)
518 * Class::MOP::Method::Generated
519 - added this class as an abstract base for the
520 Class::MOP::Method::{Constructor,Accessor} classes
521 - added tests for this
524 - Alter tests (005, 014 020, 021) for new builder addition (groditi)
525 - Tests for new predicate behavior (and corrections to old tests) (groditi)
528 - Update ArrayRef based class example to work with predicate changes
530 0.42 Mon. July 16, 2007
531 !!! Horray for mst, he fixed it !!!
533 * Class::MOP::Package
534 - alter symbol table handling to deal with 5.8.x and 5.9.x
537 - Get rid of the crappy workaround from 0.40/41
539 0.41 Sun. July 15, 2007
541 Arghh!!! My TODO test didn't work, so I handle
542 it manually now so that people can use this
543 with 5.9.5/bleadperl without issue.
545 0.40 Tues, July 3, 2007
547 ~ marked a test in 003_methods.t as TODO
548 for perl 5.9.5 (this test is irrelvant to
549 the module functioning on 5.9.5 for the most
552 0.39 Mon. June 18, 2007
553 * Class::MOP::Immutable
554 - added make_metaclass_mutable + docs (groditi)
555 - removed unused variable
556 - added create_immutable_transformer
557 necessary for sane overloading of immutable behavior
558 - tests for this (groditi)
561 - Immutability can now be undone,
562 added make_mutable + tests + docs (groditi)
563 - Massive changes to the way Immutable is done
564 for details see comments next to make_immutable
565 This fixes a bug where custom metaclasses broke
566 when made immutable. We are now keeping one immutable
567 metaclass instance per metaclass instead of just one
568 to prevent isa hierarchy corruption. Memory use will go
569 up, but I suspect it will be neglible.
570 - New tests added for this behavior. (groditi)
572 0.38 Thurs. May 31, 2007
573 ~~ More documentation updates ~~
575 * Class::MOP::Package
576 - we now deal with stub methods properly
577 - added tests for this
578 - fixed some tests failing on 5.9.5 (thanks blblack)
580 * Class::MOP::Attribute
581 - added get_read_method and get_write_method
582 thanks to groditi for this code, tests
584 - added tests and POD for this
587 - fixed RT issue #27329, clone object now
588 handles undef values correctly.
589 - added tests for this
590 - Corrected anon-class handling so that they
591 will not get reaped when instances still
592 exist which need to reference them. This is
593 the correct behavior, hopefully this is an
594 obscure enough feature that there are not too
595 many work arounds out in the wild.
596 - added tests for this by groditi
597 - updated docs to explain this
600 - load custom metaclasses automatically (thanks groditi)
601 - added tests for this behavior
603 0.37 Sat. March 10, 2007
604 ~~ Many, many documentation updates ~~
607 - added &load_class and &is_class_loaded
608 - added tests and docs for these
610 * Class::MOP::Attribute
611 - default now checks the instance with defined to
612 avoid setting off bool-overloads (found by Carl Franks)
616 - bad name in a test, causing meaningless failuress.
622 - All attribute names are now consistent and follow Perl 6
623 style (prefixed with the sigil, and ! as the twigil for
624 private attrs). This should not affect any code, unless
625 you broke encapsulation, in which case, it is your problem
628 !! Class::MOP::Class::Immutable has been removed
630 * Class::MOP::Method::Constructor
631 - this has been moved out of Class::MOP::Class::Immutable
632 and is a proper subclass of Class::MOP::Method now.
635 - this module now uses Class::MOP::Immutable for the
636 immutable transformation instead of
637 Class::MOP::Class::Immutable.
639 + Class::MOP::Immutable
640 - this module now controls the transformation from a mutable
641 to an immutable version of the class. Docs for this will
642 be coming eventually.
645 0.36 Sun. Nov. 5, 2006
647 - added a few 'no warnings' lines to keep annoying
648 (and meaningless) warnings from chirping during
652 - some more bootstrapping is now done on the new
655 * Class::MOP::Class::Immutable
657 - constructor generation is now handled by
658 the Class::MOP::Method::Constructor class
660 * Class::MOP::Method::Constructor
661 - created this to handle constructor generation
662 in Class::MOP::Class::Immutable
664 * Class::MOP::Attribute
666 - attributes now delegate to the
667 Class::MOP::Method::Accessor to generate
670 * Class::MOP::Method::Accessor
671 - all accessor generation functions from
672 Class::MOP::Attribute have been moved here
674 0.35 Sat. Sept. 30, 2006
676 * scripts/class_browser.pl
677 - initial prototype of a class browser, more
678 on this to come. Comments and patches are
682 - All Class::MOP::* accessors are no longer
683 re-generated in the bootstrap, instead
684 they are aliased from the originals
685 - fixed tests to reflect
686 - added Class::MOP::Method (and its subclasses)
688 - adjusted tests for this
689 - added the Class::MOP::Instance attributes
694 - methods are no longer blessed CODE refs
695 but are actual objects which can be CODE-ified
696 - adjusted tests to compensate
697 - adjusted docs for this
700 - changed how methods are dealt with to
701 encapsulate most of the work into the
702 &get_method_map method
703 - made several adjustments for the change
704 in Class::MOP::Method
705 - &add_attribute now checks if you are adding
706 a duplicate name, and properly removes the
707 old one before installing the new one
708 - added tests for this
709 - adjusted docs for this
711 * Class::MOP::Class::Immutable
712 - added caching of &get_method_map
713 - fixed issue with &get_package_symbol
714 - cleaned up the methods that die (patch by David Wheeler)
716 * Class::MOP::Package
717 - added filtering capabilities to
718 &list_all_package_symbols
720 0.34 Sat. Aug. 26, 2006
722 - added the %:methods attribute, which like
723 the $:version and such just actually goes
724 to the symbol table to get it's stuff.
725 However, it makes the MOP more complete.
727 - The &create method now requires that all
728 but the package name now is passed in as
729 named parameters. See docs for more info.
730 - updated docs and tests for this
733 - added &dump method to easily Data::Dumper
737 - cleaned up the initialization of attributes
738 which do not store things in the instance
739 - added the %:methods attribute definition to
742 ~ lots of misc. test cleanup
744 0.33 Sat. Aug. 19, 2006
746 - moved the metaclass cache out of here
747 and it is now in Class::MOP itself.
750 - moved all the metaclass cache stuff here
751 - fixed all tests for this
753 * Class::MOP::Attribute
754 - reference values (other than CODE refs)
755 are no longer allowed for defaults
756 - added tests for this
758 * Class::MOP::Package
759 - fixed an issue with perl 5.8.1 and how it deals
760 with symbol tables. The namespace hash is now
761 always reloaded from the symbol table.
763 ~ lots of misc. documentation cleanup
765 0.32 Sat. Aug. 12, 2006
766 + added Class::MOP::Object so that the
767 metamodel is more complete (and closer
768 to what Perl 6 will probably be).
770 * Class::MOP::Package
771 - refactored entire class, this is now
772 the primary gateway between the metaclass
773 and the Perl 5 symbol table
774 - added many tests for this
775 - this class is now a subclass of
777 - added some tests to reflect this
780 - refactored all symbol table access to
781 use Class::MOP::Package methods instead
784 - adding the $:version attribute in the bootstrap
785 so that Module has a version as an attribute
786 - see comment in Class::MOP for details
787 - added the $:authority attribute to this module
788 as well as an &identifier method, to bring us
789 ever closer to Perl 6 goodness
790 - I have added $AUTHORITY to all the modules
791 - added tests for this
793 * Class::MOP::Instance
794 - added &deinitialize_slot for removing slots
796 - added tests for this
798 * Class::MOP::Attribute
799 - added support for &deinitialize_slot for removing
800 slots from an instance
801 - added tests for this
803 0.31 Sat. July 15, 2006
806 - added &find_method_by_name to locate a method
807 anywhere within the class hierarchy
809 * Class::MOP::Attribute
810 - added &set_value and &get_value for getting
811 the value of the attribute for a particular
814 0.30 Wed. July 5, 2006
815 ---------------------------------------
816 This is the first version of Class::MOP
817 to introduce the immutable features which
818 will be used for optimizating the MOP.
819 This support should still be considered
820 experimental, but moving towards stability.
821 ---------------------------------------
823 * Created Class::MOP::Class::Immutable
825 * Created the Class::MOP::Package and
826 Class::MOP::Module classes to more
827 closely conform to Perl 6's meta-model
830 - now inherits from Class::MOP::Module
831 - several methods moved to ::Module and
832 ::Package and now inherited
833 - added tests for this
835 * Class::MOP::Instance
836 - added an is_inlinable method to allow other
837 classes to check before they attempt to optimize.
838 - added an inline_create_instance to inline
839 instance creation (of course)
842 - the Class::MOP::Class::*_package_variable
843 methods are all now methods of Class::MOP::Package
844 and called *_package_symbol instead. This is
845 because they are now more general purpose symbol
846 table manipulation methods.
848 0.29_02 Thurs. June 22, 2006
849 ++ DEVELOPER RELEASE ++
851 - small change in &create so that it behaves
852 properly when inherited
853 - small fix to &clone_instance
855 0.29_01 Fri. May 12, 2006
856 ++ DEVELOPER RELEASE ++
857 - This release works in combination with
858 Moose 0.09_01, it is a developer release
859 because it introduces a new instance
860 sub-protocol and has not yet been
864 - anon-classes are now properly garbage collected
865 - added tests for this
866 - improved method modifier wrapping
868 * Class::MOP::Instance
869 - added new instance protocol
870 - added tests for this
871 - changed all relevant modules and examples
873 - Class::MOP::Attribute
877 - you no longer need to specify the metaclass
878 itself, if it is not there, Class::MOP::Class
880 - updated tests for this
883 - added ArrayBasedStorage example to show
884 instance storage using ARRAY refs instead of
886 - added tests for this
887 - InsideOutClass is totally revised using the
888 new instance protocol
889 - added more tests for this
891 0.26 Mon. April 24, 2006
893 - added find_attribute_by_name method
894 - added tests and docs for this
895 - some small optimizations
897 * Class::MOP::Attribute
898 - some small optimizations
900 0.25 Thurs. April 20, 2006
902 - added create_anon_class for creating anonymous classes
903 - added tests for this
904 - added get_all_metaclasses, get_all_metaclass_names
905 and get_all_metaclass_instances method to allow
906 access to all the cached metaclass objects.
907 - attribute slot initialization is now the responsibility
908 of the attribute itself, and construct_instance now
909 delegates appropriately
911 * Class::MOP::Attribute
912 - attribute slot initialization is now the responsibility
913 of the attribute itself, so we added a method for it
914 called initialize_instance_slot
917 - adjusted all the examples to use the new attribute
918 initialize_instance_slot method
920 0.24 Tues. April 11, 2006
922 - cleaned up how the before/after/around method
923 modifiers get named with Sub::Name
925 0.23 Thurs. March 30, 2006
927 - fixed the way attribute defaults are handled
928 during instance construction (bug found by chansen)
930 * Class::MOP::Attribute
931 - read-only accessors ('reader') will now die if
932 passed more than one argument (attempting to write
934 - added tests for this
935 - adjusted all /example files to comply
937 0.22 Mon. March 20, 2006
939 - localized $@ in the *_package_variable functions
940 because otherwise, it does ugly things in Moose.
941 - added test case for this
943 0.21 Wed. March 15, 2006
945 - fixed issue where metaclasses are reaped from
946 our cache in global destruction, and so are not
947 available in DESTORY calls
949 0.20 Thurs. March 2, 2006
950 - removed the dependency for Clone since
951 we no longer to deep-cloning by default.
954 - added &package_name, &name and
955 &fully_qualified_name methods, some of
956 which were formerly private subs in
959 * Class::MOP::Method::Wrapped
960 - allows for a method to be wrapped with
961 before, after and around modifiers
962 - added tests and docs for this feature
965 - improved &get_package_symbol
966 - &version and &superclasses now use it
967 - methods are now blessed into Class::MOP::Method
969 - added methods to install CLOS-style method modifiers
970 - &add_before_method_modifier
971 - &add_after_method_modifier
972 - &add_around_method_modifier
973 - added tests and docs for these
974 - added &find_next_method_by_name which finds the
975 equivalent of SUPER::method_name
977 0.12 Thurs. Feb 23, 2006
978 - reduced the dependency on B, no need to always
982 - added docs to the C3 method dispatch order test
983 - fixed missing Algorithm::C3 dependency by making
984 the test skip if it is not installed
986 0.11 Mon Feb. 20, 2006
988 - added example of changing method dispatch order to C3
991 - changed how clone_instance behaves, it now only does a
992 shallow clone (see docs for more details)
993 - added docs and tests
995 0.10 Tues Feb. 14, 2006
996 ** This release was mostly about writing more tests and
997 cleaning out old and dusty code, the MOP should now
998 be considered "ready to use".
1000 - adding more tests to get coverage up a little higher,
1001 mostly testing errors and edge cases.
1002 - test coverage is now at 99%
1005 - no longer optionally exports to UNIVERSAL::meta or
1006 creates a custom metaclass generator, use the
1007 metaclass pragma instead.
1010 - fixed a number of minor issues which came up in the
1011 error/edge-case tests
1013 * Class::MOP::Attribute
1014 - fixed a number of minor issues which came up in the
1015 error/edge-case tests
1018 - fixing the AttributesWithHistory example, it was broken.
1020 0.06 Thurs Feb. 9, 2006
1022 - adding new metaclass pragma to make setting up the
1023 metaclass a little more straightforward
1026 - clean up bootstrapping to include more complete
1027 attribute definitions for Class::MOP::Class and
1028 Class::MOP::Attribute (accessors, readers, writers,
1029 etc.) ... it is redundant, but is useful meta-info
1033 - fixing minor meta-circularity issue with &meta, it
1034 is now more useful for subclasses
1035 - added &get_attribute_map as an accessor for the
1036 hash of attribute meta objects
1037 - &compute_all_applicable_attributes now just returns
1038 the attribute meta-object, rather than the HASH ref
1039 since all the same info can be gotten from the
1040 attribute meta-object itself
1041 - updated docs & tests to reflect
1042 - added &clone_instance method which does a deep clone
1043 of the instance structure created by &construct_instance
1044 - added docs & tests for this
1045 - added Clone as a dependency
1046 - added &new_object and &clone_object convience methods to
1047 return blessed new or cloned instances
1048 - they handle Class::MOP::Class singletons correctly too
1049 - added docs & tests for this
1050 - cleaned up the &constuct_class_instance so that it behaves
1051 more like &construct_instance (and managed the singletons too)
1052 - added the &check_metaclass_compatibility method to make sure
1053 that metaclasses are upward and downward compatible.
1054 - added tests and docs for this
1057 - adjusting code to use the &Class::MOP::Class::meta
1059 - adjusting code to use the metaclass pragma
1061 0.05 Sat Feb. 4, 2006
1063 - added the &attribute_metaclass and &method_metaclass
1064 attributes which contain a metaclass name to use for
1065 attributes/methods respectively
1068 - bootstrap additional attributes for Class::MOP::Class
1071 - adjusted the example code and tests to use the new
1072 &attribute_metaclass feature of Class::MOP::Class
1073 - added new example:
1076 0.04 Fri Feb. 3, 2006
1078 - some documentation suggestions from #perl6
1080 * Class::MOP::Attribute
1081 - improved error messages
1084 - added new examples:
1085 - AttributesWithHistory
1086 - ClassEncapsultedAttributes
1088 0.03 Fri Feb. 3, 2006
1089 - converted to Module::Build instead of EU::MM
1091 * Class::MOP::Attribute
1092 - refactored method generation code
1093 - attributes are now associated with class directly
1096 - refactored the InsideOut example to take advantage
1097 of the Class::MOP::Attribute refactoring
1098 - changed example files to .pod files and hide thier
1099 package names from PAUSE (I don't want to own these
1100 namespaces really, they are just examples)
1102 0.02 Thurs Feb. 2, 2006
1103 - moving examples from t/lib/* to examples/*
1104 - adding POD documentation to the examples
1106 0.01 Thurs Feb. 2, 2006