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

# dry-container breaking changes

dry-container 0.11.0 (September 16, 2022) is its newest release with breaking changes. The first: dry-configurable is now used whenever it is in the load path in dry-container 0.11.0. Every breaking API change we have recorded in dry-container on RubyGems: 9 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.11.0`, released September 16, 2022. [Source repository](https://github.com/dry-rb/dry-container)

Its 0.7.0 release requires Ruby 2.3 or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.7.0](#v-0-7-0) to [0.11.0](#v-0-11-0): 5 breaking changes in 3 versions.

## dry-container 0.11.0 breaking changes

dry-container 0.11.0, released September 16, 2022: 1 breaking change.

- **Behavior changed**  

If dry-configurable is present in $LOAD_PATH, the gem will now use it. Check that your app loads the expected dry-configurable version. [github.com](https://github.com/dry-rb/dry-container/releases/tag/v0.11.0)

## dry-container 0.10.0 breaking changes

dry-container 0.10.0, released July 10, 2022: 3 breaking changes.

- **Removed**  

dry-container no longer depends on dry-configurable. If you rely on its advanced configurable functionality, add dry-configurable as a dependency and require it before requiring dry-container. [github.com](https://github.com/dry-rb/dry-container/releases/tag/v0.10.0)
- **Behavior changed**  

Resolving a missing key now raises KeyError with DidYouMean suggestions. Code that rescues a different error for missing keys must be updated. [github.com](https://github.com/dry-rb/dry-container/releases/tag/v0.10.0)
- **Behavior changed**  

FrozenError raised by the container is now wrapped to state that the container itself is frozen. Code that rescues FrozenError directly may need to change. [github.com](https://github.com/dry-rb/dry-container/releases/tag/v0.10.0)

## dry-container 0.8.0 breaking changes

dry-container 0.8.0, released June 6, 2021: 1 breaking change.

- **Removed**  

The release no longer supports Ruby 2.4 and 2.5. Users on those Ruby versions must upgrade Ruby before using this version. [github.com](https://github.com/dry-rb/dry-container/releases/tag/v0.8.0)

## dry-container 0.7.0 breaking changes

dry-container 0.7.0, released February 5, 2019: 4 breaking changes.

- **Removed**  

Ruby 2.3 is now the minimum supported version, so users on older Ruby versions must upgrade Ruby before upgrading this gem. [github.com](https://github.com/dry-rb/dry-container/releases/tag/v0.7.0)
- **Behavior changed**  

Freezing a container now prevents further registrations, so code that registers items after freezing will fail. [github.com](https://github.com/dry-rb/dry-container/releases/tag/v0.7.0)
- **Behavior changed**  

Keys used inside the namespace DSL are now resolved relative to the current namespace, which can change which item a lookup returns. [github.com](https://github.com/dry-rb/dry-container/releases/tag/v0.7.0)
- **Behavior changed**  

Stubbing a key that is not registered in the container now raises ArgumentError. Register dependencies before stubbing them. [github.com](https://github.com/dry-rb/dry-container/releases/tag/v0.7.0)

## 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-core](https://since.dev/packages/gem/dry-core.md)
- [dry-initializer](https://since.dev/packages/gem/dry-initializer.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.
