Packages

@cypress/webpack-batteries-included-preprocessor

5.0.0 · 26 Aug 2026MIT154.9k / weekRepositoryHomepagenpmAtom feed

Upgrading @cypress/webpack-batteries-included-preprocessor From 3.1.2 to 5.0.0

9 releases in betweennotes for 6

  1. 3.1.2yours
  2. 4.0.0major
  3. 7 releases
  4. 5.0.0target
6+
changes to make
0
advisories fixed
3+
new
10+
fixes

Counted from 6 of 9 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
  • Deprecated5.0.0

Release by release

  1. 5.0.0

    Migration needed26 Aug 2026
    • 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-retries plugin has been deprecated in favor of test retries built into Cypress. Addresses #1313.

  2. 4.1.1 – 4.2.02 releases, nothing new or fixed; 1 without a note

  3. 4.1.0

    13 Apr 20261 fix
    • Fixed

      Fixed a regression where Cypress could throw a "Maximum call stack size exceeded" error when transmitting a circular object over the internal WebSocket. Fixes #6582.

  4. 4.0.3 – 4.0.42 releases, no release note

  5. 4.0.2

    27 Aug 20254 fixes
    • 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 a cy.contains() would produce unexpected results. Addresses #6384.

  6. 4.0.1

    19 Aug 20255 fixes
    • Fixed

      Fixed a bug where Chromium could not be detected on macOS. Addresses #6358.

    • Fixed

      Fixed bugs where Edge and Firefox Nightly could not be detected on macOS. Addresses #6354 and #6345.

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

  7. 4.0.0

    Migration needed8 Aug 20253 new
97 other lines we could not sort, mostly version bumps
  • The Cypress.Cookies.defaults() whitelist option has been renamed to preserve to more closely reflect its behavior. Addressed in #7782.

    5.0.0
  • The blacklistHosts configuration has been renamed to blockHosts to more closely reflect its behavior. Addressed in #7622.

    5.0.0
  • The cy.server() whitelist option has been renamed to ignore to more closely reflect its behavior. Addresses #6642.

    5.0.0
  • libgbm-dev is now a requirement to run Cypress on Linux. Addressed in #7791.

    5.0.0
  • Values yielded by cy.setCookie(), cy.getCookie(), and cy.getCookies() will now contain the sameSite property if specified. Addresses #6892.

    5.0.0
  • The return type of the Cypress.Blob methods arrayBufferToBlob, base64StringToBlob, binaryStringToBlob, and dataURLToBlob have changed from Promise<Blob> to Blob. Addresses #6001.

    5.0.0
  • For TypeScript compilation of spec, support, and plugins files, the esModuleInterop option is no longer coerced to true. If you need to utilize esModuleInterop, set it in your tsconfig.json. Addresses #7575.

    5.0.0
  • .click(), .dblclick(), and .rightclick() now accept options altKey, ctrlKey, metaKey, and shiftKey to hold down key combinations while clicking. Addresses #486.

    5.0.0
  • You can now chain .snapshot() off of cy.stub() and cy.spy() to disabled snapshots during those commands. For example: cy.stub().snapshot(false). Addresses #3849.

    5.0.0
  • The error Cannot set property 'err' of undefined will no longer incorrectly throw when rerunning tests in the Test Runner. Fixes #7874 and #8193.

    5.0.0

1 internal line (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.