Skip to content

Releases: pact-foundation/pact-jvm

4.3.0-beta.0

09 Aug 02:05
Compare
Choose a tag to compare

Initial Beta Release to support plugin development

  • Requires Gradle 7 and later
  • Supports building on JDK 16
  • Initial plugin support using the plugin JVM driver library (WIP)

Changelog:

  • feat(V4): Implemented models for Synchronous Message interactions
  • chore: Upgrade kotlin-result and kotlin-logging
  • feat(plugins): support generating content via plugin
  • chore: Upgrade HTTP client to 5.1
  • feat(plugins): implemented support for content matchers via plugins
  • chore: first phase of changes to support plugins
  • chore: upgrade KTor to 1.6.1
  • feat: Introduce PactBuilder DSL class (will be able to apply plugins)
  • chore: Upgrade Kotlin to 1.5.21
  • chore: remove deprecated methods
  • chore: got the build working with JDK 16
  • chore: Upgrade Gradle to 7.1.1

4.2.9

01 Aug 01:54
Compare
Choose a tag to compare

Bugfix Release

  • fix: previous provider states must not be copied over to new interactions #497
  • feat: add a message metadata builder DSL #1409
  • chore: add test for pactbroker with path in the URL #1399
  • fix: header values need to be parsed when loaded from older spec pact files #1398
  • fix: retry condition for the pactbroker unknown response #1405 (Bryan Woodruff)
  • fix: don't encode URLs when making requests from HAL links #1388
  • chore: upgrade Tika to 1.27 #1392
  • chore: add debug logging to canIDeploy task
  • fix: retain previous summary state when updating markdown report #1128 (Daniel Grech)
  • feat: Ignore missing part content type headers with multipart bodies #1385
  • feat: add option to mock server to disable persistent HTTP/1.1 connections #1383 #342

4.1.24

01 Aug 01:03
Compare
Choose a tag to compare

Bugfixes + backports from 4.2.x

  • fix: previous provider states must not be copied over to new interactions #497
  • feat: add a message metadata builder DSL #1409
  • chore: add test for pactbroker with path in the URL #1399
  • fix: header values need to be parsed when loaded from older spec pact files #1398
  • fix: retry condition for the pactbroker unknown response #1405 (Bryan Woodruff)
  • fix: don't encode URLs when making requests from HAL links #1388
  • chore: upgrade Tika to 1.27 #1392
  • chore: add debug logging to canIDeploy task
  • fix: retain previous summary state when updating markdown report #1128 (Daniel Grech)
  • feat: Ignore missing part content type headers with multipart bodies #1385
  • feat: add option to mock server to disable persistant HTTP/1.1 connections #1383 #342

4.2.8

21 Jul 07:57
Compare
Choose a tag to compare

Bugfix Release

  • fix: retry condition for the pactbroker unknown response #1405 (Bryan Woodruff)
  • feat: Enable HTTPS MockServer to use provided KeyStore (Javier Llorente)
  • chore: Remove support for scala.Function for request filters #1395
  • fix: don't encode URLs when making requests from HAL links #1388
  • chore: upgrade Tika to 1.27 #1392
  • chore: add debug logging to canIDeploy task
  • fix: retain previous summary state when updating markdown report #1128 (Daniel Grech)
  • feat: support generating UUIDs with different formats
  • chore: upgrade detekt to 1.17.1
  • chore: upgrade Dokka to 1.4.32

4.2.7

27 Jun 06:44
Compare
Choose a tag to compare

