@cypress/webpack-batteries-included-preprocessor
5.0.0 · 26 Aug 2026MIT154.9k / weekRepositoryHomepagenpmAtom feed
Upgrading @cypress/webpack-batteries-included-preprocessor From 2.2.1 to 5.0.0
26 releases in betweennotes for 13
- 7+
- changes to make
- 0
- advisories fixed
- 13+
- new
- 66+
- fixes
Counted from 13 of 26 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking3.0.0
- Deprecated5.0.0
Release by release
- Breaking
Cypress no longer supports file paths with a question mark
?in them. We now use the webpack preprocessor by default and it does not support files with question marks. Addressed in #7982. - Breaking
Cypress now requires TypeScript 3.4+. Addressed in #7856.
- Breaking
Installing Cypress on your system now requires Node.js 10+. Addresses #6574.
- Deprecated
The
cypress-plugin-retriesplugin has been deprecated in favor of test retries built into Cypress. Addresses #1313.
- Breaking
4.1.1 – 4.2.02 releases, nothing new or fixed; 1 without a note
4.0.3 – 4.0.42 releases, no release note
- Fixed
Fixed a bug where Firefox tests could fail to run on macOS if another instance of Firefox was open. Addresses #6380.
- Fixed
Fixed a bug where re-running a failed workflow in GitHub Actions would not generate a new Dashboard run. Addresses #6450.
- Fixed
Fixed incorrect type definitions for
Cypress.isBrowser. Addresses #6447. - Fixed
Fixed a regression introduced in 4.0.0 where using
.should('contain', ...)on acy.contains()would produce unexpected results. Addresses #6384.
- Fixed
- Fixed
Fixed a bug where Chromium could not be detected on macOS. Addresses #6358.
- Fixed
- Fixed
Fixed a bug where 64-bit editions of Firefox could not be detected on Windows. Addresses #6355.
- Fixed
Fixed a bug where video recordings of Firefox would omit all frames from before the last cross-domain navigation of the test. Addresses #6369.
- Fixed
Fixed a bug where Cypress could crash with the message "cannot read property 'on' of undefined" while running Firefox. Addresses #6356.
- Fixed
- Breaking
We updated the Cypress browser objects of all Chromium-based browsers, including Electron, to have
chromiumset as theirfamilyfield. Addresses #6243. - Breaking
Installing Cypress on your system now requires Node.js 8+. Addresses #5632.
- New
Added Cross Browser Testing Guide with helpful CI strategies to consider when running tests across multiple browsers.
- New
Added
Cypress.isBrowser()doc. - New
Added
@benmalka/foxdriver. Addressed in #1359.
- Breaking
- New
Added type definitions for
Cypress.moment(). Fixes #2746. - Fixed
Fixed a regression caused in
3.1.1where we attempted to set a property on an invalid cookie sent from a server. Fixes #2724. - Fixed
Fixed Cypress not correctly aborting long running connections (such as server sent events) on proxied requests. Fixes #2612.
- Fixed
Fixed bug where tests were failing due to assertions causing Cypress to accidentally iterate through cross origin iframes. If you were seeing "random" cross origin errors, this likely fixes those issues. Fixes #2784.
- New
246 other lines we could not sort, mostly version bumps
- 5.0.0
The
Cypress.Cookies.defaults()whitelistoption has been renamed topreserveto more closely reflect its behavior. Addressed in #7782. - 5.0.0
The
blacklistHostsconfiguration has been renamed toblockHoststo more closely reflect its behavior. Addressed in #7622. - 5.0.0
The
cy.server()whitelistoption has been renamed toignoreto more closely reflect its behavior. Addresses #6642. - 5.0.0
libgbm-devis now a requirement to run Cypress on Linux. Addressed in #7791. - 5.0.0
Values yielded by
cy.setCookie(),cy.getCookie(), andcy.getCookies()will now contain thesameSiteproperty if specified. Addresses #6892. - 5.0.0
The return type of the
Cypress.BlobmethodsarrayBufferToBlob,base64StringToBlob,binaryStringToBlob, anddataURLToBlobhave changed fromPromise<Blob>toBlob. Addresses #6001. - 5.0.0
For TypeScript compilation of spec, support, and plugins files, the
esModuleInteropoption is no longer coerced totrue. If you need to utilizeesModuleInterop, set it in yourtsconfig.json. Addresses #7575. - 5.0.0
.click(),.dblclick(), and.rightclick()now accept optionsaltKey,ctrlKey,metaKey, andshiftKeyto hold down key combinations while clicking. Addresses #486. - 5.0.0
You can now chain
.snapshot()off ofcy.stub()andcy.spy()to disabled snapshots during those commands. For example:cy.stub().snapshot(false). Addresses #3849. - 5.0.0
19 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.