From ac75bc922d6f57821d708a7b1dbbb77cec5e8dfb Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 12 Nov 2024 19:10:46 +0900 Subject: [PATCH] Update "Upgrading From" section to additionally use "2.x" See gh-43123 Co-authored-by: Moritz Halbritter --- .../src/docs/asciidoc/documentation/upgrading.adoc | 3 ++- .../spring-boot-docs/src/docs/asciidoc/upgrading.adoc | 2 ++ .../src/docs/asciidoc/upgrading/from-1x.adoc | 2 +- .../src/docs/asciidoc/upgrading/from-2x.adoc | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/from-2x.adoc diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/documentation/upgrading.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/documentation/upgrading.adoc index cd31169cf304..97549f08d5cc 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/documentation/upgrading.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/documentation/upgrading.adoc @@ -5,7 +5,8 @@ You should always ensure that you are running a {github-wiki}/Supported-Versions Depending on the version that you are upgrading to, you can find some additional tips here: -* *From 1.x:* <> +* *From 1.x:* <> +* *From 2.x:* <> * *To a new feature release:* <> * *Spring Boot CLI:* <> diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading.adoc index 1292c64da3a5..6ec74d3a7b7a 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading.adoc @@ -10,6 +10,8 @@ If you are more than one release behind, please make sure that you also review t include::upgrading/from-1x.adoc[] +include::upgrading/from-2x.adoc[] + include::upgrading/to-feature.adoc[] include::upgrading/cli.adoc[] diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/from-1x.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/from-1x.adoc index e899fe09acc5..f1ad0525ff4f 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/from-1x.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/from-1x.adoc @@ -1,5 +1,5 @@ [[upgrading.from-1x]] == Upgrading From 1.x -If you are upgrading from the `1.x` release of Spring Boot, check the {github-wiki}/Spring-Boot-2.0-Migration-Guide["`migration guide`" on the project wiki] that provides detailed upgrade instructions. +If you are upgrading from the `1.x` release of Spring Boot, check the {github-wiki}/Spring-Boot-2.0-Migration-Guide["`migration guide`" on the project wiki] that provides detailed upgrade instructions to upgrade to Spring Boot 2.x. Check also the {github-wiki}["`release notes`"] for a list of "`new and noteworthy`" features for each release. diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/from-2x.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/from-2x.adoc new file mode 100644 index 000000000000..80df5ac1e9eb --- /dev/null +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/upgrading/from-2x.adoc @@ -0,0 +1,5 @@ +[[upgrading.from-2x]] +== Upgrading From 2.x + +If you are upgrading from the `2.x` release of Spring Boot, check the {github-wiki}/Spring-Boot-3.0-Migration-Guide["`migration guide`" on the project wiki] that provides detailed upgrade instructions. +Check also the {github-wiki}["`release notes`"] for a list of "`new and noteworthy`" features for each release.