Highlights
- Introduced first-class Fory JSON support for Scala 2.13 and Scala 3.
- Introduced first-class Fory JSON support for Kotlin on Android/JVM/GraalVM.
- Enhanced Fory JSON on GraalVM Native Image with build-time code generation enabled by default and fine-grained generated codec caching.
- Added incremental JSON stream decoding for top-level arrays and newline-delimited JSON (NDJSON), enabling values to be processed progressively from chunked UTF-8 input.
Features
- feat(scala): add json support for scala by @chaokunyang in #3934
- feat(scala): add scala2 json enumeration annotation by @chaokunyang in #3935
- perf(scala): streamline exact List JSON writes by @chaokunyang in #3936
- feat(json): add Kotlin JSON support by @chaokunyang in #3937
- ci: reduce Android Kotlin setup time by @chaokunyang in #3951
- feat: harden deserialization paths by @chaokunyang in #3955
- feat(java): add incremental JSON stream decoding by @chaokunyang in #3956
- ci: isolate Scala snapshot dependencies by @chaokunyang in #3957
- refactor(java): remove unbounded metadata decompression by @chaokunyang in #3958
- feat(json): expose stream value limit errors by @chaokunyang in #3959
- perf(java): optimize GraalVM JSON interpreted access by @chaokunyang in #3960
- perf(json): add ordered field read fast path by @chaokunyang in #3962
- feat(java): refactor java generated codec cache granularity by @chaokunyang in #3963
- feat(java): parse quoted JSON scalar values by @chaokunyang in #3967
- feat(java): add sealed interface json subtypes support by @chaokunyang in #3968
Bug Fix
- fix(scala): target Java 8 bytecode for fory-scala by @KarasevRob in #3941
- fix(scala): support Enumeration JSON on Scala 3 by @chaokunyang in #3952
- ci: stabilize JVM snapshot publishing by @chaokunyang in #3953
- fix: fix source release artifact by @chaokunyang in #3969
Other Improvements
- chore: Bump org.apache.logging.log4j:log4j-api from 2.25.4 to 2.25.5 in /java/fory-test-core by @dependabot[bot] in #3933
- chore: update release version to 1.6.1 by @chaokunyang in #3938
- ci: update sbt setup action by @chaokunyang in #3939
- chore: upgrade scala dependencies by @pjfanning in #3943
- docs: update jackson annotations license by @chaokunyang in #3944
New Contributors
- @KarasevRob made their first contribution in #3941
Full Changelog: v1.6.1...v1.7.0-rc1