Skip to content

Releases: pureharm/pureharm-json-circe

0.3.0-M1

04 Aug 10:29
e192f34
Compare
Choose a tag to compare
0.3.0-M1 Pre-release
Pre-release

This is the first version available for Scala 3!

⚠️ breaking changes ⚠️

  • replaced busymachines.pureharm.json.SemiAutoDerivation w/
    • busymachines.pureharm.json.GenericSemiAutoDerivation which uses circe derivation strategies from circe-generic module
    • busymachines.pureharm.json.GenericExtrasSemiAutoDerivation, which is from start deprecated, and is equivalent to SemiAutoDerivation. Unfortunately, circe-generic-extras behavior that derived encoder/decoders for sealed traits with the _type discriminator is not available on Scala 3 at all! If you are on Scala 2 you can still use this method of deriving, but the deprecations will push you to migrate to the behavior consistent w/ GenericSemiAutoDerivation.
      • ⚠️ Remember that this changes the shape of the JSON for sealed traits, and if you are in a position where you have to provide support for this shape, you have to do it by hand. Helpers for this will be added in future versions.
      • ⚠️ this trait is a no-op ??? unimplemented stub on Scala 3!

dependency upgrades

internals

  • pureharm-testkit 0.4.0
  • bump scalafmt to 3.0.0-RC6 — from 2.7.5
  • bump sbt to 1.5.5
  • bump sbt-spiewak to 0.21.0
  • bump sbt-scalafmt to 2.4.3
  • bump sbt-scalajs-crossproject to 1.1.0
  • bump sbt-scalajs to 1.6.0

0.2.0

02 Apr 12:23
1638045
Compare
Choose a tag to compare

⚠️ Breaking changes

  • offer implicit circe decoders only for RefinedTypeThrow[O, N] instead of RefinedType[O, N, E]. This is part of a larger decision that pureharm simply uses Throwable subtypes for errors. The support for the generic version also tripped up end users that didn't have a Show[Throwable] instance in scope.

Deprecations

  • all unsafe syntax extensions are now deprecated. Will be removed in 0.3.0. Just throw exceptions in the few places in client code where necessary.

New Scala versions:

  • 2.13 for JS platform

Dependency upgrades:

Internals:

0.1.1

29 Mar 07:09
5a2ceb8
Compare
Choose a tag to compare

This is only a maintenance release.

  • drop compile dependency on pureharm-effects-cats.
    If you pulled the dependency yourself via this module, then just add it manually

0.1.0

19 Mar 13:08
6394ed0
Compare
Choose a tag to compare

Split out from pureharm as of version 0.0.7.

  • upgrade to pureharm 0.1.0, which drops PhantomType support entirely.

Dependencies: