Skip to content

Commit

Permalink
chore: release 13.7.0 (#5750)
Browse files Browse the repository at this point in the history
* chore: add preliminary changlelog for 13.6.7 release

* Adds section to cy.screenshot() about Chromium tab activation behavior (#5735)

* Adds section to cy.screenshot() about Chromium tab activation behavior

* typo

* update changelog with latest

* Update changelog.mdx - relative links

* Update docs/api/commands/screenshot.mdx

Co-authored-by: Bill Glesias <[email protected]>

* Update docs/guides/references/changelog.mdx

Co-authored-by: Bill Glesias <[email protected]>

* Update docs/guides/references/changelog.mdx

Co-authored-by: Bill Glesias <[email protected]>

* Update docs/guides/references/changelog.mdx

Co-authored-by: Bill Glesias <[email protected]>

* Update docs/guides/references/changelog.mdx

Co-authored-by: Bill Glesias <[email protected]>

* link to packages in dependency update changelog section

* add release date

---------

Co-authored-by: Bill Glesias <[email protected]>
  • Loading branch information
cacieprins and AtofStryker authored Mar 13, 2024
1 parent aa31f10 commit 49b2d71
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/api/commands/screenshot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,17 @@ cy.screenshot()
cy.get('.sticky-header').invoke('css', 'position', null)
```

### Chromium-specific behavior with regard to tabs

Chromium will not capture screenshots when the renderer process for the Cypress
tab is paused. This most often happens if a new tab was opened by clicking on
an anchor with `target="_blank"`. To accommodate capturing screenshots in this
situation, Cypress will attempt to activate the Cypress tab when a screenshot is
captured. We make our best effort to activate the tab via our Chromium extension.
If the extension is disabled, Cypress will force the main tab to the front. This
will cause the browser to steal focus in open mode. To prevent Cypress from
stealing focus, [ensure that the extension is enabled](/guides/references/troubleshooting#Allow-the-Cypress-Chrome-extension).

## Rules

### Requirements [<Icon name="question-circle"/>](/guides/core-concepts/introduction-to-cypress#Chains-of-Commands) {#Requirements}
Expand Down
33 changes: 33 additions & 0 deletions docs/guides/references/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@
title: Changelog
---

## 13.7.0

_Released 3/13/2024_

**Features:**

- Added shadow DOM snapshot support within Test Replay in order to highlight elements correctly within the Cypress reporter. Addressed in [#28823](https://github.com/cypress-io/cypress/pull/28823).
- Added TypeScript support for [Vue 2.7+](https://github.com/vuejs/vue/blob/main/CHANGELOG.md#270-2022-07-01). Addresses [#28591](https://github.com/cypress-io/cypress/issues/28591).
- Adds additional context to error messages displayed when Test Replay artifacts fail to upload. Addressed in [#28986](https://github.com/cypress-io/cypress/pull/28986).

**Performance:**

- Fixed a performance regression from [`13.6.3`](/guides/references/changelog#13-6-3) where unhandled service worker requests may not correlate correctly. Fixes [#28868](https://github.com/cypress-io/cypress/issues/28868).
- Reduces the number of attempts to retry failed Test Replay artifact uploads from 8 to 3, to reduce time spent on artifact upload attempts that will not succeed. Addressed in [#28986](https://github.com/cypress-io/cypress/pull/28986).

**Bugfixes:**

- Changed screenshot capture behavior in Chromium to activate the main Cypress tab before capturing. This prevents screenshot capture from timing out in certain situations. Fixed in [#29038](https://github.com/cypress-io/cypress/pull/29038). Fixes [#5016](https://github.com/cypress-io/cypress/issues/5016)
- Fixed an issue where `.click()` commands on children of disabled elements would still produce "click" events -- even without `{ force: true }`. Fixes [#28788](https://github.com/cypress-io/cypress/issues/28788).
- Changed RequestBody type to allow for boolean and null literals to be passed as body values. [#28789](https://github.com/cypress-io/cypress/issues/28789).

**Misc:**

- Changed Component Testing scaffolding instruction to `pnpm add` to add framework dependencies when a project uses `pnpm` as package manager. Addresses [#29052](https://github.com/cypress-io/cypress/issues/29052).
- Command messages in the Cypress command logs will now truncate display at 100 lines instead of 50. Fixes [#29023](https://github.com/cypress-io/cypress/issues/29023).
- Capture the `beforeTest` timestamp inside the browser for the purposes of accurately determining test start for Test Replay. Addressed in [#29061](https://github.com/cypress-io/cypress/pull/29061).

**Dependency Updates:**

- Updated [`jimp`](https://www.npmjs.com/package/jimp) from `0.14.0` to `0.22.12`. Addressed in [#29055](https://github.com/cypress-io/cypress/pull/29055).
- Updated [`http-proxy-middleware`](https://www.npmjs.com/package/http-proxy-middleware) from `2.0.4` to `2.0.6`. Addressed in [#28902](https://github.com/cypress-io/cypress/pull/28902).
- Updated [`signal-exit`](https://www.npmjs.com/package/signal-exit) from `3.0.3` to `3.0.7`. Addressed in [#28979](https://github.com/cypress-io/cypress/pull/28979).

## 13.6.6

_Released 2/22/2024_
Expand Down

0 comments on commit 49b2d71

Please sign in to comment.