diff --git a/changes.md b/changes.md
index fff781b8..ff8bfd5c 100644
--- a/changes.md
+++ b/changes.md
@@ -1,6 +1,37 @@
# MyBatis-Flex ChangeLog
+## v1.5.9 20230824:
+- 新增:添加对数据库 Hive SQL 和 Doris 的支持
+- 新增:ActiveRecord 添加 saveOpt 方法,用户保存数据并返回内容
+- 新增:数据查询添加对 ignore 字段自动映射的支持
+- 优化:SnowFlakeIDKeyGenerator 添加更多的参数设置的方法
+- 优化:重构 FlexSpringTransaction 使其拥有更高的性能
+- 优化:对 Mappers 进行优化和添加必要的注释,感谢 @Suomm
+- 优化:重构代码生成器,添加链式调用的支持以及必要的代码注释,感谢 @Suomm
+- 优化:重构将不为 null 的判断统一到 QueryColumnBehavior 中,方便用户自定义逻辑,感谢 @Suomm
+- 优化:修改 FlexSqlSessionFactoryBean 下的一些注释错误 ,感谢 @cainiao3853
+- 修复:在某些场景下使用 as 时出现 NPE 的问题 #I7T00C
+- 修复:Db + Row 的场景下,自定义 RowKey 时结果不正确的问题
+- 修复:QueryMethods.dateFormat 使用出错的问题 #I7TEUM
+- 修复:QueryMethods.substring 使用出错的问题 #I7TEUM
+- 修复:返回 map 时,配置 map-underscore-to-camel-case 不起作用的问题
+- 修复:数据源解密器通过 Bean 注解配置和自定义配置配置不统一的问题 #I7UHUN
+- 修复:使用 Hutool 的 BeanUtil.copyProperties 拷贝 Page 失败的问题 #I7VBUE
+- 修复:UpdateEntity 没有对 @Column(ignore = true) 的字段进行过滤的问题 #I7RE0J
+- 修复:FlexSpringTransaction 在某些场景下出错的问题,感谢 @chenjh3
+- 文档:修改 faq 下的一些错别字
+- 文档:常见问题添加如何获取保存并获取主键的相关文档
+- 文档:添加多逻辑删除时,同时更新删除人和删除时间的相关文档
+- 文档:添加批量操作时,可能无用的错误注意事项
+- 文档:优化代码生成器的相关文档,感谢 @Suomm
+- 文档:ActiveRecord 添加 saveOpt 的相关文档,感谢 @Suomm
+- 文档:修改动态表名的示例代码错误的问题,感谢 @Suomm
+- 文档:修正 gradle 文档错误的问题,感谢 @tiansai
+- 文档:修正 Db + Row 的一些描述错误的问题,感谢 @yang-zzu
+
+
+
## v1.5.8 20230820:
- 新增:Row 以及 Entity 在新增时,添加 setRaw 的支持
- 新增:数据库方言添加对 lealone 数据库的支持,感谢 @hopper
diff --git a/docs/zh/base/active-record.md b/docs/zh/base/active-record.md
index 09fbf5b3..5a31ed71 100644
--- a/docs/zh/base/active-record.md
+++ b/docs/zh/base/active-record.md
@@ -213,7 +213,7 @@ Account.create()
.setUserName("张三")
.setAge(18)
.setBirthday(new Date())
- .saveCallback()
+ .saveOpt()
.orElseThrow(RuntimeException::new) // 保存失败抛出异常
.getId();
```
diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md
index 878586fa..f316dce0 100644
--- a/docs/zh/intro/getting-started.md
+++ b/docs/zh/intro/getting-started.md
@@ -51,7 +51,7 @@ VALUES (1, '张三', 18, '2020-01-11'),
com.mybatis-flex
mybatis-flex-spring-boot-starter
- 1.5.8
+ 1.5.9
com.mysql
diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md
index e4359e06..3ff84158 100644
--- a/docs/zh/intro/gradle.md
+++ b/docs/zh/intro/gradle.md
@@ -10,7 +10,7 @@
```kotlin
dependencies {
- implementation("com.mybatis-flex:mybatis-flex-core:1.5.8")
+ implementation("com.mybatis-flex:mybatis-flex-core:1.5.9")
}
```
@@ -18,7 +18,7 @@ dependencies {
```groovy
dependencies {
- implementation 'com.mybatis-flex:mybatis-flex-core:1.5.8'
+ implementation 'com.mybatis-flex:mybatis-flex-core:1.5.9'
}
```
@@ -28,7 +28,7 @@ dependencies {
```kotlin
dependencies {
- implementation("com.mybatis-flex:mybatis-flex-spring:1.5.8")
+ implementation("com.mybatis-flex:mybatis-flex-spring:1.5.9")
}
```
@@ -36,7 +36,7 @@ dependencies {
```groovy
dependencies {
- implementation 'com.mybatis-flex:mybatis-flex-spring:1.5.8'
+ implementation 'com.mybatis-flex:mybatis-flex-spring:1.5.9'
}
```
@@ -46,7 +46,7 @@ dependencies {
```kotlin
dependencies {
- implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.5.8")
+ implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.5.9")
}
```
@@ -54,7 +54,7 @@ dependencies {
```groovy
dependencies {
- implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.5.8'
+ implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.5.9'
}
```
@@ -70,7 +70,7 @@ dependencies {
```kotlin
dependencies {
- annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.5.8")
+ annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.5.9")
}
```
@@ -78,6 +78,6 @@ dependencies {
```groovy
dependencies {
- annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.5.8'
+ annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.5.9'
}
```
diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md
index 995a983e..0bb40614 100644
--- a/docs/zh/intro/maven.md
+++ b/docs/zh/intro/maven.md
@@ -12,12 +12,12 @@
com.mybatis-flex
mybatis-flex-core
- 1.5.8
+ 1.5.9
com.mybatis-flex
mybatis-flex-processor
- 1.5.8
+ 1.5.9
provided
```
@@ -28,12 +28,12 @@
com.mybatis-flex
mybatis-flex-spring
- 1.5.8
+ 1.5.9
com.mybatis-flex
mybatis-flex-processor
- 1.5.8
+ 1.5.9
provided
``````
@@ -44,12 +44,12 @@
com.mybatis-flex
mybatis-flex-spring-boot-starter
- 1.5.8
+ 1.5.9
com.mybatis-flex
mybatis-flex-processor
- 1.5.8
+ 1.5.9
provided
```
@@ -72,7 +72,7 @@
com.mybatis-flex
mybatis-flex-processor
- 1.5.8
+ 1.5.9
diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md
index 8c77de82..c98a1532 100644
--- a/docs/zh/others/apt.md
+++ b/docs/zh/others/apt.md
@@ -220,7 +220,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置,
```
dependencies {
...
- annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.5.8'
+ annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.5.9'
}
```
diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md
index 5021527b..d057c5da 100644
--- a/docs/zh/others/codegen.md
+++ b/docs/zh/others/codegen.md
@@ -10,7 +10,7 @@
com.mybatis-flex
mybatis-flex-codegen
- 1.5.8
+ 1.5.9
```
diff --git a/pom.xml b/pom.xml
index c9f608ff..e0228490 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
com.mybatis-flex
parent
pom
- 1.5.8
+ 1.5.9
mybatis-flex
https://mybatis-flex.com
@@ -54,7 +54,7 @@
8
8
- 1.5.8
+ 1.5.9
3.5.13
2.1.0