Skip to content

Releases: pact-foundation/pact-jvm

3.5.0-beta.4

14 May 11:47
Compare
Choose a tag to compare

Basic generator implementation + fixes from master

This release contains the core implementation of example generators, plus all fixes that have been made to master since beta.3

3.3.9

08 May 11:55
Compare
Choose a tag to compare

Bugfix Release

  • Add eachlike methods to PactDslJsonArray that take PactDslJsonRootValue matchers #256
  • Only encode JSON values if the PactDslJsonRootValue is used at the body root #385
  • Disabled merge conflict implementation and tests
  • Added ability to use a keystore for the pact mock server #241 (Thanks to @bbarke)
  • Update maven examples 3.3.x -> 3.3.8, except 3.3.9 (Thanks to @yegeniy)
  • Add pact broker credentials as properties to the gradle pact publish task
  • Added pact broker credentials to the Maven publish plugin

3.3.8

14 Apr 03:52
Compare
Choose a tag to compare

Small Bugfix Release

  • Upgrade gradle to 3.4.1
  • Correct link in Matching any key in a map to refer to the right issue #402
  • Update the message pact failure exception to include the failures in the exception message
  • Updated readme anout using an authenticated pact broker with the Gradle plugin
  • When writing pacts, do not parse JSON bodies that are strings

3.3.7

27 Mar 04:38
Compare
Choose a tag to compare

Small PRs and query parameter matching

  • Allow the instantation of objects for provider methods to be overwridden in the verifier
  • Added query parameter matching support to the Groovy DSL #375
  • Added query parameter matching support to the Java DSL #392
  • Added check to VersionedPactUrlLoader to blow up if the url provided does not contain any variables to expand. (thanks to @tjheslin1)
  • Update PactBrokerLoader to accept tags from system properties (thanks to @fitzoh)
  • Update code to have platform specific line separator (thanks to @aniket-21)
  • Fix logic for default port in case of https (thanks to @aniket-21)

3.5.0-beta.3

05 Feb 05:57
Compare
Choose a tag to compare

Interim V3 Release

This release merges all the fixes from master. For more info, see the change log.

V3 example generators are still outstanding from the V3 spec (WIP).

3.3.6

26 Jan 06:41
Compare
Choose a tag to compare

Bugfixes and small improvement to the diff output for body mismatches

This release changes the verification output for body mismatches. Instead of a single large diff, a more localised diff will be displayed for certain body mismatches. The full diff can still be displayed with the pact.showFullDiff property.

  • Display a smaller diff for some of the body mismatches #370
  • Disabling the message conflict check as it does not work with random generated body values
  • Small refactor in preparation of better diff output #370
  • Correct the MessagePactProviderRule so that multiple rules can be used in one test #371
  • Correct the PactDslJsonRootValue to generate correctly encoded JSON strings #369
  • Fixed issue with message pacts generating invalid JSON for message contents #368

3.3.5

14 Jan 06:49
Compare
Choose a tag to compare

Improved Pact Broker support in Maven plugin

  • Enable tag support in the maven plugin #364
  • Fix for HAL client throwing missing method exception when the pact links is empty
  • Do not fail if pact directory does not exist (thanks to @FlareGames)
  • Update PactBrokerLoader to propagate auth info to loadPact call (thanks to @fitzoh)

3.3.4

04 Jan 05:08
Compare
Choose a tag to compare

Bugfix + Small Feature Release

  • Updated PactBrokerLoader to work with basic auth #360
  • Update the maven publish mojo to thrown an exception if any pact file is not published #361
  • fix tag example in Readme (thanks to @olga-vasylchenko)
  • added a flag to PactBrokerLoader to fail if no pacts found and include the URL in the exception message #354 #356
  • Updated JUnit pact broker loader to use the shared PactBrokerClient
  • Handle non-JSON responses from the pact broker when publishing a pact file
  • Upgrade gradle to 3.2.1
  • Gracefully handle requests to pact broker with unknown pacticipants (thanks to @alonpeer)
  • Improve docs for provider-junit tags (thanks to @BenSayers)
  • document basic auth credentials in gradle publish task (thanks to @mefellows)
  • Making state comparison case-insensitive (thanks to @jpava001)
  • When an error occurs loading the PactSource, propagate the original error
  • add the option to fetch provider pacts with a specified tag (thanks to @olga-vasylchenko)
  • Update README.md (thanks to @codingricky)
  • Add short 'pact' prefix to maven plugin (thanks to @fitzoh)
  • correct grammar in the maven readme
  • Updated the maven plugin docs about publishing to a pact broker
  • An alternative set of helpers for building a PactFragment in Unit Spec mode (thanks to @alonpeer)
  • Correct an issue where the message pacts where not being merged correctly

2.4.18

30 Dec 02:25
Compare
Choose a tag to compare

Bugfix + Feature Release

  • added a flag to PactBrokerLoader to fail if no pacts found and include the URL in the exception message #354 #356
  • Updated JUnit pact broker loader to use the shared PactBrokerClient
  • Handle non-JSON responses from the pact broker when publishing a pact file
  • Gracefully handle requests to pact broker with unknown pacticipants (thanks to @alonpeer)
  • Improve docs for provider-junit tags (thanks to @BenSayers)
  • document basic auth credentials in gradle publish task (thanks to @mefellows)
  • Making state comparison case-insensitive (thanks to @jpava001)
  • When an error occurs loading the PactSource, propagate the original error
  • add the option to fetch provider pacts with a specified tag (thanks to @olga-vasylchenko)
  • Add short 'pact' prefix to maven plugin (thanks to @fitzoh)
  • Updated the maven plugin docs about publishing to a pact broker
  • An alternative set of helpers for building a PactFragment in Unit Spec mode (thanks to @alonpeer)
  • Correct an issue where the message pacts where not being merged correctly
  • JUnit provider tests now fail if there is no state change method #345
  • Validate the number of examples against the min and max in the Java DSL #344
  • Add vararg convenience methods to PactDslJsonBody #343
  • Add a flag to turn off path decoding in the verifier request client #339
  • #339 Providing options for disabling the url path decoding
  • Corrected the AmqpTarget which was incorrectly loading the pacts from the source a second time #341
  • created an example JUnit test class with mutiple tests #342

3.3.3

06 Nov 03:45
Compare
Choose a tag to compare

Bugfix + small feature release

  • JUnit provider tests now fail if there is no state change method #345
  • Validate the number of examples against the min and max in the Java DSL #344
  • Add vararg convenience methods to PactDslJsonBody #343
  • Add a flag to turn off path decoding in the verifier request client #339
  • Corrected the AmqpTarget which was incorrectly loading the pacts from the source a second time #341