Skip to content

Releases: j-mie6/parsley

Parsley 4.2.0-M1

20 Jan 15:38
1c2c434
Compare
Choose a tag to compare
Parsley 4.2.0-M1 Pre-release
Pre-release

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

19 Jan 17:43
599b904
Compare
Choose a tag to compare

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

18 Jan 22:24
19bb048
Compare
Choose a tag to compare

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

18 Jan 19:42
81175f5
Compare
Choose a tag to compare

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

Parsley 4.1.0-RC1

18 Jan 17:45
0003083
Compare
Choose a tag to compare
Parsley 4.1.0-RC1 Pre-release
Pre-release

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

17 Jan 10:49
dcc4249
Compare
Choose a tag to compare
Parsley 4.1.0-M8 Pre-release
Pre-release

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 explicit overflows instead by @j-mie6 in #144

Full Changelog: v4.1.0-M7...v4.1.0-M8

Parsley 4.0.4

13 Jan 22:42
a78130a
Compare
Choose a tag to compare

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 explicit overflows instead by @j-mie6 in #144

Full Changelog: v4.0.3...4.0.4

Parsley 4.1.0-M7

05 Jan 16:46
92483e4
Compare
Choose a tag to compare
Parsley 4.1.0-M7 Pre-release
Pre-release

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 available
    • labelRealXEnd: used to describe the end of a real number
    • labelRealDot: 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

04 Jan 23:40
cdbe1de
Compare
Choose a tag to compare
Parsley 4.1.0-M6 Pre-release
Pre-release

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 make Basic and Unicode 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

03 Jan 19:53
43f8d2f
Compare
Choose a tag to compare
Parsley 4.1.0-M5 Pre-release
Pre-release

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 radices
    • labelnteger{Signed|Unsigned}X(bits: Int): describes how to refer to those integers which are bounded by a number of bits
    • labelIntegerXEnd: 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