---
title: "SwiftyJSON 4.0.0-alpha.1 Breaking Changes on CocoaPods"
description: "What each SwiftyJSON release removed, renamed or changed: 4 breaking changes in 1 version on CocoaPods, each with its source."
canonical_url: https://since.dev/packages/cocoapods/SwiftyJSON
last_updated: 2026-12-04
---

# SwiftyJSON breaking changes

SwiftyJSON 4.0.0-alpha.1 is its newest release with breaking changes, 4 of them. The first: Renamed writtingOptionsKeys. Every breaking API change we have recorded in SwiftyJSON on CocoaPods: 4 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.0.2`, released April 11, 2024. [Source repository](https://github.com/SwiftyJSON/SwiftyJSON)

## SwiftyJSON 4.0.0-alpha.1 breaking changes

SwiftyJSON 4.0.0-alpha.1: 4 breaking changes.

- **Renamed** `writtingOptionsKeys`  

The misspelled writtingOptionsKeys is now writingOptionsKeys. Update any code that references the old name. [github.com](https://github.com/SwiftyJSON/SwiftyJSON/releases/tag/4.0.0-alpha.1)
- **Behavior changed**  

Errors now use Swift.Error with the SwiftyJSONError type rather than NSError. Code that casts or matches errors as NSError must be updated. [github.com](https://github.com/SwiftyJSON/SwiftyJSON/releases/tag/4.0.0-alpha.1)
- **Behavior changed** `boolValue`  

Strings "yes" and "1" now evaluate to true through boolValue. Code relying on the old result for these strings will see different values. [github.com](https://github.com/SwiftyJSON/SwiftyJSON/releases/tag/4.0.0-alpha.1)
- **Signature changed** `init`  

The init(data, options opt, error) initializer is replaced by init(data, options opt) throws. Call it with try and catch errors instead of passing an error argument. [github.com](https://github.com/SwiftyJSON/SwiftyJSON/releases/tag/4.0.0-alpha.1)

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