---
title: "0.11.4"
url: "https://www.cypress.io/releases/0-11-4"
description: "Features: .should() now accepts a callback function which will be retried until it does not throw. The callback function will be retried in the exact same way…"
---

# 0.11.4

ReleasedReleased on September 16, 2015

**Features:**

-   [`.should()`](/api/commands/should) now accepts a callback function which will be retried until it does not throw. The callback function will be retried in the exact same way as passing regular string-based chainers to [`.should()`](/api/commands/should). Having a callback function gives you an opportunity to _massage_ the expected subject such as comparing multiple elements, creating an array of text or classes, etc.
    

**Deprecations:**

-   `cy.wait(function)` has been deprecated and you can safely rename this command to [`.should()`](/api/commands/should).
    

**Misc:**

-   All of the docs surrounding [assertions](/app/core-concepts/introduction-to-cypress#Assertions), [`.should()`](/api/commands/should), and [`.and()`](/api/commands/and) have been updated to reflect the new API.