Skip to content

Releases: pact-foundation/pact-jvm

3.5.2

12 Jul 01:38
Compare
Choose a tag to compare

Bugfix Release

  • Inlined DiffConfig class as only one attribute was ever used
  • Fix bodyWithSingleQuotes with ContentType param (thanks to @jeffreymyers)
  • Wired in the use of the pact source classes into the pact loader and verifier
  • Updated the file system lock code to work on windows #475
  • Use the correct pacticipant name when publishing a tag
  • Add a synchanisation block and file system lock around merging a pact with an existing one on the file system #475
  • Converted PactWriter and PactMerge to kotlin

3.5.1

09 Jul 08:15
Compare
Choose a tag to compare

Bugfix Release

  • Updated the Gradle plugin to support publishing pacts with tags
  • Fix for displaying a diff which may not be a list
  • Fix for pacts with wildcard matchers and providers returning additional fields

3.5.0-jre7.1

24 Jun 14:00
Compare
Choose a tag to compare

V3 Specification Release (JDK 7)

This is the version of the V3 specification implementation that supports JDK7.

  • Use joda time as Java time classes are jdk8+

3.5.0

24 Jun 11:33
Compare
Choose a tag to compare

V3 Specification Release

This release includes the following changes from 3.5.0-rc.3:

  • Updated the mock server to handle exceptions
  • Wired in the generators in the response from the mock service
  • Corrected the PactDslJsonArray which was setting the wrong index for generators
  • Correct the JSON verification reporter for V3 format
  • Allow setting of a custom MockMvc for provider states that need finer grained control over the test context (thanks to @mouserd)
  • Implemented AND + OR for Java DSL (Ronald Holshausen, Fri Jun 23 13:10:57 2017 +1000)
  • Add a Groovy boolean matcher (thanks to @jon-ruckwood)
  • use 9 digits for random numbers so they will fit within the dynamic range of 32 bit integers #436

3.5.0-rc.3

20 Jun 23:30
Compare
Choose a tag to compare

Third V3 Spec release candidate

This release introduces combining matchers using AND and OR, and adds an and and or methods to the Groovy DSL.

3.5.0-rc.2

11 Jun 07:28
Compare
Choose a tag to compare

Second V3 Spec release candidate

This release includes all the fixes from 2.4.1, including upgrading Gradle to 3.5 and Groovy to 2.4.10, as well as the following V3 spec changes:

  • implemented the include matcher
  • Added eachLike, equalsTo and includesStr matcher methods to the Groovy DSL
  • Added equalsTo and includesStr matcher methods to the Java DSL

3.4.1

11 Jun 02:05
Compare
Choose a tag to compare

Bugfix Release

  • Add a new Pact Runner called FilteredPactRunner that only runs interactions with a specified provider state (thanks to @siddhuwarrier)
  • Upgrade Gradle to 3.5 and Groovy to 2.4.10
  • Avoid the native Groovy conversions from a Map #448
  • add stacktrace cause details (thanks to @vijaykrishna82)
  • Add provider task as a dependency to pactVerify unless provider property isDependencyForPactVerify is false (defaults to true). (thanks to @marcpa00)
  • Varisous corrections to the readmes (thanks to @marcpa00)
  • fix the matchingRules generated by eachKeyLike (thanks to @lucaong)
  • Correct the generated matchers which were missing the "match": type entries
  • Updated the JUnit readme with examples that use the new mock server support classes
  • Re-apply the enhancements to the HAL Client code

3.5.0-rc.1

25 May 03:45
Compare
Choose a tag to compare

First V3 Spec release candidate

3.4.0

18 May 06:02
Compare
Choose a tag to compare

New Mock Server implementation + Spring MockMVC support

This release includes a new mock server implementation that addresses some issues with the previous one (#404 #126) as well as support for writing provider tests for Spring Controllers.

  • Correct the generated matchers which were missing the "match": type entries
  • Allow maven plugin users to easily remove '-SNAPSHOT' from the pact version. (@fitzoh)
  • Added pact-jvm-provider-spring module. Refactored inheritance model of BaseTarget to accomodate MockMvcTarget. Refactored ProviderVerifier and MvcProviderVerifier to accommodate inheritance. (@raceconditions)
  • Re-apply the enhancements to the HAL Client code
  • Added method to PactFolderLoader to provide files along with pacts to… (#426) (@raceconditions)
  • #241 Added ability to use trust store in pact-jvm-server (#425) (@bbarke)
  • Correctly handle the error messages from the pact broker #421
  • Added RestPactRunner and MessagePactRunner (@raceconditions)
  • Added method to PactFolderLoader to provide files along with pacts to fix the ConsumerInfo instantiation. (@raceconditions)
  • Implemented PactProviderRuleMk2 that uses the new mock server, and updated all tests to use it
  • Added ability to use a keystore for the pact mock server #241 (@bbarke)
  • Converted all the Java example pact tests to the new base test class
  • Added a new Java base test class that uses the new mock server and deprecated the old one
  • Updated the Groovy DSL and docs to use the new mock server
  • Default the Groovy DSL to use port 0 for the mock server
  • Disabled merge conflict implementation and tests
  • Implementation of a mock server in Kotlin to replace the Scala one
  • Add pact broker credentials as properties to the gradle pact publish task
  • Added pact broker credentials to the Maven publish plugin
  • Use GSON to generate Pact JSON to preserve non-ascii characters #395
  • Added Kotlin to project

3.3.10

18 May 04:02
Compare
Choose a tag to compare

Fix for matchers with missing "type" entries

  • Fix some tests and correct the groovy matcher definitions
  • Correct the generated matchers which were missing the "match": type entries
  • Correctly handle the error messages from the pact broker #421