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

# dry-initializer breaking changes

dry-initializer 2.0.0 (August 28, 2017) is its newest release with breaking changes, 3 of them. The first: Removed @\_\_option\_\_. Every breaking API change we have recorded in dry-initializer on RubyGems: 11 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

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

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

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 3 breaking changes in 1 version.
- From [0.2.0](#v-0-2-0) to [2.0.0](#v-2-0-0): 9 breaking changes in 6 versions.

## dry-initializer 2.0.0 breaking changes

dry-initializer 2.0.0, released August 28, 2017: 3 breaking changes.

- **Removed** `@__option__`  

The internal @\_\_option\_\_ variable is deleted. Read assigned values with object.class.dry_initializer.attributes(object) instead. [github.com](https://github.com/dry-rb/dry-initializer/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Redefining a superclass param or option with the other kind in a subclass now raises an exception. Code that did this must be changed. [github.com](https://github.com/dry-rb/dry-initializer/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `param`  

When both param and option use the same name, only option :name is defined now, not both. Code relying on both must be adjusted. [github.com](https://github.com/dry-rb/dry-initializer/blob/v2.0.0/CHANGELOG.md)

## dry-initializer 1.0.0 breaking changes

dry-initializer 1.0.0, released January 22, 2017: 2 breaking changes.

- **Behavior changed** `option`  

When an option was not defined, its variable is now set to Dry::Initializer::UNDEFINED, but its reader returns nil. Code that checks the reader against UNDEFINED must be updated. [github.com](https://github.com/dry-rb/dry-initializer/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `param`  

When a param was not defined, its variable is now set to Dry::Initializer::UNDEFINED, but its reader returns nil. Code that checks the reader against UNDEFINED must be updated. [github.com](https://github.com/dry-rb/dry-initializer/blob/v1.0.0/CHANGELOG.md)

## dry-initializer 0.10.0 breaking changes

dry-initializer 0.10.0, released November 20, 2016: 1 breaking change.

- **Removed** `DSL.using`  

The deprecated DSL#using method was deleted in this release, so code calling it will no longer work and must be updated. [github.com](https://github.com/dry-rb/dry-initializer/blob/v0.10.0/CHANGELOG.md)

## dry-initializer 0.8.0 breaking changes

dry-initializer 0.8.0, released November 5, 2016: 1 breaking change.

- **Behavior changed**  

The generated initializer switched from named keyword arguments to a serialized options hash, and it now tolerates unknown options only when some option was set explicitly. [github.com](https://github.com/dry-rb/dry-initializer/releases/tag/v0.8.0)

## dry-initializer 0.7.0 breaking changes

dry-initializer 0.7.0, released October 11, 2016: 1 breaking change.

- **Removed** `reader`  

The reader: :private option on param and option is replaced by wrapping those declarations in a using reader: :private block. [github.com](https://github.com/dry-rb/dry-initializer/releases/tag/v0.7.0)

## dry-initializer 0.4.0 breaking changes

dry-initializer 0.4.0, released May 28, 2016: 1 breaking change.

- **Removed**  

Modules and case equality (===) objects can no longer be used as type constraints for dry-initializer attributes. Use class-based type checks instead. [github.com](https://github.com/dry-rb/dry-initializer/blob/0.4.0/CHANGELOG.md)

## Older versions

1 older version.

### dry-initializer 0.2.0 breaking changes

dry-initializer 0.2.0, released May 15, 2016: 2 breaking changes.

- **Removed** `option`  

Passing a lambda or proc as the type constraint for an option no longer works. Use the coercion plugin with a coercer instead. [github.com](https://github.com/dry-rb/dry-initializer/blob/v0.2.0/CHANGELOG.md)
- **Behavior changed** `option`  

Options given a dry-types type constraint now coerce the assigned value, so \`name: :foo\` becomes "foo". Code relying on the uncoerced value must be updated. [github.com](https://github.com/dry-rb/dry-initializer/blob/v0.2.0/CHANGELOG.md)

## 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-logic](https://since.dev/packages/gem/dry-logic.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.
