---
title: "12.6.0"
url: "https://www.cypress.io/releases/12-6-0"
description: "Features: Added a new CLI flag, called --auto-cancel-after-failures, that overrides the project-level \"Auto Cancellation\" value when recording to the Cloud…"
---

# 12.6.0

ReleasedReleased on February 14, 2023

**Features:**

-   Added a new CLI flag, called [`--auto-cancel-after-failures`](/app/references/command-line#Options), that overrides the project-level ["Auto Cancellation"](/cloud/features/smart-orchestration/run-cancellation) value when recording to the Cloud. This gives Cloud users on Business and Enterprise plans the flexibility to alter the auto-cancellation value per run. Addressed in [#25237](https://github.com/cypress-io/cypress/pull/25237).
    
-   It is now possible to overwrite query commands using [`Cypress.Commands.overwriteQuery`](/api/cypress-api/custom-queries). Addressed in [#25078](https://github.com/cypress-io/cypress/issues/25078).
    
-   Added [`Cypress.require()`](/api/cypress-api/require) for including dependencies within the [`cy.origin()`](/api/commands/origin) callback. This change removed support for using `require()` and `import()` directly within the callback because we found that it impacted performance not only for spec files using them within the [`cy.origin()`](/api/commands/origin) callback, but even for spec files that did not use them. Addresses [#24976](https://github.com/cypress-io/cypress/issues/24976).
    
-   Added the ability to open the failing test in the IDE from the Debug page before needing to re-run the test. Addressed in [#24850](https://github.com/cypress-io/cypress/issues/24850).
    

**Bugfixes:**

-   When a Cloud user is a part of multiple Cloud organizations, the [Connect to Cloud setup](/cloud/get-started/setup#Set-up-a-project-to-record) now shows the correct organizational prompts when connecting a new project. Fixes [#25520](https://github.com/cypress-io/cypress/issues/25520).
    
-   Fixed an issue where Cypress would fail to load any specs if the project `specPattern` included a resource that could not be accessed due to filesystem permissions. Fixes [#24109](https://github.com/cypress-io/cypress/issues/24109).
    
-   Fixed an issue where the Debug page would display a different number of specs for in-progress runs than the in-progress specs reported in Cypress Cloud. Fixes [#25647](https://github.com/cypress-io/cypress/issues/25647).
    
-   Fixed an issue in middleware where error-handling code could itself generate an error and fail to report the original issue. Fixes [#22825](https://github.com/cypress-io/cypress/issues/22825).
    
-   Fixed an regression introduced in Cypress [12.3.0](#12-3-0) where custom browsers that relied on process environment variables were not found on macOS arm64 architectures. Fixed in [#25753](https://github.com/cypress-io/cypress/pull/25753).
    

**Misc:**

-   Improved the UI of the Debug page. Addresses [#25664](https://github.com/cypress-io/cypress/issues/25664), [#25669](https://github.com/cypress-io/cypress/issues/25669), [#25665](https://github.com/cypress-io/cypress/issues/25665), [#25666](https://github.com/cypress-io/cypress/issues/25666), and [#25667](https://github.com/cypress-io/cypress/issues/25667).
    
-   Updated the Debug page sidebar badge to to show 0 to 99+ failing tests, increased from showing 0 to 9+ failing tests, to provide better test failure insights. Addresses [#25662](https://github.com/cypress-io/cypress/issues/25662).
    

**Dependency Updates:**

-   Upgrade [`debug`](https://www.npmjs.com/package/debug) to `4.3.4`. Addressed in [#25699](https://github.com/cypress-io/cypress/pull/25699).