Skip to content

Latest commit

 

History

History
108 lines (79 loc) · 6.14 KB

CHANGELOG.md

File metadata and controls

108 lines (79 loc) · 6.14 KB

12.5.1

Released 02/10/2023

Bugfixes:

Dependency Updates:

  • Upgraded simple-git from 3.15.0 to 3.16.0 to address this security vulnerability where Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods due to improper input sanitization was possible. Addressed in #25603.

12.5.0

Released 01/31/2023

Features:

  • Easily debug failed CI test runs recorded to the Cypress Cloud from your local Cypress app with the new Debug page. Please leave any feedback here. Your feedback will help us make decisions to improve the Debug experience. For more details, see our blog post. Addressed in #25488.

Performance:

  • Improved memory consumption in run mode by removing reporter logs for successful tests. Fixes #25230.

Bugfixes:

  • Fixed an issue where alternative Microsoft Edge Beta, Canary, and Dev binary versions were not being discovered by Cypress. Fixes #25455.

Dependency Updates:

  • Upgraded underscore.string from 3.3.5 to 3.3.6 to reference rebuilt assets after security patch to fix regular expression DDOS exploit. Addressed in #25574.

12.4.1

Released 01/27/2023

Bugfixes:

  • Fixed a regression from Cypress 12.4.0 where Cypress was not exiting properly when running multiple Component Testing specs in electron in run mode. Fixes #25568.

Dependency Updates:

  • Upgraded ua-parser-js from 0.7.24 to 0.7.33 to address this security vulnerability where crafting a very-very-long user-agent string with specific pattern, an attacker can turn the script to get stuck processing for a very long time which results in a denial of service (DoS) condition. Addressed in #25561.

12.4.0

Released 1/24/2023

Features:

  • Added official support for Vite 4 in component testing. Addresses #24969.
  • Added new experimentalMemoryManagement configuration option to improve memory management in Chromium-based browsers. Enable this option with experimentalMemoryManagement=true if you have experienced "Out of Memory" issues. Addresses #23391.
  • Added new experimentalSkipDomainInjection configuration option to disable Cypress from setting document.domain on injection, allowing users to test Salesforce domains. If you believe you are having document.domain issues, please see the experimentalSkipDomainInjection guide. This config option is end-to-end only. Addresses #2367, #23958, #24290, and #24418.
  • The .as command now accepts an options argument, allowing an alias to be stored as type "query" or "static" value. This is stored as "query" by default. Addresses #25173.
  • The cy.log() command will now display a line break where the \n character is used. Addresses #24964.
  • component.specPattern now utilizes a JSX/TSX file extension when generating a new empty spec file if project contains at least one file with those extensions. This applies only to component testing and is skipped if component.specPattern has been configured to exclude files with those extensions. Addresses #24495.
  • Added support for the data-qa selector in the Selector Playground in addition to data-cy, data-test and data-testid. Addresses #25305.

Bugfixes:

  • Fixed an issue where component tests could incorrectly treat new major versions of certain dependencies as supported. Fixes #25379.
  • Fixed an issue where new lines or spaces on new lines in the Command Log were not maintained. Fixes #23679 and #24964.
  • Fixed an issue where Angular component testing projects would fail to initialize if an unsupported browserslist entry was specified in the project configuration. Fixes #25312.

Misc

  • Video output link in cypress run mode has been added to it's own line to make the video output link more easily clickable in the terminal. Addresses #23913.