Skip to content

0.3.0-M1

Pre-release
Pre-release
Compare
Choose a tag to compare
@lorandszakacs lorandszakacs released this 04 Aug 10:29
e192f34

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