Releases: circe/circe-generic-extras
v0.14.4
What's Changed
- Add additional possible cause for Configuration implicit error by @SallyPerez in #268
- Update sbt to 1.7.3 by @scala-steward in #255
- Update sbt-typelevel-ci-release, ... to 0.4.18 by @scala-steward in #263
- Update sbt-scalafmt to 2.5.0 by @scala-steward in #258
- Update scalafmt-core to 3.6.1 by @scala-steward in #256
- Update sbt-scalajs, scalajs-compiler, ... to 1.12.0 by @scala-steward in #260
- Update scala-compiler, scala-library, ... to 2.12.17 by @scala-steward in #246
- Update nscplugin, sbt-scala-native, ... to 0.4.9 by @scala-steward in #261
- Update scalafmt-core to 3.7.2 by @scala-steward in #272
- Update sbt-jmh to 0.4.4 by @scala-steward in #269
- Update sbt to 1.8.2 by @scala-steward in #265
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.0 by @scala-steward in #264
- Update nscplugin, sbt-scala-native, ... to 0.4.10 by @scala-steward in #267
- Update sbt to 1.8.3 by @scala-steward in #285
- Update nscplugin, sbt-scala-native, ... to 0.4.14 by @scala-steward in #290
- Update sbt-typelevel-ci-release, ... to 0.4.22 by @scala-steward in #291
- Update sbt-jmh to 0.4.5 by @scala-steward in #292
- Update scala-compiler, scala-library, ... to 2.12.18 by @scala-steward in #293
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.2 by @scala-steward in #295
- Update scalafmt-core to 3.7.12 by @scala-steward in #305
- Update jawn-parser to 1.5.1 by @scala-steward in #296
- Update sbt-scala-native-crossproject, ... to 1.3.2 by @scala-steward in #300
- Update sbt to 1.9.3 by @scala-steward in #306
- Update sbt to 1.9.4 by @scala-steward in #310
- Update sbt-scalajs, scalajs-compiler, ... to 1.14.0 by @scala-steward in #322
- Update sbt to 1.9.6 by @scala-steward in #320
- Update sbt-jmh to 0.4.6 by @scala-steward in #316
- Update scalafmt-core to 3.7.14 by @scala-steward in #315
- Update sbt-scalafmt to 2.5.2 by @scala-steward in #314
- Update sbt to 1.9.7 by @scala-steward in #327
- Update nscplugin, sbt-scala-native, ... to 0.4.16 by @scala-steward in #325
- Update circe-generic, circe-literal, ... to 0.14.6 by @scala-steward in #312
- Update scalafmt-core to 3.7.17 by @scala-steward in #333
- Upgradathon by @hamnis in #357
- Update scalafmt-core to 3.8.2 by @scala-steward in #360
- Update sbt to 1.10.1 by @scala-steward in #365
- Update sbt-scoverage to 2.1.0 by @scala-steward in #364
- Update jawn-parser to 1.6.0 by @scala-steward in #356
- Update circe-generic, circe-literal, ... to 0.14.9 by @scala-steward in #361
New Contributors
- @SallyPerez made their first contribution in #268
- @hamnis made their first contribution in #357
Full Changelog: v0.14.3...v0.14.4
circe-generic-extras 0.14.3
What's Changed
- Scala Native by @zarthross in #248
- Update scalafmt-core to 3.5.9 by @scala-steward in #241
- Update jawn-parser to 1.4.0 by @scala-steward in #235
- Update sbt to 1.7.2 by @scala-steward in #251
- Update scalafmt-core to 3.6.0 by @scala-steward in #252
- Update sbt-typelevel-ci-release, ... to 0.4.16 by @scala-steward in #254
- Do Not Attempt Decoding When We Know It Will Fail by @isomarcte in #230
- Add support for Pascal casing by @legopiraat in #18
- Correctly check specified discriminator for strict decoding by @jatcwang in #217
New Contributors
- @isomarcte made their first contribution in #230
Full Changelog: v0.14.2...v0.14.3
circe-generic-extras 0.14.2
circe-generic-extras 0.14.1
This release updates the Circe version to 0.14.1.
circe-generic-extras 0.14.0
This release updates the Circe version to 0.14.0.
circe-generic-extras 0.13.1-M4
This milestone release introduces a new Decoder
subtype that supports getting structured access to extraneous fields when withStrictDecoding
is enabled.
For example:
import io.circe.generic.extras.{Configuration, ExtrasDecoder}
import io.circe.generic.extras.semiauto.deriveExtrasDecoder
case class Foo(a: Int, b: String, c: Option[Double])
object Foo {
implicit val config: Configuration = Configuration.default.withStrictDecoding
implicit val decodeFoo: ExtrasDecoder[Foo] = deriveExtrasDecoder
}
And then:
scala> import io.circe.literal._
import io.circe.literal._
scala> val doc = json"""{"a": 1, "x": null, "b": "", "c": 123.0, "other": []}"""
val doc: io.circe.Json =
{
"a" : 1,
"x" : null,
"b" : "",
"c" : 123.0,
"other" : [
]
}
scala> val Left((_, extra)) = Foo.decodeFoo.decodeStrict(doc.hcursor)
val extra: List[String] = List(x, other)
See #125 for more details.
This release also updates the Scala.js version to 1.5.0. The JVM artifacts are verified by MiMa to be backwards binary-compatible with 0.13.0.
circe-generic-extras 0.13.1-M3
Please use 0.13.1-M4, since the earlier 0.13.1 milestone releases had an issue with Scoverage instrumentation in the published artifacts.
circe-generic-extras 0.13.1-M2
Please use 0.13.1-M4, since the earlier 0.13.1 milestone releases had an issue with Scoverage instrumentation in the published artifacts.
circe-generic-extras 0.13.1-M1
Please use 0.13.1-M4, since the earlier 0.13.1 milestone releases had an issue with Scoverage instrumentation in the published artifacts.
circe-generic-extras 0.13.0
This release updates the Circe version to 0.13.0.