13.14.0

Released Released on August 26, 2024

Performance:

  • Fixed a potential memory leak in the Cypress server when re-connecting to an unintentionally disconnected CDP connection. Fixes #29744. Addressed in #29988.

Features:

  • Added new experimentalJustInTimeCompile configuration option for component testing. This option will only compile resources directly related to your spec, compiling them 'just-in-time' before spec execution. This should result in improved memory management and performance for component tests in cypress open and cypress run modes, in particular for large component testing suites. experimentalJustInTimeCompile is currently supported for webpack and vite. Addresses #29244.

  • .type({upArrow}) and .type({downArrow}) now also works for date, month, week, time, datetime-local and range input types. Addresses #29665.

  • Added a CYPRESS_SKIP_VERIFY flag to enable suppressing Cypress verification checks. Addresses #22243.

  • Updated the protocol to allow making Cloud API requests. Addressed in #30066.

  • Passing --browser flag alone will automatically launch browser after being guided through project and/or testing type selection. Addressed in #28538.

Bugfixes:

  • Fixed an issue where files outside the Cypress project directory were not calculating the bundle output path correctly for the file:preprocessor. Addresses #8599.

  • Fixed an issue where Cypress would not run if Node.js version 22.7.0 was being used with TypeScript and ES Modules. Fixes #30084.

  • Correctly determines current browser family when choosing between unload and pagehide options in App Runner. Fixes #29880.

Misc:

  • Allow HiDPI screen running Wayland to use Cypress window/browser by adding --ozone-platform-hint=auto flag to Electron's runtime argument. Addresses #20891.

Dependency Updates:

  • Updated detect-port from 1.3.0 to 1.6.1. Addressed in #30038.