X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FUpgrading.pod;h=d7a3266518c81c42af80638f04d54f7d504715ad;hp=4c8a28d40930fd099a075d2fff0a996ca2992fea;hb=c571d2c84b0acd26c540bba4b604e7ce8e01e426;hpb=e106a59f5b94228aa1df4cf2224e06c5ef53298b diff --git a/lib/Catalyst/Upgrading.pod b/lib/Catalyst/Upgrading.pod index 4c8a28d..d7a3266 100644 --- a/lib/Catalyst/Upgrading.pod +++ b/lib/Catalyst/Upgrading.pod @@ -79,12 +79,40 @@ in components, instead, you should inherit the new method from Catalyst::Compone to perform any construction work necessary for your sub-class. -=head Methods in Catalyst::Dispatcher +=head1 WARNINGS + +=head2 Methods in Catalyst::Dispatcher + +The following methods in Catalyst::Dispatcher are likely to change +significantly in the 5.8X release series, and therefore their use is highly +deprecated. + +=over + +=item tree + +=item dispatch_types + +=item registered_dispatch_types + +=item method_action_class + +=item action_hash + +=item container_hash + +=back + +The first time one of these methods is called, a warning will be emitted: Class $class is calling the deprecated method Catalyst::Dispatcher::$public_method_name,\n" . "this will be removed in Catalyst 5.9X" -FIXME +You should B be calling any of these methods from application code. + +Plugins authors and maintainers whos plugins need to call these methods +should email the development list to discuss your use-case, and what a +better API should look like. =head2 Confused multiple inheritence with Catalyst::Component::COMPONENT