From 7b19ab44c3a12b85588218804e8ccb770c9edb70 Mon Sep 17 00:00:00 2001 From: Lukasz Ostrowski Date: Thu, 10 Aug 2023 14:03:02 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Release=20apps=20(#865)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Release apps * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] Co-authored-by: Adrian Pilarczyk --- .changeset/cold-toes-heal.md | 5 ----- .changeset/forty-shirts-battle.md | 5 ----- .changeset/gorgeous-crews-invite.md | 5 ----- .changeset/ninety-lobsters-design.md | 5 ----- .changeset/odd-bananas-visit.md | 5 ----- .changeset/shiny-meals-wait.md | 5 ----- .changeset/soft-steaks-know.md | 21 -------------------- apps/cms-v2/CHANGELOG.md | 6 ++++++ apps/cms-v2/package.json | 2 +- apps/emails-and-messages/CHANGELOG.md | 6 ++++++ apps/emails-and-messages/package.json | 2 +- apps/taxes/CHANGELOG.md | 28 +++++++++++++++++++++++++++ apps/taxes/package.json | 2 +- 13 files changed, 43 insertions(+), 54 deletions(-) delete mode 100644 .changeset/cold-toes-heal.md delete mode 100644 .changeset/forty-shirts-battle.md delete mode 100644 .changeset/gorgeous-crews-invite.md delete mode 100644 .changeset/ninety-lobsters-design.md delete mode 100644 .changeset/odd-bananas-visit.md delete mode 100644 .changeset/shiny-meals-wait.md delete mode 100644 .changeset/soft-steaks-know.md diff --git a/.changeset/cold-toes-heal.md b/.changeset/cold-toes-heal.md deleted file mode 100644 index ed9ef35..0000000 --- a/.changeset/cold-toes-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"saleor-app-taxes": minor ---- - -Changed `externalId` order metadata field to `avataxId`. It is now only responsible for storing the id of Avatax transaction. diff --git a/.changeset/forty-shirts-battle.md b/.changeset/forty-shirts-battle.md deleted file mode 100644 index 2d4e424..0000000 --- a/.changeset/forty-shirts-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"saleor-app-taxes": minor ---- - -Added support for reading document code from metadata field `avataxDocumentCode`. The default value is the order id from Saleor. The value for the document code is sliced to be under 20 characters. The requirement comes from Avatax API. diff --git a/.changeset/gorgeous-crews-invite.md b/.changeset/gorgeous-crews-invite.md deleted file mode 100644 index fe45ad1..0000000 --- a/.changeset/gorgeous-crews-invite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"saleor-app-emails-and-messages": patch ---- - -Changed capitalization of the name SendGrid in the UI. diff --git a/.changeset/ninety-lobsters-design.md b/.changeset/ninety-lobsters-design.md deleted file mode 100644 index 21beda3..0000000 --- a/.changeset/ninety-lobsters-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"saleor-app-taxes": minor ---- - -Added support for reading the tax calculation date from metadata field `avataxTaxCalculationDate`. The value has to be valid UTC datetime string (e.g. "2021-08-31T13:00:00.000Z"). diff --git a/.changeset/odd-bananas-visit.md b/.changeset/odd-bananas-visit.md deleted file mode 100644 index 6c27a98..0000000 --- a/.changeset/odd-bananas-visit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"saleor-app-cms-v2": minor ---- - -Changed public (manifest) name app to be "CMS" (previously it was "CMS 2", since two apps existed at the same time) diff --git a/.changeset/shiny-meals-wait.md b/.changeset/shiny-meals-wait.md deleted file mode 100644 index 0f6dc82..0000000 --- a/.changeset/shiny-meals-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"saleor-app-taxes": minor ---- - -Added `ORDER_CANCELLED` webhook handler with an implementation for Avatax. The transactions for corresponding orders in Saleor will be voided in the Avatax dashboard. diff --git a/.changeset/soft-steaks-know.md b/.changeset/soft-steaks-know.md deleted file mode 100644 index cfa208b..0000000 --- a/.changeset/soft-steaks-know.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"saleor-app-taxes": minor ---- - -Started the migration from `OrderCreated` to `OrderConfirmed` webhook event. In the new flow, the provider transactions will be created based on the order confirmation (either automatic or manual) event. The value of the `commit` field will be set based on the "isAutocommit" setting in the provider configuration. - -The `OrderCreated` and `OrderFulfilled` handlers are deprecated. They will be removed on August 23, along with their corresponding webhooks. For now, both flows (`OrderCreated` -> `OrderFulfilled` and `OrderConfirmed`) are supported. - -**Actions needed**: - -The only scenario where you, as the user, may need to do something regarding this release is the following: - -1. You created an order that still needs to be fulfilled (therefore, the corresponding AvaTax transaction is not committed). -2. You are planning to fulfill the order after August 23 (which is the date when we will complete the migration). - -In that case, **remember you will not be able to commit the transaction by fulfilling the order in Saleor**. In the new flow, the transactions are committed in AvaTax while confirming the Saleor order, based on the "isAutocommit" flag. What you have to do is the following: - -1. Make sure "isAutocommit" is set to true. -2. Trigger the `OrderConfirmed` event (either by [`orderConfirm` mutation](https://docs.saleor.io/docs/3.x/api-reference/orders/mutations/order-confirm) or in the Dashboard). - -The AvaTax transaction created on the `OrderCreated` event should be updated with `commit: true`. diff --git a/apps/cms-v2/CHANGELOG.md b/apps/cms-v2/CHANGELOG.md index 16f02e9..3c1a950 100644 --- a/apps/cms-v2/CHANGELOG.md +++ b/apps/cms-v2/CHANGELOG.md @@ -1,5 +1,11 @@ # saleor-app-cms-v2 +## 2.2.0 + +### Minor Changes + +- fe767a4: Changed public (manifest) name app to be "CMS" (previously it was "CMS 2", since two apps existed at the same time) + ## 2.1.2 ### Patch Changes diff --git a/apps/cms-v2/package.json b/apps/cms-v2/package.json index 917ec65..5c6e758 100644 --- a/apps/cms-v2/package.json +++ b/apps/cms-v2/package.json @@ -1,6 +1,6 @@ { "name": "saleor-app-cms-v2", - "version": "2.1.2", + "version": "2.2.0", "scripts": { "build": "pnpm generate && next build", "dev": "pnpm generate && NODE_OPTIONS='--inspect' next dev", diff --git a/apps/emails-and-messages/CHANGELOG.md b/apps/emails-and-messages/CHANGELOG.md index 03c4044..c6bb0bc 100644 --- a/apps/emails-and-messages/CHANGELOG.md +++ b/apps/emails-and-messages/CHANGELOG.md @@ -1,5 +1,11 @@ # saleor-app-emails-and-messages +## 1.9.5 + +### Patch Changes + +- b8c5283: Changed capitalization of the name SendGrid in the UI. + ## 1.9.4 ### Patch Changes diff --git a/apps/emails-and-messages/package.json b/apps/emails-and-messages/package.json index 4fa1363..098f43f 100644 --- a/apps/emails-and-messages/package.json +++ b/apps/emails-and-messages/package.json @@ -1,6 +1,6 @@ { "name": "saleor-app-emails-and-messages", - "version": "1.9.4", + "version": "1.9.5", "scripts": { "build": "pnpm generate && next build", "dev": "pnpm generate && NODE_OPTIONS='--inspect' next dev", diff --git a/apps/taxes/CHANGELOG.md b/apps/taxes/CHANGELOG.md index 1a7de5e..3e2d857 100644 --- a/apps/taxes/CHANGELOG.md +++ b/apps/taxes/CHANGELOG.md @@ -1,5 +1,33 @@ # saleor-app-taxes +## 1.13.0 + +### Minor Changes + +- 416c92f: Changed `externalId` order metadata field to `avataxId`. It is now only responsible for storing the id of Avatax transaction. +- 416c92f: Added support for reading document code from metadata field `avataxDocumentCode`. The default value is the order id from Saleor. The value for the document code is sliced to be under 20 characters. The requirement comes from Avatax API. +- 416c92f: Added support for reading the tax calculation date from metadata field `avataxTaxCalculationDate`. The value has to be valid UTC datetime string (e.g. "2021-08-31T13:00:00.000Z"). +- 416c92f: Added `ORDER_CANCELLED` webhook handler with an implementation for Avatax. The transactions for corresponding orders in Saleor will be voided in the Avatax dashboard. +- 416c92f: Started the migration from `OrderCreated` to `OrderConfirmed` webhook event. In the new flow, the provider transactions will be created based on the order confirmation (either automatic or manual) event. The value of the `commit` field will be set based on the "isAutocommit" setting in the provider configuration. + + The `OrderCreated` and `OrderFulfilled` handlers are deprecated. They will be removed on August 24, along with their corresponding webhooks. For now, both flows (`OrderCreated` -> `OrderFulfilled` and `OrderConfirmed`) are supported. + + **Actions needed**: + + The only scenario where you, as the user, may need to do something regarding this release is the following: + + 1. You created an order that still needs to be fulfilled (therefore, the corresponding AvaTax transaction is not committed). + 2. You are planning to fulfill the order after August 23 (which is the date when we will complete the migration). + + In that case, **remember you will not be able to commit the transaction by fulfilling the order in Saleor**. In the new flow, the transactions are committed in AvaTax while confirming the Saleor order, based on the "isAutocommit" flag. What you have to do is the following: + + 1. Make sure "isAutocommit" is set to true. + 2. Trigger the `OrderConfirmed` event (either by [`orderConfirm` mutation](https://docs.saleor.io/docs/3.x/api-reference/orders/mutations/order-confirm) or in the Dashboard). + + The AvaTax transaction created on the `OrderCreated` event should be updated with `commit: true`. + + You can read more about the webhook flow in the Taxes App and the migration itself in [our documentation](https://saleor-docs-git-taxes-order-created-to-confirmed-saleorcommerce.vercel.app/docs/3.x/developer/app-store/apps/taxes/architecture#migration). + ## 1.12.1 ### Patch Changes diff --git a/apps/taxes/package.json b/apps/taxes/package.json index 0f8f8a5..7a4b9f9 100644 --- a/apps/taxes/package.json +++ b/apps/taxes/package.json @@ -1,6 +1,6 @@ { "name": "saleor-app-taxes", - "version": "1.12.1", + "version": "1.13.0", "scripts": { "build": "pnpm generate && next build", "dev": "pnpm generate && NODE_OPTIONS='--inspect' next dev",