Releases: zio/zio-schema
Releases · zio/zio-schema
v1.6.1
Changes
- Fix #794 by updating zio-json to v0.7.6 @plokhotnyuk (#795)
- Add missing base branch for the Create PR job @plokhotnyuk (#793)
v1.6.0
Changes
- Reduce code duplication by using
Lexer.error
@plokhotnyuk (#792) - Fix backward binary incompatibility with v1.4.1 version of zio-schema-json @plokhotnyuk (#791)
- Update zio-json to 0.7.5 @plokhotnyuk (#790)
- Update sbt plugins and dependecies @plokhotnyuk (#789)
- Avoid using of internal API of
StringMatrix
@plokhotnyuk (#788) - Support of Scala 3 union types as
Schema.Enum
@plokhotnyuk (#787) - Add MiMa checks @plokhotnyuk (#786)
- More efficient scan for the discriminator field in enums with more than 64 cases @plokhotnyuk (#784)
- Use unroll plugin to fix bin compat issue @987Nabil (#751)
- Add missing support of
explicitNulls
option for JSON encoders ofSchema.GenericRecord
values @plokhotnyuk (#779) - Remove redundant and useless method @plokhotnyuk (#780)
- More efficient (and less allocating on initialization) JSON codec for
Schema.Option
@plokhotnyuk (#781) - More efficient initialization of JSON decoders for case classes @plokhotnyuk (#783)
- Fix pretty printing for JSON encoder of
Schema.Fallback
@plokhotnyuk (#782) - More efficient JSON codecs for sets and maps @plokhotnyuk (#778)
- attempt to fix site build problem by updating peter-evans @googley42 (#776)
- Fix remaining inconsistency in JSON codecs for
Schema.CaseClass*
andSchema.GenericRecord
types @plokhotnyuk (#777) - Fix allowing of old class names renamed by caseName annotations in JSON decoders for enums @plokhotnyuk (#775)
- Fix support of fieldName annotations in JSON codecs for case classes with 1 to 22 fields @plokhotnyuk (#774)
- Fix support of fieldName annotations @plokhotnyuk (#773)
- Add missing support of discriminator fields for generic records @plokhotnyuk (#772)
- More efficient handling of different discriminator types @plokhotnyuk (#771)
- More useful collection default values @987Nabil (#770)
- Fix missing field name in an error for duplicated fields @plokhotnyuk (#768)
- More efficient JSON codecs for enums @plokhotnyuk (#767)
- Fix #758 by proper decoding of backticked names of fields and classes @plokhotnyuk (#769)
- restore unbuntu-latest for site.yml @googley42 (#761)
- Fix duplicated field rejection for JSON codecs of records @plokhotnyuk (#765)
- Fix transient field inconsitency in JSON codecs for records @plokhotnyuk (#764)
- More efficient JSON decoders and encoders for records @plokhotnyuk (#762)
- Fix the stack overflow on creation of JSON codecs for recursive data structures @plokhotnyuk (#760)
- scala2 DeriveSchema intermediate enum fix @googley42 (#749)
- Memorize JSON decoders and encoders @plokhotnyuk (#759)
- Avro UNION schema-decode to Option @oridag (#756)
- Fix typo @kluen (#745)
v1.5.0
DO NOT USE THIS RELEASE due to backward binary incompatibility
What's Changed
- Add fromChunk/toChunk to Schema.Collection (#719) by @987Nabil in #731
- Update README.md by @github-actions in #729
- Update zio and reactivate native multi threading (#720) by @987Nabil in #732
- Schema.Primitive respects default annotation for defaultValue (#715) by @987Nabil in #733
- Type safe method to add validation to a Schema (#716) by @987Nabil in #734
- Fixes #737 by @gregor-rayman in #738
- JsonCodec can now encode/decode streams as JSON arrays. by @gregor-rayman in #739
- Fix off-by-one bug in
msgpack
decoding by @tomwadeson in #742 - Add JsonCodec.Config.explicitNulls option by @a-morales in #740
- generate empty collections for missing fields by @juliano in #741
New Contributors
- @gregor-rayman made their first contribution in #738
- @tomwadeson made their first contribution in #742
Full Changelog: v1.4.1...v1.5.0
v1.4.1
v1.4.0
What's Changed
- Update README.md by @github-actions in #699
- Update README.md by @github-actions in #713
- Run all possible test for all Scala 3 (#709) by @987Nabil in #721
- Update dependencies by @987Nabil in #726
- Non empty collection schemas (#717) by @987Nabil in #723
Now build with/for Scala native 0.5.x
There are new Schema
sub-types NonEmptySequence
and NonEmptyMap
. If you do pattern matching you might need to add this two new cases.
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
- Update README.md by @github-actions in #690
- Fix JSON decoding of empty objects by @guersam in #710
- Failing deriving Schemas with transient fields without defaults (#654) by @987Nabil in #708
- Not adding
simpleEnum
annotation when it's implemented as a case class by @pablf in #707 - Save info about generically applied types in new annotation (#695) by @987Nabil in #703
- JsonCodec respects annotations for GenericRecord (#700) by @987Nabil in #704
- Generate in Scala 3 macro typeId without type parameters (#694) by @987Nabil in #702
New Contributors
Full Changelog: v1.2.2...v1.3.0
v1.2.2
What's Changed
- Fix json decoding empty object streams by @paulpdaniels in #689
- update the codec for big decimal (#663) by @abhishek818 in #687
- Fixes #691 - when decoding json payload using decoder derived from a … by @stanislav-chetvertkov in #693
- Fix generic record construction for fields with fieldName annotation by @987Nabil in #698
New Contributors
- @abhishek818 made their first contribution in #687
- @stanislav-chetvertkov made their first contribution in #693
Full Changelog: v1.2.1...v1.2.2
v1.2.1
v1.2.0
What's Changed
- feat: adding currency support by @Andrapyre in #680
- enable all zio-bson tests on scala 3 by @senia-psm in #681
- Deprecation of Checking the Updated Readme by @khajavi in #682
- Fix decoding optional integral (Int,Long) at the end of pretty print json. by @russwyte in #676
- fix:updated build java version by @guptadeepak8 in #658
- Support ObjectId in schema-bson by @balx in #673
- Fix the json decoder for case classes that only have
None
fields. by @paulpdaniels in #677
New Contributors
- @Andrapyre made their first contribution in #680
- @russwyte made their first contribution in #676
- @guptadeepak8 made their first contribution in #658
- @balx made their first contribution in #673
Full Changelog: v1.1.1...v1.2.0
v1.1.1
What's Changed
- fix: decode ADT with 3 cases with noDiscriminator by @runtologist in #678
Full Changelog: v1.1.0...v1.1.1