diff --git a/README.md b/README.md index af14a5be..b7f4fe29 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,10 @@ [![javadoc](https://javadoc.io/badge2/org.cornutum.tcases/tcases-shell/javadoc.svg?style=plastic)](https://javadoc.io/doc/org.cornutum.tcases/tcases-shell) ## What's New? ## - - * The latest version ([Tcases 3.8.1](ReleaseNotes.md#381)) is now available at the Maven Central Repository. + * The latest version ([Tcases 3.8.2](ReleaseNotes.md#382)) is now available at the Maven Central Repository. See [*How To Download Tcases*](HowToDownload.md) for download instructions. - * Tcases 3.8.1 provides improvements to Tcases for OpenAPI. See the [release notes](ReleaseNotes.md#381) for details. + * Tcases 3.8.2 provides improvements to Tcases for OpenAPI. See the [release notes](ReleaseNotes.md#382) for details. * Having trouble with Tcases? Check out [these tips](./Troubleshooting-FAQs.md). diff --git a/ReleaseNotes.md b/ReleaseNotes.md index e6fabfbf..8c3f87e4 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,5 +1,36 @@ # Release Notes # +## 3.8.2 ## + +This release provides the following improvements to Tcases for OpenAPI. + + * **Handle parameter and body input encodings correctly when "realizing" test cases** + + To avoid duplicate test cases, the `tcases-api-test` command (and, for Maven, the `tcases:api-test` goal) eliminates test + cases that can't be uniquely "realized". For example, such duplicates can occur when null, empty, or undefined values are + the same when serialized as strings. (See issue #[133](https://github.com/Cornutum/tcases/issues/133).) This release updates + the "realization" logic to correctly identify duplicates, in particular when considering the encodings specified for media + types like `application/x-www-form-urlencoded`. + + * **Handle null vs. empty inconsistencies correctly** + + Inconsistent test cases can emerge when null and empty values are serialized identically. (For details, see issue + #[201](https://github.com/Cornutum/tcases/issues/201).) This release now correctly resolves any such inconsistency with a + warning, including for object values. + + To avoid duplicate test cases, the `tcases-api-test` command (and, for Maven, the `tcases:api-test` goal) eliminates test + + * **Handle LWS in media types correctly** [[237](https://github.com/Cornutum/tcases/issues/237)] + + This changes fixes a defect in recognizing media type definitions, which can appear in OpenAPI definitions of + requests and responses and also in the `Content-Type` headers received from API servers. Media type definitions + containing "linear whitespace" (LWS) are now correctly decoded. + + * **Upgraded dependencies** + + Upgraded to swagger-parser 2.0.33. + + ## 3.8.1 ## This release provides the following improvements to Tcases for OpenAPI. diff --git a/pom.xml b/pom.xml index 568b46ee..2f157420 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases pom - 3.8.2-SNAPSHOT + 3.8.2 Tcases Generates test cases from system input space models diff --git a/tcases-ant/pom.xml b/tcases-ant/pom.xml index 19f12f0a..9780850b 100644 --- a/tcases-ant/pom.xml +++ b/tcases-ant/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-ant diff --git a/tcases-cli/pom.xml b/tcases-cli/pom.xml index 4c0f0dd1..3c9664aa 100644 --- a/tcases-cli/pom.xml +++ b/tcases-cli/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-cli diff --git a/tcases-io/pom.xml b/tcases-io/pom.xml index 00b5bd0c..644ff0de 100644 --- a/tcases-io/pom.xml +++ b/tcases-io/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-io diff --git a/tcases-lib/pom.xml b/tcases-lib/pom.xml index 3cd3c185..5564f7b7 100755 --- a/tcases-lib/pom.xml +++ b/tcases-lib/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-lib diff --git a/tcases-maven-plugin/pom.xml b/tcases-maven-plugin/pom.xml index eed3b513..b77d4c87 100755 --- a/tcases-maven-plugin/pom.xml +++ b/tcases-maven-plugin/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-maven-plugin diff --git a/tcases-moco/pom.xml b/tcases-moco/pom.xml index bc03c17e..83359a36 100644 --- a/tcases-moco/pom.xml +++ b/tcases-moco/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-moco diff --git a/tcases-openapi-test/pom.xml b/tcases-openapi-test/pom.xml index d11082de..b32cbda0 100644 --- a/tcases-openapi-test/pom.xml +++ b/tcases-openapi-test/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-openapi-test diff --git a/tcases-openapi/pom.xml b/tcases-openapi/pom.xml index 6fa2ef48..3aa35d77 100644 --- a/tcases-openapi/pom.xml +++ b/tcases-openapi/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-openapi @@ -54,7 +54,7 @@ UTF-8 ${maven.build.timestamp} yyyy-MM-dd - 3.8.1 + 3.8.2 diff --git a/tcases-rest-assured/pom.xml b/tcases-rest-assured/pom.xml index 32573773..5cfd79d4 100644 --- a/tcases-rest-assured/pom.xml +++ b/tcases-rest-assured/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-rest-assured diff --git a/tcases-shell/pom.xml b/tcases-shell/pom.xml index eed4f0f7..9e198944 100755 --- a/tcases-shell/pom.xml +++ b/tcases-shell/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.2-SNAPSHOT + 3.8.2 tcases-shell