Skip to content

Commit 5be84dd

Browse files
committed
Merge branch '2.0.x'
2 parents 13835c5 + cdbe6fa commit 5be84dd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,26 @@ that provides detailed upgrade instructions. Check also the
451451
{github-wiki}["`release notes`"] for a list of "`new and noteworthy`" features for each
452452
release.
453453

454+
When upgrading to a new feature release, some properties may have been renamed or removed.
455+
Spring Boot provides a way to analyze your application's environment and print diagnostics
456+
at startup, but also temporarily migrate properties at runtime for you. To enable that
457+
feature, add the following dependency to your project:
458+
459+
[source,xml,indent=0]
460+
----
461+
<dependency>
462+
<groupId>org.springframework.boot</groupId>
463+
<artifactId>spring-boot-properties-migrator</artifactId>
464+
<scope>runtime</scope>
465+
</dependency>
466+
----
467+
468+
WARNING: properties that are added late to the environment, such as when using
469+
`@PropertySource`, will not be taken into account.
470+
471+
NOTE: Once you're done with the migration, please make sure to remove this module from
472+
your project's dependencies.
473+
454474
To upgrade an existing CLI installation, use the appropriate package manager command (for
455475
example, `brew upgrade`) or, if you manually installed the CLI, follow the
456476
<<getting-started-manual-cli-installation, standard instructions>>, remembering to update

0 commit comments

Comments
 (0)