diff --git a/.changeset/famous-eggs-decide.md b/.changeset/famous-eggs-decide.md deleted file mode 100644 index 6af69a4c..00000000 --- a/.changeset/famous-eggs-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@saleor/app-sdk": patch ---- - -Added `author` and `license` fields to `pacakge.json` diff --git a/.changeset/fresh-onions-pretend.md b/.changeset/fresh-onions-pretend.md deleted file mode 100644 index dcf20390..00000000 --- a/.changeset/fresh-onions-pretend.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@saleor/app-sdk": patch ---- - -Updated project license: it previously used BSD 3-Clause for code and Creative Commons Attribution 4.0 International License for artwork. -Since this project doesn't include any artwork, Creative Commons license was removed. - -Updated `license` field in `package.json`: It incorrectly stated `ISC` license instead of `BSD-3-Clause`. diff --git a/.changeset/hip-queens-roll.md b/.changeset/hip-queens-roll.md deleted file mode 100644 index 28d22aa3..00000000 --- a/.changeset/hip-queens-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@saleor/app-sdk": patch ---- - -Removed `/middlewares`, you should use `/handlers` instead. diff --git a/.changeset/kind-zoos-raise.md b/.changeset/kind-zoos-raise.md deleted file mode 100644 index 09fa1e09..00000000 --- a/.changeset/kind-zoos-raise.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@saleor/app-sdk": major ---- - -Removed deprecated fields fields and methods in `/handlers`: - -- `SaleorAsyncWebhook` and `SaleorSyncWebhook` - removed `asyncEvent` and `subscriptionQueryAst` -- Removed `processSaleorWebhook` and `processProtectedHandler` methods -- Some types were moved from `/next` to `/shared` diff --git a/.changeset/sixty-taxis-glow.md b/.changeset/sixty-taxis-glow.md deleted file mode 100644 index 0bcc9431..00000000 --- a/.changeset/sixty-taxis-glow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@saleor/app-sdk": patch ---- - -Added abstract `PlatformAdapterInterface` and `ActionHandlerInterface` to enable cross-framework handler implementations. - -Next.js handlers were rewritten to use the new interface. diff --git a/.changeset/tough-socks-tease.md b/.changeset/tough-socks-tease.md deleted file mode 100644 index 7e846506..00000000 --- a/.changeset/tough-socks-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@saleor/app-sdk": major ---- - -Breaking change: SDK will no longer check `saleor-domain` header when validating Saleor requests, instead it will check `saleor-api-url` header. diff --git a/CHANGELOG.md b/CHANGELOG.md index 8076d792..4ce4e255 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # @saleor/app-sdk +## 1.0.0 + +### Major Changes + +- 51caa77: Removed deprecated fields fields and methods in `/handlers`: + + - `SaleorAsyncWebhook` and `SaleorSyncWebhook` - removed `asyncEvent` and `subscriptionQueryAst` + - Removed `processSaleorWebhook` and `processProtectedHandler` methods + - Some types were moved from `/next` to `/shared` + +- c956220: Breaking change: SDK will no longer check `saleor-domain` header when validating Saleor requests, instead it will check `saleor-api-url` header. + +### Patch Changes + +- 003b1ca: Added `author` and `license` fields to `pacakge.json` +- 003b1ca: Updated project license: it previously used BSD 3-Clause for code and Creative Commons Attribution 4.0 International License for artwork. + Since this project doesn't include any artwork, Creative Commons license was removed. + + Updated `license` field in `package.json`: It incorrectly stated `ISC` license instead of `BSD-3-Clause`. + +- 51caa77: Removed `/middlewares`, you should use `/handlers` instead. +- 51caa77: Added abstract `PlatformAdapterInterface` and `ActionHandlerInterface` to enable cross-framework handler implementations. + + Next.js handlers were rewritten to use the new interface. + ## 0.52.0 ### Minor Changes diff --git a/package.json b/package.json index 9f35f1ff..f5e95695 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@saleor/app-sdk", - "version": "0.52.0", + "version": "1.0.0", "description": "SDK for building great Saleor Apps", "scripts": { "prepublishOnly": "pnpm build",