mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-21 14:41:00 -06:00
BREAKING: add breaking changes/deprecations to cypress dependencies, such as typescript and node that may affect users moving forward on v13 (#27642)
This commit is contained in:
@@ -14,6 +14,8 @@ _Released 08/22/2023 (PENDING)_
|
||||
- The properties and values returned by the [Module API](https://docs.cypress.io/guides/guides/module-api) and included in the arguments of handlers for the [`after:run`](https://docs.cypress.io/api/plugins/after-run-api) and [`after:spec`](https://docs.cypress.io/api/plugins/after-spec-api) have been changed to be more consistent. Addresses [#23805](https://github.com/cypress-io/cypress/issues/23805).
|
||||
- For Cypress Cloud runs with Test Replay enabled, the Cypress Runner UI is now hidden during the run since the Runner will be visible during Test Replay. As such, if video is recorded (which is now defaulted to `false`) during the run, the Runner will not be visible. In addition, if a runner screenshot (`cy.screenshot({ capture: runner })`) is captured, it will no longer contain the Runner.
|
||||
- Upgraded [`@cypress/request`](https://www.npmjs.com/package/@cypress/request) from `^2.88.11` to `^3.0.0`. Redirects between http and https are no longer supported by [`cy.visit()`](/api/commands/visit) and [`cy.request()`](/api/commands/request). Addresses [#27535](https://github.com/cypress-io/cypress/issues/27535). Addressed in [#27495](https://github.com/cypress-io/cypress/pull/27495).
|
||||
- Node 14 support has been removed and Node 16 support has been deprecated. Node 16 may continue to work with Cypress `v13`, but will not be supported moving forward to closer coincide with [Node 16's end-of-life](https://nodejs.org/en/blog/announcements/nodejs16-eol) schedule. It is recommended that users update to at least Node 18.
|
||||
- The minimum supported Typescript version is `4.x`.
|
||||
|
||||
**Features:**
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
"cypress": "bin/cypress"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.0.0 || ^16.0.0 || >=18.0.0"
|
||||
"node": "^16.0.0 || ^18.0.0 || >=20.0.0"
|
||||
},
|
||||
"types": "types",
|
||||
"exports": {
|
||||
|
||||
2
cli/types/index.d.ts
vendored
2
cli/types/index.d.ts
vendored
@@ -4,7 +4,7 @@
|
||||
// Mike Woudenberg <https://github.com/mikewoudenberg>
|
||||
// Robbert van Markus <https://github.com/rvanmarkus>
|
||||
// Nicholas Boll <https://github.com/nicholasboll>
|
||||
// TypeScript Version: 3.9
|
||||
// TypeScript Version: 4.3
|
||||
// Updated by the Cypress team: https://www.cypress.io/about/
|
||||
|
||||
/// <reference path="./cy-blob-util.d.ts" />
|
||||
|
||||
@@ -24,12 +24,6 @@ describe('e2e binary CI environments', () => {
|
||||
},
|
||||
)
|
||||
|
||||
// TODO: Where is this image located? Needs to be bumped to Node 16.16.0 or later
|
||||
smokeTestDockerImage(
|
||||
'bare xvfb image fails',
|
||||
'cypressinternal/xvfb:12.13.0', 1,
|
||||
)
|
||||
|
||||
smokeTestDockerImage(
|
||||
'ubuntu 20 passes',
|
||||
'cypress/base-internal:ubuntu20-node16', 0,
|
||||
|
||||
Reference in New Issue
Block a user