mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
build: v1.5.8 release (^.^)YYa!!
This commit is contained in:
parent
58dc072199
commit
2e7c271b7d
27
changes.md
27
changes.md
@ -1,6 +1,33 @@
|
|||||||
# MyBatis-Flex ChangeLog
|
# MyBatis-Flex ChangeLog
|
||||||
|
|
||||||
|
|
||||||
|
## v1.5.8 20230820:
|
||||||
|
- 新增:Row 以及 Entity 在新增时,添加 setRaw 的支持
|
||||||
|
- 新增:数据库方言添加对 lealone 数据库的支持,感谢 @hopper
|
||||||
|
- 新增:QueryChain 添加新 of 方法,用于支持通过 Entity 创建 QueryChain 对象,感谢 @liibang
|
||||||
|
- 新增:提供多线程情况下子父线程获取切换数据源功能,感谢 @lifejwang11
|
||||||
|
- 优化:设置乐观锁未设置值的异常信息国际化
|
||||||
|
- 优化:设置 @Table 的名称配置支持 "schema.tableName" 配置
|
||||||
|
- 优化:重构移除乐观锁、逻辑删除、多租户的全局默认字段配置,用户需手动配置生效
|
||||||
|
- 优化:添加逻辑删除、乐观锁、多租户的全局配置的 spring 配置文件提示功能
|
||||||
|
- 优化:重构用户手写的条件中是否包含该表,感谢 @Suomm
|
||||||
|
- 优化:重构获取 join 连表信息时携带别名,感谢 @Suomm
|
||||||
|
- 优化:重构 QueryWrapper 的括号生成,以动态添加子 where 条件,感谢 @Suomm
|
||||||
|
- 优化:添加 Conditional 接口用于统一 Condition 的 api,感谢 @Suomm
|
||||||
|
- 修复:druid 数据源的某些场景下,数据加密无法使用的问题
|
||||||
|
- 修复:修复 MybatisKeyGeneratorUtil 类在某些情况下可能得空指针异常问题,感谢 @norkts
|
||||||
|
- 修复:SqlOperator 遗漏了 NOT_EQUALS 操作符 的问题,感谢 @Suomm
|
||||||
|
- 修复:Relation 注解查询,忽略字段使用的泛型错误的问题,感谢 @Suomm
|
||||||
|
- 修复:DbChain 的 setRaw 方法指向错误的问题,感谢 @Suomm
|
||||||
|
- 文档:添加 set 和 setRaw 区别的相关文档
|
||||||
|
- 文档:修改代码生成器的相关文档错别字,感谢 @PatrickSt
|
||||||
|
- 文档:改正了注解处理器中的内容,将其修改为正确的注解处理器,感谢 @CloudPlayer
|
||||||
|
- 文档:优化 Gradle 和 KAPT 的相关文档,感谢 @Suomm
|
||||||
|
- 文档:添加乐观锁、逻辑删除、多租户的全局配置的相关文档,感谢 @Suomm
|
||||||
|
- 文档:添加多线程情况下子父线程获取切换数据源功能的相关文档,感谢 @lifejwang11
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## v1.5.7 20230812:
|
## v1.5.7 20230812:
|
||||||
- 新增:QueryWrapper 添加对 delete 和 update 的 left join 支持
|
- 新增:QueryWrapper 添加对 delete 和 update 的 left join 支持
|
||||||
- 新增:RelationManager.addIgnoreRelations() 添加对 lambda 的支持
|
- 新增:RelationManager.addIgnoreRelations() 添加对 lambda 的支持
|
||||||
|
|||||||
@ -1,6 +1,33 @@
|
|||||||
# MyBatis-Flex ChangeLog
|
# MyBatis-Flex ChangeLog
|
||||||
|
|
||||||
|
|
||||||
|
## v1.5.8 20230820:
|
||||||
|
- 新增:Row 以及 Entity 在新增时,添加 setRaw 的支持
|
||||||
|
- 新增:数据库方言添加对 lealone 数据库的支持,感谢 @hopper
|
||||||
|
- 新增:QueryChain 添加新 of 方法,用于支持通过 Entity 创建 QueryChain 对象,感谢 @liibang
|
||||||
|
- 新增:提供多线程情况下子父线程获取切换数据源功能,感谢 @lifejwang11
|
||||||
|
- 优化:设置乐观锁未设置值的异常信息国际化
|
||||||
|
- 优化:设置 @Table 的名称配置支持 "schema.tableName" 配置
|
||||||
|
- 优化:重构移除乐观锁、逻辑删除、多租户的全局默认字段配置,用户需手动配置生效
|
||||||
|
- 优化:添加逻辑删除、乐观锁、多租户的全局配置的 spring 配置文件提示功能
|
||||||
|
- 优化:重构用户手写的条件中是否包含该表,感谢 @Suomm
|
||||||
|
- 优化:重构获取 join 连表信息时携带别名,感谢 @Suomm
|
||||||
|
- 优化:重构 QueryWrapper 的括号生成,以动态添加子 where 条件,感谢 @Suomm
|
||||||
|
- 优化:添加 Conditional 接口用于统一 Condition 的 api,感谢 @Suomm
|
||||||
|
- 修复:druid 数据源的某些场景下,数据加密无法使用的问题
|
||||||
|
- 修复:修复 MybatisKeyGeneratorUtil 类在某些情况下可能得空指针异常问题,感谢 @norkts
|
||||||
|
- 修复:SqlOperator 遗漏了 NOT_EQUALS 操作符 的问题,感谢 @Suomm
|
||||||
|
- 修复:Relation 注解查询,忽略字段使用的泛型错误的问题,感谢 @Suomm
|
||||||
|
- 修复:DbChain 的 setRaw 方法指向错误的问题,感谢 @Suomm
|
||||||
|
- 文档:添加 set 和 setRaw 区别的相关文档
|
||||||
|
- 文档:修改代码生成器的相关文档错别字,感谢 @PatrickSt
|
||||||
|
- 文档:改正了注解处理器中的内容,将其修改为正确的注解处理器,感谢 @CloudPlayer
|
||||||
|
- 文档:优化 Gradle 和 KAPT 的相关文档,感谢 @Suomm
|
||||||
|
- 文档:添加乐观锁、逻辑删除、多租户的全局配置的相关文档,感谢 @Suomm
|
||||||
|
- 文档:添加多线程情况下子父线程获取切换数据源功能的相关文档,感谢 @lifejwang11
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## v1.5.7 20230812:
|
## v1.5.7 20230812:
|
||||||
- 新增:QueryWrapper 添加对 delete 和 update 的 left join 支持
|
- 新增:QueryWrapper 添加对 delete 和 update 的 left join 支持
|
||||||
- 新增:RelationManager.addIgnoreRelations() 添加对 lambda 的支持
|
- 新增:RelationManager.addIgnoreRelations() 添加对 lambda 的支持
|
||||||
|
|||||||
@ -51,7 +51,7 @@ VALUES (1, '张三', 18, '2020-01-11'),
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.mysql</groupId>
|
<groupId>com.mysql</groupId>
|
||||||
|
|||||||
@ -12,12 +12,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>mybatis-flex-core</artifactId>
|
<artifactId>mybatis-flex-core</artifactId>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>mybatis-flex-processor</artifactId>
|
<artifactId>mybatis-flex-processor</artifactId>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
@ -28,12 +28,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>mybatis-flex-spring</artifactId>
|
<artifactId>mybatis-flex-spring</artifactId>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>mybatis-flex-processor</artifactId>
|
<artifactId>mybatis-flex-processor</artifactId>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
``````
|
``````
|
||||||
@ -44,12 +44,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>mybatis-flex-processor</artifactId>
|
<artifactId>mybatis-flex-processor</artifactId>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
@ -72,7 +72,7 @@
|
|||||||
<path>
|
<path>
|
||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>mybatis-flex-processor</artifactId>
|
<artifactId>mybatis-flex-processor</artifactId>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
</path>
|
</path>
|
||||||
</annotationProcessorPaths>
|
</annotationProcessorPaths>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
@ -220,7 +220,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置,
|
|||||||
```
|
```
|
||||||
dependencies {
|
dependencies {
|
||||||
...
|
...
|
||||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:<version>1.5.7</version>'
|
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:<version>1.5.8</version>'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>mybatis-flex-codegen</artifactId>
|
<artifactId>mybatis-flex-codegen</artifactId>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@ -7,7 +7,7 @@
|
|||||||
<groupId>com.mybatis-flex</groupId>
|
<groupId>com.mybatis-flex</groupId>
|
||||||
<artifactId>parent</artifactId>
|
<artifactId>parent</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>1.5.7</version>
|
<version>1.5.8</version>
|
||||||
|
|
||||||
<name>mybatis-flex</name>
|
<name>mybatis-flex</name>
|
||||||
<url>https://mybatis-flex.com</url>
|
<url>https://mybatis-flex.com</url>
|
||||||
@ -54,7 +54,7 @@
|
|||||||
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.source>8</maven.compiler.source>
|
||||||
<maven.compiler.target>8</maven.compiler.target>
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
|
|
||||||
<mybatis-flex.version>1.5.7</mybatis-flex.version>
|
<mybatis-flex.version>1.5.8</mybatis-flex.version>
|
||||||
|
|
||||||
<mybatis.version>3.5.13</mybatis.version>
|
<mybatis.version>3.5.13</mybatis.version>
|
||||||
<mybatis-spring.version>2.1.0</mybatis-spring.version>
|
<mybatis-spring.version>2.1.0</mybatis-spring.version>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user