Require Dist::Zilla 4.200016+
[gitmo/Moose.git] / lib / Moose / Deprecated.pm
CommitLineData
3b400403 1package Moose::Deprecated;
2
3use strict;
4use warnings;
5
b693686e 6use Package::DeprecationManager 0.07 -deprecations => {
7ec88c15 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',
3b400403 11 },
3cf2f9ec 12 -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
3b400403 13 ;
14
151;
7ebd38db 16
064a13a3 17# ABSTRACT: Manages deprecation warnings for Moose
18
7ebd38db 19__END__
20
21=pod
22
7ebd38db 23=head1 DESCRIPTION
24
25 use Moose::Deprecated -api_version => $version;
26
27=head1 FUNCTIONS
28
29This module manages deprecation warnings for features that have been
30deprecated in Moose.
31
32If you specify C<< -api_version => $version >>, you can use deprecated features
33without warnings. Note that this special treatment is limited to the package
14c095bc 34that loads C<Moose::Deprecated>.
7ebd38db 35
7ebd38db 36=cut