From 8e33f59e0cb24f52c0b8a1dd7ff83ab09d70e934 Mon Sep 17 00:00:00 2001 From: Lukasz Ostrowski Date: Mon, 31 Jul 2023 12:19:17 +0200 Subject: [PATCH] Release apps (#835) Co-authored-by: github-actions[bot] --- .changeset/friendly-planets-care.md | 9 --------- apps/search/CHANGELOG.md | 9 +++++++++ apps/search/package.json | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 .changeset/friendly-planets-care.md diff --git a/.changeset/friendly-planets-care.md b/.changeset/friendly-planets-care.md deleted file mode 100644 index 33a4f48..0000000 --- a/.changeset/friendly-planets-care.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"saleor-app-search": minor ---- - -Improved attributes mapping. Now Algolia will receive better products data: -- Added `otherVariants` field which is *an array of variant id strings*. It will only contain other variants, so if the array is empty, it means the variant is the only one. It can be quickly used to count alternative variants or to reference them by ID. -- Added `variantMetadata` field. Now `metadata` contains data for product parent and `variantMetadata` for each variant. -- Improved JSON fields mapping. Now json-like fields will be sent to Algolia as structure jsons, not strings. This include: `description`, `metadata`, `variantMetadata`, `otherVariants`. - diff --git a/apps/search/CHANGELOG.md b/apps/search/CHANGELOG.md index f5f545f..0a3679b 100644 --- a/apps/search/CHANGELOG.md +++ b/apps/search/CHANGELOG.md @@ -1,5 +1,14 @@ # saleor-app-search +## 1.12.0 + +### Minor Changes + +- 2cb7e5e: Improved attributes mapping. Now Algolia will receive better products data: + - Added `otherVariants` field which is _an array of variant id strings_. It will only contain other variants, so if the array is empty, it means the variant is the only one. It can be quickly used to count alternative variants or to reference them by ID. + - Added `variantMetadata` field. Now `metadata` contains data for product parent and `variantMetadata` for each variant. + - Improved JSON fields mapping. Now json-like fields will be sent to Algolia as structure jsons, not strings. This include: `description`, `metadata`, `variantMetadata`, `otherVariants`. + ## 1.11.2 ### Patch Changes diff --git a/apps/search/package.json b/apps/search/package.json index 1e8deb8..56d2543 100644 --- a/apps/search/package.json +++ b/apps/search/package.json @@ -1,6 +1,6 @@ { "name": "saleor-app-search", - "version": "1.11.2", + "version": "1.12.0", "scripts": { "build": "pnpm generate && next build", "dev": "pnpm generate && NODE_OPTIONS='--inspect' next dev",