Releases: zio/zio-json
v0.6.2
What's Changed
- Fixes #1003: correct indent of seq of objects by @fanf in #1004
- Update jsoniter-scala-core, ... to 2.23.3 by @scala-steward in #1006
- Update sbt to 1.9.4 by @scala-steward in #1008
- Update zio, zio-streams, zio-test, ... to 2.0.16 by @scala-steward in #1007
- Update snakeyaml-engine to 2.7 by @scala-steward in #1009
- Update snakeyaml to 2.2 by @scala-steward in #1012
- Scala native support by @pablf in #1010
New Contributors
Full Changelog: v0.6.1...v0.6.2
v0.6.1
What's Changed
- Give some love to the project by @guizmaii in #1001
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.2 by @scala-steward in #977
- Optimize
Json::get
by @guizmaii in #1002 - encoder/decoder/codec for java.util.Currency by @devsprint in #971
New Contributors
- @guizmaii made their first contribution in #1001
- @devsprint made their first contribution in #971
Full Changelog: v0.6.0...v0.6.1
v0.6.0
This release fixes a security issue in the YAML module.
Since we’ve had to update snakeyaml to 2.0, we’ve had to break binary compatibility.
What's Changed
- Update snakeyaml dependency to 2.0 (#974) @VinceMacBuche
- Rename root project (#933) @987Nabil
- Update README.md (#909) @github-actions
Dependency Updates
- Update jawn-ast to 1.5.1 (#980) @scala-steward
- Update Node.js to v18.16.1 (#968) @renovate
- Update jsoniter-scala-core, ... to 2.23.2 (#964) @scala-steward
- Update sbt-header to 5.10.0 (#958) @scala-steward
- Update silencer-lib, silencer-lib_2.13.6, ... to 1.7.13 (#961) @scala-steward
- Update http4s-dsl to 0.23.20 (#962) @scala-steward
- Update sbt to 1.9.0 (#954) @scala-steward
- Update sbt-scala-native to 0.4.14 (#957) @scala-steward
- Update jawn-ast to 1.5.0 (#952) @scala-steward
- Update http4s-dsl to 0.23.19 (#946) @scala-steward
- Update sbt-explicit-dependencies to 0.3.1 (#944) @scala-steward
- Update sbt to 1.8.3 (#947) @scala-steward
- Update jsoniter-scala-core, ... to 2.23.1 (#945) @scala-steward
- Update jsoniter-scala-core, ... to 2.23.0 (#937) @scala-steward
- Update cats-effect to 3.4.9 (#936) @scala-steward
- Update sbt-scala-native-crossproject, ... to 1.3.1 (#935) @scala-steward
- Update sbt-scala-native-crossproject, ... to 1.3.0 (#925) @scala-steward
- Update Node.js to v18.16.0 (#930) @renovate
- Update zio, zio-streams, zio-test, ... to 2.0.12 (#927) @scala-steward
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.1 (#928) @scala-steward
- Update jsoniter-scala-core, ... to 2.22.2 (#926) @scala-steward
- Update zio-interop-cats to 23.0.03 (#919) @scala-steward
- Update jsoniter-scala-core, ... to 2.22.1 (#915) @scala-steward
- Update jsoniter-scala-core, ... to 2.22.0 (#912) @scala-steward
- Update sbt-scala-native to 0.4.12 (#911) @scala-steward
- Update jsoniter-scala-core, ... to 2.21.4 (#908) @scala-steward
v0.5.0
What's Changed
- Aliases (#866) @erikvanoosten
- Spelling (#741) @jsoref
- Remove Usages Of ZIO.succeedNow (#880) @adamgfraser
- Update README.md (#877) @github-actions
- Add Scaladoc Support (#862) @khajavi
- Update ast.scala (#842) @tusharmath
- Merge series/1.x into series/2.x (#830) @vigoo
- Update Site Workflow (#828) @khajavi
- Move Introduction to The ZIO JSON Project (#827) @khajavi
Dependency Updates
- Update dependencies (2023-03-18) (#906) @fsvehla
- Update jsoniter-scala-core, ... to 2.21.3 (#901) @scala-steward
- Update cats-effect to 3.4.8 (#892) @scala-steward
- Update actions/setup-java action to v3.10.0 (#876) @renovate
- Update magnolia to 1.3.0 (#897) @scala-steward
- Update hmarr/auto-approve-action action to v3.2.0 (#899) @renovate
- Update Node.js to v18.15.0 (#896) @renovate
- Update refined to 0.10.2 (#894) @scala-steward
- Update magnolia to 1.2.7 (#889) @scala-steward
- Update zio-interop-cats to 23.0.0.2 (#890) @scala-steward
- Update jsoniter-scala-core, ... to 2.21.2 (#888) @scala-steward
- Update Node.js to v18.14.2 (#887) @renovate
- Update Node.js to v18.14.1 (#884) @renovate
- Update zio, zio-streams, zio-test, ... to 2.0.8 (#881) @scala-steward
- Update sbt-scoverage to 2.0.7 (#883) @scala-steward
- Update play-json to 2.9.4 (#868) @scala-steward
- Update zio, zio-streams, zio-test, ... to 2.0.7 (#879) @scala-steward
- Update magnolia to 1.2.6 (#833) @scala-steward
- Update jsoniter-scala-core, ... to 2.20.7 (#878) @scala-steward
- Update http4s-dsl to 0.23.18 (#860) @scala-steward
- Update cats-effect to 3.4.6 (#875) @scala-steward
- Update sbt-scala-native to 0.4.10 (#873) @scala-steward
- Update Node.js to v18.14.0 (#874) @renovate
- Update snakeyaml-engine to 2.6 (#854) @scala-steward
- Update scala-collection-compat to 2.9.0 (#820) @scala-steward
- Update zio, zio-streams, zio-test, ... to 2.0.6 (#859) @scala-steward
- Update scala-java-time, ... to 2.5.0 (#819) @scala-steward
- Update sbt to 1.8.2 (#847) @scala-steward
- Update scala3-library, ... to 3.2.2 (#872) @scala-steward
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.0 (#871) @scala-steward
- Update magnolia to 1.1.3 (#856) @scala-steward
- Update zio-interop-cats to 23.0.0.1 (#857) @scala-steward
- Update jsoniter-scala-core, ... to 2.20.3 (#853) @scala-steward
- Update jsoniter-scala-core, ... to 2.20.2 (#850) @scala-steward
- Update Node.js to v18.13.0 (#848) @renovate
- Update actions/checkout action to v3.3.0 (#844) @renovate
- Update jsoniter-scala-core, ... to 2.20.1 (#839) @scala-steward
- Update jsoniter-scala-core, ... to 2.20.0 (#835) @scala-steward
- Update actions/setup-java action to v3.9.0 (#825) @renovate
- Update actions/checkout action to v3.2.0 (#824) @renovate
- Update zio-interop-cats to 23.0.0.0 (#823) @scala-steward
- Update jsoniter-scala-core, ... to 2.19.1 (#822) @scala-steward
- Update jsoniter-scala-core, ... to 2.18.1 (#816) @scala-steward
- Update actions/setup-java action to v3.8.0 (#815) @renovate
v0.4.2
What's Changed
- fix snake case (#814) @senia-psm
v0.4.1
What's Changed
- fix to ast name transform (#813) @senia-psm
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