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
We want to remove warnings / code around deprecated APIS.
Why is this needed?
It's just unnecessary code to maintain.
We could potentially reuse these APIs if we want.
Deprecated / Removed values
API
Version Removed
If used?
cy.privates
Long time ago
throws warning
cy.props
Long time ago
throws warning
Cypress.Log.command()
Long time ago
throws warning
eventually chainer
0.11.0
throws warning
requestJSON prop on XHRs
0.12.0
throws warning
responseJSON prop on XHRs
0.12.0
throws warning
cy.wait(fn)
0.11.4
throws warning
cy.server({stub: false})
0.13.2
throws warning
cy.server({force404: false })
0.13.5
now default, throws warning
Cypress.Cookies.get
0.16.0
throws warning
Cypress.Cookies.set
0.16.0
throws warning
Cypress.Cookies.remove
0.16.0
throws warning
Cypress.Cookies.getAllCookies
0.16.0
throws warning
Cypress.Cookies.clearCookies
0.16.0
throws warning
cy.request()failOnStatus
0.18.1
throws warning
cy.agents()
0.18.8
throws warning
cypress ci command
0.19.0
supposed to warn, I'm not sure this even works
CYPRESS_CI_KEY
0.19.0
throws warning
Cypress.addParentCommand()
0.20.0
throws warning
Cypress.addChildCommand()
0.20.0
throws warning
Cypress.addDualCommand()
0.20.0
throws warning
CYPRESS_BINARY_VERSION
3.0.0
throws warning
CYPRESS_SKIP_BINARY_INSTALL
3.0.0
throws warning
screenshotOnHeadlessFailure
3.0.0
throws warning
trashAssetsBeforeHeadlessRuns
3.0.0
throws warning
videoRecording
3.0.0
throws warning
Outside of the scope of this work
We will not be removing code around these deprecated APIs, since there are still some using on versions prior to 4.0.0 that we want to have a good experience when upgrading to our latest version.
API
Version Removed
If used?
before:browser:launch args
4.0.0
still works, throws deprecation warning
Cypress.Cookies.defaultswhitelist
5.0.0
throws warning
blacklistHosts
5.0.0
throws warning
cy.server()whitelist
5.0.0
throws warning
experimentalGetCookiesSameSite
5.0.0
throws warning
experimentalShadowDomSupport
5.2.0
throws warning
The text was updated successfully, but these errors were encountered:
The code for this is done in cypress-io/cypress#8951, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
What would you like?
We want to remove warnings / code around deprecated APIS.
Why is this needed?
Deprecated / Removed values
cy.privates
cy.props
Cypress.Log.command()
eventually
chainerrequestJSON
prop on XHRsresponseJSON
prop on XHRscy.wait(fn)
cy.server({stub: false})
cy.server({force404: false })
Cypress.Cookies.get
Cypress.Cookies.set
Cypress.Cookies.remove
Cypress.Cookies.getAllCookies
Cypress.Cookies.clearCookies
cy.request()
failOnStatus
cy.agents()
cypress ci
commandCYPRESS_CI_KEY
Cypress.addParentCommand()
Cypress.addChildCommand()
Cypress.addDualCommand()
CYPRESS_BINARY_VERSION
CYPRESS_SKIP_BINARY_INSTALL
screenshotOnHeadlessFailure
trashAssetsBeforeHeadlessRuns
videoRecording
Outside of the scope of this work
We will not be removing code around these deprecated APIs, since there are still some using on versions prior to 4.0.0 that we want to have a good experience when upgrading to our latest version.
before:browser:launch
argsCypress.Cookies.defaults
whitelist
blacklistHosts
cy.server()
whitelist
experimentalGetCookiesSameSite
experimentalShadowDomSupport
The text was updated successfully, but these errors were encountered: