mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
build: v1.5.7 release (^.^)YYa!!
This commit is contained in:
parent
5e854053a4
commit
09d649d296
28
changes.md
28
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
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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'
|
||||
}
|
||||
```
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@ -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>
|
||||
```
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
4
pom.xml
4
pom.xml
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user