v7.1.0
Minor Changes
- 1a64d96: Added
returnUrl
as optional parameter to billingrequest
function, improvedreturnUrl
logic. See documentation ofreturnUrl
parameter for more details. - 89cca00: Discount functionality for App Billing. Fixes #731
Patch Changes
-
8de3c78: Removed
setCrypto
function to simplify runtimes -
2628a7f: Add scopes validation for AuthScopes object and convert it to array. Fixes #1208, 1221
-
d028ec0: Replace
semver
withcompare-versions
lib to reduce dependency on nodejs builtin-libs -
7dcecb6: [Custom store apps only] Add new
adminApiAccessToken
parameter toconfig
for whenisCustomStoreApp
istrue
. If set, it will be used for API access.apiSecretKey
should now be set to the custom store app's API secret key, which is used to validate the HMAC of webhook events received from Shopify for a custom store app. Fixes #772, #800For apps that don't receive HTTP webhook events from Shopify, no change is required yet -
apiSecretKey
will be used for client authentication as the fallback option.Starting with the next major release
adminApiAccessToken
will be mandatory for custom store apps and must be set to the Admin API access tokenapiSecretKey
will not be used for client authentication but must be set for HMAC validation of HTTP webhook events
See setting up a custom store app for more details.
-
450c9e7: Add deprecation notice for removal of Node 14 support from next major release
-
9c095d1: Bumps jose from 4.13.1 to 4.14.1. See jose's changelog for more details.
-
f04f0f6:
apiKey
configuration parameter is no longer mandatory whenisCustomStoreApp
istrue
. Fixes #782 -
464fd4f: Extend support for Event topic names
-
e8966d5: Restoring REST resources for 2022-04, updates to certain resources for other API versions
-
8de6024: [Fix] Forward original graphql error message to client
-
f09417c: Adds check for Google's Crawler in the authorization functions to prevent
CookieNotFound
error loops. Fixes #686 -
cbffa2f: Add trial days and replacement behavior to usage billing mutation. Fixes #770