diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc index 6f5b5e0f00c..1d7a903398c 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc @@ -451,6 +451,26 @@ that provides detailed upgrade instructions. Check also the {github-wiki}["`release notes`"] for a list of "`new and noteworthy`" features for each release. +When upgrading to a new feature release, some properties may have been renamed or removed. +Spring Boot provides a way to analyze your application's environment and print diagnostics +at startup, but also temporarily migrate properties at runtime for you. To enable that +feature, add the following dependency to your project: + +[source,xml,indent=0] +---- + + org.springframework.boot + spring-boot-properties-migrator + runtime + +---- + +WARNING: properties that are added late to the environment, such as when using +`@PropertySource`, will not be taken into account. + +NOTE: Once you're done with the migration, please make sure to remove this module from +your project's dependencies. + To upgrade an existing CLI installation, use the appropriate package manager command (for example, `brew upgrade`) or, if you manually installed the CLI, follow the <>, remembering to update