Releases · mattpolzin/JSONAPI-ResourceStorage · GitHub
Skip to content

Releases: mattpolzin/JSONAPI-ResourceStorage

Update JSONAPI dependency

Pre-release

Choose a tag to compare

@mattpolzin mattpolzin released this 14 Sep 03:12
c09c7d2

Update JSONAPI dependency.
Require Swift 6.0+

`JSONAPIResourceStore` primary resource access on `Document`

Choose a tag to compare

@mattpolzin mattpolzin released this 01 Jul 18:17
50db3c4

See the new example test case for details.

In short, document.storedPrimaryResource() for single resource documents and document.storedPrimaryResources() for many resource documents will access the document's primary resource(s) as StoredResources. This means it is faster and more convenient to treat the response document as a coherent unit of primary resources with their related includes directly accessible.

Bump to JSONAPI v5

Bump to JSONAPI v5 Pre-release
Pre-release

Choose a tag to compare

@mattpolzin mattpolzin released this 26 Sep 20:36

Note that JSONAPI v5 introduced breaking changes to relationship types. See the release notes for details.

The short version of the story is that all things that are generic of the type of relationship being described gain an additional type parameter that specifies the type of metadata inside the Resource Identifier Object. This is named the IdMetaType and it is a JSONAPI.Meta just like any other metadata.

Specify platform minimums

Pre-release

Choose a tag to compare

@mattpolzin mattpolzin released this 28 Jun 00:50
2430e93

Platform minimums inherited by dependance on JSONAPI are now explicit in this package's manifest.

Update to stable release versions of JSONAPI v4

Choose a tag to compare

@mattpolzin mattpolzin released this 01 Jun 03:56
0.2.1

update to JSONAPI v4 stable release

Rename `materialize()` to `materialized()`

Choose a tag to compare

@mattpolzin mattpolzin released this 31 May 21:53
0.2.0

rename 'materialize' to 'materialized'. Add example as test case (to …

Update to latest JSON release candidate.

Choose a tag to compare

@mattpolzin mattpolzin released this 30 May 02:33
0.1.2

update JSONAPI version to latest release candidate

Add non-optional constructors for SuccessDocument.

Choose a tag to compare

@mattpolzin mattpolzin released this 27 May 06:06
0.1.1

Add convenience constructors from success document types that craete …

Initial pre-release

Initial pre-release Pre-release
Pre-release

Choose a tag to compare

@mattpolzin mattpolzin released this 26 May 20:45
0.1.0

add a way to create a resource cache from a response document