Releases: zio/zio-json
v0.4.0
What's Changed
- Update sbt-scoverage to 2.0.3 by @scala-steward in #739
- Update snakeyaml to 1.32 by @scala-steward in #731
- Update silencer-lib, silencer-lib_2.13.6, ... to 1.7.10 by @scala-steward in #732
- Update sbt-mima-plugin to 1.1.1 by @scala-steward in #734
- Update sbt-scalajs, scalajs-compiler, ... to 1.11.0 by @scala-steward in #737
- Update Node.js to v16.17.1 by @renovate in #742
- Update actions/setup-java action to v3.5.1 by @renovate in #744
- fix(build): remove bloop from build (auto loaded with VSCode) by @ThijsBroersen in #745
- Update actions/checkout action to v3.1.0 by @renovate in #748
- Update Node.js to v16.18.0 by @renovate in #751
- fix(num): preserve num-types in ast by @ThijsBroersen in #747
- Update hmarr/auto-approve-action action to v3 by @renovate in #753
- Update jsoniter-scala-core, ... to 2.17.5 by @scala-steward in #755
- Update actions/setup-java action to v3.6.0 by @renovate in #763
- Update hmarr/auto-approve-action action to v3.1.0 by @renovate in #767
- Update Node.js to v18 by @renovate in #768
- Update Node.js to v18.12.0 by @renovate in #770
- Support for Scala 3 derives with ZIO 2.x (Forward-port of #599) by @guersam in #762
- Update Node.js to v18.12.1 by @renovate in #777
- Fixes Golden tests and adds them to CI by @sergeda in #775
- Allow Scala 3 for Refined by @longliveenduro in #772
- Add Default Parameter for Indent in JsonEncoder#encodeJson by @adamgfraser in #776
- Publish Docs to The NPM Registry by @khajavi in #778
- fix(macros): fix fromJsonAST derivation for Scala 3 by @ex0ns in #781
- Update jsoniter-scala-core, ... to 2.17.9 by @scala-steward in #783
- Update circe-generic-extras to 0.14.3 by @scala-steward in #787
- Update sbt to 1.7.3 by @scala-steward in #790
- Update sbt to 1.8.0 by @scala-steward in #796
- Update sbt-scalafmt to 2.5.0 by @scala-steward in #797
- Update sbt-header to 5.9.0 by @scala-steward in #799
- Update sbt-ci-release to 1.5.11 by @scala-steward in #784
- Update jmh-core, jmh-generator-asm, ... to 1.36 by @scala-steward in #795
- Update sbt-mdoc to 2.3.6 by @scala-steward in #791
- Update sbt-scoverage to 2.0.6 by @scala-steward in #793
- Update sbt-scala-native to 0.4.9 by @scala-steward in #807
- Update sbt-scalajs, scalajs-compiler, ... to 1.12.0 by @scala-steward in #806
- Update zio-sbt-website to 0.0.0+86-4319f79f-SNAPSHOT by @scala-steward in #805
- Update jsoniter-scala-core, ... to 2.18.0 by @scala-steward in #804
- Update actions/setup-java action to v3.7.0 by @renovate in #809
- Adds support for field name transformations during serialization and deserialization by @lbialy in #803
- update magnolia by @senia-psm in #810
- Preserve path in ast parse by @senia-psm in #812
- Macro configuration by @senia-psm in #811
New Contributors
- @ThijsBroersen made their first contribution in #745
- @guersam made their first contribution in #762
- @longliveenduro made their first contribution in #772
- @khajavi made their first contribution in #778
- @ex0ns made their first contribution in #781
- @senia-psm made their first contribution in #810
Full Changelog: v0.3.0...v0.4.0
0.3.0
Release notes
-
Support ZIO 2
-
Support Scala 3 default paremters
-Yretain-trees
needs to be added toscalacOptions
to support default parameters under Scala 3. This is a current limitation of Scala 3.
This version should be binary compatible with 0.3.0-RC10, which was used in the non-prelease version 9.1 of jwt-scala.
What's Changed since RC-11
- Golden: Remove zio-nio and scala-reflect dependencies (#728) @fsvehla
- Adds golden testing to published projects (#727) @sergeda
- Fix #705 : Defer unsafeDecodeMissing in JsonDecoder (#711) @Kalin-Rudnicki
- Fix #686 by adding support of time zone offsets when parsing
java.time.Instant
values (#687) @plokhotnyuk - Fix tests for
java.time._
parsers (#695) @plokhotnyuk - Sync dependency versions from series/1.x → series/2.x (#667) @fsvehla
- Generate case classes from JSON strings (#666) @kitlangton
- ZIO 2: default parameters support for Scala 3 (#646) @fsvehla
Dependency Updates
- Update jsoniter-scala-core, ... to 2.17.3 (#729) @scala-steward
- Update http4s-dsl to 0.23.15 (#714) @scala-steward
- Update sbt-scala-native to 0.4.7 (#720) @scala-steward
- Update zio, zio-streams, zio-test, ... to 2.0.2 (#719) @scala-steward
- Update jsoniter-scala-core, ... to 2.17.2 (#726) @scala-steward
- Update actions/setup-java action to v3.5.0 (#725) @renovate
- Update play-json to 2.9.3 (#718) @scala-steward
- Update jsoniter-scala-core, ... to 2.17.1 (#723) @scala-steward
- Update jsoniter-scala-core, ... to 2.17.0 (#717) @scala-steward
- Update snakeyaml to 1.31 (#716) @scala-steward
- Update jsoniter-scala-core, ... to 2.16.0 (#715) @scala-steward
- Update hmarr/auto-approve-action action to v2.4.0 (#712) @renovate
- Update Node.js to v16.17.0 (#708) @renovate
- Update magnolia to 1.1.5 (#704) @scala-steward
- Update jsoniter-scala-core, ... to 2.15.0 (#706) @scala-steward
- Update jsoniter-scala-core, ... to 2.14.2 (#703) @scala-steward
- Update sbt-scoverage to 2.0.2 (#702) @scala-steward
- Update refined to 0.10.1 (#673) @scala-steward
- Update mdoc, sbt-mdoc to 2.3.3 (#692) @scala-steward
- Update scala-collection-compat to 2.8.1 (#698) @scala-steward
- Update jsoniter-scala-core, ... to 2.14.1 (#701) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.39 (#699) @scala-steward
- Update http4s-dsl to 0.23.14 (#691) @scala-steward
- Update sbt-scoverage to 2.0.1 (#693) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.38 (#690) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.37 (#688) @scala-steward
- Update sbt-header to 5.7.0 (#684) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.36 (#683) @scala-steward
- Update jmh-core, jmh-generator-asm, ... to 1.35 (#676) @scala-steward
- Update silencer-lib, silencer-lib_2.13.6, ... to 1.7.9 (#668) @scala-steward
- Update sbt-scala-native to 0.4.5 (#679) @scala-steward
- Update scala-collection-compat to 2.8.0 (#678) @scala-steward
- Update http4s-dsl to 0.23.13 (#675) @scala-steward
- Update sbt-header to 5.6.5 (#671) @scala-steward
- Update cats-effect to 3.3.14 (#681) @scala-steward
- Update circe-core, circe-generic, ... to 0.14.2 (#674) @scala-steward
- Update jsoniter-scala-core, ... to 2.12.4 (#669) @scala-steward
- Update jawn-ast to 1.4.0 (#682) @scala-steward
What's Changed
- Update hmarr/auto-approve-action action to v2.4.0 by @renovate in #712
- Update jsoniter-scala-core, ... to 2.16.0 by @scala-steward in #715
- Update snakeyaml to 1.31 by @scala-steward in #716
- Fix #705 : Defer unsafeDecodeMissing in JsonDecoder by @Kalin-Rudnicki in #711
- Update jsoniter-scala-core, ... to 2.17.0 by @scala-steward in #717
- Update jsoniter-scala-core, ... to 2.17.1 by @scala-steward in #723
- Update play-json to 2.9.3 by @scala-steward in #718
- Update actions/setup-java action to v3.5.0 by @renovate in #725
- Update jsoniter-scala-core, ... to 2.17.2 by @scala-steward in #726
- Adds golden testing to published projects by @sergeda in #727
- Update zio, zio-streams, zio-test, ... to 2.0.2 by @scala-steward in #719
- Update sbt-scala-native to 0.4.7 by @scala-steward in #720
- Golden: Remove zio-nio and scala-reflect dependencies by @fsvehla in #728
- Update http4s-dsl to 0.23.15 by @scala-steward in #714
- Update jsoniter-scala-core, ... to 2.17.3 by @scala-steward in #729
New Contributors
- @Kalin-Rudnicki made their first contribution in #711
- @sergeda made their first contribution in #727
Full Changelog: v0.3.0-RC11...v0.3.0
v0.3.0-RC11
Magnolia was updated to 1.1.5, which should resolve some derivation issues of sealed traits when Magnolia 1.1.1 was evicted.
Some derivation issues remain (see open issues) before v0.3.0 final will be released.
As a reminder: -Yretain-trees
needs to be added to scalacOptions
to support default parameters under Scala 3.
This is a limitation of Scala itself.
What's Changed
- Generate case classes from JSON strings by @kitlangton in #666
- Sync dependency versions from series/1.x → series/2.x by @fsvehla in #667
- Update jawn-ast to 1.4.0 by @scala-steward in #682
- Update jsoniter-scala-core, ... to 2.12.4 by @scala-steward in #669
- Update circe-core, circe-generic, ... to 0.14.2 by @scala-steward in #674
- Update cats-effect to 3.3.14 by @scala-steward in #681
- Update sbt-header to 5.6.5 by @scala-steward in #671
- Update http4s-dsl to 0.23.13 by @scala-steward in #675
- Update scala-collection-compat to 2.8.0 by @scala-steward in #678
- Update sbt-scala-native to 0.4.5 by @scala-steward in #679
- Update silencer-lib, silencer-lib_2.13.6, ... to 1.7.9 by @scala-steward in #668
- Update jmh-core, jmh-generator-asm, ... to 1.35 by @scala-steward in #676
- Update jsoniter-scala-core, ... to 2.13.36 by @scala-steward in #683
- Update sbt-header to 5.7.0 by @scala-steward in #684
- Update jsoniter-scala-core, ... to 2.13.37 by @scala-steward in #688
- Update jsoniter-scala-core, ... to 2.13.38 by @scala-steward in #690
- Fix tests for
java.time._
parsers by @plokhotnyuk in #695 - Fix #686 by adding support of time zone offsets when parsing
java.time.Instant
values by @plokhotnyuk in #687 - Update sbt-scoverage to 2.0.1 by @scala-steward in #693
- Update http4s-dsl to 0.23.14 by @scala-steward in #691
- Update jsoniter-scala-core, ... to 2.13.39 by @scala-steward in #699
- Update jsoniter-scala-core, ... to 2.14.1 by @scala-steward in #701
- Update scala-collection-compat to 2.8.1 by @scala-steward in #698
- Update mdoc, sbt-mdoc to 2.3.3 by @scala-steward in #692
- Update refined to 0.10.1 by @scala-steward in #673
- Update sbt-scoverage to 2.0.2 by @scala-steward in #702
- Update jsoniter-scala-core, ... to 2.14.2 by @scala-steward in #703
- Update jsoniter-scala-core, ... to 2.15.0 by @scala-steward in #706
- Update magnolia to 1.1.5 by @scala-steward in #704
- Update Node.js to v16.17.0 by @renovate in #708
Full Changelog: v0.3.0-RC10...v0.3.0-RC11
0.3.0-RC10: Support default parameters in Scala 3
Default parameter support
Derived Encoder
/ Decoder
now support case class default parameter when using Scala 3.
-Yretain-trees
needs to be added to scalacOptions
— there is currently now other known way to support them.
What's Changed
Full Changelog: v0.3.0-RC9...v0.3.0-RC10
0.3.0-RC9
Support for ZIO 2 final.
zio-golden has been temporaily disabled to get this release out (issues with it are most likely unrelated to ZIO 2 final)
This is expected to be the final release candidate before 0.3.0.
What's Changed
New Contributors
Full Changelog: v0.3.0-RC8...0.3.0-RC9
0.3.0-RC8
This release contains support for ZIO 2.0.0-RC6.
0.3.0-RC7
This release contains support for ZIO 2.0.0-RC5.
0.2.0 (for ZIO 1.x)
This release is targetting ZIO 1. 0.3.x will target ZIO 2.
This release is identical to 0.2.0-M4 and should be binary compatible.
0.2.0-M4
What's Changed
- Update Node.js to v16.13.1 by @renovate in #501
- Update sbt to 1.5.6 by @scala-steward in #507
- Update sbt-scalajs, scalajs-compiler, ... to 1.8.0 by @scala-steward in #508
- Update sbt to 1.5.7 by @scala-steward in #510
- Update snakeyaml to 1.30 by @scala-steward in #511
- Update sbt-scalafmt to 2.4.5 by @scala-steward in #503
- Update sbt-scala-native to 0.4.2 by @scala-steward in #504
- Update refined to 0.9.28 by @scala-steward in #499
- ZIO 1: Update Scala 3 version by @fsvehla in #521
- ZIO 1 / Scala 3: Update Magnolia to 1.0 by @fsvehla in #520
- Update jmh-core, jmh-generator-asm, ... to 1.34 by @scala-steward in #517
- Add xmapOrFail to JsonCodec by @AleGlowa in #525
- Update SBT to 1.6.1 by @fsvehla in #529
- Update jawn-ast to 1.3.2 by @scala-steward in #533
- Update Node.js to v16.13.2 by @renovate in #535
- Update sbt-bloop to 1.4.12 by @scala-steward in #538
- Update sbt-scoverage to 1.9.3 by @scala-steward in #536
- Update jsoniter-scala-core, ... to 2.12.1 by @scala-steward in #540
- Update scalaz-core to 7.3.6 by @scala-steward in #542
- Update jsoniter-scala-core, ... to 2.12.2 by @scala-steward in #550
- Update sbt-bloop to 1032048a by @scala-steward in #549
- yourkit acknowledgement by @fommil in #552
- Update jsoniter-scala-core, ... to 2.12.3 by @scala-steward in #554
- Update mdoc, sbt-mdoc to 2.3.0 by @scala-steward in #556
- Updated magnolia dependency for scala 3 to support scala.js by @Pask423 in #555
- Update scala3-library, ... to 3.1.1 by @scala-steward in #563
- Fix AST equality with differing keys, add a test by @PelamWolt in #564
- Update Node.js to v16.14.0 by @renovate in #570
- Update sbt-scalajs, scalajs-compiler, ... to 1.9.0 by @scala-steward in #575
- #53 - Add methods to json ast by @jkobejs in #513
- Update sbt to 1.6.2 by @scala-steward in #562
- Update sbt-buildinfo to 0.11.0 by @scala-steward in #577
- Update http4s-dsl to 0.21.32 by @scala-steward in #572
- Update sbt-ci-release to 1.5.10 by @scala-steward in #546
- Update sbt-scala-native to 0.4.3 by @scala-steward in #545
- Sync versions from ZIO 2 → ZIO 1 branch by @fsvehla in #580
- Update actions/checkout action by @renovate in #583
- Update Node.js to v16.14.1 by @renovate in #589
- add useful json manipulation methods by @codingismy11to7 in #585
- Update Node.js to v16.14.2 by @renovate in #590
- Update sbt-api-mappings to 3.0.2 by @scala-steward in #593
- Update scala-collection-compat to 2.7.0 by @scala-steward in #597
- Update magnolia to 1.1.1 by @scala-steward in #595
- Monkey-patch support for Scala 3 derives by @regiskuckaertz in #599
- Update http4s-dsl to 0.21.33 by @scala-steward in #591
- Update hmarr/auto-approve-action action to v2.2.0 by @renovate in #608
- Update hmarr/auto-approve-action action to v2.2.1 by @renovate in #610
New Contributors
- @AleGlowa made their first contribution in #525
- @Pask423 made their first contribution in #555
- @PelamWolt made their first contribution in #564
- @jkobejs made their first contribution in #513
- @codingismy11to7 made their first contribution in #585
Full Changelog: v0.2.0-M3...v0.2.0-M4