---
title: "Unbox 4.0.0 Breaking Changes on CocoaPods | Since.dev"
description: "What each Unbox release removed, renamed or changed: 17 breaking changes in 2 versions on CocoaPods, each with its source."
canonical_url: https://since.dev/packages/cocoapods/Unbox
last_updated: 2026-12-04
---

# Unbox breaking changes

Unbox 4.0.0 (April 3, 2019) is its newest release with breaking changes. The first: Signature changed Unboxer.unbox. Every breaking API change we have recorded in Unbox on CocoaPods: 17 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released April 3, 2019. [Source repository](https://github.com/JohnSundell/Unbox)

- From [2.0](#v-2-0) to [4.0.0](#v-4-0-0): 1 breaking change in 1 version.

## Unbox 4.0.0 breaking changes

Unbox 4.0.0, released April 3, 2019: 1 breaking change.

- **Signature changed** `Unboxer.unbox`  

Unbox now uses throwing APIs for all unboxing methods. Optional properties must be unboxed with try? to keep compiling. [github.com](https://github.com/JohnSundell/Unbox/releases/tag/4.0.0)

## Unbox 2.0 breaking changes

Unbox 2.0, released October 3, 2016: 16 breaking changes.

- **Removed**  

The release is only compatible with Swift 3; Swift 2 users must stay on the swift2 branch. [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)
- **Removed** `UnboxableWithFormatter`  

Use the UnboxFormatter API for formatting instead. [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)
- **Removed** `Unboxer.hasFailed`  

Handle errors by catching the thrown UnboxError instead of checking hasFailed. [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)
- **Removed** `unboxFallbackValue`  

Types no longer need to implement unboxFallbackValue(); remove it and rely on throwing initializers. [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)
- **Removed** `UnboxValueError`  

Catch UnboxError instead of UnboxValueError, since the two types were merged. [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)
- **Renamed** `Unbox`  

Use unbox(dictionary:), unbox(data:) or unbox(dictionaries:) in place of Unbox(\_). [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)
- **Renamed** `UnboxableByTransform.transformUnboxedValue`  

Use transform(unboxedValue:) in place of transformUnboxedValue(). [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)
- **Renamed** `UnboxableByTransform.UnboxRawValueType`  

Use UnboxRawValue in place of UnboxableByTransform.UnboxRawValueType. [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)
- **Renamed** `UnboxableKey.transformUnboxedKey`  

Use transform(unboxedKey:) in place of transformUnboxedKey(). [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)
- **Renamed** `UnboxableWithContext.ContextType`  

Use UnboxContext in place of UnboxableWithContext.ContextType. [github.com](https://github.com/JohnSundell/Unbox/releases/tag/2.0)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## 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.
