Clarify sentence on removal of deprecated APIs
[gitmo/Moose.git] / lib / Moose / Manual / Support.pod
CommitLineData
eda0fb99 1=pod
2
3=head1 NAME
4
5Moose::Manual::Support - Policies regarding support, releases, and
6compatibility.
7
995b7d56 8=head1 SUPPORT POLICY
9
a0214906 10There are two principles to Moose's policy of supported behavior.
995b7d56 11
64936d78 12=over 4
13
14=item 1.
15
16Moose favors correctness over everything.
17
18=item 2.
19
20Moose supports documented and tested behavior, not accidental behavior or side
21effects.
22
23=back
995b7d56 24
a0214906 25If a behavior has never been documented or tested, the behavior is
26I<officially> undefined. Relying upon undocumented and untested behavior is
27done at your own risk.
995b7d56 28
a0214906 29If a behavior is documented or tested but found to be incorrect later, the
64936d78 30behavior will go through a deprecation period. During the deprecation period,
31use of that feature will cause a warning. Eventually, the deprecated feature
32will be removed.
995b7d56 33
eda0fb99 34=head1 RELEASE SCHEDULE
35
a0214906 36Moose is on a system of weekly minor releases and quarterly major releases. A
64936d78 37minor release is defined as one that makes every attempt to preserve backwards
38compatibility. Currently this means that we did not introduce any new
39dependency conflicts, and that we did not make any changes to documented,
40tested behavior. A minor release can include new features and bug fixes.
d1e4fecf 41
64936d78 42Major releases may be backwards incompatible. Moose prioritizes
43correctness over backwards compatibility or performance; see the L<Deprecation
44Policy> to understand how backwards incompatible changes are announced.
d1e4fecf 45
a0214906 46Before a major release, a series of development releases will be made so that
47users can test the upcoming major release before it is distributed to CPAN. It
48is in the best interests of everyone involved if these releases are tested as
49widely as possible.
eda0fb99 50
51=head1 DEPRECATION POLICY
52
53Moose has always prioritized correctness over performance and backwards
79dce67a 54compatibility.
eda0fb99 55
64936d78 56Major deprecations or API changes are documented in the Changes file as well
57as in L<Moose::Manual::Delta>. The Moose developers will also make an effort
58to warn users of upcoming deprecations and breakage through the Moose blog
59(http://blog.moose.perl.org).
eda0fb99 60
12a6decb 61Deprecated APIs will be preserved for at least one year. Of course, we will
62only remove a deprecated API in a major release, even after a year has passed.
eda0fb99 63
64936d78 64Moose will also warn during installation if the version of Moose being
65installed will break an installed dependency. Unfortunately, due to the nature
eda0fb99 66of the Perl install process these warnings may be easy to miss.
67
68=head1 BACKWARDS COMPATIBILITY
69
70We try to ensure compatibility by having a extensive test suite (last
71count just over around 5123 tests), as well as testing a number of
ccc47a38 72packages (currently just under 100 packages) that depend on Moose before
eda0fb99 73any release.
74
75The current list of downstream dependencies that are tested is in
76C<xt/author/test-my-dependents.t>.
77
78=head1 VERSION NUMBERS
79
64936d78 80Moose version numbers consist of three parts, in the form X.YYZZ. The X is the
81"special magic number" that only gets changed for really big changes. Think of
82this as being like the "5" in Perl 5.12.1.
83
84The YY portion is the major version number. Moose uses even numbers for stable
85releases, and odd numbers for trial releases. The ZZ is the minor version, and
86it simply increases monotonically. It starts at "00" each time a new major
87version is released.
88
89Semantically, this means that any two releases which share a major version
90should be API-compatible with each other. In other words, 2.0200, 2.0201, and
912.0274 are all API-compatible.
eda0fb99 92
64936d78 93Prior to version 2.0, Moose version numbers were monotonically incrementing
94two decimal values (0.01, 0.02, ... 1.11, 1.12, etc.).
3d5e4dc0 95
eda0fb99 96Moose was declared production ready at version 0.18 (via L<<
97http://www.perlmonks.org/?node_id=608144 >>).
98
99=head1 CONTRIBUTING
100
101Moose has an open contribution policy. Anybody is welcome to submit a
204f629c 102patch. Please see L<Moose::Manual::Contributing> for more details.
eda0fb99 103
79dce67a 104=cut