mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
build: v1.7.1 release (^.^)YYa!!
This commit is contained in:
parent
0f6d3efece
commit
ed5a2fd398
@ -7,7 +7,7 @@ body:
|
||||
attributes:
|
||||
label: 这个 Bug 是否已经存在:
|
||||
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
|
||||
- type: textarea
|
||||
attributes:
|
||||
|
||||
@ -13,7 +13,7 @@ body:
|
||||
attributes:
|
||||
label: 这个问题是否已经存在:
|
||||
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
|
||||
- type: textarea
|
||||
id: question-description
|
||||
|
||||
16
changes.md
16
changes.md
@ -2,6 +2,22 @@
|
||||
|
||||
查看 [全部代码贡献者](/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:
|
||||
- 修复:紧急修复当上一个条件失效时,错误的使用上上个条件作为连接符的问题
|
||||
- 测试:单元测试更加更多的断言代码
|
||||
|
||||
@ -110,7 +110,7 @@ const {Layout} = DefaultTheme
|
||||
<a href="http://www.codeformat.cn" target="_blank"><img src="/assets/images/ad/code-format.png"></a>
|
||||
</div>
|
||||
<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>
|
||||
</div>
|
||||
<div class="banner">
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 51 KiB |
@ -2,6 +2,22 @@
|
||||
|
||||
查看 [全部代码贡献者](/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:
|
||||
- 修复:紧急修复当上一个条件失效时,错误的使用上上个条件作为连接符的问题
|
||||
- 测试:单元测试更加更多的断言代码
|
||||
|
||||
@ -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.0</version>
|
||||
<version>1.7.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
```kotlin
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
dependencies {
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.0'
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.1'
|
||||
}
|
||||
```
|
||||
|
||||
@ -12,12 +12,12 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-core</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<version>1.7.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<version>1.7.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
```
|
||||
@ -28,12 +28,12 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-spring</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<version>1.7.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<version>1.7.1</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.0</version>
|
||||
<version>1.7.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<version>1.7.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
```
|
||||
@ -72,7 +72,7 @@
|
||||
<path>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<version>1.7.1</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
|
||||
@ -220,7 +220,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置,
|
||||
```
|
||||
dependencies {
|
||||
...
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.0'
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.1'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-codegen</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<version>1.7.1</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.0</version>
|
||||
<version>1.7.1</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.0</mybatis-flex.version>
|
||||
<mybatis-flex.version>1.7.1</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