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

Commit

Permalink
Merge pull request #830 from Shopify/changeset-release/main
Browse files Browse the repository at this point in the history
Packages for release
  • Loading branch information
mkevinosullivan authored May 11, 2023
2 parents d16d9c5 + 69b5428 commit 3de67ce
Show file tree
Hide file tree
Showing 20 changed files with 34 additions and 87 deletions.
5 changes: 0 additions & 5 deletions .changeset/chatty-countries-fold.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clean-paws-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curvy-gorillas-smoke.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/five-mails-explain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-fireants-judge.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/green-terms-judge.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/late-wolves-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/long-brooms-poke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-donkeys-tickle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-flies-drop.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/plenty-parrots-love.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/silly-nails-swim.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silly-rivers-fold.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sour-paws-tap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/three-rules-sell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/unlucky-falcons-search.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/weak-shoes-join.md

This file was deleted.

32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Changelog

## 7.1.0

### Minor Changes

- 1a64d96c: Added `returnUrl` as optional parameter to billing `request` function, improved `returnUrl` logic. See [documentation](https://github.com/Shopify/shopify-api-js/blob/main/docs/reference/billing/request.md#returnurl) of `returnUrl` parameter for more details.
- 89cca000: Discount functionality for App Billing. Fixes [#731](https://github.com/Shopify/shopify-api-js/issues/731)

### Patch Changes

- 8de3c783: Removed `setCrypto` function to simplify runtimes
- 2628a7fc: Add scopes validation for AuthScopes object and convert it to array. Fixes [#1208](https://github.com/Shopify/shopify-app-template-node/issues/1208), [1221](https://github.com/Shopify/shopify-app-template-node/issues/1221)
- d028ec0f: Replace `semver` with `compare-versions` lib to reduce dependency on nodejs builtin-libs
- 7dcecb65: [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](https://github.com/Shopify/shopify-api-js/issues/772), [#800](https://github.com/Shopify/shopify-api-js/issues/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](https://github.com/shopify/shopify-api-js/blob/main/docs/guides/custom-store-app.md) for more details.

- 450c9e7f: Add deprecation notice for removal of Node 14 support from next major release
- 9c095d12: Bumps [jose](https://github.com/panva/jose) from 4.13.1 to 4.14.1. See jose's [changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md) for more details.
- f04f0f64: `apiKey` configuration parameter is no longer mandatory when `isCustomStoreApp` is `true`. Fixes [#782](https://github.com/Shopify/shopify-api-js/issues/782)
- 464fd4f2: Extend support for Event topic names
- e8966d50: Restoring REST resources for 2022-04, updates to certain resources for other API versions
- 8de6024f: [Fix] Forward original graphql error message to client
- f09417c4: Adds check for Google's Crawler in the authorization functions to prevent `CookieNotFound` error loops. Fixes [#686](https://github.com/Shopify/shopify-api-js/issues/686)
- cbffa2f6: Add trial days and replacement behavior to usage billing mutation. Fixes [#770](https://github.com/Shopify/shopify-api-js/issues/770)

## 7.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion lib/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SHOPIFY_API_LIBRARY_VERSION = '7.0.0';
export const SHOPIFY_API_LIBRARY_VERSION = '7.1.0';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-api",
"version": "7.0.0",
"version": "7.1.0",
"description": "Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit 3de67ce

Please sign in to comment.