diff --git a/changes.md b/changes.md index 549a083c..55713753 100644 --- a/changes.md +++ b/changes.md @@ -1,6 +1,34 @@ # MyBatis-Flex ChangeLog +## v1.5.7 20230812: +- 新增:QueryWrapper 添加对 delete 和 update 的 left join 支持 +- 新增:RelationManager.addIgnoreRelations() 添加对 lambda 的支持 +- 新增:添加 QueryColumnBehavior 用于自定义 QueryColumn 的某些行为特征 +- 新增:typeHandler 添加对泛型自动支持的功能 +- 新增:多数据源新增对 Seata 分布式事务的支持,感谢 @lifejwang11 +- 新增:添加对 Kotlin 的扩展支持,感谢 @kamo-sama +- 新增:添加 saveOrUpdateBatch 方法的支持,感谢 @Suomm +- 新增:QueryModel 提供 as 方法的支持,感谢 @Suomm +- 新增:逻辑删除、乐观锁、多租户添加全局默认自动配置的功能,感谢 @Suomm +- 优化:移除 flex 自动把 id 属性设置为主键的功能 +- 优化:重构链式调用的方法,统一链式调用和 ActiveRecord 的 API,感谢 @Suomm +- 优化:UpdateChian 支持设置 left join 的表数据的支持,感谢 @Suomm +- 修复:db2 方言的 KeywordWrap 错误的问题 +- 修复:在某些场景下 count 查询没有被替换的问题,感谢 @Suomm +- 修复:QueryWrapper 的 or(consumer, condition) 方法逻辑错误,感谢 @Suomm +- 修复:QueryColumn 由于 Predicate 没有类型约束可能导致类型转换异常的问题,感谢 @Suomm +- 修复:OSGI 环境下,Lambda 通过 ClassLoader 获取不到类的问题,感谢 @2han9wen71an +- 文档:更新视频教程的文档链接 +- 文档:添加 SpringBoot 最低版本的说明文档,感谢 @Suomm +- 文档:Seata 分布式事务的相关文档,感谢 @lifejwang11 +- 文档:增加了使用gradle构建时的文档说明,感谢 @CloudPlayer +- 文档:增加了在Kotlin中使用注解处理器的说明,感谢 @CloudPlayer +- 文档:常见问题添加代码生成器获取不到注释说明,感谢 @Suomm +- 文档:常见问题添加 Spring Devtools 造成的类转换异常的相关文档 +- 文档:常见问题添加 Nacos 集成启动出错的相关文档 + + ## v1.5.6 20230804: - 新增:代码生成器重构并新增对 Solon 框架的代码生成功能,感谢 @Suomm diff --git a/docs/zh/awesome-things.md b/docs/zh/awesome-things.md index d6812ffe..550cd13e 100644 --- a/docs/zh/awesome-things.md +++ b/docs/zh/awesome-things.md @@ -87,6 +87,10 @@ - [MyBatis-Flex 视频教程 - 33 关联查询(Field Query)](https://www.bilibili.com/video/BV17k4y1g7vt) - [MyBatis-Flex 视频教程 - 34 关联查询(Relation Query)](https://www.bilibili.com/video/BV1bj411r7A4) - [MyBatis-Flex 视频教程 - 35 关联查询对比](https://www.bilibili.com/video/BV1oF411f7dr) +- [MyBatis-Flex 视频教程 - 36 分页查询](https://www.bilibili.com/video/BV1d44y1F7JM) +- [MyBatis-Flex 视频教程 - 37 分页查询 count 查询优化](https://www.bilibili.com/video/BV1np4y1G7R9) +- [MyBatis-Flex 视频教程 - 38 基于 XML 文件的高性能分页](https://www.bilibili.com/video/BV1Zh4y1D7aj) +- [MyBatis-Flex 视频教程 - 39 Db + Row](https://www.bilibili.com/video/BV1wp4y1g7by) diff --git a/docs/zh/changes.md b/docs/zh/changes.md index 549a083c..55713753 100644 --- a/docs/zh/changes.md +++ b/docs/zh/changes.md @@ -1,6 +1,34 @@ # MyBatis-Flex ChangeLog +## v1.5.7 20230812: +- 新增:QueryWrapper 添加对 delete 和 update 的 left join 支持 +- 新增:RelationManager.addIgnoreRelations() 添加对 lambda 的支持 +- 新增:添加 QueryColumnBehavior 用于自定义 QueryColumn 的某些行为特征 +- 新增:typeHandler 添加对泛型自动支持的功能 +- 新增:多数据源新增对 Seata 分布式事务的支持,感谢 @lifejwang11 +- 新增:添加对 Kotlin 的扩展支持,感谢 @kamo-sama +- 新增:添加 saveOrUpdateBatch 方法的支持,感谢 @Suomm +- 新增:QueryModel 提供 as 方法的支持,感谢 @Suomm +- 新增:逻辑删除、乐观锁、多租户添加全局默认自动配置的功能,感谢 @Suomm +- 优化:移除 flex 自动把 id 属性设置为主键的功能 +- 优化:重构链式调用的方法,统一链式调用和 ActiveRecord 的 API,感谢 @Suomm +- 优化:UpdateChian 支持设置 left join 的表数据的支持,感谢 @Suomm +- 修复:db2 方言的 KeywordWrap 错误的问题 +- 修复:在某些场景下 count 查询没有被替换的问题,感谢 @Suomm +- 修复:QueryWrapper 的 or(consumer, condition) 方法逻辑错误,感谢 @Suomm +- 修复:QueryColumn 由于 Predicate 没有类型约束可能导致类型转换异常的问题,感谢 @Suomm +- 修复:OSGI 环境下,Lambda 通过 ClassLoader 获取不到类的问题,感谢 @2han9wen71an +- 文档:更新视频教程的文档链接 +- 文档:添加 SpringBoot 最低版本的说明文档,感谢 @Suomm +- 文档:Seata 分布式事务的相关文档,感谢 @lifejwang11 +- 文档:增加了使用gradle构建时的文档说明,感谢 @CloudPlayer +- 文档:增加了在Kotlin中使用注解处理器的说明,感谢 @CloudPlayer +- 文档:常见问题添加代码生成器获取不到注释说明,感谢 @Suomm +- 文档:常见问题添加 Spring Devtools 造成的类转换异常的相关文档 +- 文档:常见问题添加 Nacos 集成启动出错的相关文档 + + ## v1.5.6 20230804: - 新增:代码生成器重构并新增对 Solon 框架的代码生成功能,感谢 @Suomm diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index 1af31103..64a32680 100644 --- a/docs/zh/intro/getting-started.md +++ b/docs/zh/intro/getting-started.md @@ -51,7 +51,7 @@ VALUES (1, '张三', 18, '2020-01-11'), com.mybatis-flex mybatis-flex-spring-boot-starter - 1.5.6 + 1.5.7 com.mysql diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md index b61084ef..c9c1fc5c 100644 --- a/docs/zh/intro/gradle.md +++ b/docs/zh/intro/gradle.md @@ -11,8 +11,8 @@ ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-core:1.5.6") - compileOnly("com.mybatis-flex:mybatis-flex-processor:1.5.6") + implementation("com.mybatis-flex:mybatis-flex-core:1.5.7") + compileOnly("com.mybatis-flex:mybatis-flex-processor:1.5.7") } ``` @@ -20,8 +20,8 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-core:1.5.6' - compileOnly 'com.mybatis-flex:mybatis-flex-processor:1.5.6' + implementation 'com.mybatis-flex:mybatis-flex-core:1.5.7' + compileOnly 'com.mybatis-flex:mybatis-flex-processor:1.5.7' } ``` @@ -30,16 +30,16 @@ dependencies { **【Kotlin】** ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring:1.5.6") - compileOnly("com.mybatis-flex:mybatis-flex-processor:1.5.6") + implementation("com.mybatis-flex:mybatis-flex-spring:1.5.7") + compileOnly("com.mybatis-flex:mybatis-flex-processor:1.5.7") } ``` **【Groovy】** ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring:1.5.6' - compileOnly 'com.mybatis-flex:mybatis-flex-processor:1.5.6' + implementation 'com.mybatis-flex:mybatis-flex-spring:1.5.7' + compileOnly 'com.mybatis-flex:mybatis-flex-processor:1.5.7' } ``` @@ -49,8 +49,8 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.5.6") - compileOnly("com.mybatis-flex:mybatis-flex-processor:1.5.6") + implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.5.7") + compileOnly("com.mybatis-flex:mybatis-flex-processor:1.5.7") } ``` @@ -58,8 +58,8 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.5.6' - compileOnly 'com.mybatis-flex:mybatis-flex-processor:1.5.6' + implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.5.7' + compileOnly 'com.mybatis-flex:mybatis-flex-processor:1.5.7' } ``` @@ -75,7 +75,7 @@ dependencies { ```kotlin dependencies { - annotationProcessor("org.springframework.boot:spring-boot-configuration-processor:1.5.6") + annotationProcessor("org.springframework.boot:spring-boot-configuration-processor:1.5.7") } ``` @@ -83,6 +83,6 @@ dependencies { ```groovy dependencies { - annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor:1.5.6' + annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor:1.5.7' } ``` diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index 05e66370..67db8972 100644 --- a/docs/zh/intro/maven.md +++ b/docs/zh/intro/maven.md @@ -12,12 +12,12 @@ com.mybatis-flex mybatis-flex-core - 1.5.6 + 1.5.7 com.mybatis-flex mybatis-flex-processor - 1.5.6 + 1.5.7 provided ``` @@ -28,12 +28,12 @@ com.mybatis-flex mybatis-flex-spring - 1.5.6 + 1.5.7 com.mybatis-flex mybatis-flex-processor - 1.5.6 + 1.5.7 provided `````` @@ -44,12 +44,12 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.5.6 + 1.5.7 com.mybatis-flex mybatis-flex-processor - 1.5.6 + 1.5.7 provided ``` @@ -72,7 +72,7 @@ com.mybatis-flex mybatis-flex-processor - 1.5.6 + 1.5.7 diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md index 4cd26be2..a6ef512d 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.5.6' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.5.7' } ``` diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index 1b9b5237..df450465 100644 --- a/docs/zh/others/codegen.md +++ b/docs/zh/others/codegen.md @@ -10,7 +10,7 @@ com.mybatis-flex mybatis-flex-codegen - 1.5.6 + 1.5.7 ``` diff --git a/docs/zh/others/kapt.md b/docs/zh/others/kapt.md index 5077f5a1..2e59a2b5 100644 --- a/docs/zh/others/kapt.md +++ b/docs/zh/others/kapt.md @@ -55,7 +55,7 @@ dependencies { com.mybatis-flex mybatis-flex-processor - 1.5.6 + 1.5.7 diff --git a/pom.xml b/pom.xml index 8ba1dd98..e26626c4 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.mybatis-flex parent pom - 1.5.6 + 1.5.7 mybatis-flex https://mybatis-flex.com @@ -55,7 +55,7 @@ 8 8 - 1.5.6 + 1.5.7 3.5.13 2.1.0