Skip to content

Releases: Behat/Gherkin

v4.12.0

26 Feb 14:29
cc3a7e2
Compare
Choose a tag to compare

Changed

  • Gherkin::VERSION is deprecated and will not be updated, use the composer runtime API if you need to identify the running version. This also changes the value used to namespace cached feature files. by @acoulton in #279

Added

  • Provide CachedArrayKeywords::withDefaultKeywords() to create an instance without an external dependency on the path to the i18n.php file in this repo. NOTE that paths to source files will change in the next Gherkin release - use the new constructor to avoid any impact. by @carlos-granados in #290

Internal

v4.11.0

06 Dec 10:08
32821a1
Compare
Choose a tag to compare

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() and ScenarioNode::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,
    and ExampleNode::getExampleText() for the string content of the example table row.
    by @uuf6429 in #271

Internal

  • Enable dependabot for github actions workflows by @jrfnl in #261

v4.10.0

22 Oct 06:51
cbb83c4
Compare
Choose a tag to compare

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

Fixed

  • Fix exception when filter string is empty thanks to @magikid in #251

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

12 Oct 13:05
0bc8d1e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.8.0...v4.9.0

v4.8.0

04 Feb 12:45
Compare
Choose a tag to compare
  • Drop support for PHP before version 7.2

v4.7.3

04 Feb 12:36
Compare
Choose a tag to compare
  • Refactored comments parsing to avoid Maximum function nesting level errors

v4.7.2

03 Feb 16:10
Compare
Choose a tag to compare
  • Issue where Scenario Outline title was not populated into Examples
  • Updated translations from cucumber 16.0.0

v4.7.1

26 Jan 16:40
Compare
Choose a tag to compare
  • Fixes issue parsing comments before scenarios when following an Examples table

v4.7.0

24 Jan 14:10
Compare
Choose a tag to compare
  • Provides better messages for TableNode construct errors
  • Now allows single character steps
  • Supports multiple Example Tables with tags

v4.6.2

17 Mar 14:03
51ac450
Compare
Choose a tag to compare
4.6.2 release to fix cache file issues (#166)