Releases: Behat/Gherkin
Releases · Behat/Gherkin
v4.11.0
Changed
- Drop support for PHP < 8.1, Symfony < 5.4 and Symfony 6.0 - 6.3. In future we will drop support for PHP and symfony
versions as they reach EOL. by @acoulton in #272 - Deprecated
ExampleNode::getTitle()
andScenarioNode::getTitle()
in favour of new methods with clearer meaning.
by @uuf6429 in #271
Added
- Added
(ExampleNode|ScenarioNode)::getName()
to access human-readable names for examples and scenarios,
andExampleNode::getExampleText()
for the string content of the example table row.
by @uuf6429 in #271
Internal
v4.10.0
Changed
- ⚠ Backslashes in feature files must now be escaped
Gherkin syntax treats\
as an escape character, which must be escaped (\\
) to use it as a
literal value. Historically, this was not being parsed correctly. This release fixes that bug,
but means that if your scenarios currently use unescaped\
you will need to replace each one
with\\
to achieve the same parsed result.
By @everzet in 5a0836d.
Added
- Symfony 6 and 7 thanks to @tacman in #257
- PHP 8.4 support thanks to @heiglandreas in #258 and @jrfnl in #262
Fixed
Internal
- Sync teststuite with Cucumber 24.1.0
- Fix PHPUnit 10 deprecation messages
- A lot of great CI work by @heiglandreas and @jrfnl
Note: 4.10.0 was actually released by @everzet on 2024-10-19, but just as a bare git tag - I've just marked it up as an official github release to avoid confusion,
v4.9.0
What's Changed
- Simplify the boolean condition for the tag matching by @stof in #219
- Remove symfony phpunit bridge by @ciaranmcnulty in #220
- Ignore the bin folder in archives by @stof in #226
- Cast table node exceptions into ParserExceptions when throwing by @ciaranmcnulty in #216
- Cucumber changelog in PRs and using correct hash by @ciaranmcnulty in #225
- Support alternative docstrings format (```) by @ciaranmcnulty in #214
- Fix DocBlocks (Boolean -> bool) by @simonhammes in #237
- Tag parsing by @ciaranmcnulty in #215
- Remove test - cucumber added an example with Rule which is not supported by @ciaranmcnulty in #239
- Add PHP 8.1 support by @javer in #242
- Fix main branch alias version by @mvorisek in #244
New Contributors
- @simonhammes made their first contribution in #237
- @javer made their first contribution in #242
- @mvorisek made their first contribution in #244
Full Changelog: v4.8.0...v4.9.0
v4.8.0
- Drop support for PHP before version 7.2
v4.7.3
- Refactored comments parsing to avoid Maximum function nesting level errors
v4.7.2
- Issue where Scenario Outline title was not populated into Examples
- Updated translations from cucumber 16.0.0
v4.7.1
- Fixes issue parsing comments before scenarios when following an Examples table
v4.7.0
- Provides better messages for TableNode construct errors
- Now allows single character steps
- Supports multiple Example Tables with tags
v4.6.2
4.6.2 release to fix cache file issues (#166)
v4.6.1
Update changelog for 4.6.1