Releases: j-mie6/parsley
Parsley 4.2.3
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
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 addedTrie
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
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
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
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
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
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 ofposition.line
,position.col
,position.pos
(to be removed in 5.0.0)- Inheritance of the
Lexer
class is deprecated, class will befinal
in 5.0.0 ErrorMethods.!
andErrorMethods.unexpected
deprecated without one-to-one replacement.- Deprecated the use of the
fullAmend
flag/constructor for theFilterConfig
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 withline
,col
,pos
, and newoffset
. - Added
parsley.errors.patterns.VerifiedErrors
extension class, exposingverifiedFail
andverifiedUnexpected
combinators. - Added
parsley.errors.combinator.ErrorMethods.unexpectedWithReasonWhen
combinator. - Added
dislodge
andamendThenDislodge
combinators
Merged PRs
- Version bump to 4.2 by @j-mie6 in #145
- Improved
position
API by @j-mie6 in #146 - Deprecate old error methods by @j-mie6 in #147
- Error pattern combinators by @j-mie6 in #148
- Add
dislodge
andamendThenDislodge
combinators by @j-mie6 in #149 - Introduce
unexpectedWhenWithReason
by @j-mie6 in #151
Full Changelog: v4.1.1...v4.2.0
Parsley 4.2.0-RC1
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
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
andamendThenDislodge
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
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