---
title: "github.com/alisoftware/dip 4.0.0 Breaking Changes"
description: "What each github.com/alisoftware/dip release removed, renamed or changed: 5 breaking changes in 3 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/alisoftware/dip
last_updated: 2026-12-04
---

# github.com/alisoftware/dip breaking changes

github.com/alisoftware/dip 4.0.0 is its newest release with breaking changes, 3 of them. The first: Removed DependencyContainer.deprecated methods from 3.1.0. Every breaking API change we have recorded in github.com/alisoftware/dip on Swift Package Index: 5 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.1.1`, released December 27, 2019. [Source repository](https://github.com/AliSoftware/Dip)

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 3 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 4 breaking changes in 2 versions.

## github.com/alisoftware/dip 4.0.0 breaking changes

github.com/alisoftware/dip 4.0.0: 3 breaking changes.

- **Removed** `DependencyContainer.deprecated methods from 3.1.0`  

Methods that were deprecated in 3.1.0 have been removed and must be replaced by their successors before upgrading. [github.com](https://github.com/AliSoftware/Dip/releases/tag/4.0.0)
- **Behavior changed**  

DependencyContainer no longer guarantees thread safety, so callers must ensure methods are called from a single thread or handle access themselves. [github.com](https://github.com/AliSoftware/Dip/releases/tag/4.0.0)
- **Signature changed** `DependencyContainer.resolve`  

Each resolve method can throw DefinitionNotFound, so callers must use try, try!, try? or catch the error. [github.com](https://github.com/AliSoftware/Dip/releases/tag/4.0.0)

## github.com/alisoftware/dip 3.0.0 breaking changes

github.com/alisoftware/dip 3.0.0: 1 breaking change.

- **Signature changed** `register.resolve`  

The tag parameter in the register and resolve methods now has an argument label, so existing calls that pass tag without a label must add the label. [github.com](https://github.com/AliSoftware/Dip/releases/tag/3.0.0)

## github.com/alisoftware/dip 2.0.0 breaking changes

github.com/alisoftware/dip 2.0.0: 1 breaking change.

- **Signature changed**  

The generic tag parameter on the container was replaced by a Tag enum with String and Int cases. Code passing tags must be updated to use Tag. [github.com](https://github.com/AliSoftware/Dip/releases/tag/2.0.0)

## Related packages

- [github.com/alisoftware/ohhttpstubs](https://since.dev/packages/swift/github.com/alisoftware/ohhttpstubs.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.
