Skip to content

Releases: pact-foundation/pact-jvm

3.2.12

07 Aug 04:35
Compare
Choose a tag to compare

Bugfix Release

  • correctly handle the content type header from the pact broker #287
  • Fix MessagePactBuilder.withContent to take a DslPart instead of PactDslJsonBody #301
  • added a set of each like methods to the consumer body DSL for arrays of arrays #299
  • Add the $.body prefix to DslPart matchers (thanks to @alonpeer)
  • Provided a way to set the body to 'missing' in PactFragmentBuilder (thanks to @alonpeer)
  • removed PactConfig as it was providing no benefit
  • upgraded project dependencies
  • upgraded gradle to 2.14.1
  • consolidated the logback versions across the sub-projects
  • upgraded groovy to 2.4.7

2.4.14

07 Aug 04:24
Compare
Choose a tag to compare

Bugfix Release

  • correctly handle the content type header from the pact broker #287
  • Fix MessagePactBuilder.withContent to take a DslPart instead of PactDslJsonBody #301
  • added a set of each like methods to the consumer body DSL for arrays of arrays #299
  • Add the $.body prefix to DslPart matchers (thanks to @alonpeer)
  • Provided a way to set the body to 'missing' in PactFragmentBuilder (thanks to @alonpeer)
  • removed PactConfig as it was providing no benefit
  • upgraded project dependencies
  • upgraded gradle to 2.14.1
  • consolidated the logback versions across the sub-projects
  • upgraded groovy to 2.4.7

3.3.0-beta.0

31 Jul 09:12
Compare
Choose a tag to compare

First V3 Specification Release

This is the first release including V3 specification changes. The current V3 features implemented:

  • Message Pacts
  • Query parameters are stored as a Map in the Pact files
  • Multiple provider states per interaction with data parameters

3.2.11

31 Jul 06:51
Compare
Choose a tag to compare

Bugfix Release

  • fix readme example link (thanks to @lachatak)
  • upgrade the version of the jansi library #293
  • report any failures back when publishing to a pact broker #291
  • only fail the build because of no configured providers when the pactVerify task is going to be run #290
  • Add scalatest provider verification support (thanks to @lachatak)
  • Add support for generating specs2 Pact with DslPart (thanks to @alonpeer)
  • Introduced Generex as a replacement for inlined Xeger and fixed generation of values from regex with character classes (thanks to @alonpeer)

2.4.13

31 Jul 05:03
Compare
Choose a tag to compare

Bugfix Release

  • fix readme example link (thanks to @lachatak)
  • upgrade the version of the jansi library #293
  • report any failures back when publishing to a pact broker #291
  • only fail the build because of no configured providers when the pactVerify task is going to be run #290
  • Add scalatest provider verification support (thanks to @lachatak)
  • Add support for generating specs2 Pact with DslPart (thanks to @alonpeer)
  • Introduced Generex as a replacement for inlined Xeger and fixed generation of values from regex with character classes (thanks to @alonpeer)

3.2.10

15 Jul 04:12
Compare
Choose a tag to compare

Bugfix + Feature Release

  • do not include optional missing attributes in the generated pact files #248
  • Implemented V2 matching on XML bodies
  • Correctly set the classpath to the test classpath in the maven plugin, and allow it to be overridden #285
  • Prevent recursion into the body elements of the pact file (thanks to @whahoo)

2.4.12

15 Jul 02:58
Compare
Choose a tag to compare

Bugfix + Feature Release

  • do not include optional missing attributes in the generated pact files #248
  • Implemented V2 matching on XML bodies
  • Correctly set the classpath to the test classpath in the maven plugin, and allow it to be overridden #285
  • Prevent recursion into the body elements of the pact file (thanks to @whahoo)

3.2.9

06 Jul 05:35
Compare
Choose a tag to compare

Bugfix Release

  • add new line after a message 'Consumer 'x' has a pact with Provider 'x' in spec2 consumer library - thanks to @olga-vasylchenko
  • Corrected link in readme #267
  • automatically close off any objects that have not been closed in the JUnit DSL #266
  • a number of code quality fixes (thanks to @georgekankava from DevFactory)
  • Allow HttpTarget to set insecure flag (thanks to @fitzoh)
  • add gradle groovy shell plugin to the project
  • better specs2 states support (thanks to @alonpeer)
  • Fix for PactBrokerLoader only using the first given tag #283

2.4.11

06 Jul 05:25
Compare
Choose a tag to compare

Bugfix Release

  • add new line after a message 'Consumer 'x' has a pact with Provider 'x' in spec2 consumer library - thanks to @olga-vasylchenko
  • Corrected link in readme #267
  • automatically close off any objects that have not been closed in the JUnit DSL #266
  • a number of code quality fixes (thanks to @georgekankava from DevFactory)
  • Allow HttpTarget to set insecure flag (thanks to @fitzoh)
  • add gradle groovy shell plugin to the project
  • better specs2 states support (thanks to @alonpeer)
  • Fix for PactBrokerLoader only using the first given tag #283

3.2.8

18 Jun 04:24
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