diff --git a/changes.md b/changes.md index 4cc47456..105f4959 100644 --- a/changes.md +++ b/changes.md @@ -1,5 +1,20 @@ # MyBatis-Flex ChangeLog + +## v1.6.1 20230827: +- 新增:添加 QueryWrapper.create(entity,SqlOperators) 支持通过 Entity 转换为 QueryWrapper +- 优化:移动 SqlConnector 的包名 +- 优化:优化 IService.exists() 的效率,感谢 @Suomm +- 修复:开启 mapUnderscoreToCamelCase = true 时, row 无法转换 entity 的问题 +- 修复:使用 QueryColumn 无法构建 UPDATE SET 语句,感谢 @Suomm +- 修复:UpdateChain 不支持 @EnumValue 注解的问题,感谢 @Suomm +- 文档:添加 Entity 转换为 QueryWrapper 的相关文档 +- 文档:添加 `@Column(isLarge = true)` 的其他使用方式,感谢 @Suomm +- 文档:优化 `@Column` 注解的一些错误描述,感谢 @Suomm +- 文档:添加关于 QueryColumnBehavior 配置的相关文档,感谢 @Suomm + + + ## v1.6.0 20230825: - 新增:添加 RelationManager.addQueryRelations() 方法用于只查询部分关联字段 - 优化:重构移除已经标识删除的方法或类 !!!破坏性更新 diff --git a/docs/zh/changes.md b/docs/zh/changes.md index 4cc47456..105f4959 100644 --- a/docs/zh/changes.md +++ b/docs/zh/changes.md @@ -1,5 +1,20 @@ # MyBatis-Flex ChangeLog + +## v1.6.1 20230827: +- 新增:添加 QueryWrapper.create(entity,SqlOperators) 支持通过 Entity 转换为 QueryWrapper +- 优化:移动 SqlConnector 的包名 +- 优化:优化 IService.exists() 的效率,感谢 @Suomm +- 修复:开启 mapUnderscoreToCamelCase = true 时, row 无法转换 entity 的问题 +- 修复:使用 QueryColumn 无法构建 UPDATE SET 语句,感谢 @Suomm +- 修复:UpdateChain 不支持 @EnumValue 注解的问题,感谢 @Suomm +- 文档:添加 Entity 转换为 QueryWrapper 的相关文档 +- 文档:添加 `@Column(isLarge = true)` 的其他使用方式,感谢 @Suomm +- 文档:优化 `@Column` 注解的一些错误描述,感谢 @Suomm +- 文档:添加关于 QueryColumnBehavior 配置的相关文档,感谢 @Suomm + + + ## v1.6.0 20230825: - 新增:添加 RelationManager.addQueryRelations() 方法用于只查询部分关联字段 - 优化:重构移除已经标识删除的方法或类 !!!破坏性更新 diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index d56176f7..e1359955 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.6.0 + 1.6.1 com.mysql diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md index 3d71cf16..557fc148 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.0") + implementation("com.mybatis-flex:mybatis-flex-core:1.6.1") } ``` @@ -18,7 +18,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-core:1.6.0' + implementation 'com.mybatis-flex:mybatis-flex-core:1.6.1' } ``` @@ -28,7 +28,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring:1.6.0") + implementation("com.mybatis-flex:mybatis-flex-spring:1.6.1") } ``` @@ -36,7 +36,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring:1.6.0' + implementation 'com.mybatis-flex:mybatis-flex-spring:1.6.1' } ``` @@ -46,7 +46,7 @@ dependencies { ```kotlin dependencies { - implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.0") + implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.1") } ``` @@ -54,7 +54,7 @@ dependencies { ```groovy dependencies { - implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.0' + implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.1' } ``` @@ -70,7 +70,7 @@ dependencies { ```kotlin dependencies { - annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.6.0") + annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.6.1") } ``` @@ -78,6 +78,6 @@ dependencies { ```groovy dependencies { - annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.6.0' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.6.1' } ``` diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index e405c42a..1b371ea5 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.0 + 1.6.1 com.mybatis-flex mybatis-flex-processor - 1.6.0 + 1.6.1 provided ``` @@ -28,12 +28,12 @@ com.mybatis-flex mybatis-flex-spring - 1.6.0 + 1.6.1 com.mybatis-flex mybatis-flex-processor - 1.6.0 + 1.6.1 provided `````` @@ -44,12 +44,12 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.6.0 + 1.6.1 com.mybatis-flex mybatis-flex-processor - 1.6.0 + 1.6.1 provided ``` @@ -72,7 +72,7 @@ com.mybatis-flex mybatis-flex-processor - 1.6.0 + 1.6.1 diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md index 16fe8218..19035547 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.0' + annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.6.1' } ``` diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index 1621f30d..6add0a0c 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.0 + 1.6.1 ``` diff --git a/pom.xml b/pom.xml index eac473b7..99ba8ff9 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.mybatis-flex parent pom - 1.6.0 + 1.6.1 mybatis-flex https://mybatis-flex.com @@ -55,7 +55,7 @@ 8 8 - 1.6.0 + 1.6.1 3.5.13 2.1.0