Skip to content

Releases: j-mie6/parsley

Parsley 4.3.1

10 Jul 10:20
66974b6
Compare
Choose a tag to compare

Fixed bug where flatMap will not retain the same overflows() semantics as its parents: this could have been mitigated by calling overflows() on the result of the function in flatMap, but this is more robust.

Full Changelog: v4.3.0...v4.3.1

Parsley 4.4.0-M1

08 Jul 22:17
eb5665a
Compare
Choose a tag to compare
Parsley 4.4.0-M1 Pre-release
Pre-release

Introduces partialAmend, dislodge(n), amendThenDislodge(n), partialAmendThenDislodge(n)/(). Also introduces a varargs overloading of label.

Full Changelog: v4.3.0...v4.4.0-M1

Parsley 4.3.0

08 Jul 10:44
24dfd56
Compare
Choose a tag to compare

Added the as and from combinators as aliases for #> and <# respectively. Exposed some of the DefaultErrorBuilder logic as helpers so that users can build on them in other ErrorBuilder implementations, thanks @beneyal for the suggestion!

The minimum Scala versions have also been bumped to make better use of various new features around Scala 3, Scala JS and Scala Native. The minimum versions are Scala 3.3.0 LTS, Scala JS 1.13.2, and Scala Native 0.4.13

What's Changed

  • Refactor/fix-warnings by @j-mie6 in #203
  • Added "wordy" as and from combinators by @j-mie6 in #204
  • Exposed DefaultErrorBuilder helpers by @j-mie6 in #205
  • Add indexed Visitor classes for LazyParsley by @0xFC963F18DC21 in #206

New Contributors

  • @0xFC963F18DC21 made their first contribution in #206

Full Changelog: v4.2.14...v4.3.0

Parsley 4.3.0-RC2

25 Jun 09:55
c542d98
Compare
Choose a tag to compare
Parsley 4.3.0-RC2 Pre-release
Pre-release

Removed some accidentally exposed members in API.

Full Changelog: v4.3.0-RC1...v4.3.0-RC2

Parsley 4.3.0-RC1

24 Jun 23:52
5b8958d
Compare
Choose a tag to compare
Parsley 4.3.0-RC1 Pre-release
Pre-release

This release sees the introduction of the as and from aliases for #> and <# respectively. The codePoint combinator has been added for parsley.character as well: this allows for parsing full UTF-16 codepoints. The internal helpers for the DefaultErrorBuilder have been exposed to the API for convenience. Minimum Scala 3 version bumped to 3.3.0 LTS; Native bumped to 0.4.13 and ScalaJS to 1.13.2 as the new minimum versions.

What's Changed

Full Changelog: v4.2.14...v4.3.0-RC1

Parsley 4.2.14

23 Jun 10:46
51c3ffd
Compare
Choose a tag to compare

Corrected the logic for merging two errors by accounting for both of their offsets: the underlying offset has priority (which is where the error is said to have occurred), and the presentation offset (where the error appears) is checked after: this will not affect anything in the current release, as the two offsets will always match up. Also improved performance stability slightly by using type alias for the identity machinery.

What's Changed

Full Changelog: v4.2.13...v4.2.14

Parsley 4.2.13

08 Jun 22:34
860839e
Compare
Choose a tag to compare

What's Changed

  • Improved Unicode handling in token extractors by @j-mie6 in #199
  • Optimised the LexToken functionality by preventing a double parse and generally improving efficiency of combinators used by @j-mie6
  • Avoided small redundant copy on WrappedString for token extractors @j-mie6

Full Changelog: v4.2.12...v4.2.13

Parsley 4.2.12

07 Jun 14:23
48e1d61
Compare
Choose a tag to compare

Mostly, this release has internal infrastructure changes ahead of future improvements in 4.3 and beyond. However, #194 was fixed, in #196, which adds a couple of guarantees to the error formatting to ensure that a parser input demand of 0 is never provided to token extraction.

What's Changed

Full Changelog: v4.2.11...v4.2.12

Parsley 4.2.11

27 May 23:40
43f4ddc
Compare
Choose a tag to compare

Carets left unspecified when using unexpected and fail can now interact with other errors and stretch to their widest amounts. The original behaviour of these combinators can be easily recovered by specifying a caret of size 1.

What's Changed

  • Added flexible carets for unexpected/fail by @j-mie6 in #189

Full Changelog: v4.2.10...v4.2.11

Parsley 4.2.11-M1

21 May 23:40
ff052d0
Compare
Choose a tag to compare
Parsley 4.2.11-M1 Pre-release
Pre-release

This introduces a change to fail's caret semantics so that it can take on wider carets from vanilla-based combinators when the caret is left-unspecified. This is a pre-release ahead of when the same functionality is implemented for unexpected and released as the full 4.2.11.

Full Changelog: v4.2.10...v4.2.11-M1