summaryrefslogtreecommitdiff
path: root/releasenotes/notes/add-deprecated-metadata-to-DeprecatedRule-79d2e8a3f5d11743.yaml
blob: 4d5c4840660708d1e267fa86a3f06f2859ff0543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
features:
  - |
    ``DeprecatedRule`` now accepts two new parameters: ``deprecated_reason``
    and ``deprecated_since``. These should be used in place of the equivalent
    parameters on the rule that is replacing this rule in order to avoid
    confusion.
upgrade:
  - |
    Users with a ``RuleDefault`` or ``DocumentedRuleDefault`` that have
    configured a ``deprecated_rule`` should move the ``deprecated_reason``
    and ``deprecated_since`` parameters to this ``DeprecatedRule``.