12.7.0

Released Released on February 23, 2023

Features:

  • It is now possible to set hostOnly cookies with cy.setCookie() for a given domain. Addresses #16856 and #17527.

  • Added a Public API for third party component libraries to define a Framework Definition, embedding their library into the Cypress onboarding workflow. Learn more here. Implemented in #25780 and closes #25638.

  • Added a Debug Page tutorial slideshow for projects that are not connected to Cypress Cloud. Addresses #25768.

  • Updated the "new" status badge for the Debug page navigation link to be less noticeable when the navigation is collapsed. Addresses #25739.

  • Improved various error message around interactions with the Cypress Cloud. Implemented in #25837.

Bugfixes:

  • Fixed an issue where cookies were being duplicated with the same hostname, but a prepended dot. Fixed an issue where cookies may not be expiring correctly. Fixes #25174, #25205 and #25495.

  • Fixed an issue where cookies weren't being synced when the application was stable. Fixed in #25855. Fixes #25835.

  • Added missing TypeScript type definitions for the cy.reload() command. Addressed in #25779.

  • Ensure Angular components are mounted inside the correct element. Fixes #24385.

  • Fix a bug where files outside the project root in a monorepo are not correctly served when using Vite. Addressed in #25801.

  • Fixed an issue where using cy.intercept's req.continue() with a non-function parameter would not provide an appropriate error message. Fixed in #25884.

  • Fixed an issue where Cypress would erroneously launch and connect to multiple browser instances. Fixes #24377.

  • Fixed various bugs when recording to the cloud. Fixed in #25837.

Misc:

  • Made updates to the way that the Debug Page header displays information. Addresses #25796 and #25798.