Releases: j-mie6/parsley
Parsley 4.2.0-M1
This is the first milestone release ahead of the 4.2.0 release. This release enforces deprecations on existing combinators, which have all be enforced for this milestone. The remaining milestones and release candidates in this series are expected to be stable within minimal binary disruptions. The progress and any migration can be tracked at #145.
What's Changed
Full Changelog: v4.1.1...v4.2.0-M1
Parsley 4.1.2
This is a patch release rectifying an erroneous deprecation of inheriting from Lexer
: the 4.1 series is not allowed to make deprecations, and this has been shifted to 4.2.0 instead. Inheriting from Lexer
is no longer deprecated in the 4.1 backport series.
Full Changelog: v4.1.1...v4.1.2
Parsley 4.1.1
This release is a patch release to put the definitions of the various token descriptions into their documentation for ease of understanding. Also restored the missing rootdocs.
Issues Fixed
- #143 plain values should document their descriptions
Full Changelog: v4.1.0...v4.1.1
Parsley 4.1.0
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 anendChar
to be defined, which instead defaults toNotRequired
- Added
parsley.token.predicate.implicits
module to support a few common implicit conversions that should reduce the need to be writingBasic
andUnicode
all over the place when specifying the descriptions. The assumption is that a user is only going to be using one ofBasic
orUnicode
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
Parsley 4.1.0-RC1
This is the first release candidate for 4.1.0. See #136 for details (including migration instruction from M8). From this point there will be no binary breaks or new functionality unless something is badly broken.
Full Changelog: v4.1.0-M8...v4.1.0-RC1
Parsley 4.1.0-M8
This is the eighth milestone release ahead of 4.1.0. See #136 for details (including migration instructions from M7.
What's Changed
Minor Changes
- Added hierarchies to control the configuration of various parts of the error in a flexible but controlled way.
Merged PRs
- Move host by @j-mie6 in #142
- Remove
StackOverflowError
catching, use explicitoverflows
instead by @j-mie6 in #144
Full Changelog: v4.1.0-M7...v4.1.0-M8
Parsley 4.0.4
This releases fixes a potential issue with parsers that stack-overflow during construction: instead of trying to recover from this fatal state, it is now allowed to crash. When a parser stack overflows during construction it must be made stack-safe by calling .overflows()
on the parser before calling either .force()
or .parse
What's Changed
- Move host by @j-mie6 in #142
- Remove
StackOverflowError
catching, use explicitoverflows
instead by @j-mie6 in #144
Full Changelog: v4.0.3...4.0.4
Parsley 4.1.0-M7
This is the seventh milestone release ahead of 4.1.0. See #136 for details (including migration instructions from M6).
What's Changed
Minor Changes
- Added the following new configuration:
labelRealX
: all used to describe the parsing of real numbers with unconstrained, float, and double all availablelabelRealXEnd
: used to describe the end of a real numberlabelRealDot
: used to describe the.
in a real number, if it is not defined, the end label will be used instead.labelRealExponent
: used to describe the exponent at the end of a real number, if not defined, the end label is used instead.labelRealExponentEnd
: used to describe the end of what follows the opening exponent prefix, using the generic end label instead if not defined.labelNumericBreakChar
: used to describe break characters in both integers and real numbers.
Full Changelog: v4.1.0-M6...v4.1.0-M7
Parsley 4.1.0-M6
This is the sixth milestone release ahead of 4.1.0. See #136 for details (including migration instructions from M5).
What's Changed
Minor Changes
- Added the following new configuration:
pleaseDontVerifyConfig
: can be set to true used to turn of sanity checks on the error config (this might be stuff that makes non-sensical errors)- added
userDefinedOperator
combinator that just specifies the start constraint - added
predicate.implicits
module to help makeBasic
andUnicode
values a bit more cleanly.
Patch Changes
- Some minor documentation fixes.
Full Changelog: v4.1.0-M5...v4.1.0-M6
Parsley 4.1.0-M5
This is the fifth milestone release ahead of 4.1.0. See #136 for details (including migration instructions from M4).
What's Changed
Minor Changes
- Added the following new configuration:
labelnteger{Signed|Unsigned}X
: describes how to refer to unsigned and signed integer literals of varying radiceslabelnteger{Signed|Unsigned}X(bits: Int)
: describes how to refer to those integers which are bounded by a number of bitslabelIntegerXEnd
: describes how to refer to requiring more digits in a number (which will become a hint if the next thing cannot parse)
Full Changelog: v4.1.0-M4...v4.1.0-M5