Packages

@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…

Other targets from 6.0.4Latest8.0.0
  1. 6.0.4yours
  2. 7.0.0target
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

  1. 7.0.0

    Migration needed8 Aug 20255 new · 1 fix
    • 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 calling cy.intercept() again. This matches the previous behavior that was default in cy.route(). Addresses #9302.

    • Breaking

      cy.intercept() now automatically parses more JSON MIME types, including 'application/vnd.api+json'. You can now remove JSON.parse(req.body) or JSON.parse(res.body) from some tests that previously required it. Addresses #14763.

    • Breaking

      Falsy values (with the exception of undefined) supplied as the body of a StaticResponse to cy.intercept() will now be JSONified and sent as the body. Previously, an empty string was sent instead. Addresses #15234 and #14205.

    • Breaking

      The matchUrlAgainstPath RouteMatcher property has been removed from cy.intercept().

28 other lines we could not sort, mostly version bumps
  • 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:exception event 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 redirectionLimit config. 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 contextIsolation by default in the Electron browser. You can override this option if needed within the before:browser:launch API. 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.3 to 14.16.0. This could change the behavior of code within the pluginsFile when 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.

    7.0.0

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.