Skip to content

Releases: pact-foundation/pact-jvm

4.4.0

18 Nov 05:09
Compare
Choose a tag to compare

4.4.0 Release

  • e273b2e - fix: Upgrade plugin driver to 0.1.7 (fixes startMockServer doesn't set hostInterface, port, and tls)
  • 96eca26 - chore: remove beta from version

4.4.0-beta.8

16 Nov 06:41
Compare
Choose a tag to compare

Fixes from master

  • 0338f43 - chore: Upgrade Gradle to 7.5.1 and convert the project to use convention plugins
  • 2b9b18b - chore: add simple JSON builder
  • da6efde - GH-1632 invent default auth header with additional tests (Artem Ptushkin)
  • 532beab - refactor: Convert ANTLR MatchingRuleDefinition parser to a recursive decent parser #1615
  • 2d730c7 - refactor: Convert ANTLR TimeExpression parser to a recursive decent parser #1615
  • 5d78360 - refactor: Convert ANTLR DateExpression parser to a recursive decent parser #1615
  • 739a40d - refactor: extract common lexer functions from version parser #1615
  • 4d7a28b - fix: replace AssertJ with Hamcrest
  • b4ff3a8 - feat: protect json body generation against loop for cicly reference (Samuel)
  • 47e8c9e - refactor: Replace ANTLR version parser with a recursive decent parser #1615
  • 7e2e11a - chore: Upgrade all test dependencies with reported CSVs #1626
  • 4cf345f - chore: Upgrade Spock to 2.3
  • 625cdfc - chore: Upgrade all dependencies with reported CSVs #1626
  • 72f9193 - feat: add method to setup content type body matching in the consumer DSL #1623
  • 8bd14d5 - feat: support MessagePact with a string as a content #1619
  • 86813ba - feat: Support system properties or environment variables for consumer and provider annotation with JUnit4 provider tests #528 #1616
  • aabee8c - fix: queryMatchingDatetime creates invalid genetator #1612
  • 2750d8a - chore: add Kotlin Junit5 message test
  • fc7e13e - fix: write empty bodies to the Pact file #1611
  • 870a999 - feat: Support generators with URI FORM encoded bodies #1610
  • 719f07b - feat: add capability to build json body based on data class required constructor fields (Samuel)
  • d1e76e3 - Make PactVerificationTask as much ready as possible for configuration cache (Marco Gomiero)
  • 1fd9c09 - bump actions/setup-java to v3 (Nikolas Grottendieck)
  • 0a804b1 - bump org.json:json version to latest (Nikolas Grottendieck)
  • 0a23cab - Make PactCanIDeployTask compatible with Gradle Configuration Cache (Marco Gomiero)
  • e3dd8bf - Make PactPublishTask compatible with Gradle Configuration Cache (Marco Gomiero)

4.3.17

14 Nov 05:14
Compare
Choose a tag to compare

Maintenance Release

  • da6efde - GH-1632 invent default auth header with additional tests (Artem Ptushkin)

4.3.16

28 Oct 07:45
Compare
Choose a tag to compare

Bugfix Release

  • 532beab - refactor: Convert ANTLR MatchingRuleDefinition parser to a recursive decent parser #1615
  • 2d730c7 - refactor: Convert ANTLR TimeExpression parser to a recursive decent parser #1615
  • 5d78360 - refactor: Convert ANTLR DateExpression parser to a recursive decent parser #1615
  • 739a40d - refactor: extract common lexer functions from version parser #1615
  • b4ff3a8 - feat: protect json body generation against loop for cicly reference (Samuel)
  • 47e8c9e - refactor: Replace ANTLR version parser with a recursive decent parser #1615
  • 7e2e11a - chore: Upgrade all test dependencies with reported CSVs #1626
  • 4cf345f - chore: Upgrade Spock to 2.3
  • 625cdfc - chore: Upgrade all dependencies with reported CSVs #1626
  • 72f9193 - feat: add method to setup content type body matching in the consumer DSL #1623
  • 8bd14d5 - feat: support MessagePact with a string as a content #1619
  • 86813ba - feat: Support system properties or environment variables for consumer and provider annotation with JUnit4 provider tests #528 #1616
  • aabee8c - fix: queryMatchingDatetime creates invalid genetator #1612
  • fc7e13e - fix: write empty bodies to the Pact file #1611
  • 870a999 - feat: Support generators with URI FORM encoded bodies #1610
  • 719f07b - feat: add capability to build json body based on data class required constructor fields (Samuel)
  • d1e76e3 - Make PactVerificationTask as much ready as possible for configuration cache (Marco Gomiero)
  • 0a804b1 - bump org.json:json version to latest (Nikolas Grottendieck)
  • 0a23cab - Make PactCanIDeployTask compatible with Gradle Configuration Cache (Marco Gomiero)
  • e3dd8bf - Make PactPublishTask compatible with Gradle Configuration Cache (Marco Gomiero)

4.4.0-beta.6

11 Oct 02:02
Compare
Choose a tag to compare

Maintenance Release

  • ccca23c - fix: Upgrade plugin driver to 0.1.6 (fixes plugin loading with multiple versions of the same plugin)
  • 3d9bced - chore: Update the HAL client to return the current navigated document
  • 205bbd3 - chore: fix for 'compileTestJava' task (current target is 18) and 'compileTestKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version
  • 6a53c7f - chore: Bump Antlr4 to 4.11.1 #1609 (Alex Miller)
  • 873b0e5 - Use Thread Context ClassLoader to find test resources #1607 (Holly Cummins)
  • 50863b9 - Bump version of Kotlin Result to work around Unresolved reference build failures #1606 (Holly Cummins)
  • db96233 - Fix issue with base classes (Stefano Lucka)
  • 1181150 - fix: PactBuilder was not correctly setting up HTTP interaction given a Map structure

4.3.15

30 Sep 05:40
Compare
Choose a tag to compare

Bugfix Release

  • 3d9bced - chore: Update the HAL client to return the current navigated document
  • 205bbd3 - chore: fix for 'compileTestJava' task (current target is 18) and 'compileTestKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version
  • 6a53c7f - chore: Bump Antlr4 to 4.11.1 (Alex Miller)
  • 873b0e5 - Use Thread Context ClassLoader to find test resources (Holly Cummins)
  • 50863b9 - Bump version of Kotlin Result to work around Unresolved reference build failures (Holly Cummins)
  • db96233 - Fix issue with base classes (Stefano Lucka)
  • d31b3e6 - feat: update docs on providing raw selector JSON
  • 416b19d - feat: add capability to the selector builder DSL to add raw JSON snippets
  • fa7d270 - fix(Gradle): publishing pacts - default to the consumer version system property if it is set #1601
  • 6720459 - chore: fix publishing Gradle plugin to Maven Central #1588
  • 08bb852 - feat: add matching functions to consumer DSL to matcher numbers with a regex #1600
  • 7580b45 - Adding Lambda DSL variants for request/response (Zabuzard)

4.4.0-beta.4

15 Aug 00:42
Compare
Choose a tag to compare

Fixes from master + fix for tests using gRPC plugin

  • e4d37b9 - fix Upgrade plugin driver to 0.1.5
  • 9a1c9c3 - fix: Upgrade plugin driver to 0.1.4. Supports plugins that use IP4 addresses
  • cfc6e38 - fix: support consumer version selector methods on Kotlin test classes #1594
  • d56079c - fix: raise an exception when the consumerVersionSelectors method has the wrong signature #1594
  • 4ee099d - Updated kotlin version from 1.5.31 to 1.6.21 (Jaswanth)
  • 561f042 - fix: always apply the plugin-publish plugin to the Gradle plugin project #1588
  • 37de1f2 - Consumer version selector method must be public (Stefano Lucka)
  • 1883253 - Replace diff-utils with the latest actively maintained version 4.12 (Bernard Fugas)
  • b852509 - fix(Gradle): fixes gradle provider verification from pact file #1587
  • d7ec724 - fix(Gradle): Update methods on GradleProviderInfo to support calling hasPactsFromPactBroker without options #1586

4.3.14

12 Aug 03:03
Compare
Choose a tag to compare

Bugfix Release

  • ddf7d79 - feat: add example JUnit4 Spring test using new consumer version selector method
  • 09d907b - feat: Add docs for using consumer version selector methods with JUnit4
  • 1a79529 - chore: Update readme with updated Kotlin version
  • cfc6e38 - fix: support consumer version selector methods on Kotlin test classes #1594
  • d56079c - fix: raise an exception when the consumerVersionSelectors method has the wrong signature #1594
  • 4ee099d - Updated kotlin version from 1.5.31 to 1.6.21 (Jaswanth)
  • 561f042 - fix: allways apply the plugin-publish plugin to the Gradle plugin project #1588
  • 5ef6270 - chore: move PactBrokerLoaderSpec to provider test source
  • 510c484 - chore: Correct JUnit 5 readme
  • 37de1f2 - Consumer version selector method must be public (Stefano Lucka)
  • 1883253 - Replace diff-utils with the latest actively maintained version 4.12 (Bernard Fugas)

4.1.39

02 Aug 07:45
Compare
Choose a tag to compare

Back-ported fixes and consumer version selectors from v4.3.x

  • d7fccb6 - fix(Gradle): fixes gradle provider verification from pact file #1587
  • 77b79a2 - fix(Gradle): Update methods on GradleProviderInfo to support calling hasPactsFromPactBroker without options #1586
  • 14a5143 - fix: for NoSuchMethodError: void kotlin.jvm.internal.FunctionReferenceImpl
  • 05dce3c - feat: Update Maven plugin readme with latest consumer version selectors
  • 34d19e3 - feat: Update Maven plugin with latest consumer version selectors
  • 7177bdc - chore: remove deprecation annotation from selector tag methods
  • 1a51957 - fix: annotation check was failing on JDK8
  • d23fcbe - refactor: rename ConsumerVersionSelectors annotation so it does not clash with the model class
  • 17e51e3 - refactor: Consumer Version Selectors method does not need a parameter
  • 743ac4b - Feat: Support consumer version selectors DSL for JUnit 5
  • f54ee01 - feat(JUnit): allow pact loader to setup from the test class instead of just annotations
  • afeca40 - chore: correct the GitHub URL in Gradle plugin
  • 957f3a3 - chore: upgrade Gradle project to use 1.0 of the plugin-publish plugin
  • f021ef1 - feat: add Gradle DSL functions for deprecated tag forms of selectors
  • fe643c9 - fix: call the updated selector method from the Gradle plugin
  • 0afc954 - Feat: Implement new Gradle DSL for consumer version selectors
  • 01e45dc - feat: allow consumer version selector JSON to be provided with an environment variable
  • 57533e3 - Update gradle.properties to fix Vulnerability
  • 33d659e - Added secondary constructor to FormPostBuilder to facilitate passing a ContentType.
  • 8a6095c - chore: correct offset expressions in date-time expressions
  • a36ce77 - chore: correct message on warning log entry
  • e0b15ab - Update PactCanIDeployTask.groovy
  • 1a80e41 - Adding support for Kafka Schema Registry JSON messages. Do not store magic bytes in broker: - use the content-type to add them to messages for Consumer Tests - remove first 5 bytes from provider tests before parsing as JSON
  • b48e37d - feat: Add support for PactLoader path value expressions
  • 270808a - Adding support for Kafka Schema Registry JSON messages. Utilise the Content-Type to indicate KSR messages. Deal with the 5 "magic" bytes at the start of the JSON.
  • 8dc11bd - fix: make the use of content type overrides consistent #1569
  • 1f2cf91 - docs: link to 'Using provider states effectively'
  • 3e09e6c - feat: allow consumer version selector JSON to be provided with an environment variable
  • bec44aa - fix: make the use of content type overrides consistent #1569

4.3.13

31 Jul 23:49
Compare
Choose a tag to compare

Bugfix Release

  • b852509 - fix(Gradle): fixes gradle provider verification from pact file #1587
  • d7ec724 - fix(Gradle): Update methods on GradleProviderInfo to support calling hasPactsFromPactBroker without options #1586
  • 0bc7cdf - chore: upgrade plugin-publish Gradle plugin to 1.0.0