Packages

@cypress/webpack-preprocessor

8.0.0 · 26 Aug 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed

Upgrading @cypress/webpack-preprocessor From 5.8.0 to 8.0.0

37 releases in betweennotes for 6

Reading releases, release notes and advisories…

Other targets from 5.8.0Newest 5.x5.17.1
  1. 5.8.0yours
  2. 25 releases
  3. 6.0.0major
  4. 4 releases
  5. 7.0.0major
  6. 5 releases
  7. 8.0.0target
10+
changes to make
0
advisories fixed
6+
new
8+
fixes

Counted from 6 of 37 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

  1. 8.0.0

    26 Aug 20263 fixes
    • Fixed

      The times option now works correctly with req.continue. Fixes #16821.

    • Fixed

      localhost is now accepted as a valid hostname in the RouteMatcher. Fixes #17015.

    • Fixed

      delay now works correctly with a statusCode of 204. Fixes #15188.

  2. 7.1.1 – 7.1.22 releases, no release note

  3. 7.1.0

    13 Apr 20262 fixes
    • 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.

  4. 7.0.2no release note

  5. 7.0.1

    19 Aug 20251 fix
    • Fixed

      Fixed a regression in 7.0.0 that caused the test runner not to check for updates. Fixes #15829.

  6. 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().

  7. 6.0.1 – 6.0.44 releases, nothing new or fixed; 3 without a note

  8. 6.0.0

    Deprecation29 Aug 20231 new · 1 fix
    • Deprecated

      The experimentalNetworkStubbing option has been removed and made the default behavior. You can safely removed this configuration option. Addressed in #9185.

    • Deprecated

      experimentalFetchPolyfill has been deprecated. We encourage you to use cy.intercept() to intercept requests using the Fetch API instead.

    • New

      Added the type of redirects and changed redirectedToUrl optional for Response types. Addresses #9275.

    • Fixed

      Fixed an issue where Content-Length for cy.route2 request bodies could be incorrectly recalculated. Fixes #9166.

72 other lines we could not sort, mostly version bumps
  • When running cypress run previous to 8.0, some browsers would launch headed while others were launched headless by default. Cypress now runs all browsers during cypress run as 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 --headless Chrome browser via cypress 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 run and not allow opening the browser in cypress open when 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 jQuery and instead have an any type. Fixes #16669.

    8.0.0
  • The Cypress.ConfigOptions, Cypress.ResolvedConfigOptions and Cypress.RuntimeConfigOption types have been updated so that ConfigOptions match 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 clientCertificates configuration option. See Client certificates for more detail.

    8.0.0
  • Setting the environment variable ELECTRON_RUN_AS_NODE now 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.log and console.error called within the plugins file will now be captured in the stdout sent 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.

    8.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.