Releases: mattpolzin/JSONAPI-ResourceStorage
`JSONAPIResourceStore` primary resource access on `Document`
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 StoredResource
s. 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
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
Platform minimums inherited by dependance on JSONAPI
are now explicit in this package's manifest.
Update to stable release versions of JSONAPI v4
0.2.1 update to JSONAPI v4 stable release
Rename `materialize()` to `materialized()`
0.2.0 rename 'materialize' to 'materialized'. Add example as test case (to …
Update to latest JSON release candidate.
0.1.2 update JSONAPI version to latest release candidate
Add non-optional constructors for SuccessDocument.
0.1.1 Add convenience constructors from success document types that craete …
Initial pre-release
0.1.0 add a way to create a resource cache from a response document