1 Revision history for Perl extension Class-MOP.
3 0.78 Mon, February 23, 2009
4 * No changes from 0.77_01
6 0.77_01 Sun, February 22, 2009
8 - This package now requires its XS components. Not using
9 Sub::Name lead to different behavior and bugginess in the pure
10 Perl version of the code. A Moose test would fail when run
11 against the pure Perl version of this code.
13 * Class::MOP::Instance
14 - The inline_* methods now quote attribute names themselves, and
15 don't expect to receive a quoted value.
18 0.77 Sat, February 14, 2009
20 - Avoid assertion errors on debugging perls in is_class_loaded
24 - Fixed various corner cases where is_class_loaded incorrectly
25 returned true for a class that wasn't really loaded. (Dave
29 - Add get_all_method_names (Sartak)
30 - Add a wrapped_method_metaclass attribute (Florian Ragwitz)
33 - Disable deprecated get_all_package_symbols in list
34 context. (Florian Ragwitz)
37 - Make sure we generate a BSD-compatible Makefile (Florian
41 - The misspelled "check_metaclass_compatability" method we've
42 kept around for backwards compat_i_bility will be removed in a
43 near future release. You've been warned.
45 0.76 Thu, January 22, 2009
46 * Class::MOP::Method::Generated
47 - Added new private methods to support code generation, which
48 are being used by Moose and can be used by MooseX
50 - Generated methods are now generated with a #line directive
51 reflecting the source of the generated method. (nothingmuch)
54 - Clarified documentation of methods that return
55 Class::MOP::Method objects. (doy)
58 - Clarified documentation of the metaclass cache methods. (Sartak)
61 - Add test showing how the xs Class::MOP::is_class_loaded can
62 be made to operate differently to the pure perl version (t0m)
64 0.75 Wed, December 31, 2008
66 - A class that was made immutable and then mutable could end up
67 sharing an immutable transformer object
68 (Class::MOP::Immutable) with other classes, leading to all
69 sorts of odd bugs. Reported by t0m. (Dave Rolsky)
71 0.74 Tue, December 25, 2008
73 - Add an xs implementation of Class::MOP::is_class_loaded (closes
74 RT#41862). Based on a patch by Goro Fuji. (Florian Ragwitz)
75 - Changed internals to make prehashing of hash keys easier and less
76 error-prone. (Florian Ragwitz)
78 - Fix documentation to show that around modifiers happen on both
79 sides of the modified method. (Dave Rolsky)
81 0.73 Tue, December 16, 2008
83 - Don't use Perl_mro_meta_init. It's not part of the public perl
84 api. Fixes failures to build on Win32 (RT #41750). (Florian
86 * t/082_get_code_info.t
87 - Add $^P &= ~0x200; (per Ovid's suggestion) in order to not
88 munger anonymous subs when under -d and so making the tests
91 0.72 Mon, December 8, 2008
93 - Pass options to _new, so subclass' attributes can be
96 - In the docs, indicate that package_name and name are required
97 when calling ->wrap (Stefan O'Rear)
99 0.71_02 Fri, December 5, 2008
100 * Class::MOP::Immutable
101 - Added a new attribute, inlined_constructor, which is true if
102 the constructor was inlined.
103 * Class::MOP::Package
104 - Make get_all_package_symbols return a hash ref in scalar
105 context and deprecate calling it in list context with a
106 warning. (Florian Ragwitz)
108 - Various improvements and refactoring, making things more robust and
109 easier to maintain. (Florian Ragwitz)
111 0.71_01 Wed, December 3, 2008
113 - Add an "execute" method to invoke the body so
114 we can avoid using the coderef overload (Sartak)
115 * Class::MOP::Immutable
116 - When we memoize methods, get their results lazily
117 to remove some compile-time cost (Sartak)
118 - Small speedup from eliminating several method
121 - Some small internal tweaks to try to reduce the number of
122 times we call get_method_map when bootstrapping the MOP. This
123 might make loading Class::MOP (and Moose) a little
124 faster. (Dave Rolsky)
125 - Implemented an optional XS version of get_method_map. Mostly
126 taken from a patch by Goro Fuji (rt.cpan.org #41080), with
127 help form Florian Ragwitz. (Dave Rolsky)
128 - Make the behaviour of of get_all_package_symbols (and
129 therefore get_method_map) consistent for stub methods. Report
130 and test by Goro Fuji (rt.cpan.org #41255). (Florian Ragwitz)
132 0.71 Wed November 26, 2008
135 - Actual package creation has moved upward from
136 Class to Module so that Moose roles can share
139 0.70_01 Mon, November 19, 2008
141 - Fixes for failures with blead (Florian Ragwitz)
142 - Silenced compiler warnings (Florian Ragwitz)
144 0.70 Fri, November 14, 2008
146 - Fixed an odd corner case where the XS version of
147 get_all_package_symbols could cause a segfault. This only
148 happened with inlined constants in Perl 5.10.0 (Florian
151 0.69 Fri, November 7, 2008
152 * Class::MOP::Method::Wrapped
153 - Added introspection methods for method modifiers (Dave Rolsky)
156 0.68 Fri October 24, 2008
158 - Make load_class require by file name instead of module name.
159 This stops confusing error messages when loading '__PACKAGE__'.
161 - Add load_one_class_of function to enable you to load one of a
162 list of classes, rather than having to call load_class multiple
163 times in an eval. (t0m)
165 0.67 Tue October 14, 2008
167 - Call a method on the class after setting the superclass list
168 so that we can get Perl to detect cycles before MRO::Compat
169 spirals into an infinite loop (sartak)
170 - Reported by Schwern, [rt.cpan.org #39001]
171 - In create(), pass unused options on to initialize()
172 - added test for this
174 0.66 Sat September 20, 2008
175 !! This release has an incompatible change regarding !!
176 introspection of a class's method with Class::MOP::Class !!
179 - We (us maintainers) now run all tests with XS and then without
180 XS, which should help us catch skew between the XS/pure Perl
184 ! The alias_method method has been deprecated. It now simply
185 calls add_method instead. There is no distinction between
186 aliased methods and "real" methods.
188 This means that methods added via alias_method now show up as
189 part of the class's method list/map. This is a backwards
190 incompatible change, but seems unlikely to break any
191 code. Famous last words. (Dave Rolsky)
194 - Fixed the spelling of "compatibility", but we still have a
195 "check_metaclass_compatability" method for backwards
198 0.65 Mon September 1, 2008
199 For those not following the series of dev releases, the changes
200 from 0.64 from 0.65 can mostly be summed up as a lot performance
201 improvements by nothingmuch, including new optional XS versions of
202 some methods. Also, Class::MOP now works _without_ any XS modules,
203 for sad systems without a compiler.
206 - Added name and package_name XS accessors, and make sure all
207 the XS and Perl versions work the same way. (Dave Rolsky)
210 - The XS versions of various methods just returned undef when
211 called class methods, rather than dying like the pure Perl
212 versions. (Dave Rolsky)
214 0.64_07 Fri August 29, 2008
216 - Silenced warnings that managed to break Moose tests when XS
217 was loaded. (Dave Rolsky)
218 - Some XS versions of methods were ignored because of typos in
219 MOP.xs. (Dave Rolsky)
221 0.64_06 Mon August 25, 2008
222 * Class::MOP (MOP.xs)
223 - Another MS VC++ fix, cannot declare a variable in the middle
224 of a scope (Taro Nishino).
226 0.64_05 Sun August 24, 2008
228 - None of the dev releases actually loaded the XS properly, but
229 we silently fell back to the pure Perl version of the
232 * Class::MOP (MOP.xs)
233 - Replaced some code that used functions not available on Visual
234 C++ with some Perl XS API bits (Dave Rolsky).
236 0.64_04 Sat August 23, 2008
238 - Workaround a bug in 5.8.1's goto sub (nothingmuch)
240 * pod.t and pod_coveraget.t
241 - These are no longer shipped with the tarball because of bogus
242 failures from CPAN testers. (Dave Rolsky)
244 0.64_03 Thu August 21, 2008
245 * Class::MOP::Package
246 - Some (legit) code was misparsed by earlier 5.8.x
247 releases. (nothingmuch)
250 - Fix a constant in void context warning (nothingmuch)
252 0.64_02 Thu August 21, 2008
253 * Makefile.PL and Class::MOP
254 - Explicitly require Perl 5.8.0+ (Dave Rolsky)
257 - Add missing prereqs that got lost in the switch away from
260 * Class::MOP::Instance
261 - New method - get_all_attributes (nothingmuch)
263 0.64_01 Wed August 20, 2008
265 - We now check to see if you have a compiler. If you don't, the
266 module installs without some XS bits, but will work the same
267 as with XS. This should make it easier to install on platforms
268 without a compiler (like Windows). (Dave Rolsky)
271 - Perl 6 style attribute naming replaced with sane style ('methods', not
272 '%!methods'). These changes should not impact any existing API uses.
276 - Quite a number of optimizations based on profiling, including
277 allowing constructors to take hash references instead of
278 hashes, duplicating some frequently used code in XS, and
279 making constructors immutable. These changes should not impact
280 any existing API uses. (nothingmuch)
283 - Constructors now respect the meta attributes of their subclasses,
284 facilitating MOP extensibility. More related changes will happen in the
285 next several releases. (nothingmuch)
288 - New method - get_all_methods, replaces the deprecated
289 compute_all_applicable_methods. get_all_attributes provided for
290 consistency (nothingmuch)
291 - New method - wrap_method was refactored out of get_method_map
293 - New API for meta instance invalidation - invalidate_meta_instance,
294 invalidate_meta_instances, add_dependent_meta_instance,
295 remove_dependent_meta_instance, called automatically when attribute
296 definitions change and allows notification of dependent subclasses.
299 0.64 Sun August 3, 2008
300 * Class::MOP::Immutable
301 - fixing subtle edge case in immutable when you
303 - clean up option processing (nothingmuch)
305 * Class::MOP::Instance
306 - inlined initialize slot didn't match
307 non-inlined (nothingmuch)
309 0.63 Mon July 7, 2008
311 - load_class will initialize a metaclass even if
312 the class is already loaded (sartak)
313 - load_class now returns the metaclass instance
314 instead of just 1 (sartak)
317 - better error messages (sartak and Dave Rolsky)
319 0.62 Wed June 18, 2008
320 - in is_class_loaded, recognize scalar references (as opposed to globs) in
321 the symbol table as methods (these are optimized constant subs)
323 0.61 Fri. June 13, 2008
324 - Okay, lets give this another try and see if PAUSE
325 recognizes it correct this time.
327 0.60 Thurs. Jun 12, 2008
328 - Fixed a version number issue by bumping all modules
331 0.59 Thurs. Jun 12, 2008
332 !! Several fixes resulting in yet another 25-30% speedup !!
335 - now stores the instance of the instance
336 metaclass to avoid needless recomputation
337 and deletes it when the cache is blown
338 - introduce methods to query Class::MOP::Class for
339 the options used to make it immutable as well as
340 the proper immutable transformer. (groditi)
342 * Class::MOP::Package
343 - {add, has, get, remove}_package_symbol all
344 now accept a HASH ref argument as well as the
345 string. All internal usages now use the HASH
349 - MOP.xs does sanity checks on the coderef
351 - is_class_loaded check now uses code that
352 was improved in Moose's ClassName type
354 - nonsensical (undef, empty, reference) class
355 names now throw a more direct error in
357 - tests for this and other aspects of
363 Class::MOP::Method::Wrapped
364 Class::MOP::Attribute
365 - switched usage of reftype to ref because
368 0.58 Thurs. May 29, 2008
369 (late night release engineering)--
371 - fixing the version is META.yml, no functional
372 changes in this release
374 0.57 Wed. May 28, 2008
375 !! Several speedups resulting in 20-25% speedups !!
376 || (thanks to konobi, groditi, mst & CataMoose) !!
379 - made get_method_map use list_all_package_symbols
380 instead of manually grabbing each symbol
381 - streamlining &initialize somewhat, since it gets
384 * Class::MOP::Package
385 - made {get, has}_package_symbol not call
387 - inlining a few calls to &name with
388 direct HASH access key access
389 - added get_all_package_symbols to fetch
390 a HASH of items based on a type filter
391 similar to list_all_package_symbols
392 - added tests for this
395 Class::MOP::Method::Constructor
396 Class::MOP::Method::Generated
397 Class::MOP::Method::Accessor
398 - added more descriptive error message to help
399 keep people from wasting time tracking an error
400 that is easily fixed by upgrading.
402 * Class::MOP::Immutable
403 - Don't inline a destructor unless the user actually
405 - added tests for this
407 0.56 Saturday, May 24, 2008
409 - we now get the &check_package_cache_flag
410 function from MRO::Compat
411 - All XS based functionality now has a
412 Pure Perl alternative
413 - the CLASS_MOP_NO_XS environment variable
414 can now be used to force non-XS versions
417 * Class::MOP::Attribute
418 - add has_read_method and has_write_method
419 - get_{read,write}_method_ref now wraps the
420 anon-sub ref in the method metaclass when
422 - added tests for this
424 * Class::MOP::Immutable
425 - added the ability to "wrap" methods when
426 making the class immutable
429 - now handling the edge case of ->meta->identifier
430 dying by wrapping add_package_symbol to specifically
431 allow for it to work.
432 - added tests for this
434 * Class::MOP::Attribute
436 Class::MOP::Immutable
437 - any time a method meta object is constructed
438 we make sure to pass the correct package and
439 method name information
442 Class::MOP::Method::Wrapped
443 Class::MOP::Method::Generated
444 Class::MOP::Method::Accessor
445 Class::MOP::Method::Consructor
446 - the &wrap constructor method now requires that a
447 'package_name' and 'name' attribute are passed. This
448 is to help support the no-XS version, and will
449 throw an error if these are not supplied.
450 - all these classes are now bootstrapped properly
451 and now store the package_name and name attributes
454 ~ Build.PL has been removed since the
455 Module::Install support has been removed
457 0.55 Mon. April 28, 2008
458 - All classes now have proper C3 MRO support
459 - added MRO::Compat as a dependency to allow
460 for the C3 MRO support to Just Work in all
464 - rebless_instance now returns the instance
465 it has just blessed, this is mostly to
467 - set the attr correctly in rebless_instance
468 when it has no init_arg
469 - tweaked &linear_isa and &class_precedence_list
470 to support c3 classes.
472 0.54 Fri. March, 14, 2008
475 - making sure that load_class never gets
476 passed a value from @_ or $_ to squash
477 Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
480 - make_{immutable,mutable} now return 1
482 - improved error handling in ->create method
483 - rebless_instance now takes extra params which
484 will be used to populate values
485 - added tests for this
488 - localizing the Data::Dumper configurations so
489 that it does not pollute others (RT #33509)
495 Class::MOP::Attribute
496 - these classes no longer define their own ->meta,
497 but instead just inherit from Class::MOP::Object
499 * Class::MOP::Instance
500 Class::MOP::Immutable
501 - these classes now inherit from Class::MOP::Object
504 - fixed the filename length on several
505 test files so we install on VMS better
507 - fixed incorrect use of catdir when it
508 should be catfile (RT #32385)
510 0.53 Thurs. Feb. 14, 1008
511 ~~ several doc. fixes and updates ~~
514 Class::MOP::Method::Constructor
515 Class::MOP::Attribute
516 - making init_arg accept an undefined value
517 to indicate that no constructor args can
518 be passed (thanks to nothingmuch)
519 - added tests for this
520 - added attribute initializer attribute (rjbs)
523 - making this use the new init_arg => undef
524 feature instead of the silly hack from
525 before (thanks to nothingmuch)
527 0.52 Tues. Jan. 22, 2008
529 - fixed bug in rebless_instance
532 * Class::MOP::Method::Constructor
533 - removed assumptions about the existence of
536 0.51 Mon. Jan. 14, 2008
537 ~~~ some misc. doc. fixes ~~~
538 ~~ updated copyright dates ~~
541 - now sets the IS_RUNNING_ON_5_10
542 constant so that we can take advantage
543 of some of the nice bits of 5.10
546 - uses the IS_RUNNING_ON_5_10 flag to
547 optimize the &linearized_isa method
548 and avoid the hack/check for circular
549 inheritence in &class_precedence_list
550 - added rebless_instance method (Sartak)
551 - added tests for this
553 * Class::MOP::Immutable
554 - the immutable class now keeps track of
555 the transformer which immutablized it
557 * Class::MOP::Instance
558 - added rebless_instance_structure method (Sartak)
559 - added tests for this
561 0.50 Fri. Dec. 21, 2007
563 - fixed bug in immutable to make sure that
564 transformation arguments are saved
566 - added tests for this
568 * Class::MOP::Immutable
569 - fixed a bug (see above)
571 * Class::MOP::Attribute
574 0.49 Fri. Dec. 14, 2007
575 !! Class::MOP now loads 2 x faster !!
576 !! with XS speedups (thanks konobi) !!
579 - removed the dependency on B
580 - added two XS functions (thanks konobi)
581 - get_code_info($code) which replaces all
582 the B fiddling we were doing with
583 faster/leaner XS level fiddling
584 - check_package_cache_flag($pkg_name) which
585 returns the PL_sub_generation variable to
586 be used to help manage method caching.
589 In 5.10 or greater this will actually
590 use the mro::get_pkg_gen instead to give
591 even more accurate caching information.
592 blblack++ for that stuff :)
595 - added the &subclasses method (thanks rlb)
596 - added the update_package_cache_flag and
597 reset_package_cache_flag which help keep
598 track of when we need to re-fetch the
600 - Several small improvements to take advantage
601 of the new method map caching features
603 0.48 Mon. Nov. 26, 2007
604 * Class::MOP::Attribute
605 - fixed get_read/write_method to handle the
606 HASH ref case, which makes the
607 get_read/write_method_ref handle it too.
608 - added more tests for this
610 0.47 Sat. Nov. 24, 2007
611 * Class::MOP::Attribute
612 - fixed misspelling in get_write_method_ref
613 - added more tests for this
615 0.46 Fri. Nov. 23, 2007
617 - added the linearized_isa method instead of constantly
618 pruning duplicate classes (this will be even more
619 useful in the 5.10-compat version coming soon)
621 * Class::MOP::Attribute
622 - added the get_read_method_ref and get_write_method_ref
623 methods which allow you to retrieve a CODE ref which
624 can always be used to read or write an attribute.
626 0.45 Thurs. Nov. 13, 2007
627 * Class::MOP::Attribute
628 - Fix error message on confess (groditi)
630 0.44 Thurs. Nov. 13, 2007
631 - Apparently I didn't make dist correctly (groditi)
633 0.43 Thurs. Nov. 13, 2007
635 - Add support for the 'builder' attribute (groditi)
638 - optimise metaclass-already-exists check in
639 construct_class_instance (groditi)
640 - duplicate check into initialize to save a
641 call through (groditi)
643 * Class::MOP::Attribute
644 - Add support for the 'builder' attribute (groditi)
645 - Make predicates check for the existence of a value, not whether
646 it is defined (groditi)
648 * Class::MOP::Instance
649 - Make predicates check for the existence of a value, not whether
650 it is defined (groditi)
652 * Class::MOP::Method::Accessor
653 - made this a subclass of Class::MOP::Method::Generated
654 - removed the relevant attributes
656 * Class::MOP::Method::Constructor
657 - fixed the cached values we had to be more sane
658 - made this a subclass of Class::MOP::Method::Generated
659 - fixed generated constructor so it properly handles
661 - added tests for this
662 - added the option to allow for both inlined and
663 non-inlined constructors.
664 - Update inlined methods for builder and predicate changes (groditi)
666 * Class::MOP::Method::Generated
667 - added this class as an abstract base for the
668 Class::MOP::Method::{Constructor,Accessor} classes
669 - added tests for this
672 - Alter tests (005, 014 020, 021) for new builder addition (groditi)
673 - Tests for new predicate behavior (and corrections to old tests) (groditi)
676 - Update ArrayRef based class example to work with predicate changes
678 0.42 Mon. July 16, 2007
679 !!! Horray for mst, he fixed it !!!
681 * Class::MOP::Package
682 - alter symbol table handling to deal with 5.8.x and 5.9.x
685 - Get rid of the crappy workaround from 0.40/41
687 0.41 Sun. July 15, 2007
689 Arghh!!! My TODO test didn't work, so I handle
690 it manually now so that people can use this
691 with 5.9.5/bleadperl without issue.
693 0.40 Tues, July 3, 2007
695 ~ marked a test in 003_methods.t as TODO
696 for perl 5.9.5 (this test is irrelvant to
697 the module functioning on 5.9.5 for the most
700 0.39 Mon. June 18, 2007
701 * Class::MOP::Immutable
702 - added make_metaclass_mutable + docs (groditi)
703 - removed unused variable
704 - added create_immutable_transformer
705 necessary for sane overloading of immutable behavior
706 - tests for this (groditi)
709 - Immutability can now be undone,
710 added make_mutable + tests + docs (groditi)
711 - Massive changes to the way Immutable is done
712 for details see comments next to make_immutable
713 This fixes a bug where custom metaclasses broke
714 when made immutable. We are now keeping one immutable
715 metaclass instance per metaclass instead of just one
716 to prevent isa hierarchy corruption. Memory use will go
717 up, but I suspect it will be neglible.
718 - New tests added for this behavior. (groditi)
720 0.38 Thurs. May 31, 2007
721 ~~ More documentation updates ~~
723 * Class::MOP::Package
724 - we now deal with stub methods properly
725 - added tests for this
726 - fixed some tests failing on 5.9.5 (thanks blblack)
728 * Class::MOP::Attribute
729 - added get_read_method and get_write_method
730 thanks to groditi for this code, tests
732 - added tests and POD for this
735 - fixed RT issue #27329, clone object now
736 handles undef values correctly.
737 - added tests for this
738 - Corrected anon-class handling so that they
739 will not get reaped when instances still
740 exist which need to reference them. This is
741 the correct behavior, hopefully this is an
742 obscure enough feature that there are not too
743 many work arounds out in the wild.
744 - added tests for this by groditi
745 - updated docs to explain this
748 - load custom metaclasses automatically (thanks groditi)
749 - added tests for this behavior
751 0.37 Sat. March 10, 2007
752 ~~ Many, many documentation updates ~~
755 - added &load_class and &is_class_loaded
756 - added tests and docs for these
758 * Class::MOP::Attribute
759 - default now checks the instance with defined to
760 avoid setting off bool-overloads (found by Carl Franks)
764 - bad name in a test, causing meaningless failuress.
770 - All attribute names are now consistent and follow Perl 6
771 style (prefixed with the sigil, and ! as the twigil for
772 private attrs). This should not affect any code, unless
773 you broke encapsulation, in which case, it is your problem
776 !! Class::MOP::Class::Immutable has been removed
778 * Class::MOP::Method::Constructor
779 - this has been moved out of Class::MOP::Class::Immutable
780 and is a proper subclass of Class::MOP::Method now.
783 - this module now uses Class::MOP::Immutable for the
784 immutable transformation instead of
785 Class::MOP::Class::Immutable.
787 + Class::MOP::Immutable
788 - this module now controls the transformation from a mutable
789 to an immutable version of the class. Docs for this will
790 be coming eventually.
793 0.36 Sun. Nov. 5, 2006
795 - added a few 'no warnings' lines to keep annoying
796 (and meaningless) warnings from chirping during
800 - some more bootstrapping is now done on the new
803 * Class::MOP::Class::Immutable
805 - constructor generation is now handled by
806 the Class::MOP::Method::Constructor class
808 * Class::MOP::Method::Constructor
809 - created this to handle constructor generation
810 in Class::MOP::Class::Immutable
812 * Class::MOP::Attribute
814 - attributes now delegate to the
815 Class::MOP::Method::Accessor to generate
818 * Class::MOP::Method::Accessor
819 - all accessor generation functions from
820 Class::MOP::Attribute have been moved here
822 0.35 Sat. Sept. 30, 2006
824 * scripts/class_browser.pl
825 - initial prototype of a class browser, more
826 on this to come. Comments and patches are
830 - All Class::MOP::* accessors are no longer
831 re-generated in the bootstrap, instead
832 they are aliased from the originals
833 - fixed tests to reflect
834 - added Class::MOP::Method (and its subclasses)
836 - adjusted tests for this
837 - added the Class::MOP::Instance attributes
842 - methods are no longer blessed CODE refs
843 but are actual objects which can be CODE-ified
844 - adjusted tests to compensate
845 - adjusted docs for this
848 - changed how methods are dealt with to
849 encapsulate most of the work into the
850 &get_method_map method
851 - made several adjustments for the change
852 in Class::MOP::Method
853 - &add_attribute now checks if you are adding
854 a duplicate name, and properly removes the
855 old one before installing the new one
856 - added tests for this
857 - adjusted docs for this
859 * Class::MOP::Class::Immutable
860 - added caching of &get_method_map
861 - fixed issue with &get_package_symbol
862 - cleaned up the methods that die (patch by David Wheeler)
864 * Class::MOP::Package
865 - added filtering capabilities to
866 &list_all_package_symbols
868 0.34 Sat. Aug. 26, 2006
870 - added the %:methods attribute, which like
871 the $:version and such just actually goes
872 to the symbol table to get it's stuff.
873 However, it makes the MOP more complete.
875 - The &create method now requires that all
876 but the package name now is passed in as
877 named parameters. See docs for more info.
878 - updated docs and tests for this
881 - added &dump method to easily Data::Dumper
885 - cleaned up the initialization of attributes
886 which do not store things in the instance
887 - added the %:methods attribute definition to
890 ~ lots of misc. test cleanup
892 0.33 Sat. Aug. 19, 2006
894 - moved the metaclass cache out of here
895 and it is now in Class::MOP itself.
898 - moved all the metaclass cache stuff here
899 - fixed all tests for this
901 * Class::MOP::Attribute
902 - reference values (other than CODE refs)
903 are no longer allowed for defaults
904 - added tests for this
906 * Class::MOP::Package
907 - fixed an issue with perl 5.8.1 and how it deals
908 with symbol tables. The namespace hash is now
909 always reloaded from the symbol table.
911 ~ lots of misc. documentation cleanup
913 0.32 Sat. Aug. 12, 2006
914 + added Class::MOP::Object so that the
915 metamodel is more complete (and closer
916 to what Perl 6 will probably be).
918 * Class::MOP::Package
919 - refactored entire class, this is now
920 the primary gateway between the metaclass
921 and the Perl 5 symbol table
922 - added many tests for this
923 - this class is now a subclass of
925 - added some tests to reflect this
928 - refactored all symbol table access to
929 use Class::MOP::Package methods instead
932 - adding the $:version attribute in the bootstrap
933 so that Module has a version as an attribute
934 - see comment in Class::MOP for details
935 - added the $:authority attribute to this module
936 as well as an &identifier method, to bring us
937 ever closer to Perl 6 goodness
938 - I have added $AUTHORITY to all the modules
939 - added tests for this
941 * Class::MOP::Instance
942 - added &deinitialize_slot for removing slots
944 - added tests for this
946 * Class::MOP::Attribute
947 - added support for &deinitialize_slot for removing
948 slots from an instance
949 - added tests for this
951 0.31 Sat. July 15, 2006
954 - added &find_method_by_name to locate a method
955 anywhere within the class hierarchy
957 * Class::MOP::Attribute
958 - added &set_value and &get_value for getting
959 the value of the attribute for a particular
962 0.30 Wed. July 5, 2006
963 ---------------------------------------
964 This is the first version of Class::MOP
965 to introduce the immutable features which
966 will be used for optimizating the MOP.
967 This support should still be considered
968 experimental, but moving towards stability.
969 ---------------------------------------
971 * Created Class::MOP::Class::Immutable
973 * Created the Class::MOP::Package and
974 Class::MOP::Module classes to more
975 closely conform to Perl 6's meta-model
978 - now inherits from Class::MOP::Module
979 - several methods moved to ::Module and
980 ::Package and now inherited
981 - added tests for this
983 * Class::MOP::Instance
984 - added an is_inlinable method to allow other
985 classes to check before they attempt to optimize.
986 - added an inline_create_instance to inline
987 instance creation (of course)
990 - the Class::MOP::Class::*_package_variable
991 methods are all now methods of Class::MOP::Package
992 and called *_package_symbol instead. This is
993 because they are now more general purpose symbol
994 table manipulation methods.
996 0.29_02 Thurs. June 22, 2006
997 ++ DEVELOPER RELEASE ++
999 - small change in &create so that it behaves
1000 properly when inherited
1001 - small fix to &clone_instance
1003 0.29_01 Fri. May 12, 2006
1004 ++ DEVELOPER RELEASE ++
1005 - This release works in combination with
1006 Moose 0.09_01, it is a developer release
1007 because it introduces a new instance
1008 sub-protocol and has not yet been
1012 - anon-classes are now properly garbage collected
1013 - added tests for this
1014 - improved method modifier wrapping
1016 * Class::MOP::Instance
1017 - added new instance protocol
1018 - added tests for this
1019 - changed all relevant modules and examples
1021 - Class::MOP::Attribute
1025 - you no longer need to specify the metaclass
1026 itself, if it is not there, Class::MOP::Class
1028 - updated tests for this
1031 - added ArrayBasedStorage example to show
1032 instance storage using ARRAY refs instead of
1034 - added tests for this
1035 - InsideOutClass is totally revised using the
1036 new instance protocol
1037 - added more tests for this
1039 0.26 Mon. April 24, 2006
1041 - added find_attribute_by_name method
1042 - added tests and docs for this
1043 - some small optimizations
1045 * Class::MOP::Attribute
1046 - some small optimizations
1048 0.25 Thurs. April 20, 2006
1050 - added create_anon_class for creating anonymous classes
1051 - added tests for this
1052 - added get_all_metaclasses, get_all_metaclass_names
1053 and get_all_metaclass_instances method to allow
1054 access to all the cached metaclass objects.
1055 - attribute slot initialization is now the responsibility
1056 of the attribute itself, and construct_instance now
1057 delegates appropriately
1059 * Class::MOP::Attribute
1060 - attribute slot initialization is now the responsibility
1061 of the attribute itself, so we added a method for it
1062 called initialize_instance_slot
1065 - adjusted all the examples to use the new attribute
1066 initialize_instance_slot method
1068 0.24 Tues. April 11, 2006
1070 - cleaned up how the before/after/around method
1071 modifiers get named with Sub::Name
1073 0.23 Thurs. March 30, 2006
1075 - fixed the way attribute defaults are handled
1076 during instance construction (bug found by chansen)
1078 * Class::MOP::Attribute
1079 - read-only accessors ('reader') will now die if
1080 passed more than one argument (attempting to write
1082 - added tests for this
1083 - adjusted all /example files to comply
1085 0.22 Mon. March 20, 2006
1087 - localized $@ in the *_package_variable functions
1088 because otherwise, it does ugly things in Moose.
1089 - added test case for this
1091 0.21 Wed. March 15, 2006
1093 - fixed issue where metaclasses are reaped from
1094 our cache in global destruction, and so are not
1095 available in DESTORY calls
1097 0.20 Thurs. March 2, 2006
1098 - removed the dependency for Clone since
1099 we no longer to deep-cloning by default.
1101 * Class::MOP::Method
1102 - added &package_name, &name and
1103 &fully_qualified_name methods, some of
1104 which were formerly private subs in
1107 * Class::MOP::Method::Wrapped
1108 - allows for a method to be wrapped with
1109 before, after and around modifiers
1110 - added tests and docs for this feature
1113 - improved &get_package_symbol
1114 - &version and &superclasses now use it
1115 - methods are now blessed into Class::MOP::Method
1117 - added methods to install CLOS-style method modifiers
1118 - &add_before_method_modifier
1119 - &add_after_method_modifier
1120 - &add_around_method_modifier
1121 - added tests and docs for these
1122 - added &find_next_method_by_name which finds the
1123 equivalent of SUPER::method_name
1125 0.12 Thurs. Feb 23, 2006
1126 - reduced the dependency on B, no need to always
1130 - added docs to the C3 method dispatch order test
1131 - fixed missing Algorithm::C3 dependency by making
1132 the test skip if it is not installed
1134 0.11 Mon Feb. 20, 2006
1136 - added example of changing method dispatch order to C3
1139 - changed how clone_instance behaves, it now only does a
1140 shallow clone (see docs for more details)
1141 - added docs and tests
1143 0.10 Tues Feb. 14, 2006
1144 ** This release was mostly about writing more tests and
1145 cleaning out old and dusty code, the MOP should now
1146 be considered "ready to use".
1148 - adding more tests to get coverage up a little higher,
1149 mostly testing errors and edge cases.
1150 - test coverage is now at 99%
1153 - no longer optionally exports to UNIVERSAL::meta or
1154 creates a custom metaclass generator, use the
1155 metaclass pragma instead.
1158 - fixed a number of minor issues which came up in the
1159 error/edge-case tests
1161 * Class::MOP::Attribute
1162 - fixed a number of minor issues which came up in the
1163 error/edge-case tests
1166 - fixing the AttributesWithHistory example, it was broken.
1168 0.06 Thurs Feb. 9, 2006
1170 - adding new metaclass pragma to make setting up the
1171 metaclass a little more straightforward
1174 - clean up bootstrapping to include more complete
1175 attribute definitions for Class::MOP::Class and
1176 Class::MOP::Attribute (accessors, readers, writers,
1177 etc.) ... it is redundant, but is useful meta-info
1181 - fixing minor meta-circularity issue with &meta, it
1182 is now more useful for subclasses
1183 - added &get_attribute_map as an accessor for the
1184 hash of attribute meta objects
1185 - &compute_all_applicable_attributes now just returns
1186 the attribute meta-object, rather than the HASH ref
1187 since all the same info can be gotten from the
1188 attribute meta-object itself
1189 - updated docs & tests to reflect
1190 - added &clone_instance method which does a deep clone
1191 of the instance structure created by &construct_instance
1192 - added docs & tests for this
1193 - added Clone as a dependency
1194 - added &new_object and &clone_object convience methods to
1195 return blessed new or cloned instances
1196 - they handle Class::MOP::Class singletons correctly too
1197 - added docs & tests for this
1198 - cleaned up the &constuct_class_instance so that it behaves
1199 more like &construct_instance (and managed the singletons too)
1200 - added the &check_metaclass_compatibility method to make sure
1201 that metaclasses are upward and downward compatible.
1202 - added tests and docs for this
1205 - adjusting code to use the &Class::MOP::Class::meta
1207 - adjusting code to use the metaclass pragma
1209 0.05 Sat Feb. 4, 2006
1211 - added the &attribute_metaclass and &method_metaclass
1212 attributes which contain a metaclass name to use for
1213 attributes/methods respectively
1216 - bootstrap additional attributes for Class::MOP::Class
1219 - adjusted the example code and tests to use the new
1220 &attribute_metaclass feature of Class::MOP::Class
1221 - added new example:
1224 0.04 Fri Feb. 3, 2006
1226 - some documentation suggestions from #perl6
1228 * Class::MOP::Attribute
1229 - improved error messages
1232 - added new examples:
1233 - AttributesWithHistory
1234 - ClassEncapsultedAttributes
1236 0.03 Fri Feb. 3, 2006
1237 - converted to Module::Build instead of EU::MM
1239 * Class::MOP::Attribute
1240 - refactored method generation code
1241 - attributes are now associated with class directly
1244 - refactored the InsideOut example to take advantage
1245 of the Class::MOP::Attribute refactoring
1246 - changed example files to .pod files and hide thier
1247 package names from PAUSE (I don't want to own these
1248 namespaces really, they are just examples)
1250 0.02 Thurs Feb. 2, 2006
1251 - moving examples from t/lib/* to examples/*
1252 - adding POD documentation to the examples
1254 0.01 Thurs Feb. 2, 2006