You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cli/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ _Released 01/27/2026 (PENDING)_
11
11
12
12
- Introduced a new [`cy.env()`](https://docs.cypress.io/api/commands/env) command that can be used to asynchronously and securely access Cypress environment variables. Addressed in [#33181](https://github.com/cypress-io/cypress/pull/33181).
13
13
- Added a [`allowCypressEnv`](https://docs.cypress.io/app/references/configuration#Global) configuration option that disallows use of the deprecated `Cypress.env()` API. Addressed in [#33181](https://github.com/cypress-io/cypress/pull/33181).
14
+
- Introduced the new `Cypress.expose()` API, intended for use of public configuration of non-sensitive values. Addressed in [#33238](https://github.com/cypress-io/cypress/pull/33238).
-x, --expose <expose> sets exposed public configuration variables.
392
+
separate multiple values with a comma.
393
+
overrides any value in
394
+
cypress.config.{js,ts,mjs,cjs}
391
395
--global force Cypress into global mode as if it were
392
396
globally installed
393
397
-p, --port <port> runs Cypress on a specific port. overrides
@@ -530,6 +534,7 @@ exports[`cli > unknown option > shows help for run command 1`] = `
530
534
-C, --config-file <config-file> path to script file where configuration values are set. defaults to "cypress.config.{js,ts,mjs,cjs}".
531
535
--e2e runs end to end tests
532
536
-e, --env <env> sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs} or cypress.env.json
537
+
-x, --expose <expose> sets exposed public configuration variables. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs}
533
538
--group <name> a named group for recorded runs in Cypress Cloud
534
539
-k, --key <record-key> your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.
535
540
--headed displays the browser instead of running headlessly
* Any values to be set as [exposed public configuration variables](https://on.cypress.io/expose).
3010
+
* @default {}
3011
+
*/
3012
+
expose: {[key: string]: any}
2977
3013
/**
2978
3014
* A String or Array of glob patterns used to ignore test files that would otherwise be shown in your list of tests. Cypress uses minimatch with the options: {dot: true, matchBase: true}. We suggest using a tool to test what files would match.
0 commit comments