Skip to content

Releases: j-mie6/parsley

Parsley 4.4.0-M5

15 Aug 21:27
523e0ff
Compare
Choose a tag to compare
Parsley 4.4.0-M5 Pre-release
Pre-release

Milestone release mainly with some internal improvements that help improve efficiency.

What's Changed

  • Merge Check, Hint, and Handler stacks by @j-mie6 in #212

Full Changelog: v4.4.0-M4...v4.4.0-M5

Parsley 4.4.0-M4

11 Aug 20:30
8df33c8
Compare
Choose a tag to compare
Parsley 4.4.0-M4 Pre-release
Pre-release

Fourth milestone release of 4.4.0: just adds some small optimisations and generalisations.

Full Changelog: v4.4.0-M3...v4.4.0-M4

Parsley 4.4.0-M3

24 Jul 08:37
3f2aca1
Compare
Choose a tag to compare
Parsley 4.4.0-M3 Pre-release
Pre-release

This milestone release exposes the following new combinators:

  • atomic, the new alias for attempt, which will replace it moving forward.
  • count and count1 for counting how many times a parser succeeds.
  • count, range, and range_ combinators that parse a parser within a range of possible times.
  • Allowed for the configuration of the meaning of whitespace in TillNextWhitespace.
  • Added the empty(n) combinator to parsley.Parsley, allowing for fine caret control.
  • Added the guard helper combinator, which fails if the given parser does not successfully return true.

Happy 100th release! 🥳 🎉

Full Changelog: v4.4.0-M2...v4.4.0-M3

Parsley 4.4.0-M2

16 Jul 22:19
9fda236
Compare
Choose a tag to compare
Parsley 4.4.0-M2 Pre-release
Pre-release

Second milestone release for 4.4.0, adding the unicode object with all the same combinators as character. Some slightly generalisations to the digit parsers as well, and made crlf atomic, as advertised in docs.

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

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