V4 features + bugfixes

  • feat: Ignore missing part content type headers with multipart bodies #1385
  • feat: add option to mock server to disable persistent HTTP/1.1 connections #1383 #342
  • feat: support pact annotations with nested JUnit5 tests #1382
  • chore: upgrade KTor to 1.4.1
  • chore: upgrade Kotlin to 1.4.32
  • chore: upgrade ANTLR to latest (4.9.2) #1380 (Ronald Holshausen, Thu Jun 24 11:05:15 2021 +1000)
  • fix: When using url in PactBroker annotation, the default value is broken if it contains a colon #1387 (Mahendar Selvakumar)
  • feat: added support for WebFlux with Spring JUnit 5 tests #1373
  • fix: mark Gradle PactVerificationTask fields as @internal for Gradle 7 #1374
  • chore: upgrade Maven jars and plugin to latest
  • fix: using :pact-file source with Leiningen was broken #1372
  • feat(V4): Support JUnit4 tests with both HTTP and message interactions
  • feat(V4): Support verifying V4 Pacts with JUnit
  • feat(V4): Implemented matching status codes
  • feat(V4): add support for status code matchers to JUnit DSL
  • feat(V4): implement status code matcher
  • feat(V4): support V4 pending interactions in the verifier
  • feat(V4): support pending interactions
  • feat: add a system property to turn off diff calculation for large payloads #1375
  • fix: treat application/graphql as a JSON content type #1371
  • fix: arrayContaining DSL method was not constructing the matching rules correctly #1367
  • chore: add a kotlin consumer module #1352

4.1.23

24 Jun 01:52
Compare
Choose a tag to compare

Bugfix Release

  • fix: When using url in PactBroker annotation, the default value is broken if it contains a colon #1387 (Mahendar Selvakumar)
  • fix: using :pact-file source with Leiningen was broken #1372

4.1.22

06 Jun 00:02
Compare
Choose a tag to compare

Backported Fix

  • fix(backport): handle exceptions correctly when @IgnoreNoPactsToVerify is present #1324

4.2.6

23 May 06:27
Compare
Choose a tag to compare

Bugfix Release

  • chore: upgrade classgraph to 4.8.105
  • chore: upgrade gradle to 6.8.3
  • chore: add test for array contains matcher with simple values #1367
  • fix: arrayContaining matcher was failing if the variants have no matching rules #1367
  • fix: Fallback to env vars for pact.provider.version property #1365
  • fix: Format the error correctly when publishing results fail [Gradle/Maven] #1364
  • fix: HAL client must return an error if the post request fails #1364
  • fix: fail the verification if publishing verification results fails [Maven/Gradle] #1364
  • fix: fail the test if publishing verification results fails [JUNIT5] #1364
  • fix: fail the test if publishing verification results fails #1364
  • chore: upgrade Spock to 2.0
  • fix: allow verifying v4-interactions with junit5 (Gregor Tudan)
  • Updated JUnit 5 README to include a link to a message pact example that uses JUnit 5 and Pact V4. (Thackery Archuletta)

4.1.21

23 May 05:59
Compare
Choose a tag to compare

Bugfix Release

  • chore: upgrade classgraph to 4.8.105
  • fix: Fallback to env vars for pact.provider.version property #1365
  • fix: Format the error correctly when publishing results fail [Gradle/Maven] #1364
  • fix: HAL client must return an error if the post request fails #1364
  • fix: fail the verification if publishing verification results fails [Maven/Gradle] #1364
  • fix: fail the test if publishing verification results fails [JUNIT5] #1364
  • fix: fail the test if publishing verification results fails #1364
  • chore: upgrade Spock to 2.0
  • fix: backported fix from v4.2.x #1345

4.2.5

09 May 02:24
Compare
Choose a tag to compare

Bugfixes + small enhancements

  • feat: support multiple providers in a JUnit 5 consumer test #1342
  • refactor: support multiple providerinfo in JUnit 5 tests #1342
  • Update README.md (Akash Agarwal)
  • README updates (humbled)
  • fix: use source by loadV4Pact (Fei Xie)
  • fix: values matcher must not cascade #1347
  • feat(V4): added a boolean matcher #1346
  • refactor: update Groovy builder to support V4 Pacts
  • fix typo in provider/junit/README.md (JapuDCret)
  • feat: add support for java LocalDate matching method in pact dsl (Radek Koubsky)
  • fixed content type for request body when content type is application/xthrift #1330 (ankur)
  • test case added with expression in body #1330 (ankur)