1 Revision history for Perl extension Class-MOP.
3 0.73 Tue, December 16, 2008
5 - Don't use Perl_mro_meta_init. It's not part of the public perl
6 api. Fixes failures to build on Win32 (RT #41750). (Florian
8 * t/082_get_code_info.t
9 - Add $^P &= ~0x200; (per Ovid's suggestion) in order to not
10 munger anonymous subs when under -d and so making the tests
13 0.72 Mon, December 8, 2008
15 - Pass options to _new, so subclass' attributes can be
18 - In the docs, indicate that package_name and name are required
19 when calling ->wrap (Stefan O'Rear)
21 0.71_02 Fri, December 5, 2008
22 * Class::MOP::Immutable
23 - Added a new attribute, inlined_constructor, which is true if
24 the constructor was inlined.
26 - Make get_all_package_symbols return a hash ref in scalar
27 context and deprecate calling it in list context with a
28 warning. (Florian Ragwitz)
30 - Various improvements and refactoring, making things more robust and
31 easier to maintain. (Florian Ragwitz)
33 0.71_01 Wed, December 3, 2008
35 - Add an "execute" method to invoke the body so
36 we can avoid using the coderef overload (Sartak)
37 * Class::MOP::Immutable
38 - When we memoize methods, get their results lazily
39 to remove some compile-time cost (Sartak)
40 - Small speedup from eliminating several method
43 - Some small internal tweaks to try to reduce the number of
44 times we call get_method_map when bootstrapping the MOP. This
45 might make loading Class::MOP (and Moose) a little
47 - Implemented an optional XS version of get_method_map. Mostly
48 taken from a patch by Goro Fuji (rt.cpan.org #41080), with
49 help form Florian Ragwitz. (Dave Rolsky)
50 - Make the behaviour of of get_all_package_symbols (and
51 therefore get_method_map) consistent for stub methods. Report
52 and test by Goro Fuji (rt.cpan.org #41255). (Florian Ragwitz)
54 0.71 Wed November 26, 2008
57 - Actual package creation has moved upward from
58 Class to Module so that Moose roles can share
61 0.70_01 Mon, November 19, 2008
63 - Fixes for failures with blead (Florian Ragwitz)
64 - Silenced compiler warnings (Florian Ragwitz)
66 0.70 Fri, November 14, 2008
68 - Fixed an odd corner case where the XS version of
69 get_all_package_symbols could cause a segfault. This only
70 happened with inlined constants in Perl 5.10.0 (Florian
73 0.69 Fri, November 7, 2008
74 * Class::MOP::Method::Wrapped
75 - Added introspection methods for method modifiers (Dave Rolsky)
78 0.68 Fri October 24, 2008
80 - Make load_class require by file name instead of module name.
81 This stops confusing error messages when loading '__PACKAGE__'.
83 - Add load_one_class_of function to enable you to load one of a
84 list of classes, rather than having to call load_class multiple
85 times in an eval. (t0m)
87 0.67 Tue October 14, 2008
89 - Call a method on the class after setting the superclass list
90 so that we can get Perl to detect cycles before MRO::Compat
91 spirals into an infinite loop (sartak)
92 - Reported by Schwern, [rt.cpan.org #39001]
93 - In create(), pass unused options on to initialize()
96 0.66 Sat September 20, 2008
97 !! This release has an incompatible change regarding !!
98 introspection of a class's method with Class::MOP::Class !!
101 - We (us maintainers) now run all tests with XS and then without
102 XS, which should help us catch skew between the XS/pure Perl
106 ! The alias_method method has been deprecated. It now simply
107 calls add_method instead. There is no distinction between
108 aliased methods and "real" methods.
110 This means that methods added via alias_method now show up as
111 part of the class's method list/map. This is a backwards
112 incompatible change, but seems unlikely to break any
113 code. Famous last words. (Dave Rolsky)
116 - Fixed the spelling of "compatibility", but we still have a
117 "check_metaclass_compatability" method for backwards
120 0.65 Mon September 1, 2008
121 For those not following the series of dev releases, the changes
122 from 0.64 from 0.65 can mostly be summed up as a lot performance
123 improvements by nothingmuch, including new optional XS versions of
124 some methods. Also, Class::MOP now works _without_ any XS modules,
125 for sad systems without a compiler.
128 - Added name and package_name XS accessors, and make sure all
129 the XS and Perl versions work the same way. (Dave Rolsky)
132 - The XS versions of various methods just returned undef when
133 called class methods, rather than dying like the pure Perl
134 versions. (Dave Rolsky)
136 0.64_07 Fri August 29, 2008
138 - Silenced warnings that managed to break Moose tests when XS
139 was loaded. (Dave Rolsky)
140 - Some XS versions of methods were ignored because of typos in
141 MOP.xs. (Dave Rolsky)
143 0.64_06 Mon August 25, 2008
144 * Class::MOP (MOP.xs)
145 - Another MS VC++ fix, cannot declare a variable in the middle
146 of a scope (Taro Nishino).
148 0.64_05 Sun August 24, 2008
150 - None of the dev releases actually loaded the XS properly, but
151 we silently fell back to the pure Perl version of the
154 * Class::MOP (MOP.xs)
155 - Replaced some code that used functions not available on Visual
156 C++ with some Perl XS API bits (Dave Rolsky).
158 0.64_04 Sat August 23, 2008
160 - Workaround a bug in 5.8.1's goto sub (nothingmuch)
162 * pod.t and pod_coveraget.t
163 - These are no longer shipped with the tarball because of bogus
164 failures from CPAN testers. (Dave Rolsky)
166 0.64_03 Thu August 21, 2008
167 * Class::MOP::Package
168 - Some (legit) code was misparsed by earlier 5.8.x
169 releases. (nothingmuch)
172 - Fix a constant in void context warning (nothingmuch)
174 0.64_02 Thu August 21, 2008
175 * Makefile.PL and Class::MOP
176 - Explicitly require Perl 5.8.0+ (Dave Rolsky)
179 - Add missing prereqs that got lost in the switch away from
182 * Class::MOP::Instance
183 - New method - get_all_attributes (nothingmuch)
185 0.64_01 Wed August 20, 2008
187 - We now check to see if you have a compiler. If you don't, the
188 module installs without some XS bits, but will work the same
189 as with XS. This should make it easier to install on platforms
190 without a compiler (like Windows). (Dave Rolsky)
193 - Perl 6 style attribute naming replaced with sane style ('methods', not
194 '%!methods'). These changes should not impact any existing API uses.
198 - Quite a number of optimizations based on profiling, including
199 allowing constructors to take hash references instead of
200 hashes, duplicating some frequently used code in XS, and
201 making constructors immutable. These changes should not impact
202 any existing API uses. (nothingmuch)
205 - Constructors now respect the meta attributes of their subclasses,
206 facilitating MOP extensibility. More related changes will happen in the
207 next several releases. (nothingmuch)
210 - New method - get_all_methods, replaces the deprecated
211 compute_all_applicable_methods. get_all_attributes provided for
212 consistency (nothingmuch)
213 - New method - wrap_method was refactored out of get_method_map
215 - New API for meta instance invalidation - invalidate_meta_instance,
216 invalidate_meta_instances, add_dependent_meta_instance,
217 remove_dependent_meta_instance, called automatically when attribute
218 definitions change and allows notification of dependent subclasses.
221 0.64 Sun August 3, 2008
222 * Class::MOP::Immutable
223 - fixing subtle edge case in immutable when you
225 - clean up option processing (nothingmuch)
227 * Class::MOP::Instance
228 - inlined initialize slot didn't match
229 non-inlined (nothingmuch)
231 0.63 Mon July 7, 2008
233 - load_class will initialize a metaclass even if
234 the class is already loaded (sartak)
235 - load_class now returns the metaclass instance
236 instead of just 1 (sartak)
239 - better error messages (sartak and Dave Rolsky)
241 0.62 Wed June 18, 2008
242 - in is_class_loaded, recognize scalar references (as opposed to globs) in
243 the symbol table as methods (these are optimized constant subs)
245 0.61 Fri. June 13, 2008
246 - Okay, lets give this another try and see if PAUSE
247 recognizes it correct this time.
249 0.60 Thurs. Jun 12, 2008
250 - Fixed a version number issue by bumping all modules
253 0.59 Thurs. Jun 12, 2008
254 !! Several fixes resulting in yet another 25-30% speedup !!
257 - now stores the instance of the instance
258 metaclass to avoid needless recomputation
259 and deletes it when the cache is blown
260 - introduce methods to query Class::MOP::Class for
261 the options used to make it immutable as well as
262 the proper immutable transformer. (groditi)
264 * Class::MOP::Package
265 - {add, has, get, remove}_package_symbol all
266 now accept a HASH ref argument as well as the
267 string. All internal usages now use the HASH
271 - MOP.xs does sanity checks on the coderef
273 - is_class_loaded check now uses code that
274 was improved in Moose's ClassName type
276 - nonsensical (undef, empty, reference) class
277 names now throw a more direct error in
279 - tests for this and other aspects of
285 Class::MOP::Method::Wrapped
286 Class::MOP::Attribute
287 - switched usage of reftype to ref because
290 0.58 Thurs. May 29, 2008
291 (late night release engineering)--
293 - fixing the version is META.yml, no functional
294 changes in this release
296 0.57 Wed. May 28, 2008
297 !! Several speedups resulting in 20-25% speedups !!
298 || (thanks to konobi, groditi, mst & CataMoose) !!
301 - made get_method_map use list_all_package_symbols
302 instead of manually grabbing each symbol
303 - streamlining &initialize somewhat, since it gets
306 * Class::MOP::Package
307 - made {get, has}_package_symbol not call
309 - inlining a few calls to &name with
310 direct HASH access key access
311 - added get_all_package_symbols to fetch
312 a HASH of items based on a type filter
313 similar to list_all_package_symbols
314 - added tests for this
317 Class::MOP::Method::Constructor
318 Class::MOP::Method::Generated
319 Class::MOP::Method::Accessor
320 - added more descriptive error message to help
321 keep people from wasting time tracking an error
322 that is easily fixed by upgrading.
324 * Class::MOP::Immutable
325 - Don't inline a destructor unless the user actually
327 - added tests for this
329 0.56 Saturday, May 24, 2008
331 - we now get the &check_package_cache_flag
332 function from MRO::Compat
333 - All XS based functionality now has a
334 Pure Perl alternative
335 - the CLASS_MOP_NO_XS environment variable
336 can now be used to force non-XS versions
339 * Class::MOP::Attribute
340 - add has_read_method and has_write_method
341 - get_{read,write}_method_ref now wraps the
342 anon-sub ref in the method metaclass when
344 - added tests for this
346 * Class::MOP::Immutable
347 - added the ability to "wrap" methods when
348 making the class immutable
351 - now handling the edge case of ->meta->identifier
352 dying by wrapping add_package_symbol to specifically
353 allow for it to work.
354 - added tests for this
356 * Class::MOP::Attribute
358 Class::MOP::Immutable
359 - any time a method meta object is constructed
360 we make sure to pass the correct package and
361 method name information
364 Class::MOP::Method::Wrapped
365 Class::MOP::Method::Generated
366 Class::MOP::Method::Accessor
367 Class::MOP::Method::Consructor
368 - the &wrap constructor method now requires that a
369 'package_name' and 'name' attribute are passed. This
370 is to help support the no-XS version, and will
371 throw an error if these are not supplied.
372 - all these classes are now bootstrapped properly
373 and now store the package_name and name attributes
376 ~ Build.PL has been removed since the
377 Module::Install support has been removed
379 0.55 Mon. April 28, 2008
380 - All classes now have proper C3 MRO support
381 - added MRO::Compat as a dependency to allow
382 for the C3 MRO support to Just Work in all
386 - rebless_instance now returns the instance
387 it has just blessed, this is mostly to
389 - set the attr correctly in rebless_instance
390 when it has no init_arg
391 - tweaked &linear_isa and &class_precedence_list
392 to support c3 classes.
394 0.54 Fri. March, 14, 2008
397 - making sure that load_class never gets
398 passed a value from @_ or $_ to squash
399 Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
402 - make_{immutable,mutable} now return 1
404 - improved error handling in ->create method
405 - rebless_instance now takes extra params which
406 will be used to populate values
407 - added tests for this
410 - localizing the Data::Dumper configurations so
411 that it does not pollute others (RT #33509)
417 Class::MOP::Attribute
418 - these classes no longer define their own ->meta,
419 but instead just inherit from Class::MOP::Object
421 * Class::MOP::Instance
422 Class::MOP::Immutable
423 - these classes now inherit from Class::MOP::Object
426 - fixed the filename length on several
427 test files so we install on VMS better
429 - fixed incorrect use of catdir when it
430 should be catfile (RT #32385)
432 0.53 Thurs. Feb. 14, 1008
433 ~~ several doc. fixes and updates ~~
436 Class::MOP::Method::Constructor
437 Class::MOP::Attribute
438 - making init_arg accept an undefined value
439 to indicate that no constructor args can
440 be passed (thanks to nothingmuch)
441 - added tests for this
442 - added attribute initializer attribute (rjbs)
445 - making this use the new init_arg => undef
446 feature instead of the silly hack from
447 before (thanks to nothingmuch)
449 0.52 Tues. Jan. 22, 2008
451 - fixed bug in rebless_instance
454 * Class::MOP::Method::Constructor
455 - removed assumptions about the existence of
458 0.51 Mon. Jan. 14, 2008
459 ~~~ some misc. doc. fixes ~~~
460 ~~ updated copyright dates ~~
463 - now sets the IS_RUNNING_ON_5_10
464 constant so that we can take advantage
465 of some of the nice bits of 5.10
468 - uses the IS_RUNNING_ON_5_10 flag to
469 optimize the &linearized_isa method
470 and avoid the hack/check for circular
471 inheritence in &class_precedence_list
472 - added rebless_instance method (Sartak)
473 - added tests for this
475 * Class::MOP::Immutable
476 - the immutable class now keeps track of
477 the transformer which immutablized it
479 * Class::MOP::Instance
480 - added rebless_instance_structure method (Sartak)
481 - added tests for this
483 0.50 Fri. Dec. 21, 2007
485 - fixed bug in immutable to make sure that
486 transformation arguments are saved
488 - added tests for this
490 * Class::MOP::Immutable
491 - fixed a bug (see above)
493 * Class::MOP::Attribute
496 0.49 Fri. Dec. 14, 2007
497 !! Class::MOP now loads 2 x faster !!
498 !! with XS speedups (thanks konobi) !!
501 - removed the dependency on B
502 - added two XS functions (thanks konobi)
503 - get_code_info($code) which replaces all
504 the B fiddling we were doing with
505 faster/leaner XS level fiddling
506 - check_package_cache_flag($pkg_name) which
507 returns the PL_sub_generation variable to
508 be used to help manage method caching.
511 In 5.10 or greater this will actually
512 use the mro::get_pkg_gen instead to give
513 even more accurate caching information.
514 blblack++ for that stuff :)
517 - added the &subclasses method (thanks rlb)
518 - added the update_package_cache_flag and
519 reset_package_cache_flag which help keep
520 track of when we need to re-fetch the
522 - Several small improvements to take advantage
523 of the new method map caching features
525 0.48 Mon. Nov. 26, 2007
526 * Class::MOP::Attribute
527 - fixed get_read/write_method to handle the
528 HASH ref case, which makes the
529 get_read/write_method_ref handle it too.
530 - added more tests for this
532 0.47 Sat. Nov. 24, 2007
533 * Class::MOP::Attribute
534 - fixed misspelling in get_write_method_ref
535 - added more tests for this
537 0.46 Fri. Nov. 23, 2007
539 - added the linearized_isa method instead of constantly
540 pruning duplicate classes (this will be even more
541 useful in the 5.10-compat version coming soon)
543 * Class::MOP::Attribute
544 - added the get_read_method_ref and get_write_method_ref
545 methods which allow you to retrieve a CODE ref which
546 can always be used to read or write an attribute.
548 0.45 Thurs. Nov. 13, 2007
549 * Class::MOP::Attribute
550 - Fix error message on confess (groditi)
552 0.44 Thurs. Nov. 13, 2007
553 - Apparently I didn't make dist correctly (groditi)
555 0.43 Thurs. Nov. 13, 2007
557 - Add support for the 'builder' attribute (groditi)
560 - optimise metaclass-already-exists check in
561 construct_class_instance (groditi)
562 - duplicate check into initialize to save a
563 call through (groditi)
565 * Class::MOP::Attribute
566 - Add support for the 'builder' attribute (groditi)
567 - Make predicates check for the existence of a value, not whether
568 it is defined (groditi)
570 * Class::MOP::Instance
571 - Make predicates check for the existence of a value, not whether
572 it is defined (groditi)
574 * Class::MOP::Method::Accessor
575 - made this a subclass of Class::MOP::Method::Generated
576 - removed the relevant attributes
578 * Class::MOP::Method::Constructor
579 - fixed the cached values we had to be more sane
580 - made this a subclass of Class::MOP::Method::Generated
581 - fixed generated constructor so it properly handles
583 - added tests for this
584 - added the option to allow for both inlined and
585 non-inlined constructors.
586 - Update inlined methods for builder and predicate changes (groditi)
588 * Class::MOP::Method::Generated
589 - added this class as an abstract base for the
590 Class::MOP::Method::{Constructor,Accessor} classes
591 - added tests for this
594 - Alter tests (005, 014 020, 021) for new builder addition (groditi)
595 - Tests for new predicate behavior (and corrections to old tests) (groditi)
598 - Update ArrayRef based class example to work with predicate changes
600 0.42 Mon. July 16, 2007
601 !!! Horray for mst, he fixed it !!!
603 * Class::MOP::Package
604 - alter symbol table handling to deal with 5.8.x and 5.9.x
607 - Get rid of the crappy workaround from 0.40/41
609 0.41 Sun. July 15, 2007
611 Arghh!!! My TODO test didn't work, so I handle
612 it manually now so that people can use this
613 with 5.9.5/bleadperl without issue.
615 0.40 Tues, July 3, 2007
617 ~ marked a test in 003_methods.t as TODO
618 for perl 5.9.5 (this test is irrelvant to
619 the module functioning on 5.9.5 for the most
622 0.39 Mon. June 18, 2007
623 * Class::MOP::Immutable
624 - added make_metaclass_mutable + docs (groditi)
625 - removed unused variable
626 - added create_immutable_transformer
627 necessary for sane overloading of immutable behavior
628 - tests for this (groditi)
631 - Immutability can now be undone,
632 added make_mutable + tests + docs (groditi)
633 - Massive changes to the way Immutable is done
634 for details see comments next to make_immutable
635 This fixes a bug where custom metaclasses broke
636 when made immutable. We are now keeping one immutable
637 metaclass instance per metaclass instead of just one
638 to prevent isa hierarchy corruption. Memory use will go
639 up, but I suspect it will be neglible.
640 - New tests added for this behavior. (groditi)
642 0.38 Thurs. May 31, 2007
643 ~~ More documentation updates ~~
645 * Class::MOP::Package
646 - we now deal with stub methods properly
647 - added tests for this
648 - fixed some tests failing on 5.9.5 (thanks blblack)
650 * Class::MOP::Attribute
651 - added get_read_method and get_write_method
652 thanks to groditi for this code, tests
654 - added tests and POD for this
657 - fixed RT issue #27329, clone object now
658 handles undef values correctly.
659 - added tests for this
660 - Corrected anon-class handling so that they
661 will not get reaped when instances still
662 exist which need to reference them. This is
663 the correct behavior, hopefully this is an
664 obscure enough feature that there are not too
665 many work arounds out in the wild.
666 - added tests for this by groditi
667 - updated docs to explain this
670 - load custom metaclasses automatically (thanks groditi)
671 - added tests for this behavior
673 0.37 Sat. March 10, 2007
674 ~~ Many, many documentation updates ~~
677 - added &load_class and &is_class_loaded
678 - added tests and docs for these
680 * Class::MOP::Attribute
681 - default now checks the instance with defined to
682 avoid setting off bool-overloads (found by Carl Franks)
686 - bad name in a test, causing meaningless failuress.
692 - All attribute names are now consistent and follow Perl 6
693 style (prefixed with the sigil, and ! as the twigil for
694 private attrs). This should not affect any code, unless
695 you broke encapsulation, in which case, it is your problem
698 !! Class::MOP::Class::Immutable has been removed
700 * Class::MOP::Method::Constructor
701 - this has been moved out of Class::MOP::Class::Immutable
702 and is a proper subclass of Class::MOP::Method now.
705 - this module now uses Class::MOP::Immutable for the
706 immutable transformation instead of
707 Class::MOP::Class::Immutable.
709 + Class::MOP::Immutable
710 - this module now controls the transformation from a mutable
711 to an immutable version of the class. Docs for this will
712 be coming eventually.
715 0.36 Sun. Nov. 5, 2006
717 - added a few 'no warnings' lines to keep annoying
718 (and meaningless) warnings from chirping during
722 - some more bootstrapping is now done on the new
725 * Class::MOP::Class::Immutable
727 - constructor generation is now handled by
728 the Class::MOP::Method::Constructor class
730 * Class::MOP::Method::Constructor
731 - created this to handle constructor generation
732 in Class::MOP::Class::Immutable
734 * Class::MOP::Attribute
736 - attributes now delegate to the
737 Class::MOP::Method::Accessor to generate
740 * Class::MOP::Method::Accessor
741 - all accessor generation functions from
742 Class::MOP::Attribute have been moved here
744 0.35 Sat. Sept. 30, 2006
746 * scripts/class_browser.pl
747 - initial prototype of a class browser, more
748 on this to come. Comments and patches are
752 - All Class::MOP::* accessors are no longer
753 re-generated in the bootstrap, instead
754 they are aliased from the originals
755 - fixed tests to reflect
756 - added Class::MOP::Method (and its subclasses)
758 - adjusted tests for this
759 - added the Class::MOP::Instance attributes
764 - methods are no longer blessed CODE refs
765 but are actual objects which can be CODE-ified
766 - adjusted tests to compensate
767 - adjusted docs for this
770 - changed how methods are dealt with to
771 encapsulate most of the work into the
772 &get_method_map method
773 - made several adjustments for the change
774 in Class::MOP::Method
775 - &add_attribute now checks if you are adding
776 a duplicate name, and properly removes the
777 old one before installing the new one
778 - added tests for this
779 - adjusted docs for this
781 * Class::MOP::Class::Immutable
782 - added caching of &get_method_map
783 - fixed issue with &get_package_symbol
784 - cleaned up the methods that die (patch by David Wheeler)
786 * Class::MOP::Package
787 - added filtering capabilities to
788 &list_all_package_symbols
790 0.34 Sat. Aug. 26, 2006
792 - added the %:methods attribute, which like
793 the $:version and such just actually goes
794 to the symbol table to get it's stuff.
795 However, it makes the MOP more complete.
797 - The &create method now requires that all
798 but the package name now is passed in as
799 named parameters. See docs for more info.
800 - updated docs and tests for this
803 - added &dump method to easily Data::Dumper
807 - cleaned up the initialization of attributes
808 which do not store things in the instance
809 - added the %:methods attribute definition to
812 ~ lots of misc. test cleanup
814 0.33 Sat. Aug. 19, 2006
816 - moved the metaclass cache out of here
817 and it is now in Class::MOP itself.
820 - moved all the metaclass cache stuff here
821 - fixed all tests for this
823 * Class::MOP::Attribute
824 - reference values (other than CODE refs)
825 are no longer allowed for defaults
826 - added tests for this
828 * Class::MOP::Package
829 - fixed an issue with perl 5.8.1 and how it deals
830 with symbol tables. The namespace hash is now
831 always reloaded from the symbol table.
833 ~ lots of misc. documentation cleanup
835 0.32 Sat. Aug. 12, 2006
836 + added Class::MOP::Object so that the
837 metamodel is more complete (and closer
838 to what Perl 6 will probably be).
840 * Class::MOP::Package
841 - refactored entire class, this is now
842 the primary gateway between the metaclass
843 and the Perl 5 symbol table
844 - added many tests for this
845 - this class is now a subclass of
847 - added some tests to reflect this
850 - refactored all symbol table access to
851 use Class::MOP::Package methods instead
854 - adding the $:version attribute in the bootstrap
855 so that Module has a version as an attribute
856 - see comment in Class::MOP for details
857 - added the $:authority attribute to this module
858 as well as an &identifier method, to bring us
859 ever closer to Perl 6 goodness
860 - I have added $AUTHORITY to all the modules
861 - added tests for this
863 * Class::MOP::Instance
864 - added &deinitialize_slot for removing slots
866 - added tests for this
868 * Class::MOP::Attribute
869 - added support for &deinitialize_slot for removing
870 slots from an instance
871 - added tests for this
873 0.31 Sat. July 15, 2006
876 - added &find_method_by_name to locate a method
877 anywhere within the class hierarchy
879 * Class::MOP::Attribute
880 - added &set_value and &get_value for getting
881 the value of the attribute for a particular
884 0.30 Wed. July 5, 2006
885 ---------------------------------------
886 This is the first version of Class::MOP
887 to introduce the immutable features which
888 will be used for optimizating the MOP.
889 This support should still be considered
890 experimental, but moving towards stability.
891 ---------------------------------------
893 * Created Class::MOP::Class::Immutable
895 * Created the Class::MOP::Package and
896 Class::MOP::Module classes to more
897 closely conform to Perl 6's meta-model
900 - now inherits from Class::MOP::Module
901 - several methods moved to ::Module and
902 ::Package and now inherited
903 - added tests for this
905 * Class::MOP::Instance
906 - added an is_inlinable method to allow other
907 classes to check before they attempt to optimize.
908 - added an inline_create_instance to inline
909 instance creation (of course)
912 - the Class::MOP::Class::*_package_variable
913 methods are all now methods of Class::MOP::Package
914 and called *_package_symbol instead. This is
915 because they are now more general purpose symbol
916 table manipulation methods.
918 0.29_02 Thurs. June 22, 2006
919 ++ DEVELOPER RELEASE ++
921 - small change in &create so that it behaves
922 properly when inherited
923 - small fix to &clone_instance
925 0.29_01 Fri. May 12, 2006
926 ++ DEVELOPER RELEASE ++
927 - This release works in combination with
928 Moose 0.09_01, it is a developer release
929 because it introduces a new instance
930 sub-protocol and has not yet been
934 - anon-classes are now properly garbage collected
935 - added tests for this
936 - improved method modifier wrapping
938 * Class::MOP::Instance
939 - added new instance protocol
940 - added tests for this
941 - changed all relevant modules and examples
943 - Class::MOP::Attribute
947 - you no longer need to specify the metaclass
948 itself, if it is not there, Class::MOP::Class
950 - updated tests for this
953 - added ArrayBasedStorage example to show
954 instance storage using ARRAY refs instead of
956 - added tests for this
957 - InsideOutClass is totally revised using the
958 new instance protocol
959 - added more tests for this
961 0.26 Mon. April 24, 2006
963 - added find_attribute_by_name method
964 - added tests and docs for this
965 - some small optimizations
967 * Class::MOP::Attribute
968 - some small optimizations
970 0.25 Thurs. April 20, 2006
972 - added create_anon_class for creating anonymous classes
973 - added tests for this
974 - added get_all_metaclasses, get_all_metaclass_names
975 and get_all_metaclass_instances method to allow
976 access to all the cached metaclass objects.
977 - attribute slot initialization is now the responsibility
978 of the attribute itself, and construct_instance now
979 delegates appropriately
981 * Class::MOP::Attribute
982 - attribute slot initialization is now the responsibility
983 of the attribute itself, so we added a method for it
984 called initialize_instance_slot
987 - adjusted all the examples to use the new attribute
988 initialize_instance_slot method
990 0.24 Tues. April 11, 2006
992 - cleaned up how the before/after/around method
993 modifiers get named with Sub::Name
995 0.23 Thurs. March 30, 2006
997 - fixed the way attribute defaults are handled
998 during instance construction (bug found by chansen)
1000 * Class::MOP::Attribute
1001 - read-only accessors ('reader') will now die if
1002 passed more than one argument (attempting to write
1004 - added tests for this
1005 - adjusted all /example files to comply
1007 0.22 Mon. March 20, 2006
1009 - localized $@ in the *_package_variable functions
1010 because otherwise, it does ugly things in Moose.
1011 - added test case for this
1013 0.21 Wed. March 15, 2006
1015 - fixed issue where metaclasses are reaped from
1016 our cache in global destruction, and so are not
1017 available in DESTORY calls
1019 0.20 Thurs. March 2, 2006
1020 - removed the dependency for Clone since
1021 we no longer to deep-cloning by default.
1023 * Class::MOP::Method
1024 - added &package_name, &name and
1025 &fully_qualified_name methods, some of
1026 which were formerly private subs in
1029 * Class::MOP::Method::Wrapped
1030 - allows for a method to be wrapped with
1031 before, after and around modifiers
1032 - added tests and docs for this feature
1035 - improved &get_package_symbol
1036 - &version and &superclasses now use it
1037 - methods are now blessed into Class::MOP::Method
1039 - added methods to install CLOS-style method modifiers
1040 - &add_before_method_modifier
1041 - &add_after_method_modifier
1042 - &add_around_method_modifier
1043 - added tests and docs for these
1044 - added &find_next_method_by_name which finds the
1045 equivalent of SUPER::method_name
1047 0.12 Thurs. Feb 23, 2006
1048 - reduced the dependency on B, no need to always
1052 - added docs to the C3 method dispatch order test
1053 - fixed missing Algorithm::C3 dependency by making
1054 the test skip if it is not installed
1056 0.11 Mon Feb. 20, 2006
1058 - added example of changing method dispatch order to C3
1061 - changed how clone_instance behaves, it now only does a
1062 shallow clone (see docs for more details)
1063 - added docs and tests
1065 0.10 Tues Feb. 14, 2006
1066 ** This release was mostly about writing more tests and
1067 cleaning out old and dusty code, the MOP should now
1068 be considered "ready to use".
1070 - adding more tests to get coverage up a little higher,
1071 mostly testing errors and edge cases.
1072 - test coverage is now at 99%
1075 - no longer optionally exports to UNIVERSAL::meta or
1076 creates a custom metaclass generator, use the
1077 metaclass pragma instead.
1080 - fixed a number of minor issues which came up in the
1081 error/edge-case tests
1083 * Class::MOP::Attribute
1084 - fixed a number of minor issues which came up in the
1085 error/edge-case tests
1088 - fixing the AttributesWithHistory example, it was broken.
1090 0.06 Thurs Feb. 9, 2006
1092 - adding new metaclass pragma to make setting up the
1093 metaclass a little more straightforward
1096 - clean up bootstrapping to include more complete
1097 attribute definitions for Class::MOP::Class and
1098 Class::MOP::Attribute (accessors, readers, writers,
1099 etc.) ... it is redundant, but is useful meta-info
1103 - fixing minor meta-circularity issue with &meta, it
1104 is now more useful for subclasses
1105 - added &get_attribute_map as an accessor for the
1106 hash of attribute meta objects
1107 - &compute_all_applicable_attributes now just returns
1108 the attribute meta-object, rather than the HASH ref
1109 since all the same info can be gotten from the
1110 attribute meta-object itself
1111 - updated docs & tests to reflect
1112 - added &clone_instance method which does a deep clone
1113 of the instance structure created by &construct_instance
1114 - added docs & tests for this
1115 - added Clone as a dependency
1116 - added &new_object and &clone_object convience methods to
1117 return blessed new or cloned instances
1118 - they handle Class::MOP::Class singletons correctly too
1119 - added docs & tests for this
1120 - cleaned up the &constuct_class_instance so that it behaves
1121 more like &construct_instance (and managed the singletons too)
1122 - added the &check_metaclass_compatibility method to make sure
1123 that metaclasses are upward and downward compatible.
1124 - added tests and docs for this
1127 - adjusting code to use the &Class::MOP::Class::meta
1129 - adjusting code to use the metaclass pragma
1131 0.05 Sat Feb. 4, 2006
1133 - added the &attribute_metaclass and &method_metaclass
1134 attributes which contain a metaclass name to use for
1135 attributes/methods respectively
1138 - bootstrap additional attributes for Class::MOP::Class
1141 - adjusted the example code and tests to use the new
1142 &attribute_metaclass feature of Class::MOP::Class
1143 - added new example:
1146 0.04 Fri Feb. 3, 2006
1148 - some documentation suggestions from #perl6
1150 * Class::MOP::Attribute
1151 - improved error messages
1154 - added new examples:
1155 - AttributesWithHistory
1156 - ClassEncapsultedAttributes
1158 0.03 Fri Feb. 3, 2006
1159 - converted to Module::Build instead of EU::MM
1161 * Class::MOP::Attribute
1162 - refactored method generation code
1163 - attributes are now associated with class directly
1166 - refactored the InsideOut example to take advantage
1167 of the Class::MOP::Attribute refactoring
1168 - changed example files to .pod files and hide thier
1169 package names from PAUSE (I don't want to own these
1170 namespaces really, they are just examples)
1172 0.02 Thurs Feb. 2, 2006
1173 - moving examples from t/lib/* to examples/*
1174 - adding POD documentation to the examples
1176 0.01 Thurs Feb. 2, 2006