Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade cypress from 3.7.0 to 3.8.3 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Mar 5, 2020

Snyk has created this PR to upgrade cypress from 3.7.0 to 3.8.3.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
  • The recommended version is 4 versions ahead of your current version.
  • The recommended version was released a month ago, on 2020-01-24.
Release notes
Package name: cypress
  • 3.8.3 - 2020-01-24

    Released 1/24/2020

    Bugfixes:

    • We fixed an error during cypress run indicating could not find CRI target when Cypress was unable to find the tab to control. Fixes #6053.
    • HTTP requests to sites using a TLS version lower than 1.2 now no longer fail. Fixes #5446.
    • cypress verify will no longer error on some systems when -screen is not defined. Fixes #6184.
    • We fixed a regression in 3.5.0 causing cy.type({ force: true }) to no longer forcibly type characters for readonly inputs. Fixes #6116.
    • Generated reports when using custom reporters now have a defined file property. Fixes #1495.

    Misc:

    • Messages from cy.get() are now truncated at 50 lines the Command Log instead of the 1 line. Addresses #6145.
    • We now collect more environment variables for Bamboo CI when recording for the Dashboard. Addresses #4895.

    Dependency Updates:

    • Upgraded electron from 7.1.9 to 7.1.10. Addressed in #6242.
    • Upgraded electron from 7.1.7 to 7.1.9. Addressed in #6180.
    • Upgraded http-status-codes from 1.3.2 to 1.4.0. Addressed in #6134.
    • Upgraded socket.io and socket.io-client from 2.2.0 to 2.3.0. Addressed in #6179.
  • 3.8.2 - 2020-01-10

    Released 01/10/2020

    Bugfixes:

    • We fixed a regression in 3.8.0 on Linux when unzip is not installed where the progress of cypress install would show up to 200%. Fixes #5967
    • Child elements of an element that uses both transform and height or width are now properly seen as visible during visiblity checks. Addresses #5974.
    • We now properly check backface visibility when the parents of a target element have the CSS style transform-style: preserve-3d. Fixes #5682.
    • DOM elements with a width or height of 0 and overflow: hidden are now properly calculated as invisible during visibility checks. Fixes #6093.
    • We fixed a regression in 3.7.0 where using .type() on number inputs to type non-number characters would not type the correct value. Fixes #6055.

    Misc:

    • Messages from cy.log() are now truncated at 50 lines the Command Log instead of the 1 line. Addresses #5625.
    • We now capture GitLab CI's CI_JOB_NAME environment variable. Addressed in #6111.
    • Types for event emitters removeListener and removeAllListeners have been added to Cypress and cy. Addresses #5228.
    • Types for the runUrl property returned from cypress.run() has been added. Addresses #6087.
    • We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #2690 in #5947 and #6075.

    Dependency Updates:

    • Upgraded ansi_up from 4.0.3 to 4.0.4. Addressed in #6074.
    • Upgraded electron from 7.1.4 to 7.1.7. Addressed in #6085.
  • 3.8.1 - 2019-12-26

    Released 12/26/2019

    Bugfixes:

    • We fixed a bug where cypress run --headless would not run Chrome-family browsers headlessly. Fixes #5949.
    • We fixed an issue where, on some systems with IPv4 and IPv6 enabled, Cypress would fail to connect to the Chrome DevTools Protocol while launching Chrome, leading to test failures. Fixes #5912.
    • The strict cookie validation added in 3.5.0 for cy.setCookie(), cy.clearCookie(), and cy.getCookie() has been removed. Fixes #5642.
    • We fixed a regression in 3.8.0 where using .type() on number inputs to type non-number characters or the {enter} special character would not type the correct value. Fixes #5968 and #5997.
    • Configuration values set from the plugin file now display with the correct background color in the Configuration panel in the Test Runner Settings. Fixes #6024.
    • We removed the 'Me' and 'An Organization' selections in the Test Runner when setting up a project to more closely match the Dashboard UI. This also fixes an edge case where a user with no default organizations could potentially be unable to set up a project. Fixes #5954.

    Misc:

    • We updated the fallback error message for visibility checks to be less confusing. Addresses #5982.
    • The type definitions for cy.location() have been improved. Addresses #5574.

    Dependency Updates:

    • Upgraded get-port from 5.0.0 to 5.1.0. Addressed in #6004.
    • Upgraded chrome-remote-interface from 0.28.0 to 0.28.1. Addressed in #6008.
    • Upgraded which from 1.3.1 to 2.0.2. Addressed in #6017.
    • Upgraded ansi_up from 1.3.0 to 4.0.3. Addressed in #4331.
    • Upgraded jimp from 0.6.4 to 0.9.3. Addressed in #4331.
  • 3.8.0 - 2019-12-12

    Released 12/12/2019

    Features:

    • Chrome can now be run in headless mode by using cypress run --headless --browser chrome. Addresses #832.
    • Cypress now accepts a --tag argument to be used to identify separate runs. Any tags assigned will be shown on the run in the Cypress Dashboard. Addresses #2561.
    • The commands .its() and .invoke() now accept an options object to allow changing logging options. Addresses #1450.
    • Cypress will now attempt to use the unzip binary during cypress install before trying the slower, Node.js-based unzipping method. Addresses #3803.
    • Upgraded Electron to 7.1.4. This bumps the internal Node version to 12.8.1 and the internal Chromium version to 78.0.3904.113.

    Bugfixes:

    • We fixed a regression in 3.5.0 where Cypress would crash on Windows when trying to pass a url through --config or --env command line flags. Fixes #5466.
    • We fixed a regression in 3.5.0 where a supplied Cookie header during "cy.visit() visit or cy.request() would be overwritten by the Cookie header generated from the browser's cookie store. Fixes #5894.
    • We fixed a regression in 3.5.0 where cy.getCookie() would incorrectly filter cookies by their domain, leading to unexpected results. Fixes #5656.
    • We fixed a regression in 3.5.0 where calling .type({ force: true }) on hidden inputs would not type the correct characters. Fixes #5835.
    • We fixed a regression in 3.5.0 where .type() was not respecting previous selections if the current value of the input was the same as the key. This also fixed an where .type() would not respect previous selections in non-selectionRange inputs (like email or number inputs). Fixes #5703.
    • During visibility checks, Cypress now properly evaluates a DOM element transformed by scale(0) or rotateY(90deg) as not visible. Fixes #723.
    • Fixed a bug where the specs list in interactive mode would not refresh when files are changed on disk. Fixes #5933.
    • env configuration option displays properly within the settings panel. Previously, setting env options would incorrectly render "undefined" as the value. Fixes #5859.

    Misc:

    • We removed the max viewport size and lowered min viewport size to 0 for cy.viewport() Addresses #5871 and #5892.
    • The Test Runner now shows a non-Chrome logo for browsers passed in via config.browser that are not of the Chrome family. It also supports showing the Firefox logo (in preparation for Firefox browser support). Fixes #5745.
    • We updated the look of some of our icons. Addressed in #5822.
    • We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #2690 in #5643.
    • cy.request will now automatically encode special characters in the request URL, including Unicode. Addresses #5274.
    • You can pass additional Electron launch command line arguments using environment variable ELECTRON_EXTRA_LAUNCH_ARGS. Addresses #5807.

    Dependency Updates:

    • Upgraded ansi-escapes from 4.2.1 to 4.3.0. Addressed in #5815.
    • Upgraded electron-context-menu from 0.11.0 to 0.15.1. Addressed in #5495.
  • 3.7.0 - 2019-11-27

    Released 11/27/2019

    Features:

    Bugfixes:

    • Fixed a regression in 3.5.0 where a cy.visit that changes superdomain would incorrectly clear cookies of other domains. Fixes #5756.
    • Fixed a regression in 3.5.0 where cookies set in a redirect on a cy.visit or in a cy.request with a custom Domain that is not a subdomain of the current domain would fail to set. Fixes #5656.
    • Fixed a regression introduced in 3.5.0 which caused cy.type to send duplicate modifier keys. Fixes #5622.
    • We fixed a regression in 3.6.1 where cy.request() with followRedirect: false would fail if a Set-Cookie header was present in the response. Fixes #5654.
    • The context of window is no longer undefined within the application under test when called within a setTimeout during strict mode. Fixes #5707.
    • Cypress now captures the SHA of builds generated through Travis CI during pull requests. This should resolve issues with Cypress status checks sometimes not running within GitHub Integration. Fixes #5728.
    • Cypress now automatically strips double quotes from --ci-build-id and group flag arguments during cypress run. Fixes #5686.
    • Assertions printed in the Command Log now correctly identify integers from string integers. Fixes #25.
    • Empty spaces are now accurately reflected in the Command Log within assertions. Fixes #1360.
    • Keys printed in the Command Log when using the have.all.keys assertion now correctly display. Fixes #753.
    • We fixed an issue where Cypress would throw an error when using cy.visit() on a cleverapp.io domain. Fixes #5722.
    • Fixed a bug where fixtures consisting only of null would cause an error. Fixes #472.
    • Fixed a bug where, if the Test Runner child process is killed with a signal and does not exit normally, the npm CLI process would not exit with an error. Fixes #5808.

    Misc:

    • Added a new, more specific error message when an item is not visible because it has position: fixed and is being overflowed over. Addresses #1379.
    • cy.visits that cause a superdomain change will now result in 2 requests to the origin server. This should not affect tests, as tests will still re-run on a superdomain change. This is a side-effect of the fix for #5756.
    • The configuration object returned from the plugins file is now validated and will throw a helpful error message when invalid. Addresses #5712.
    • The configuration panel under Settings in the Test Runner now has a white background for better readability. Also each configuration option with nested properties is now collapsible. Addressed in #5068.

    Dependency Updates:

    • Upgraded parse-domain from 2.0.0 to 2.3.4. Addressed in #5726.
from cypress GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment