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",