1 package Moose::Deprecated;
6 use Package::DeprecationManager 0.07 -deprecations => {
7 'optimized type constraint sub ref' => '2.0000',
8 'default is for Native Trait' => '1.14',
9 'default default for Native Trait' => '1.14',
10 'coerce without coercion' => '1.08',
12 -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
17 # ABSTRACT: Manages deprecation warnings for Moose
25 use Moose::Deprecated -api_version => $version;
29 This module manages deprecation warnings for features that have been
32 If you specify C<< -api_version => $version >>, you can use deprecated features
33 without warnings. Note that this special treatment is limited to the package
34 that loads C<Moose::Deprecated>.