diff --git a/README.md b/README.md index e3862db99..4e1252b3f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Actions Build](https://github.com/plokhotnyuk/jsoniter-scala/workflows/build/badge.svg)](https://github.com/plokhotnyuk/jsoniter-scala/actions) [![Scala Steward](https://img.shields.io/badge/Scala_Steward-helping-brightgreen.svg?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAVFBMVEUAAACHjojlOy5NWlrKzcYRKjGFjIbp293YycuLa3pYY2LSqql4f3pCUFTgSjNodYRmcXUsPD/NTTbjRS+2jomhgnzNc223cGvZS0HaSD0XLjbaSjElhIr+AAAAAXRSTlMAQObYZgAAAHlJREFUCNdNyosOwyAIhWHAQS1Vt7a77/3fcxxdmv0xwmckutAR1nkm4ggbyEcg/wWmlGLDAA3oL50xi6fk5ffZ3E2E3QfZDCcCN2YtbEWZt+Drc6u6rlqv7Uk0LdKqqr5rk2UCRXOk0vmQKGfc94nOJyQjouF9H/wCc9gECEYfONoAAAAASUVORK5CYII=)](https://scala-steward.org) [![Gitter Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/plokhotnyuk/jsoniter-scala?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![Maven Central](https://img.shields.io/badge/maven--central-2.30.15-blue.svg)](https://repo1.maven.org/maven2/com/github/plokhotnyuk/jsoniter-scala/) +[![Maven Central](https://img.shields.io/badge/maven--central-2.31.0-blue.svg)](https://repo1.maven.org/maven2/com/github/plokhotnyuk/jsoniter-scala/) Scala macros for compile-time generation of safe and ultra-fast JSON codecs. @@ -246,16 +246,16 @@ list of sbt dependencies: ```sbt libraryDependencies ++= Seq( // Use the %%% operator instead of %% for Scala.js and Scala Native - "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core" % "2.30.15", + "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core" % "2.31.0", // Use the "provided" scope instead when the "compile-internal" scope is not supported - "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-macros" % "2.30.15" % "compile-internal" + "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-macros" % "2.31.0" % "compile-internal" ) ``` In the beginning of Scala CLI script use "dep" scope for the core library or "compileOnly.dep" scope for the macros libary: ```scala -//> using dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-core::2.30.15" -//> using compileOnly.dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros::2.30.15" +//> using dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-core::2.31.0" +//> using compileOnly.dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros::2.31.0" ``` Derive a codec for the top-level type that need to be parsed or serialized: diff --git a/jsoniter-scala-examples/example01.sc b/jsoniter-scala-examples/example01.sc index 8a35d1ab2..b99ffa9be 100644 --- a/jsoniter-scala-examples/example01.sc +++ b/jsoniter-scala-examples/example01.sc @@ -1,5 +1,5 @@ -//> using dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-core::2.30.15" -//> using compileOnly.dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros::2.30.15" +//> using dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-core::2.31.0" +//> using compileOnly.dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros::2.31.0" import com.github.plokhotnyuk.jsoniter_scala.macros._ import com.github.plokhotnyuk.jsoniter_scala.core._ diff --git a/jsoniter-scala-examples/example02.sc b/jsoniter-scala-examples/example02.sc index c06616c38..e9b9307f2 100644 --- a/jsoniter-scala-examples/example02.sc +++ b/jsoniter-scala-examples/example02.sc @@ -1,4 +1,4 @@ -//> using dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-core::2.30.15" +//> using dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-core::2.31.0" import com.github.plokhotnyuk.jsoniter_scala.core._ diff --git a/jsoniter-scala-examples/example03.sc b/jsoniter-scala-examples/example03.sc index 18ad366e1..8f17361d5 100644 --- a/jsoniter-scala-examples/example03.sc +++ b/jsoniter-scala-examples/example03.sc @@ -1,5 +1,5 @@ -//> using dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-core::2.30.15" -//> using compileOnly.dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros::2.30.15" +//> using dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-core::2.31.0" +//> using compileOnly.dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros::2.31.0" import com.github.plokhotnyuk.jsoniter_scala.macros._ import com.github.plokhotnyuk.jsoniter_scala.core._ diff --git a/version.sbt b/version.sbt index b640ec775..593323ea7 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -ThisBuild / version := "2.31.0-SNAPSHOT" +ThisBuild / version := "2.31.0"