---
title: "dry-validation 1.0.0 Breaking Changes on RubyGems"
description: "What each dry-validation release removed, renamed or changed: 34 breaking changes in 15 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/dry-validation
last_updated: 2026-12-04
---

# dry-validation breaking changes

dry-validation 1.0.0 (June 10, 2019) is its newest release with breaking changes. The first: Major rewrite on dry-schema that is not backward-compatible in dry-validation 1.0.0. Every breaking API change we have recorded in dry-validation on RubyGems: 34 breaking changes in 15 versions. Below, its 15 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.11.1`. [Source repository](https://github.com/dry-rb/dry-validation)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.13.0](#v-0-13-0) to [1.0.0](#v-1-0-0): 10 breaking changes in 5 versions.
- From [0.3.0](#v-0-3-0) to [1.0.0](#v-1-0-0): 31 breaking changes in 14 versions.

## dry-validation 1.0.0 breaking changes

dry-validation 1.0.0, released June 10, 2019: 1 breaking change.

- **Behavior changed**  

The 1.0.0 release rewrites the gem on dry-schema using contract classes and is not backward-compatible; existing code must be migrated. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0)

## dry-validation 1.0.0.rc2 breaking changes

dry-validation 1.0.0.rc2, released June 10, 2019: 1 breaking change.

- **Behavior changed** `values`  

In rule blocks, values is a Dry::Validation::Values instance rather than a Dry::Schema::Result. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0.rc2)

## dry-validation 1.0.0.beta2 breaking changes

dry-validation 1.0.0.beta2, released June 10, 2019: 3 breaking changes.

- **Renamed** `Error`  

The Error class is now named Message; update references. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0.beta2)
- **Renamed** `ErrorSet`  

The ErrorSet class is now named MessageSet; update references. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0.beta2)
- **Behavior changed** `:monads`  

The :monads extension now wraps entire result objects in Success or Failure instead of the previous behavior. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0.beta2)

## dry-validation 1.0.0.beta1 breaking changes

dry-validation 1.0.0.beta1, released June 10, 2019: 3 breaking changes.

- **Removed** `failure`  

Use key.failure or key(:foo).failure to set failures instead of failure. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0.beta1)
- **Removed** `Result.to_hash`  

Result#to_hash no longer exists; code calling it must change. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0.beta1)
- **Signature changed** `Result.errors`  

Result#errors returns an enumerable, hash-coercible ErrorSet object instead of the previous return value. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0.beta1)

## dry-validation 1.0.0.alpha1 breaking changes

dry-validation 1.0.0.alpha1, released June 10, 2019: 2 breaking changes.

- **Removed**  

Validation schemas are replaced by Dry::Validation::Contract; existing schema code must be moved to contracts. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0.alpha1)
- **Signature changed** `rule`  

The rule DSL has a new API for setting error messages; rule blocks must be updated to the new form. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v1.0.0.alpha1)

## dry-validation 0.13.0 breaking changes

dry-validation 0.13.0, released January 29, 2019: 2 breaking changes.

- **Configuration changed**  

The gem now requires dry-logic within the \~> 0.5 range. Apps that pin an older dry-logic must upgrade it to install this release. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.13.0/CHANGELOG.md)
- **Configuration changed**  

The gem now requires dry-types within the \~> 0.14 range. Apps that pin an older dry-types must upgrade it to install this release. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.13.0/CHANGELOG.md)

## Older versions

9 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### dry-validation 0.12.0 breaking changes

dry-validation 0.12.0, released May 31, 2018: 2 breaking changes.

- **Renamed** `Form`  

The Form class was renamed to Params to match dry-types. Use Params instead, or require 'dry/validation/compat/form' to keep the old names temporarily. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v0.12.0)
- **Configuration changed**  

The minimum supported versions are now dry-types 0.13.1 and dry-struct 0.5.0. Upgrade these dependencies to match. [github.com](https://github.com/dry-rb/dry-validation/releases/tag/v0.12.0)

### dry-validation 0.10.0 breaking changes

dry-validation 0.10.0, released September 21, 2016: 3 breaking changes.

- **Behavior changed** `maybe`  

The maybe macro is now built as an implication, not a disjunction, which can change validation results. Review uses of maybe. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed** `rule`  

A rule declared as rule(some_name: %i(some keys)) now always uses :some_name as the key for failure messages. Update any code that expects the previous keys in error output. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.10.0/CHANGELOG.md)

And 1 more in this version.

### dry-validation 0.9.0 breaking changes

dry-validation 0.9.0, released July 8, 2016: 1 breaking change.

- **Renamed** `size?`  

The message tokens for size? changed from left and right to size_left and size_right. Custom messages that use the old token names must be updated. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.9.0/CHANGELOG.md)

### dry-validation 0.8.0 breaking changes

dry-validation 0.8.0, released July 1, 2016: 4 breaking changes.

- **Removed** `attr`  

The attr macro is removed and will be extracted to a separate gem. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.8.0/CHANGELOG.md)
- **Removed** `nested key syntax`  

The nested key syntax is no longer supported. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.8.0/CHANGELOG.md)

And 2 more in this version.

### dry-validation 0.7.0 breaking changes

dry-validation 0.7.0, released March 16, 2016: 4 breaking changes.

- **Removed** `schema`  

Calling schema in the DSL no longer works. Use key(:name).schema instead. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.7.0/CHANGELOG.md)
- **Renamed** `Schema.Result`  

Schema::Result is now Validation::Result and only error results are provided; success and failure results are no longer available. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.7.0/CHANGELOG.md)

And 2 more in this version.

### dry-validation 0.6.0 breaking changes

dry-validation 0.6.0, released January 20, 2016: 3 breaking changes.

- **Behavior changed** `rule`  

The rule DSL now uses objects that inherit from BasicObject, so built-in Object methods are no longer available inside rule blocks. Code that calls Object methods there may need to change. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.6.0/CHANGELOG.md)
- **Default changed** `Schema.Form.key`  

When no block is passed, key now applies the filled? predicate by default. Code that relied on no default predicate must pass a block or adjust its rules. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.6.0/CHANGELOG.md)

And 1 more in this version.

### dry-validation 0.5.0 breaking changes

dry-validation 0.5.0, released January 11, 2016: 1 breaking change.

- **Default changed** `dry.validation.schema.form`  

The dry/validation/schema/form file is now loaded by default, so code no longer needs to require it explicitly. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.5.0/CHANGELOG.md)

### dry-validation 0.4.0 breaking changes

dry-validation 0.4.0, released December 21, 2015: 1 breaking change.

- **Behavior changed**  

The error messages hash now always has the form rule_name => \[msgs_array, input_value\]. Code that reads error messages in the older shape must be updated to match. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.4.0/CHANGELOG.md)

### dry-validation 0.3.0 breaking changes

dry-validation 0.3.0, released December 7, 2015: 3 breaking changes.

- **Removed** `Schema.messages`  

Calling Schema#messages with an input is replaced by calling Schema#call(input) and reading its messages. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed** `Schema.call`  

Schema#call returns Schema::Result, which exposes rule results, errors and messages; code relying on the previous return value must be updated. [github.com](https://github.com/dry-rb/dry-validation/blob/v0.3.0/CHANGELOG.md)

And 1 more in this version.

## Related packages

- [dry-auto_inject](https://since.dev/packages/gem/dry-auto%5Finject.md)
- [dry-cli](https://since.dev/packages/gem/dry-cli.md)
- [dry-configurable](https://since.dev/packages/gem/dry-configurable.md)
- [dry-container](https://since.dev/packages/gem/dry-container.md)
- [dry-core](https://since.dev/packages/gem/dry-core.md)
- [dry-initializer](https://since.dev/packages/gem/dry-initializer.md)

## 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.
