@cypress/webpack-preprocessor
8.0.0 · 26 Aug 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @cypress/webpack-preprocessor From 5.15.2 to 8.0.0
23 releases in betweennotes for 6
Reading releases, release notes and advisories…
- 10+
- changes to make
- 0
- advisories fixed
- 6+
- new
- 8+
- fixes
Counted from 6 of 23 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Deprecated6.0.0
- Deprecated6.0.0
Release by release
7.1.1 – 7.1.22 releases, no release note
- Fixed
Fixed an issue where crashes in Cypress would cause a misleading "Unknown signal: true" error after the actual crash message. Fixes #15943.
- Fixed
Fixed an issue introduced in 7.0.0 where requests with responses stubbed via
cy.intercept(routeMatcher, staticResponse)would still be sent to the destination server. Fixes #15841.
- Fixed
7.0.2no release note
- Breaking
Request handlers supplied to
cy.intercept()are now matched starting with the most recently defined request interceptor. This allows users to override request handlers by callingcy.intercept()again. This matches the previous behavior that was default incy.route(). Addresses #9302. - Breaking
cy.intercept()now automatically parses more JSON MIME types, including 'application/vnd.api+json'. You can now removeJSON.parse(req.body)orJSON.parse(res.body)from some tests that previously required it. Addresses #14763. - Breaking
- Breaking
The
matchUrlAgainstPathRouteMatcherproperty has been removed fromcy.intercept().
- Breaking
6.0.1 – 6.0.44 releases, nothing new or fixed; 3 without a note
- Deprecated
The
experimentalNetworkStubbingoption has been removed and made the default behavior. You can safely removed this configuration option. Addressed in #9185. - Deprecated
experimentalFetchPolyfillhas been deprecated. We encourage you to usecy.intercept()to intercept requests using the Fetch API instead. - New
Added the type of
redirectsand changedredirectedToUrloptional for Response types. Addresses #9275. - Fixed
Fixed an issue where
Content-Lengthforcy.route2request bodies could be incorrectly recalculated. Fixes #9166.
- Deprecated
72 other lines we could not sort, mostly version bumps
- 8.0.0
When running
cypress runprevious to 8.0, some browsers would launch headed while others were launched headless by default. Cypress now runs all browsers duringcypress runas headless by default. Addresses #16832. - 8.0.0
The default screen size when running a headless browser has been reverted back to 1280x720 pixels (pre 7.0 behavior). Addresses #16853.
- 8.0.0
When running the
--headlessChrome browser viacypress run, the device pixel ratio will now be 1 by default, matching the behavior of all other browsers. This behavior can be overridden through the browser launch API. Addresses #17375. - 8.0.0
Cypress now enforces version checks for browser launching and will error during
cypress runand not allow opening the browser incypress openwhen attempting to open unsupported browser versions. Cypress supports Chrome >= 64, Firefox >= 86, and Edge >= 79. Addressed in #17355. - 8.0.0
Arguments returned from a chained function will no longer incorrectly be of type
jQueryand instead have ananytype. Fixes #16669. - 8.0.0
The
Cypress.ConfigOptions,Cypress.ResolvedConfigOptionsandCypress.RuntimeConfigOptiontypes have been updated so thatConfigOptionsmatch the JSON schema. Addressed in #17251. - 8.0.0
You can now configure certificate authority (CA) and client certificates to use within tests on a per-URL basis via a
clientCertificatesconfiguration option. See Client certificates for more detail. - 8.0.0
Setting the environment variable
ELECTRON_RUN_AS_NODEnow starts Cypress as a normal Node.js process rather than an Electron process. See Running headless tests without Xvfb for more details. Addresses #16505. - 8.0.0
console.logandconsole.errorcalled within the plugins file will now be captured in thestdoutsent to the Cypress Dashboard, making it visible in Output logs in the Dashboard. Fixes #7434. - 8.0.0
When using the experimental Cypress Studio, there should be a reduced occurrence of "Studio failed to save commands" error messages. Fixes #14767.
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.