Skip to content

Parsley 4.1.0

Compare
Choose a tag to compare
@j-mie6 j-mie6 released this 18 Jan 19:42
· 154 commits to master since this release
81175f5

This release mainly brings new error configuration for the Lexer, which allows for a more fine-grained control over parsers using this functionality. As a minor release with no deprecations, this is safe to upgrade to from any version in the 4.0 series.

What's Changed

Minor Changes

  • Introduced parsley.token.errors.ErrorConfig
  • Introduced configuration specifying objects into parsley.token.errors.
  • Added parsley.token.names.Names.userDefinedOperator(startChar: CharPredicate), which skips the need for an endChar to be defined, which instead defaults to NotRequired
  • Added parsley.token.predicate.implicits module to support a few common implicit conversions that should reduce the need to be writing Basic and Unicode all over the place when specifying the descriptions. The assumption is that a user is only going to be using one of Basic or Unicode uniformly.
  • Version bump for scala-js

Patch Changes

  • Allowed for some labelling and messages to be disabled via the above configuration.
  • Corrected some bad examples in documentation for Names.

Merged PRs

Full Changelog: 4.0.4...v4.1.0