diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml index 0cf461aa..4a491472 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.6.5,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.6.6,并已搜索过现有的问题 (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 e2395e68..2bf2cd8c 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.6.5,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) + - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.6.6,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) required: true - type: textarea id: question-description diff --git a/changes.md b/changes.md index b0d00571..7d397b7c 100644 --- a/changes.md +++ b/changes.md @@ -3,6 +3,20 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 + +## v1.6.6 20230922: +- 新增:UpdateChain.of 使用 Mapper 进行构造方便在批量操作使用的功能 +- 新增:QueryWrapper.select(Iterable) 方法,方便 Kotlin 扩展 +- 新增:Relation 注解新增 valueField 配置,当不为空串时值进行某个字段赋值,感谢 @ice-samll +- 优化:转驼峰方法多次转换保持结果一致,感谢 @617054137 +- 优化:生成列别名规范,保持用户原始的列别名命名,感谢 @font-c +- 修复:Db 或 MyBatis 原生查询驼峰转换需处理不包含下划线的字段,感谢 @617054137 +- 测试:增加 Relation 注解单字段赋值 Springboot 测试,感谢 @ice-samll +- 文档:添加 Relation 注解单字段赋值的相关文档,感谢 @ice-samll +- 文档:添加关于批量操作使用 UpdateChain 的相关示例 + + + ## v1.6.5 20230914: - 新增:代码生成器为 Oracle 的 JdbcTypeMapping 类型 OracleBlob 添加映射处理 - 新增:LogicDeleteManager 和 TenantManager 添加 Runnable 无返回值重载,感谢 @Suomm diff --git a/docs/zh/changes.md b/docs/zh/changes.md index b0d00571..7d397b7c 100644 --- a/docs/zh/changes.md +++ b/docs/zh/changes.md @@ -3,6 +3,20 @@ 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 + +## v1.6.6 20230922: +- 新增:UpdateChain.of 使用 Mapper 进行构造方便在批量操作使用的功能 +- 新增:QueryWrapper.select(Iterable) 方法,方便 Kotlin 扩展 +- 新增:Relation 注解新增 valueField 配置,当不为空串时值进行某个字段赋值,感谢 @ice-samll +- 优化:转驼峰方法多次转换保持结果一致,感谢 @617054137 +- 优化:生成列别名规范,保持用户原始的列别名命名,感谢 @font-c +- 修复:Db 或 MyBatis 原生查询驼峰转换需处理不包含下划线的字段,感谢 @617054137 +- 测试:增加 Relation 注解单字段赋值 Springboot 测试,感谢 @ice-samll +- 文档:添加 Relation 注解单字段赋值的相关文档,感谢 @ice-samll +- 文档:添加关于批量操作使用 UpdateChain 的相关示例 + + + ## v1.6.5 20230914: - 新增:代码生成器为 Oracle 的 JdbcTypeMapping 类型 OracleBlob 添加映射处理 - 新增:LogicDeleteManager 和 TenantManager 添加 Runnable 无返回值重载,感谢 @Suomm diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index 816fe812..61bc5e26 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.6.5 + 1.6.6 com.mysql diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md index 014113c4..f2ec8521 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.6.5") + implementation("com.mybatis-flex:mybatis-flex-core:1.6.6") } ``` @@ -18,7 +18,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-core:1.6.5' + implementation 'com.mybatis-flex:mybatis-flex-core:1.6.6' } ``` @@ -28,7 +28,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring:1.6.5") + implementation("com.mybatis-flex:mybatis-flex-spring:1.6.6") } ``` @@ -36,7 +36,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring:1.6.5' + implementation 'com.mybatis-flex:mybatis-flex-spring:1.6.6' } ``` @@ -46,7 +46,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.5") + implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.6") } ``` @@ -54,7 +54,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.5' + implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.6' } ``` @@ -70,7 +70,7 @@ dependencies { ```kotlin dependencies { - annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.6.5") + annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.6.6") } ``` @@ -78,6 +78,6 @@ dependencies { ```groovy dependencies { - annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.6.5' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.6.6' } ``` diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index 4f8c0078..28e2d4c8 100644 --- a/docs/zh/intro/maven.md +++ b/docs/zh/intro/maven.md @@ -12,12 +12,12 @@ com.mybatis-flex mybatis-flex-core - 1.6.5 + 1.6.6 com.mybatis-flex mybatis-flex-processor - 1.6.5 + 1.6.6 provided ``` @@ -28,12 +28,12 @@ com.mybatis-flex mybatis-flex-spring - 1.6.5 + 1.6.6 com.mybatis-flex mybatis-flex-processor - 1.6.5 + 1.6.6 provided `````` @@ -44,12 +44,12 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.6.5 + 1.6.6 com.mybatis-flex mybatis-flex-processor - 1.6.5 + 1.6.6 provided ``` @@ -72,7 +72,7 @@ com.mybatis-flex mybatis-flex-processor - 1.6.5 + 1.6.6 diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md index f592ae69..2e23535a 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.6.5' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.6.6' } ``` diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index ecb6ef03..2d1394e3 100644 --- a/docs/zh/others/codegen.md +++ b/docs/zh/others/codegen.md @@ -10,7 +10,7 @@ com.mybatis-flex mybatis-flex-codegen - 1.6.5 + 1.6.6 ``` diff --git a/pom.xml b/pom.xml index 882b8bcc..88270291 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.mybatis-flex parent pom - 1.6.5 + 1.6.6 mybatis-flex https://mybatis-flex.com @@ -55,7 +55,7 @@ 8 8 - 1.6.5 + 1.6.6 3.5.13 2.1.0