Skip to content

Releases: pact-foundation/pact-jvm

4.6.10

31 May 05:02
Compare
Choose a tag to compare

Updated DSL methods

  • 9d46d36 - feat: Allow reusing common DSL parts in different LambdaDslJsonBody objects #1796
  • 85b042c - fix: Add user-agent to the list of single value headers

4.5.9

22 Apr 07:37
Compare
Choose a tag to compare

Back-ported fixes from v4.6.x

  • 0c10b6e - fix: Add tests for generating URLs with null or empty query parameter values #1788
  • a311746 - fix: IndexOutOfBoundsException when query param without value #1788
  • ab90ca3 - chore: upgrade Netty to version 4.1.108.Final #1782
  • 815f887 - feat(consumer/groovy): Support matchers on plain text bodies #443
  • bd1d739 - feat(consumer-dsl): Support object and array expectation without specifying consumer in LambdaDSL #1737
  • fa6714c - feat(consumer-dsl): Support request body as byte array #1777
  • 151211e - fix: allow synchronous messages to be saved in a v4 pact json report (Gert Jan Kersten)
  • 3670bbd - feat: Add interaction description to the verification payload sent to the Pact Broker
  • 2dc16e3 - chore: Upgrade dependencies (groovy)
  • f308749 - chore: Upgrade dependencies (json, tika, pact plugin driver)
  • 043f58e - fix: Matching rules for query strings with square brackets were not being written in V2 format correctly #1766
  • a81db8b - fix: Provider branch not sent to Pact Broker in consumer version selectors if enablePending=false #1769
  • b9e96df - fix: matchPath should validate that the example provided explicitly matches the regex #1767
  • ac328e2 - fix: when Preemptive Authentication is enabled, basic auth creds were not being set correctly #1764
  • a1d589c - fix: Implemented missing atLeast and atMost options with matching rule definitions
  • 7fabb53 - fix: newJsonBody() builder unable to handle certain field names #1760
  • 5924d90 - fix: Add set-cookie header to the list of single value headers
  • 8e0f0c3 - fix: Support V2 format with header/query params with encoded paths
  • f079041 - chore: Upgrade io.netty:netty-handler to 4.1.104.Final #1755
  • 3fc647a - Issue 1758 - Add latest flag when comparing to the main branch so only the latest contract is checked (jordan.eales)
  • adb5285 - chore: Update Junit 5 readme with V4 Pact example #1745
  • 15d4ae9 - chore: Correct Javadoc for @Pact annotation #1739
  • 69d5163 - feat: Add tests for supportingmultiple test targets with JUnit 5 #1708
  • 2a4df7c - feat: Support multiple test targets with JUnit 5 #1708
  • 1df2b1f - fix: Message metadata is parsed as JSON, so need to check for JSON types #1749
  • a652620 - chore: Remove xerces #1743
  • f0d1f91 - chore: Upgrade Gradle to 7.6.3
  • d6390a8 - Issue 1741 - Add to main branch option to match what is possible in the Pact Flow UI (jordan.eales)
  • 891605d - fix: Message matching rules can be defined under content instead of body #1509
  • fc5c5fa - chore: Add branch to published pacts #1714
  • e7d501d - chore: Add test with headers with params with no values #1727
  • 666a47b - fix: Unstable key generation with provider states #1717
  • e16aea8 - fix: If the JUnit test framework has an exception, add a failure to the test results #1715
  • 02a0d56 - feat: Update the new builder DSL to allow setting contents as byte arrays #600
  • 2d86f44 - feat: Retry all http methods (Sebastian Lohmeier)
  • 45e4a9c - chore: Add missing key and pending methods to SynchronousMessagePactBuilder #1707
  • a1bf519 - chore: add a ProviderState injected test with integer values #1700
  • 662da3c - feat: Add support for adding multiparts that can use JSON DSL #1642
  • 052ce4c - chore: Upgrade plugin driver to 0.4.1 #1698
  • e10e7f5 - chore: Upgrade org.json:json to latest #1720

