Skip to content

Commit dad2c77

Browse files
authored
Merge pull request #451 from bburt-rh/issue-420-clarify-deprecation-notice-wording
issue-420: clarify-deprecation-notice-wording
2 parents 94a046b + ff3c0e7 commit dad2c77

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

supplementary_style_guide/style_guidelines/legal.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ In these situations, follow these guidelines:
2424
+
2525
[NOTE]
2626
====
27-
One exception to this rule applies to deprecation notices, which might have to specify a future release in which a feature or functions will be removed.
27+
One exception to this rule applies to deprecation and removal notices, which might have to specify a future release in which a feature or functions will be deprecated and removed.
2828
29-
See xref:release-notes[Release notes] for guidelines about deprecation notices.
29+
See xref:deprecated-and-removed-features[Deprecated and removed features] for guidelines about deprecation and removal notices.
3030
====
3131

3232
.Example: Bug fix statement

supplementary_style_guide/style_guidelines/release-notes.adoc

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ This enhancement optimizes migration of an RBD volume from one Cinder back end t
3131
With this update, you can create application credentials to use keystone to authenticate applications.
3232
----
3333

34-
3534
=== Bug fix
3635

3736
Use past tense for the problem and present tense for the solution, in the following format:
@@ -64,32 +63,39 @@ Workaround: Rerun the deployment command, or use a local container image registr
6463

6564
For guidance and the template text to use for Technology Preview features, see the xref:technology-preview-guidance[Technology Preview] section.
6665

67-
=== Deprecated functionality
68-
Warn users about the following deprecation stages:
66+
[[deprecated-and-removed-features]]
67+
=== Deprecated and removed features
68+
69+
Documenting the deprecation and removal stages of software features requires careful and precise communication.
70+
Highlight the following stages to users:
6971

7072
* Plan to deprecate
7173
* Deprecate
7274
* Plan to remove
7375
* Remove
7476

75-
If available, inform users of alternative capabilities and workarounds.
77+
When alternatives to or workarounds for deprecated features are available, clearly inform users about them.
78+
79+
==== Referring to releases in deprecation and removal notices
80+
In general, avoid definitive statements about specific releases, release versions, or dates for deprecation or removal.
81+
When possible, use the phrase "is planned for a future release" because it accounts for the possibility of changes to the planned deprecation or removal timeline.
82+
83+
If you must be specific about a release, use provisional language to reflect the fluid nature of development plans and to acknowledge the potential for plans to change.
84+
For example, if you must cite a specific version, rather than stating "<x> will be deprecated in version 4.16", use "It is currently planned for <x> to be deprecated in version 4.16".
85+
Alternatively, if you must cite a deprecation or removal timeline and you want to avoid citing a specific release number, use a phrase such as "<x> is planned to be deprecated in the next release".
7686

77-
==== Deprecation notice
87+
==== Deprecation notice template
7888
[subs="+quotes"]
7989
----
8090
In __<product_name> <release>__, __<name_of_capability_or_feature>__ is deprecated and is planned to be removed in the __<deprecation_timeline>__. Red{nbsp}Hat will provide bug fixes and support for this feature during the current release lifecycle, but this feature will no longer receive enhancements and will be removed. As an alternative to __<name_of_capability_or_feature>__, you can use __<alternative_capability_or_feature_if_available>__ instead.
8191
----
82-
[NOTE]
83-
====
84-
When citing deprecation timelines, refer to specific releases, such as __the next release__, only if that timeline is known to be accurate. Otherwise, use the phrase __a future release__ because it accounts for the possibility of changes to the planned deprecation timeline.
85-
====
8692

8793
.Example deprecation notice doc text
8894
----
8995
In Red{nbsp}Hat OpenStack Platform (RHOSP) 14, the director graphical user interface is deprecated and is planned to be removed in a future release. Red{nbsp}Hat will provide bug fixes and support for this feature during the current release lifecycle, but this feature will no longer receive enhancements and will be removed.
9096
----
9197

92-
==== Removal notice
98+
==== Removal notice template
9399
[subs="+quotes"]
94100
----
95101
In __<product_name> <current_release>__, __<name of capability or feature>__ has been removed. Bug fixes and support are provided only through the end of the __<previous_release>__ lifecycle. As an alternative to __<name_of_capability_or_feature>__, you can use __<alternative_capability_or_feature_if_available>__ instead.

0 commit comments

Comments
 (0)