Skip to content

Releases: pact-foundation/pact-jvm

4.0.1

16 Oct 02:54
Compare
Choose a tag to compare

Bugfix Release

  • fix: Maven plugin should fall back to global broker config
  • 📝 update docs to reflect new token config (@ryandens)
  • 👌 introduce token configuration option rather than re-using the username config (@ryandens)
  • ✅ add unit test for verifying that bearer auth is used if token is set and scheme is null (@ryandens)
  • 👌 correct phrasing in documentation relating to bearer tokens (@ryandens)
  • 📝 document how to use basic and bearer authentication for verifying pacts from a pact broker (@ryandens)
  • ✨ add support for bearer authentication (@ryandens)
  • ✅ add test for bearer authentication (@ryandens)
  • ♻️ refactor Authentication to be extensible (@ryandens)
  • fix: call the statechange teardown if the test fails #834
  • fix: disable redirect handling in the verifier #952
  • feat: Update readmes with info on publish verification results with a version tag #823
  • fix: do not override the default tag handler #823
  • feat: Publish verification results with a version tag #823
  • fix: add the server distribution archives to the publishing #945
  • feat: allow JUnit 4 tests to have state change methods on additional classes #943
  • Fix link to gradle plugin (tinexw)
  • Change comment for default pact version in PactSpecVersion annotation. (@tinexw)
  • Add documentation for spring random port (@tinexw)

4.0.0

29 Sep 00:26
Compare
Choose a tag to compare

4.0.0 Release

  • fix: use the charset from the content type when converting bodies to bytes #941
  • fix: remove all references to the mockserver on complete #939
  • fix: GET on pact-jvm-server root delivers broken json #938
  • fix: blog post link in readme #937
  • chore: added test with array with 200 items
  • fix: for JSON report failing when the source is a file
  • chore: updated the verification result format to match the Ruby version
  • fix: for AssertionError cannot be cast to class java.lang.Exception #935
  • fix: mark the test result as failed if a state change callback fails #930
  • fix: Verification reporters were broken after last refactor
  • refactor: deprecate the version property for PactPublish in favor of providerVersion
  • fix: move providerVersion to GradleProviderInfo
  • chore: only run the 200 mock server test on CI
  • fix: from 3.6.3 header values are now a list #928
  • Issue#929 Added the ability to add a version for the provider in pact-jvm-provider-gradle (@toastyblast)
  • chore: switch to openjdk 8 on travis

3.6.14

28 Sep 06:17
Compare
Choose a tag to compare

Bugfix Release

  • fix: use the charset from the content type when converting bodies to bytes #941
  • fix: remove all references to the mockserver on complete #939
  • fix: GET on pact-jvm-server root delivers broken json #938

3.6.13

08 Sep 03:00
Compare
Choose a tag to compare

Bugfixes

  • fix: mark the test result as failed if a state change callback fails #930
  • chore: only run the 200 mock server test on CI
  • fix: from 3.6.3 header values are now a list #928

4.0.0-beta.6

03 Sep 05:04
Compare
Choose a tag to compare

Bugfix release

  • MockMVC support for more than 1 multipart request #927 (@Scot3004)
  • Extended Kotlin DSL #923 (@gmariotti)
  • fix: LeinVerifierProxy after refactor
  • refactor: fix the genetic types on the pact classes
  • refactor: replace PactWriter with an interface
  • refactor: converted the remaining verifier Groovy classes to Kotlin
  • chore: support pactSpecificationVersion format for the spec version #917

4.0.0-beta.5

15 Aug 06:24
Compare
Choose a tag to compare

Bugfix Release

  • fix: correct a flakey date based test
  • fix: when using the values from provider state generator, a type matcher must be set
  • feat: specify the pact tag if applicable #915 (@oswaldquek)
  • Fix gson number serialization #912, #908 (@igordezky-blackberyy)

4.0.0-beta.4

21 Jul 05:40
Compare
Choose a tag to compare

