diff --git a/changes.md b/changes.md
index 55713753..fff781b8 100644
--- a/changes.md
+++ b/changes.md
@@ -1,6 +1,33 @@
# MyBatis-Flex ChangeLog
+## v1.5.8 20230820:
+- 新增:Row 以及 Entity 在新增时,添加 setRaw 的支持
+- 新增:数据库方言添加对 lealone 数据库的支持,感谢 @hopper
+- 新增:QueryChain 添加新 of 方法,用于支持通过 Entity 创建 QueryChain 对象,感谢 @liibang
+- 新增:提供多线程情况下子父线程获取切换数据源功能,感谢 @lifejwang11
+- 优化:设置乐观锁未设置值的异常信息国际化
+- 优化:设置 @Table 的名称配置支持 "schema.tableName" 配置
+- 优化:重构移除乐观锁、逻辑删除、多租户的全局默认字段配置,用户需手动配置生效
+- 优化:添加逻辑删除、乐观锁、多租户的全局配置的 spring 配置文件提示功能
+- 优化:重构用户手写的条件中是否包含该表,感谢 @Suomm
+- 优化:重构获取 join 连表信息时携带别名,感谢 @Suomm
+- 优化:重构 QueryWrapper 的括号生成,以动态添加子 where 条件,感谢 @Suomm
+- 优化:添加 Conditional 接口用于统一 Condition 的 api,感谢 @Suomm
+- 修复:druid 数据源的某些场景下,数据加密无法使用的问题
+- 修复:修复 MybatisKeyGeneratorUtil 类在某些情况下可能得空指针异常问题,感谢 @norkts
+- 修复:SqlOperator 遗漏了 NOT_EQUALS 操作符 的问题,感谢 @Suomm
+- 修复:Relation 注解查询,忽略字段使用的泛型错误的问题,感谢 @Suomm
+- 修复:DbChain 的 setRaw 方法指向错误的问题,感谢 @Suomm
+- 文档:添加 set 和 setRaw 区别的相关文档
+- 文档:修改代码生成器的相关文档错别字,感谢 @PatrickSt
+- 文档:改正了注解处理器中的内容,将其修改为正确的注解处理器,感谢 @CloudPlayer
+- 文档:优化 Gradle 和 KAPT 的相关文档,感谢 @Suomm
+- 文档:添加乐观锁、逻辑删除、多租户的全局配置的相关文档,感谢 @Suomm
+- 文档:添加多线程情况下子父线程获取切换数据源功能的相关文档,感谢 @lifejwang11
+
+
+
## v1.5.7 20230812:
- 新增:QueryWrapper 添加对 delete 和 update 的 left join 支持
- 新增:RelationManager.addIgnoreRelations() 添加对 lambda 的支持
diff --git a/docs/zh/changes.md b/docs/zh/changes.md
index 55713753..fff781b8 100644
--- a/docs/zh/changes.md
+++ b/docs/zh/changes.md
@@ -1,6 +1,33 @@
# MyBatis-Flex ChangeLog
+## v1.5.8 20230820:
+- 新增:Row 以及 Entity 在新增时,添加 setRaw 的支持
+- 新增:数据库方言添加对 lealone 数据库的支持,感谢 @hopper
+- 新增:QueryChain 添加新 of 方法,用于支持通过 Entity 创建 QueryChain 对象,感谢 @liibang
+- 新增:提供多线程情况下子父线程获取切换数据源功能,感谢 @lifejwang11
+- 优化:设置乐观锁未设置值的异常信息国际化
+- 优化:设置 @Table 的名称配置支持 "schema.tableName" 配置
+- 优化:重构移除乐观锁、逻辑删除、多租户的全局默认字段配置,用户需手动配置生效
+- 优化:添加逻辑删除、乐观锁、多租户的全局配置的 spring 配置文件提示功能
+- 优化:重构用户手写的条件中是否包含该表,感谢 @Suomm
+- 优化:重构获取 join 连表信息时携带别名,感谢 @Suomm
+- 优化:重构 QueryWrapper 的括号生成,以动态添加子 where 条件,感谢 @Suomm
+- 优化:添加 Conditional 接口用于统一 Condition 的 api,感谢 @Suomm
+- 修复:druid 数据源的某些场景下,数据加密无法使用的问题
+- 修复:修复 MybatisKeyGeneratorUtil 类在某些情况下可能得空指针异常问题,感谢 @norkts
+- 修复:SqlOperator 遗漏了 NOT_EQUALS 操作符 的问题,感谢 @Suomm
+- 修复:Relation 注解查询,忽略字段使用的泛型错误的问题,感谢 @Suomm
+- 修复:DbChain 的 setRaw 方法指向错误的问题,感谢 @Suomm
+- 文档:添加 set 和 setRaw 区别的相关文档
+- 文档:修改代码生成器的相关文档错别字,感谢 @PatrickSt
+- 文档:改正了注解处理器中的内容,将其修改为正确的注解处理器,感谢 @CloudPlayer
+- 文档:优化 Gradle 和 KAPT 的相关文档,感谢 @Suomm
+- 文档:添加乐观锁、逻辑删除、多租户的全局配置的相关文档,感谢 @Suomm
+- 文档:添加多线程情况下子父线程获取切换数据源功能的相关文档,感谢 @lifejwang11
+
+
+
## v1.5.7 20230812:
- 新增:QueryWrapper 添加对 delete 和 update 的 left join 支持
- 新增:RelationManager.addIgnoreRelations() 添加对 lambda 的支持
diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md
index 64a32680..878586fa 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.7
+ 1.5.8
com.mysql
diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md
index 67db8972..995a983e 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.7
+ 1.5.8
com.mybatis-flex
mybatis-flex-processor
- 1.5.7
+ 1.5.8
provided
```
@@ -28,12 +28,12 @@
com.mybatis-flex
mybatis-flex-spring
- 1.5.7
+ 1.5.8
com.mybatis-flex
mybatis-flex-processor
- 1.5.7
+ 1.5.8
provided
``````
@@ -44,12 +44,12 @@
com.mybatis-flex
mybatis-flex-spring-boot-starter
- 1.5.7
+ 1.5.8
com.mybatis-flex
mybatis-flex-processor
- 1.5.7
+ 1.5.8
provided
```
@@ -72,7 +72,7 @@
com.mybatis-flex
mybatis-flex-processor
- 1.5.7
+ 1.5.8
diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md
index a6ef512d..8c77de82 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.7'
+ annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.5.8'
}
```
diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md
index 231554ec..6cd23350 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.7
+ 1.5.8
```
diff --git a/pom.xml b/pom.xml
index 3df64e0f..c9f608ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
com.mybatis-flex
parent
pom
- 1.5.7
+ 1.5.8
mybatis-flex
https://mybatis-flex.com
@@ -54,7 +54,7 @@
8
8
- 1.5.7
+ 1.5.8
3.5.13
2.1.0