Skip to content

Releases: pact-foundation/pact-jvm

2.4.10

18 Jun 04:04
Compare
Choose a tag to compare

Bugfix Release

  • Readme fixes
  • do not default the verification type when loading pacts from a pact broker
  • consolidate the loading of V2 and V3 pacts so message pacts can be loaded from a pact broker #260
  • add provider state getter to Interaction interface #262
  • fix for the "No signature of method" failure in the pact verifier for message pacts #259
  • fix the MessagePactProviderRule to use the correct fragment method for the @PactVerification #258
  • allow the eachLike matchers to be applied to arrays of non-objects #256
  • gradle plugin now detects if there is a property overriding the pact namespace #254
  • add more appropriate error message is the pact broker response is invalid #257
  • updated scala versions to 2.10.6 and 2.11.8

3.2.7

04 May 05:34
Compare
Choose a tag to compare

Bugfix Release

  • updated mock server docker file for the latest gradle distribution format
  • fix for tests that fail on windows #235
  • convert enum and expection classes in pact-jvm-provider module to java to support groovy versions < 2.2 #242
  • update @PactFolder to be able to load pacts from a directory #236
  • Implemented a https switch in the PactProviderRule to run the mock server with HTTPS and a self-signed cert #241
  • implemented markdown and JSON verification reports for Gradle and JUnit provider modules #232
  • fix handling nested properties in PactDslJsonBody (thanks to @awojcicki)
  • deprecated the expectMismatch value on @PactVerification because it causes too much confusion #245
  • fix possible NPE in HttpTarget when testClass is Null (thanks to @awojcicki)
  • upgrade to gradle 2.11
  • allow the pact file/url to be determined with a closure in the Gradle plugin #252

2.4.9

04 May 03:13
Compare
Choose a tag to compare

Bugfix Release

  • updated mock server docker file for the latest gradle distribution format
  • fix for tests that fail on windows #235
  • convert enum and expection classes in pact-jvm-provider module to java to support groovy versions < 2.2 #242
  • update @PactFolder to be able to load pacts from a directory #236
  • Implemented a https switch in the PactProviderRule to run the mock server with HTTPS and a self-signed cert #241
  • implemented markdown and JSON verification reports for Gradle and JUnit provider modules #232
  • fix handling nested properties in PactDslJsonBody (thanks to @awojcicki)
  • deprecated the expectMismatch value on @PactVerification because it causes too much confusion #245
  • fix possible NPE in HttpTarget when testClass is Null (thanks to @awojcicki)
  • upgrade to gradle 2.11
  • allow the pact file/url to be determined with a closure in the Gradle plugin #252

3.2.6

29 Mar 03:15
Compare
Choose a tag to compare

Bugfix Release

  • fix serious regression in pact mock server after change from using json4s #231
  • adds possibility to add a constructor with class argument in custom pact loader (thanks to @lordofthejars)
  • Fix the diff displayed with a verification error when the expected and actual keys are in a different order (thanks to @jocranford)

2.4.8

29 Mar 02:26
Compare
Choose a tag to compare

Bugfix Release

  • fix serious regression in pact mock server after change from using json4s #231
  • adds possibility to add a constructor with class argument in custom pact loader (thanks to @lordofthejars)
  • Fix the diff displayed with a verification error when the expected and actual keys are in a different order (thanks to @jocranford)

3.2.5

25 Mar 01:54
Compare
Choose a tag to compare

Bugfix + small feature release

  • HttpTarget supports URLs with path expressions (thanks to @lordofthejars)
  • fix toString problem in PactDslResponse when DslPart used (thanks to @lordofthejars)
  • upgrade groovy to 2.4.6 to fix loss of precision when parsing decimal numbers in JSON #221
  • implemented teardown state change call in the Groovy + Maven plugins #220
  • Implemented @PactVerifications that plays better with @PactProviderRule and @MessagePactProviderRule so that it becomes possible to have http and message pact tests in the same class (thanks to @andreschaffer)
  • added getMessage from MessagePactProviderRule (thanks to @andreschaffer)
  • handle null and empty bodies as per v1.1 spec testcases
  • Handle query strings that contain equals in the value #219
  • Add consumer annotation and Load all pacts and filter instead of loading only pacts for a certain consumer (thanks to @FlareGames)

2.4.7

25 Mar 00:51
Compare
Choose a tag to compare

Bugfix + small feature release

  • HttpTarget supports URLs with path expressions (thanks to @lordofthejars)
  • fix toString problem in PactDslResponse when DslPart used (thanks to @lordofthejars)
  • upgrade groovy to 2.4.6 to fix loss of precision when parsing decimal numbers in JSON #221
  • implemented teardown state change call in the Groovy + Maven plugins #220
  • Implemented @PactVerifications that plays better with @PactProviderRule and @MessagePactProviderRule so that it becomes possible to have http and message pact tests in the same class (thanks to @andreschaffer)
  • added getMessage from MessagePactProviderRule (thanks to @andreschaffer)
  • handle null and empty bodies as per v1.1 spec testcases
  • Handle query strings that contain equals in the value #219
  • Add consumer annotation and Load all pacts and filter instead of loading only pacts for a certain consumer (thanks to @FlareGames)

3.2.4

20 Feb 00:41
Compare
Choose a tag to compare

Bugfix release

  • handle content type header parameters correctly #213
  • nested JSON objects get parent nodes prefixed (thanks to @tobivogel)
  • update the Java+Groovy DSLs to allow each/min/maxLike to specify the number of examples to generate #202
  • add tags support to the junit pact broker loader #215
  • bugfix: when comparing bodies, handle the case where a request returns an empty string for a body #216

2.4.6

19 Feb 23:51
Compare
Choose a tag to compare

Bugfix release

  • handle content type header parameters correctly #213
  • nested JSON objects get parent nodes prefixed (thanks to @tobivogel)
  • update the Java+Groovy DSLs to allow each/min/maxLike to specify the number of examples to generate #202
  • add tags support to the junit pact broker loader #215
  • bugfix: when comparing bodies, handle the case where a request returns an empty string for a body #216

3.2.3

11 Feb 06:31
Compare
Choose a tag to compare

Bugfix + small feature release

  • allow property name expressions in the provider JUnit pact broker annotation #208
  • fix for generated random integers being bigger than 32 bits in the Java DSL #209
  • fix for the JUnit DSL where the matcher did not support nested objects (thanks to @tobivogel)
  • implemented request filters for the junit provider tests #204
  • fixed regression from removing Json4s where Groovy DSL was defaulting the content type to text/plain #212