Skip to content

Releases: pact-foundation/pact-jvm

4.2.4

11 Apr 06:25
Compare
Choose a tag to compare

V4 features + Bugfixes

  • feat(V4): add the JUnit 5 test description to comments
  • feat(V4): display comments when verifying V4 pact files
  • fix(regression): IO Exceptions are now wrapped #1337
  • feat(V4): enable comment support with JUnit 5
  • feat(V4): support user provided comments with interactions in Junit 4 consumer tests
  • feat(V4): support user provided comments with interactions
  • chore: update readme on injecting request objects
  • fix: JUnit 5 Spring extension classes need to be open #1338
  • fix: compare decimal values using compareTo instead of equals #1335

4.1.20

11 Apr 05:53
Compare
Choose a tag to compare

Bugfix Release

  • fix(regression): IO Exceptions are now wrapped #1337
  • chore: update readme on injecting request objects
  • fix: JUnit 5 Spring extension classes need to be open #1338
  • fix: compare decimal values using compareTo instead of equals #1335

4.2.3

28 Mar 05:32
Compare
Choose a tag to compare

Bugfix Release

  • feat(Junit5+Spring): support injecting MockHttpServletRequestBuilder when using MockMvc tests #1334
  • feat: support @CookieValue with MockMvc tests #1333
  • fix(Gradle): do not fail when the pacts from the broker are not available and a non-pact verify task is run #1331
  • chore: add test for application/x-thrift with provider state injected values #1330
  • fix: use the raw URL path in the mock server as HttpExchange will decode the path #1326
  • fix: handle exceptions correctly when @IgnoreNoPactsToVerify is present #1324
  • chore: add test for results with both a pending and non-pending pact #1266
  • fix: use the Pact URL to disambiguate Pacts when accumulating results #1266
  • lookup contents in v4 interaction with key contents instead of body (zara)
  • chore: add test for results with both a pending and non-pending pact #1266
  • feat: add a system property to enable redirect handling #1323
  • chore: add some tests around handling IO errors from Pact Broker #1322
  • chore: add example spring MVC test with CSV #1013
  • chore: add tests for json object attributes formated as dates #1220
  • feat: update content type overrides to allow setting the content type to json #1314
  • included literal 'null' check for regex as it has similar issue as JsonValue.Null (Ryan Levell)
  • fixed regex typo. added happy path json regex (Ryan Levell)
  • added check for Null JsonValue for regex matcher (Ryan Levell)

4.1.19

28 Mar 04:53
Compare
Choose a tag to compare

Bugfix Release

  • feat(Junit5+Spring): support injecting MockHttpServletRequestBuilder when using MockMvc tests #1334
  • feat: support @CookieValue with MockMvc tests #1333
  • fix(Gradle): do not fail when the pacts from the broker are not available and a non-pact verify task is run #1331
  • fix: use the Pact URL to disambiguate Pacts when accumulating results #1266
  • chore: add test for results with both a pending and non-pending pact #1266

4.2.2

13 Mar 06:17
Compare
Choose a tag to compare

Bugfix Release

  • feat: add a system property to enable redirect handling #1323
  • chore: add some tests around handling IO errors from Pact Broker #1322
  • chore: add example spring MVC test with CSV #1013
  • feat(V4): implemented V4 specification tests
  • feat(V4): Update matching code to use matchingRules.content for V4 messages
  • feat(V4): Move message pact content matching rules from matchingRules.body to matchingRules.content
  • fix: add tests for array contains with simple values in Groovy DSL #1318
  • fix: array contains was not allocating generators to the correct variant #1318
  • fix: array contains matcher was not dealing with simple values #1318
  • chore: add tests for json object attributes formated as dates #1220
  • feat: update content type overrides to allow setting the content type to json #1314
  • chore: update Google Guava to 30.1-jre #1319

4.1.18

13 Mar 05:33
Compare
Choose a tag to compare

Bugfix Release

  • feat: add a system property to enable redirect handling #1323
  • chore: add some tests around handling IO errors from Pact Broker #1322
  • chore: add example spring MVC test with CSV #1013
  • chore: add tests for json object attributes formmated as dates #1220
  • feat: update content type overrides to allow setting the content type to json #1314
  • included literal 'null' check for regex as it has similar issue as JsonValue.Null (Ryan Levell)
  • added check for Null JsonValue for regex matcher (Ryan Levell)
  • fix(JUnit 4): do not fire the test finished event for pending pacts #1310
  • feat: deprecate pact broker host, port and scheme in favour of a url #1300

4.2.1

05 Mar 00:40
Compare
Choose a tag to compare

Bugfix Release

  • cce1cfc - refactor: remove old wild-card matching logic in favour of using the ValueMatcher
  • 20f53c6 - included literal 'null' check for regex as it has similar issue as JsonValue.Null (Ryan Levell)
  • 672e853 - added check for Null JsonValue for regex matcher (Ryan Levell)
  • e954d80 - fix(JUnit 4): do not fire the test finished event for pending pacts #1310
  • b782ccc - feat: deprecate pact broker host, port and scheme in favour of an URL #1300
  • cd446ee - chore: upgrade Kotlin to 1.4.30

4.2.0

11 Feb 06:12
Compare
Choose a tag to compare

First non-beta release

  • feat: add like method to Java DSL
  • feat: support setting pact.verifier.publishResults in the Spring context #1294
  • refactor: add a value resolver to the publishingResultsDisabled check #1294
  • feat: Update MockMvcTarget to handle non-file parts in a multipart form post #1290
  • fix: make the Java DSL consistant with the Groovy DSL #1289
  • fix: Support setting consumer and provider pacticipant names from environment variables in consumer contract tests (Christopher Roberts)
  • fix: consumer name formatting in Ansi console reporting (TM)
  • fix: consumer name formatting in SL4J reporting (TM)
  • chore: added support to handle json content type with x-thrift protocol #1298
  • chore: deprecate consumer PactFolder annotation in favour of PactDirectory
  • docs: Correctly set multiple state names (joklek)
  • fix: Don't split header values when loading from a pact file #1288
  • fix(Groovy DSL): allow provider states to be specified before and after the request #1287
  • docs: Add docs for LambdaDSL, with minor style fixes (joklek)
  • Update io.netty:netty-codec to version 4.1.46.Final (rejeeshg)

4.1.17

11 Feb 04:07
Compare
Choose a tag to compare

Bugfix Release

  • feat: add like method to Java DSL
  • feat: support setting pact.verifier.publishResults in the Spring context #1294
  • refactor: add a value resolver to the publishingResultsDisabled check #1294
  • feat: Update MockMvcTarget to handle non-file parts in a multipart form post #1290
  • fix: make the Java DSL consistent with the Groovy DSL #1289
  • fix: Support setting consumer and provider pacticipant names from environment variables in consumer contract tests (Christopher Roberts)
  • fix: consumer name formatting in Ansi console reporting (TM)
  • fix: consumer name formatting in SL4J reporting (TM)
  • chore: added support to handle json content type with x-thrift protocol #1298 (ankur)
  • Update io.netty:netty-codec to version 4.1.46.Final (rejeeshg)

4.1.16

02 Feb 00:49
Compare
Choose a tag to compare

Bugfix Release

  • chore: deprecate consumer PactFolder annotation in favour of PactDirectory
  • docs: Correctly set multiple state names (joklek)
  • fix: Don't split header values when loading from a pact file #1288
  • fix(Groovy DSL): allow provider states to be specified before and after the request #1287
  • docs: Add docs for LambdaDSL, with minor style fixes (joklek)