diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml
index f8e09abc..078a54e7 100644
--- a/.gitee/ISSUE_TEMPLATE/bug.yml
+++ b/.gitee/ISSUE_TEMPLATE/bug.yml
@@ -7,7 +7,7 @@ body:
attributes:
label: 这个 Bug 是否已经存在:
options:
- - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.9,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
+ - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.8.0,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
required: true
- type: textarea
attributes:
diff --git a/.gitee/ISSUE_TEMPLATE/question.yml b/.gitee/ISSUE_TEMPLATE/question.yml
index d9f9616f..60d6d787 100644
--- a/.gitee/ISSUE_TEMPLATE/question.yml
+++ b/.gitee/ISSUE_TEMPLATE/question.yml
@@ -13,7 +13,7 @@ body:
attributes:
label: 这个问题是否已经存在:
options:
- - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.7.9,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
+ - label: 我确定已经把 MyBatis-Flex 升级到最新版本 v1.8.0,并已搜索过现有的问题 (https://gitee.com/mybatis-flex/mybatis-flex/issues)
required: true
- type: textarea
id: question-description
diff --git a/changes.md b/changes.md
index 3e03c2e6..c0e15811 100644
--- a/changes.md
+++ b/changes.md
@@ -2,6 +2,16 @@
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
+## v1.8.0 20240223:
+- 优化:selectOneByQuery(QueryWrapper queryWrapper) 由用户主动添加 limit 1
+- 优化:entityOrBase.tpl 中命令占位符被替换后,entity 里面多了一行空白行,感谢 @caohenghui
+- 修复:在复杂的 VO 嵌套查询时,addResultMap 抛出异常的问题,感谢 @leizhiyou
+- 修复:实体类实现多层级的接口时监听器无法匹配问题,感谢 @ruansheng
+- 修复:使用 Mappers 执行语法时, 异常未被精确抛出问题,感谢 @ruansheng
+- 修复:@EnumValue 在 get 方法上,查询报错的问题,感谢 @Suomm
+
+
+
## v1.7.9 20240204:
- 新增:ActiveRecord 模式新增 withRelations(columns) 的查询方法,感谢 @tangzc
- 新增:在不配置 genPath 时对增量编译的支持,感谢 @CloudPlayer
diff --git a/docs/zh/changes.md b/docs/zh/changes.md
index 3e03c2e6..c0e15811 100644
--- a/docs/zh/changes.md
+++ b/docs/zh/changes.md
@@ -2,6 +2,16 @@
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
+## v1.8.0 20240223:
+- 优化:selectOneByQuery(QueryWrapper queryWrapper) 由用户主动添加 limit 1
+- 优化:entityOrBase.tpl 中命令占位符被替换后,entity 里面多了一行空白行,感谢 @caohenghui
+- 修复:在复杂的 VO 嵌套查询时,addResultMap 抛出异常的问题,感谢 @leizhiyou
+- 修复:实体类实现多层级的接口时监听器无法匹配问题,感谢 @ruansheng
+- 修复:使用 Mappers 执行语法时, 异常未被精确抛出问题,感谢 @ruansheng
+- 修复:@EnumValue 在 get 方法上,查询报错的问题,感谢 @Suomm
+
+
+
## v1.7.9 20240204:
- 新增:ActiveRecord 模式新增 withRelations(columns) 的查询方法,感谢 @tangzc
- 新增:在不配置 genPath 时对增量编译的支持,感谢 @CloudPlayer
diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md
index 0ac1c780..9dbd8df7 100644
--- a/docs/zh/intro/getting-started.md
+++ b/docs/zh/intro/getting-started.md
@@ -61,7 +61,7 @@ VALUES (1, '张三', 18, '2020-01-11'),
com.mybatis-flex
mybatis-flex-spring-boot-starter
- 1.7.9
+ 1.8.0
com.mysql
@@ -89,7 +89,7 @@ VALUES (1, '张三', 18, '2020-01-11'),
com.mybatis-flex
mybatis-flex-spring-boot3-starter
- 1.7.9
+ 1.8.0
com.mysql
diff --git a/docs/zh/intro/gradle.md b/docs/zh/intro/gradle.md
index fe6fe1e6..211608dc 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.7.9")
+ implementation("com.mybatis-flex:mybatis-flex-core:1.8.0")
}
```
@@ -18,7 +18,7 @@ dependencies {
```groovy
dependencies {
- implementation 'com.mybatis-flex:mybatis-flex-core:1.7.9'
+ implementation 'com.mybatis-flex:mybatis-flex-core:1.8.0'
}
```
@@ -28,7 +28,7 @@ dependencies {
```kotlin
dependencies {
- implementation("com.mybatis-flex:mybatis-flex-spring:1.7.9")
+ implementation("com.mybatis-flex:mybatis-flex-spring:1.8.0")
}
```
@@ -36,7 +36,7 @@ dependencies {
```groovy
dependencies {
- implementation 'com.mybatis-flex:mybatis-flex-spring:1.7.9'
+ implementation 'com.mybatis-flex:mybatis-flex-spring:1.8.0'
}
```
@@ -46,7 +46,7 @@ dependencies {
```kotlin
dependencies {
- implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.9")
+ implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.0")
}
```
@@ -54,7 +54,7 @@ dependencies {
```groovy
dependencies {
- implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.7.9'
+ implementation 'com.mybatis-flex:mybatis-flex-spring-boot-starter:1.8.0'
}
```
@@ -70,7 +70,7 @@ dependencies {
```kotlin
dependencies {
- annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.7.9")
+ annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.8.0")
}
```
@@ -78,6 +78,6 @@ dependencies {
```groovy
dependencies {
- annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.7.9'
+ annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.0'
}
```
diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md
index 2d2e11cf..aac61a71 100644
--- a/docs/zh/intro/maven.md
+++ b/docs/zh/intro/maven.md
@@ -12,12 +12,12 @@
com.mybatis-flex
mybatis-flex-core
- 1.7.9
+ 1.8.0
com.mybatis-flex
mybatis-flex-processor
- 1.7.9
+ 1.8.0
provided
```
@@ -28,12 +28,12 @@
com.mybatis-flex
mybatis-flex-spring
- 1.7.9
+ 1.8.0
com.mybatis-flex
mybatis-flex-processor
- 1.7.9
+ 1.8.0
provided
``````
@@ -44,12 +44,12 @@
com.mybatis-flex
mybatis-flex-spring-boot-starter
- 1.7.9
+ 1.8.0
com.mybatis-flex
mybatis-flex-processor
- 1.7.9
+ 1.8.0
provided
```
@@ -60,12 +60,12 @@
com.mybatis-flex
mybatis-flex-spring-boot3-starter
- 1.7.9
+ 1.8.0
com.mybatis-flex
mybatis-flex-processor
- 1.7.9
+ 1.8.0
provided
```
@@ -88,7 +88,7 @@
com.mybatis-flex
mybatis-flex-processor
- 1.7.9
+ 1.8.0
diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md
index 1d9b9cc0..4c3e22fd 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.7.9'
+ annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.8.0'
}
```
diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md
index a23d0baa..79270de0 100644
--- a/docs/zh/others/codegen.md
+++ b/docs/zh/others/codegen.md
@@ -10,7 +10,7 @@
com.mybatis-flex
mybatis-flex-codegen
- 1.7.9
+ 1.8.0
```
diff --git a/pom.xml b/pom.xml
index 9dfffb5e..d8c26ebc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
com.mybatis-flex
parent
pom
- 1.7.9
+ 1.8.0
mybatis-flex
https://mybatis-flex.com
@@ -56,7 +56,7 @@
8
8
- 1.7.9
+ 1.8.0
3.5.15
2.1.2