All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and adheres to Semantic Versioning.
- Don't include extra params when calculating local hmac #196
- Added Storefront API client under
Shopify.Clients.Storefront - Add
isActive()method toSessionclass to check if session is active, replaceSessionwithSessionInterfacewhen used as a type #153
- Added
April21toApiVersion#149
- Allow plain objects to be returned from the
loadCallbackonCustomSessionStorage#126 - Documentation and example code for
CustomSessionStorage#129
- Throw a different error for a missing cookie upon OAuth return #131
- Improved documentation for GraphQL and Rest Clients. #123
- Made Docs directory more browseable in GitHub. #136
- Make sure
CustomSessionStorageconverts theexpiresfield from a string toDate. #132 - Made
limitoptional for get-requests with query #135
- Minor text/doc changes
- Added
2021-01API version to enum. #117 - Allow retrieving offline sessions using
loadCurrentSession. #119
- Initial public release
- Added
AuthScopesvalue object to allow apps to easily check whether scopes have been updated. #110
- GraphQL Proxy attempts to parse the request body as JSON before passing it to the client. #106
- Webhooks types are now exported outside the library #91
- Added support for private apps #99
USER_AGENT_PREFIXadded to Context, to add agent to all requests #101- Add link to tutorial on how to rotate credentials if neccesary #107
- Export
withSessionutility method #96 - GraphQL Client appropriately handles queries with variables #97
- Use cryptographically random bytes to generate nonce #98
- Stop using
SameSite=nonecookies for OAuth, usinglaxinstead #100
- Fixed an issue when deleting the current session for embedded apps #88
- Add
withSessionutility method #83
- Preserve the OAuth cookie session for a few seconds so SPA can perform their initial load using it #70
- Session fetches now return
undefinedwhen a session is not available #64 - Add
deleteCurrentSessionutils method #60
- Beta release
- Test releasing scripts
- Start of Changelog