diff --git a/demo/java-demo/build.gradle b/demo/java-demo/build.gradle index cb7bfca..2485779 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.6.3') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.3') + testImplementation('com.alibaba.testable:testable-all:0.6.4') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.4') } tasks.withType(JavaCompile) { diff --git a/demo/java-demo/pom.xml b/demo/java-demo/pom.xml index 91c03f5..9badb20 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.6.3 + 0.6.4 diff --git a/demo/kotlin-demo/build.gradle.kts b/demo/kotlin-demo/build.gradle.kts index 72abbba..23133bf 100644 --- a/demo/kotlin-demo/build.gradle.kts +++ b/demo/kotlin-demo/build.gradle.kts @@ -16,8 +16,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.6.3") - testAnnotationProcessor("com.alibaba.testable:testable-processor:0.6.3") + testImplementation("com.alibaba.testable:testable-all:0.6.4") + testAnnotationProcessor("com.alibaba.testable:testable-processor:0.6.4") } tasks.withType { diff --git a/demo/kotlin-demo/pom.xml b/demo/kotlin-demo/pom.xml index 9f0570a..401166c 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.6.3 + 0.6.4 diff --git a/demo/spock-demo/build.gradle b/demo/spock-demo/build.gradle index 8f7d06c..40fdcac 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.6.3') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.3') + testImplementation('com.alibaba.testable:testable-all:0.6.4') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.4') } tasks.withType(JavaCompile) { diff --git a/demo/spock-demo/pom.xml b/demo/spock-demo/pom.xml index 2486064..8b22467 100644 --- a/demo/spock-demo/pom.xml +++ b/demo/spock-demo/pom.xml @@ -12,7 +12,7 @@ 1.8 1.8 1.8 - 0.6.3 + 0.6.4 diff --git a/docs/en-us/doc/release-note.md b/docs/en-us/doc/release-note.md index c9c4981..7b9d10c 100644 --- a/docs/en-us/doc/release-note.md +++ b/docs/en-us/doc/release-note.md @@ -1,5 +1,10 @@ # Release Note +## 0.6.4 +- `TestableNull` class removed, let `OmniConstructor` even lighter +- support `@Nested` annotation of JUnit 5 +- fix several `OmniConstructor` compatibility issues(thanks to [@ddatsh](https://github.com/ddatsh)) + ## 0.6.3 - support custom inner `Mock` class name - support skip specified packages from `OmniConstructor` enhancement diff --git a/docs/en-us/doc/setup.md b/docs/en-us/doc/setup.md index 3a1492a..f2f9dd0 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.6.3 + 0.6.4 ``` @@ -63,8 +63,8 @@ Add dependence of `TestableMock` in `build.gradle` file: ```groovy dependencies { - testImplementation('com.alibaba.testable:testable-all:0.6.3') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.3') + testImplementation('com.alibaba.testable:testable-all:0.6.4') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.4') } ``` diff --git a/docs/zh-cn/doc/release-note.md b/docs/zh-cn/doc/release-note.md index aa46bcb..ef18e4f 100644 --- a/docs/zh-cn/doc/release-note.md +++ b/docs/zh-cn/doc/release-note.md @@ -1,5 +1,10 @@ # Release Note +## 0.6.4 +- 移除`TestableNull`类型,让`OmniConstructor`更轻量 +- 支持JUnit 5的`@Nested`注解(issue-140) +- 修复多处`OmniConstructor`的兼容性BUG(感谢[@ddatsh](https://github.com/ddatsh)) + ## 0.6.3 - 支持自定义内部Mock容器类名(issue-137) - 支持自定义`OmniConstructor`字节码增强范围 diff --git a/docs/zh-cn/doc/setup.md b/docs/zh-cn/doc/setup.md index 069c376..1e06c6f 100644 --- a/docs/zh-cn/doc/setup.md +++ b/docs/zh-cn/doc/setup.md @@ -16,7 +16,7 @@ ```xml - 0.6.3 + 0.6.4 ``` @@ -63,8 +63,8 @@ ```groovy dependencies { - testImplementation('com.alibaba.testable:testable-all:0.6.3') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.3') + testImplementation('com.alibaba.testable:testable-all:0.6.4') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.4') } ``` diff --git a/testable-agent/pom.xml b/testable-agent/pom.xml index cad8518..e632539 100755 --- a/testable-agent/pom.xml +++ b/testable-agent/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.6.3 + 0.6.4 ../testable-parent testable-agent diff --git a/testable-all/pom.xml b/testable-all/pom.xml index 05ae328..2ad9367 100644 --- a/testable-all/pom.xml +++ b/testable-all/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.6.3 + 0.6.4 ../testable-parent testable-all diff --git a/testable-core/pom.xml b/testable-core/pom.xml index a9958d4..60532b0 100644 --- a/testable-core/pom.xml +++ b/testable-core/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.6.3 + 0.6.4 ../testable-parent testable-core diff --git a/testable-maven-plugin/pom.xml b/testable-maven-plugin/pom.xml index 2b63497..42b4a2d 100644 --- a/testable-maven-plugin/pom.xml +++ b/testable-maven-plugin/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.6.3 + 0.6.4 ../testable-parent testable-maven-plugin diff --git a/testable-parent/pom.xml b/testable-parent/pom.xml index 629ea3e..89eb2f3 100644 --- a/testable-parent/pom.xml +++ b/testable-parent/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.alibaba.testable testable-parent - 0.6.3 + 0.6.4 pom testable-parent Unit test enhancement toolkit @@ -42,7 +42,7 @@ 1.6 1.6.8 3.6.0 - 0.6.3 + 0.6.4 diff --git a/testable-processor/pom.xml b/testable-processor/pom.xml index 154ef11..f05ac6a 100644 --- a/testable-processor/pom.xml +++ b/testable-processor/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.6.3 + 0.6.4 ../testable-parent testable-processor