1Dancer2::DeprecationPolUisceyr(3C)ontributed Perl DocumeDnatnacteiro2n::DeprecationPolicy(3)
2
3
4

NAME

6       Dancer2::DeprecationPolicy - Define the process by which
7

VERSION

9       version 0.400000
10

DESCRIPTION

12       While there are conflicting ideas about deprecation, in Dancer2,
13       deprecated code is code that:
14
15       •   Is in the way of implementing important features or fixes that
16           provide more value.
17
18       •   Has a negative impact on the integrity and security of user code,
19           whether by misusing it to not.
20
21       •   Provides a negative experience for the users.
22
23       Deprecated code is code we either had to write and can now remove or we
24       thought was a good idea and were wrong. It is code that doesn't overall
25       benefit users or the developers.
26
27       Deprecated code is code that is marked for eventual removal and we do
28       not intend to keep in the Dancer2 codebase.
29

DEPRECATION PROCESS

31       •   Code to be deprecated is posted/discussed publicly (see below)
32
33       •   Deprecated code enters soft deprecation phase
34
35       •   After 12 months or 2 major releases, code is hard deprecated
36
37       •   After 6 months or 1 major release, hard deprecated code is removed
38
39       Deprecated code is marked with warnings and the version and/or date in
40       which it will no longer be available.
41
42   Public Notice
43       When a feature/code is to be deprecated, the Dancer Core Team will
44       create a new GitHub issue for the code/feature to be deprecated, and
45       announce this in a public manner (blog post, Twitter, and the mailing
46       list, at minimum). The notice should provide the reason for the
47       deprecation, what Dancer2/the community is gaining as a result of the
48       deprecation, and what the officially recognized alternative to the
49       deprecated code is.
50
51       The public notice period will provide the developer/user base an
52       opportunity to voice objections or provide feedback or alternatives to
53       deprecation. It also allows the Core Team to better assess the
54       potential long range effects of deprecation.
55
56       While the deprecated feature/code can be discussed by community, the
57       decision will be ultimately made by the Dancer Core Team. There is no
58       definitive time for the public notice period to end; some deprecations
59       are more urgent than others, and each situation is left to the
60       discretion of the Core Team, with feedback from the community.
61
62   Soft Deprecation
63       When code is soft deprecated, a warning will be thrown to indicate that
64       the code is to be considered deprecated. Apps will continue to function
65       normally otherwise.
66
67   Hard Deprecation
68       After 12 months or two major releases (whichever comes first), the code
69       is considered to be hard deprecated. An error will continue to be
70       thrown, but unlike soft deprecation, continued usage of the deprecated
71       code will cause the application to die.
72
73       There is one caveat to this: code will never be deprecated for less
74       than 6 months. So if we deprecate code after v0.500000, become
75       unusually productive, and produce Dancer 0.600000 and 0.700000 in a two
76       month timeframe, no deprecated code will be removed because 6 months
77       hasn't elapsed.
78
79   Removal
80       Six months following hard deprecation, or one major release after hard
81       deprecation, the deprecated code is removed from Dancer2.
82

EXCEPTIONS

84       In special cases, based on community feedback, these timelines may be
85       extended.  But we expect this to be a rare occurrence, at best.
86

PLUGINS

88       We strongly encourage (but cannot/do not require) plugin authors to
89       adopt the same policy.
90

AUTHOR

92       Dancer Core Developers
93
95       This software is copyright (c) 2022 by Alexis Sukrieh.
96
97       This is free software; you can redistribute it and/or modify it under
98       the same terms as the Perl 5 programming language system itself.
99
100
101
102perl v5.36.0                      2022-07-22     Dancer2::DeprecationPolicy(3)
Impressum