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

# github.com/mattpolzin/jsonapi breaking changes

github.com/mattpolzin/jsonapi 6.0.0 (September 14, 2025) is its newest release with breaking changes, 2 of them. The first: github.com/mattpolzin/JSONAPI 6.0.0 requires Swift 6.0 or later. Every breaking API change we have recorded in github.com/mattpolzin/jsonapi on Swift Package Index: 24 breaking changes in 17 versions. Below, its 17 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.0.0`, released September 14, 2025. [Source repository](https://github.com/mattpolzin/JSONAPI)

- From [2.0.0](#v-2-0-0) to [6.0.0](#v-6-0-0): 2 breaking changes in 1 version.
- From [0.3.0](#v-0-3-0) to [6.0.0](#v-6-0-0): 23 breaking changes in 16 versions.

## github.com/mattpolzin/jsonapi 6.0.0 breaking changes

github.com/mattpolzin/jsonapi 6.0.0, released September 14, 2025: 2 breaking changes.

- **Removed**  

Code must now build with Swift 6.0 or later. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/6.0.0)
- **Removed**  

The library is now only supported through Swift Package Manager; other package managers are no longer supported. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/6.0.0)

## github.com/mattpolzin/jsonapi 2.0.0 breaking changes

github.com/mattpolzin/jsonapi 2.0.0: 3 breaking changes.

- **Configuration changed**  

The package now requires Swift Tools version 5.1 for SPM. Update your Package.swift tools version to 5.1 or later. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/2.0.0)
- **Configuration changed**  

The PodSpec name changed to avoid a conflict with another JSONAPI library. Update the pod dependency declaration; the module name and imports stay the same. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/2.0.0)
- **Configuration changed**  

Swift 5.1 is now required, needed for the dynamicMemberLookup feature. Users on older Swift toolchains must upgrade. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/2.0.0)

## github.com/mattpolzin/jsonapi 1.0.0 breaking changes

github.com/mattpolzin/jsonapi 1.0.0: 4 breaking changes.

- **Renamed** `AppendableResourceBody`  

AppendableResourceBody was renamed Appendable and no longer guarantees ResourceBody conformance. ManyResourceBody still conforms to both ResourceBody and Appendable. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/1.0.0)
- **Renamed** `JSONPoly`  

The JSONPoly typealias was replaced by EncodableJSONPoly, which only guarantees Encodable. Update references to use EncodableJSONPoly. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/1.0.0)
- **Renamed** `MaybePrimaryResource`  

MaybePrimaryResource was renamed OptionalPrimaryResource. Update references to the new name. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/1.0.0)
- **Behavior changed** `JSONAPI.Include`  

JSONAPI.Include now only guarantees Encodable; conforming library types are still conditionally Decodable. Code relying on Include being Codable may need changes. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/1.0.0)

## github.com/mattpolzin/jsonapi 0.31.0 breaking changes

github.com/mattpolzin/jsonapi 0.31.0: 1 breaking change.

- **Behavior changed**  

Omitting the relationships key is now allowed without using the NoRelationships type alias. Code that relied on the old requirement may break. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.31.0)

## github.com/mattpolzin/jsonapi 0.30.0 breaking changes

github.com/mattpolzin/jsonapi 0.30.0: 1 breaking change.

- **Renamed**  

Many types were renamed so their names follow the JSON:API spec. Code that uses the old Entity names must switch to the matching ResourceObject names. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.30.0)

## github.com/mattpolzin/jsonapi 0.21.0 breaking changes

github.com/mattpolzin/jsonapi 0.21.0: 1 breaking change.

- **Signature changed** `test[\.normal]`  

The default subscript now returns the whole Attribute wrapper, so code that read a plain value through it gets Attribute\<String> instead. To read the value directly, use the direct: subscript. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.21.0)

## Older versions

11 older versions.

### github.com/mattpolzin/jsonapi 0.20.0 breaking changes

github.com/mattpolzin/jsonapi 0.20.0: 1 breaking change.

- **Configuration changed**  

The package now needs Swift Tools 5.0, shipped with Xcode 10.2. Users on older Swift toolchains must upgrade before building it. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.20.0)

### github.com/mattpolzin/jsonapi 0.15.0 breaking changes

github.com/mattpolzin/jsonapi 0.15.0: 1 breaking change.

- **Signature changed**  

Attribute raw value types can now include Date and other types that provide Sampleable conformance. The interface for generating Open API Nodes changed slightly, so code that generates them may need updating. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.15.0)

### github.com/mattpolzin/jsonapi 0.14.0 breaking changes

github.com/mattpolzin/jsonapi 0.14.0: 1 breaking change.

- **Renamed** `JSONAPITestLib`  

The test library target was renamed. Update imports and build references from JSONAPITestLib to JSONAPITesting. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.14.0)

### github.com/mattpolzin/jsonapi 0.13.0 breaking changes

github.com/mattpolzin/jsonapi 0.13.0: 1 breaking change.

- **Renamed** `JSONTyped.type`  

The static var type: String on JSONTyped was renamed to static var jsonType: String to avoid colliding with Swift.type(of:). Update code that reads or overrides it to use jsonType. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.13.0)

### github.com/mattpolzin/jsonapi 0.12.0 breaking changes

github.com/mattpolzin/jsonapi 0.12.0: 1 breaking change.

- **Behavior changed** `Attribute`  

Attribute is no longer a typealias for TransformedAttribute with an IdentityTransformer, so code relying on the old type relationship or on its initializers may need changes. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.12.0)

### github.com/mattpolzin/jsonapi 0.11.0 breaking changes

github.com/mattpolzin/jsonapi 0.11.0: 1 breaking change.

- **Renamed** `Document.Body.primaryData`  

The primaryData property on Document.Body was renamed to primaryResource. Update code that reads or matches on the old name. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.11.0)

### github.com/mattpolzin/jsonapi 0.10.0 breaking changes

github.com/mattpolzin/jsonapi 0.10.0: 2 breaking changes.

- **Removed** `Document`  

The many convenience initializers on Entity and Document were removed; define your own per-need convenience initializers instead, copying from the library's commented-out accessors if useful. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.10.0)
- **Removed** `Entity`  

The many convenience initializers on Entity and Document were removed; define your own per-need convenience initializers instead, copying from the library's commented-out accessors if useful. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.10.0)

### github.com/mattpolzin/jsonapi 0.6.0 breaking changes

github.com/mattpolzin/jsonapi 0.6.0: 1 breaking change.

- **Behavior changed** `SingleResourceBody`  

Previously the PrimaryResource in a SingleResourceBody was always optional. Now it must be declared optional explicitly, or specified as .some, otherwise documents fail to parse. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.6.0)

### github.com/mattpolzin/jsonapi 0.5.0 breaking changes

github.com/mattpolzin/jsonapi 0.5.0: 1 breaking change.

- **Signature changed** `Id`  

The Id type's generic parameter changed from EntityDescription to EntityType, which is a breaking change for code that uses Id with the old parameter. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.5.0)

### github.com/mattpolzin/jsonapi 0.4.0 breaking changes

github.com/mattpolzin/jsonapi 0.4.0: 1 breaking change.

- **Renamed** `JSONAPIDocument`  

The existing struct is renamed to Document, and a new JSONAPIDocument protocol is introduced. Code that refers to the old struct name must be updated to Document. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.4.0)

### github.com/mattpolzin/jsonapi 0.3.0 breaking changes

github.com/mattpolzin/jsonapi 0.3.0: 1 breaking change.

- **Signature changed** `JSONAPIDocument Body`  

The structure of the JSONAPIDocument Body changed in this release, so code that builds or matches on it may need updating. [github.com](https://github.com/mattpolzin/JSONAPI/releases/tag/0.3.0)

## Related packages

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