v1.8.0
This release mainly contains performance improvements for the JSON parser
- JSON
- Make the JSON parser allocate less data (mainly less strings and options). See #453 by @satabin
- Some of these improvements are made directly in the
CharLikeChunk
type and as such should benefit every text base format using them - To leverage the full improvements made in
CharLikeChunks
, parsers need to be adapted - Inheritance of
CharLikeChunks
has been deprecated and will be sealed in the future
- Some of these improvements are made directly in the
- Avoid creation of JSON
Token
when unnecessary. See #491 by @satabin- When parsing an input stream directly to circe
Json
type (or any Json AST), intermediate tokens are not constructed anymore, improving the performance - According to our measurement, fs2-data-json-circe is now on par with circe-fs2 and can be used as a drop-in replacement.
- When parsing an input stream directly to circe
- Make the JSON parser allocate less data (mainly less strings and options). See #453 by @satabin
- Infrastructure
In addition following dependency updates are included (by @scala-steward):
- Update scalafmt-core to 3.7.10
- Update scala-xml to 2.2.0
- Update sbt to 1.9.2
- Update sbt-scala-native-crossproject, ... to 1.3.2
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.2
- Update scala-collection-compat to 2.11.0
- Update scala-library, scala-reflect to 2.13.11
- Update scala-library, scala-reflect to 2.12.18
- Update sbt-jmh to 0.4.5
- Update sbt-typelevel to 0.4.22
- Update nscplugin, sbt-scala-native, ... to 0.4.14
- Update sbt-scoverage to 2.0.8
- Update scala3-library, ... to 3.3.0
- Update fs2-core, fs2-io to 3.7.0
For a complete list of issues and PRs, see the milestone
This release was brought to you by the following contributors:
git shortlog -sn --no-merges v1.7.1..v1.8.0
30 Lucas Satabin
24 Scala Steward
4 Yannick Heiber