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

## Executive Summary (TL;DR)
Cypress v4.8.0. Source highlight: You can now apply certain test configuration for the duration of a suite or test by passing a configuration object to the test or suite as the second argument. Addresses #7167.

## New Features
- We added experimental shadow DOM support through the `experimentalShadowDomSupport` option. See the Experiments page for more information. Addresses #144.
- TypeScript types for `Cypress.automation` have been added. Addresses #7519.

## Bug Fixes
- Upon domain navigation, `before` and `after` hooks defined in completed suites no longer erroneously rerun. Fixes #1987.
- Errors thrown within root level `after` hooks now correctly display in the Test Runner's Command Log. Fixes #2296.
- We fixed a regression in 4.6.0 where an XHR response without a body would cause Cypress to throw `Cannot read property '__error' of null`. Fixes #7518.
- We fixed a regression in 4.6.0 where using `cy.visit()` to an authenticated URL would error with `Request cannot be constructed from a URL that includes credentials: /__cypress/runner/./wasm/mappings.wasm` Fixes #7481.
- We now properly load code from the `pluginsFile` or `supportFile` when they are TypeScript files. Fixes #7459.
- utf-8 characters now properly display within error code frames. Fixes #7507.
