Skip to content

Commit 90c3340

Browse files
breaking: Signal removal of official support for direct download of Cypress (#32249)
* breaking: Signal removal of official support for direct download of Cypress BREAKING: Signal removal of official support for direct download of Cypress * add PR link * Update cli/CHANGELOG.md Co-authored-by: Mike McCready <[email protected]> --------- Co-authored-by: Mike McCready <[email protected]>
1 parent f3c1164 commit 90c3340

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

.github/ISSUE_TEMPLATE/3-install-issue.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ body:
4848
options:
4949
- npm
5050
- yarn
51-
- Direct download
5251
- pnpm
5352
- other
5453
validations:

cli/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ _Released 08/12/2025 (PENDING)_
1313
- In order to better align with best practices, `@cypress/webpack-batteries-included-preprocessor` no longer includes certain browser built-ins that were automatically provided by Webpack 4. The removed built-ins are `assert`, `constants`, `crypto`, `domain`, `events`, `http`, `https`, `punycode`, `querystring`, `string_decoder`, `sys`, `timers`, `tty`, `url`, `util`, `vm`, and `zlib`. However, we know that certain built-ins are popular, given that many users have files that are shared between their Cypress tests and node context. Because of this, `@cypress/webpack-batteries-included-preprocessor` will ship with built-in support for `buffer`, `path`, `process`, `os`, and `stream`. If there is a built-in that isn't supported by default and you need to add support, please refer to the Webpack [resolve.fallback](https://webpack.js.org/configuration/resolve/#resolvefallback) documentation and the [`@cypress/webpack-batteries-included-preprocessor` README](../npm/webpack-batteries-included-preprocessor/README.md). Addresses [#31039](https://github.com/cypress-io/cypress/issues/31039).
1414
- The application under test's `pagehide` event in Chromium browsers will no longer trigger Cypress's `window:unload` event. Addressed in [#31853](https://github.com/cypress-io/cypress/pull/31853).
1515
- The `Cypress.SelectorPlayground` API has been renamed to `Cypress.ElementSelector`. This API was renamed to accommodate its use for defining `selectorPriority` in Cypress Studio and our future [`cy.prompt` release](https://on.cypress.io/cy-prompt-early-access?utm_source=docs&utm_medium=app-changelog&utm_content=cy-prompt-release). Additionally, the `getSelector` method and the `onElement` option of `defaults` were removed from this API. Addresses [#31801](https://github.com/cypress-io/cypress/issues/31801). Addressed in [#31889](https://github.com/cypress-io/cypress/pull/31889) and [#32098](https://github.com/cypress-io/cypress/pull/32098).
16+
- The direct download option for installing Cypress is no longer supported. Users should install via a package manager. Addressed in [#32249](https://github.com/cypress-io/cypress/pull/32249).
1617
- **Component Testing breaking changes:**
1718
- Removed support for Angular 17. The minimum supported version is now `18.0.0`. Addresses [#31303](https://github.com/cypress-io/cypress/issues/31303).
1819
- `@cypress/angular` now requires a minimum of `zone.js` `0.14.0`. Addresses [#31582](https://github.com/cypress-io/cypress/issues/31582).

cli/__snapshots__/install_spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,6 @@ Installing Cypress (version: 1.2.3)
260260
261261
⚠ Warning: It looks like you've installed Cypress globally.
262262
263-
This will work, but it's not recommended.
264-
265263
The recommended way to install Cypress is as a devDependency per project.
266264
267265
You should probably run these commands:

cli/lib/tasks/install.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ const displayCompletionMsg = () => {
4848
logger.warn(stripIndent`
4949
${logSymbols.warning} Warning: It looks like you\'ve installed Cypress globally.
5050
51-
This will work, but it'\s not recommended.
52-
5351
The recommended way to install Cypress is as a devDependency per project.
5452
5553
You should probably run these commands:

0 commit comments

Comments
 (0)