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