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

This commit is contained in:
开源海哥 2023-08-25 18:45:59 +08:00
parent 352f51ec9e
commit d9cd7ca455
9 changed files with 41 additions and 21 deletions

View File

@ -1,5 +1,15 @@
# MyBatis-Flex ChangeLog # MyBatis-Flex ChangeLog
## v1.6.0 20230825:
- 新增:添加 RelationManager.addQueryRelations() 方法用于只查询部分关联字段
- 优化:重构移除已经标识删除的方法或类 !!!破坏性更新
- 修复Oracle 下的批量操作时在某些情况下可能返回结果不正确的问题
- 修复:代码生成器在某些情况下出现 NPE 的问题,感谢 @Suomm
- 修复v1.5.9 版本造成的 ignore 属性也被加入 defaultQueryColumns 默认查询列的问题,感谢 @Suomm
- 文档:添加 RelationManager.addQueryRelations() 使用的相关文档
- 文档:添加 mybatis-flex-dependencies 使用说明,感谢 @Suomm
## v1.5.9 20230824: ## v1.5.9 20230824:
- 新增:添加对数据库 Hive SQL 和 Doris 的支持 - 新增:添加对数据库 Hive SQL 和 Doris 的支持

View File

@ -1,5 +1,15 @@
# MyBatis-Flex ChangeLog # MyBatis-Flex ChangeLog
## v1.6.0 20230825:
- 新增:添加 RelationManager.addQueryRelations() 方法用于只查询部分关联字段
- 优化:重构移除已经标识删除的方法或类 !!!破坏性更新
- 修复Oracle 下的批量操作时在某些情况下可能返回结果不正确的问题
- 修复:代码生成器在某些情况下出现 NPE 的问题,感谢 @Suomm
- 修复v1.5.9 版本造成的 ignore 属性也被加入 defaultQueryColumns 默认查询列的问题,感谢 @Suomm
- 文档:添加 RelationManager.addQueryRelations() 使用的相关文档
- 文档:添加 mybatis-flex-dependencies 使用说明,感谢 @Suomm
## v1.5.9 20230824: ## v1.5.9 20230824:
- 新增:添加对数据库 Hive SQL 和 Doris 的支持 - 新增:添加对数据库 Hive SQL 和 Doris 的支持

View File

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

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.5.9</version> <version>1.6.0</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.9</version> <version>1.6.0</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.9</version> <version>1.6.0</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.9</version> <version>1.6.0</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.9</version> <version>1.6.0</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.9</version> <version>1.6.0</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.9</version> <version>1.6.0</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:<version>1.5.9</version>' annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:<version>1.6.0</version>'
} }
``` ```

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.5.9</version> <version>1.6.0</version>
</dependency> </dependency>
``` ```

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<version>1.5.9</version> <version>1.6.0</version>
</parent> </parent>
<artifactId>mybatis-flex-dependencies</artifactId> <artifactId>mybatis-flex-dependencies</artifactId>

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.5.9</version> <version>1.6.0</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.5.9</mybatis-flex.version> <mybatis-flex.version>1.6.0</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>