From 57226aa5b1219d0fcc9235179ab210cd42be065a Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Tue, 4 Jun 2024 09:25:09 +0800 Subject: [PATCH] build: v1.9.2 release (^.^)YYa!! --- .gitee/ISSUE_TEMPLATE/bug.yml | 2 +- changes.md | 8 ++++++++ docs/zh/changes.md | 8 ++++++++ docs/zh/intro/getting-started.md | 4 ++-- docs/zh/intro/gradle.md | 16 ++++++++-------- docs/zh/intro/maven.md | 18 +++++++++--------- docs/zh/others/apt.md | 2 +- docs/zh/others/kapt.md | 2 +- mybatis-flex-annotation/pom.xml | 2 +- mybatis-flex-codegen/pom.xml | 4 ++-- mybatis-flex-core/pom.xml | 4 ++-- .../java/com/mybatisflex/core/FlexConsts.java | 2 +- mybatis-flex-dependencies/pom.xml | 4 ++-- mybatis-flex-processor/pom.xml | 4 ++-- mybatis-flex-solon-plugin/pom.xml | 2 +- mybatis-flex-spring-boot-starter/pom.xml | 6 +++--- mybatis-flex-spring-boot3-starter/pom.xml | 4 ++-- mybatis-flex-spring/pom.xml | 4 ++-- .../mybatis-flex-native-test/pom.xml | 2 +- .../mybatis-flex-seata-test/pom.xml | 2 +- .../mybatis-flex-spring-boot-test/pom.xml | 2 +- .../mybatis-flex-spring-cloud-test/pom.xml | 2 +- .../mybatis-flex-spring-test/pom.xml | 2 +- mybatis-flex-test/pom.xml | 2 +- pom.xml | 4 ++-- 25 files changed, 64 insertions(+), 48 deletions(-) diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml index 7b09f536..95db2754 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.9.1,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.9.2,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) required: true - type: textarea attributes: diff --git a/changes.md b/changes.md index 7ad61b31..f6a2fbab 100644 --- a/changes.md +++ b/changes.md @@ -2,6 +2,14 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 + +## v1.9.2 20240604 +- 新增:代码生成器新增 PostgreSQL 方言的实现,感谢 @StringKe +- 修复:当 FunctionQueryColumn 中存在 table,会导致分页查询时 SQL 优化错误的问题,感谢 @98Kming +- 修复:修复 v1.9.0 由于重构 Mapper 导致 dsKey 获取可能出现错误的问题 + + + ## v1.9.1 20240602 - 修复:修复 v1.9.0 由于重构 Mapper 导致 solon 无法注册 mapper 的问题 - 优化:优化 FlexMapperProxy 数据源的处理逻辑 diff --git a/docs/zh/changes.md b/docs/zh/changes.md index 7ad61b31..f6a2fbab 100644 --- a/docs/zh/changes.md +++ b/docs/zh/changes.md @@ -2,6 +2,14 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 + +## v1.9.2 20240604 +- 新增:代码生成器新增 PostgreSQL 方言的实现,感谢 @StringKe +- 修复:当 FunctionQueryColumn 中存在 table,会导致分页查询时 SQL 优化错误的问题,感谢 @98Kming +- 修复:修复 v1.9.0 由于重构 Mapper 导致 dsKey 获取可能出现错误的问题 + + + ## v1.9.1 20240602 - 修复:修复 v1.9.0 由于重构 Mapper 导致 solon 无法注册 mapper 的问题 - 优化:优化 FlexMapperProxy 数据源的处理逻辑 diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index 8fb33d3d..84051746 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.9.1 + 1.9.2 com.mysql @@ -81,7 +81,7 @@ VALUES (1, '张三', 18, '2020-01-11'), com.mybatis-flex mybatis-flex-spring-boot3-starter - 1.9.1 + 1.9.2 com.mysql diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md index 4e6b27d3..415e784b 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.9.1") + implementation("com.mybatis-flex:mybatis-flex-core:1.9.2") } ``` @@ -18,7 +18,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-core:1.9.1' + implementation 'com.mybatis-flex:mybatis-flex-core:1.9.2' } ``` @@ -28,7 +28,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring:1.9.1") + implementation("com.mybatis-flex:mybatis-flex-spring:1.9.2") } ``` @@ -36,7 +36,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring:1.9.1' + implementation 'com.mybatis-flex:mybatis-flex-spring:1.9.2' } ``` @@ -46,7 +46,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.9.1") + implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.9.2") } ``` @@ -54,7 +54,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.9.1' + implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.9.2' } ``` @@ -70,7 +70,7 @@ dependencies { ```kotlin dependencies { - annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.9.1") + annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.9.2") } ``` @@ -78,6 +78,6 @@ dependencies { ```groovy dependencies { - annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.9.1' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.9.2' } ``` diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index 1b880a29..27d42148 100644 --- a/docs/zh/intro/maven.md +++ b/docs/zh/intro/maven.md @@ -12,12 +12,12 @@ com.mybatis-flex mybatis-flex-core - 1.9.1 + 1.9.2 com.mybatis-flex mybatis-flex-processor - 1.9.1 + 1.9.2 provided ``` @@ -28,12 +28,12 @@ com.mybatis-flex mybatis-flex-spring - 1.9.1 + 1.9.2 com.mybatis-flex mybatis-flex-processor - 1.9.1 + 1.9.2 provided `````` @@ -44,12 +44,12 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.9.1 + 1.9.2 com.mybatis-flex mybatis-flex-processor - 1.9.1 + 1.9.2 provided ``` @@ -60,12 +60,12 @@ com.mybatis-flex mybatis-flex-spring-boot3-starter - 1.9.1 + 1.9.2 com.mybatis-flex mybatis-flex-processor - 1.9.1 + 1.9.2 provided ``` @@ -88,7 +88,7 @@ com.mybatis-flex mybatis-flex-processor - 1.9.1 + 1.9.2 diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md index 425d4bb3..fecc1a93 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.9.1' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.9.2' } ``` diff --git a/docs/zh/others/kapt.md b/docs/zh/others/kapt.md index c11e1b96..aeae809c 100644 --- a/docs/zh/others/kapt.md +++ b/docs/zh/others/kapt.md @@ -10,7 +10,7 @@ ```kotlin plugins { - kotlin("kapt") version "1.9.1" + kotlin("kapt") version "1.9.2" } ``` diff --git a/mybatis-flex-annotation/pom.xml b/mybatis-flex-annotation/pom.xml index a3659fcc..cd9d7eff 100644 --- a/mybatis-flex-annotation/pom.xml +++ b/mybatis-flex-annotation/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.1 + 1.9.2 4.0.0 diff --git a/mybatis-flex-codegen/pom.xml b/mybatis-flex-codegen/pom.xml index b26effc5..ee67eccf 100644 --- a/mybatis-flex-codegen/pom.xml +++ b/mybatis-flex-codegen/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.1 + 1.9.2 4.0.0 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-core - 1.9.1 + 1.9.2 com.mybatis-flex diff --git a/mybatis-flex-core/pom.xml b/mybatis-flex-core/pom.xml index 397fc191..87f96d41 100644 --- a/mybatis-flex-core/pom.xml +++ b/mybatis-flex-core/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.1 + 1.9.2 4.0.0 @@ -101,7 +101,7 @@ com.mybatis-flex mybatis-flex-annotation - 1.9.1 + 1.9.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 fd7e5cc8..7f4af62b 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.9.1"; + public static final String VERSION = "1.9.2"; public static final String SQL = "$$sql"; diff --git a/mybatis-flex-dependencies/pom.xml b/mybatis-flex-dependencies/pom.xml index dd073a76..be86ea31 100644 --- a/mybatis-flex-dependencies/pom.xml +++ b/mybatis-flex-dependencies/pom.xml @@ -6,7 +6,7 @@ com.mybatis-flex mybatis-flex-dependencies - 1.9.1 + 1.9.2 pom @@ -48,7 +48,7 @@ - 1.9.1 + 1.9.2 diff --git a/mybatis-flex-processor/pom.xml b/mybatis-flex-processor/pom.xml index b6296ba1..ce924cd8 100644 --- a/mybatis-flex-processor/pom.xml +++ b/mybatis-flex-processor/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.1 + 1.9.2 4.0.0 @@ -22,7 +22,7 @@ com.mybatis-flex mybatis-flex-annotation - 1.9.1 + 1.9.2 diff --git a/mybatis-flex-solon-plugin/pom.xml b/mybatis-flex-solon-plugin/pom.xml index b9b76e1c..bfb22017 100644 --- a/mybatis-flex-solon-plugin/pom.xml +++ b/mybatis-flex-solon-plugin/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.1 + 1.9.2 4.0.0 diff --git a/mybatis-flex-spring-boot-starter/pom.xml b/mybatis-flex-spring-boot-starter/pom.xml index 2574230d..015d784d 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.9.1 + 1.9.2 4.0.0 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-spring - 1.9.1 + 1.9.2 @@ -104,7 +104,7 @@ com.mybatis-flex mybatis-flex-core - 1.9.1 + 1.9.2 diff --git a/mybatis-flex-spring-boot3-starter/pom.xml b/mybatis-flex-spring-boot3-starter/pom.xml index 700c6786..44eb9742 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.9.1 + 1.9.2 mybatis-flex-spring-boot3-starter @@ -19,7 +19,7 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.9.1 + 1.9.2 org.mybatis diff --git a/mybatis-flex-spring/pom.xml b/mybatis-flex-spring/pom.xml index 7b4e13ba..5f060742 100644 --- a/mybatis-flex-spring/pom.xml +++ b/mybatis-flex-spring/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.1 + 1.9.2 4.0.0 @@ -22,7 +22,7 @@ com.mybatis-flex mybatis-flex-core - 1.9.1 + 1.9.2 diff --git a/mybatis-flex-test/mybatis-flex-native-test/pom.xml b/mybatis-flex-test/mybatis-flex-native-test/pom.xml index a6ea8d86..76e3c758 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.9.1 + 1.9.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 48c5ff62..3c78b557 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.9.1 + 1.9.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 2a5166c4..675a8ff7 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.9.1 + 1.9.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 f01dd393..e56e7e37 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.9.1 + 1.9.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 f08d0055..b2069b2a 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.9.1 + 1.9.2 4.0.0 diff --git a/mybatis-flex-test/pom.xml b/mybatis-flex-test/pom.xml index c419e51b..9530657a 100644 --- a/mybatis-flex-test/pom.xml +++ b/mybatis-flex-test/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.1 + 1.9.2 4.0.0 diff --git a/pom.xml b/pom.xml index 239d18e7..aae33f7a 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.mybatis-flex parent pom - 1.9.1 + 1.9.2 mybatis-flex https://mybatis-flex.com @@ -55,7 +55,7 @@ 8 8 - 1.9.1 + 1.9.2 3.5.15 2.1.2