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.
Add support for January 2022 API version #285
- Add a 5 second
clockTolerance
to fixjwt not active
error #227 - [Breaking] Change default for OAuth.beginAuth to online sessions #203
- see oauth.md for updated docs
- [Breaking] Return and delete session in
validateAuthCallback
#217- see oauth.md for updated usage
- [Breaking] Extract
addHandler
andgetHandler
methods for webhooks out ofregister
#205 - [Breaking] Sessions no longer default to
false
forisOnline
#169 - Required
Session
arguments must be passed to the constructor #169 - Allow
undefined
inAuthScopes
#169
- Fixed the HTTP client error messages to expand objects #252
- Added
October21
toApiVersion
#247
- Don't include extra params when calculating local hmac #196
- Added Storefront API client under
Shopify.Clients.Storefront
- Add
isActive()
method toSession
class to check if session is active, replaceSession
withSessionInterface
when used as a type #153
- Added
April21
toApiVersion
#149
- Allow plain objects to be returned from the
loadCallback
onCustomSessionStorage
#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
CustomSessionStorage
converts theexpires
field from a string toDate
. #132 - Made
limit
optional for get-requests with query #135
- Minor text/doc changes
- Added
2021-01
API version to enum. #117 - Allow retrieving offline sessions using
loadCurrentSession
. #119
- Initial public release
- Added
AuthScopes
value 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_PREFIX
added to Context, to add agent to all requests #101- Add link to tutorial on how to rotate credentials if neccesary #107
- Export
withSession
utility method #96 - GraphQL Client appropriately handles queries with variables #97
- Use cryptographically random bytes to generate nonce #98
- Stop using
SameSite=none
cookies for OAuth, usinglax
instead #100
- Fixed an issue when deleting the current session for embedded apps #88
- Add
withSession
utility 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
undefined
when a session is not available #64 - Add
deleteCurrentSession
utils method #60
- Beta release
- Test releasing scripts
- Start of Changelog