Add since attribute to @DeprecatedConfigurationProperty annotation

Closes gh-36482
This commit is contained in:
Scott Frederick
2023-07-28 16:20:23 -05:00
parent 0646eabd4a
commit 2e50d11d86
18 changed files with 116 additions and 64 deletions

View File

@@ -198,6 +198,11 @@ The JSON object contained in the `deprecation` attribute of each `properties` el
| String
| The full name of the property that _replaces_ this deprecated property.
If there is no replacement for this property, it may be omitted.
| `since`
| String
| The version in which the property became deprecated.
Can be omitted.
|===
NOTE: Prior to Spring Boot 1.3, a single `deprecated` boolean attribute can be used instead of the `deprecation` element.