Now with ignoreCase Parsers!
This is the second release of cats-parse. There were no bug fixes (nor any known bugs), but there are two new features and a number of new tests and laws added. The test coverage is now about 96%
New features:
- ignoreCase parsers: These are useful for parsing strings or characters while ignoring the case. For instance, parsing SQL can make use of these. See #50, #47, #46. Thanks for this work by @stephenjudkins !
- custom failure messages: In addition to
Parser.fail
there is nowParser.failWith(str: String)
which allows you to set an error message which can be helpful for reporting clearer errors and debugging parsers. See #47, work by @johnynek
What's changed
- Add a few new laws and optimizations (#58) @johnynek
- Improve performance around ignoreCase (#57) @johnynek
- Setup codecov (#56) @regadas
- Add githubWorkflowCheck to prePR (#55) @regadas
- Add common Functor#as directly (#52) @regadas
- Update sbt-mdoc to 2.2.12 (#54) @scala-steward
- Update munit, munit-scalacheck to 0.7.17 (#53) @scala-steward
- Thank you for contributing to
cats-parse
! (#51) @regadas - Add some ignoreCase methods, rename stringCI to ignoreCase (#50) @johnynek
- minor refactor in
stringCI1
(#47) @stephenjudkins - Fix unclear SBT example in documentation (#44) @stephenjudkins
- Case-insensitive string parsers (#46) @stephenjudkins
- Add ability to repeat into different structures (#45) @johnynek
- Add failWith for user defined error messages (#42) @johnynek
- Update sbt-mdoc to 2.2.11 (#41) @scala-steward
- Add initial mdoc support (#30) @regadas
- Add a law relating backtrack and orElse (#40) @johnynek
- First pass at improving the Scaladoc comments. (#37) @non
- Test some distributivity laws (#38) @johnynek
- Update munit, munit-scalacheck to 0.7.16 (#36) @scala-steward
- remove unused sbt plugins (#35) @johnynek
- Update sbt-spiewak-sonatype to 0.17.0 (#31) @scala-steward
- Update sbt to 1.4.2 (#33) @scala-steward
- Update munit, munit-scalacheck to 0.7.15 (#34) @scala-steward
- Update scala 2.12.11 -> 2.12.12 (#28) @regadas
- Upgrading sbt-github-actions to 0.9.4 to remove deprecations (#27) @zmccoy
- Update scalafmt tasks (#26) @regadas
- Expand the readme (#23) @johnynek
Contributors to this release
@johnynek, @non, @regadas, @scala-steward, @stephenjudkins and @zmccoy