Releases: pureharm/pureharm-json-circe
Releases · pureharm/pureharm-json-circe
0.3.0-M1
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 fromcirce-generic
modulebusymachines.pureharm.json.GenericExtrasSemiAutoDerivation
, which is from start deprecated, and is equivalent toSemiAutoDerivation
. 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
- circe-generic
0.14.1
- circe-generic-extras
0.14.1
— only for Scala 2. For Scala 3 this doesn't exist!
internals
- pureharm-testkit
0.4.0
- bump scalafmt to
3.0.0-RC6
— from2.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
⚠️ Breaking changes
- offer implicit circe decoders only for
RefinedTypeThrow[O, N]
instead ofRefinedType[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 aShow[Throwable]
instance in scope.
Deprecations
- all
unsafe
syntax extensions are now deprecated. Will be removed in0.3.0
. Just throw exceptions in the few places in client code where necessary.
New Scala versions:
- 2.13 for JS platform
Dependency upgrades:
- pureharm-core-anomaly
0.2.0
- pureharm-core-sprout
0.2.0
Internals:
- pureharm-testkit
0.2.0
0.1.1
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
Split out from pureharm as of version 0.0.7
.
- upgrade to pureharm 0.1.0, which drops PhantomType support entirely.
Dependencies:
- circe
0.13.0
- pureharm-core-anomaly
0.1.0
- pureharm-core-sprout
0.1.0
- pureharm-effects-cats
0.1.0