From 8ba52401390126ad7f31264505cb3cc4999f1006 Mon Sep 17 00:00:00 2001 From: Alex Schwartz Date: Thu, 14 Nov 2024 18:03:03 -0500 Subject: [PATCH 1/4] docs: add defaultBrowser config option (#5991) --- docs/app/references/configuration.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/app/references/configuration.mdx b/docs/app/references/configuration.mdx index 4c158df00b..1ab8a59bf6 100644 --- a/docs/app/references/configuration.mdx +++ b/docs/app/references/configuration.mdx @@ -146,6 +146,7 @@ For more options regarding screenshots, view the | Option | Default | Description | | ----------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `defaultBrowser` | `null` | The default browser to launch if the "--browser" command line option is not provided. This option only affects the first browser launch; changing this option after the browser is already launched will have no effect. | | `chromeWebSecurity` | `true` | Whether to enable Chromium-based browser's Web Security for same-origin policy and insecure mixed content. | | `blockHosts` | `null` | A String or Array of hosts that you wish to block traffic for. [Please read the notes for examples on using this.](#blockHosts) | | `modifyObstructiveCode` | `true` | Whether Cypress will search for and replace obstructive JS code in `.js` or `.html` files. [Please read the notes for more information on this setting.](#modifyObstructiveCode) | From fb9fab5c9c6af22e2eec66182b1c6e1be10dddb6 Mon Sep 17 00:00:00 2001 From: Matthew Schile Date: Tue, 19 Nov 2024 10:34:32 -0700 Subject: [PATCH 2/4] updating changelog --- docs/app/references/changelog.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/app/references/changelog.mdx b/docs/app/references/changelog.mdx index 88609d0bcf..f489219c01 100644 --- a/docs/app/references/changelog.mdx +++ b/docs/app/references/changelog.mdx @@ -2,6 +2,22 @@ title: Changelog --- +## 13.16.0 + +_Released 11/19/2024_ + +**Features:** + +- Added new [`defaultBrowser`](https://docs.cypress.io/app/references/configuration#Browser) configuration option to specify the default browser to launch. This option only affects the first browser launch; changing this option after the browser is already launched will have no effect. Addresses [#6646](https://github.com/cypress-io/cypress/issues/6646). + +**Bugfixes:** + +- Fixed an issue where some JS assets were not properly getting sourcemaps included with the vite dev server if they had a cache busting query parameter in the URL. Fixed some scenarios to ensure that the sourcemaps that were included by the vite dev server were inlined. Addressed in [#30606](https://github.com/cypress-io/cypress/pull/30606). + +**Misc:** + +- Updated the protocol to be able to flex logic based on project config. Addresses [#30560](https://github.com/cypress-io/cypress/issues/30560). + ## 13.15.2 _Released 11/5/2024_ From 1734770f8ff2d734fe4c126c643cb85f309f0987 Mon Sep 17 00:00:00 2001 From: Matthew Schile Date: Tue, 19 Nov 2024 10:45:59 -0700 Subject: [PATCH 3/4] update history --- docs/app/references/configuration.mdx | 39 ++++++++++++++------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/docs/app/references/configuration.mdx b/docs/app/references/configuration.mdx index 1ab8a59bf6..08ba5d93da 100644 --- a/docs/app/references/configuration.mdx +++ b/docs/app/references/configuration.mdx @@ -713,25 +713,26 @@ DEBUG=cypress:cli,cypress:data-context:sources:FileDataSource,cypress:data-conte ## History -| Version | Changes | -| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | -| [13.4.0](/app/references/changelog#13-4-0) | Added support for configuring the Experimental Flake Detection strategy via `retries.experimentalStrategy` and `retries.experimentalOptions`. | -| [13.0.0](/app/references/changelog#13-0-0) | Removed `nodeVersion` option. | -| [13.0.0](/app/references/changelog#13-0-0) | Removed `videoUploadOnPasses` option. | -| [11.0.0](/app/references/changelog#11-0-0) | Removed `e2e.experimentalSessionAndOrigin` option. | -| [10.4.0](/app/references/changelog#10-4-0) | Added `e2e.testIsolation` option. | -| [10.0.0](/app/references/changelog#10-0-0) | Reworked page to support new `cypress.config.js` and deprecated `cypress.json` files. | -| [8.7.0](/app/references/changelog#8-7-0) | Added `slowTestThreshold` option. | -| [8.0.0](/app/references/changelog#8-0-0) | Added `clientCertificates` option and removed `firefoxGcInterval` configuration. | -| [7.0.0](/app/references/changelog#7-0-0) | Added `e2e` and `component` options. | -| [7.0.0](/app/references/changelog#7-0-0) | Added `redirectionLimit` option. | -| [6.1.0](/app/references/changelog#6-1-0) | Added `scrollBehavior` option. | -| [5.2.0](/app/references/changelog#5-2-0) | Added `includeShadowDom` option. | -| [5.0.0](/app/references/changelog#5-0-0) | Added `retries` configuration. | -| [5.0.0](/app/references/changelog#5-0-0) | Renamed `blacklistHosts` configuration to `blockHosts`. | -| [4.1.0](/app/references/changelog#4-12-0) | Added `screenshotOnRunFailure` configuration. | -| [4.0.0](/app/references/changelog#4-0-0) | Added `firefoxGcInterval` configuration. | -| [3.5.0](/app/references/changelog#3-5-0) | Added `nodeVersion` configuration. | +| Version | Changes | +| -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| [13.16.0](/app/references/changelog#13-16-0) | Added `defaultBrowser` option. | +| [13.4.0](/app/references/changelog#13-4-0) | Added support for configuring the Experimental Flake Detection strategy via `retries.experimentalStrategy` and `retries.experimentalOptions`. | +| [13.0.0](/app/references/changelog#13-0-0) | Removed `nodeVersion` option. | +| [13.0.0](/app/references/changelog#13-0-0) | Removed `videoUploadOnPasses` option. | +| [11.0.0](/app/references/changelog#11-0-0) | Removed `e2e.experimentalSessionAndOrigin` option. | +| [10.4.0](/app/references/changelog#10-4-0) | Added `e2e.testIsolation` option. | +| [10.0.0](/app/references/changelog#10-0-0) | Reworked page to support new `cypress.config.js` and deprecated `cypress.json` files. | +| [8.7.0](/app/references/changelog#8-7-0) | Added `slowTestThreshold` option. | +| [8.0.0](/app/references/changelog#8-0-0) | Added `clientCertificates` option and removed `firefoxGcInterval` configuration. | +| [7.0.0](/app/references/changelog#7-0-0) | Added `e2e` and `component` options. | +| [7.0.0](/app/references/changelog#7-0-0) | Added `redirectionLimit` option. | +| [6.1.0](/app/references/changelog#6-1-0) | Added `scrollBehavior` option. | +| [5.2.0](/app/references/changelog#5-2-0) | Added `includeShadowDom` option. | +| [5.0.0](/app/references/changelog#5-0-0) | Added `retries` configuration. | +| [5.0.0](/app/references/changelog#5-0-0) | Renamed `blacklistHosts` configuration to `blockHosts`. | +| [4.1.0](/app/references/changelog#4-12-0) | Added `screenshotOnRunFailure` configuration. | +| [4.0.0](/app/references/changelog#4-0-0) | Added `firefoxGcInterval` configuration. | +| [3.5.0](/app/references/changelog#3-5-0) | Added `nodeVersion` configuration. | ## See also From 66de7dbb73b8252fad673ba4ea96a9cefe4217e3 Mon Sep 17 00:00:00 2001 From: Matt Schile Date: Tue, 19 Nov 2024 10:48:40 -0700 Subject: [PATCH 4/4] Update docs/app/references/changelog.mdx Co-authored-by: Bill Glesias --- docs/app/references/changelog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/app/references/changelog.mdx b/docs/app/references/changelog.mdx index f489219c01..05cf8b97ee 100644 --- a/docs/app/references/changelog.mdx +++ b/docs/app/references/changelog.mdx @@ -8,7 +8,7 @@ _Released 11/19/2024_ **Features:** -- Added new [`defaultBrowser`](https://docs.cypress.io/app/references/configuration#Browser) configuration option to specify the default browser to launch. This option only affects the first browser launch; changing this option after the browser is already launched will have no effect. Addresses [#6646](https://github.com/cypress-io/cypress/issues/6646). +- Added new [`defaultBrowser`](/app/references/configuration#Browser) configuration option to specify the default browser to launch. This option only affects the first browser launch; changing this option after the browser is already launched will have no effect. Addresses [#6646](https://github.com/cypress-io/cypress/issues/6646). **Bugfixes:**