Fixed a regression in 9.4.1 where the
line endings in the public NPM package prevented some users from running
Cypress. Fixes #19986.
9.4.0
Released 1/31/2022
Features
Enhancements were made to .selectFile() after receiving feedback after its
initial release in 9.3.0.
The default behavior was updated to automatically infer the mime type of
files based on their extension to correctly encode file uploads. Addressed
in #19751.
Added the mimeType property so you can explicitly set the mime type on
files using the mimeType property. Addressed in
#19751.
Updated file contents types to allow either a
TypedArray
instance or a Cypress.Buffer instance, where previously file contents were
expected to only be an instance of Cypress.Buffer. Addressed in
#19751.
Updated .selectFile() to retain the fileName of files read from disk to
work with aliases. Addressed in
#19803.
Bugfixes:
Fixed a regression in 9.3.0 to correctly
parse the --spec CLI parameter for glob patterns containing a range. Fixes
#19783.
Fixed regression in 9.2.1 where the
--openssl-legacy-provider flag was not being passed to the plugins' child
process when the user's system Node version was Node 17+ built with OpenSSL
v3+ which resulted in Cypress crashing when trying to run tests. Fixes
#19712.
Update cy.type('{enter}') to align with the W3C standards where a click
event should be dispatched when the Enter key is pressed and the current focus
is on astate-changing element with type button, image, submit or
reset. Fixes #19541.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebase will rebase this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.3.1 to 9.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/cypress-io/cypress/releases">cypress's releases</a>.</em></p>
<blockquote>
<h2>9.4.1</h2>
<p><em>Released 1/31/2022</em></p>
<p><strong>Bugfixes:</strong></p>
<ul>
<li>Fixed a regression in <a href="https://docs.cypress.io/guides/references/changelog#9-3-0">9.4.1</a> where the
line endings in the public NPM package prevented some users from running
Cypress. Fixes <a href="https://github.com/cypress-io/cypress/issues/19986">#19986</a>.</li>
</ul>
<h2>9.4.0</h2>
<p><em>Released 1/31/2022</em></p>
<p><strong>Features</strong></p>
<ul>
<li>Enhancements were made to <code>.selectFile()</code> after receiving feedback after its
initial release in <a href="https://docs.cypress.io/guides/references/changelog#9-3-0">9.3.0</a>.
<ul>
<li>The default behavior was updated to automatically infer the mime type of
files based on their extension to correctly encode file uploads. Addressed
in <a href="https://github.com/cypress-io/cypress/issues/19751">#19751</a>.</li>
<li>Added the <code>mimeType</code> property so you can explicitly set the mime type on
files using the <code>mimeType</code> property. Addressed in
<a href="https://github.com/cypress-io/cypress/issues/19751">#19751</a>.</li>
<li>Updated file contents types to allow either a
<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray"><code>TypedArray</code></a>
instance or a <code>Cypress.Buffer</code> instance, where previously file contents were
expected to only be an instance of <code>Cypress.Buffer</code>. Addressed in
<a href="https://github.com/cypress-io/cypress/issues/19751">#19751</a>.</li>
<li>Updated <code>.selectFile()</code> to retain the fileName of files read from disk to
work with aliases. Addressed in
<a href="https://github.com/cypress-io/cypress/issues/19803">#19803</a>.</li>
</ul>
</li>
</ul>
<p><strong>Bugfixes:</strong></p>
<ul>
<li>Fixed a regression in <a href="https://docs.cypress.io/guides/references/changelog#9-3-0">9.3.0</a> to correctly
parse the <code>--spec</code> CLI parameter for glob patterns containing a range. Fixes
<a href="https://github.com/cypress-io/cypress/issues/19783">#19783</a>.</li>
<li>Fixed regression in <a href="https://docs.cypress.io/guides/references/changelog#9-1-1">9.2.1</a> where the
<code>--openssl-legacy-provider</code> flag was not being passed to the plugins' child
process when the user's system Node version was Node 17+ built with OpenSSL
v3+ which resulted in Cypress crashing when trying to run tests. Fixes
<a href="https://github.com/cypress-io/cypress/issues/19712">#19712</a>.</li>
<li>Update <code>cy.type('{enter}')</code> to align with the W3C standards where a click
event should be dispatched when the Enter key is pressed and the current focus
is on astate-changing element with type <code>button</code>, <code>image</code>, <code>submit</code> or
<code>reset</code>. Fixes <a href="https://github.com/cypress-io/cypress/issues/19541">#19541</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cypress-io/cypress/commit/01a876d0db01a573a780c23458e4ed650776a0e0"><code>01a876d</code></a> release 9.4.1 [skip ci]</li>
<li><a href="https://github.com/cypress-io/cypress/commit/0ebaa14b31474a6610fdd152b1a062d17849339a"><code>0ebaa14</code></a> fix: trigger 9.4.1 build</li>
<li><a href="https://github.com/cypress-io/cypress/commit/03b3f6f6e3d123745bad8637441b2626e028b6c4"><code>03b3f6f</code></a> release 9.4.0 [skip ci]</li>
<li><a href="https://github.com/cypress-io/cypress/commit/99f24863a20f016a48e963997a0dd2982e977b78"><code>99f2486</code></a> fix: move node 17 Check from Binary to CLI (<a href="https://github.com/cypress-io/cypress/issues/19977">#19977</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/a43f3a2cbbb3c18a1b76a0237efab30212711449"><code>a43f3a2</code></a> fix: send click event with <code>cy.type('{enter}')</code>. (<a href="https://github.com/cypress-io/cypress/issues/19726">#19726</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/52aa24b4ceb7a343a608833dd680b70e00d128cc"><code>52aa24b</code></a> Merge pull request <a href="https://github.com/cypress-io/cypress/issues/19943">#19943</a> from cypress-io/update-chrome-stable-from-97.0.4692...</li>
<li><a href="https://github.com/cypress-io/cypress/commit/e3da6bac99377ca8c6a5421d49c6ab2293f0e246"><code>e3da6ba</code></a> chore: Update Chrome (beta) to 98.0.4758.74</li>
<li><a href="https://github.com/cypress-io/cypress/commit/bc87d6eae121cdbd31abd2c36ab1c788b36795b6"><code>bc87d6e</code></a> fix: correct reference branch / commitSha in performance-reporter (<a href="https://github.com/cypress-io/cypress/issues/19941">#19941</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/f5cb2b9a7b836075669663ea6dbd97d13dcb4ba1"><code>f5cb2b9</code></a> test: Honeycomb system-test reporter (<a href="https://github.com/cypress-io/cypress/issues/19855">#19855</a>)</li>
<li><a href="https://github.com/cypress-io/cypress/commit/10c6e5a93b614a6a111f799b7cd3ac1afd44e90a"><code>10c6e5a</code></a> Merge pull request <a href="https://github.com/cypress-io/cypress/issues/19738">#19738</a> from bahmutov/patch-1</li>
<li>Additional commits viewable in <a href="https://github.com/cypress-io/cypress/compare/v9.3.1...v9.4.1">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot rebase` will rebase this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps cypress from 9.3.1 to 9.4.1.
Release notes
Sourced from cypress's releases.
Commits
01a876drelease 9.4.1 [skip ci]0ebaa14fix: trigger 9.4.1 build03b3f6frelease 9.4.0 [skip ci]99f2486fix: move node 17 Check from Binary to CLI (#19977)a43f3a2fix: send click event withcy.type('{enter}'). (#19726)52aa24bMerge pull request #19943 from cypress-io/update-chrome-stable-from-97.0.4692...e3da6bachore: Update Chrome (beta) to 98.0.4758.74bc87d6efix: correct reference branch / commitSha in performance-reporter (#19941)f5cb2b9test: Honeycomb system-test reporter (#19855)10c6e5aMerge pull request #19738 from bahmutov/patch-1Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsadded 3 commits
master6acd7326- Build(deps-dev): bump cypress from 9.3.1 to 9.4.1Compare with previous version
mentioned in commit
97fd907ef1