Skip to content

4.1.0

Compare
Choose a tag to compare
@uglyog uglyog released this 20 May 05:20
· 1882 commits to master since this release

Refactored Modules and Pending Pact support

NOTE: The JARs produced by this project have changed to better align with Java 9 JPMS. The artefacts are now:

au.com.dius.pact:consumer
au.com.dius.pact.consumer:groovy
au.com.dius.pact.consumer:junit
au.com.dius.pact.consumer:junit5
au.com.dius.pact.consumer:java8
au.com.dius.pact.consumer:specs2_2.13
au.com.dius.pact:pact-jvm-server
au.com.dius.pact:provider
au.com.dius.pact.provider:scalatest_2.13
au.com.dius.pact.provider:spring
au.com.dius.pact.provider:maven
au.com.dius.pact:provider
au.com.dius.pact.provider:junit
au.com.dius.pact.provider:junit5
au.com.dius.pact.provider:scalasupport_2.13
au.com.dius.pact.provider:lein
au.com.dius.pact.provider:gradle
au.com.dius.pact.provider:specs2_2.13
au.com.dius.pact.provider:junit5spring
au.com.dius.pact.core:support
au.com.dius.pact.core:model
au.com.dius.pact.core:matchers
au.com.dius.pact.core:pactbroker

This release has the following features:

  • Updated modules for better JPMS support
  • Pending Pacts support
  • Removed GSON as a JSON parser

Changelog:

  • chore: small performance enhancement in JSON parser
  • chore: updated spec tests from specification project
  • refactor: removed use of Gson to parse JSON
  • refactor: remove some unneeded methods #1033
  • fix: missed some tests during refactor #1033
  • fix: small cleanup of interactionId #1033
  • fix: small refactor + fixed missed pending status with MockMVC support #1033
  • feat: implemented pending pact support with JUnit 4 #1033
  • refactor: switch to michaelbull Result from Arrow
  • chore: Upgrade Scala to 2.13
  • feat: Pending pact support with JUnit 5 tests #1033
  • fix: handling stack trace properly of verification failure with exception (czterocyty)
  • feat: add support for pending pacts with the Maven plugin #1033
  • feat: making pending status more prominent in console output
  • feat: enabled handling pending pacts in the Gradle plugin #1033
  • chore: cleaned up output of state change request failures in Gradle plugin
  • refactor: overhauled the verification output in Gradle plugin
  • refactor: capture verification failures in a more structured way
  • fix: include any tag when accumulating JUnit test results #1086
  • fix: correct Pact document link in README
  • fix: typo in status code error message
  • chore: setup a test suite project to test different versions of Gradle
  • chore: cleaned up the verifier console output a bit
  • refactor: replaced jansi with mordant
  • fix: JsonPrimitive comparison should accept "0" as decimal (Łukasz Dziedziul)
  • feat: implement enabling pending pacts feature in the Gradle plugin #1033
  • feat: enabled support for pending pacts in Broker client #1033
  • refactor: renamed some packages after renaming modules
  • refactor: rename provider modules for better JDK 9 module support
  • refactor: rename consumer modules for better JDK 9 module support
  • refactor: rename matchers and model core modules for better JDK 9 module support
  • fix: moduleplugin is compiled with JDK 11
  • refactor: rename pact broker and support code modules for better JDK 9 module support
  • feat: Implemented a recursive decent JSON parser
  • fix: corrected the loading of matching rules from JSON #1070
  • feat: detect invalid use of matchers in Groovy DSL #1076
  • fix an issue where all date and time based generators will crash pact-jvm when a spec json contains generator definitions without a format (Andreas Kaubisch)
  • refactor: removed deprecated methods
  • chore: remove inlined kotlin-result in favour of version from Maven Central #1073