v0.14.0
Breaking changes
New methods to load and sideload relationships that align with Ember Data's APIs
The model.load('relationship')
method now uses Ember Data's references API to load the given relationship. This allows storefront to work with links provided by your backend. It also gives storefront better support for async relationships.
The old behavior of the load
method has moved to model.reloadWith('relationship')
. This API still relies on JSON:API includes to load related data.
For users of 0.13.x, the quickest way to upgrade would be to replace all calls to model.load
with model.reloadWith
.
The code for this change is in #47
This fixes the issues in #33