diff --git a/demo/java-demo/build.gradle b/demo/java-demo/build.gradle index 38c7027..8f54ed9 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.4.11') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.11') + testImplementation('com.alibaba.testable:testable-all:0.4.12') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.12') } tasks.withType(JavaCompile) { diff --git a/demo/java-demo/pom.xml b/demo/java-demo/pom.xml index 03bec7b..dcba4ab 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.4.11 + 0.4.12 diff --git a/demo/kotlin-demo/build.gradle.kts b/demo/kotlin-demo/build.gradle.kts index 7903156..1b75826 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.4.11") - testAnnotationProcessor("com.alibaba.testable:testable-processor:0.4.11") + testImplementation("com.alibaba.testable:testable-all:0.4.12") + testAnnotationProcessor("com.alibaba.testable:testable-processor:0.4.12") } tasks.withType { diff --git a/demo/kotlin-demo/pom.xml b/demo/kotlin-demo/pom.xml index d2303f2..ad399c8 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.4.11 + 0.4.12 diff --git a/docs/en-us/doc/release-note.md b/docs/en-us/doc/release-note.md index c30a12d..d1a366c 100644 --- a/docs/en-us/doc/release-note.md +++ b/docs/en-us/doc/release-note.md @@ -1,5 +1,11 @@ # Release Note +## 0.4.12 +- support verbose diagnose log for better self-troubleshooting +- support disable private access target existence check +- support specify mock scanning packages +- fix an ArrayIndexOutOfBoundsException issue when transforming native method + ## 0.4.11 - support accessing private members of class under test in different package path - validate the number of private method parameters accessed by `PrivateAccessor` diff --git a/docs/en-us/doc/setup.md b/docs/en-us/doc/setup.md index 4bcd573..ee9ea0f 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.4.11 + 0.4.12 ``` @@ -63,8 +63,8 @@ Add dependence of `TestableMock` in `build.gradle` file: ```groovy dependencies { - testImplementation('com.alibaba.testable:testable-all:0.4.11') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.11') + testImplementation('com.alibaba.testable:testable-all:0.4.12') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.12') } ``` diff --git a/docs/zh-cn/doc/release-note.md b/docs/zh-cn/doc/release-note.md index 0214bd8..02d4999 100644 --- a/docs/zh-cn/doc/release-note.md +++ b/docs/zh-cn/doc/release-note.md @@ -1,5 +1,11 @@ # Release Note +## 0.4.12 +- 支持`VERBOSE`级别的Mocking过程日志,增强错误自助排查能力 +- 支持使用`verifyTargetOnCompile`参数禁用编译期私有目标校验功能 +- 支持通过agent参数指定Mock目标的扫描包范围 +- 修复一处`ArrayIndexOutOfBoundsException`异常 (issue-52) + ## 0.4.11 - 支持测试类访问与自身包路径不同的被测类的私有成员 - 增加`PrivateAccessor`访问的私有方法参数数目检查,提高抗代码重构能力 diff --git a/docs/zh-cn/doc/setup.md b/docs/zh-cn/doc/setup.md index 87b8d60..c3bdebe 100644 --- a/docs/zh-cn/doc/setup.md +++ b/docs/zh-cn/doc/setup.md @@ -16,7 +16,7 @@ ```xml - 0.4.11 + 0.4.12 ``` @@ -63,8 +63,8 @@ ```groovy dependencies { - testImplementation('com.alibaba.testable:testable-all:0.4.11') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.11') + testImplementation('com.alibaba.testable:testable-all:0.4.12') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.12') } ``` diff --git a/testable-agent/pom.xml b/testable-agent/pom.xml index a321ffd..b182d56 100755 --- a/testable-agent/pom.xml +++ b/testable-agent/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.4.11 + 0.4.12 ../testable-parent testable-agent diff --git a/testable-all/pom.xml b/testable-all/pom.xml index 89edb1f..f4941c9 100644 --- a/testable-all/pom.xml +++ b/testable-all/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.4.11 + 0.4.12 ../testable-parent testable-all diff --git a/testable-core/pom.xml b/testable-core/pom.xml index 821c27e..8e42205 100644 --- a/testable-core/pom.xml +++ b/testable-core/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.4.11 + 0.4.12 ../testable-parent testable-core diff --git a/testable-maven-plugin/pom.xml b/testable-maven-plugin/pom.xml index 13d9221..b8c9624 100644 --- a/testable-maven-plugin/pom.xml +++ b/testable-maven-plugin/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.4.11 + 0.4.12 ../testable-parent testable-maven-plugin diff --git a/testable-parent/pom.xml b/testable-parent/pom.xml index 53f11e8..c2f7db8 100644 --- a/testable-parent/pom.xml +++ b/testable-parent/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.alibaba.testable testable-parent - 0.4.11 + 0.4.12 pom testable-parent Unit test enhancement toolkit @@ -42,7 +42,7 @@ 1.6 1.6.8 3.6.0 - 0.4.11 + 0.4.12 diff --git a/testable-processor/pom.xml b/testable-processor/pom.xml index 4e54a39..86712c5 100644 --- a/testable-processor/pom.xml +++ b/testable-processor/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.4.11 + 0.4.12 ../testable-parent testable-processor