diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml index 3146cd58..d8d7e786 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.3,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.9.4,并已搜索过现有的问题 (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 6f0aec86..f20499a0 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.9.2,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.9.4,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) required: true - type: textarea id: question-description diff --git a/changes.md b/changes.md index 8d892275..fc3092d5 100644 --- a/changes.md +++ b/changes.md @@ -2,6 +2,25 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 +## v1.9.4 20240722 +- 新增:支持在 APT 中通过表达式选择 package 层级,感谢 @fangzhengjin +- 新增:添加 QueryWrapper.orderByUnSafely 支持自定义 SQL 进行 orderBy +- 新增:为 clickhouse 添加独立方言,进一步适配 clickhouse 更新和删除,感谢 @老唐 +- 新增:添加分页时每页显示的数据数量最大限制,感谢 @Leo +- 优化:kotlin 代码生成器 entity 类定义及属性设置为 open,感谢 @lemonbx +- 优化:FieldWrapper 获取 Collection 泛型类型时增加友好错误提。,感谢 @lemonbx +- 修复:修复实体类的父类含有泛型时,转换报错 https://github.com/mybatis-flex/mybatis-flex/issues/354 感谢 @zuihou111 +- 修复:解决 orderBy 时传入的变量参数时失效问题,感谢 @kamo-sama +- 修复:在某些情况下会出现 NotSerializableException 错误的问题 https://gitee.com/mybatis-flex/mybatis-flex/issues/IAAXMH +- 修复:达梦数据库某些场景下 SQL 关键字识别不正确的问题 +- 文档:修正文档快速开始示例代码使用错误的方法名的问题,感谢 @Frank_HL +- 文档:添加APT设置增加表达式用法说明,感谢 @fangzhengjin +- 文档:更新use-in-kotlin.md对于插件配置、演示示例等提醒描述,感谢 @kamo-sama +- 文档:修正多租户下的一些文档错误问题,感谢 @lovealiang +- 文档:修正增删改下的一些文档错误问题,感谢 @dragon_haoge + + + ## v1.9.3 20240618 - 新增:代码生成器添加生成 Java、Kotlin 两种代码的支持,感谢 @Suomm - 新增:QueryMethods 添加 mysql date 函数,感谢 @bigtian99 diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index 81c1f708..3c8298bd 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.3 + 1.9.4 com.mysql @@ -81,7 +81,7 @@ VALUES (1, '张三', 18, '2020-01-11'), com.mybatis-flex mybatis-flex-spring-boot3-starter - 1.9.3 + 1.9.4 com.mysql diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md index 167bb6ed..a6bedce2 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.3") + implementation("com.mybatis-flex:mybatis-flex-core:1.9.4") } ``` @@ -18,7 +18,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-core:1.9.3' + implementation 'com.mybatis-flex:mybatis-flex-core:1.9.4' } ``` @@ -28,7 +28,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring:1.9.3") + implementation("com.mybatis-flex:mybatis-flex-spring:1.9.4") } ``` @@ -36,7 +36,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring:1.9.3' + implementation 'com.mybatis-flex:mybatis-flex-spring:1.9.4' } ``` @@ -46,7 +46,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.9.3") + implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.9.4") } ``` @@ -54,7 +54,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.9.3' + implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.9.4' } ``` @@ -70,7 +70,7 @@ dependencies { ```kotlin dependencies { - annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.9.3") + annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.9.4") } ``` @@ -78,6 +78,6 @@ dependencies { ```groovy dependencies { - annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.9.3' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.9.4' } ``` diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index acac06d9..2f6c9e64 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.3 + 1.9.4 com.mybatis-flex mybatis-flex-processor - 1.9.3 + 1.9.4 provided ``` @@ -28,12 +28,12 @@ com.mybatis-flex mybatis-flex-spring - 1.9.3 + 1.9.4 com.mybatis-flex mybatis-flex-processor - 1.9.3 + 1.9.4 provided `````` @@ -44,12 +44,12 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.9.3 + 1.9.4 com.mybatis-flex mybatis-flex-processor - 1.9.3 + 1.9.4 provided ``` @@ -60,12 +60,12 @@ com.mybatis-flex mybatis-flex-spring-boot3-starter - 1.9.3 + 1.9.4 com.mybatis-flex mybatis-flex-processor - 1.9.3 + 1.9.4 provided ``` @@ -88,7 +88,7 @@ com.mybatis-flex mybatis-flex-processor - 1.9.3 + 1.9.4 diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md index edf58a11..ecd82e80 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.9.3' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.9.4' } ``` diff --git a/mybatis-flex-annotation/pom.xml b/mybatis-flex-annotation/pom.xml index b6cb6454..a2e7000c 100644 --- a/mybatis-flex-annotation/pom.xml +++ b/mybatis-flex-annotation/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.3 + 1.9.4 4.0.0 diff --git a/mybatis-flex-codegen/pom.xml b/mybatis-flex-codegen/pom.xml index 7c5b580f..739b3cc3 100644 --- a/mybatis-flex-codegen/pom.xml +++ b/mybatis-flex-codegen/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.3 + 1.9.4 4.0.0 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-core - 1.9.3 + 1.9.4 com.mybatis-flex diff --git a/mybatis-flex-core/pom.xml b/mybatis-flex-core/pom.xml index 56b05317..17226e1d 100644 --- a/mybatis-flex-core/pom.xml +++ b/mybatis-flex-core/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.3 + 1.9.4 4.0.0 @@ -101,7 +101,7 @@ com.mybatis-flex mybatis-flex-annotation - 1.9.3 + 1.9.4 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 1758e857..ad9d1e67 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.3"; + public static final String VERSION = "1.9.4"; public static final String SQL = "$$sql"; diff --git a/mybatis-flex-dependencies/pom.xml b/mybatis-flex-dependencies/pom.xml index d4522c15..89a3c2ba 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.3 + 1.9.4 pom @@ -48,7 +48,7 @@ - 1.9.3 + 1.9.4 diff --git a/mybatis-flex-processor/pom.xml b/mybatis-flex-processor/pom.xml index 4449b547..b888efaa 100644 --- a/mybatis-flex-processor/pom.xml +++ b/mybatis-flex-processor/pom.xml @@ -5,13 +5,13 @@ parent com.mybatis-flex - 1.9.3 + 1.9.4 4.0.0 mybatis-flex-processor jar - 1.9.3-fix3 + 1.9.4 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-annotation - 1.9.3 + 1.9.4 diff --git a/mybatis-flex-solon-plugin/pom.xml b/mybatis-flex-solon-plugin/pom.xml index 1e154c54..a730adb6 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.3 + 1.9.4 4.0.0 diff --git a/mybatis-flex-spring-boot-starter/pom.xml b/mybatis-flex-spring-boot-starter/pom.xml index 21c49f0f..757528cb 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.3 + 1.9.4 4.0.0 @@ -23,7 +23,7 @@ com.mybatis-flex mybatis-flex-spring - 1.9.3 + 1.9.4 @@ -104,7 +104,7 @@ com.mybatis-flex mybatis-flex-core - 1.9.3 + 1.9.4 diff --git a/mybatis-flex-spring-boot3-starter/pom.xml b/mybatis-flex-spring-boot3-starter/pom.xml index 77fd2a15..996cdef2 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.3 + 1.9.4 mybatis-flex-spring-boot3-starter @@ -19,7 +19,7 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.9.3 + 1.9.4 org.mybatis diff --git a/mybatis-flex-spring/pom.xml b/mybatis-flex-spring/pom.xml index 97cd8fb3..6135fba4 100644 --- a/mybatis-flex-spring/pom.xml +++ b/mybatis-flex-spring/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.3 + 1.9.4 4.0.0 @@ -22,7 +22,7 @@ com.mybatis-flex mybatis-flex-core - 1.9.3 + 1.9.4 diff --git a/mybatis-flex-test/mybatis-flex-native-test/pom.xml b/mybatis-flex-test/mybatis-flex-native-test/pom.xml index a8a6861b..635468d7 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.3 + 1.9.4 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 fec01b1a..4a16428d 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.3 + 1.9.4 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 54decb9b..b325db7c 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.3 + 1.9.4 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 ee648b8d..aea4a477 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.3 + 1.9.4 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 62be7b39..29b1e6d1 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.3 + 1.9.4 4.0.0 diff --git a/mybatis-flex-test/pom.xml b/mybatis-flex-test/pom.xml index 0e7643b7..b723c18a 100644 --- a/mybatis-flex-test/pom.xml +++ b/mybatis-flex-test/pom.xml @@ -5,7 +5,7 @@ parent com.mybatis-flex - 1.9.3 + 1.9.4 4.0.0 diff --git a/pom.xml b/pom.xml index 728dd6ea..7288fb27 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.mybatis-flex parent pom - 1.9.3 + 1.9.4 mybatis-flex https://mybatis-flex.com @@ -55,7 +55,7 @@ 8 8 - 1.9.3 + 1.9.4 3.5.15 2.1.2