WithContext, RC3, and 2.11
This backwards compatible release adds two new features:
- withContext to aid in debugging a parser. You can add a context and retrieve it from Errors. See #194
- cache hashCode of parsers which can make a significant performance difference in some cases. See #200
In addition, cats-parse is now published for scala 3 RC3 and scala 2.11. The scala 2.11 support relies on using cats 2.0.0 for that version, which is the last 2.11 release of cats. The 2.11 version offers no guarantees of backwards compatibility which we do maintain for 2.12 and 2.13 (however, maintaining compatiblity for 2.12 and 2.13 will generally result in 2.11 also being compatible). We encourage everyone to update to a more recent version of scala, and the 2.11 version may not be published for very long, however we hope this can help people adopt cats-parse who are currently stuck on 2.11 and see that they have a path all the way to scala 3.
What's changed
- Support 2.11.12 by using old cats (#211) @johnynek
- Update sbt-scoverage to 1.7.3 (#215) @scala-steward
- Update atto-core to 0.9.4 (#214) @scala-steward
- Update sbt-scoverage to 1.7.2 (#213) @scala-steward
- Update sbt-scoverage to 1.7.1 (#212) @scala-steward
- Fix sbt 1.5.1 deprecated scoping (#210) @regadas
- Update sbt-scoverage to 1.7.0 (#209) @scala-steward
- Update parboiled to 2.3.0 (#206) @scala-steward
- Update sbt to 1.5.1 (#207) @scala-steward
- Update jawn-ast to 1.1.2 (#208) @scala-steward
- Update to Scala 3.0.0-RC3 (#204) @vasilmkd
- Update sbt-mdoc to 2.2.20 (#202) @scala-steward
- Cache hashCode (#200) @ghostdogpr
- Update sbt to 1.5.0 (#196) @scala-steward
- Add withContext to improve error reporting (#194) @johnynek
- Update jawn-ast to 1.1.1 (#195) @scala-steward
Contributors to this release
@ghostdogpr, @johnynek, @regadas, @scala-steward and @vasilmkd