@cypress/webpack-batteries-included-preprocessor
5.0.0 · 26 Aug 2026MIT154.9k / weekRepositoryHomepagenpmAtom feed
Upgrading @cypress/webpack-batteries-included-preprocessor From 2.4.1 to 3.0.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 3
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Breaking3.0.0
Release by release
- Breaking
screenshotOnHeadlessFailurehas been removed as an option incypress.json. Instead you can now control this behavior directly with code by settingscreenshotOnRunFailuretofalsewithin the new Screenshot API. Fixes #1140 and #1754. - New
Added Chrome flag
--disable-blink-features=RootLayerScrollingto prevent the application under test from "shaking" in recent versions of Chrome. Fixes #1620. - New
- New
Added keywords to Cypress NPM package. Fixes #1508.
- Breaking
56 other lines we could not sort, mostly version bumps
- 3.0.0
There is a new cy.task() command that enables you to go outside the browser to perform tasks directly in
node. This will make it easy to setup, scaffold, seed, talk to your database, or anything else useful on a backend. - 3.0.0
cy.screenshot() has been rewritten from the ground up. It now takes a screenshot of only the application under test by default. It also can take full page screenshots or element only screenshots. This is the first step of Cypress Dashboard support for screenshot diffing.
- 3.0.0
When running with
cypress runwe now run each spec file in isolation from others. We have rewritten our reporter to provide more details and provide a summary of the run at the bottom. - 3.0.0
The Dashboard has been upgraded to make it easier to understand the results of each spec run. This was done in anticipation of providing you the ability to parallelize and load balance your spec files automatically in CI.
- 3.0.0
We are now capturing the performance and timings data of every test when using
--recordmode and are beginning to offer the first analytics and insights into the health of your tests on our Dashboard service. - 3.0.0
Cypress now caches globally per version which prevents it from being installed multiple times across projects.
- 3.0.0
We now run each spec file in isolation from one another. This shouldn't technically break anything, but if you have set up your tests in a way that requires the state of a previous spec file, this could potentially break your tests. This will go a long ways towards reducing problems we were seeing with long runs in CI. Fixes #431, #681, #1589, #1539, and #1692.
- 3.0.0
The environment variable
CYPRESS_BINARY_VERSIONhas been removed. You should use the equivalent environment variableCYPRESS_INSTALL_BINARYinstead. - 3.0.0
The environment variable
CYPRESS_SKIP_BINARY_INSTALLhas been removed. To skip the binary install, setCYPRESS_INSTALL_BINARY=0. - 3.0.0
videoRecordinghas been renamed tovideoin our configuration to be clearer and prevent confusion about recording to our Dashboard. Fixes #562.
9 internal lines (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.