Skip to content

Commit a62cb97

Browse files
docs: Update mentions of injectDocumentDomain removal to be 'future versions' of Cypress instead of cy 15 (#6131)
1 parent 98ed86c commit a62cb97

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/api/commands/origin.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Cypress no longer injects `document.domain` by default, which means `cy.origin()
4242
must now be used to navigate between any two origins in the same test, even if
4343
the two origins are in the same superdomain. This behavior can be disabled by setting
4444
the `injectDocumentDomain` configuration option to `true`, to allow a smooth transition
45-
of tests to the new behavior. In Cypress 15, this configuration option will be removed.
45+
of tests to the new behavior. This configuration option will be removed in a future version of Cypress.
4646

4747
:::
4848

docs/app/references/changelog.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Refer to the [v14 Migration Guide](/app/references/migration-guide#Migrating-to-
125125
- Upgraded bundled Node.js version from `18.17.0` to `20.18.1`. Addresses [#29547](https://github.com/cypress-io/cypress/issues/29547).
126126
- Prebuilt binaries for Linux are no longer compatible with Linux distributions based on glibc `<2.28`, for example: Ubuntu 14-18, RHEL 7, CentOS 7, Amazon Linux 2. Addresses [#29601](https://github.com/cypress-io/cypress/issues/29601).
127127
- Cypress now only officially supports the latest 3 major versions of Chrome, Firefox, and Edge - older browser versions may still work, but we recommend keeping your browsers up to date to ensure compatibility with Cypress. A warning will no longer be displayed on browser selection in the Launchpad for any 'unsupported' browser versions. Additionally, the undocumented `minSupportedVersion` property has been removed from `Cypress.browser`. Addressed in [#30462](https://github.com/cypress-io/cypress/pull/30462).
128-
- The `cy.origin()` command must now be used when navigating between subdomains. Because this is a fairly disruptive change for users who frequently navigate between subdomains, a new configuration option is being introduced. `injectDocumentDomain` can be set to `true` in order to re-enable the injection of `document.domain` setters in Cypress. This configuration option is marked as deprecated and you'll receive a warning when Cypress is launched with this option set to `true`. It will be removed in Cypress 15. Addressed in [#30770](https://github.com/cypress-io/cypress/pull/30770).
128+
- The `cy.origin()` command must now be used when navigating between subdomains. Because this is a fairly disruptive change for users who frequently navigate between subdomains, a new configuration option is being introduced. `injectDocumentDomain` can be set to `true` in order to re-enable the injection of `document.domain` setters in Cypress. This configuration option is marked as deprecated and you'll receive a warning when Cypress is launched with this option set to `true`. It will be removed in a future version of Cypress. Addressed in [#30770](https://github.com/cypress-io/cypress/pull/30770).
129129
- The `experimentalSkipDomainInjection` configuration has been removed and replaced with an `injectDocumentDomain` configuration. Addressed in [#30770](https://github.com/cypress-io/cypress/pull/30770).
130130
- It is no longer possible to make a `fetch` or `XMLHttpRequest` request from the `about:blank` page in Electron (i.e. `cy.window().then((win) => win.fetch('<some-url>'))`). You must use `cy.request` instead or perform some form of initial navigation via `cy.visit()`. Addressed in [#30394](https://github.com/cypress-io/cypress/pull/30394).
131131
- The `experimentalJustInTimeCompile` configuration option for component testing has been replaced with a `justInTimeCompile` option that is `true` by default. 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. `justInTimeCompile` is now only supported for [`webpack`](https://www.npmjs.com/package/webpack). Addresses [#30234](https://github.com/cypress-io/cypress/issues/30234). Addressed in [#30641](https://github.com/cypress-io/cypress/pull/30641).
@@ -153,7 +153,7 @@ Refer to the [v14 Migration Guide](/app/references/migration-guide#Migrating-to-
153153

154154
- The `resourceType` option on `cy.intercept` has been deprecated. We anticipate the resource types to change or be completely removed in the future. Our intention is to replace essential functionality dependent on the `resourceType` within Cypress in a future version (like hiding network logs that are not fetch/xhr). Please leave feedback on any essential uses of `resourceType`
155155
in this [GitHub issue](https://github.com/cypress-io/cypress/issues/30447). Addresses [#30433](https://github.com/cypress-io/cypress/issues/30433).
156-
- The new `injectDocumentDomain` configuration option is released as deprecated. It will be removed in Cypress 15. Addressed in [#30770](https://github.com/cypress-io/cypress/pull/30770).
156+
- The new `injectDocumentDomain` configuration option is released as deprecated. It will be removed in a future version of Cypress. Addressed in [#30770](https://github.com/cypress-io/cypress/pull/30770).
157157

158158
**Features:**
159159

docs/app/references/configuration.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ between subdomains](/app/guides/cross-origin-testing), but comes with compatibil
608608
caveats for some sites.
609609

610610
This configuration option is provided to ease the transition between `cy.origin()`'s behavior
611-
in Cypress 13 and the default behavior in Cypress 14. It will be removed in Cypress 15.
611+
in Cypress 13 and the default behavior in Cypress 14. It will be removed in a future version of Cypress.
612612
[Read the Cypress 14 migration guide](/app/references/migration-guide#Migrating-to-Cypress-140) to understand how to update your tests to remove
613613
the need to set this flag.
614614

docs/partials/_document-domain-workaround.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ when navigating between `https://www.cypress.io` and `https://www.auth0.com`.
2020

2121
- This will cause issues with certain sites, especially those that use
2222
[origin-keyed agent cluster](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin-Agent-Cluster)s.
23-
- This option is deprecated, and will be removed in Cypress 15.
23+
- This option is deprecated, and will be removed in a future version of Cypress.
2424
:::

0 commit comments

Comments
 (0)