X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=f8801ebd761bf523f63b3d222a6ede596e055dc3;hb=HEAD;hp=df7830f77c54aac143f02dabdb9d715ac72889e5;hpb=bd0ad27829f196b3f382ea2149baeb9af38aae40;p=gitmo%2FClass-MOP.git diff --git a/Changes b/Changes index df7830f..f8801eb 100644 --- a/Changes +++ b/Changes @@ -1,8 +1,184 @@ Revision history for Perl extension Class-MOP. +NEXT + + [API CHANGES] + + * The internal code used to generate inlined methods (accessor, constructor, + etc.) has been massively rewritten. MooseX modules that do inlining will + almost certainly need to be updated as well. + + [ENHANCEMENTS] + + * A lot of code related to managing methods for a class has been tweaked to + make it faster. This speeds up compilation time for Class::MOP and Moose, + as well modules which use Moose. + +1.12 Mon, Jan 3, 2011 + + * Remove usage of undocumented Package::Stash APIs from the tests. This + prevents the tests from failing on Package::Stash >= 0.18. + +1.11 Sun, Oct 31, 2010 + + [ENHANCEMENTS] + + * Replace use of Test::Exception with Test::Fatal. (Karen Etheridge and Dave + Rolsky) + +1.10 Mon, Oct 18, 2010 + + [BUG FIXES] + + * Lots of fixes for edge cases with anon classes. (doy) + +1.09 Tue, Oct 5, 2010 + + [ENHANCEMENTS] + + * It's now possible to tell Class::MOP::Class->create and the metaclass + pragma to not install a 'meta' method into classes they manipulate, + or to install one under a different name. (doy) + + * Reinitializing a metaclass no longer removes the existing method and + attribute objects (it instead fixes them so they are correct for the + reinitialized metaclass). (doy) + + * All 'meta' methods created by Class::MOP are now of the class + Class::MOP::Method::Meta. This is overridable at the metaclass layer. (doy) + + [OTHER] + + * Use get_or_add_package_symbol when we intend for it to autovivify, in + preparation for changes in Package::Stash. (doy) + + * We now use Module::Install::AuthorRequires to force authors to run all + tests, just like we do for Moose. (sartak) + +1.08 Mon, Sep 13, 2010 + + [BUG FIXES] + + * The get_method_list and _get_local_methods methods blew up in the face + of subroutine stubs. (Goro Fuji) + +1.07 Tue, Aug 25, 2010 + + [BUG FIXES] + + * Fix a mysterious error reported by Piers Cawley. The error showed up as + "Can't use an undefined value as a symbol reference at + /usr/local/lib/perl/5.10.1/Class/MOP/Mixin/HasMethods.pm line 167." (Dave + Rolsky) + +1.06 Sun, Aug 23, 2010 + + [BUG FIXES] + + * Version 1.05 no longer reported constants as methods, except with Perl + 5.8.x, and doing so in 5.8.x caused test failures. Constants are now + _expected_ to be reported as methods, and we explicitly test this. (Dave + Rolsky) + +1.05 Sun, Aug 22, 2010 + + [ENHANCEMENTS] + + * Refactorings and improvements to how defaults are handled, particularly + for inlined code (doy). + + * Optimizations that should help speed up compilation time (Dave Rolsky). + +1.04 Tue, Jul 25, 2010 + + [ENHANCEMENTS] + + * Class::MOP::Deprecated now uses Package::DeprecationManager + internally. Deprecation warnings are now only issued once for each calling + package, which cuts down on noise. When importing Class::MOP::Deprecated, + the request API version should now be passed in the "-api_version" + flag. However, the old "-compatible" flag will continue to work. (Dave + Rolsky) + +1.03 Sat, Jun 5, 2010 + + [ENHANCEMENTS] + + * Make CMOP::Package a thin wrapper around Package::Stash (doy). + +1.02 Thu, May 20, 2010 + + [API CHANGES] + + * Packages and modules no longer have methods - this functionality was + moved back up into Class::MOP::Class (doy). + + [ENHANCEMENTS] + + * Metaclass incompatibility checking now checks all metaclass types. (doy) + + * Class::MOP can now do simple metaclass incompatibility fixing: if your + class's metaclass is a subclass of your parent class's metaclass, it will + just use the parent class's metaclass directly. (doy) + +1.01 Thu, May 6, 2010 + + [NEW FEATURES] + + * is_class_loaded, load_class and load_first_existing_class now allow + specifying a minimum required version (Florian Ragwitz). + + [BUG FIXES] + + * The __INSTANCE__ parameter to Class::MOP::Class::new_object now enforces + that the passed in reference is blessed into the correct class (by dying if + it's not) (doy, jhallock). + +1.00 Thu, Mar 25, 2010 + + [GRRR< FUCKING STEVAN@] + + * Re-release 0.99 as 1.00. + +0.99 Thu, Mar 25, 2010 + + [DOCUMENTATION] + + * Fix typo in Class::MOP::Attribute (Franck Cuny). + +0.98 Mon, Jan 18, 2010 + + [ENHANCEMENTS] + + * Added Class::MOP::Class->rebless_instance_back, which does the inverse of + rebless_instance (doy, rafl). + +0.97_01 Mon, Jan 4, 2010 + + [ENHANCEMENTS] + + * Internal refactorings to move shared behavior into new "mixin" classes. This + made adding some new features to Moose much easier. (Dave Rolsky) + +0.97 Fri, Dec 18, 2009 + * No code changes, just packaging fixes to make this distro installable. + +0.96 Fri, Dec 18, 2009 + * tests + - Fixed t/082_get_code_info.t so it passes with bleadperl. (Dave Rolsky) + - Add XS & C files to no tabs check (Dave Rolsky) + - Convert all tests to done_testing. (Florian Ragwitz) + +0.95 Wed, Nov 19, 2009 * Class::MOP - Make is_class_loaded without any arguments fail loudly (Florian Ragwitz). + - Make load_class throw more standard error messages when loading single + modules (nothingmuch). + + * Class::MOP::Package + - Stop add_method from behaving differently under the debugger + (Florian Ragwitz). * Class::MOP::Class * Class::MOP::Package