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

This commit is contained in:
开源海哥 2023-10-16 09:57:48 +08:00
parent 0f6d3efece
commit ed5a2fd398
12 changed files with 55 additions and 23 deletions

View File

@ -7,7 +7,7 @@ body:
attributes: attributes:
label: 这个 Bug 是否已经存在: label: 这个 Bug 是否已经存在:
options: options:
- label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.0,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.1,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
required: true required: true
- type: textarea - type: textarea
attributes: attributes:

View File

@ -13,7 +13,7 @@ body:
attributes: attributes:
label: 这个问题是否已经存在: label: 这个问题是否已经存在:
options: options:
- label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.0,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues) - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.1,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
required: true required: true
- type: textarea - type: textarea
id: question-description id: question-description

View File

@ -2,6 +2,22 @@
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
## v1.7.1 20231016:
- 新增QueryColumnBehavior 增加内置的忽略规则,方便使用,感谢 @chenjh3
- 优化:代码生成器提供了 GlobalConfig 的 customConfig 的 getter/setter感谢 @qq925966998
- 优化:代码生成器参数列表加入 customConfig感谢 @qq925966998
- 修复某些场景下group by 字段错误的增加了表别名而导致生产的sql错误github #184
- 修复:某些场景下 QueryWrapper 打印的 SQL 与 执行的 SQL 不一致的问题,感谢 @chenjh3
- 修复当条件满足忽略规则when 又设置为 true 时NPE 异常的问题,感谢 @chenjh3 #I86T6H
- 测试:添加 Db + Row 的一些测试,感谢 @Suomm
- 测试:重置 dynamicTableProcessor 防止影响其他的测试用例,感谢 @chenjh3
- 测试:把测试代码中所有的测试用例都加上断言判断,感谢 @chenjh3
- 文档QueryWrapper 中添加关于多主键查询和删除的相关文档,感谢 @wchopper
- 文档:修改一些已经移除的方法但是文档中还存着的问题,感谢 @HunnyOvO
## v1.7.0 20231009: ## v1.7.0 20231009:
- 修复:紧急修复当上一个条件失效时,错误的使用上上个条件作为连接符的问题 - 修复:紧急修复当上一个条件失效时,错误的使用上上个条件作为连接符的问题
- 测试:单元测试更加更多的断言代码 - 测试:单元测试更加更多的断言代码

View File

@ -110,7 +110,7 @@ const {Layout} = DefaultTheme
<a href="http://www.codeformat.cn" target="_blank"><img src="/assets/images/ad/code-format.png"></a> <a href="http://www.codeformat.cn" target="_blank"><img src="/assets/images/ad/code-format.png"></a>
</div> </div>
<div class="banner"> <div class="banner">
<a href="https://gitee.com/sdyunze/iotlink" target="_blank"><img <a href="https://www.5iot.com/source?key=flex" target="_blank"><img
src="/assets/images/ad/iotlink_20240802.png"></a> src="/assets/images/ad/iotlink_20240802.png"></a>
</div> </div>
<div class="banner"> <div class="banner">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -2,6 +2,22 @@
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
## v1.7.1 20231016:
- 新增QueryColumnBehavior 增加内置的忽略规则,方便使用,感谢 @chenjh3
- 优化:代码生成器提供了 GlobalConfig 的 customConfig 的 getter/setter感谢 @qq925966998
- 优化:代码生成器参数列表加入 customConfig感谢 @qq925966998
- 修复某些场景下group by 字段错误的增加了表别名而导致生产的sql错误github #184
- 修复:某些场景下 QueryWrapper 打印的 SQL 与 执行的 SQL 不一致的问题,感谢 @chenjh3
- 修复当条件满足忽略规则when 又设置为 true 时NPE 异常的问题,感谢 @chenjh3 #I86T6H
- 测试:添加 Db + Row 的一些测试,感谢 @Suomm
- 测试:重置 dynamicTableProcessor 防止影响其他的测试用例,感谢 @chenjh3
- 测试:把测试代码中所有的测试用例都加上断言判断,感谢 @chenjh3
- 文档QueryWrapper 中添加关于多主键查询和删除的相关文档,感谢 @wchopper
- 文档:修改一些已经移除的方法但是文档中还存着的问题,感谢 @HunnyOvO
## v1.7.0 20231009: ## v1.7.0 20231009:
- 修复:紧急修复当上一个条件失效时,错误的使用上上个条件作为连接符的问题 - 修复:紧急修复当上一个条件失效时,错误的使用上上个条件作为连接符的问题
- 测试:单元测试更加更多的断言代码 - 测试:单元测试更加更多的断言代码

View File

@ -62,7 +62,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.7.0</version> <version>1.7.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.mysql</groupId> <groupId>com.mysql</groupId>

View File

@ -10,7 +10,7 @@
```kotlin ```kotlin
dependencies { dependencies {
implementation("com.mybatis-flex:mybatis-flex-core:1.7.0") implementation("com.mybatis-flex:mybatis-flex-core:1.7.1")
} }
``` ```
@ -18,7 +18,7 @@ dependencies {
```groovy ```groovy
dependencies { dependencies {
implementation 'com.mybatis-flex:mybatis-flex-core:1.7.0' implementation 'com.mybatis-flex:mybatis-flex-core:1.7.1'
} }
``` ```
@ -28,7 +28,7 @@ dependencies {
```kotlin ```kotlin
dependencies { dependencies {
implementation("com.mybatis-flex:mybatis-flex-spring:1.7.0") implementation("com.mybatis-flex:mybatis-flex-spring:1.7.1")
} }
``` ```
@ -36,7 +36,7 @@ dependencies {
```groovy ```groovy
dependencies { dependencies {
implementation 'com.mybatis-flex:mybatis-flex-spring:1.7.0' implementation 'com.mybatis-flex:mybatis-flex-spring:1.7.1'
} }
``` ```
@ -46,7 +46,7 @@ dependencies {
```kotlin ```kotlin
dependencies { dependencies {
implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.0") implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.1")
} }
``` ```
@ -54,7 +54,7 @@ dependencies {
```groovy ```groovy
dependencies { dependencies {
implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.0' implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.1'
} }
``` ```
@ -70,7 +70,7 @@ dependencies {
```kotlin ```kotlin
dependencies { dependencies {
annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.7.0") annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.7.1")
} }
``` ```
@ -78,6 +78,6 @@ dependencies {
```groovy ```groovy
dependencies { dependencies {
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.0' annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.1'
} }
``` ```

View File

@ -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.7.0</version> <version>1.7.1</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.7.0</version> <version>1.7.1</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.7.0</version> <version>1.7.1</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.7.0</version> <version>1.7.1</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.7.0</version> <version>1.7.1</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.7.0</version> <version>1.7.1</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.7.0</version> <version>1.7.1</version>
</path> </path>
</annotationProcessorPaths> </annotationProcessorPaths>
</configuration> </configuration>

View File

@ -220,7 +220,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置,
``` ```
dependencies { dependencies {
... ...
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.0' annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.1'
} }
``` ```

View File

@ -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.7.0</version> <version>1.7.1</version>
</dependency> </dependency>
``` ```

View File

@ -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.7.0</version> <version>1.7.1</version>
<name>mybatis-flex</name> <name>mybatis-flex</name>
<url>https://mybatis-flex.com</url> <url>https://mybatis-flex.com</url>
@ -55,7 +55,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.7.0</mybatis-flex.version> <mybatis-flex.version>1.7.1</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>