j-mie6 / parsley

A fast and modern parser combinator library for Scala
https://j-mie6.github.io/parsley/
BSD 3-Clause "New" or "Revised" License
173 stars 15 forks source link

Parsley 4.4.0 #207

Closed j-mie6 closed 11 months ago

j-mie6 commented 1 year ago

Parsley 4.4.0 Staging PR

This is the PR encompassing all changes for version 4.4.0. As this is substantial new functionality, it will be previewed incrementally starting with 4.4.0-M1. When the API is completed and seems reasonable, 4.4.0-RC1 will be released to allow for testing of the release, full documentation, and ironing out of bugs. When the release is stable enough, it will be merged into master and 4.4.0 will be officially released.

High-Level Changes

This release aims to add in all the minor functionality ahead of the Parsley 5 milestone start and the final deprecation run in September.

Low-Level Changes

Minor Changes

Patch Changes

Internal Changes

Release Checklist

4.4.0-M1

4.4.0-M2

4.4.0-M3

4.4.0-M4

4.4.0-M5

4.4.0-M6

4.4.0-M7

4.4.0-M8

4.4.0-RC1

4.4.0

Milestone Migration Guide

As each milestone release may choose to make binary incompatible changes, any necessary migration required to get from one milestone to the next will be tracked here.

From To Necessary Changes
4.3.0 4.4.0-M1 No changes required
4.4.0-M1 4.4.0-M2 No changes required
4.4.0-M2 4.4.0-M3 No changes required
4.4.0-M3 4.4.0-M4 No changes required
4.4.0-M4 4.4.0-M5 No changes required
4.4.0-M5 4.4.0-M6 May need to use unsafe() combinator when doing any mutable parsing
4.4.0-M6 4.4.0-M7 May require code re-compile, as label introduced in M1 is removed
4.4.0-M7 4.4.0-M8 Added an x: A parameter to the ErrorGen[A] adjustWidth method
4.4.0-M8 4.4.0-RC1 Moved UnexpectedItem into VanillaGen, each having Item at the end now.
j-mie6 commented 1 year ago

The range_ combinator can be removed when dead-result analysis is added in: it's useless in that context, just API bloat.

codeclimate[bot] commented 11 months ago

Code Climate has analyzed commit b4e252e4 and detected 16 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 3
Duplication 12
Style 1

The test coverage on the diff in this pull request is 94.8% (50% is the threshold).

This pull request will bring the total coverage in the repository to 92.4% (0.5% change).

View more on Code Climate.