Releases: j-mie6/parsley
Parsley 4.4.0-M5
Milestone release mainly with some internal improvements that help improve efficiency.
What's Changed
Full Changelog: v4.4.0-M4...v4.4.0-M5
Parsley 4.4.0-M4
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
This milestone release exposes the following new combinators:
atomic
, the new alias forattempt
, which will replace it moving forward.count
andcount1
for counting how many times a parser succeeds.count
,range
, andrange_
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 toparsley.Parsley
, allowing for fine caret control. - Added the
guard
helper combinator, which fails if the given parser does not successfully returntrue
.
Happy 100th release! 🥳 🎉
Full Changelog: v4.4.0-M2...v4.4.0-M3
Parsley 4.4.0-M2
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
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
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
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
andfrom
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
Removed some accidentally exposed members in API.
Full Changelog: v4.3.0-RC1...v4.3.0-RC2
Parsley 4.3.0-RC1
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
- Refactor/fix-warnings by @j-mie6 in #203
- Added "wordy"
as
andfrom
combinators by @j-mie6 in #204 - Exposed
DefaultErrorBuilder
helpers by @j-mie6 in #205
Full Changelog: v4.2.14...v4.3.0-RC1
Parsley 4.2.14
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