# Cypress v4.6.0 — Release & Upgrade Intelligence
- **Product:** Cypress (https://www.cypress.io)
- **Version:** v4.6.0
- **Released:** May 20, 2020
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/cypress/updates/v4.6.0/

## Executive Summary (TL;DR)
Cypress v4.6.0. Source highlight: *Released 5/20/2020*

## Improvements
- Cypress now utilizes source maps to enhance the error experience. Stack traces are translated so that your source files are shown instead of the generated file that is loaded by the browser. Cypress will include an inline source map in your spec file. If you modify the preprocessor, ensure that inline source maps are enabled to get the same experience. Users of `@cypress/webpack-preprocessor` should upgrade to v5.4.1 or later of the package which will correctly inline source maps. Addresses #881
- We improved error handling when Cypress launches Chromium-family browsers. Addresses #6518.

## Bug Fixes
- Default TypeScript options are now set to `module: commonJS` which Node.js and the browser expect. This fixes a situation where setting a different module in a `tsconfig.json` would cause errors to throw if you had `export`, `import` or `async` keywords in your code. Fixes #7005, #7011, #7043, and #7151.
- When `experimentalSourceRewriting` is enabled, setting `location` or `location.href` to a relative href, or using `location.replace` or `location.assign` with a relative href will no longer navigate the AUT to the wrong URL. Fixes #3975 and #3994.
- When `experimentalSourceRewriting` is enabled, the use of `window.top` and `window.parent` will no longer cause the AUT to break out of the Cypress iframe. Fixes #5271 and #1467.
- When `experimentalSourceRewriting` is enabled, calls to `window.frames`, `window.parent.frames`, and other `frames` will no longer point to the wrong reference after being proxied through Cypress. Fixes #2664.
- When `experimentalSourceRewriting` is enabled, scripts using the `integrity` attribute for sub-resource integrity (SRI) will now load after being proxied through Cypress. Fixes #2393.
- When `experimentalSourceRewriting` is enabled, the use of `document.location` to set the URL will no longer navigate the AUT to the wrong URL. Fixes #7402.
