1 Revision history for Perl extension Class-MOP.
3 0.77_01 Sun, February 22, 2009
5 - This package now requires its XS components. Not using
6 Sub::Name lead to different behavior and bugginess in the pure
7 Perl version of the code. A Moose test would fail when run
8 against the pure Perl version of this code.
10 * Moose::Meta::Instance
11 - The inline_* methods now quote attribute names themselves, and
12 don't expect to receive a quoted value.
15 0.77 Sat, February 14, 2009
17 - Avoid assertion errors on debugging perls in is_class_loaded
21 - Fixed various corner cases where is_class_loaded incorrectly
22 returned true for a class that wasn't really loaded. (Dave
26 - Add get_all_method_names (Sartak)
27 - Add a wrapped_method_metaclass attribute (Florian Ragwitz)
30 - Disable deprecated get_all_package_symbols in list
31 context. (Florian Ragwitz)
34 - Make sure we generate a BSD-compatible Makefile (Florian
38 - The misspelled "check_metaclass_compatability" method we've
39 kept around for backwards compat_i_bility will be removed in a
40 near future release. You've been warned.
42 0.76 Thu, January 22, 2009
43 * Class::MOP::Method::Generated
44 - Added new private methods to support code generation, which
45 are being used by Moose and can be used by MooseX
47 - Generated methods are now generated with a #line directive
48 reflecting the source of the generated method. (nothingmuch)
51 - Clarified documentation of methods that return
52 Class::MOP::Method objects. (doy)
55 - Clarified documentation of the metaclass cache methods. (Sartak)
58 - Add test showing how the xs Class::MOP::is_class_loaded can
59 be made to operate differently to the pure perl version (t0m)
61 0.75 Wed, December 31, 2008
63 - A class that was made immutable and then mutable could end up
64 sharing an immutable transformer object
65 (Class::MOP::Immutable) with other classes, leading to all
66 sorts of odd bugs. Reported by t0m. (Dave Rolsky)
68 0.74 Tue, December 25, 2008
70 - Add an xs implementation of Class::MOP::is_class_loaded (closes
71 RT#41862). Based on a patch by Goro Fuji. (Florian Ragwitz)
72 - Changed internals to make prehashing of hash keys easier and less
73 error-prone. (Florian Ragwitz)
75 - Fix documentation to show that around modifiers happen on both
76 sides of the modified method. (Dave Rolsky)
78 0.73 Tue, December 16, 2008
80 - Don't use Perl_mro_meta_init. It's not part of the public perl
81 api. Fixes failures to build on Win32 (RT #41750). (Florian
83 * t/082_get_code_info.t
84 - Add $^P &= ~0x200; (per Ovid's suggestion) in order to not
85 munger anonymous subs when under -d and so making the tests
88 0.72 Mon, December 8, 2008
90 - Pass options to _new, so subclass' attributes can be
93 - In the docs, indicate that package_name and name are required
94 when calling ->wrap (Stefan O'Rear)
96 0.71_02 Fri, December 5, 2008
97 * Class::MOP::Immutable
98 - Added a new attribute, inlined_constructor, which is true if
99 the constructor was inlined.
100 * Class::MOP::Package
101 - Make get_all_package_symbols return a hash ref in scalar
102 context and deprecate calling it in list context with a
103 warning. (Florian Ragwitz)
105 - Various improvements and refactoring, making things more robust and
106 easier to maintain. (Florian Ragwitz)
108 0.71_01 Wed, December 3, 2008
110 - Add an "execute" method to invoke the body so
111 we can avoid using the coderef overload (Sartak)
112 * Class::MOP::Immutable
113 - When we memoize methods, get their results lazily
114 to remove some compile-time cost (Sartak)
115 - Small speedup from eliminating several method
118 - Some small internal tweaks to try to reduce the number of
119 times we call get_method_map when bootstrapping the MOP. This
120 might make loading Class::MOP (and Moose) a little
121 faster. (Dave Rolsky)
122 - Implemented an optional XS version of get_method_map. Mostly
123 taken from a patch by Goro Fuji (rt.cpan.org #41080), with
124 help form Florian Ragwitz. (Dave Rolsky)
125 - Make the behaviour of of get_all_package_symbols (and
126 therefore get_method_map) consistent for stub methods. Report
127 and test by Goro Fuji (rt.cpan.org #41255). (Florian Ragwitz)
129 0.71 Wed November 26, 2008
132 - Actual package creation has moved upward from
133 Class to Module so that Moose roles can share
136 0.70_01 Mon, November 19, 2008
138 - Fixes for failures with blead (Florian Ragwitz)
139 - Silenced compiler warnings (Florian Ragwitz)
141 0.70 Fri, November 14, 2008
143 - Fixed an odd corner case where the XS version of
144 get_all_package_symbols could cause a segfault. This only
145 happened with inlined constants in Perl 5.10.0 (Florian
148 0.69 Fri, November 7, 2008
149 * Class::MOP::Method::Wrapped
150 - Added introspection methods for method modifiers (Dave Rolsky)
153 0.68 Fri October 24, 2008
155 - Make load_class require by file name instead of module name.
156 This stops confusing error messages when loading '__PACKAGE__'.
158 - Add load_one_class_of function to enable you to load one of a
159 list of classes, rather than having to call load_class multiple
160 times in an eval. (t0m)
162 0.67 Tue October 14, 2008
164 - Call a method on the class after setting the superclass list
165 so that we can get Perl to detect cycles before MRO::Compat
166 spirals into an infinite loop (sartak)
167 - Reported by Schwern, [rt.cpan.org #39001]
168 - In create(), pass unused options on to initialize()
169 - added test for this
171 0.66 Sat September 20, 2008
172 !! This release has an incompatible change regarding !!
173 introspection of a class's method with Class::MOP::Class !!
176 - We (us maintainers) now run all tests with XS and then without
177 XS, which should help us catch skew between the XS/pure Perl
181 ! The alias_method method has been deprecated. It now simply
182 calls add_method instead. There is no distinction between
183 aliased methods and "real" methods.
185 This means that methods added via alias_method now show up as
186 part of the class's method list/map. This is a backwards
187 incompatible change, but seems unlikely to break any
188 code. Famous last words. (Dave Rolsky)
191 - Fixed the spelling of "compatibility", but we still have a
192 "check_metaclass_compatability" method for backwards
195 0.65 Mon September 1, 2008
196 For those not following the series of dev releases, the changes
197 from 0.64 from 0.65 can mostly be summed up as a lot performance
198 improvements by nothingmuch, including new optional XS versions of
199 some methods. Also, Class::MOP now works _without_ any XS modules,
200 for sad systems without a compiler.
203 - Added name and package_name XS accessors, and make sure all
204 the XS and Perl versions work the same way. (Dave Rolsky)
207 - The XS versions of various methods just returned undef when
208 called class methods, rather than dying like the pure Perl
209 versions. (Dave Rolsky)
211 0.64_07 Fri August 29, 2008
213 - Silenced warnings that managed to break Moose tests when XS
214 was loaded. (Dave Rolsky)
215 - Some XS versions of methods were ignored because of typos in
216 MOP.xs. (Dave Rolsky)
218 0.64_06 Mon August 25, 2008
219 * Class::MOP (MOP.xs)
220 - Another MS VC++ fix, cannot declare a variable in the middle
221 of a scope (Taro Nishino).
223 0.64_05 Sun August 24, 2008
225 - None of the dev releases actually loaded the XS properly, but
226 we silently fell back to the pure Perl version of the
229 * Class::MOP (MOP.xs)
230 - Replaced some code that used functions not available on Visual
231 C++ with some Perl XS API bits (Dave Rolsky).
233 0.64_04 Sat August 23, 2008
235 - Workaround a bug in 5.8.1's goto sub (nothingmuch)
237 * pod.t and pod_coveraget.t
238 - These are no longer shipped with the tarball because of bogus
239 failures from CPAN testers. (Dave Rolsky)
241 0.64_03 Thu August 21, 2008
242 * Class::MOP::Package
243 - Some (legit) code was misparsed by earlier 5.8.x
244 releases. (nothingmuch)
247 - Fix a constant in void context warning (nothingmuch)
249 0.64_02 Thu August 21, 2008
250 * Makefile.PL and Class::MOP
251 - Explicitly require Perl 5.8.0+ (Dave Rolsky)
254 - Add missing prereqs that got lost in the switch away from
257 * Class::MOP::Instance
258 - New method - get_all_attributes (nothingmuch)
260 0.64_01 Wed August 20, 2008
262 - We now check to see if you have a compiler. If you don't, the
263 module installs without some XS bits, but will work the same
264 as with XS. This should make it easier to install on platforms
265 without a compiler (like Windows). (Dave Rolsky)
268 - Perl 6 style attribute naming replaced with sane style ('methods', not
269 '%!methods'). These changes should not impact any existing API uses.
273 - Quite a number of optimizations based on profiling, including
274 allowing constructors to take hash references instead of
275 hashes, duplicating some frequently used code in XS, and
276 making constructors immutable. These changes should not impact
277 any existing API uses. (nothingmuch)
280 - Constructors now respect the meta attributes of their subclasses,
281 facilitating MOP extensibility. More related changes will happen in the
282 next several releases. (nothingmuch)
285 - New method - get_all_methods, replaces the deprecated
286 compute_all_applicable_methods. get_all_attributes provided for
287 consistency (nothingmuch)
288 - New method - wrap_method was refactored out of get_method_map
290 - New API for meta instance invalidation - invalidate_meta_instance,
291 invalidate_meta_instances, add_dependent_meta_instance,
292 remove_dependent_meta_instance, called automatically when attribute
293 definitions change and allows notification of dependent subclasses.
296 0.64 Sun August 3, 2008
297 * Class::MOP::Immutable
298 - fixing subtle edge case in immutable when you
300 - clean up option processing (nothingmuch)
302 * Class::MOP::Instance
303 - inlined initialize slot didn't match
304 non-inlined (nothingmuch)
306 0.63 Mon July 7, 2008
308 - load_class will initialize a metaclass even if
309 the class is already loaded (sartak)
310 - load_class now returns the metaclass instance
311 instead of just 1 (sartak)
314 - better error messages (sartak and Dave Rolsky)
316 0.62 Wed June 18, 2008
317 - in is_class_loaded, recognize scalar references (as opposed to globs) in
318 the symbol table as methods (these are optimized constant subs)
320 0.61 Fri. June 13, 2008
321 - Okay, lets give this another try and see if PAUSE
322 recognizes it correct this time.
324 0.60 Thurs. Jun 12, 2008
325 - Fixed a version number issue by bumping all modules
328 0.59 Thurs. Jun 12, 2008
329 !! Several fixes resulting in yet another 25-30% speedup !!
332 - now stores the instance of the instance
333 metaclass to avoid needless recomputation
334 and deletes it when the cache is blown
335 - introduce methods to query Class::MOP::Class for
336 the options used to make it immutable as well as
337 the proper immutable transformer. (groditi)
339 * Class::MOP::Package
340 - {add, has, get, remove}_package_symbol all
341 now accept a HASH ref argument as well as the
342 string. All internal usages now use the HASH
346 - MOP.xs does sanity checks on the coderef
348 - is_class_loaded check now uses code that
349 was improved in Moose's ClassName type
351 - nonsensical (undef, empty, reference) class
352 names now throw a more direct error in
354 - tests for this and other aspects of
360 Class::MOP::Method::Wrapped
361 Class::MOP::Attribute
362 - switched usage of reftype to ref because
365 0.58 Thurs. May 29, 2008
366 (late night release engineering)--
368 - fixing the version is META.yml, no functional
369 changes in this release
371 0.57 Wed. May 28, 2008
372 !! Several speedups resulting in 20-25% speedups !!
373 || (thanks to konobi, groditi, mst & CataMoose) !!
376 - made get_method_map use list_all_package_symbols
377 instead of manually grabbing each symbol
378 - streamlining &initialize somewhat, since it gets
381 * Class::MOP::Package
382 - made {get, has}_package_symbol not call
384 - inlining a few calls to &name with
385 direct HASH access key access
386 - added get_all_package_symbols to fetch
387 a HASH of items based on a type filter
388 similar to list_all_package_symbols
389 - added tests for this
392 Class::MOP::Method::Constructor
393 Class::MOP::Method::Generated
394 Class::MOP::Method::Accessor
395 - added more descriptive error message to help
396 keep people from wasting time tracking an error
397 that is easily fixed by upgrading.
399 * Class::MOP::Immutable
400 - Don't inline a destructor unless the user actually
402 - added tests for this
404 0.56 Saturday, May 24, 2008
406 - we now get the &check_package_cache_flag
407 function from MRO::Compat
408 - All XS based functionality now has a
409 Pure Perl alternative
410 - the CLASS_MOP_NO_XS environment variable
411 can now be used to force non-XS versions
414 * Class::MOP::Attribute
415 - add has_read_method and has_write_method
416 - get_{read,write}_method_ref now wraps the
417 anon-sub ref in the method metaclass when
419 - added tests for this
421 * Class::MOP::Immutable
422 - added the ability to "wrap" methods when
423 making the class immutable
426 - now handling the edge case of ->meta->identifier
427 dying by wrapping add_package_symbol to specifically
428 allow for it to work.
429 - added tests for this
431 * Class::MOP::Attribute
433 Class::MOP::Immutable
434 - any time a method meta object is constructed
435 we make sure to pass the correct package and
436 method name information
439 Class::MOP::Method::Wrapped
440 Class::MOP::Method::Generated
441 Class::MOP::Method::Accessor
442 Class::MOP::Method::Consructor
443 - the &wrap constructor method now requires that a
444 'package_name' and 'name' attribute are passed. This
445 is to help support the no-XS version, and will
446 throw an error if these are not supplied.
447 - all these classes are now bootstrapped properly
448 and now store the package_name and name attributes
451 ~ Build.PL has been removed since the
452 Module::Install support has been removed
454 0.55 Mon. April 28, 2008
455 - All classes now have proper C3 MRO support
456 - added MRO::Compat as a dependency to allow
457 for the C3 MRO support to Just Work in all
461 - rebless_instance now returns the instance
462 it has just blessed, this is mostly to
464 - set the attr correctly in rebless_instance
465 when it has no init_arg
466 - tweaked &linear_isa and &class_precedence_list
467 to support c3 classes.
469 0.54 Fri. March, 14, 2008
472 - making sure that load_class never gets
473 passed a value from @_ or $_ to squash
474 Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
477 - make_{immutable,mutable} now return 1
479 - improved error handling in ->create method
480 - rebless_instance now takes extra params which
481 will be used to populate values
482 - added tests for this
485 - localizing the Data::Dumper configurations so
486 that it does not pollute others (RT #33509)
492 Class::MOP::Attribute
493 - these classes no longer define their own ->meta,
494 but instead just inherit from Class::MOP::Object
496 * Class::MOP::Instance
497 Class::MOP::Immutable
498 - these classes now inherit from Class::MOP::Object
501 - fixed the filename length on several
502 test files so we install on VMS better
504 - fixed incorrect use of catdir when it
505 should be catfile (RT #32385)
507 0.53 Thurs. Feb. 14, 1008
508 ~~ several doc. fixes and updates ~~
511 Class::MOP::Method::Constructor
512 Class::MOP::Attribute
513 - making init_arg accept an undefined value
514 to indicate that no constructor args can
515 be passed (thanks to nothingmuch)
516 - added tests for this
517 - added attribute initializer attribute (rjbs)
520 - making this use the new init_arg => undef
521 feature instead of the silly hack from
522 before (thanks to nothingmuch)
524 0.52 Tues. Jan. 22, 2008
526 - fixed bug in rebless_instance
529 * Class::MOP::Method::Constructor
530 - removed assumptions about the existence of
533 0.51 Mon. Jan. 14, 2008
534 ~~~ some misc. doc. fixes ~~~
535 ~~ updated copyright dates ~~
538 - now sets the IS_RUNNING_ON_5_10
539 constant so that we can take advantage
540 of some of the nice bits of 5.10
543 - uses the IS_RUNNING_ON_5_10 flag to
544 optimize the &linearized_isa method
545 and avoid the hack/check for circular
546 inheritence in &class_precedence_list
547 - added rebless_instance method (Sartak)
548 - added tests for this
550 * Class::MOP::Immutable
551 - the immutable class now keeps track of
552 the transformer which immutablized it
554 * Class::MOP::Instance
555 - added rebless_instance_structure method (Sartak)
556 - added tests for this
558 0.50 Fri. Dec. 21, 2007
560 - fixed bug in immutable to make sure that
561 transformation arguments are saved
563 - added tests for this
565 * Class::MOP::Immutable
566 - fixed a bug (see above)
568 * Class::MOP::Attribute
571 0.49 Fri. Dec. 14, 2007
572 !! Class::MOP now loads 2 x faster !!
573 !! with XS speedups (thanks konobi) !!
576 - removed the dependency on B
577 - added two XS functions (thanks konobi)
578 - get_code_info($code) which replaces all
579 the B fiddling we were doing with
580 faster/leaner XS level fiddling
581 - check_package_cache_flag($pkg_name) which
582 returns the PL_sub_generation variable to
583 be used to help manage method caching.
586 In 5.10 or greater this will actually
587 use the mro::get_pkg_gen instead to give
588 even more accurate caching information.
589 blblack++ for that stuff :)
592 - added the &subclasses method (thanks rlb)
593 - added the update_package_cache_flag and
594 reset_package_cache_flag which help keep
595 track of when we need to re-fetch the
597 - Several small improvements to take advantage
598 of the new method map caching features
600 0.48 Mon. Nov. 26, 2007
601 * Class::MOP::Attribute
602 - fixed get_read/write_method to handle the
603 HASH ref case, which makes the
604 get_read/write_method_ref handle it too.
605 - added more tests for this
607 0.47 Sat. Nov. 24, 2007
608 * Class::MOP::Attribute
609 - fixed misspelling in get_write_method_ref
610 - added more tests for this
612 0.46 Fri. Nov. 23, 2007
614 - added the linearized_isa method instead of constantly
615 pruning duplicate classes (this will be even more
616 useful in the 5.10-compat version coming soon)
618 * Class::MOP::Attribute
619 - added the get_read_method_ref and get_write_method_ref
620 methods which allow you to retrieve a CODE ref which
621 can always be used to read or write an attribute.
623 0.45 Thurs. Nov. 13, 2007
624 * Class::MOP::Attribute
625 - Fix error message on confess (groditi)
627 0.44 Thurs. Nov. 13, 2007
628 - Apparently I didn't make dist correctly (groditi)
630 0.43 Thurs. Nov. 13, 2007
632 - Add support for the 'builder' attribute (groditi)
635 - optimise metaclass-already-exists check in
636 construct_class_instance (groditi)
637 - duplicate check into initialize to save a
638 call through (groditi)
640 * Class::MOP::Attribute
641 - Add support for the 'builder' attribute (groditi)
642 - Make predicates check for the existence of a value, not whether
643 it is defined (groditi)
645 * Class::MOP::Instance
646 - Make predicates check for the existence of a value, not whether
647 it is defined (groditi)
649 * Class::MOP::Method::Accessor
650 - made this a subclass of Class::MOP::Method::Generated
651 - removed the relevant attributes
653 * Class::MOP::Method::Constructor
654 - fixed the cached values we had to be more sane
655 - made this a subclass of Class::MOP::Method::Generated
656 - fixed generated constructor so it properly handles
658 - added tests for this
659 - added the option to allow for both inlined and
660 non-inlined constructors.
661 - Update inlined methods for builder and predicate changes (groditi)
663 * Class::MOP::Method::Generated
664 - added this class as an abstract base for the
665 Class::MOP::Method::{Constructor,Accessor} classes
666 - added tests for this
669 - Alter tests (005, 014 020, 021) for new builder addition (groditi)
670 - Tests for new predicate behavior (and corrections to old tests) (groditi)
673 - Update ArrayRef based class example to work with predicate changes
675 0.42 Mon. July 16, 2007
676 !!! Horray for mst, he fixed it !!!
678 * Class::MOP::Package
679 - alter symbol table handling to deal with 5.8.x and 5.9.x
682 - Get rid of the crappy workaround from 0.40/41
684 0.41 Sun. July 15, 2007
686 Arghh!!! My TODO test didn't work, so I handle
687 it manually now so that people can use this
688 with 5.9.5/bleadperl without issue.
690 0.40 Tues, July 3, 2007
692 ~ marked a test in 003_methods.t as TODO
693 for perl 5.9.5 (this test is irrelvant to
694 the module functioning on 5.9.5 for the most
697 0.39 Mon. June 18, 2007
698 * Class::MOP::Immutable
699 - added make_metaclass_mutable + docs (groditi)
700 - removed unused variable
701 - added create_immutable_transformer
702 necessary for sane overloading of immutable behavior
703 - tests for this (groditi)
706 - Immutability can now be undone,
707 added make_mutable + tests + docs (groditi)
708 - Massive changes to the way Immutable is done
709 for details see comments next to make_immutable
710 This fixes a bug where custom metaclasses broke
711 when made immutable. We are now keeping one immutable
712 metaclass instance per metaclass instead of just one
713 to prevent isa hierarchy corruption. Memory use will go
714 up, but I suspect it will be neglible.
715 - New tests added for this behavior. (groditi)
717 0.38 Thurs. May 31, 2007
718 ~~ More documentation updates ~~
720 * Class::MOP::Package
721 - we now deal with stub methods properly
722 - added tests for this
723 - fixed some tests failing on 5.9.5 (thanks blblack)
725 * Class::MOP::Attribute
726 - added get_read_method and get_write_method
727 thanks to groditi for this code, tests
729 - added tests and POD for this
732 - fixed RT issue #27329, clone object now
733 handles undef values correctly.
734 - added tests for this
735 - Corrected anon-class handling so that they
736 will not get reaped when instances still
737 exist which need to reference them. This is
738 the correct behavior, hopefully this is an
739 obscure enough feature that there are not too
740 many work arounds out in the wild.
741 - added tests for this by groditi
742 - updated docs to explain this
745 - load custom metaclasses automatically (thanks groditi)
746 - added tests for this behavior
748 0.37 Sat. March 10, 2007
749 ~~ Many, many documentation updates ~~
752 - added &load_class and &is_class_loaded
753 - added tests and docs for these
755 * Class::MOP::Attribute
756 - default now checks the instance with defined to
757 avoid setting off bool-overloads (found by Carl Franks)
761 - bad name in a test, causing meaningless failuress.
767 - All attribute names are now consistent and follow Perl 6
768 style (prefixed with the sigil, and ! as the twigil for
769 private attrs). This should not affect any code, unless
770 you broke encapsulation, in which case, it is your problem
773 !! Class::MOP::Class::Immutable has been removed
775 * Class::MOP::Method::Constructor
776 - this has been moved out of Class::MOP::Class::Immutable
777 and is a proper subclass of Class::MOP::Method now.
780 - this module now uses Class::MOP::Immutable for the
781 immutable transformation instead of
782 Class::MOP::Class::Immutable.
784 + Class::MOP::Immutable
785 - this module now controls the transformation from a mutable
786 to an immutable version of the class. Docs for this will
787 be coming eventually.
790 0.36 Sun. Nov. 5, 2006
792 - added a few 'no warnings' lines to keep annoying
793 (and meaningless) warnings from chirping during
797 - some more bootstrapping is now done on the new
800 * Class::MOP::Class::Immutable
802 - constructor generation is now handled by
803 the Class::MOP::Method::Constructor class
805 * Class::MOP::Method::Constructor
806 - created this to handle constructor generation
807 in Class::MOP::Class::Immutable
809 * Class::MOP::Attribute
811 - attributes now delegate to the
812 Class::MOP::Method::Accessor to generate
815 * Class::MOP::Method::Accessor
816 - all accessor generation functions from
817 Class::MOP::Attribute have been moved here
819 0.35 Sat. Sept. 30, 2006
821 * scripts/class_browser.pl
822 - initial prototype of a class browser, more
823 on this to come. Comments and patches are
827 - All Class::MOP::* accessors are no longer
828 re-generated in the bootstrap, instead
829 they are aliased from the originals
830 - fixed tests to reflect
831 - added Class::MOP::Method (and its subclasses)
833 - adjusted tests for this
834 - added the Class::MOP::Instance attributes
839 - methods are no longer blessed CODE refs
840 but are actual objects which can be CODE-ified
841 - adjusted tests to compensate
842 - adjusted docs for this
845 - changed how methods are dealt with to
846 encapsulate most of the work into the
847 &get_method_map method
848 - made several adjustments for the change
849 in Class::MOP::Method
850 - &add_attribute now checks if you are adding
851 a duplicate name, and properly removes the
852 old one before installing the new one
853 - added tests for this
854 - adjusted docs for this
856 * Class::MOP::Class::Immutable
857 - added caching of &get_method_map
858 - fixed issue with &get_package_symbol
859 - cleaned up the methods that die (patch by David Wheeler)
861 * Class::MOP::Package
862 - added filtering capabilities to
863 &list_all_package_symbols
865 0.34 Sat. Aug. 26, 2006
867 - added the %:methods attribute, which like
868 the $:version and such just actually goes
869 to the symbol table to get it's stuff.
870 However, it makes the MOP more complete.
872 - The &create method now requires that all
873 but the package name now is passed in as
874 named parameters. See docs for more info.
875 - updated docs and tests for this
878 - added &dump method to easily Data::Dumper
882 - cleaned up the initialization of attributes
883 which do not store things in the instance
884 - added the %:methods attribute definition to
887 ~ lots of misc. test cleanup
889 0.33 Sat. Aug. 19, 2006
891 - moved the metaclass cache out of here
892 and it is now in Class::MOP itself.
895 - moved all the metaclass cache stuff here
896 - fixed all tests for this
898 * Class::MOP::Attribute
899 - reference values (other than CODE refs)
900 are no longer allowed for defaults
901 - added tests for this
903 * Class::MOP::Package
904 - fixed an issue with perl 5.8.1 and how it deals
905 with symbol tables. The namespace hash is now
906 always reloaded from the symbol table.
908 ~ lots of misc. documentation cleanup
910 0.32 Sat. Aug. 12, 2006
911 + added Class::MOP::Object so that the
912 metamodel is more complete (and closer
913 to what Perl 6 will probably be).
915 * Class::MOP::Package
916 - refactored entire class, this is now
917 the primary gateway between the metaclass
918 and the Perl 5 symbol table
919 - added many tests for this
920 - this class is now a subclass of
922 - added some tests to reflect this
925 - refactored all symbol table access to
926 use Class::MOP::Package methods instead
929 - adding the $:version attribute in the bootstrap
930 so that Module has a version as an attribute
931 - see comment in Class::MOP for details
932 - added the $:authority attribute to this module
933 as well as an &identifier method, to bring us
934 ever closer to Perl 6 goodness
935 - I have added $AUTHORITY to all the modules
936 - added tests for this
938 * Class::MOP::Instance
939 - added &deinitialize_slot for removing slots
941 - added tests for this
943 * Class::MOP::Attribute
944 - added support for &deinitialize_slot for removing
945 slots from an instance
946 - added tests for this
948 0.31 Sat. July 15, 2006
951 - added &find_method_by_name to locate a method
952 anywhere within the class hierarchy
954 * Class::MOP::Attribute
955 - added &set_value and &get_value for getting
956 the value of the attribute for a particular
959 0.30 Wed. July 5, 2006
960 ---------------------------------------
961 This is the first version of Class::MOP
962 to introduce the immutable features which
963 will be used for optimizating the MOP.
964 This support should still be considered
965 experimental, but moving towards stability.
966 ---------------------------------------
968 * Created Class::MOP::Class::Immutable
970 * Created the Class::MOP::Package and
971 Class::MOP::Module classes to more
972 closely conform to Perl 6's meta-model
975 - now inherits from Class::MOP::Module
976 - several methods moved to ::Module and
977 ::Package and now inherited
978 - added tests for this
980 * Class::MOP::Instance
981 - added an is_inlinable method to allow other
982 classes to check before they attempt to optimize.
983 - added an inline_create_instance to inline
984 instance creation (of course)
987 - the Class::MOP::Class::*_package_variable
988 methods are all now methods of Class::MOP::Package
989 and called *_package_symbol instead. This is
990 because they are now more general purpose symbol
991 table manipulation methods.
993 0.29_02 Thurs. June 22, 2006
994 ++ DEVELOPER RELEASE ++
996 - small change in &create so that it behaves
997 properly when inherited
998 - small fix to &clone_instance
1000 0.29_01 Fri. May 12, 2006
1001 ++ DEVELOPER RELEASE ++
1002 - This release works in combination with
1003 Moose 0.09_01, it is a developer release
1004 because it introduces a new instance
1005 sub-protocol and has not yet been
1009 - anon-classes are now properly garbage collected
1010 - added tests for this
1011 - improved method modifier wrapping
1013 * Class::MOP::Instance
1014 - added new instance protocol
1015 - added tests for this
1016 - changed all relevant modules and examples
1018 - Class::MOP::Attribute
1022 - you no longer need to specify the metaclass
1023 itself, if it is not there, Class::MOP::Class
1025 - updated tests for this
1028 - added ArrayBasedStorage example to show
1029 instance storage using ARRAY refs instead of
1031 - added tests for this
1032 - InsideOutClass is totally revised using the
1033 new instance protocol
1034 - added more tests for this
1036 0.26 Mon. April 24, 2006
1038 - added find_attribute_by_name method
1039 - added tests and docs for this
1040 - some small optimizations
1042 * Class::MOP::Attribute
1043 - some small optimizations
1045 0.25 Thurs. April 20, 2006
1047 - added create_anon_class for creating anonymous classes
1048 - added tests for this
1049 - added get_all_metaclasses, get_all_metaclass_names
1050 and get_all_metaclass_instances method to allow
1051 access to all the cached metaclass objects.
1052 - attribute slot initialization is now the responsibility
1053 of the attribute itself, and construct_instance now
1054 delegates appropriately
1056 * Class::MOP::Attribute
1057 - attribute slot initialization is now the responsibility
1058 of the attribute itself, so we added a method for it
1059 called initialize_instance_slot
1062 - adjusted all the examples to use the new attribute
1063 initialize_instance_slot method
1065 0.24 Tues. April 11, 2006
1067 - cleaned up how the before/after/around method
1068 modifiers get named with Sub::Name
1070 0.23 Thurs. March 30, 2006
1072 - fixed the way attribute defaults are handled
1073 during instance construction (bug found by chansen)
1075 * Class::MOP::Attribute
1076 - read-only accessors ('reader') will now die if
1077 passed more than one argument (attempting to write
1079 - added tests for this
1080 - adjusted all /example files to comply
1082 0.22 Mon. March 20, 2006
1084 - localized $@ in the *_package_variable functions
1085 because otherwise, it does ugly things in Moose.
1086 - added test case for this
1088 0.21 Wed. March 15, 2006
1090 - fixed issue where metaclasses are reaped from
1091 our cache in global destruction, and so are not
1092 available in DESTORY calls
1094 0.20 Thurs. March 2, 2006
1095 - removed the dependency for Clone since
1096 we no longer to deep-cloning by default.
1098 * Class::MOP::Method
1099 - added &package_name, &name and
1100 &fully_qualified_name methods, some of
1101 which were formerly private subs in
1104 * Class::MOP::Method::Wrapped
1105 - allows for a method to be wrapped with
1106 before, after and around modifiers
1107 - added tests and docs for this feature
1110 - improved &get_package_symbol
1111 - &version and &superclasses now use it
1112 - methods are now blessed into Class::MOP::Method
1114 - added methods to install CLOS-style method modifiers
1115 - &add_before_method_modifier
1116 - &add_after_method_modifier
1117 - &add_around_method_modifier
1118 - added tests and docs for these
1119 - added &find_next_method_by_name which finds the
1120 equivalent of SUPER::method_name
1122 0.12 Thurs. Feb 23, 2006
1123 - reduced the dependency on B, no need to always
1127 - added docs to the C3 method dispatch order test
1128 - fixed missing Algorithm::C3 dependency by making
1129 the test skip if it is not installed
1131 0.11 Mon Feb. 20, 2006
1133 - added example of changing method dispatch order to C3
1136 - changed how clone_instance behaves, it now only does a
1137 shallow clone (see docs for more details)
1138 - added docs and tests
1140 0.10 Tues Feb. 14, 2006
1141 ** This release was mostly about writing more tests and
1142 cleaning out old and dusty code, the MOP should now
1143 be considered "ready to use".
1145 - adding more tests to get coverage up a little higher,
1146 mostly testing errors and edge cases.
1147 - test coverage is now at 99%
1150 - no longer optionally exports to UNIVERSAL::meta or
1151 creates a custom metaclass generator, use the
1152 metaclass pragma instead.
1155 - fixed a number of minor issues which came up in the
1156 error/edge-case tests
1158 * Class::MOP::Attribute
1159 - fixed a number of minor issues which came up in the
1160 error/edge-case tests
1163 - fixing the AttributesWithHistory example, it was broken.
1165 0.06 Thurs Feb. 9, 2006
1167 - adding new metaclass pragma to make setting up the
1168 metaclass a little more straightforward
1171 - clean up bootstrapping to include more complete
1172 attribute definitions for Class::MOP::Class and
1173 Class::MOP::Attribute (accessors, readers, writers,
1174 etc.) ... it is redundant, but is useful meta-info
1178 - fixing minor meta-circularity issue with &meta, it
1179 is now more useful for subclasses
1180 - added &get_attribute_map as an accessor for the
1181 hash of attribute meta objects
1182 - &compute_all_applicable_attributes now just returns
1183 the attribute meta-object, rather than the HASH ref
1184 since all the same info can be gotten from the
1185 attribute meta-object itself
1186 - updated docs & tests to reflect
1187 - added &clone_instance method which does a deep clone
1188 of the instance structure created by &construct_instance
1189 - added docs & tests for this
1190 - added Clone as a dependency
1191 - added &new_object and &clone_object convience methods to
1192 return blessed new or cloned instances
1193 - they handle Class::MOP::Class singletons correctly too
1194 - added docs & tests for this
1195 - cleaned up the &constuct_class_instance so that it behaves
1196 more like &construct_instance (and managed the singletons too)
1197 - added the &check_metaclass_compatibility method to make sure
1198 that metaclasses are upward and downward compatible.
1199 - added tests and docs for this
1202 - adjusting code to use the &Class::MOP::Class::meta
1204 - adjusting code to use the metaclass pragma
1206 0.05 Sat Feb. 4, 2006
1208 - added the &attribute_metaclass and &method_metaclass
1209 attributes which contain a metaclass name to use for
1210 attributes/methods respectively
1213 - bootstrap additional attributes for Class::MOP::Class
1216 - adjusted the example code and tests to use the new
1217 &attribute_metaclass feature of Class::MOP::Class
1218 - added new example:
1221 0.04 Fri Feb. 3, 2006
1223 - some documentation suggestions from #perl6
1225 * Class::MOP::Attribute
1226 - improved error messages
1229 - added new examples:
1230 - AttributesWithHistory
1231 - ClassEncapsultedAttributes
1233 0.03 Fri Feb. 3, 2006
1234 - converted to Module::Build instead of EU::MM
1236 * Class::MOP::Attribute
1237 - refactored method generation code
1238 - attributes are now associated with class directly
1241 - refactored the InsideOut example to take advantage
1242 of the Class::MOP::Attribute refactoring
1243 - changed example files to .pod files and hide thier
1244 package names from PAUSE (I don't want to own these
1245 namespaces really, they are just examples)
1247 0.02 Thurs Feb. 2, 2006
1248 - moving examples from t/lib/* to examples/*
1249 - adding POD documentation to the examples
1251 0.01 Thurs Feb. 2, 2006