From 48548de8d7bdbd78100b5f44a2494bf5f9302571 Mon Sep 17 00:00:00 2001 From: Kazuki Shimizu Date: Sun, 30 Nov 2025 01:45:07 +0900 Subject: [PATCH] Update documents for supporting Spring Boot 4 Fixed gh-1146 --- README.md | 5 +++-- mybatis-spring-boot-autoconfigure/src/site/markdown/index.md | 3 ++- .../src/site/zh_CN/markdown/index.md | 3 ++- .../src/site/markdown/index.md | 3 ++- .../src/site/zh_CN/markdown/index.md | 3 ++- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8d79e2fea..89ae30dd4 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,13 @@ MyBatis Spring-Boot-Starter will help you to use [MyBatis](https://github.com/my ## Requirements -* master : MyBatis 3.5, MyBatis-Spring 3.0, Java 17+ and Spring Boot 3.0-3.5 +* master : MyBatis 3.5, MyBatis-Spring 3.0, Java 17+ and Spring Boot 4.0+ +* 3.0.x : MyBatis 3.5, MyBatis-Spring 3.0, Java 17+ and Spring Boot 3.2-3.5 * 2.3.x : MyBatis 3.5, MyBatis-Spring 2.1, Java 8+ and Spring Boot 2.7 ## Compatibility Check -* Compatibility with Spring Boot 2.7 - 3.5 [here](https://github.com/kazuki43zoo/mybatis-spring-boot-dev-compatibility-checker) +* Compatibility with Spring Boot 2.7 - 4.0 [here](https://github.com/kazuki43zoo/mybatis-spring-boot-dev-compatibility-checker) ## Creating new project via Spring Initializr diff --git a/mybatis-spring-boot-autoconfigure/src/site/markdown/index.md b/mybatis-spring-boot-autoconfigure/src/site/markdown/index.md index 69f592135..188d92fa5 100644 --- a/mybatis-spring-boot-autoconfigure/src/site/markdown/index.md +++ b/mybatis-spring-boot-autoconfigure/src/site/markdown/index.md @@ -25,7 +25,8 @@ The MyBatis-Spring-Boot-Starter requires following versions: | MyBatis-Spring-Boot-Starter | MyBatis-Spring | Spring Boot | Java | |-----------------------------|-------------------------------------------|----------------|-----------------| -| **3.0** | 3.0 | 3.0 - 3.5 | 17 or higher | +| **4.0** | 3.0 | 4.0+ | 17 or higher | +| **3.0** | 3.0 | 3.2 - 3.5 | 17 or higher | | **2.3** | 2.1 | 2.7 | 8 or higher | | **~~2.2 (EOL)~~** | ~~2.0 (need 2.0.6+ for enable all features)~~ | ~~2.5 - 2.7~~ | ~~8 or higher~~ | | **~~2.1 (EOL)~~** | ~~2.0 (need 2.0.6+ for enable all features)~~ | ~~2.1 - 2.4~~ | ~~8 or higher~~ | diff --git a/mybatis-spring-boot-autoconfigure/src/site/zh_CN/markdown/index.md b/mybatis-spring-boot-autoconfigure/src/site/zh_CN/markdown/index.md index 531c73311..be49f6092 100644 --- a/mybatis-spring-boot-autoconfigure/src/site/zh_CN/markdown/index.md +++ b/mybatis-spring-boot-autoconfigure/src/site/zh_CN/markdown/index.md @@ -25,7 +25,8 @@ MyBatis-Spring-Boot-Starter 要求以下版本: | MyBatis-Spring-Boot-Starter | MyBatis-Spring | Spring Boot | Java | |-----------------------------|----------------------|---------------|-----------| -| **3.0** | 3.0 | 3.0 - 3.4 | 17 或更高 | +| **4.0** | 3.0 | 4.0+ | 17 或更高 | +| **3.0** | 3.0 | 3.2 - 3.5 | 17 或更高 | | **2.3** | 2.1 | 2.7 | 8 或更高 | | **~~2.2 (EOL)~~** | ~~2.0(2.0.6 以上可开启所有特性~~) | ~~2.5 - 2.7~~ | ~~8 或更高~~ | | **~~2.1 (EOL)~~** | ~~2.0(2.0.6 以上可开启所有特性)~~ | ~~2.1 - 2.4~~ | ~~8 或更高~~ | diff --git a/mybatis-spring-boot-test-autoconfigure/src/site/markdown/index.md b/mybatis-spring-boot-test-autoconfigure/src/site/markdown/index.md index 4c040dfda..c04836286 100644 --- a/mybatis-spring-boot-test-autoconfigure/src/site/markdown/index.md +++ b/mybatis-spring-boot-test-autoconfigure/src/site/markdown/index.md @@ -24,7 +24,8 @@ The MyBatis-Spring-Boot-Starter-Test requires following versions: | MyBatis-Spring-Boot-Starter-Test | Spring Boot | Java | |----------------------------------|----------------|-----------------| -| **3.0** | 3.0 - 3.5 | 17 or higher | +| **4.0** | 4.0+ | 17 or higher | +| **3.0** | 3.2 - 3.5 | 17 or higher | | **2.3** | 2.7 | 8 or higher | | **~~2.2 (EOL)~~** | ~~2.5 - 2.7~~ | ~~8 or higher~~ | | **~~2.1 (EOL)~~** | ~~2.1 - 2.4~~ | ~~8 or higher~~ | diff --git a/mybatis-spring-boot-test-autoconfigure/src/site/zh_CN/markdown/index.md b/mybatis-spring-boot-test-autoconfigure/src/site/zh_CN/markdown/index.md index 4567fcd4e..013c85c18 100644 --- a/mybatis-spring-boot-test-autoconfigure/src/site/zh_CN/markdown/index.md +++ b/mybatis-spring-boot-test-autoconfigure/src/site/zh_CN/markdown/index.md @@ -22,7 +22,8 @@ TheMyBatis-Spring-Boot-Starter-Test 要求以下版本: | MyBatis-Spring-Boot-Starter-Test | Spring Boot | Java | |----------------------------------|---------------|-----------| -| **3.0** | 3.0 - 3.4 | 17 或更高 | +| **4.0** | 4.0+ | 17 或更高 | +| **3.0** | 3.2 - 3.5 | 17 或更高 | | **2.3** | 2.7 | 8 或更高 | | **~~2.2 (EOL)~~** | ~~2.5 - 2.7~~ | ~~8 或更高~~ | | **~~2.1 (EOL)~~** | ~~2.1 - 2.4~~ | ~~8 或更高~~ |