Skip to content

Update behat/behat requirement from ^v3.15.0 to ^v4.0.0 - #424

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/behat/behat-tw-v4.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/behat/behat-tw-v4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on behat/behat to permit the latest version.

Release notes

Sourced from behat/behat's releases.

v4.0.0

If upgrading to 4.0.0 for the first time, please also review the release notes for 4.0.0-alpha1.

This release includes changes that were also included in 3.33.0 or 3.34.0 - they are also listed in these release notes.

Behat has no corporate backing - the 4.0 release has taken a huge effort from the volunteer maintainers over the last 12 months. If you use Behat for work, please consider showing your appreciation by supporting the project - even small contributions make a big difference.

Changed

Added

  • Support Rule nodes in >= GHERKIN_32 compatibility mode. NB: Scenarios within Rules will be parsed, filtered, and executed as expected with any caller. However, Behat's formatters and hooks will receive a modified Feature and node tree with all Rule details stripped out. This will behave as though any Scenarios were a direct child of the Feature - with any Rule Background steps repeated as the first steps of each Scenario. This will be improved in future releases. By @​acoulton in #1879
  • Support steps with both DocString and DataTable arguments in GHERKIN_42 mode. This is the only difference in GHERKIN_42 mode, which is now the default mode for Behat 4.x. By @​acoulton in #1896 and #1902
  • Add 'inline_failures' option to progress formatter by @​AlexSkrypnyk in #1861
  • Add support for filtering on Cucumber tag expressions by @​Amoifr in #1863
  • Add DataTable and DocString step argument types to reduce coupling to the Gherkin TableNode / PyStringNode by @​Amoifr in #1864 and #1878
  • Add hasStdOut() and getStdOut() to ExecutedStepResult by @​carlos-granados in #1874
  • Mark reachable interfaces and value objects as @api by @​carlos-granados in #1868

Fixed

  • Explain the relationship between --format and --out by @​Amoifr in #1889
  • Rerun should count scenarios as failed if before / after hooks failed. Previously, scenarios that only failed due to a Scenario, Feature, or Suite hook were never re-run, potentially causing incorrect passing builds. By @​Amoifr in #1877
  • Handle aborted suites when printing unused definitions by @​Amoifr in #1882

Internal

... (truncated)

Changelog

Sourced from behat/behat's changelog.

[4.0.0] - 2026-09-28

If upgrading to 4.0.0 for the first time, please also review the release notes for 4.0.0-alpha1.

This release includes changes that were also included in 3.33.0 or 3.34.0 - they are also listed in these release notes.

Behat has no corporate backing - the 4.0 release has taken a huge effort from the volunteer maintainers over the last 12 months. If you use Behat for work, please consider showing your appreciation by supporting the project

  • even small contributions make a big difference.

Changed

Added

  • Support Rule nodes in >= GHERKIN_32 compatibility mode. NB: Scenarios within Rules will be parsed, filtered, and executed as expected with any caller. However, Behat's formatters and hooks will receive a modified Feature and node tree with all Rule details stripped out. This will behave as though any Scenarios were a direct child of the Feature - with any Rule Background steps repeated as the first steps of each Scenario. This will be improved in future releases. By @​acoulton in #1879
  • Support steps with both DocString and DataTable arguments in GHERKIN_42 mode. This is the only difference in GHERKIN_42 mode, which is now the default mode for Behat 4.x. By @​acoulton in #1896 and #1902
  • Add 'inline_failures' option to progress formatter by @​AlexSkrypnyk in #1861
  • Add support for filtering on Cucumber tag expressions by @​Amoifr in #1863
  • Add DataTable and DocString step argument types to reduce coupling to the Gherkin TableNode / PyStringNode by @​Amoifr in #1864 and #1878
  • Add hasStdOut() and getStdOut() to ExecutedStepResult by @​carlos-granados in #1874
  • Mark reachable interfaces and value objects as @api by @​carlos-granados in #1868

Fixed

  • Explain the relationship between --format and --out by @​Amoifr

... (truncated)

Commits
  • 3f65b57 docs: Add changelog for 4.0.0 🎆 (#1903)
  • 3f739ad feat: Change default gherkin parsing mode to GHERKIN_42 (#1902)
  • 2b6012b Merge pull request #1901 from acoulton/4.x-merge-up-20260927
  • 6868fbb test: Update expected output for Rules features in 4.x
  • af7a98f refactor: Apply Rector fixes for the 4.x branch
  • 506c235 Merge remote-tracking branch 'upstream/3.x' into 4.x-merge-up-20260927
  • 044fea2 docs: Add CHANGELOG for 3.34.0 (#1900)
  • b9419df ci: Run Behat's own suites in GHERKIN_42 mode instead of GHERKIN_32 (#1899)
  • baa0837 test: Prove that Behat supports multiple step args (#1896)
  • aab0602 feat: Support gherkin features with Rule: nodes (#1879)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/4.x/CHANGELOG.md)
- [Commits](Behat/Behat@v3.15.0...v4.0.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-version: 4.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the scope:distribution Related to distribution label Nov 2, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 2, 2026 16:12
@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 943d6962-acb0-4d11-9be8-2b4673e70118

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added automated-pr scope:testing Related to testing labels Nov 2, 2026
@swissspidy

Copy link
Copy Markdown
Member

@schlessera supporting ^v3.15.0 || ^v4.0.0 could be interesting, but would require quite some changes I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-pr scope:distribution Related to distribution scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant