---
title: "contracts 0.16.0 Breaking Changes on RubyGems | Since.dev"
description: "What each contracts release removed, renamed or changed: 5 breaking changes in 3 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/contracts
last_updated: 2026-12-04
---

# contracts breaking changes

contracts 0.16.0 (April 24, 2017) is its newest release with breaking changes. The first: contracts 0.16.0 drops support for Ruby 1.8. Every breaking API change we have recorded in contracts on RubyGems: 5 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.17.3`. [Source repository](https://github.com/egonSchiele/contracts.ruby)

Its 0.16.0 release drops Ruby 1.8. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.9](#v-0-9) to [0.16.0](#v-0-16-0): 3 breaking changes in 2 versions.

## contracts 0.16.0 breaking changes

contracts 0.16.0, released April 24, 2017: 1 breaking change.

- **Removed**  

Ruby 1.8 is no longer supported, so code running on Ruby 1.8 must move to a newer Ruby version. [github.com](https://github.com/egonSchiele/contracts.ruby/blob/v0.16.0/CHANGELOG.markdown)

## contracts 0.11.0 breaking changes

contracts 0.11.0, released July 30, 2015: 2 breaking changes.

- **Behavior changed** `HashOf`  

A value that is not a hash passed to a HashOf contract now raises an error instead of passing silently. Check that callers pass hashes. [github.com](https://github.com/egonSchiele/contracts.ruby/blob/v0.11.0/CHANGELOG.markdown)
- **Behavior changed** `KeywordArgs`  

Calls to KeywordArgs contracts that pass keys not in the contract now fail instead of being accepted. Remove or correct any extra keys in callers. [github.com](https://github.com/egonSchiele/contracts.ruby/blob/v0.11.0/CHANGELOG.markdown)

## contracts 0.9 breaking changes

contracts 0.9, released April 24, 2015: 2 breaking changes.

- **Behavior changed**  

If the return contract of a pattern-matched function fails, the next pattern-matched function is no longer tried. Code that relied on that fallthrough must be changed. [github.com](https://github.com/egonSchiele/contracts.ruby/blob/v0.9/CHANGELOG.markdown)
- **Behavior changed**  

Defining multiple functions with the same contract for pattern matching now raises an error. Code with such duplicates must be fixed. [github.com](https://github.com/egonSchiele/contracts.ruby/blob/v0.9/CHANGELOG.markdown)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
