Skip to content

docs: Add CHANGELOG for 4.15.0#390

Merged
acoulton merged 4 commits intoBehat:masterfrom
acoulton:next-4.x
Nov 5, 2025
Merged

docs: Add CHANGELOG for 4.15.0#390
acoulton merged 4 commits intoBehat:masterfrom
acoulton:next-4.x

Conversation

@acoulton
Copy link
Contributor

@acoulton acoulton commented Nov 3, 2025

@carlos-granados @stof there was more unreleased than I had remembered from just before the summer...

I think we should release what we have now - we have documented in the CHANGELOG and the class itself that there are further changes planned for the GherkinCompatibilityMode so I don't think we need to be blocked by that.

This will also allow us to test / add PHP 8.5 support in Behat/Behat.

@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.83%. Comparing base (78aa8df) to head (b53c98e).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #390   +/-   ##
=========================================
  Coverage     95.83%   95.83%           
  Complexity      667      667           
=========================================
  Files            44       44           
  Lines          1921     1921           
=========================================
  Hits           1841     1841           
  Misses           80       80           
Flag Coverage Δ
php8.1 95.83% <ø> (ø)
php8.1--with=symfony/yaml:^5.4 95.83% <ø> (ø)
php8.1--with=symfony/yaml:^6.4 95.83% <ø> (ø)
php8.2 95.83% <ø> (ø)
php8.3 95.83% <ø> (ø)
php8.4 95.83% <ø> (ø)
php8.5 95.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

CHANGELOG.md Outdated
a future major release. By @stof in [#350](https://github.com/Behat/Gherkin/pull/350)
* Introduce configurable `GherkinCompatibilityMode` to control how gherkin files are parsed. In the default `legacy` mode,
there is no change to parsing. In the new **experimental** `gherkin-32` mode, files will be parsed consistently with the
official cucumber/gherkin parsers. In this first release of the new mode:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be updated to mention that files are not yet parsed entirely like the upstream parser as long as this mode is experimental.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point - I think it's clearer now?

- Invalid language tags will cause an exception by @stof in [#357](https://github.com/Behat/Gherkin/pull/357)
- Step keywords will not be trimmed by @stof in [#360](https://github.com/Behat/Gherkin/pull/360)
- Language tags can include whitespace by @acoulton in [#358](https://github.com/Behat/Gherkin/pull/358)
- `\n` literals in table cells will be parsed as newlines by @stof in [#359](https://github.com/Behat/Gherkin/pull/359)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest merging #391 and including it in the same release, as I discovered that the wrong handling of escaping in table cells could lead to some issues there. An escaped backslash follow by a n would start being broken by that change, while it was parsed fine before.

@acoulton
Copy link
Contributor Author

acoulton commented Nov 5, 2025

Holding off for #391 and #392

@acoulton acoulton marked this pull request as ready for review November 5, 2025 12:01
@acoulton
Copy link
Contributor Author

acoulton commented Nov 5, 2025

@stof now updated with the additional changes now merged for this release.

@acoulton acoulton requested a review from stof November 5, 2025 12:02
@acoulton acoulton merged commit 05a7459 into Behat:master Nov 5, 2025
11 checks passed
@acoulton acoulton deleted the next-4.x branch November 5, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants