From ed6318737e29214a2f0ec71d528fee96d6bf1a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=80=E6=BA=90=E6=B5=B7=E5=93=A5?= Date: Fri, 27 Oct 2023 09:34:05 +0800 Subject: [PATCH] build: v1.7.3 release (^.^)YYa!! --- .gitee/ISSUE_TEMPLATE/bug.yml | 2 +- .gitee/ISSUE_TEMPLATE/question.yml | 2 +- changes.md | 15 +++++++++++++++ docs/zh/changes.md | 15 +++++++++++++++ docs/zh/intro/getting-started.md | 2 +- docs/zh/intro/gradle.md | 16 ++++++++-------- docs/zh/intro/maven.md | 14 +++++++------- docs/zh/others/apt.md | 2 +- docs/zh/others/codegen.md | 2 +- pom.xml | 4 ++-- 10 files changed, 52 insertions(+), 22 deletions(-) diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml index 30eab021..0c4848b3 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.7.2,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.3,并已搜索过现有的问题 (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 03f73cad..4e2a87c5 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.7.2,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.3,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) required: true - type: textarea id: question-description diff --git a/changes.md b/changes.md index 6b0c45a8..61c71b0a 100644 --- a/changes.md +++ b/changes.md @@ -3,6 +3,21 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 + +## v1.7.3 20231027: +- 新增:添加 Delete SQL 多表关联查询删除的支持 +- 新增:代码生成器添加 `Generator.getTables()` 方法,方便在某些场景下去获取所有表信息 +- 优化:重写 CommonsDialectImpl.wrapColumnAlias 方法,SQL 不对 as 关键字进行关键字包裹 +- 优化:代码生成器优化 IDialect,添加 AbstractJdbcDialect.java +- 优化:QueryModel 的一些泛型方法添加 @SafeVarargs,消除 IDE 警告,感谢 @guan-meng-yuan +- 修复:修复 fieldMapping 基础类型查询 null 的情况,感谢 @guan-meng-yuan +- 修复:多全局 Listener 配置可能缺失问题,感谢 @ice-samll +- 修复:表关联的从表配置 schema,查询从表时 schema 丢失问题,感谢 @font-c +- 测试:添加 filedMapping 的相关代码测试,感谢 @guan-meng-yuan +- 测试:添加全局 Listener 缺失修复的数据库插入测试,感谢 @ice-samll + + + ## v1.7.2 20231018: - 新增:QueryWrapper 添加对 MyBatis-Plus 的兼容 API,方便喜欢 MyBatis-Flex 的用户进行迁移 - 新增:QueryModel #select()方法 添加 Iterable queryColumns,感谢 @guan-meng-yuan diff --git a/docs/zh/changes.md b/docs/zh/changes.md index 6b0c45a8..61c71b0a 100644 --- a/docs/zh/changes.md +++ b/docs/zh/changes.md @@ -3,6 +3,21 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 + +## v1.7.3 20231027: +- 新增:添加 Delete SQL 多表关联查询删除的支持 +- 新增:代码生成器添加 `Generator.getTables()` 方法,方便在某些场景下去获取所有表信息 +- 优化:重写 CommonsDialectImpl.wrapColumnAlias 方法,SQL 不对 as 关键字进行关键字包裹 +- 优化:代码生成器优化 IDialect,添加 AbstractJdbcDialect.java +- 优化:QueryModel 的一些泛型方法添加 @SafeVarargs,消除 IDE 警告,感谢 @guan-meng-yuan +- 修复:修复 fieldMapping 基础类型查询 null 的情况,感谢 @guan-meng-yuan +- 修复:多全局 Listener 配置可能缺失问题,感谢 @ice-samll +- 修复:表关联的从表配置 schema,查询从表时 schema 丢失问题,感谢 @font-c +- 测试:添加 filedMapping 的相关代码测试,感谢 @guan-meng-yuan +- 测试:添加全局 Listener 缺失修复的数据库插入测试,感谢 @ice-samll + + + ## v1.7.2 20231018: - 新增:QueryWrapper 添加对 MyBatis-Plus 的兼容 API,方便喜欢 MyBatis-Flex 的用户进行迁移 - 新增:QueryModel #select()方法 添加 Iterable queryColumns,感谢 @guan-meng-yuan diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index ee8f2aa8..39e40f77 100644 --- a/docs/zh/intro/getting-started.md +++ b/docs/zh/intro/getting-started.md @@ -62,7 +62,7 @@ VALUES (1, '张三', 18, '2020-01-11'), com.mybatis-flex mybatis-flex-spring-boot-starter - 1.7.2 + 1.7.3 com.mysql diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md index 68078e6d..2d5cab2e 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.7.2") + implementation("com.mybatis-flex:mybatis-flex-core:1.7.3") } ``` @@ -18,7 +18,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-core:1.7.2' + implementation 'com.mybatis-flex:mybatis-flex-core:1.7.3' } ``` @@ -28,7 +28,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring:1.7.2") + implementation("com.mybatis-flex:mybatis-flex-spring:1.7.3") } ``` @@ -36,7 +36,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring:1.7.2' + implementation 'com.mybatis-flex:mybatis-flex-spring:1.7.3' } ``` @@ -46,7 +46,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.2") + implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.3") } ``` @@ -54,7 +54,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.2' + implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.3' } ``` @@ -70,7 +70,7 @@ dependencies { ```kotlin dependencies { - annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.7.2") + annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.7.3") } ``` @@ -78,6 +78,6 @@ dependencies { ```groovy dependencies { - annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.2' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.3' } ``` diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index 071c1dec..d99c5e90 100644 --- a/docs/zh/intro/maven.md +++ b/docs/zh/intro/maven.md @@ -12,12 +12,12 @@ com.mybatis-flex mybatis-flex-core - 1.7.2 + 1.7.3 com.mybatis-flex mybatis-flex-processor - 1.7.2 + 1.7.3 provided ``` @@ -28,12 +28,12 @@ com.mybatis-flex mybatis-flex-spring - 1.7.2 + 1.7.3 com.mybatis-flex mybatis-flex-processor - 1.7.2 + 1.7.3 provided `````` @@ -44,12 +44,12 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.7.2 + 1.7.3 com.mybatis-flex mybatis-flex-processor - 1.7.2 + 1.7.3 provided ``` @@ -72,7 +72,7 @@ com.mybatis-flex mybatis-flex-processor - 1.7.2 + 1.7.3 diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md index f5d699ac..4e61a08f 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.7.2' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.3' } ``` diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index 4f4d5654..8fa3c1ec 100644 --- a/docs/zh/others/codegen.md +++ b/docs/zh/others/codegen.md @@ -10,7 +10,7 @@ com.mybatis-flex mybatis-flex-codegen - 1.7.2 + 1.7.3 ``` diff --git a/pom.xml b/pom.xml index c8ccd430..a5b6e539 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.mybatis-flex parent pom - 1.7.2 + 1.7.3 mybatis-flex https://mybatis-flex.com @@ -55,7 +55,7 @@ 8 8 - 1.7.2 + 1.7.3 3.5.13 2.1.0