Releases: zio/zio-json
v0.3.0-RC5
This bug fix release drops the unnecessary & Scope
R
type parameter.
What's Changed
- Drop unneeded
with Scope
s by @earldouglas in #601
Full Changelog: v0.3.0-RC4...v0.3.0-RC5
v0.3.0-RC4
This release contains support for ZIO 2.0.0-RC3.
What's Changed
- Sync versions from ZIO 1 → ZIO 2 branch by @fsvehla in #579
- Update ZIO from 2.0.0-RC2 to 2.0.0-RC3 by @earldouglas in #594
New Contributors
- @earldouglas made their first contribution in #594
Full Changelog: v0.3.0-RC3...v0.3.0-RC4
0.3.0-RC3
This release contains support for ZIO 2.0.0-RC2.
v0.3.0-RC2
A number of cleanups and simplifications to prepare for ZIO 2, including:
- More idiomatic naming that's being adopted across the ZIO 2 ecosystem (e.g. transform, transformOrFail, etc.)
- Cleanup of macro-based derivation
- Adding license headers to most files
- Ripping out inheritance between
JsonCodec
andJsonEncoder
/JsonDecoder
, and removing cyclic derivation - Fixing a bug in fromJsonAST
- Moving syntax to method names
- Adding missing (but expected) operators to
JsonCodec
v0.3.0-RC1-1 — ZIO 2 support
Fixes publishing of v0.3.0-RC1
. No other changes.
v0.3.0-RC1 — ZIO 2 support
What's Changed
This release supports ZIO 2.0.0-RC1.
For some time, releases targetting ZIO 1 will be using the version 0.2.x
, whereas releases targetting ZIO 2 will be using the version 0.3.x
Thanks to @adamfraser and @swoogles for the work on ZIO 2 support!
v0.2.0-M3
What's Changed
- Fixes #496: Referring to non-existent class magnolia... (#497) @laogao
- Fixes #494 conflicting cross-version suffixes (#495) @laogao
- Fixes #490 - Included the missing .sjsir artifacts (#491) @laogao
Dependency Updates
- Update jsoniter-scala-core, ... to 2.12.0 (#489) @scala-steward
- Update jawn-ast to 1.3.0 (#486) @scala-steward
v0.2.0-M2
This is a milestone build because Magnolia for Scala 3 is a milestone build.
Fixes
- Change behavior of recording readers to not capture more after rewind (#482) @vigoo
- Fix transducer handling of empty arrays (#435) @fsvehla
New features
- Add NonEmptyChunk encoder/decoder/codec (#385) @kitlangton
- Add eraseEither combinator to JsonEncoder/JsonCodec (#381) @samuelsayag
Performance
- More efficient serialization of collections,
scala.Either
, andjava.time._
types (#398) @plokhotnyuk
Other changes
- Use nested encoder for
isNothing
(#394) @kitlangton
v0.2.0-M1
Scala 3 support
- Support Scala 3, based on Magnolia. This is a milestone build because Magnolia is a milestone build
What's Changed
- Fix serialization of floats and doubles (#375) @plokhotnyuk
- Proxy isNothing in JsonCodec.apply (#367) @stephendavidmarsh
- Add a custom parser for java.time.Period (#369) @plokhotnyuk
- Add decoder for java.time.Instant (#365) @plokhotnyuk
- Add scoverage plugin and cleanup code & tests (#361) @plokhotnyuk
- More efficient serialization of floats and doubles (#359) @plokhotnyuk
- More efficient serialization (#356) @plokhotnyuk
- More efficient parsers for java.time._ (#354) @plokhotnyuk
- Enable Scala 3 build for zio-json-yaml (#355) @vigoo
- Scala 3 support (#352) @fsvehla
- More backwards-compatible Scala 3 syntax changes (#351) @fsvehla
- Update Circe, Jsoniter (#348) @fsvehla
- Scala 3: Move Scala 2 macros to 2.x source root (#347) @fsvehla
- Yet more efficient parsing of UUIDs (#344) @plokhotnyuk
- Port more performant UUID parser (#336) @calvinlfer
- Fix website API docs (#341) @sideeffffect
- Scala 3: Backwards-compatible source rewrites (#335) @fsvehla
- Topic: AST (#264) @fsvehla
- Mergify: Does not use master (#340) @sideeffffect
- Update to the latest standard (#298) @sideeffffect
- Update zio, zio-streams, zio-test, ... to 1.0.9 (#334) @scala-steward
- Update sbt to 1.5.3 (#333) @scala-steward
- Update sbt-scoverage to 1.8.2 (#329) @scala-steward
- Update zio-interop-cats to 2.4.1.0 (#259) @scala-steward
- Update scala-java-time, ... to 2.3.0 (#308) @scala-steward
- Update jmh-core, jmh-generator-asm, ... to 1.32 (#323) @scala-steward
- Pull out Scalaz + Refined interop modules (#325) @fsvehla
- Update http4s-dsl to 0.21.24 (#324) @scala-steward
- Fix #315 by adding missing encoders for collections (#320) @plokhotnyuk
- Adding JsonFieldEncoder and JsonFieldDecoder for refined (#318) @atnoya
- Fixed #220 - Pretty print arrays (#313) @frawa
- Update sbt-scalafix to 0.9.28 (#316) @scala-steward
Dependency Updates
- Update mdoc, sbt-mdoc to 2.2.22 (#380) @scala-steward
- Update refined to 0.9.27 (#378) @scala-steward
- Update http4s-dsl to 0.21.25 (#377) @scala-steward
- Update scala3-library, ... to 3.0.1 (#373) @scala-steward
- Update sbt to 1.5.5 (#374) @scala-steward
- Update scala-collection-compat to 2.5.0 (#372) @scala-steward
- Update sbt-scalafmt to 2.4.3 (#371) @scala-steward
- Update scalaz-core to 7.3.4 (#370) @scala-steward
- Update jawn-ast to 1.2.0 (#368) @scala-steward
- Update magnolia-core to 2.0.0-M9 (#364) @scala-steward
- Update Node.js to v14.17.3 (#366) @renovate
- Update sbt-scala-native-crossproject, ... to 1.1.0 (#363) @scala-steward
- Update Node.js to v14.17.2 (#362) @renovate
- Update jsoniter-scala-core, ... to 2.9.1 (#360) @scala-steward
- Update jsoniter-scala-core, ... to 2.9.0 (#358) @scala-steward
- Update scaluzzi to 0.1.20 (#332) @scala-steward
- Update zio-interop-cats to 2.5.1.0 (#328) @scala-steward
- Update refined to 0.9.26 (#321) @scala-steward
- Update Node.js to v14.17.1 (#346) @renovate
- Update sbt to 1.5.4 (#345) @scala-steward
- Update sbt-scalajs, scalajs-library, ... to 1.6.0 (#342) @scala-steward
- Update snakeyaml to 1.29 (#343) @scala-steward
- Update olafurpg/setup-scala action to v12 (#339) @renovate
- Update Node.js to v14.17.0 (#338) @renovate
v0.1.5 — zio-json-macros, @jsonExclude, Bug fixes
Upgrading
This release is binary compatible with other 0.1
releases.
However, if you have defined a JsonFieldEncoder
or JsonFieldEncoder
for the types Int
or Long
, they might clash with the ones that are now provided implicitly
Features added
@jsonDerive
macro in newzio-json-macros
project (#250, @aparo)@jsonExclude
annotation to hide fields from products (#272, @jgoday)- implicit summon method on
JsonFieldEncoder
andJsonFieldDecoder
(#248, @bluesheeptoken) - Instances for
scala.math.BigInt
(#262, @ajaychandran)
Bugs fixed
- Custom parser for
java.time.Duration
to fix bug in JDK 8 (#276, @calvinlfer) - Add explicit
scala-java-time
dependency to fix usage under Scala.js (#256, @fsvehla) - Define
JsonDecoder
forString
andLong
asval
for better performance (#263, @ajaychandran)
Documentation
- Add Akka HTTP to list of interop libraries (#247, @remiguittaut)