mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
build: v1.8.1 release (^.^)YYa!!
This commit is contained in:
parent
c60ccfba9e
commit
11b34ab8d3
@ -7,7 +7,7 @@ body:
|
||||
attributes:
|
||||
label: 这个 Bug 是否已经存在:
|
||||
options:
|
||||
- label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.8.0,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
|
||||
- label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.8.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.8.0,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
|
||||
- label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.8.1,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
|
||||
required: true
|
||||
- type: textarea
|
||||
id: question-description
|
||||
|
||||
22
changes.md
22
changes.md
@ -2,6 +2,28 @@
|
||||
|
||||
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
|
||||
|
||||
|
||||
## v1.8.1 20240302:
|
||||
- 新增:添加 CommaSplitTypeHandler 用于对逗号分割存储映射到实体类 `List<String>` 的支持
|
||||
- 新增:代码生成器 EntityConfig 添加 superClassFactory 配置的支持
|
||||
- 优化:重构代码生成器模块的 JdbcTypeMapper,以支持更多的参数读取
|
||||
- 优化:FlexTransactionAutoConfiguration 添加更多的 AutoConfigureBefore 设置,感谢 @wittplus #I930JB
|
||||
- 优化:优化 EntityGenerator.java 的相关输出日志
|
||||
- 优化:优化 TableInfo.newInstanceByRow 可能存在的性能问题 #I94D33
|
||||
- 优化:优化 ToManyRelation 存在的性能问题,感谢 @swqxdba
|
||||
- 修复:多数据源模式下,当设置了分片规则以后,不能设置正确的 DbType,感谢 @ccwilliam
|
||||
- 修复:代码生成器设置类型为 java.util.List 时,import 导入不正确的问题
|
||||
- 修复:ClassUtil.getAllMethods 方法处理枚举类型时逻辑有缺陷的问题 #I94749 #I94321
|
||||
- 修复:@EnumValue 标记在方法上没有获取 propertyType 的问题,感谢 @Suomm
|
||||
- 修复:设置全局的 TypeHandler 不起作用的问题,感谢 @Suomm
|
||||
- 修复:被 transient 标记的字段不会被映射到数据库当中的问题,感谢 @Suomm #I953IS
|
||||
- 文档:代码生成器添加设置 `java.util.List<String>` 类型的相关文档
|
||||
- 文档:代码生成器添加关于无法获取注释的相关注意事项
|
||||
- 文档:修正自动映射的相关示例代码,感谢 @zhangyx
|
||||
- 文档:修正 db + row 的相关实例代码,感谢 @zhangyx
|
||||
|
||||
|
||||
|
||||
## v1.8.0 20240223:
|
||||
- 优化:entityOrBase.tpl 中命令占位符被替换后,entity 里面多了一行空白行,感谢 @caohenghui
|
||||
- 修复:在复杂的 VO 嵌套查询时,addResultMap 抛出异常的问题,感谢 @leizhiyou
|
||||
|
||||
@ -2,6 +2,28 @@
|
||||
|
||||
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
|
||||
|
||||
|
||||
## v1.8.1 20240302:
|
||||
- 新增:添加 CommaSplitTypeHandler 用于对逗号分割存储映射到实体类 `List<String>` 的支持
|
||||
- 新增:代码生成器 EntityConfig 添加 superClassFactory 配置的支持
|
||||
- 优化:重构代码生成器模块的 JdbcTypeMapper,以支持更多的参数读取
|
||||
- 优化:FlexTransactionAutoConfiguration 添加更多的 AutoConfigureBefore 设置,感谢 @wittplus #I930JB
|
||||
- 优化:优化 EntityGenerator.java 的相关输出日志
|
||||
- 优化:优化 TableInfo.newInstanceByRow 可能存在的性能问题 #I94D33
|
||||
- 优化:优化 ToManyRelation 存在的性能问题,感谢 @swqxdba
|
||||
- 修复:多数据源模式下,当设置了分片规则以后,不能设置正确的 DbType,感谢 @ccwilliam
|
||||
- 修复:代码生成器设置类型为 java.util.List 时,import 导入不正确的问题
|
||||
- 修复:ClassUtil.getAllMethods 方法处理枚举类型时逻辑有缺陷的问题 #I94749 #I94321
|
||||
- 修复:@EnumValue 标记在方法上没有获取 propertyType 的问题,感谢 @Suomm
|
||||
- 修复:设置全局的 TypeHandler 不起作用的问题,感谢 @Suomm
|
||||
- 修复:被 transient 标记的字段不会被映射到数据库当中的问题,感谢 @Suomm #I953IS
|
||||
- 文档:代码生成器添加设置 `java.util.List<String>` 类型的相关文档
|
||||
- 文档:代码生成器添加关于无法获取注释的相关注意事项
|
||||
- 文档:修正自动映射的相关示例代码,感谢 @zhangyx
|
||||
- 文档:修正 db + row 的相关实例代码,感谢 @zhangyx
|
||||
|
||||
|
||||
|
||||
## v1.8.0 20240223:
|
||||
- 优化:entityOrBase.tpl 中命令占位符被替换后,entity 里面多了一行空白行,感谢 @caohenghui
|
||||
- 修复:在复杂的 VO 嵌套查询时,addResultMap 抛出异常的问题,感谢 @leizhiyou
|
||||
|
||||
@ -53,7 +53,7 @@ VALUES (1, '张三', 18, '2020-01-11'),
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
@ -81,7 +81,7 @@ VALUES (1, '张三', 18, '2020-01-11'),
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-spring-boot3-starter</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.mybatis-flex:mybatis-flex-core:1.8.0")
|
||||
implementation("com.mybatis-flex:mybatis-flex-core:1.8.1")
|
||||
}
|
||||
```
|
||||
|
||||
@ -18,7 +18,7 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.mybatis-flex:mybatis-flex-core:1.8.0'
|
||||
implementation 'com.mybatis-flex:mybatis-flex-core:1.8.1'
|
||||
}
|
||||
```
|
||||
|
||||
@ -28,7 +28,7 @@ dependencies {
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.mybatis-flex:mybatis-flex-spring:1.8.0")
|
||||
implementation("com.mybatis-flex:mybatis-flex-spring:1.8.1")
|
||||
}
|
||||
```
|
||||
|
||||
@ -36,7 +36,7 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.mybatis-flex:mybatis-flex-spring:1.8.0'
|
||||
implementation 'com.mybatis-flex:mybatis-flex-spring:1.8.1'
|
||||
}
|
||||
```
|
||||
|
||||
@ -46,7 +46,7 @@ dependencies {
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.0")
|
||||
implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.1")
|
||||
}
|
||||
```
|
||||
|
||||
@ -54,7 +54,7 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.0'
|
||||
implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.1'
|
||||
}
|
||||
```
|
||||
|
||||
@ -70,7 +70,7 @@ dependencies {
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.8.0")
|
||||
annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.8.1")
|
||||
}
|
||||
```
|
||||
|
||||
@ -78,6 +78,6 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.0'
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.1'
|
||||
}
|
||||
```
|
||||
|
||||
@ -12,12 +12,12 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-core</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
```
|
||||
@ -28,12 +28,12 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-spring</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.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.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
```
|
||||
@ -60,12 +60,12 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-spring-boot3-starter</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
```
|
||||
@ -88,7 +88,7 @@
|
||||
<path>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-processor</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
|
||||
@ -220,7 +220,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置,
|
||||
```
|
||||
dependencies {
|
||||
...
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.0'
|
||||
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.1'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<dependency>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>mybatis-flex-codegen</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.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.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
|
||||
<name>mybatis-flex</name>
|
||||
<url>https://mybatis-flex.com</url>
|
||||
@ -56,7 +56,7 @@
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
|
||||
<mybatis-flex.version>1.8.0</mybatis-flex.version>
|
||||
<mybatis-flex.version>1.8.1</mybatis-flex.version>
|
||||
|
||||
<mybatis.version>3.5.15</mybatis.version>
|
||||
<mybatis-spring.version>2.1.2</mybatis-spring.version>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user