1 Revision history for Perl extension Class-MOP.
5 - Add an "execute" method to invoke the body so
6 we can avoid using the coderef overload (Sartak)
8 0.71 Wed November 26, 2008
11 - Actual package creation has moved upward from
12 Class to Module so that Moose roles can share
15 0.70_01 Mon, November 19, 2008
17 - Fixes for failures with blead (Florian Ragwitz)
18 - Silenced compiler warnings (Florian Ragwitz)
20 0.70 Fri, November 14, 2008
22 - Fixed an odd corner case where the XS version of
23 get_all_package_symbols could cause a segfault. This only
24 happened with inlined constants in Perl 5.10.0 (Florian
27 0.69 Fri, November 7, 2008
28 * Class::MOP::Method::Wrapped
29 - Added introspection methods for method modifiers (Dave Rolsky)
32 0.68 Fri October 24, 2008
34 - Make load_class require by file name instead of module name.
35 This stops confusing error messages when loading '__PACKAGE__'.
37 - Add load_one_class_of function to enable you to load one of a
38 list of classes, rather than having to call load_class multiple
39 times in an eval. (t0m)
41 0.67 Tue October 14, 2008
43 - Call a method on the class after setting the superclass list
44 so that we can get Perl to detect cycles before MRO::Compat
45 spirals into an infinite loop (sartak)
46 - Reported by Schwern, [rt.cpan.org #39001]
47 - In create(), pass unused options on to initialize()
50 0.66 Sat September 20, 2008
51 !! This release has an incompatible change regarding !!
52 introspection of a class's method with Class::MOP::Class !!
55 - We (us maintainers) now run all tests with XS and then without
56 XS, which should help us catch skew between the XS/pure Perl
60 ! The alias_method method has been deprecated. It now simply
61 calls add_method instead. There is no distinction between
62 aliased methods and "real" methods.
64 This means that methods added via alias_method now show up as
65 part of the class's method list/map. This is a backwards
66 incompatible change, but seems unlikely to break any
67 code. Famous last words. (Dave Rolsky)
70 - Fixed the spelling of "compatibility", but we still have a
71 "check_metaclass_compatability" method for backwards
74 0.65 Mon September 1, 2008
75 For those not following the series of dev releases, the changes
76 from 0.64 from 0.65 can mostly be summed up as a lot performance
77 improvements by nothingmuch, including new optional XS versions of
78 some methods. Also, Class::MOP now works _without_ any XS modules,
79 for sad systems without a compiler.
82 - Added name and package_name XS accessors, and make sure all
83 the XS and Perl versions work the same way. (Dave Rolsky)
86 - The XS versions of various methods just returned undef when
87 called class methods, rather than dying like the pure Perl
88 versions. (Dave Rolsky)
90 0.64_07 Fri August 29, 2008
92 - Silenced warnings that managed to break Moose tests when XS
93 was loaded. (Dave Rolsky)
94 - Some XS versions of methods were ignored because of typos in
97 0.64_06 Mon August 25, 2008
99 - Another MS VC++ fix, cannot declare a variable in the middle
100 of a scope (Taro Nishino).
102 0.64_05 Sun August 24, 2008
104 - None of the dev releases actually loaded the XS properly, but
105 we silently fell back to the pure Perl version of the
108 * Class::MOP (MOP.xs)
109 - Replaced some code that used functions not available on Visual
110 C++ with some Perl XS API bits (Dave Rolsky).
112 0.64_04 Sat August 23, 2008
114 - Workaround a bug in 5.8.1's goto sub (nothingmuch)
116 * pod.t and pod_coveraget.t
117 - These are no longer shipped with the tarball because of bogus
118 failures from CPAN testers. (Dave Rolsky)
120 0.64_03 Thu August 21, 2008
121 * Class::MOP::Package
122 - Some (legit) code was misparsed by earlier 5.8.x
123 releases. (nothingmuch)
126 - Fix a constant in void context warning (nothingmuch)
128 0.64_02 Thu August 21, 2008
129 * Makefile.PL and Class::MOP
130 - Explicitly require Perl 5.8.0+ (Dave Rolsky)
133 - Add missing prereqs that got lost in the switch away from
136 * Class::MOP::Instance
137 - New method - get_all_attributes (nothingmuch)
139 0.64_01 Wed August 20, 2008
141 - We now check to see if you have a compiler. If you don't, the
142 module installs without some XS bits, but will work the same
143 as with XS. This should make it easier to install on platforms
144 without a compiler (like Windows). (Dave Rolsky)
147 - Perl 6 style attribute naming replaced with sane style ('methods', not
148 '%!methods'). These changes should not impact any existing API uses.
152 - Quite a number of optimizations based on profiling, including
153 allowing constructors to take hash references instead of
154 hashes, duplicating some frequently used code in XS, and
155 making constructors immutable. These changes should not impact
156 any existing API uses. (nothingmuch)
159 - Constructors now respect the meta attributes of their subclasses,
160 facilitating MOP extensibility. More related changes will happen in the
161 next several releases. (nothingmuch)
164 - New method - get_all_methods, replaces the deprecated
165 compute_all_applicable_methods. get_all_attributes provided for
166 consistency (nothingmuch)
167 - New method - wrap_method was refactored out of get_method_map
169 - New API for meta instance invalidation - invalidate_meta_instance,
170 invalidate_meta_instances, add_dependent_meta_instance,
171 remove_dependent_meta_instance, called automatically when attribute
172 definitions change and allows notification of dependent subclasses.
175 0.64 Sun August 3, 2008
176 * Class::MOP::Immutable
177 - fixing subtle edge case in immutable when you
179 - clean up option processing (nothingmuch)
181 * Class::MOP::Instance
182 - inlined initialize slot didn't match
183 non-inlined (nothingmuch)
185 0.63 Mon July 7, 2008
187 - load_class will initialize a metaclass even if
188 the class is already loaded (sartak)
189 - load_class now returns the metaclass instance
190 instead of just 1 (sartak)
193 - better error messages (sartak and Dave Rolsky)
195 0.62 Wed June 18, 2008
196 - in is_class_loaded, recognize scalar references (as opposed to globs) in
197 the symbol table as methods (these are optimized constant subs)
199 0.61 Fri. June 13, 2008
200 - Okay, lets give this another try and see if PAUSE
201 recognizes it correct this time.
203 0.60 Thurs. Jun 12, 2008
204 - Fixed a version number issue by bumping all modules
207 0.59 Thurs. Jun 12, 2008
208 !! Several fixes resulting in yet another 25-30% speedup !!
211 - now stores the instance of the instance
212 metaclass to avoid needless recomputation
213 and deletes it when the cache is blown
214 - introduce methods to query Class::MOP::Class for
215 the options used to make it immutable as well as
216 the proper immutable transformer. (groditi)
218 * Class::MOP::Package
219 - {add, has, get, remove}_package_symbol all
220 now accept a HASH ref argument as well as the
221 string. All internal usages now use the HASH
225 - MOP.xs does sanity checks on the coderef
227 - is_class_loaded check now uses code that
228 was improved in Moose's ClassName type
230 - nonsensical (undef, empty, reference) class
231 names now throw a more direct error in
233 - tests for this and other aspects of
239 Class::MOP::Method::Wrapped
240 Class::MOP::Attribute
241 - switched usage of reftype to ref because
244 0.58 Thurs. May 29, 2008
245 (late night release engineering)--
247 - fixing the version is META.yml, no functional
248 changes in this release
250 0.57 Wed. May 28, 2008
251 !! Several speedups resulting in 20-25% speedups !!
252 || (thanks to konobi, groditi, mst & CataMoose) !!
255 - made get_method_map use list_all_package_symbols
256 instead of manually grabbing each symbol
257 - streamlining &initialize somewhat, since it gets
260 * Class::MOP::Package
261 - made {get, has}_package_symbol not call
263 - inlining a few calls to &name with
264 direct HASH access key access
265 - added get_all_package_symbols to fetch
266 a HASH of items based on a type filter
267 similar to list_all_package_symbols
268 - added tests for this
271 Class::MOP::Method::Constructor
272 Class::MOP::Method::Generated
273 Class::MOP::Method::Accessor
274 - added more descriptive error message to help
275 keep people from wasting time tracking an error
276 that is easily fixed by upgrading.
278 * Class::MOP::Immutable
279 - Don't inline a destructor unless the user actually
281 - added tests for this
283 0.56 Saturday, May 24, 2008
285 - we now get the &check_package_cache_flag
286 function from MRO::Compat
287 - All XS based functionality now has a
288 Pure Perl alternative
289 - the CLASS_MOP_NO_XS environment variable
290 can now be used to force non-XS versions
293 * Class::MOP::Attribute
294 - add has_read_method and has_write_method
295 - get_{read,write}_method_ref now wraps the
296 anon-sub ref in the method metaclass when
298 - added tests for this
300 * Class::MOP::Immutable
301 - added the ability to "wrap" methods when
302 making the class immutable
305 - now handling the edge case of ->meta->identifier
306 dying by wrapping add_package_symbol to specifically
307 allow for it to work.
308 - added tests for this
310 * Class::MOP::Attribute
312 Class::MOP::Immutable
313 - any time a method meta object is constructed
314 we make sure to pass the correct package and
315 method name information
318 Class::MOP::Method::Wrapped
319 Class::MOP::Method::Generated
320 Class::MOP::Method::Accessor
321 Class::MOP::Method::Consructor
322 - the &wrap constructor method now requires that a
323 'package_name' and 'name' attribute are passed. This
324 is to help support the no-XS version, and will
325 throw an error if these are not supplied.
326 - all these classes are now bootstrapped properly
327 and now store the package_name and name attributes
330 ~ Build.PL has been removed since the
331 Module::Install support has been removed
333 0.55 Mon. April 28, 2008
334 - All classes now have proper C3 MRO support
335 - added MRO::Compat as a dependency to allow
336 for the C3 MRO support to Just Work in all
340 - rebless_instance now returns the instance
341 it has just blessed, this is mostly to
343 - set the attr correctly in rebless_instance
344 when it has no init_arg
345 - tweaked &linear_isa and &class_precedence_list
346 to support c3 classes.
348 0.54 Fri. March, 14, 2008
351 - making sure that load_class never gets
352 passed a value from @_ or $_ to squash
353 Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
356 - make_{immutable,mutable} now return 1
358 - improved error handling in ->create method
359 - rebless_instance now takes extra params which
360 will be used to populate values
361 - added tests for this
364 - localizing the Data::Dumper configurations so
365 that it does not pollute others (RT #33509)
371 Class::MOP::Attribute
372 - these classes no longer define their own ->meta,
373 but instead just inherit from Class::MOP::Object
375 * Class::MOP::Instance
376 Class::MOP::Immutable
377 - these classes now inherit from Class::MOP::Object
380 - fixed the filename length on several
381 test files so we install on VMS better
383 - fixed incorrect use of catdir when it
384 should be catfile (RT #32385)
386 0.53 Thurs. Feb. 14, 1008
387 ~~ several doc. fixes and updates ~~
390 Class::MOP::Method::Constructor
391 Class::MOP::Attribute
392 - making init_arg accept an undefined value
393 to indicate that no constructor args can
394 be passed (thanks to nothingmuch)
395 - added tests for this
396 - added attribute initializer attribute (rjbs)
399 - making this use the new init_arg => undef
400 feature instead of the silly hack from
401 before (thanks to nothingmuch)
403 0.52 Tues. Jan. 22, 2008
405 - fixed bug in rebless_instance
408 * Class::MOP::Method::Constructor
409 - removed assumptions about the existence of
412 0.51 Mon. Jan. 14, 2008
413 ~~~ some misc. doc. fixes ~~~
414 ~~ updated copyright dates ~~
417 - now sets the IS_RUNNING_ON_5_10
418 constant so that we can take advantage
419 of some of the nice bits of 5.10
422 - uses the IS_RUNNING_ON_5_10 flag to
423 optimize the &linearized_isa method
424 and avoid the hack/check for circular
425 inheritence in &class_precedence_list
426 - added rebless_instance method (Sartak)
427 - added tests for this
429 * Class::MOP::Immutable
430 - the immutable class now keeps track of
431 the transformer which immutablized it
433 * Class::MOP::Instance
434 - added rebless_instance_structure method (Sartak)
435 - added tests for this
437 0.50 Fri. Dec. 21, 2007
439 - fixed bug in immutable to make sure that
440 transformation arguments are saved
442 - added tests for this
444 * Class::MOP::Immutable
445 - fixed a bug (see above)
447 * Class::MOP::Attribute
450 0.49 Fri. Dec. 14, 2007
451 !! Class::MOP now loads 2 x faster !!
452 !! with XS speedups (thanks konobi) !!
455 - removed the dependency on B
456 - added two XS functions (thanks konobi)
457 - get_code_info($code) which replaces all
458 the B fiddling we were doing with
459 faster/leaner XS level fiddling
460 - check_package_cache_flag($pkg_name) which
461 returns the PL_sub_generation variable to
462 be used to help manage method caching.
465 In 5.10 or greater this will actually
466 use the mro::get_pkg_gen instead to give
467 even more accurate caching information.
468 blblack++ for that stuff :)
471 - added the &subclasses method (thanks rlb)
472 - added the update_package_cache_flag and
473 reset_package_cache_flag which help keep
474 track of when we need to re-fetch the
476 - Several small improvements to take advantage
477 of the new method map caching features
479 0.48 Mon. Nov. 26, 2007
480 * Class::MOP::Attribute
481 - fixed get_read/write_method to handle the
482 HASH ref case, which makes the
483 get_read/write_method_ref handle it too.
484 - added more tests for this
486 0.47 Sat. Nov. 24, 2007
487 * Class::MOP::Attribute
488 - fixed misspelling in get_write_method_ref
489 - added more tests for this
491 0.46 Fri. Nov. 23, 2007
493 - added the linearized_isa method instead of constantly
494 pruning duplicate classes (this will be even more
495 useful in the 5.10-compat version coming soon)
497 * Class::MOP::Attribute
498 - added the get_read_method_ref and get_write_method_ref
499 methods which allow you to retrieve a CODE ref which
500 can always be used to read or write an attribute.
502 0.45 Thurs. Nov. 13, 2007
503 * Class::MOP::Attribute
504 - Fix error message on confess (groditi)
506 0.44 Thurs. Nov. 13, 2007
507 - Apparently I didn't make dist correctly (groditi)
509 0.43 Thurs. Nov. 13, 2007
511 - Add support for the 'builder' attribute (groditi)
514 - optimise metaclass-already-exists check in
515 construct_class_instance (groditi)
516 - duplicate check into initialize to save a
517 call through (groditi)
519 * Class::MOP::Attribute
520 - Add support for the 'builder' attribute (groditi)
521 - Make predicates check for the existence of a value, not whether
522 it is defined (groditi)
524 * Class::MOP::Instance
525 - Make predicates check for the existence of a value, not whether
526 it is defined (groditi)
528 * Class::MOP::Method::Accessor
529 - made this a subclass of Class::MOP::Method::Generated
530 - removed the relevant attributes
532 * Class::MOP::Method::Constructor
533 - fixed the cached values we had to be more sane
534 - made this a subclass of Class::MOP::Method::Generated
535 - fixed generated constructor so it properly handles
537 - added tests for this
538 - added the option to allow for both inlined and
539 non-inlined constructors.
540 - Update inlined methods for builder and predicate changes (groditi)
542 * Class::MOP::Method::Generated
543 - added this class as an abstract base for the
544 Class::MOP::Method::{Constructor,Accessor} classes
545 - added tests for this
548 - Alter tests (005, 014 020, 021) for new builder addition (groditi)
549 - Tests for new predicate behavior (and corrections to old tests) (groditi)
552 - Update ArrayRef based class example to work with predicate changes
554 0.42 Mon. July 16, 2007
555 !!! Horray for mst, he fixed it !!!
557 * Class::MOP::Package
558 - alter symbol table handling to deal with 5.8.x and 5.9.x
561 - Get rid of the crappy workaround from 0.40/41
563 0.41 Sun. July 15, 2007
565 Arghh!!! My TODO test didn't work, so I handle
566 it manually now so that people can use this
567 with 5.9.5/bleadperl without issue.
569 0.40 Tues, July 3, 2007
571 ~ marked a test in 003_methods.t as TODO
572 for perl 5.9.5 (this test is irrelvant to
573 the module functioning on 5.9.5 for the most
576 0.39 Mon. June 18, 2007
577 * Class::MOP::Immutable
578 - added make_metaclass_mutable + docs (groditi)
579 - removed unused variable
580 - added create_immutable_transformer
581 necessary for sane overloading of immutable behavior
582 - tests for this (groditi)
585 - Immutability can now be undone,
586 added make_mutable + tests + docs (groditi)
587 - Massive changes to the way Immutable is done
588 for details see comments next to make_immutable
589 This fixes a bug where custom metaclasses broke
590 when made immutable. We are now keeping one immutable
591 metaclass instance per metaclass instead of just one
592 to prevent isa hierarchy corruption. Memory use will go
593 up, but I suspect it will be neglible.
594 - New tests added for this behavior. (groditi)
596 0.38 Thurs. May 31, 2007
597 ~~ More documentation updates ~~
599 * Class::MOP::Package
600 - we now deal with stub methods properly
601 - added tests for this
602 - fixed some tests failing on 5.9.5 (thanks blblack)
604 * Class::MOP::Attribute
605 - added get_read_method and get_write_method
606 thanks to groditi for this code, tests
608 - added tests and POD for this
611 - fixed RT issue #27329, clone object now
612 handles undef values correctly.
613 - added tests for this
614 - Corrected anon-class handling so that they
615 will not get reaped when instances still
616 exist which need to reference them. This is
617 the correct behavior, hopefully this is an
618 obscure enough feature that there are not too
619 many work arounds out in the wild.
620 - added tests for this by groditi
621 - updated docs to explain this
624 - load custom metaclasses automatically (thanks groditi)
625 - added tests for this behavior
627 0.37 Sat. March 10, 2007
628 ~~ Many, many documentation updates ~~
631 - added &load_class and &is_class_loaded
632 - added tests and docs for these
634 * Class::MOP::Attribute
635 - default now checks the instance with defined to
636 avoid setting off bool-overloads (found by Carl Franks)
640 - bad name in a test, causing meaningless failuress.
646 - All attribute names are now consistent and follow Perl 6
647 style (prefixed with the sigil, and ! as the twigil for
648 private attrs). This should not affect any code, unless
649 you broke encapsulation, in which case, it is your problem
652 !! Class::MOP::Class::Immutable has been removed
654 * Class::MOP::Method::Constructor
655 - this has been moved out of Class::MOP::Class::Immutable
656 and is a proper subclass of Class::MOP::Method now.
659 - this module now uses Class::MOP::Immutable for the
660 immutable transformation instead of
661 Class::MOP::Class::Immutable.
663 + Class::MOP::Immutable
664 - this module now controls the transformation from a mutable
665 to an immutable version of the class. Docs for this will
666 be coming eventually.
669 0.36 Sun. Nov. 5, 2006
671 - added a few 'no warnings' lines to keep annoying
672 (and meaningless) warnings from chirping during
676 - some more bootstrapping is now done on the new
679 * Class::MOP::Class::Immutable
681 - constructor generation is now handled by
682 the Class::MOP::Method::Constructor class
684 * Class::MOP::Method::Constructor
685 - created this to handle constructor generation
686 in Class::MOP::Class::Immutable
688 * Class::MOP::Attribute
690 - attributes now delegate to the
691 Class::MOP::Method::Accessor to generate
694 * Class::MOP::Method::Accessor
695 - all accessor generation functions from
696 Class::MOP::Attribute have been moved here
698 0.35 Sat. Sept. 30, 2006
700 * scripts/class_browser.pl
701 - initial prototype of a class browser, more
702 on this to come. Comments and patches are
706 - All Class::MOP::* accessors are no longer
707 re-generated in the bootstrap, instead
708 they are aliased from the originals
709 - fixed tests to reflect
710 - added Class::MOP::Method (and its subclasses)
712 - adjusted tests for this
713 - added the Class::MOP::Instance attributes
718 - methods are no longer blessed CODE refs
719 but are actual objects which can be CODE-ified
720 - adjusted tests to compensate
721 - adjusted docs for this
724 - changed how methods are dealt with to
725 encapsulate most of the work into the
726 &get_method_map method
727 - made several adjustments for the change
728 in Class::MOP::Method
729 - &add_attribute now checks if you are adding
730 a duplicate name, and properly removes the
731 old one before installing the new one
732 - added tests for this
733 - adjusted docs for this
735 * Class::MOP::Class::Immutable
736 - added caching of &get_method_map
737 - fixed issue with &get_package_symbol
738 - cleaned up the methods that die (patch by David Wheeler)
740 * Class::MOP::Package
741 - added filtering capabilities to
742 &list_all_package_symbols
744 0.34 Sat. Aug. 26, 2006
746 - added the %:methods attribute, which like
747 the $:version and such just actually goes
748 to the symbol table to get it's stuff.
749 However, it makes the MOP more complete.
751 - The &create method now requires that all
752 but the package name now is passed in as
753 named parameters. See docs for more info.
754 - updated docs and tests for this
757 - added &dump method to easily Data::Dumper
761 - cleaned up the initialization of attributes
762 which do not store things in the instance
763 - added the %:methods attribute definition to
766 ~ lots of misc. test cleanup
768 0.33 Sat. Aug. 19, 2006
770 - moved the metaclass cache out of here
771 and it is now in Class::MOP itself.
774 - moved all the metaclass cache stuff here
775 - fixed all tests for this
777 * Class::MOP::Attribute
778 - reference values (other than CODE refs)
779 are no longer allowed for defaults
780 - added tests for this
782 * Class::MOP::Package
783 - fixed an issue with perl 5.8.1 and how it deals
784 with symbol tables. The namespace hash is now
785 always reloaded from the symbol table.
787 ~ lots of misc. documentation cleanup
789 0.32 Sat. Aug. 12, 2006
790 + added Class::MOP::Object so that the
791 metamodel is more complete (and closer
792 to what Perl 6 will probably be).
794 * Class::MOP::Package
795 - refactored entire class, this is now
796 the primary gateway between the metaclass
797 and the Perl 5 symbol table
798 - added many tests for this
799 - this class is now a subclass of
801 - added some tests to reflect this
804 - refactored all symbol table access to
805 use Class::MOP::Package methods instead
808 - adding the $:version attribute in the bootstrap
809 so that Module has a version as an attribute
810 - see comment in Class::MOP for details
811 - added the $:authority attribute to this module
812 as well as an &identifier method, to bring us
813 ever closer to Perl 6 goodness
814 - I have added $AUTHORITY to all the modules
815 - added tests for this
817 * Class::MOP::Instance
818 - added &deinitialize_slot for removing slots
820 - added tests for this
822 * Class::MOP::Attribute
823 - added support for &deinitialize_slot for removing
824 slots from an instance
825 - added tests for this
827 0.31 Sat. July 15, 2006
830 - added &find_method_by_name to locate a method
831 anywhere within the class hierarchy
833 * Class::MOP::Attribute
834 - added &set_value and &get_value for getting
835 the value of the attribute for a particular
838 0.30 Wed. July 5, 2006
839 ---------------------------------------
840 This is the first version of Class::MOP
841 to introduce the immutable features which
842 will be used for optimizating the MOP.
843 This support should still be considered
844 experimental, but moving towards stability.
845 ---------------------------------------
847 * Created Class::MOP::Class::Immutable
849 * Created the Class::MOP::Package and
850 Class::MOP::Module classes to more
851 closely conform to Perl 6's meta-model
854 - now inherits from Class::MOP::Module
855 - several methods moved to ::Module and
856 ::Package and now inherited
857 - added tests for this
859 * Class::MOP::Instance
860 - added an is_inlinable method to allow other
861 classes to check before they attempt to optimize.
862 - added an inline_create_instance to inline
863 instance creation (of course)
866 - the Class::MOP::Class::*_package_variable
867 methods are all now methods of Class::MOP::Package
868 and called *_package_symbol instead. This is
869 because they are now more general purpose symbol
870 table manipulation methods.
872 0.29_02 Thurs. June 22, 2006
873 ++ DEVELOPER RELEASE ++
875 - small change in &create so that it behaves
876 properly when inherited
877 - small fix to &clone_instance
879 0.29_01 Fri. May 12, 2006
880 ++ DEVELOPER RELEASE ++
881 - This release works in combination with
882 Moose 0.09_01, it is a developer release
883 because it introduces a new instance
884 sub-protocol and has not yet been
888 - anon-classes are now properly garbage collected
889 - added tests for this
890 - improved method modifier wrapping
892 * Class::MOP::Instance
893 - added new instance protocol
894 - added tests for this
895 - changed all relevant modules and examples
897 - Class::MOP::Attribute
901 - you no longer need to specify the metaclass
902 itself, if it is not there, Class::MOP::Class
904 - updated tests for this
907 - added ArrayBasedStorage example to show
908 instance storage using ARRAY refs instead of
910 - added tests for this
911 - InsideOutClass is totally revised using the
912 new instance protocol
913 - added more tests for this
915 0.26 Mon. April 24, 2006
917 - added find_attribute_by_name method
918 - added tests and docs for this
919 - some small optimizations
921 * Class::MOP::Attribute
922 - some small optimizations
924 0.25 Thurs. April 20, 2006
926 - added create_anon_class for creating anonymous classes
927 - added tests for this
928 - added get_all_metaclasses, get_all_metaclass_names
929 and get_all_metaclass_instances method to allow
930 access to all the cached metaclass objects.
931 - attribute slot initialization is now the responsibility
932 of the attribute itself, and construct_instance now
933 delegates appropriately
935 * Class::MOP::Attribute
936 - attribute slot initialization is now the responsibility
937 of the attribute itself, so we added a method for it
938 called initialize_instance_slot
941 - adjusted all the examples to use the new attribute
942 initialize_instance_slot method
944 0.24 Tues. April 11, 2006
946 - cleaned up how the before/after/around method
947 modifiers get named with Sub::Name
949 0.23 Thurs. March 30, 2006
951 - fixed the way attribute defaults are handled
952 during instance construction (bug found by chansen)
954 * Class::MOP::Attribute
955 - read-only accessors ('reader') will now die if
956 passed more than one argument (attempting to write
958 - added tests for this
959 - adjusted all /example files to comply
961 0.22 Mon. March 20, 2006
963 - localized $@ in the *_package_variable functions
964 because otherwise, it does ugly things in Moose.
965 - added test case for this
967 0.21 Wed. March 15, 2006
969 - fixed issue where metaclasses are reaped from
970 our cache in global destruction, and so are not
971 available in DESTORY calls
973 0.20 Thurs. March 2, 2006
974 - removed the dependency for Clone since
975 we no longer to deep-cloning by default.
978 - added &package_name, &name and
979 &fully_qualified_name methods, some of
980 which were formerly private subs in
983 * Class::MOP::Method::Wrapped
984 - allows for a method to be wrapped with
985 before, after and around modifiers
986 - added tests and docs for this feature
989 - improved &get_package_symbol
990 - &version and &superclasses now use it
991 - methods are now blessed into Class::MOP::Method
993 - added methods to install CLOS-style method modifiers
994 - &add_before_method_modifier
995 - &add_after_method_modifier
996 - &add_around_method_modifier
997 - added tests and docs for these
998 - added &find_next_method_by_name which finds the
999 equivalent of SUPER::method_name
1001 0.12 Thurs. Feb 23, 2006
1002 - reduced the dependency on B, no need to always
1006 - added docs to the C3 method dispatch order test
1007 - fixed missing Algorithm::C3 dependency by making
1008 the test skip if it is not installed
1010 0.11 Mon Feb. 20, 2006
1012 - added example of changing method dispatch order to C3
1015 - changed how clone_instance behaves, it now only does a
1016 shallow clone (see docs for more details)
1017 - added docs and tests
1019 0.10 Tues Feb. 14, 2006
1020 ** This release was mostly about writing more tests and
1021 cleaning out old and dusty code, the MOP should now
1022 be considered "ready to use".
1024 - adding more tests to get coverage up a little higher,
1025 mostly testing errors and edge cases.
1026 - test coverage is now at 99%
1029 - no longer optionally exports to UNIVERSAL::meta or
1030 creates a custom metaclass generator, use the
1031 metaclass pragma instead.
1034 - fixed a number of minor issues which came up in the
1035 error/edge-case tests
1037 * Class::MOP::Attribute
1038 - fixed a number of minor issues which came up in the
1039 error/edge-case tests
1042 - fixing the AttributesWithHistory example, it was broken.
1044 0.06 Thurs Feb. 9, 2006
1046 - adding new metaclass pragma to make setting up the
1047 metaclass a little more straightforward
1050 - clean up bootstrapping to include more complete
1051 attribute definitions for Class::MOP::Class and
1052 Class::MOP::Attribute (accessors, readers, writers,
1053 etc.) ... it is redundant, but is useful meta-info
1057 - fixing minor meta-circularity issue with &meta, it
1058 is now more useful for subclasses
1059 - added &get_attribute_map as an accessor for the
1060 hash of attribute meta objects
1061 - &compute_all_applicable_attributes now just returns
1062 the attribute meta-object, rather than the HASH ref
1063 since all the same info can be gotten from the
1064 attribute meta-object itself
1065 - updated docs & tests to reflect
1066 - added &clone_instance method which does a deep clone
1067 of the instance structure created by &construct_instance
1068 - added docs & tests for this
1069 - added Clone as a dependency
1070 - added &new_object and &clone_object convience methods to
1071 return blessed new or cloned instances
1072 - they handle Class::MOP::Class singletons correctly too
1073 - added docs & tests for this
1074 - cleaned up the &constuct_class_instance so that it behaves
1075 more like &construct_instance (and managed the singletons too)
1076 - added the &check_metaclass_compatibility method to make sure
1077 that metaclasses are upward and downward compatible.
1078 - added tests and docs for this
1081 - adjusting code to use the &Class::MOP::Class::meta
1083 - adjusting code to use the metaclass pragma
1085 0.05 Sat Feb. 4, 2006
1087 - added the &attribute_metaclass and &method_metaclass
1088 attributes which contain a metaclass name to use for
1089 attributes/methods respectively
1092 - bootstrap additional attributes for Class::MOP::Class
1095 - adjusted the example code and tests to use the new
1096 &attribute_metaclass feature of Class::MOP::Class
1097 - added new example:
1100 0.04 Fri Feb. 3, 2006
1102 - some documentation suggestions from #perl6
1104 * Class::MOP::Attribute
1105 - improved error messages
1108 - added new examples:
1109 - AttributesWithHistory
1110 - ClassEncapsultedAttributes
1112 0.03 Fri Feb. 3, 2006
1113 - converted to Module::Build instead of EU::MM
1115 * Class::MOP::Attribute
1116 - refactored method generation code
1117 - attributes are now associated with class directly
1120 - refactored the InsideOut example to take advantage
1121 of the Class::MOP::Attribute refactoring
1122 - changed example files to .pod files and hide thier
1123 package names from PAUSE (I don't want to own these
1124 namespaces really, they are just examples)
1126 0.02 Thurs Feb. 2, 2006
1127 - moving examples from t/lib/* to examples/*
1128 - adding POD documentation to the examples
1130 0.01 Thurs Feb. 2, 2006