Skip to content

Bump cypress-fail-fast from 7.1.1 to 8.1.0#502

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2026

Bumps cypress-fail-fast from 7.1.1 to 8.1.0.

Release notes

Sourced from cypress-fail-fast's releases.

Async hooks

Added

  • feat: Support async hooks in onFailFastTriggered and shouldTriggerFailFast by allowing them to return a Promise. Added error handling with warnings for hooks.

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.

... (truncated)

Changelog

Sourced from cypress-fail-fast's changelog.

[8.1.0] - 2026-03-23

Added

  • feat: Support async hooks in onFailFastTriggered and shouldTriggerFailFast by allowing them to return a Promise. Added error handling with warnings for hooks.

[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
  • a1603aa Release v8.1.0
  • 1bb5662 Merge branch 'main' into release
  • acac925 chore(release): Upgrade version
  • 8684a80 Merge pull request #307 from javierbrea/async-hooks-support-7105892929299543185
  • 7fff71f fix: Refactor hooks to always return the same type
  • 7f08370 docs: Move changelog entry to unreleased section
  • 1ec4aed fix: Fix lint errors for async hooks support
  • fa347b3 feat: Support async hooks in onFailFastTriggered and shouldTriggerFailFast
  • 1a88645 chore: Fix workflow branch name triggerer
  • fe86430 Merge pull request #306 from javierbrea/release
  • Additional commits viewable 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)

Bumps [cypress-fail-fast](https://github.com/javierbrea/cypress-fail-fast) from 7.1.1 to 8.1.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.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 1, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 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 8ef01b4.
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

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