dry-validation breaking changes
Updated December 4, 2026
On this page
Latest version 1.11.1. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 0.13.0 to 1.0.0: 10 breaking changes in 5 versions.
- From 0.3.0 to 1.0.0: 31 breaking changes in 14 versions.
dry-validation 1.0.0 breaking changes
- 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
dry-validation 1.0.0.rc2 breaking changes
- Behavior changed
values
In rule blocks, values is a Dry::Validation::Values instance rather than a Dry::Schema::Result. github.com
dry-validation 1.0.0.beta2 breaking changes
- Renamed
Error
The Error class is now named Message; update references. github.com - Renamed
ErrorSet
The ErrorSet class is now named MessageSet; update references. github.com - Behavior changed
:monads
The :monads extension now wraps entire result objects in Success or Failure instead of the previous behavior. github.com
dry-validation 1.0.0.beta1 breaking changes
- Removed
failure
Use key.failure or key(:foo).failure to set failures instead of failure. github.com - Removed
Result.to_hash
Result#to_hash no longer exists; code calling it must change. github.com - Signature changed
Result.errors
Result#errors returns an enumerable, hash-coercible ErrorSet object instead of the previous return value. github.com
dry-validation 1.0.0.alpha1 breaking changes
- Removed
Validation schemas are replaced by Dry::Validation::Contract; existing schema code must be moved to contracts. github.com - 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
dry-validation 0.13.0 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 - 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
Older versions
9 older versions, each with its first changes. Sign up to see every change
Show 9 older versions
dry-validation 0.12.0 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 - 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
dry-validation 0.10.0 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 - 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
And 1 more in this version.
dry-validation 0.9.0 breaking changes
- 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
dry-validation 0.8.0 breaking changes
- Removed
attr
The attr macro is removed and will be extracted to a separate gem. github.com - Removed
nested key syntax
The nested key syntax is no longer supported. github.com
And 2 more in this version.
dry-validation 0.7.0 breaking changes
- Removed
schema
Calling schema in the DSL no longer works. Use key(:name).schema instead. github.com - 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
And 2 more in this version.
dry-validation 0.6.0 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 - 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
And 1 more in this version.
dry-validation 0.5.0 breaking changes
- 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
dry-validation 0.4.0 breaking changes
- 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
dry-validation 0.3.0 breaking changes
- Removed
Schema.messages
Calling Schema#messages with an input is replaced by calling Schema#call(input) and reading its messages. github.com - 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
And 1 more in this version.
Related packages
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.