Skip to content

Releases: circe/circe-generic-extras

v0.14.4

26 Jul 22:23
d27d7b3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.14.3...v0.14.4

circe-generic-extras 0.14.3

24 Oct 21:41
v0.14.3
b3bf2a6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.14.2...v0.14.3

circe-generic-extras 0.14.2

26 May 14:46
Compare
Choose a tag to compare

What's Changed

  • Upgrade circe dependency to 0.14.2
  • Fix typo in Scaladoc by @mdulac in #161

New Contributors

Full Changelog: v0.14.1...v0.14.2

circe-generic-extras 0.14.1

26 May 18:32
v0.14.1
9973b1e
Compare
Choose a tag to compare

This release updates the Circe version to 0.14.1.

circe-generic-extras 0.14.0

26 May 18:31
v0.14.0
1db40de
Compare
Choose a tag to compare

This release updates the Circe version to 0.14.0.

circe-generic-extras 0.13.1-M4

01 Mar 09:48
v0.13.1-M4
0ed4105
Compare
Choose a tag to compare
Pre-release

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

01 Mar 09:50
v0.13.1-M3
fe83b12
Compare
Choose a tag to compare
Pre-release

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

01 Mar 09:49
v0.13.1-M2
ac7ed14
Compare
Choose a tag to compare
Pre-release

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

26 Feb 12:08
v0.13.1-M1
9d26a01
Compare
Choose a tag to compare
Pre-release

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

10 Feb 21:10
Compare
Choose a tag to compare

This release updates the Circe version to 0.13.0.