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
On this page
Latest version 6.0.0, released September 14, 2025. Source repository
- From 2.0.0 to 6.0.0: 2 breaking changes in 1 version.
- From 0.3.0 to 6.0.0: 23 breaking changes in 16 versions.
github.com/mattpolzin/jsonapi 6.0.0 breaking changes
- Removed
Code must now build with Swift 6.0 or later. github.com - Removed
The library is now only supported through Swift Package Manager; other package managers are no longer supported. github.com
github.com/mattpolzin/jsonapi 2.0.0 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 - 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 - Configuration changed
Swift 5.1 is now required, needed for the dynamicMemberLookup feature. Users on older Swift toolchains must upgrade. github.com
github.com/mattpolzin/jsonapi 1.0.0 breaking changes
- Renamed
AppendableResourceBody
AppendableResourceBody was renamed Appendable and no longer guarantees ResourceBody conformance. ManyResourceBody still conforms to both ResourceBody and Appendable. github.com - Renamed
JSONPoly
The JSONPoly typealias was replaced by EncodableJSONPoly, which only guarantees Encodable. Update references to use EncodableJSONPoly. github.com - Renamed
MaybePrimaryResource
MaybePrimaryResource was renamed OptionalPrimaryResource. Update references to the new name. github.com - 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
github.com/mattpolzin/jsonapi 0.31.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.30.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.21.0 breaking changes
- 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
Older versions
11 older versions.
Show 11 older versions
github.com/mattpolzin/jsonapi 0.20.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.15.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.14.0 breaking changes
- Renamed
JSONAPITestLib
The test library target was renamed. Update imports and build references from JSONAPITestLib to JSONAPITesting. github.com
github.com/mattpolzin/jsonapi 0.13.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.12.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.11.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.10.0 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 - 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
github.com/mattpolzin/jsonapi 0.6.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.5.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.4.0 breaking changes
- 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
github.com/mattpolzin/jsonapi 0.3.0 breaking changes
- 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
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.