github cypress-io/cypress v5.5.0
5.5.0

latest releases: @cypress/vite-plugin-cypress-esm-v1.1.1, v13.9.0, @cypress/eslint-plugin-dev-v6.0.0...
3 years ago

Released 10/26/2020

Features:

  • cy.viewport() has a new macbook-16 preset. Addresses #8889.
  • .type() now fires the beforeInput event during typing. Note: Firefox does not support the beforeinput event. Addresses #7088.

Bugfixes:

  • Updated the Cypress proxy layer to proxy HTTPS traffic from non-AUT origins. Addressed in #8827.
    • This fixed an issue with cy.route2 where HTTPS requests to a non-AUT origin would not be intercepted as expected.
  • cy.route2() now properly handles passing a method as its first argument. Fixes #8729.
  • Fixed an issue with cy.route2() where a "Cannot set property response of undefined" error would occasionally occur. Fixes #8858.
  • Headers field names passed to `cy.route2() now case-insensitively match against the field names of incoming HTTP requests. Fixes #8921.
  • Routes that stub fixtures for binary resources (including images) made with cy.route2() now serve the correct mime-type and content. Fixes #8623.
  • When experimentalNetworkStubbing is enabled, using cy.visit() to URLs that redirect and set Transfer-Encoding: chunked will no longer fail in Cypress with a "Parse Error". Fixes #8497.
  • cypress.run() through the Module API now has a status property in the results matching the correct CLI types ("failed" or "finished"). Addresses #8798.
  • When a value containing an e character is passed to the --ci-build-id flag, Cypress now properly reads it as a string. Fixes #8874.

Misc:

  • Updated type definitions to allow for passed either runMode or openMode to retries alone. Addresses #8869.

Dependency Updates:

  • Upgraded electron from 10.1.3 to 10.1.5. Addresses #8927, #8975.
  • Upgraded color-string from 1.5.3 to 1.5.4. Addresses #8945.
  • Upgraded pretty-bytes from ^5.3.0 to ^5.4.1. Addresses #8964.

Don't miss a new cypress release

NewReleases is sending notifications on new releases.