4.6.9

18 Apr 04:45
Compare
Choose a tag to compare

Bugfix Release

  • f835e2a - chore: Removing publish test result step from CI
  • 9fea4e2 - fix: Add tests for generating URLs with null or empty query parameter values #1788
  • be1989d - fix: IndexOutOfBoundsException when query param without value #1788
  • b5bf1b3 - Update README.md (danifgxcom)

4.6.8

27 Mar 04:15
Compare
Choose a tag to compare

Maintenance Release

  • 6ced027 - chore: upgrade Netty to version 4.1.108.Final #1782
  • 71d8fee - feat(consumer/groovy): Support matchers on plain text bodies #443
  • 7f70936 - feat(consumer-dsl): Support object and array expectation without specifying consumer in LambdaDSL #1737
  • 314f9c0 - feat(consumer-dsl): Support request body as byte array #1777
  • 245b17c - fix: allow synchronous messages to be saved in a v4 pact json report (Gert Jan Kersten)
  • 411fc82 - docs: remove reference to scala-pact (Gaël Jourdan-Weil)
  • bc1e744 - fix: Fix for failing Compatibility Suite build
  • 1f7d401 - feat: Add interaction description to the verification payload sent to the Pact Broker
  • f5cc823 - chore: Upgrade dependencies (groovy)
  • e89bf5b - chore: Upgrade dependencies (ktor, netty)
  • a3358ce - chore: Upgrade dependencies (json, tika, pact plugin driver)
  • 7bada26 - chore: remove use of deplicated KLogging
  • 04458fc - chore: Upgrade kotlin-logging to 5.1.4

4.6.7

16 Feb 04:20
Compare
Choose a tag to compare

Bugfix Release

  • 2dd6271 - fix: Matching rules for query strings with square brackets were not bing written in V2 format correctly #1766
  • 9480fdc - fix: Provider branch not sent to Pact Broker in consumer version selectors if enablePending=false #1769
  • d50ad08 - chore: Disable query with [] test for now #1766
  • 24b14a3 - chore: Add a query with [] test #1766
  • 152c7bc - fix: matchPath should validate that the example provided explicitly matches the regex #1767

4.6.6

30 Jan 06:32
Compare
Choose a tag to compare

Bugfix Release

  • 01058b3 - fix: when Preemptive Authentication is enabled, basic auth creds were not being set correctly #1764
  • 111ae79 - fix: Implemented missing atLeast and atMost options with matching rule definitions
  • a4509a0 - docs: update content type override system property
  • fffc9cc - docs: update how to override body data type

4.6.5

18 Jan 06:10
Compare
Choose a tag to compare

Bugfix Release

  • 704f9cd - fix: newJsonBody() builder unable to handle certain field names #1760
  • e74487f - fix: Add set-cookie header to the list of single value headers
  • bcadfde - fix: Support V2 format with header/query params with encoded paths
  • d607475 - chore: Upgrade io.netty:netty-handler to 4.1.104.Final #1755
  • 51f9b58 - Issue 1758 - Add latest flag when comparing to the main branch so only the latest contract is checked (jordan.eales)
  • be4b696 - chore: Update Junit 5 readme with V4 Pact example #1745
  • 9a8d121 - feat: Add tests for supporting multiple test targets with JUnit 5 #1708
  • 4687d96 - feat: Support multiple test targets with JUnit 5 #1708
  • fe8e0cc - chore: Correct Javadoc for @Pact annotation #1739
  • 2a641c4 - fix: Message metadata is parsed as JSON, so need to check for JSON types #1749

4.6.4

11 Dec 05:44
Compare
Choose a tag to compare

Maintenance Release

