dry-types breaking changes
dry-types 1.0.0 (April 23, 2019) is its newest release with breaking changes, 4 of them. The first: Renamed Safe. Every breaking API change we have recorded in dry-types on RubyGems: 35 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.9.2. Source repository
Its 0.15.0 release drops Ruby 2.3. Ruby end of life dates.
- From 0.15.0 to 1.0.0: 4 breaking changes in 1 version.
- From 0.7.0 to 1.0.0: 27 breaking changes in 7 versions.
dry-types 1.0.0 breaking changes
- Renamed
Safe
Safe types were renamed to Lax. The old name still works but prints a warning, so switch to the new name. github.com - Behavior changed
Metadata is passed down to the type being decorated. Most users will not notice, but code relying on the previous metadata placement may be affected. github.com - Behavior changed
Nominal.try
Nominal types no longer apply constraints, and Nominal#try always returns a successful result. Use Nominal#try_coerce for the previous behavior. github.com - Behavior changed
Types.Params.Integer
Constructor types such as Types::Params::Integer raise Dry::Types::CoercionError when coercion fails rather than returning the original value. Pass a block to call to handle failures yourself. github.com
dry-types 0.15.0 breaking changes
- Removed
Old hash schema support was fully removed, so dry-types is no longer compatible with dry-validation versions below 1.0. github.com - Removed
Ruby 2.3 is end of life and no longer officially supported; it may still work but is not tested. github.com - Renamed
Definition types were renamed to nominal. Code that refers to the old definition type names must use the nominal names instead. github.com - Behavior changed
Default values are now triggered only on Undefined, not on nil, so a nil result from the decorated type no longer gets replaced by the default. github.com - Behavior changed
Dry.Types.[]
Types fetched by name from Dry::Types are now strict constrained types instead of nominal types. Use the nominal namespace to get the old behavior. github.com - Behavior changed
Type.optional?
optional? now returns true for more types that accept nil, so code relying on its result may take different branches. github.com - Signature changed
Dry.Types.Hash.with_type_transform
The block passed to with_type_transform receives a key type object rather than a type and a name, so blocks written for the old form must be updated. github.com
dry-types 0.14.0 breaking changes
- Removed
Ruby 2.2 is no longer supported; upgrade Ruby before using this release. github.com
dry-types 0.13.0 breaking changes
- Removed
Dry.Types.register_class
Dry::Types.register_class was removed. Define types in a module such as Types instead of registering them in the global dry-types container. github.com - Renamed
Int
The Int types were renamed to Integer to match the standard Ruby class name. The former name is available via require 'dry/types/compat/int'. github.com - Renamed
Types.Form
Types::Form was renamed to Types::Params. The former name is available only by opting in with require 'dry/types/compat/form_types'. github.com - Behavior changed
Array
Array types now drop Undefined values, so constructors that return Dry::Types::Undefined remove their elements from the result. github.com - Behavior changed
default
Default values are now used only when no value is given, not when nil is passed. Passing nil to a default type now produces a constraint error. github.com - Behavior changed
Dry.Types.register
Dry::Types.register is now private API. Do not register types in the global dry-types container; use a module such as Types instead. github.com - Behavior changed
enum
Enum types no longer accept a value index. Use the explicit mapping support instead. github.com
dry-types 0.10.0 breaking changes
- Renamed
Types.Object
Types::Object was renamed to Types::Any. Update code that references Types::Object to use Types::Any. github.com - Behavior changed
Meta data are now stored separately from options. Code that reads meta data through options may need to be updated. github.com
dry-types 0.9.0 breaking changes
- Removed
Dry.Types.Struct
Dry::Types::Struct was extracted to the dry-struct gem. Code using it must install dry-struct and use the class from there. github.com - Removed
Dry.Types.Value
Dry::Types::Value was extracted to the dry-struct gem. Code using it must install dry-struct and use the class from there. github.com - Renamed
Hash.{schema=>permissive}
The Hash##{schema=>permissive} method was renamed in this release. Code calling the old name must be updated to the new name given in the changelog. github.com - Configuration changed
The dry-monads dependency is now optional. Maybe types are only available after calling Dry::Types.load_extension(:maybe). github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
dry-types 0.8.0 breaking changes
- Behavior changed
:symbolized
The :symbolized hash schema now builds on the :weak schema, so how it coerces hash values can differ from earlier versions. github.com - Behavior changed
Struct.Value
Struct::Value instances are now deeply frozen via ice_nine, so code that mutates them or their nested values will fail. github.com
dry-types 0.7.0 breaking changes
- Renamed
Type.optional
The Type#{optional=>maybe} method was renamed. Use Type#maybe in place of the old name. github.com - Behavior changed
Type objects are frozen after creation, so code that mutates a type instance will fail. github.com
And 6 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.