Skip to content

Releases: j-mie6/parsley

Parsley 4.2.3

30 Jan 22:11
3fd6737
Compare
Choose a tag to compare

Fixes bug introduced in the fix from Parsley 4.2.2: an assumption was found to be assumed too late, but in moving it forward the behaviour was accidentally removed from the other invocation of the function. This has now been addressed.

Full Changelog: v4.2.2...v4.2.3

Parsley 4.2.2

30 Jan 21:26
8d9d48d
Compare
Choose a tag to compare

Notice: this introduced a new bug in the fix applied in #157, which is equally as severe, avoid until 4.2.3

What's Changed

  • Optimised the general unicode combinators for Lexer by @j-mie6 in #153
  • Optimised softKeyword by @j-mie6 in #154
  • Remove unnecessary clear during sequence merging by @j-mie6 in #157
  • Optimised softOperator and added Trie implementation by @j-mie6 in #159

Bugs Fixed

  • #156 where specific shapes of parser sequencing erroneously dropped some of the sub-parses (!!)

Full Changelog: v4.2.1...v4.2.2

Parsley 4.1.5

30 Jan 22:20
680b206
Compare
Choose a tag to compare

Fixes bug introduced in the fix from Parsley 4.1.4: an assumption was found to be assumed too late, but in moving it forward the behaviour was accidentally removed from the other invocation of the function. This has now been addressed.

Full Changelog: v4.1.4...v4.1.5

Parsley 4.1.4

30 Jan 21:37
8a8ae5b
Compare
Choose a tag to compare

Notice: this introduced a new bug in the fix applied in #158, which is equally as severe, avoid until 4.1.5

What's Changed

Full Changelog: v4.1.3...v4.1.4

Parsley 4.2.1

23 Jan 00:46
49b5ff0
Compare
Choose a tag to compare

Fixed small bug where an overeager attempt causes unclosed comments to render weirdly when using Unicode for space description.

Full Changelog: v4.2.0...v4.2.1

Parsley 4.1.3

23 Jan 00:46
5926432
Compare
Choose a tag to compare

Fixed small bug where an overeager attempt causes unclosed comments to render weirdly when using Unicode for space description.

Full Changelog: v4.1.2...v4.1.3

Parsley 4.2.0

22 Jan 22:43
f4f164c
Compare
Choose a tag to compare

This release aims to do small improvements to two areas of the API: positions and error combinators. New position functionality will be added to a parsley.position module, and old functionality will be moved there with deprecation in place for 5.0.0 removal. Some functionality within parsley.errors.combinator.ErrorMethods will be deprecated, as it has not been particularly useful in its current form. New functionality will be introduced into a separate class to replace this, with semantics that aid in the creation of Verified Errors. New filtering combinators will also be added, along with some missing functionality to do with amend and entrench.

What's Changed

Deprecations

  • Parsley.line, Parsley.col, Parsley.pos deprecated in favour of position.line, position.col, position.pos (to be removed in 5.0.0)
  • Inheritance of the Lexer class is deprecated, class will be final in 5.0.0
  • ErrorMethods.! and ErrorMethods.unexpected deprecated without one-to-one replacement.
  • Deprecated the use of the fullAmend flag/constructor for the FilterConfig subclasses: this was erroneously added, as filtering combinators always use full-amend semantics anyway. These will be removed in 5.0.0

Minor Changes

  • Added position object with line, col, pos, and new offset.
  • Added parsley.errors.patterns.VerifiedErrors extension class, exposing verifiedFail and verifiedUnexpected combinators.
  • Added parsley.errors.combinator.ErrorMethods.unexpectedWithReasonWhen combinator.
  • Added dislodge and amendThenDislodge combinators

Merged PRs

Full Changelog: v4.1.1...v4.2.0

Parsley 4.2.0-RC1

22 Jan 21:44
517db1d
Compare
Choose a tag to compare
Parsley 4.2.0-RC1 Pre-release
Pre-release

This is the first release candidate for 4.2.0. See #145 for details. From this point there will be no binary breaks or new functionality unless something is badly broken.

Full Changelog: v4.2.0-M3...v4.2.0-RC1

Parsley 4.2.0-M3

22 Jan 18:26
4a0a7f2
Compare
Choose a tag to compare
Parsley 4.2.0-M3 Pre-release
Pre-release

This is the third 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

  • Add dislodge and amendThenDislodge combinators by @j-mie6 in #149
  • Introduce unexpectedWhenWithReason by @j-mie6 in #151

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

Parsley 4.2.0-M2

22 Jan 00:15
f354b7d
Compare
Choose a tag to compare
Parsley 4.2.0-M2 Pre-release
Pre-release

This is the second 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.2.0-M1...v4.2.0-M2