From 326174dbd02a7f3ab1b38d90cee16b7247ae1525 Mon Sep 17 00:00:00 2001 From: jbwheatley Date: Wed, 27 Oct 2021 15:06:16 +0100 Subject: [PATCH] Setting version to 4.2.1-SNAPSHOT --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 223b40f0..f4e9f8b8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Scala-Pact is intended for Scala developers who are looking for a better way to If you are just starting out on your pact journey in scala, we recommend checking out [pact4s](https://github.com/jbwheatley/pact4s). This is built directly on top of pact-jvm, and provides support for writing and verifying contracts using [scalaTest](https://github.com/scalatest/scalatest), [weaver-test](https://github.com/disneystreaming/weaver-test), and [munit-cats-effect-3](https://github.com/typelevel/munit-cats-effect). -## Latest version is 4.2.0 +## Latest version is 4.3.0 Scala-Pact currently only supports [v2 of the pact specification](https://github.com/pact-foundation/pact-specification/tree/version-2). Support for v3 is a future goal of the project. @@ -16,7 +16,7 @@ Before this version, the project versioning did not follow semantic versioning. Scala-Pact now has two branches based on SBT requirements. -#### SBT 1.x compatible (Latest 4.2.0) +#### SBT 1.x compatible (Latest 4.3.0) All development going forward begins at `2.3.x` and resides on the `master` branch. For the sake of the maintainer's sanity, version 2.3.x and beyond will only support Scala 2.12 and SBT 1.x or greater. The project is currently cross-compiled across scala 2.12.12 and 2.13.4. @@ -52,14 +52,14 @@ import com.itv.scalapact.plugin._ enablePlugins(ScalaPactPlugin) libraryDependencies ++= Seq( - "com.itv" %% "scalapact-scalatest-suite" % "4.2.0" % "test", + "com.itv" %% "scalapact-scalatest-suite" % "4.3.0" % "test", "org.scalatest" %% "scalatest" % "3.2.9" % "test" ) ``` Add this line to your `project/plugins.sbt` file to install the plugin: ```scala -addSbtPlugin("com.itv" % "sbt-scalapact" % "4.2.0") +addSbtPlugin("com.itv" % "sbt-scalapact" % "4.3.0") ``` Both the import and the plugin come pre-packaged with the latest JSON and Http libraries (http4s 0.21.x, and circe 0.13.x). @@ -75,27 +75,27 @@ import com.itv.scalapact.plugin._ enablePlugins(ScalaPactPlugin) libraryDependencies ++= Seq( - "com.itv" %% "scalapact-circe-0-13" % "4.2.0" % "test", - "com.itv" %% "scalapact-http4s-0-21" % "4.2.0" % "test", - "com.itv" %% "scalapact-scalatest" % "4.2.0" % "test", + "com.itv" %% "scalapact-circe-0-13" % "4.3.0" % "test", + "com.itv" %% "scalapact-http4s-0-21" % "4.3.0" % "test", + "com.itv" %% "scalapact-scalatest" % "4.3.0" % "test", "org.scalatest" %% "scalatest" % "3.2.9" % "test" ) ``` Add this line to your `project/plugins.sbt` file to install the plugin: ```scala -addSbtPlugin("com.itv" % "sbt-scalapact" % "4.2.0") +addSbtPlugin("com.itv" % "sbt-scalapact" % "4.3.0") ``` This version of the plugin comes pre-packaged with the latest JSON and Http libraries. Thanks to the way SBT works, that one plugin line will work in most cases, but if you're still having conflicts, you can also do this to use your preferred libraries: ```scala libraryDependencies ++= Seq( - "com.itv" %% "scalapact-argonaut-6-2" % "4.2.0", - "com.itv" %% "scalapact-http4s-0-21" % "4.2.0" + "com.itv" %% "scalapact-argonaut-6-2" % "4.3.0", + "com.itv" %% "scalapact-http4s-0-21" % "4.3.0" ) - addSbtPlugin("com.itv" % "sbt-scalapact-nodeps" % "4.2.0") + addSbtPlugin("com.itv" % "sbt-scalapact-nodeps" % "4.3.0") ``` In your test suite, you will need the following imports: