diff --git a/demo/android-demo/app/build.gradle b/demo/android-demo/app/build.gradle
index e5a9365..85f7dc9 100644
--- a/demo/android-demo/app/build.gradle
+++ b/demo/android-demo/app/build.gradle
@@ -49,7 +49,7 @@ dependencies {
testImplementation 'androidx.test:runner:1.4.0-alpha05'
testImplementation 'junit:junit:4.+'
testImplementation 'org.robolectric:robolectric:4.5.1'
- testImplementation 'com.alibaba.testable:testable-all:0.7.5'
+ testImplementation 'com.alibaba.testable:testable-all:0.7.6'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
\ No newline at end of file
diff --git a/demo/java-demo/build.gradle b/demo/java-demo/build.gradle
index 519333d..c04a9c9 100644
--- a/demo/java-demo/build.gradle
+++ b/demo/java-demo/build.gradle
@@ -13,8 +13,8 @@ repositories {
dependencies {
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
- testImplementation('com.alibaba.testable:testable-all:0.7.5')
- testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
+ testImplementation('com.alibaba.testable:testable-all:0.7.6')
+ testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.6')
}
tasks.withType(JavaCompile) {
diff --git a/demo/java-demo/pom.xml b/demo/java-demo/pom.xml
index e7155d2..0d6ef6e 100644
--- a/demo/java-demo/pom.xml
+++ b/demo/java-demo/pom.xml
@@ -12,7 +12,7 @@
1.8
1.8
5.6.2
- 0.7.5
+ 0.7.6
diff --git a/demo/kotlin-demo/build.gradle.kts b/demo/kotlin-demo/build.gradle.kts
index 1fabaa2..7c18dc3 100644
--- a/demo/kotlin-demo/build.gradle.kts
+++ b/demo/kotlin-demo/build.gradle.kts
@@ -17,8 +17,8 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
testImplementation("org.junit.jupiter:junit-jupiter:5.6.2")
- testImplementation("com.alibaba.testable:testable-all:0.7.5")
- testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.5")
+ testImplementation("com.alibaba.testable:testable-all:0.7.6")
+ testAnnotationProcessor("com.alibaba.testable:testable-processor:0.7.6")
}
tasks.withType {
diff --git a/demo/kotlin-demo/pom.xml b/demo/kotlin-demo/pom.xml
index 9583143..5d568da 100644
--- a/demo/kotlin-demo/pom.xml
+++ b/demo/kotlin-demo/pom.xml
@@ -14,7 +14,7 @@
1.8
1.8
5.6.2
- 0.7.5
+ 0.7.6
diff --git a/demo/spock-demo/build.gradle b/demo/spock-demo/build.gradle
index 94badcd..99b5fee 100644
--- a/demo/spock-demo/build.gradle
+++ b/demo/spock-demo/build.gradle
@@ -14,8 +14,8 @@ repositories {
dependencies {
testImplementation 'org.codehaus.groovy:groovy-all:3.0.7'
testImplementation 'org.spockframework:spock-core:2.0-M5-groovy-3.0'
- testImplementation('com.alibaba.testable:testable-all:0.7.5')
- testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
+ testImplementation('com.alibaba.testable:testable-all:0.7.6')
+ testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.6')
}
tasks.withType(JavaCompile) {
diff --git a/demo/spock-demo/pom.xml b/demo/spock-demo/pom.xml
index 5e94ee8..9f16a9d 100644
--- a/demo/spock-demo/pom.xml
+++ b/demo/spock-demo/pom.xml
@@ -12,7 +12,7 @@
1.8
1.8
1.8
- 0.7.5
+ 0.7.6
diff --git a/docs/en-us/doc/release-note.md b/docs/en-us/doc/release-note.md
index 0134a7a..8698712 100644
--- a/docs/en-us/doc/release-note.md
+++ b/docs/en-us/doc/release-note.md
@@ -1,5 +1,10 @@
# Release Note
+## 0.7.6
+- define package mapping rule according to order in config, to avoid a short path overwrite longer ones
+- fix compatibility issue with jdk 9+
+- skip classes generated by mockito during `OmniConstructor` bytecode enhancing
+
## 0.7.5
- fix an issue cause mocking method with array return type fails
diff --git a/docs/en-us/doc/setup.md b/docs/en-us/doc/setup.md
index 620d035..265c9ab 100644
--- a/docs/en-us/doc/setup.md
+++ b/docs/en-us/doc/setup.md
@@ -16,7 +16,7 @@ It is recommended to add a `property` field that identifies the TestableMock ver
```xml
- 0.7.5
+ 0.7.6
```
@@ -63,8 +63,8 @@ Add dependence of `TestableMock` in `build.gradle` file:
```groovy
dependencies {
- testImplementation('com.alibaba.testable:testable-all:0.7.5')
- testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
+ testImplementation('com.alibaba.testable:testable-all:0.7.6')
+ testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.6')
}
```
diff --git a/docs/zh-cn/doc/release-note.md b/docs/zh-cn/doc/release-note.md
index 0373c61..5d0591f 100644
--- a/docs/zh-cn/doc/release-note.md
+++ b/docs/zh-cn/doc/release-note.md
@@ -1,5 +1,10 @@
# Release Note
+## 0.7.6
+- 依据定义顺序匹配包映射规则,防止短路径覆盖长路径(issue-275)
+- 修复JDK 9+的兼容性问题(issue-270 / pr-274)
+- 在`OmniConstructor`字节码增强时忽略Mockito生成的类型(issue-197)
+
## 0.7.5
- 修复Mock数组类型返回值方法报错的问题(issue-267)
diff --git a/docs/zh-cn/doc/setup.md b/docs/zh-cn/doc/setup.md
index a7ab5b5..ed2635c 100644
--- a/docs/zh-cn/doc/setup.md
+++ b/docs/zh-cn/doc/setup.md
@@ -16,7 +16,7 @@
```xml
- 0.7.5
+ 0.7.6
```
@@ -63,8 +63,8 @@
```groovy
dependencies {
- testImplementation('com.alibaba.testable:testable-all:0.7.5')
- testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.5')
+ testImplementation('com.alibaba.testable:testable-all:0.7.6')
+ testAnnotationProcessor('com.alibaba.testable:testable-processor:0.7.6')
}
```
diff --git a/testable-agent/pom.xml b/testable-agent/pom.xml
index 3963720..2bbc6f5 100755
--- a/testable-agent/pom.xml
+++ b/testable-agent/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.7.5
+ 0.7.6
../testable-parent
testable-agent
diff --git a/testable-all/pom.xml b/testable-all/pom.xml
index df3cff0..9f4d316 100644
--- a/testable-all/pom.xml
+++ b/testable-all/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.7.5
+ 0.7.6
../testable-parent
testable-all
diff --git a/testable-core/pom.xml b/testable-core/pom.xml
index b47f4f5..89dd4c5 100644
--- a/testable-core/pom.xml
+++ b/testable-core/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.7.5
+ 0.7.6
../testable-parent
testable-core
diff --git a/testable-maven-plugin/pom.xml b/testable-maven-plugin/pom.xml
index d3e1773..4453649 100644
--- a/testable-maven-plugin/pom.xml
+++ b/testable-maven-plugin/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.7.5
+ 0.7.6
../testable-parent
testable-maven-plugin
diff --git a/testable-parent/pom.xml b/testable-parent/pom.xml
index 3362adc..4c5d078 100644
--- a/testable-parent/pom.xml
+++ b/testable-parent/pom.xml
@@ -5,7 +5,7 @@
4.0.0
com.alibaba.testable
testable-parent
- 0.7.5
+ 0.7.6
pom
testable-parent
Unit test enhancement toolkit
@@ -42,7 +42,7 @@
1.6
1.6.8
3.6.0
- 0.7.5
+ 0.7.6
diff --git a/testable-processor/pom.xml b/testable-processor/pom.xml
index c264e95..6c26773 100644
--- a/testable-processor/pom.xml
+++ b/testable-processor/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.7.5
+ 0.7.6
../testable-parent
testable-processor