0.1.0
Pre-release
Pre-release
Incompatible changes
- The queries results are no longer arrays but prismic.io's javascript-kit's
Response
object.- The response elements are in its
results
field
- The response elements are in its
Features
- It it now possible to specify a ref & accessToken server side.
- Allow to display some content only when the page is generated by browser/server.
- For this purpose, the helpers
onlyBrowser
andonlyServer
have been introduced.
- For this purpose, the helpers
- Allow eager loading of a query results' linked documents.
- To do so, add
data-eager="true"
in your query tag.
- To do so, add
Fixes
- The oauthCliendId set in the config.json file is now sent to the browser