Skip to content

breaking(@cypress/grep): release version 6.0.0 of @cypress/grep#33242

Merged
cacieprins merged 5 commits intodevelopfrom
breaking/migrate_cypress_grep_to_expose
Feb 5, 2026
Merged

breaking(@cypress/grep): release version 6.0.0 of @cypress/grep#33242
cacieprins merged 5 commits intodevelopfrom
breaking/migrate_cypress_grep_to_expose

Conversation

@AtofStryker
Copy link
Contributor

@AtofStryker AtofStryker commented Jan 15, 2026

BREAKING CHANGE: use Cypress.expose() instead of Cypress.env(), which requires a peer dependency on Cypress 15.10.0

NOTE: must be rebased merged into develop once 15.10.0 is released

  • Closes

Additional details

Adapts @cypress/grep to use Cypress.expose() instead of Cypress.env(), which is now deprecated in Cypress 15.10.0 (release TBD)


Note

Medium Risk
Breaking change to how runtime/config values are provided to the plugin; main risk is users on older Cypress versions or tooling still using --env/env: silently losing filtering behavior.

Overview
@cypress/grep now reads and writes filter configuration via Cypress.expose()/config.expose rather than Cypress.env()/config.env, including updates to the support-file registration (Cypress.grep), the Node plugin config parsing, and the Cypress task/e2e/unit tests.

Docs and examples are updated to use --expose (and expose: in cypress.config) and a new v5→v6 migration section is added; the package also bumps its Cypress peer dependency to >=15.10.0 and disables allowCypressEnv in the package’s cypress.config.ts.

Written by Cursor Bugbot for commit bb73433. This will update automatically on new commits. Configure here.

Steps to test

How has the user experience changed?

PR Tasks

@AtofStryker AtofStryker self-assigned this Jan 15, 2026
@AtofStryker AtofStryker force-pushed the feat/add_cypress_expose branch from 76283c5 to 76117ac Compare January 15, 2026 21:26
@AtofStryker AtofStryker force-pushed the breaking/migrate_cypress_grep_to_expose branch from 1fc76e3 to b730446 Compare January 15, 2026 21:26
@AtofStryker AtofStryker force-pushed the feat/add_cypress_expose branch from 76117ac to 1d7c6c3 Compare January 15, 2026 21:59
@AtofStryker AtofStryker force-pushed the breaking/migrate_cypress_grep_to_expose branch from b730446 to e38e289 Compare January 15, 2026 21:59
@cypress
Copy link

cypress bot commented Jan 15, 2026

cypress    Run #68857

Run Properties:  status check passed Passed #68857  •  git commit bb73433940: Merge branch 'develop' into breaking/migrate_cypress_grep_to_expose
Project cypress
Branch Review breaking/migrate_cypress_grep_to_expose
Run status status check passed Passed #68857
Run duration 19m 22s
Commit git commit bb73433940: Merge branch 'develop' into breaking/migrate_cypress_grep_to_expose
Committer Cacie Prins
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 13
Tests that did not run due to a developer annotating a test with .skip  Pending 1112
Tests that did not run due to a failure in a mocha hook  Skipped 4
Tests that passed  Passing 27110
View all changes introduced in this branch ↗︎

Warning

Partial Report: The results for the Application Quality reports may be incomplete.

UI Coverage  61.04%
  Untested elements 28  
  Tested elements 47  
Accessibility  99.03%
  Failed rules  0 critical   3 serious   1 moderate   0 minor
  Failed elements 18  

@AtofStryker AtofStryker force-pushed the feat/add_cypress_expose branch from 1d7c6c3 to bec7a29 Compare January 16, 2026 15:26
@AtofStryker AtofStryker force-pushed the breaking/migrate_cypress_grep_to_expose branch from e38e289 to 72e74b1 Compare January 16, 2026 15:39
@AtofStryker
Copy link
Contributor Author

blocked until Cypress 15.10.0 or the cypress.env()/cy.env()/Cypress.expose()/allowCypressEnv work releases

@AtofStryker AtofStryker force-pushed the feat/add_cypress_expose branch from bec7a29 to 20305fe Compare January 20, 2026 17:11
@AtofStryker AtofStryker force-pushed the breaking/migrate_cypress_grep_to_expose branch from 72e74b1 to 38e551f Compare January 20, 2026 17:12
@AtofStryker AtofStryker force-pushed the feat/add_cypress_expose branch from 1c27069 to 8207444 Compare January 20, 2026 21:49
@AtofStryker AtofStryker force-pushed the breaking/migrate_cypress_grep_to_expose branch from 38e551f to a2bd105 Compare January 20, 2026 21:50
@AtofStryker AtofStryker force-pushed the feat/add_cypress_expose branch from 8207444 to c301833 Compare January 20, 2026 21:52
@AtofStryker AtofStryker force-pushed the breaking/migrate_cypress_grep_to_expose branch from a2bd105 to 0510bec Compare January 20, 2026 21:54
@AtofStryker AtofStryker force-pushed the feat/add_cypress_expose branch from c301833 to 78d2027 Compare January 21, 2026 16:07
@AtofStryker AtofStryker force-pushed the breaking/migrate_cypress_grep_to_expose branch from 0510bec to 4fd644f Compare January 21, 2026 16:11
Base automatically changed from feat/add_cypress_expose to feat/deprecate_cypress_env_feature_branch January 21, 2026 20:47
@AtofStryker AtofStryker force-pushed the feat/deprecate_cypress_env_feature_branch branch 2 times, most recently from 2f38f4a to 22e2486 Compare January 21, 2026 21:58
Base automatically changed from feat/deprecate_cypress_env_feature_branch to develop January 22, 2026 00:13
@AtofStryker AtofStryker force-pushed the breaking/migrate_cypress_grep_to_expose branch from 4fd644f to e118768 Compare January 22, 2026 00:14
BREAKING CHANGE: use Cypress.expose() instead of Cypress.env(), which requires a peer dependency on Cypress 15.10.0
@AtofStryker AtofStryker force-pushed the breaking/migrate_cypress_grep_to_expose branch from e118768 to c6998a8 Compare January 22, 2026 00:17
@cacieprins cacieprins changed the title (WIP) breaking: release version 6.0.0 of @cypress/grep breaking(@cypress/grep): release version 6.0.0 of @cypress/grep Feb 4, 2026
@wlsf82
Copy link

wlsf82 commented Feb 4, 2026

Is there an ETA for the release of this version?

The migration guide mentions it, but it's not available yet.

@cacieprins
Copy link
Contributor

@wlsf82 Thanks for the nudge - we're working on it!

@cacieprins cacieprins merged commit 49aa0bb into develop Feb 5, 2026
81 of 93 checks passed
@cacieprins cacieprins deleted the breaking/migrate_cypress_grep_to_expose branch February 5, 2026 18:40
cacieprins added a commit that referenced this pull request Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants