From ed5a2fd398f89d1e72165585471da2278bba5564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=80=E6=BA=90=E6=B5=B7=E5=93=A5?= Date: Mon, 16 Oct 2023 09:57:48 +0800 Subject: [PATCH] build: v1.7.1 release (^.^)YYa!! --- .gitee/ISSUE_TEMPLATE/bug.yml | 2 +- .gitee/ISSUE_TEMPLATE/question.yml | 2 +- changes.md | 16 ++++++++++++++++ docs/.vitepress/theme/MyLayout.vue | 2 +- docs/assets/images/ad/iotlink_20240802.png | Bin 15370 -> 51828 bytes docs/zh/changes.md | 16 ++++++++++++++++ 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 ++-- 12 files changed, 55 insertions(+), 23 deletions(-) diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml index 534dda18..d1d19c4b 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.0,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.1,并已搜索过现有的问题 (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 ed5620a2..1b621b30 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.0,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.1,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) required: true - type: textarea id: question-description diff --git a/changes.md b/changes.md index 0149e328..26c8e0ae 100644 --- a/changes.md +++ b/changes.md @@ -2,6 +2,22 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 + +## v1.7.1 20231016: +- 新增:QueryColumnBehavior 增加内置的忽略规则,方便使用,感谢 @chenjh3 +- 优化:代码生成器提供了 GlobalConfig 的 customConfig 的 getter/setter,感谢 @qq925966998 +- 优化:代码生成器参数列表加入 customConfig,感谢 @qq925966998 +- 修复:某些场景下group by 字段错误的增加了表别名,而导致生产的sql错误,github #184 +- 修复:某些场景下 QueryWrapper 打印的 SQL 与 执行的 SQL 不一致的问题,感谢 @chenjh3 +- 修复:当条件满足忽略规则,when 又设置为 true 时,NPE 异常的问题,感谢 @chenjh3 #I86T6H +- 测试:添加 Db + Row 的一些测试,感谢 @Suomm +- 测试:重置 dynamicTableProcessor 防止影响其他的测试用例,感谢 @chenjh3 +- 测试:把测试代码中所有的测试用例都加上断言判断,感谢 @chenjh3 +- 文档:QueryWrapper 中添加关于多主键查询和删除的相关文档,感谢 @wchopper +- 文档:修改一些已经移除的方法但是文档中还存着的问题,感谢 @HunnyOvO + + + ## v1.7.0 20231009: - 修复:紧急修复当上一个条件失效时,错误的使用上上个条件作为连接符的问题 - 测试:单元测试更加更多的断言代码 diff --git a/docs/.vitepress/theme/MyLayout.vue b/docs/.vitepress/theme/MyLayout.vue index 91c95e30..d326c0d3 100644 --- a/docs/.vitepress/theme/MyLayout.vue +++ b/docs/.vitepress/theme/MyLayout.vue @@ -110,7 +110,7 @@ const {Layout} = DefaultTheme