aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.ci/build2
-rw-r--r--CHANGELOG.md8
-rw-r--r--build.sbt2
-rw-r--r--project/plugins.sbt1
4 files changed, 12 insertions, 1 deletions
diff --git a/.ci/build b/.ci/build
index 1431ec5..11f8e4e 100755
--- a/.ci/build
+++ b/.ci/build
@@ -1,7 +1,7 @@
#!/bin/bash
set -ev
-sbt scalafmtTest +test
+sbt scalafmtTest +mimaReportBinaryIssues +test
# Automatic publishing for tags that start with `v<digit>`
if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_TAG" =~ ^v[0-9].* ]]; then
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ad63117..5db553d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+Version 0.4.1
+-------------
+Add MiMa plugin to check binary backwards compatibility.
+
+Version 0.4.0
+-------------
+Same as version 0.3.1; the package rename should have warranted a major version bump.
+
Version 0.3.1
-------------
- Rename packages to "spray.json" for seamless integration with spray-json.
diff --git a/build.sbt b/build.sbt
index 370c4fa..23c577f 100644
--- a/build.sbt
+++ b/build.sbt
@@ -20,3 +20,5 @@ libraryDependencies ++= Seq(
"com.propensive" %% "magnolia" % "0.7.1",
"org.scalatest" %% "scalatest" % "3.0.2" % "test"
)
+
+mimaPreviousArtifacts := Set("xyz.driver" %% "spray-json-derivation" % "0.3.1")
diff --git a/project/plugins.sbt b/project/plugins.sbt
index a1e2f8a..17dccdc 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -1,3 +1,4 @@
ivyLoggingLevel := UpdateLogging.Quiet
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.2.0")
+addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.18")