@cypress/webpack-preprocessor
8.0.0 · 26 Aug 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @cypress/webpack-preprocessor From 6.0.4 to 7.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 8
- changes to make
- 0
- advisories fixed
- 5
- new
- 1
- fix
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
Release by release
- 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
28 other lines we could not sort, mostly version bumps
- 7.0.0
Component tests have been migrated to use a dedicated test runner and are bundled differently. See the Migration Guide for full examples on how to migrate. Addressed in #14479.
- 7.0.0
Cypress now catches uncaught errors and fails the test even if the application under test has defined
window.onerror. Addresses #8802. - 7.0.0
Cypress now fails tests if there is an unhandled promise rejection in the application under test. Unhandled rejections will trigger the
uncaught:exceptionevent with the promise as the third argument. Addresses #243. - 7.0.0
Cypress now throws an error if the application under test redirects more than 20 times. The number of times allowed to redirect is configurable via the
redirectionLimitconfig. Addresses #14445. - 7.0.0
The default preprocessor now targets a more modern version of ECMAScript. Addressed in #15274.
- 7.0.0
We now enable
contextIsolationby default in the Electron browser. You can override this option if needed within thebefore:browser:launchAPI. Addressed in #15493. - 7.0.0
Cypress.moment()has been removed. Please migrate to a different datetime formatter. See our recipe for example replacements. Addresses #8714. - 7.0.0
The bundled Node.js version was upgraded from
12.18.3to14.16.0. This could change the behavior of code within thepluginsFilewhen using the bundled Node.js version of Cypress. Addressed in #15292. - 7.0.0
The default headless browser window size has been increased to 1920x1080 pixels to capture High-definition videos and screenshots. Addresses #15752, #15730, and #15481.
- 7.0.0
A command log entry is now displayed when there is an uncaught exception or unhandled rejection. Addresses #8236.
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.