Releases: zio/zio-schema
Releases · zio/zio-schema
v1.1.0
What's Changed
- Make possible to create factory methods for Deriver API by @pablf in #662
- fix: Schema Terms by @sangwoo-sean in #666
- Add
orElse
to Schema for Scala 3 that returns a union type by @987Nabil in #669 - Option json decoder hands over type instead of option parsing errors by @987Nabil in #672
- Improve orElse, to auto widen for sum types and remove ClassTags by @987Nabil in #670
New Contributors
- @sangwoo-sean made their first contribution in #666
Full Changelog: v1.0.1...v1.0.2
v1.0.1
Bugfix: Read fields of non-primitive options correctly
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
- If available, Use annotation default values over schema default values by @987Nabil in #635
- Added new methods for Validation by @pablf in #624
- Fix Typo in string literal by @RutamBhagat in #631
- Scala Native and Scala.js support by @pablf in #638
- add missing quotes by @mberndt123 in #640
- Support sealed abstract class in DeriveSchema by @vigoo in #636
- Support for explicit field numbers and skipping unknown fields during deserialization by @vigoo in #637
- fix: contributor's guide broken link by @ezhil56x in #644
- Adding Fallback Schema by @pablf in #645
- Ignore transient fields of generic records (#388) by @987Nabil in #648
- Derive description from scaladoc for Scala 3 (#646) by @987Nabil in #652
- Accept empty object for optional json values (#647) by @987Nabil in #653
- Correctly derive annotations for enum cases by @pablf in #657
- Correctly encode and decode wrapper for Avro Union by @pablf in #659
- Extract common code to vals in Schema (#650) by @987Nabil in #656
New Contributors
- @RutamBhagat made their first contribution in #631
- @mberndt123 made their first contribution in #640
- @ezhil56x made their first contribution in #644
Full Changelog: v0.4.17...v1.0.0
v0.4.17
v0.4.16
Changes
- Fix compilation of Recursive GADT schema derivation @Jesse-Bakker (#561)
- Fixed decoder for enum with discriminator @pablf (#610)
- Make validation of GenericRecord more resilient @andrzejressel (#548)
- Fix support for ADT with unused type parameters @andrzejressel (#554)
- Add scaladoc to annotations @iamorozov (#550)
- Dependencies updates @devsprint (#591)
- Update README.md @github-actions (#614)
- Update dependency ch.epfl.scala:sbt-scalafix to v0.11.1 @renovate (#568)
v0.4.15
v0.4.14
Changes
- Ways to ignore empty collections while encoding json @987Nabil (#605)
- Annotations on Transform have effects on inner schema for Json Codec @987Nabil (#604)
- Read scala default values, if no fieldDefaultValue annotation is found @987Nabil (#562)
- Add
DecoderError
for unsupported schemas @987Nabil (#583) - added simpleEnum annotation @pablf (#564)
- Add Schema for
zio.json.ast.Json
@987Nabil (#599) - added API to allow encoding and decoding to/from Generic record, to a… @devsprint (#573)
- fixed enum support in avro codec @devsprint (#578)
v0.4.13
v0.4.12
Changes
- Encoder/ Decoder for Apache Avro @devsprint (#563)
- Scala 3: don't make the self ref vals private within @KacperFKorban (#555)
- zio-bson support @senia-psm (#546)
v0.4.11
Changes
- Feature: add schema for StandardType @tusharmath (#513)
- Fix i519 @KacperFKorban (#545)
- Update dependency org.portable-scala:sbt-scalajs-crossproject to v1.3.0 @renovate (#537)
- Update dependency org.scala-js:sbt-scalajs to v1.13.1 @renovate (#540)
🐛 Bug Fixes
- Fix JsonCodec when passing simple keys in Map types @tusharmath (#539)