build: v1.5.7 release (^.^)YYa!!

This commit is contained in:
开源海哥 2023-08-12 09:39:52 +08:00
parent 5e854053a4
commit 09d649d296
10 changed files with 87 additions and 27 deletions

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -51,7 +51,7 @@ VALUES (1, '张三', 18, '2020-01-11'),
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
</dependency>
<dependency>
<groupId>com.mysql</groupId>

View File

@ -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'
}
```

View File

@ -12,12 +12,12 @@
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-core</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
</dependency>
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
<scope>provided</scope>
</dependency>
```
@ -28,12 +28,12 @@
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
</dependency>
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
<scope>provided</scope>
</dependency>
``````
@ -44,12 +44,12 @@
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
</dependency>
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
<scope>provided</scope>
</dependency>
```
@ -72,7 +72,7 @@
<path>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
</path>
</annotationProcessorPaths>
</configuration>

View File

@ -220,7 +220,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置,
```
dependencies {
...
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:<version>1.5.6</version>'
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:<version>1.5.7</version>'
}
```

View File

@ -10,7 +10,7 @@
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-codegen</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
</dependency>
```

View File

@ -55,7 +55,7 @@ dependencies {
<path>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
</path>
</annotationProcessorPaths>
</configuration>

View File

@ -7,7 +7,7 @@
<groupId>com.mybatis-flex</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>1.5.6</version>
<version>1.5.7</version>
<name>mybatis-flex</name>
<url>https://mybatis-flex.com</url>
@ -55,7 +55,7 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<mybatis-flex.version>1.5.6</mybatis-flex.version>
<mybatis-flex.version>1.5.7</mybatis-flex.version>
<mybatis.version>3.5.13</mybatis.version>
<mybatis-spring.version>2.1.0</mybatis-spring.version>