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

# 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

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

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

- From [0.15.0](#v-0-15-0) to [1.0.0](#v-1-0-0): 4 breaking changes in 1 version.
- From [0.7.0](#v-0-7-0) to [1.0.0](#v-1-0-0): 27 breaking changes in 7 versions.

## dry-types 1.0.0 breaking changes

dry-types 1.0.0, released April 23, 2019: 4 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](https://github.com/dry-rb/dry-types/releases/tag/v1.0.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v1.0.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v1.0.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v1.0.0)

## dry-types 0.15.0 breaking changes

dry-types 0.15.0, released March 22, 2019: 7 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](https://github.com/dry-rb/dry-types/releases/tag/v0.15.0)
- **Removed**  

Ruby 2.3 is end of life and no longer officially supported; it may still work but is not tested. [github.com](https://github.com/dry-rb/dry-types/releases/tag/v0.15.0)
- **Renamed**  

Definition types were renamed to nominal. Code that refers to the old definition type names must use the nominal names instead. [github.com](https://github.com/dry-rb/dry-types/releases/tag/v0.15.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v0.15.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v0.15.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v0.15.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v0.15.0)

## dry-types 0.14.0 breaking changes

dry-types 0.14.0, released January 29, 2019: 1 breaking change.

- **Removed**  

Ruby 2.2 is no longer supported; upgrade Ruby before using this release. [github.com](https://github.com/dry-rb/dry-types/releases/tag/v0.14.0)

## dry-types 0.13.0 breaking changes

dry-types 0.13.0, released May 3, 2018: 7 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](https://github.com/dry-rb/dry-types/releases/tag/v0.13.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v0.13.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v0.13.0)
- **Behavior changed** `Array`  

Array types now drop Undefined values, so constructors that return Dry::Types::Undefined remove their elements from the result. [github.com](https://github.com/dry-rb/dry-types/releases/tag/v0.13.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v0.13.0)
- **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](https://github.com/dry-rb/dry-types/releases/tag/v0.13.0)
- **Behavior changed** `enum`  

Enum types no longer accept a value index. Use the explicit mapping support instead. [github.com](https://github.com/dry-rb/dry-types/releases/tag/v0.13.0)

## dry-types 0.10.0 breaking changes

dry-types 0.10.0, released April 26, 2017: 2 breaking changes.

- **Renamed** `Types.Object`  

Types::Object was renamed to Types::Any. Update code that references Types::Object to use Types::Any. [github.com](https://github.com/dry-rb/dry-types/releases/tag/v0.10.0)
- **Behavior changed**  

Meta data are now stored separately from options. Code that reads meta data through options may need to be updated. [github.com](https://github.com/dry-rb/dry-types/releases/tag/v0.10.0)

## dry-types 0.9.0 breaking changes

dry-types 0.9.0, released September 21, 2016: 4 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](https://github.com/dry-rb/dry-types/blob/v0.9.0/CHANGELOG.md)
- **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](https://github.com/dry-rb/dry-types/blob/v0.9.0/CHANGELOG.md)
- **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](https://github.com/dry-rb/dry-types/blob/v0.9.0/CHANGELOG.md)
- **Configuration changed**  

The dry-monads dependency is now optional. Maybe types are only available after calling Dry::Types.load_extension(:maybe). [github.com](https://github.com/dry-rb/dry-types/blob/v0.9.0/CHANGELOG.md)

## Older versions

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

### dry-types 0.8.0 breaking changes

dry-types 0.8.0, released July 1, 2016: 2 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](https://github.com/dry-rb/dry-types/blob/v0.8.0/CHANGELOG.md)
- **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](https://github.com/dry-rb/dry-types/blob/v0.8.0/CHANGELOG.md)

### dry-types 0.7.0 breaking changes

dry-types 0.7.0, released March 30, 2016: 8 breaking changes.

- **Renamed** `Type.optional`  

The Type#{optional=>maybe} method was renamed. Use Type#maybe in place of the old name. [github.com](https://github.com/dry-rb/dry-types/blob/v0.7.0/CHANGELOG.md)
- **Behavior changed**  

Type objects are frozen after creation, so code that mutates a type instance will fail. [github.com](https://github.com/dry-rb/dry-types/blob/v0.7.0/CHANGELOG.md)

And 6 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.
