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

This commit is contained in:
开源海哥 2023-09-22 09:32:06 +08:00
parent 1ada60e98c
commit 40bba6783b
10 changed files with 50 additions and 22 deletions

View File

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

View File

@ -3,6 +3,20 @@
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
## v1.6.6 20230922:
- 新增UpdateChain.of 使用 Mapper 进行构造方便在批量操作使用的功能
- 新增QueryWrapper.select(Iterable) 方法,方便 Kotlin 扩展
- 新增Relation 注解新增 valueField 配置,当不为空串时值进行某个字段赋值,感谢 @ice-samll
- 优化:转驼峰方法多次转换保持结果一致,感谢 @617054137
- 优化:生成列别名规范,保持用户原始的列别名命名,感谢 @font-c
- 修复Db 或 MyBatis 原生查询驼峰转换需处理不包含下划线的字段,感谢 @617054137
- 测试:增加 Relation 注解单字段赋值 Springboot 测试,感谢 @ice-samll
- 文档:添加 Relation 注解单字段赋值的相关文档,感谢 @ice-samll
- 文档:添加关于批量操作使用 UpdateChain 的相关示例
## v1.6.5 20230914: ## v1.6.5 20230914:
- 新增:代码生成器为 Oracle 的 JdbcTypeMapping 类型 OracleBlob 添加映射处理 - 新增:代码生成器为 Oracle 的 JdbcTypeMapping 类型 OracleBlob 添加映射处理
- 新增LogicDeleteManager 和 TenantManager 添加 Runnable 无返回值重载,感谢 @Suomm - 新增LogicDeleteManager 和 TenantManager 添加 Runnable 无返回值重载,感谢 @Suomm

View File

@ -3,6 +3,20 @@
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。 查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
## v1.6.6 20230922:
- 新增UpdateChain.of 使用 Mapper 进行构造方便在批量操作使用的功能
- 新增QueryWrapper.select(Iterable) 方法,方便 Kotlin 扩展
- 新增Relation 注解新增 valueField 配置,当不为空串时值进行某个字段赋值,感谢 @ice-samll
- 优化:转驼峰方法多次转换保持结果一致,感谢 @617054137
- 优化:生成列别名规范,保持用户原始的列别名命名,感谢 @font-c
- 修复Db 或 MyBatis 原生查询驼峰转换需处理不包含下划线的字段,感谢 @617054137
- 测试:增加 Relation 注解单字段赋值 Springboot 测试,感谢 @ice-samll
- 文档:添加 Relation 注解单字段赋值的相关文档,感谢 @ice-samll
- 文档:添加关于批量操作使用 UpdateChain 的相关示例
## v1.6.5 20230914: ## v1.6.5 20230914:
- 新增:代码生成器为 Oracle 的 JdbcTypeMapping 类型 OracleBlob 添加映射处理 - 新增:代码生成器为 Oracle 的 JdbcTypeMapping 类型 OracleBlob 添加映射处理
- 新增LogicDeleteManager 和 TenantManager 添加 Runnable 无返回值重载,感谢 @Suomm - 新增LogicDeleteManager 和 TenantManager 添加 Runnable 无返回值重载,感谢 @Suomm

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.6.5</version> <version>1.6.6</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.6.5") implementation("com.mybatis-flex:mybatis-flex-core:1.6.6")
} }
``` ```
@ -18,7 +18,7 @@ dependencies {
```groovy ```groovy
dependencies { dependencies {
implementation 'com.mybatis-flex:mybatis-flex-core:1.6.5' implementation 'com.mybatis-flex:mybatis-flex-core:1.6.6'
} }
``` ```
@ -28,7 +28,7 @@ dependencies {
```kotlin ```kotlin
dependencies { dependencies {
implementation("com.mybatis-flex:mybatis-flex-spring:1.6.5") implementation("com.mybatis-flex:mybatis-flex-spring:1.6.6")
} }
``` ```
@ -36,7 +36,7 @@ dependencies {
```groovy ```groovy
dependencies { dependencies {
implementation 'com.mybatis-flex:mybatis-flex-spring:1.6.5' implementation 'com.mybatis-flex:mybatis-flex-spring:1.6.6'
} }
``` ```
@ -46,7 +46,7 @@ dependencies {
```kotlin ```kotlin
dependencies { dependencies {
implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.5") implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.6")
} }
``` ```
@ -54,7 +54,7 @@ dependencies {
```groovy ```groovy
dependencies { dependencies {
implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.5' implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.6.6'
} }
``` ```
@ -70,7 +70,7 @@ dependencies {
```kotlin ```kotlin
dependencies { dependencies {
annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.6.5") annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.6.6")
} }
``` ```
@ -78,6 +78,6 @@ dependencies {
```groovy ```groovy
dependencies { dependencies {
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.6.5' annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.6.6'
} }
``` ```

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.6.5</version> <version>1.6.6</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.6.5</version> <version>1.6.6</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.6.5</version> <version>1.6.6</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.6.5</version> <version>1.6.6</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.6.5</version> <version>1.6.6</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.6.5</version> <version>1.6.6</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.6.5</version> <version>1.6.6</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.6.5' annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.6.6'
} }
``` ```

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.6.5</version> <version>1.6.6</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.6.5</version> <version>1.6.6</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.6.5</mybatis-flex.version> <mybatis-flex.version>1.6.6</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>