diff --git a/.github/workflows/close-inactive-issues.yml b/.github/workflows/close-inactive-issues.yml
new file mode 100644
index 0000000..66742a9
--- /dev/null
+++ b/.github/workflows/close-inactive-issues.yml
@@ -0,0 +1,22 @@
+name: Close inactive issues
+on:
+ schedule:
+ - cron: "30 1 * * *"
+
+jobs:
+ close-issues:
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+ pull-requests: write
+ steps:
+ - uses: actions/stale@v5
+ with:
+ days-before-issue-stale: 30
+ days-before-issue-close: 14
+ stale-issue-label: "stale"
+ stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
+ close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
+ days-before-pr-stale: -1
+ days-before-pr-close: -1
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/docs/README.md b/docs/README.md
index 6398c7b..7682197 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -62,36 +62,31 @@ footer:
io.github.linpeilie
mapstruct-plus-spring-boot-starter
- 1.3.5
+ 1.3.6
```
- gradle
```groovy
-implementation group: 'io.github.linpeilie', name: 'mapstruct-plus-spring-boot-starter', version: '1.3.5'
+implementation group: 'io.github.linpeilie', name: 'mapstruct-plus-spring-boot-starter', version: '1.3.6'
```
## 更新日志
+### 1.3.6
+
+- 兼容内部类转换
+- feature : AutoMapping 注解中的 targetClass 支持配置父类
+- [issue#I8QPRO](https://gitee.com/easii/mapstruct-plus/issues/I8QPRO) : 框架自动生成的 AutoMapperConfig 和 AutoMapMapper 包和类名支持配置
+- [issue#I8T7EF](https://gitee.com/easii/mapstruct-plus/issues/I8T7EF) : 支持在父类中配置的 AutoMapping 注解
+
+
### 1.3.5
- AutoMapping、ReverseAutoMapping 支持配置在方法上面;
- AutoMapping、ReverseAutoMapping 支持 defaultExpression 和 conditionExpression 属性
-### 1.3.4
-
-……什么都没更新,腾讯云maven源同步的jar有问题,只能重新发个新包
-
-### 1.3.3
-
-- fixbug: 修复 win JDK8 编译报错问题
-
-### 1.3.2
-
-- 不可变对象支持,可以使用任意包下的 `Immutable` 标注类型为不可变类
-- 全面适配 IDEA 部分编译问题,使用更加流畅丝滑
-
……
## 代码仓库
diff --git a/docs/en/README.md b/docs/en/README.md
index ec74f32..f2a03a2 100644
--- a/docs/en/README.md
+++ b/docs/en/README.md
@@ -58,32 +58,30 @@ fotter:
io.github.linpeilie
mapstruct-plus-spring-boot-starter
- 1.3.5
+ 1.3.6
```
- gradle
```groovy
-implementation group: 'io.github.linpeilie', name: 'mapstruct-plus-spring-boot-starter', version: '1.3.5'
+implementation group: 'io.github.linpeilie', name: 'mapstruct-plus-spring-boot-starter', version: '1.3.6'
```
## Change Log
+### 1.3.6
+
+- Compatible with internal class conversion.
+- The targetClass in the AutoMapping annotation supports configuring the parent class.
+- AutoMapperConfig and AutoMapMapperConfig package and class name generated automatically by the framework support configuration.
+- Supports AutoMapping annotations configured in the parent class.
+
### 1.3.5
- `@AutoMapping`、`@ReversedAutoMapping` support is configured on top of methods.
- `@AutoMapping`、`@ReverseAutoMapping` support the defaultExpression and conditionExpression properties
-### 1.3.3
-
-- fixbug: fixed compilation error on win jdk8
-
-### 1.3.2
-
-- Support Immutable object, you can use the `@Immutable` annotation type under any package as an immutable class
-- fully adapt the IDEA part of the compilation problem, use more smooth silky
-
……
## Code Warehouse
diff --git a/docs/en/guide/configuration.md b/docs/en/guide/configuration.md
index dabd744..0eab172 100644
--- a/docs/en/guide/configuration.md
+++ b/docs/en/guide/configuration.md
@@ -163,4 +163,31 @@ eg:
- **Description**:the class name of MapConvertMapperAdapter
- **Type**:`String`
- **Default**:MapConvertMapperAdapter
-- **Compile Parameter**:`-Amapstruct.plus.mapAdapterClassName`
\ No newline at end of file
+- **Compile Parameter**:`-Amapstruct.plus.mapAdapterClassName`
+
+### autoConfigPackage
+
+> since `1.3.6`
+
+- **Description**:The package path of the automatically generated configuration class --- `AutoMapperConfig`/`AutoMapMapperConfig` --- from the MapStructPlus framework.
+- **Type**:`String`
+- **Default**:io.github.linpeilie
+- **Compile Parameter**:`-Amapstruct.plus.autoConfigPackage`
+
+### autoMapperConfigClassName
+
+> since `1.3.6`
+
+- **Description**:MapStructPlus framework automatically generates the name of the configuration class(transformation between configuration objects)
+- **Type**:`String`
+- **Default**:AutoMapperConfig
+- **Compile Parameter**:`-Amapstruct.plus.autoMapperConfigClassName`
+
+### autoMapMapperConfigClassName
+
+> since `1.3.6`
+
+- **Description**:MapStructPlus framework automatically generates the name of the configuration class(which configures the transformation between the Map and the object)
+- **Type**:`String`
+- **Default**:AutoMapMapperConfig
+- **Compile Parameter**:`-Amapstruct.plus.autoMapMapperConfigClassName`
diff --git a/docs/en/guide/multiple-class-convert.md b/docs/en/guide/multiple-class-convert.md
index 831bd3a..1e80ca3 100644
--- a/docs/en/guide/multiple-class-convert.md
+++ b/docs/en/guide/multiple-class-convert.md
@@ -34,6 +34,12 @@ when using the `@AutoMapping` annotation, configure the `targetClass` attribute
If `targetClass` is not specified when the `@AutoMapping` annotation is configured, the current rule applies to all class conversions.
+:::info
+`targetClass` also supports the configuration parent class, which applies to this rule when the target class is a subclass of the configured `targetClass`.
+
+> This feature is supported from 1.3.6
+:::
+
eg:
```java
diff --git a/docs/en/release/log.md b/docs/en/release/log.md
index 277c8ba..8b97ba6 100644
--- a/docs/en/release/log.md
+++ b/docs/en/release/log.md
@@ -6,6 +6,13 @@ category:
description: MapStructPlus release log
---
+### 1.3.6
+
+- Compatible with internal class conversion.
+- The targetClass in the AutoMapping annotation supports configuring the parent class.
+- AutoMapperConfig and AutoMapMapperConfig package and class name generated automatically by the framework support configuration.
+- Supports AutoMapping annotations configured in the parent class.
+
### 1.3.5
- AutoMapping、ReverseAutoMapping 支持配置在方法上面;
diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md
index f350ccc..e24ee0e 100644
--- a/docs/guide/configuration.md
+++ b/docs/guide/configuration.md
@@ -160,4 +160,31 @@ public class MapStructPlusConfiguration {
- **说明**:MapConvertMapperAdapter 类名
- **类型**:`String`
- **默认值**:MapConvertMapperAdapter
-- **对应编译参数**:`-Amapstruct.plus.mapAdapterClassName`
\ No newline at end of file
+- **对应编译参数**:`-Amapstruct.plus.mapAdapterClassName`
+
+### autoConfigPackage
+
+> since `1.3.6`
+
+- **说明**:MapStructPlus 框架自动生成的配置类 --- `AutoMapperConfig`/`AutoMapMapperConfig` 所在的包路径
+- **类型**:`String`
+- **默认值**:io.github.linpeilie
+- **对应编译参数**:`-Amapstruct.plus.autoConfigPackage`
+
+### autoMapperConfigClassName
+
+> since `1.3.6`
+
+- **说明**:MapStructPlus 框架自动生成的的配置类(配置对象之间的转换)类名
+- **类型**:`String`
+- **默认值**:AutoMapperConfig
+- **对应编译参数**:`-Amapstruct.plus.autoMapperConfigClassName`
+
+### autoMapMapperConfigClassName
+
+> since `1.3.6`
+
+- **说明**:MapStructPlus 框架自动生成的配置类(配置Map与对象之间的转换)类名
+- **类型**:`String`
+- **默认值**:AutoMapMapperConfig
+- **对应编译参数**:`-Amapstruct.plus.autoMapMapperConfigClassName`
diff --git a/docs/guide/multiple-class-convert.md b/docs/guide/multiple-class-convert.md
index 9739863..8eca0be 100644
--- a/docs/guide/multiple-class-convert.md
+++ b/docs/guide/multiple-class-convert.md
@@ -33,6 +33,13 @@ public class User {
如果在配置 `@AutoMapping` 注解时,没有指定 `targetClass` 时,则当前规则,会应用于与所有类转换。
+:::info
+`targetClass` 同时支持配置父类,当目标类是所配置的 `targetClass` 的子类时,即可应用于该规则。
+
+> 该特性从 1.3.6 开始支持
+:::
+
+
例如:
```java
diff --git a/docs/release/log.md b/docs/release/log.md
index 277c8ba..175f8fe 100644
--- a/docs/release/log.md
+++ b/docs/release/log.md
@@ -6,6 +6,13 @@ category:
description: MapStructPlus release log
---
+### 1.3.6
+
+- 兼容内部类转换
+- feature : AutoMapping 注解中的 targetClass 支持配置父类
+- [issue#I8QPRO](https://gitee.com/easii/mapstruct-plus/issues/I8QPRO) : 框架自动生成的 AutoMapperConfig 和 AutoMapMapper 包和类名支持配置
+- [issue#I8T7EF](https://gitee.com/easii/mapstruct-plus/issues/I8T7EF) : 支持在父类中配置的 AutoMapping 注解
+
### 1.3.5
- AutoMapping、ReverseAutoMapping 支持配置在方法上面;
diff --git a/example/pom.xml b/example/pom.xml
index 9a744cf..0a89080 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -18,7 +18,7 @@
UTF-8
1.5.1.Final
- 1.3.6-SNAPSHOT
+ 1.3.6
1.18.22
diff --git a/pom.xml b/pom.xml
index 92734f2..c908be3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
- 1.3.6-SNAPSHOT
+ 1.3.6
8
8
UTF-8