diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml index a861c24e..5ee7c21d 100644 --- a/.gitee/ISSUE_TEMPLATE/bug.yml +++ b/.gitee/ISSUE_TEMPLATE/bug.yml @@ -7,7 +7,7 @@ body: attributes: label: 这个 Bug 是否已经存在: options: - - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.8.1,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.8.2,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) required: true - type: textarea attributes: diff --git a/.gitee/ISSUE_TEMPLATE/question.yml b/.gitee/ISSUE_TEMPLATE/question.yml index 2bd405b8..27b154d3 100644 --- a/.gitee/ISSUE_TEMPLATE/question.yml +++ b/.gitee/ISSUE_TEMPLATE/question.yml @@ -13,7 +13,7 @@ body: attributes: label: 这个问题是否已经存在: options: - - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.8.1,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.8.2,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) required: true - type: textarea id: question-description diff --git a/changes.md b/changes.md index bf043db8..9ac9deb6 100644 --- a/changes.md +++ b/changes.md @@ -3,6 +3,19 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 +## v1.8.2 20240305: +- 新增:Maven 编译添加 Javadoc 插件生成 Javadoc 的支持,感谢 @Suomm +- 优化:优化对 SpringBoot3 下的 Druid 数据源适配,感谢 @Suomm #I94P5P +- 优化:dependencies 模块取消继承父模块的其他依赖管理版本,感谢 @Suomm #I94RVP +- 优化:分页在 count 之前先去掉 limit 参数,避免 count 查询错误,感谢 @ocoooo +- 优化:优化 SqlOperators 使之代码更加严谨 +- 优化:代码生成器 Table.java 添加 containsColumn 方法的支持 +- 优化:TypeHandlerObject 添加 value 的 getter 方法,方便拦截器在某些场景下获取,感谢 @ruansheng +- 修复:全局 TypeHandler 无法注册的问题,感谢 @Suomm +- 修复:ConvertUtil.java 无法正确转换 Serializable 参数的问题 + + + ## v1.8.1 20240302: - 新增:添加 CommaSplitTypeHandler 用于对逗号分割存储映射到实体类 `List` 的支持 - 新增:代码生成器 EntityConfig 添加 superClassFactory 配置的支持 diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index 1a7e792c..82c5e334 100644 --- a/docs/zh/intro/getting-started.md +++ b/docs/zh/intro/getting-started.md @@ -53,7 +53,7 @@ VALUES (1, '张三', 18, '2020-01-11'), com.mybatis-flex mybatis-flex-spring-boot-starter - 1.8.1 + 1.8.2 com.mysql @@ -81,7 +81,7 @@ VALUES (1, '张三', 18, '2020-01-11'), com.mybatis-flex mybatis-flex-spring-boot3-starter - 1.8.1 + 1.8.2 com.mysql diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md index 6dfc23fa..4d4a32ec 100644 --- a/docs/zh/intro/gradle.md +++ b/docs/zh/intro/gradle.md @@ -10,7 +10,7 @@ ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-core:1.8.1") + implementation("com.mybatis-flex:mybatis-flex-core:1.8.2") } ``` @@ -18,7 +18,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-core:1.8.1' + implementation 'com.mybatis-flex:mybatis-flex-core:1.8.2' } ``` @@ -28,7 +28,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring:1.8.1") + implementation("com.mybatis-flex:mybatis-flex-spring:1.8.2") } ``` @@ -36,7 +36,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring:1.8.1' + implementation 'com.mybatis-flex:mybatis-flex-spring:1.8.2' } ``` @@ -46,7 +46,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.1") + implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.2") } ``` @@ -54,7 +54,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.1' + implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.2' } ``` @@ -70,7 +70,7 @@ dependencies { ```kotlin dependencies { - annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.8.1") + annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.8.2") } ``` @@ -78,6 +78,6 @@ dependencies { ```groovy dependencies { - annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.1' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.2' } ``` diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index ad075e4f..a2213d76 100644 --- a/docs/zh/intro/maven.md +++ b/docs/zh/intro/maven.md @@ -12,12 +12,12 @@ com.mybatis-flex mybatis-flex-core - 1.8.1 + 1.8.2 com.mybatis-flex mybatis-flex-processor - 1.8.1 + 1.8.2 provided ``` @@ -28,12 +28,12 @@ com.mybatis-flex mybatis-flex-spring - 1.8.1 + 1.8.2 com.mybatis-flex mybatis-flex-processor - 1.8.1 + 1.8.2 provided `````` @@ -44,12 +44,12 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.8.1 + 1.8.2 com.mybatis-flex mybatis-flex-processor - 1.8.1 + 1.8.2 provided ``` @@ -60,12 +60,12 @@ com.mybatis-flex mybatis-flex-spring-boot3-starter - 1.8.1 + 1.8.2 com.mybatis-flex mybatis-flex-processor - 1.8.1 + 1.8.2 provided ``` @@ -88,7 +88,7 @@ com.mybatis-flex mybatis-flex-processor - 1.8.1 + 1.8.2 diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md index 7d2cebe4..b8d215a4 100644 --- a/docs/zh/others/apt.md +++ b/docs/zh/others/apt.md @@ -220,7 +220,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置, ``` dependencies { ... - annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.1' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.2' } ``` diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index 17d1654f..9b69362a 100644 --- a/docs/zh/others/codegen.md +++ b/docs/zh/others/codegen.md @@ -10,7 +10,7 @@ com.mybatis-flex mybatis-flex-codegen - 1.8.1 + 1.8.2 ``` diff --git a/mybatis-flex-annotation/pom.xml b/mybatis-flex-annotation/pom.xml index 60486338..47dce985 100644 --- a/mybatis-flex-annotation/pom.xml +++ b/mybatis-flex-annotation/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 diff --git a/mybatis-flex-codegen/pom.xml b/mybatis-flex-codegen/pom.xml index dbf4b4c0..04ce6f97 100644 --- a/mybatis-flex-codegen/pom.xml +++ b/mybatis-flex-codegen/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-core - 1.8.1 + 1.8.2 com.mybatis-flex diff --git a/mybatis-flex-core/pom.xml b/mybatis-flex-core/pom.xml index 46cf5598..755b988e 100644 --- a/mybatis-flex-core/pom.xml +++ b/mybatis-flex-core/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 @@ -101,7 +101,7 @@ com.mybatis-flex mybatis-flex-annotation - 1.8.1 + 1.8.2 compile diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/FlexConsts.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/FlexConsts.java index 15cc631f..6860d8aa 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/FlexConsts.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/FlexConsts.java @@ -27,7 +27,7 @@ public class FlexConsts { } public static final String NAME = "MyBatis-Flex"; - public static final String VERSION = "1.8.1"; + public static final String VERSION = "1.8.2"; public static final String SQL = "$$sql"; diff --git a/mybatis-flex-dependencies/pom.xml b/mybatis-flex-dependencies/pom.xml index 653d8d84..348de698 100644 --- a/mybatis-flex-dependencies/pom.xml +++ b/mybatis-flex-dependencies/pom.xml @@ -6,7 +6,7 @@ com.mybatis-flex mybatis-flex-dependencies - 1.8.1 + 1.8.2 pom @@ -25,7 +25,7 @@ - 1.8.1 + 1.8.2 diff --git a/mybatis-flex-processor/pom.xml b/mybatis-flex-processor/pom.xml index c294220f..4ae5a788 100644 --- a/mybatis-flex-processor/pom.xml +++ b/mybatis-flex-processor/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 @@ -22,7 +22,7 @@ com.mybatis-flex mybatis-flex-annotation - 1.8.1 + 1.8.2 diff --git a/mybatis-flex-solon-plugin/pom.xml b/mybatis-flex-solon-plugin/pom.xml index ab9e0a1f..a1cd6461 100644 --- a/mybatis-flex-solon-plugin/pom.xml +++ b/mybatis-flex-solon-plugin/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 diff --git a/mybatis-flex-spring-boot-starter/pom.xml b/mybatis-flex-spring-boot-starter/pom.xml index 4f77e5ae..b319a542 100644 --- a/mybatis-flex-spring-boot-starter/pom.xml +++ b/mybatis-flex-spring-boot-starter/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-spring - 1.8.1 + 1.8.2 @@ -104,7 +104,7 @@ com.mybatis-flex mybatis-flex-core - 1.8.1 + 1.8.2 diff --git a/mybatis-flex-spring-boot3-starter/pom.xml b/mybatis-flex-spring-boot3-starter/pom.xml index 603eb606..65b6f992 100644 --- a/mybatis-flex-spring-boot3-starter/pom.xml +++ b/mybatis-flex-spring-boot3-starter/pom.xml @@ -6,7 +6,7 @@ com.mybatis-flex parent - 1.8.1 + 1.8.2 mybatis-flex-spring-boot3-starter @@ -19,7 +19,7 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.8.1 + 1.8.2 org.mybatis diff --git a/mybatis-flex-spring/pom.xml b/mybatis-flex-spring/pom.xml index bdb7ea83..54dd4279 100644 --- a/mybatis-flex-spring/pom.xml +++ b/mybatis-flex-spring/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 @@ -22,7 +22,7 @@ com.mybatis-flex mybatis-flex-core - 1.8.1 + 1.8.2 diff --git a/mybatis-flex-test/mybatis-flex-native-test/pom.xml b/mybatis-flex-test/mybatis-flex-native-test/pom.xml index 09c8422d..8004cfae 100644 --- a/mybatis-flex-test/mybatis-flex-native-test/pom.xml +++ b/mybatis-flex-test/mybatis-flex-native-test/pom.xml @@ -5,7 +5,7 @@ mybatis-flex-test com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 diff --git a/mybatis-flex-test/mybatis-flex-seata-test/pom.xml b/mybatis-flex-test/mybatis-flex-seata-test/pom.xml index 349df0f1..299133b0 100644 --- a/mybatis-flex-test/mybatis-flex-seata-test/pom.xml +++ b/mybatis-flex-test/mybatis-flex-seata-test/pom.xml @@ -4,7 +4,7 @@ mybatis-flex-test com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 diff --git a/mybatis-flex-test/mybatis-flex-spring-boot-test/pom.xml b/mybatis-flex-test/mybatis-flex-spring-boot-test/pom.xml index c9cca223..edbb9960 100644 --- a/mybatis-flex-test/mybatis-flex-spring-boot-test/pom.xml +++ b/mybatis-flex-test/mybatis-flex-spring-boot-test/pom.xml @@ -5,7 +5,7 @@ mybatis-flex-test com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 diff --git a/mybatis-flex-test/mybatis-flex-spring-cloud-test/pom.xml b/mybatis-flex-test/mybatis-flex-spring-cloud-test/pom.xml index 076cace8..ab9be95a 100644 --- a/mybatis-flex-test/mybatis-flex-spring-cloud-test/pom.xml +++ b/mybatis-flex-test/mybatis-flex-spring-cloud-test/pom.xml @@ -5,7 +5,7 @@ mybatis-flex-test com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 diff --git a/mybatis-flex-test/mybatis-flex-spring-test/pom.xml b/mybatis-flex-test/mybatis-flex-spring-test/pom.xml index 1e332b7a..899db0da 100644 --- a/mybatis-flex-test/mybatis-flex-spring-test/pom.xml +++ b/mybatis-flex-test/mybatis-flex-spring-test/pom.xml @@ -5,7 +5,7 @@ mybatis-flex-test com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 diff --git a/mybatis-flex-test/pom.xml b/mybatis-flex-test/pom.xml index 16d618fb..6a029af8 100644 --- a/mybatis-flex-test/pom.xml +++ b/mybatis-flex-test/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.8.1 + 1.8.2 4.0.0 diff --git a/pom.xml b/pom.xml index a79a1245..47256990 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.mybatis-flex parent pom - 1.8.1 + 1.8.2 mybatis-flex https://mybatis-flex.com @@ -55,7 +55,7 @@ 8 8 - 1.8.1 + 1.8.2 3.5.15 2.1.2