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
On this page
Latest version 0.17.3. Source repository
Its 0.16.0 release drops Ruby 1.8. Ruby end of life dates.
contracts 0.16.0 breaking changes
- Removed
Ruby 1.8 is no longer supported, so code running on Ruby 1.8 must move to a newer Ruby version. github.com
contracts 0.11.0 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 - 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
contracts 0.9 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.