Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

v7.1.0

Compare
Choose a tag to compare
@shopify-github-actions-access shopify-github-actions-access released this 11 May 15:43
· 834 commits to main since this release
3de67ce

Minor Changes

  • 1a64d96: Added returnUrl as optional parameter to billing request function, improved returnUrl logic. See documentation of returnUrl 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 with compare-versions lib to reduce dependency on nodejs builtin-libs

  • 7dcecb6: [Custom store apps only] Add new adminApiAccessToken parameter to config for when isCustomStoreApp is true. 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, #800

    For 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 token
    • apiSecretKey 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 when isCustomStoreApp is true. 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