# Cypress v3.1.1 — Release & Upgrade Intelligence
- **Product:** Cypress (https://www.cypress.io)
- **Version:** v3.1.1
- **Released:** Nov 07, 2018
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/cypress/updates/v3.1.1/

## Executive Summary (TL;DR)
Cypress v3.1.1. Source highlight: *Released 11/2/2018*

## New Features
- Added `flag` option to `cy.writeFile()` doc.
- Added `runUrl` to returned run in Module API doc.

## Bug Fixes
- You can now pass a `flag` option to `cy.writeFile()`. The following flags are available. Fixes #1249.
- There is a new `CYPRESS_DOWNLOAD_MIRROR` environment variable for installing Cypress at a mirror url. Fixes #2609.
- The Module API now returns the `runUrl` from `cypress.run()`. Fixes #2596.
- Specs now properly display as focused when navigating through specs via the keyboard. Fixes #2273.
- Fixed a bug where Cypress would error when a secure cookie flag was set and then expired from an `https` url without the subsequent secure flag. Due to the way Cypress was constructing the url, this would fail to actually remove the cookie. Fixes #1264, #1321, #1799.
- We now truncate filenames for screenshots to not exceed 255 characters in length. Previously there were cases where the screenshot filename would exceed 255 characters and error. Fixes #2403 and #2665.
