Skip to content

Bump cypress-fail-fast from 7.1.1 to 8.0.0#497

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/master/cypress-fail-fast-8.0.0
Closed

Bump cypress-fail-fast from 7.1.1 to 8.0.0#497
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/master/cypress-fail-fast-8.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 20, 2026

Bumps cypress-fail-fast from 7.1.1 to 8.0.0.

Release notes

Sourced from cypress-fail-fast's releases.

New configuration model

Preface

Cypress Fail Fast 8.0.0 introduces a new configuration model based on Cypress.expose(), consolidates the public API, replaces the old parallel strategy with a hook-based mechanism, and drops support for legacy Cypress versions in order to provide a simpler, more stable, and more maintainable plugin.

Changelog

Breaking Changes

  • Configuration no longer uses Cypress.env() or environment variables. All plugin options must be provided via Cypress.expose() in the Cypress configuration file.
  • Environment-based keys have been renamed:
    • FAIL_FAST_STRATEGYfailFastStrategy
    • FAIL_FAST_ENABLEDfailFastEnabled
    • FAIL_FAST_BAILfailFastBail
  • Renamed parallelCallbacks plugin option to hooks, and changed its structure. Now it is an object with two optional properties: onFailFastTriggered and shouldTriggerFailFast. The first one is a callback that runs when fail-fast mode is triggered, and receives an object with the strategy being applied and the test that triggered it (name and fullTitle). The second one is a callback that runs before each test execution and should return true to trigger fail-fast mode.
  • Removed support for the parallel strategy. The plugin now uses hooks that work regardless of the strategy, so there is no need to specify a different strategy for managing parallel runs. It is now the responsibility of the user to implement the coordination mechanism for parallel runs if they want to use that feature.
  • The FAIL_FAST_PLUGIN option has been removed. Use the combination of failFastEnabled and failFastIgnorePerTestConfig instead.
  • Fail-fast behavior now uses Mocha this.skip(), which causes skipped tests to appear as pending in the results instead of skipped.
  • The plugin now requires Cypress >= 15.10.0 and no longer supports older versions.

Added

  • feat: Support configuration via Cypress.expose() and new failFast* options.
  • feat: Add failFastIgnorePerTestConfig option to control whether per-test configuration is honored.
  • refactor: Migrate plugin and tests to TypeScript.
  • test(e2e): Simplify and speed up E2E tests.

Changed

  • refactor: Use Mocha this.skip() internally instead of Cypress.stop() to implement fail-fast behavior.
  • test(e2e): Migrate E2E test projects to pnpm for dependency management.
  • chore(deps): Update devDependencies, removing unused packages and upgrading existing ones.

Removed

  • feat: Remove parallel strategy. Hooks now work regardless of the strategy.
  • test(e2e): Drop E2E tests for old Cypress versions.
  • chore: Remove workarounds and access to private Cypress APIs no longer needed with the new minimum supported version.

Notes

Why configuration moved away from Cypress.env()

Starting with Cypress 15.10.0, Cypress.env() is deprecated and scheduled for removal in a future major version.

Why options were renamed and FAIL_FAST_PLUGIN was removed

Historically, the plugin used environment-style names such as FAIL_FAST_STRATEGY, FAIL_FAST_ENABLED, and FAIL_FAST_BAIL. With the transition to Cypress.expose(), it is more natural to use camelCase keys that fit into the rest of the Cypress configuration tree (failFastStrategy, failFastEnabled, failFastBail).

The FAIL_FAST_PLUGIN option was also problematic because it completely disabled the plugin logic, including per-test configuration, in a way that was not immediately obvious. In 8.0.0 it is replaced by a more explicit combination:

... (truncated)

Changelog

Sourced from cypress-fail-fast's changelog.

[8.0.0] - 2026-03-19

Breaking Changes

  • Configuration no longer uses Cypress.env() or environment variables. All plugin options must be provided via Cypress.expose() in the Cypress configuration file.
  • Environment-based keys have been renamed:
    • FAIL_FAST_STRATEGYfailFastStrategy
    • FAIL_FAST_ENABLEDfailFastEnabled
    • FAIL_FAST_BAILfailFastBail
  • Renamed parallelCallbacks plugin option to hooks, and changed its structure. Now it is an object with two optional properties: onFailFastTriggered and shouldTriggerFailFast. The first one is a callback that runs when fail-fast mode is triggered, and receives an object with the strategy being applied and the test that triggered it (name and fullTitle). The second one is a callback that runs before each test execution and should return true to trigger fail-fast mode.
  • Removed support for the parallel strategy. The plugin now uses hooks that work regardless of the strategy, so there is no need to specify a different strategy for managing parallel runs. It is now the responsibility of the user to implement the coordination mechanism for parallel runs if they want to use that feature.
  • The FAIL_FAST_PLUGIN option has been removed. Use the combination of failFastEnabled and failFastIgnorePerTestConfig instead.
  • Fail-fast behavior now uses Mocha this.skip(), which causes skipped tests to appear as pending in the results instead of skipped.
  • The plugin now requires Cypress >= 15.10.0 and no longer supports older versions.

Added

  • feat: Support configuration via Cypress.expose() and new failFast* options.
  • feat: Add failFastIgnorePerTestConfig option to control whether per-test configuration is honored.
  • refactor: Migrate plugin and tests to TypeScript.
  • test(e2e): Simplify and speed up E2E tests.

Changed

  • refactor: Use Mocha this.skip() internally instead of Cypress.stop() to implement fail-fast behavior.
  • test(e2e): Migrate E2E test projects to pnpm for dependency management.
  • chore(deps): Update devDependencies, removing unused packages and upgrading existing ones.

Removed

  • feat: Remove parallel strategy. Hooks now work regardless of the strategy.
  • test(e2e): Drop E2E tests for old Cypress versions.
  • chore: Remove workarounds and access to private Cypress APIs no longer needed with the new minimum supported version.
Commits
  • 1a88645 chore: Fix workflow branch name triggerer
  • fe86430 Merge pull request #306 from javierbrea/release
  • 3b897f5 chore: Fix check-package-version workflow
  • 625f563 chore: Remove package.json
  • 4fdcc8e chore: Merge
  • cc9768c Release v8.0.0
  • b086ce7 Merge branch 'main' into release
  • f98b555 Force to set the shouldSkip flag to true when a before hook fails in Cypr...
  • See full diff in compare view

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 20, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 20, 2026

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA cffeb39.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/cypress-fail-fast 8.1.0 🟢 4.5
Details
CheckScoreReason
Maintained🟢 1014 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review⚠️ 0Found 0/12 approved changesets -- score normalized to 0
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST🟢 4SAST tool is not run on all commits -- score normalized to 4

Scanned Files

  • package-lock.json

Bumps [cypress-fail-fast](https://github.com/javierbrea/cypress-fail-fast) from 7.1.1 to 8.0.0.
- [Release notes](https://github.com/javierbrea/cypress-fail-fast/releases)
- [Changelog](https://github.com/javierbrea/cypress-fail-fast/blob/main/CHANGELOG.md)
- [Commits](javierbrea/cypress-fail-fast@v7.1.1...v8.0.0)

---
updated-dependencies:
- dependency-name: cypress-fail-fast
  dependency-version: 8.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/cypress-fail-fast-8.0.0 branch from 8c18539 to cffeb39 Compare March 31, 2026 17:53
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2026

Superseded by #502.

@dependabot dependabot bot closed this Apr 1, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/master/cypress-fail-fast-8.0.0 branch April 1, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants