11.1.0

Released Released on November 13, 2022

Features:

  • Next.js v13 is now supported. #24396

  • mount() now accepts an extensions.directives option, which will be registered globally for Vue2 component testing. #24488

Bugfixes:

  • Fixed an 11.0.0 regression where the migration workflow would error and hang for TypeScript projects. Fixes #24643

  • Fixed an 11.0.0 regression where cypress run crashed when using the junit reporter and an assertion failed. Fixes #24652

  • Fixed TypeScript types for testIsolation. Fixes #23911

  • Sessions will no longer be stored if validation fails which will prevent a previously failed session from being restored in the next test. Fixes #24208

Experimental Breaking Changes:

  • Updates were made to enhance the cy.session() recovered error experience. With this change, cy.session() will no longer fail validation when false is returned from the validate callback. Fixes #21398, #24205, and #24593.