Bugfix release

  • chore: release script must check for Java 8
  • fix: message bodies should be inlined for JSON contents #909
  • fix: preserve the scheme when adding premtive auth #902
  • fix: allow the pact spec version to be specified at the class level (JUNIT 5) #905
  • chore: add readme notes about injecting values from provider states
  • feat: updated the readmes about enabling Preemptive Authentication when accessing the pact broker #902
  • feat: implemented Preemptive Authentication when accessing the pact broker #902
  • feat: enabled datetime expressions for generators
  • feat: implemented time expressions for time generator
  • chore: enable publishing 4.0.x to Gradle plugin portal
  • feat: implemented date and time expression support in the Java 8 DSL
  • chore: upgraded AWS S3 library to latest
  • feat: implemented date and time expression support in the Java DSL
  • feat: added support for date expressions to the groovy DSL
  • fix: make sure JUnit tests execute the provider states in the correct order #897

3.6.12

21 Jul 02:14
Compare
Choose a tag to compare

Bugfix Release

  • fix: preserve the scheme when adding preemptive auth #902
  • fix: allow the pact spec version to be specified at the class level (JUNIT 5) #905
  • chore: add readme notes about injecting values from provider states

3.6.11

07 Jul 08:12
Compare
Choose a tag to compare

Implemented Date and Time expressions with generators

  • feat: implemented Preemptive Authentication when accessing the pact broker #902
  • feat: enabled datetime expressions for generators
  • feat: implemented time expressions for time generator
  • feat: implemented date and time expression support in the Java 8 DSL
  • chore: upgraded AWS S3 library to latest
  • feat: implemented date and time expression support in the Java DSL
  • feat: added support for date expressions to the groovy DSL
  • fix: make sure JUnit tests execute the provider states in the correct order #897

4.0.0-beta.3

29 Jun 08:35
Compare
Choose a tag to compare

Bugfixes from 3.6.x + model classes converted to Kotlin

  • feat: compare XML child elements by tag and not index #899
  • feat: correctly format message response failed verification results
  • feat: correctly format HTTP response failed verification results
  • feat: correctly format failed verification results with an exception
  • feat: merge the failed verification results into the correct format
  • feat: preserve the interaction ids from the broker
  • refactor: capture verification test results in a structured manner
  • chore: upgraded Kotlin and re-enabled kotlinter
  • fix: deprecation warning #894
  • fix: allow setting the state change URL at the consumer level in the Gradle plugin #894
  • fix: drop any dollar prefix when using composition with generators with Java DSL #895
  • fix: drop any dollar prefix when using composition with Java DSL #895
  • feat: implemented publishing of basic validation results
  • fix: allow the publish retry attempts to be configurable
  • feat: capture the exception when a verification test fails
  • fix: conversion of BigDecimal to Integer of the response status #893
  • refactor: use Kotson+Gson instead of Groovy JsonSlurper
  • fix: garbage at end of buffer when loading pact file
  • refactor: moved the consumer annotations to a common package in the models
  • fix: after merge from v3.6.x
  • fix: MarkdownReporter should append results not overwrite them #893
  • fix: JsonReporter should merge results not overwrite them #893
  • fix: publish the tags before the pacts #892
  • chore: upgraded Spock and Hamcrest
  • fix: metadata was always being overwritten instead of merged
  • fix: use late init var for S3 client
  • fix: for Cannot choose between the following variants of project error
  • fix: Don't send successfull verification result to the Broker if not all interactions are verified (@aplsup)
  • fix: build after model refactor
  • fix: correct tests after model refactor
  • fix: some version links were missing the v prefix
  • fix: correct the branch version links
  • fix: correct more links in the readmes
  • fix: links in readmes
  • refactor: wip - fixing build after converting models to Kotlin
  • refactor: converted the model classes to Kotlin
  • fix: core model build after merge from 3.6.x
  • fix: correct the loading of pacts with the Maven plugin #885
  • fix: only covert bytes to a string at the end #879
  • fix: removed pact-jvm-model reference to itself in the generated POM #884
  • fix: request with PactDslRootValue as body was not being applied correctly #883
  • fix: when merging pact files, read the existing file as UTF-8 #879
  • fix: when writing pact specs in V2 format, header matchers must be pluralised #882
  • fix: configure GSon to serialise null values #877
  • chore: add Java 12 to list of versions
  • fix: pact publishing