Skip to content

Releases: mattpolzin/JSONAPI-ResourceStorage

Update JSONAPI dependency

14 Sep 03:12
c09c7d2

Choose a tag to compare

Pre-release

Update JSONAPI dependency.
Require Swift 6.0+

`JSONAPIResourceStore` primary resource access on `Document`

01 Jul 18:17
50db3c4

Choose a tag to compare

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

26 Sep 20:36

Choose a tag to compare

Bump to JSONAPI v5 Pre-release
Pre-release

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

28 Jun 00:50
2430e93

Choose a tag to compare

Pre-release

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

Update to stable release versions of JSONAPI v4

01 Jun 03:56

Choose a tag to compare

0.2.1

update to JSONAPI v4 stable release

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

31 May 21:53

Choose a tag to compare

0.2.0

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

Update to latest JSON release candidate.

30 May 02:33

Choose a tag to compare

0.1.2

update JSONAPI version to latest release candidate

Add non-optional constructors for SuccessDocument.

27 May 06:06

Choose a tag to compare

0.1.1

Add convenience constructors from success document types that craete …

Initial pre-release

26 May 20:45

Choose a tag to compare

Initial pre-release Pre-release
Pre-release
0.1.0

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