From f4e6bd6d18343a9dc0c43aef787e5efe1174253a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Mar 2023 13:43:15 +0100 Subject: [PATCH] Release to npm (#216) Co-authored-by: github-actions[bot] --- .changeset/friendly-melons-approve.md | 5 ----- .changeset/happy-insects-talk.md | 5 ----- .changeset/long-hornets-yawn.md | 5 ----- .changeset/strong-rings-help.md | 5 ----- .changeset/tall-birds-sort.md | 5 ----- CHANGELOG.md | 13 +++++++++++++ package.json | 2 +- 7 files changed, 14 insertions(+), 26 deletions(-) delete mode 100644 .changeset/friendly-melons-approve.md delete mode 100644 .changeset/happy-insects-talk.md delete mode 100644 .changeset/long-hornets-yawn.md delete mode 100644 .changeset/strong-rings-help.md delete mode 100644 .changeset/tall-birds-sort.md diff --git a/.changeset/friendly-melons-approve.md b/.changeset/friendly-melons-approve.md deleted file mode 100644 index 3aa9a1b..0000000 --- a/.changeset/friendly-melons-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@saleor/app-sdk": minor ---- - -Add EnvAPL which is a read-only single-tenant APL implementation. It can print AuthData from registration process, but the developer is responsible to configure ENV and pass data to the constructor. diff --git a/.changeset/happy-insects-talk.md b/.changeset/happy-insects-talk.md deleted file mode 100644 index 0a15dcd..0000000 --- a/.changeset/happy-insects-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@saleor/app-sdk": minor ---- - -Added useAuthenticatedFetch hook with can construct decorated window.fetch with pre-defined headers with required AppBridge state. Can be used with createProtectedHandler diff --git a/.changeset/long-hornets-yawn.md b/.changeset/long-hornets-yawn.md deleted file mode 100644 index d981123..0000000 --- a/.changeset/long-hornets-yawn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@saleor/app-sdk": patch ---- - -"domain" field in AuthData is no longer required. It will be set by registerHandler, but if missing, domain can be resolved from saleorApiUrl diff --git a/.changeset/strong-rings-help.md b/.changeset/strong-rings-help.md deleted file mode 100644 index 1d58e8f..0000000 --- a/.changeset/strong-rings-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@saleor/app-sdk": patch ---- - -JWKS field in AuthData is no longer required. registerHandler will try to set it for cache purposes, but not every time it is possible. If JWKS is not found, registerHandler will fetch it diff --git a/.changeset/tall-birds-sort.md b/.changeset/tall-birds-sort.md deleted file mode 100644 index da83371..0000000 --- a/.changeset/tall-birds-sort.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@saleor/app-sdk": patch ---- - -Remove MANAGE_APPS from possible permissions, because App should not have it. Mutations that requires MANAGE_APPS will not work with App Token even if permission is set diff --git a/CHANGELOG.md b/CHANGELOG.md index b9e64d1..b7470cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # @saleor/app-sdk +## 0.35.0 + +### Minor Changes + +- dfd632b: Add EnvAPL which is a read-only single-tenant APL implementation. It can print AuthData from registration process, but the developer is responsible to configure ENV and pass data to the constructor. +- f7d38dc: Added useAuthenticatedFetch hook with can construct decorated window.fetch with pre-defined headers with required AppBridge state. Can be used with createProtectedHandler + +### Patch Changes + +- dfd632b: "domain" field in AuthData is no longer required. It will be set by registerHandler, but if missing, domain can be resolved from saleorApiUrl +- dfd632b: JWKS field in AuthData is no longer required. registerHandler will try to set it for cache purposes, but not every time it is possible. If JWKS is not found, registerHandler will fetch it +- f7d38dc: Remove MANAGE_APPS from possible permissions, because App should not have it. Mutations that requires MANAGE_APPS will not work with App Token even if permission is set + ## 0.34.2 ### Patch Changes diff --git a/package.json b/package.json index f01a6cf..d77f833 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@saleor/app-sdk", - "version": "0.34.2", + "version": "0.35.0", "description": "SDK for building great Saleor Apps", "types": "index.d.ts", "main": "index.js",