Release apps (#835)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Lukasz Ostrowski 2023-07-31 12:19:17 +02:00 committed by GitHub
parent 2cb7e5edee
commit 8e33f59e0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View file

@ -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`.

View file

@ -1,5 +1,14 @@
# saleor-app-search # 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 ## 1.11.2
### Patch Changes ### Patch Changes

View file

@ -1,6 +1,6 @@
{ {
"name": "saleor-app-search", "name": "saleor-app-search",
"version": "1.11.2", "version": "1.12.0",
"scripts": { "scripts": {
"build": "pnpm generate && next build", "build": "pnpm generate && next build",
"dev": "pnpm generate && NODE_OPTIONS='--inspect' next dev", "dev": "pnpm generate && NODE_OPTIONS='--inspect' next dev",