Impact Score: 5/10
Cypress: 0.16.2
Source available โ automated, not human-reviewed
Component: cypress ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-01.
โก Executive Summary (TL;DR)
Cypress v0.16.2. Source highlight: *Released 06/11/2016*
Who Does This Impact? (Role-Based Analysis)
๐ป Software Engineers & Devs
Check the source notes against the package and APIs you use before upgrading.
๐ Product & Engineering Leads
Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.
โ๏ธ DevOps & Security
Verify the target version, runtime requirements and rollback procedure in the official documentation.
โจ New Features & Capabilities (3)
- Added new cy.screenshot() command which can take screenshots on demand.
- Added new screenshotsFolder configuration option with default of `cypress/screenshots`.
- Added new .each() command which iterates serially on a collection yielding the iteratee, the index, and the collection. Addresses #156.
๐ง Bug Fixes & Patches (3)
- cy.exec() now outputs additional `stderr` and `stdout` information. It additionally will automatically `source` your `$SHELL` which makes GUI apps behave as if they've been launched from your terminal. Fixes #153 and #154.
- cy.contains() no longer returns the last element found when siblings both contain the same content. Fixes #158.
- cy.contains() now provides an even more specific error message when it was scoped to a particular DOM element and contained a selector. Fixes #160.
๐ View Raw Release Notes (Original Developer Log)
*Released 06/11/2016*
**Features:**
- Added new [cy.screenshot()](https://on.cypress.io/screenshot) command which can take screenshots on demand.
- When running `cypress run` or in CI, Cypress will now automatically take a screenshot when a test fails. You can optionally turn this off by setting [screenshotOnHeadlessFailure](https://on.cypress.io/configuration#Screenshots) to `false` in your configuration.
- Added new [screenshotsFolder](https://on.cypress.io/configuration#Screenshots) configuration option with default of `cypress/screenshots`.
- When running in [Circle CI](https://circleci.com/), we automatically export screenshots as artifacts which makes them available directly in their web UI. If you're using Circle CI, you'll be able to see screenshots without doing anything. If you're using [Travis CI](https://travis-ci.org/), you'll need to upload artifacts to an `s3 bucket`. This is a small slice of what is coming to help diagnose and understand errors in CI. Also in `0.17.0` we will automatically scroll the tests and more intelligently and open / close test commands so you can visually see what happened. Currently you may not see the test command's failure in the Command Log due to the view not scrolling.
- Added new [.each()](https://on.cypress.io/each) command which iterates serially on a collection yielding the iteratee, the index, and the collection. Addresses [#156](https://github.com/cypress-io/cypress/issues/156).
- [cy.route()](https://on.cypress.io/route) can now accept a single function and/or you can pass a function to the `response` property. This allows you to lazily evaluate routing responses. Great for referencing fixtures. Addresses [#152](https://github.com/cypress-io/cypress/issues/152).
- [cy.contains()](https://on.cypress.io/contains) now accepts a regular expression. Addresses [#158](https://github.com/cypress-io/cypress/issues/158).
- [.type()](https://on.cypress.io/type) now accepts `{downarrow}` and `{uparrow}`. We do not move the caret but do fire all the proper events. Addresses [#157](https://github.com/cypress-io/cypress/issues/157).
**Bugfixes:**
- [cy.exec()](https://on.cypress.io/exec) now outputs additional `stderr` and `stdout` information. It additionally will automatically `source` your `$SHELL` which makes GUI apps behave as if they've been launched from your terminal. Fixes [#153](https://github.com/cypress-io/cypress/issues/153) and [#154](https://github.com/cypress-io/cypress/issues/154).
- [.then()](https://on.cypress.io/then) yielding nested subjects.
- [cy.contains()](https://on.cypress.io/contains) no longer returns the last element found when siblings both contain the same content. Fixes [#158](https://github.com/cypress-io/cypress/issues/158).
- Cypress no longer errors when you return a raw DOM element. It now correctly wraps this as the new subject.
**Misc:**
- [cy.contains()](https://on.cypress.io/contains) now provides an even more specific error message when it was scoped to a particular DOM element and contained a selector. Fixes [#160](https://github.com/cypress-io/cypress/issues/160).
- You will now see a very specific error message when we detect that you've mixed up `async` and `sync` code in a [.then()](https://on.cypress.io/then) callback function. An example would be queuing up a new cypress command but then synchronously returning a different value.