From f7887e64e18cbc0b2a0d852b2673e953b188e6d3 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Mon, 28 Oct 2019 14:13:57 -0400 Subject: [PATCH 1/6] Write 3.5.1 changelog --- source/_changelogs/3.5.1.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source/_changelogs/3.5.1.md diff --git a/source/_changelogs/3.5.1.md b/source/_changelogs/3.5.1.md new file mode 100644 index 0000000000..30e9f34485 --- /dev/null +++ b/source/_changelogs/3.5.1.md @@ -0,0 +1,14 @@ +# 3.5.1 + +*Released 10/28/2019* + +**Bugfixes:** + +- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where the maximum size of an HTTP header or body in a stubbed {% url "`cy.route()`" route %} was limited to 8kb causing requests to fail with a 431 HTTP error. Fixes {% issue 5431 %}. +- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that would throw an error during `cypress verify` when running as a non-root user on a non-Windows machine. We now always set the `--no-sandbox` flag when verifying in Electron, even when running as a non-root user. Fixes {% issue 5434 %}. +- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where sometimes cookies were not set on the correct URL during a redirect inside of a {% url "`cy.visit()`" visit %} or {% url "`cy.request()`" request %}. Fixes {% issue 5432 %}. +- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} causing environment variables containing unicode values to be incorrectly resolved when read via {% url "`Cypress.env()`" env %}. Fixes {% issue 5435 %}. + +**Misc:** + +- We no longer log the default option `{multiple: true}` in the Command Log or the console during {% url "`cy.dblclick()`" dblclick %}. Addresses {% issue 5406 %}. From d9c0ee442f4b924155d25784ae6cf0f379003a48 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Tue, 29 Oct 2019 18:12:20 -0400 Subject: [PATCH 2/6] Add new bugfixes for 3.5.1 --- source/_changelogs/3.5.1.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/_changelogs/3.5.1.md b/source/_changelogs/3.5.1.md index 30e9f34485..6fc424b2d1 100644 --- a/source/_changelogs/3.5.1.md +++ b/source/_changelogs/3.5.1.md @@ -1,13 +1,17 @@ # 3.5.1 -*Released 10/28/2019* +*Released 10/30/2019* **Bugfixes:** -- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where the maximum size of an HTTP header or body in a stubbed {% url "`cy.route()`" route %} was limited to 8kb causing requests to fail with a 431 HTTP error. Fixes {% issue 5431 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that would throw an error during `cypress verify` when running as a non-root user on a non-Windows machine. We now always set the `--no-sandbox` flag when verifying in Electron, even when running as a non-root user. Fixes {% issue 5434 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where sometimes cookies were not set on the correct URL during a redirect inside of a {% url "`cy.visit()`" visit %} or {% url "`cy.request()`" request %}. Fixes {% issue 5432 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} causing environment variables containing unicode values to be incorrectly resolved when read via {% url "`Cypress.env()`" env %}. Fixes {% issue 5435 %}. +- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that prevented use of `.click()` or `.type()` inside of an iframe element. Fixes {% issue 5449 %}. Fixes {% issue 5435 %}. +- We now throw the proper error message when an element cannot be interacted with due to being covered by an element with `position:fixed`. Fixes {% issue 5430 %}. +- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that caused some `click` events to not be sent to the correct elements during `.click()`. Fixes {% issue 5459 %} +- We updated `.type()` to properly respect focus selection changes during typing. Fixes {% issue 5456 %}. +- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that caused selected text to be overwritten while typing a modifer key during `.type()`. Fixes {% issue 5439 %}. **Misc:** From e53b5bee3d50fdc4eb88749eedceb653f7f4d721 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Tue, 29 Oct 2019 18:21:30 -0400 Subject: [PATCH 3/6] Add new bugfixes to 3.5.1 --- source/_changelogs/3.5.1.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_changelogs/3.5.1.md b/source/_changelogs/3.5.1.md index 6fc424b2d1..935cba2b33 100644 --- a/source/_changelogs/3.5.1.md +++ b/source/_changelogs/3.5.1.md @@ -9,9 +9,11 @@ - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} causing environment variables containing unicode values to be incorrectly resolved when read via {% url "`Cypress.env()`" env %}. Fixes {% issue 5435 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that prevented use of `.click()` or `.type()` inside of an iframe element. Fixes {% issue 5449 %}. Fixes {% issue 5435 %}. - We now throw the proper error message when an element cannot be interacted with due to being covered by an element with `position:fixed`. Fixes {% issue 5430 %}. -- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that caused some `click` events to not be sent to the correct elements during `.click()`. Fixes {% issue 5459 %} +- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that caused some `click` events to not be sent to the correct elements during `.click()`. Fixes {% issue 5459 %}. - We updated `.type()` to properly respect focus selection changes during typing. Fixes {% issue 5456 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that caused selected text to be overwritten while typing a modifer key during `.type()`. Fixes {% issue 5439 %}. +- We now send all the proper events during `.type()` to input elements with type `date`, `time`, and `datetime-local` so that it now behaves as it did prior to {% url "3.5.0" changelog-3-5-0 %}. Fixes {% issue 5476 %}. +- We now properly render iframe placeholder content when previewing DOM snapshots. Fixes {% issue 5295 %}. **Misc:** From c76481b5aff946971177be546f1d7263291678ee Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Wed, 30 Oct 2019 12:13:17 -0400 Subject: [PATCH 4/6] Add 431 fix to 3.5.1 changelog --- source/_changelogs/3.5.1.md | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_changelogs/3.5.1.md b/source/_changelogs/3.5.1.md index 935cba2b33..7c6b1ff541 100644 --- a/source/_changelogs/3.5.1.md +++ b/source/_changelogs/3.5.1.md @@ -4,6 +4,7 @@ **Bugfixes:** +- We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where the maximum size of an HTTP header or body in a stubbed {% url "`cy.route()`" route %} was limited to 8kb causing requests to fail with a 431 HTTP error. Fixes {% issue 5431 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that would throw an error during `cypress verify` when running as a non-root user on a non-Windows machine. We now always set the `--no-sandbox` flag when verifying in Electron, even when running as a non-root user. Fixes {% issue 5434 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where sometimes cookies were not set on the correct URL during a redirect inside of a {% url "`cy.visit()`" visit %} or {% url "`cy.request()`" request %}. Fixes {% issue 5432 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} causing environment variables containing unicode values to be incorrectly resolved when read via {% url "`Cypress.env()`" env %}. Fixes {% issue 5435 %}. From 905659329d7be47a0d9ca50d83dd2864cf5bdc2f Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Thu, 31 Oct 2019 10:59:41 -0400 Subject: [PATCH 5/6] Add new fixes to 3.5.1. --- source/_changelogs/3.5.1.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_changelogs/3.5.1.md b/source/_changelogs/3.5.1.md index 7c6b1ff541..c5367c3c55 100644 --- a/source/_changelogs/3.5.1.md +++ b/source/_changelogs/3.5.1.md @@ -5,6 +5,7 @@ **Bugfixes:** - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where the maximum size of an HTTP header or body in a stubbed {% url "`cy.route()`" route %} was limited to 8kb causing requests to fail with a 431 HTTP error. Fixes {% issue 5431 %}. +- We fixed a bug where certain types of uncaught errors originating from the application under test would not route through the {% url "`uncaught:exception`" catalog-of-events#Uncaught-Exceptions %} handler, and thus could not caught and ignored. These errors will also now correctly indicate that they came from application code. Fixes {% issue 987 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} that would throw an error during `cypress verify` when running as a non-root user on a non-Windows machine. We now always set the `--no-sandbox` flag when verifying in Electron, even when running as a non-root user. Fixes {% issue 5434 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} where sometimes cookies were not set on the correct URL during a redirect inside of a {% url "`cy.visit()`" visit %} or {% url "`cy.request()`" request %}. Fixes {% issue 5432 %}. - We fixed a regression in {% url "3.5.0" changelog-3-5-0 %} causing environment variables containing unicode values to be incorrectly resolved when read via {% url "`Cypress.env()`" env %}. Fixes {% issue 5435 %}. @@ -19,3 +20,4 @@ **Misc:** - We no longer log the default option `{multiple: true}` in the Command Log or the console during {% url "`cy.dblclick()`" dblclick %}. Addresses {% issue 5406 %}. +- The text color of inactive tabs within the Cypress Chrome browser has been set to white for better readability. Addresses {% issue 1661 %}. From 0c887f4a7750e50bb29b82d592085512e4bbd0da Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Thu, 31 Oct 2019 11:00:06 -0400 Subject: [PATCH 6/6] Update date for release --- source/_changelogs/3.5.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_changelogs/3.5.1.md b/source/_changelogs/3.5.1.md index c5367c3c55..ea68a18958 100644 --- a/source/_changelogs/3.5.1.md +++ b/source/_changelogs/3.5.1.md @@ -1,6 +1,6 @@ # 3.5.1 -*Released 10/30/2019* +*Released 10/31/2019* **Bugfixes:**