mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
build: v1.7.2 release (^.^)YYa!!
This commit is contained in:
parent
8cb8b08199
commit
01c06aba39
@ -7,7 +7,7 @@ body:
|
||||
attributes:
|
||||
label: 这个 Bug 是否已经存在:
|
||||
options:
|
||||
- label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.1,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
|
||||
- label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.2,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
|
||||
@ -13,7 +13,7 @@ body:
|
||||
attributes:
|
||||
label: 这个问题是否已经存在:
|
||||
options:
|
||||
- label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.1,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
|
||||
- label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.2,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
|
||||
required: true
|
||||
- type: textarea
|
||||
id: question-description
|
||||
|
||||
19
changes.md
19
changes.md
@ -3,6 +3,25 @@
|
||||
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
|
||||
|
||||
|
||||
## v1.7.2 20231018:
|
||||
- 新增:QueryWrapper 添加对 MyBatis-Plus 的兼容 API,方便喜欢 MyBatis-Flex 的用户进行迁移
|
||||
- 新增:QueryModel #select()方法 添加 Iterable queryColumns,感谢 @guan-meng-yuan
|
||||
- 新增:QueryWrapper 添加 RawQueryTable 的支持,感谢 @Suomm
|
||||
- 新增:RelationToOne 注解添加对 extraCondition 配置的支持 #I88MJU
|
||||
- 新增:重构 DynamicSchemaProcessor,添加 table 参数,方便通过 table 获取 schema #I88REA
|
||||
- 优化:在 insert 时,若 entity 有主键,则直接使用 entity 的主键,不再通过主键生成器来生成 #I88TX1
|
||||
- 优化:RelationManager 前置数据源的设置,否则关联查询注解可能造成数据源设置冲突
|
||||
- 修复:使用 Db 无法使用指定 Logger 打印日志问题,感谢 @aohanaohan #I88C41
|
||||
- 修复:MyBatis-Flex 与 spring-data-jpa 混用时候,出现事务管理器冲突错误的问题,感谢 @tocken
|
||||
- 修复:CPI.setWhereQueryCondition 传入 null 时,出现 NPE 的问题 #I88DFH
|
||||
- 修复:代码生成器未做自定义配置时,生成代码时出现 NPE 的问题 #I88UIZ
|
||||
- 测试:为测试添加更多的断言已保证测试安全
|
||||
- 文档:QueryWrapper 添加关于自定义字符串列名的相关文档
|
||||
- 文档:QueryWrapper 添加关于 MyBatis-Plus 兼容 API 的相关文档
|
||||
- 文档:QueryWrapper 添加关于 Map 转化为 QueryWrapper 的相关文档
|
||||
|
||||
|
||||
|
||||
## v1.7.1 20231016:
|
||||
- 新增:QueryColumnBehavior 增加内置的忽略规则,方便使用,感谢 @chenjh3
|
||||
- 优化:代码生成器提供了 GlobalConfig 的 customConfig 的 getter/setter,感谢 @qq925966998
|
||||
|
||||
@ -3,6 +3,25 @@
|
||||
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
|
||||
|
||||
|
||||
## v1.7.2 20231018:
|
||||
- 新增:QueryWrapper 添加对 MyBatis-Plus 的兼容 API,方便喜欢 MyBatis-Flex 的用户进行迁移
|
||||
- 新增:QueryModel #select()方法 添加 Iterable queryColumns,感谢 @guan-meng-yuan
|
||||
- 新增:QueryWrapper 添加 RawQueryTable 的支持,感谢 @Suomm
|
||||
- 新增:RelationToOne 注解添加对 extraCondition 配置的支持 #I88MJU
|
||||
- 新增:重构 DynamicSchemaProcessor,添加 table 参数,方便通过 table 获取 schema #I88REA
|
||||
- 优化:在 insert 时,若 entity 有主键,则直接使用 entity 的主键,不再通过主键生成器来生成 #I88TX1
|
||||
- 优化:RelationManager 前置数据源的设置,否则关联查询注解可能造成数据源设置冲突
|
||||
- 修复:使用 Db 无法使用指定 Logger 打印日志问题,感谢 @aohanaohan #I88C41
|
||||
- 修复:MyBatis-Flex 与 spring-data-jpa 混用时候,出现事务管理器冲突错误的问题,感谢 @tocken
|
||||
- 修复:CPI.setWhereQueryCondition 传入 null 时,出现 NPE 的问题 #I88DFH
|
||||
- 修复:代码生成器未做自定义配置时,生成代码时出现 NPE 的问题 #I88UIZ
|
||||
- 测试:为测试添加更多的断言已保证测试安全
|
||||
- 文档:QueryWrapper 添加关于自定义字符串列名的相关文档
|
||||
- 文档:QueryWrapper 添加关于 MyBatis-Plus 兼容 API 的相关文档
|
||||
- 文档:QueryWrapper 添加关于 Map 转化为 QueryWrapper 的相关文档
|
||||
|
||||
|
||||
|
||||
## v1.7.1 20231016:
|
||||
- 新增:QueryColumnBehavior 增加内置的忽略规则,方便使用,感谢 @chenjh3
|
||||
- 优化:代码生成器提供了 GlobalConfig 的 customConfig 的 getter/setter,感谢 @qq925966998
|
||||
|
||||
@ -62,7 +62,7 @@ VALUES (1, '张三', 18, '2020-01-11'),
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.mybatis-flex:mybatis-flex-core:1.7.1")
|
||||
implementation("com.mybatis-flex:mybatis-flex-core:1.7.2")
|
||||
}
|
||||
```
|
||||
|
||||
@ -18,7 +18,7 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.mybatis-flex:mybatis-flex-core:1.7.1'
|
||||
implementation 'com.mybatis-flex:mybatis-flex-core:1.7.2'
|
||||
}
|
||||
```
|
||||
|
||||
@ -28,7 +28,7 @@ dependencies {
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.mybatis-flex:mybatis-flex-spring:1.7.1")
|
||||
implementation("com.mybatis-flex:mybatis-flex-spring:1.7.2")
|
||||
}
|
||||
```
|
||||
|
||||
@ -36,7 +36,7 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.mybatis-flex:mybatis-flex-spring:1.7.1'
|
||||
implementation 'com.mybatis-flex:mybatis-flex-spring:1.7.2'
|
||||
}
|
||||
```
|
||||
|
||||
@ -46,7 +46,7 @@ dependencies {
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.1")
|
||||
implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.2")
|
||||
}
|
||||
```
|
||||
|
||||
@ -54,7 +54,7 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.1'
|
||||
implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.2'
|
||||
}
|
||||
```
|
||||
|
||||
@ -70,7 +70,7 @@ dependencies {
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.7.1")
|
||||
annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.7.2")
|
||||
}
|
||||
```
|
||||
|
||||
@ -78,6 +78,6 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.1'
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.2'
|
||||
}
|
||||
```
|
||||
|
||||
@ -12,12 +12,12 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-core</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
```
|
||||
@ -28,12 +28,12 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-spring</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
``````
|
||||
@ -44,12 +44,12 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
```
|
||||
@ -72,7 +72,7 @@
|
||||
<path>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
|
||||
@ -220,7 +220,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置,
|
||||
```
|
||||
dependencies {
|
||||
...
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.1'
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.2'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-codegen</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
||||
4
pom.xml
4
pom.xml
@ -7,7 +7,7 @@
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.7.1</version>
|
||||
<version>1.7.2</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.7.1</mybatis-flex.version>
|
||||
<mybatis-flex.version>1.7.2</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