ece6a68 - chore: Remove xerces #1743
0f015b2 - chore: Upgrade Gradle to 7.6.3
b8129fa - chore: Upgrade KTor to 2.3.2
62c6f7b - Issue 1741 - Add to main branch option to match what is possible in the Pact Flow UI (jordan.eales)
1b8fe19 - Fix another typo (biergit)
dc65478 - Fix typos (biergit)
9f4467e - fix: Message matching rules can be defined under content instead of body #1509
eef0810 - chore: Add branch to published pacts #1714
30d28c1 - Chore: Add test with headers with params with no values #1727
367cb6e - chore: Upgrade org.json:json to latest #1720

4.6.3

22 Sep 00:52
Compare
Choose a tag to compare

Bugfix Release

  • 5d29116 - fix: Unstable key generation with provider states #1717
  • c6efac9 - fix: If the JUnit test framework has an exception, add a failure to the test results #1715
  • e3950d4 - feat: Update the new builder DSL to allow setting contents as byte arrays #600
  • ef22eb3 - feat: Retry all http methods (Sebastian Lohmeier)
  • 2b2055f - chore: Add missing key and pending methods to SynchronousMessagePactBuilder #1707
  • 1b00f63 - chore: add a ProviderState injected test with integer values #1700
  • b1806ab - feat: Add support for adding multiparts that can use JSON DSL #1642
  • f98f1ad - chore: Upgrade plugin driver to 0.4.1 #1698

4.6.2

18 Aug 05:26
Compare
Choose a tag to compare

Maintenance Release

  • 017fc6c - chore: Upgrade Kotlin to 1.8.22
  • 6aec655 - feat(compatibility-suite): Implemented Synchronous Messages feature
  • c44b05a - feat(compatibility-suite): Add V4 message scenarios
  • aeb09e9 - fix(compatibility-suite): Correct error messages to be consistent
  • c37387f - chore(compatibility-suite): Implement V4 matching rule and generator scenarios
  • 73c6adb - chore: Add additional logging to matchContentType
  • c1964a1 - feat(compatibility-suite): Implement initial V4 features
  • 894016d - feat(compatibility-suite): Implemented V3 message provider feature
  • 5751c1f - feat(compatibility-suite): Implement steps for V3 message consumer
  • bce3543 - fix(compatibility-suite): header values can have optional spaces
  • bd2f380 - feat: Add sys prop to set default Pact spec version; deprecate PactSpecVersion.UNSPECIFIED #1705
  • 52cb552 - fix: Pact parser is removing quoting on Content-Type params #1538
  • 6c1f850 - chore: Update error messages to match the compatibility-suite
  • 3e22d63 - upgrade to kotlin-logging 5 (oshai)
  • cdf6d2c - feat(compatibility-suite): Add V3 HTTP generator scenarios
  • 308a7f7 - chore: DateTimeGeneratorSpec could fail on millisecond boundaries
  • 3cc5e9b - chore: TimeGeneratorSpec could fail on millisecond boundaries
  • bf66443 - feat(compatibility-suite): Implement V3 matching rule and generator scenarios
  • 88c023f - feat(compatibility-suite): Implemented V3 features
  • 31004ad - feat(compatibility-suite): Implemented remaining V1 scenarios
  • 27498a1 - feat(compatibility-suite): Implemented scenarios related to multipart bodies
  • af661f3 - feat(compatibility-suite): Implemented scenarios related to non-JSON bodies
  • 68b8822 - feat: Correct the matching rules to match the latest compatibility-suite
  • 9097226 - feat(V4): Add a JUnit 4 test using the status code matcher
  • 3af6b08 - fix: Update RestPactRunner and MessagePactRunner to support V4 Pacts #1692
  • a6b6e83 - feat(compatibility-suite): Implemented steps for V2 matching rule scenarios
  • f0a4f6c - fix: Matching rules were not being applied to repeated header values
  • 28d544e - fix: Matching rules were not being applied to repeated query parameters
  • e272dc2 - feat(compatibility-suite): Implemented V1 scenarios for verifying different HTTP response parts
  • 474ab17 - fix: Do not print out multipart bodies as they could have binary parts
  • 8e60638 - chore: Update build to support Gradle 8
  • 26bc5e9 - feat: Add steps for initial V2 HTTP compatibility scenarios