From 097d93a343cf5bd5a9cc35c9f6be913e770bbd10 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Wed, 19 Mar 2025 18:25:12 +0800 Subject: [PATCH] build: v1.10.9 release (^.^)YYa!! --- .gitee/ISSUE_TEMPLATE/bug.yml | 2 +- changes.md | 8 +++++++ docs/zh/intro/getting-started.md | 4 ++-- docs/zh/intro/gradle.md | 20 ++++++++--------- docs/zh/intro/maven.md | 22 +++++++++---------- docs/zh/others/apt.md | 2 +- docs/zh/others/codegen.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 | 6 ++--- 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-solon-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, 62 insertions(+), 54 deletions(-) diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml index 7ca09343..c8bc8d9a 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.10.8,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.10.9,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) required: true - type: textarea attributes: diff --git a/changes.md b/changes.md index 6ff73885..35136e95 100644 --- a/changes.md +++ b/changes.md @@ -2,6 +2,14 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 +## v1.10.9 20250319 +- 新增: 代码生成器支持配置 entity 类 lombok 注解生成 (@NoArgsConstructor, @AllArgsConstructor),感谢 @coder-xiaomo +- 新增:增加全局忽略 schema 配置的支持,感谢 @cui +- 修复:MultiEntityKeyGenerator 不支持 set 设置的问题,感谢 @zhb +- 修复:exists 条件中的表别名和父查询保持一致的问题,感谢 @cybzzz +- 修复:修复在 diaelct 中去调用 Db 工具时可能出现类型转换错误的问题 + + ## v1.10.8 20250217 - 新增:代码生成器 GlobalConfig 添加 setEntityWithBaseClassEnable 设置,感谢 @coder-xiaomo diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index 6b0bd89f..2564390f 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.10.8 + 1.10.9 com.mysql @@ -81,7 +81,7 @@ VALUES (1, '张三', 18, '2020-01-11'), com.mybatis-flex mybatis-flex-spring-boot3-starter - 1.10.8 + 1.10.9 com.mysql diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md index 3f70dbc6..37a07518 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.10.8") + implementation("com.mybatis-flex:mybatis-flex-core:1.10.9") } ``` @@ -18,7 +18,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-core:1.10.8' + implementation 'com.mybatis-flex:mybatis-flex-core:1.10.9' } ``` @@ -28,7 +28,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring:1.10.8") + implementation("com.mybatis-flex:mybatis-flex-spring:1.10.9") } ``` @@ -36,7 +36,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring:1.10.8' + implementation 'com.mybatis-flex:mybatis-flex-spring:1.10.9' } ``` @@ -46,7 +46,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.10.8") + implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.10.9") } ``` @@ -54,7 +54,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.10.8' + implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.10.9' } ``` @@ -65,7 +65,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-solon-plugin:1.10.8") + implementation("com.mybatis-flex:mybatis-flex-solon-plugin:1.10.9") } ``` @@ -73,7 +73,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-solon-plugin:1.10.8' + implementation 'com.mybatis-flex:mybatis-flex-solon-plugin:1.10.9' } ``` @@ -91,7 +91,7 @@ dependencies { ```kotlin dependencies { - annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.10.8") + annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.10.9") } ``` @@ -99,6 +99,6 @@ dependencies { ```groovy dependencies { - annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.10.8' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.10.9' } ``` diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index 05125911..dda3bf76 100644 --- a/docs/zh/intro/maven.md +++ b/docs/zh/intro/maven.md @@ -12,12 +12,12 @@ com.mybatis-flex mybatis-flex-core - 1.10.8 + 1.10.9 com.mybatis-flex mybatis-flex-processor - 1.10.8 + 1.10.9 provided ``` @@ -28,12 +28,12 @@ com.mybatis-flex mybatis-flex-spring - 1.10.8 + 1.10.9 com.mybatis-flex mybatis-flex-processor - 1.10.8 + 1.10.9 provided `````` @@ -44,12 +44,12 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.10.8 + 1.10.9 com.mybatis-flex mybatis-flex-processor - 1.10.8 + 1.10.9 provided ``` @@ -60,12 +60,12 @@ com.mybatis-flex mybatis-flex-spring-boot3-starter - 1.10.8 + 1.10.9 com.mybatis-flex mybatis-flex-processor - 1.10.8 + 1.10.9 provided ``` @@ -76,12 +76,12 @@ com.mybatis-flex mybatis-flex-solon-plugin - 1.10.8 + 1.10.9 com.mybatis-flex mybatis-flex-processor - 1.10.8 + 1.10.9 provided ``` @@ -104,7 +104,7 @@ com.mybatis-flex mybatis-flex-processor - 1.10.8 + 1.10.9 diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md index 9323df95..d7b139a7 100644 --- a/docs/zh/others/apt.md +++ b/docs/zh/others/apt.md @@ -248,7 +248,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置, ``` dependencies { ... - annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.10.8' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.10.9' } ``` diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index 975fea65..6ccc7b5e 100644 --- a/docs/zh/others/codegen.md +++ b/docs/zh/others/codegen.md @@ -21,7 +21,7 @@ com.mybatis-flex mybatis-flex-codegen - 1.10.8 + 1.10.9 ``` diff --git a/mybatis-flex-annotation/pom.xml b/mybatis-flex-annotation/pom.xml index 556196ef..39db3ae4 100644 --- a/mybatis-flex-annotation/pom.xml +++ b/mybatis-flex-annotation/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.10.8 + 1.10.9 4.0.0 diff --git a/mybatis-flex-codegen/pom.xml b/mybatis-flex-codegen/pom.xml index 364e3b83..7398e8f3 100644 --- a/mybatis-flex-codegen/pom.xml +++ b/mybatis-flex-codegen/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.10.8 + 1.10.9 4.0.0 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-core - 1.10.8 + 1.10.9 com.mybatis-flex diff --git a/mybatis-flex-core/pom.xml b/mybatis-flex-core/pom.xml index 0113c836..290cfabb 100644 --- a/mybatis-flex-core/pom.xml +++ b/mybatis-flex-core/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.10.8 + 1.10.9 4.0.0 @@ -101,7 +101,7 @@ com.mybatis-flex mybatis-flex-annotation - 1.10.8 + 1.10.9 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 7e063e33..a958a5a0 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.10.8"; + public static final String VERSION = "1.10.9"; public static final String SQL = "$$sql"; diff --git a/mybatis-flex-dependencies/pom.xml b/mybatis-flex-dependencies/pom.xml index dba0865c..875b5b4d 100644 --- a/mybatis-flex-dependencies/pom.xml +++ b/mybatis-flex-dependencies/pom.xml @@ -6,7 +6,7 @@ com.mybatis-flex mybatis-flex-dependencies - 1.10.8 + 1.10.9 pom @@ -48,7 +48,7 @@ - 1.10.8 + 1.10.9 diff --git a/mybatis-flex-processor/pom.xml b/mybatis-flex-processor/pom.xml index 719ca22f..38a78872 100644 --- a/mybatis-flex-processor/pom.xml +++ b/mybatis-flex-processor/pom.xml @@ -5,13 +5,13 @@ parent com.mybatis-flex - 1.10.8 + 1.10.9 4.0.0 mybatis-flex-processor jar - 1.10.8 + 1.10.9 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-annotation - 1.10.8 + 1.10.9 diff --git a/mybatis-flex-solon-plugin/pom.xml b/mybatis-flex-solon-plugin/pom.xml index 629086fd..8b7a26c9 100644 --- a/mybatis-flex-solon-plugin/pom.xml +++ b/mybatis-flex-solon-plugin/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.10.8 + 1.10.9 4.0.0 diff --git a/mybatis-flex-spring-boot-starter/pom.xml b/mybatis-flex-spring-boot-starter/pom.xml index 3589dd84..261d125a 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.10.8 + 1.10.9 4.0.0 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-spring - 1.10.8 + 1.10.9 @@ -104,7 +104,7 @@ com.mybatis-flex mybatis-flex-core - 1.10.8 + 1.10.9 diff --git a/mybatis-flex-spring-boot3-starter/pom.xml b/mybatis-flex-spring-boot3-starter/pom.xml index e833a178..8e7a6cec 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.10.8 + 1.10.9 mybatis-flex-spring-boot3-starter @@ -19,7 +19,7 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.10.8 + 1.10.9 org.mybatis diff --git a/mybatis-flex-spring/pom.xml b/mybatis-flex-spring/pom.xml index 3b804365..e4744a1e 100644 --- a/mybatis-flex-spring/pom.xml +++ b/mybatis-flex-spring/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.10.8 + 1.10.9 4.0.0 @@ -22,7 +22,7 @@ com.mybatis-flex mybatis-flex-core - 1.10.8 + 1.10.9 diff --git a/mybatis-flex-test/mybatis-flex-native-test/pom.xml b/mybatis-flex-test/mybatis-flex-native-test/pom.xml index 84d809b4..a31d851f 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.10.8 + 1.10.9 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 3883160c..25bb0e65 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.10.8 + 1.10.9 4.0.0 diff --git a/mybatis-flex-test/mybatis-flex-solon-test/pom.xml b/mybatis-flex-test/mybatis-flex-solon-test/pom.xml index 76d9b553..1b35c50e 100644 --- a/mybatis-flex-test/mybatis-flex-solon-test/pom.xml +++ b/mybatis-flex-test/mybatis-flex-solon-test/pom.xml @@ -5,7 +5,7 @@ mybatis-flex-test com.mybatis-flex - 1.10.8 + 1.10.9 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 71528184..0ebbcba4 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.10.8 + 1.10.9 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 72551b1f..4bc52b9a 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.10.8 + 1.10.9 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 0b7bac11..31cbc0f1 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.10.8 + 1.10.9 4.0.0 diff --git a/mybatis-flex-test/pom.xml b/mybatis-flex-test/pom.xml index 2953357b..ac876c75 100644 --- a/mybatis-flex-test/pom.xml +++ b/mybatis-flex-test/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.10.8 + 1.10.9 4.0.0 diff --git a/pom.xml b/pom.xml index 74791ed5..3e112d47 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.mybatis-flex parent pom - 1.10.8 + 1.10.9 mybatis-flex https://mybatis-flex.com @@ -63,7 +63,7 @@ 8 8 - 1.10.8 + 1.10.9 3.5.19 2.1.2