From f1dfc208358caa9fc72f8e6906ed4b6472ab3f10 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:59:39 +0700 Subject: [PATCH] ci: release (#1558) Co-authored-by: github-actions[bot] --- .changeset/ninety-parrots-mate.md | 25 ------------ docs/content/5.api/magento-api.api.json | 40 +++++++++++++++++++ .../changelogs/vue-storefront-magento-api.md | 27 +++++++++++++ packages/api-client/CHANGELOG.md | 27 +++++++++++++ packages/api-client/package.json | 2 +- 5 files changed, 95 insertions(+), 26 deletions(-) delete mode 100644 .changeset/ninety-parrots-mate.md diff --git a/.changeset/ninety-parrots-mate.md b/.changeset/ninety-parrots-mate.md deleted file mode 100644 index 20b4ec65f..000000000 --- a/.changeset/ninety-parrots-mate.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"@vue-storefront/magento-api": minor ---- - -**[ADDED]** `cookieOptions` config. This option allows you to customize the cookie options which are set for a given cookie name. - -Example: -``` -{ - integrations: { - magento: { - location: "@vue-storefront/magento-api/server", - configuration: { - // ... - cookieOptions: { - "vsf-customer": { - secure: process.env.NODE_ENV === 'production', - sameSite: process.env.NODE_ENV === 'production' ? 'none' : 'strict', - } - } - }, - }, - }, -} -``` diff --git a/docs/content/5.api/magento-api.api.json b/docs/content/5.api/magento-api.api.json index 6aab5b5e7..bd4462e98 100644 --- a/docs/content/5.api/magento-api.api.json +++ b/docs/content/5.api/magento-api.api.json @@ -2394,6 +2394,46 @@ "endIndex": 3 } }, + { + "kind": "PropertySignature", + "canonicalReference": "@vue-storefront/magento-api!Config#cookieOptions:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "cookieOptions?: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "cookieOptions", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 5 + } + }, { "kind": "PropertySignature", "canonicalReference": "@vue-storefront/magento-api!Config#customApolloHttpLinkOptions:member", diff --git a/docs/content/6.reference/changelogs/vue-storefront-magento-api.md b/docs/content/6.reference/changelogs/vue-storefront-magento-api.md index 9f9389b04..70892d0b7 100644 --- a/docs/content/6.reference/changelogs/vue-storefront-magento-api.md +++ b/docs/content/6.reference/changelogs/vue-storefront-magento-api.md @@ -1,5 +1,32 @@ # @vue-storefront/magento-api +## 6.2.0 + +### Minor Changes + +- aa9e8a96: **[ADDED]** `cookieOptions` config. This option allows you to customize the cookie options which are set for a given cookie name. + + Example: + + ``` + { + integrations: { + magento: { + location: "@vue-storefront/magento-api/server", + configuration: { + // ... + cookieOptions: { + "vsf-customer": { + secure: process.env.NODE_ENV === 'production', + sameSite: process.env.NODE_ENV === 'production' ? 'none' : 'strict', + } + } + }, + }, + }, + } + ``` + ## 6.1.0 ### Minor Changes diff --git a/packages/api-client/CHANGELOG.md b/packages/api-client/CHANGELOG.md index 9f9389b04..70892d0b7 100644 --- a/packages/api-client/CHANGELOG.md +++ b/packages/api-client/CHANGELOG.md @@ -1,5 +1,32 @@ # @vue-storefront/magento-api +## 6.2.0 + +### Minor Changes + +- aa9e8a96: **[ADDED]** `cookieOptions` config. This option allows you to customize the cookie options which are set for a given cookie name. + + Example: + + ``` + { + integrations: { + magento: { + location: "@vue-storefront/magento-api/server", + configuration: { + // ... + cookieOptions: { + "vsf-customer": { + secure: process.env.NODE_ENV === 'production', + sameSite: process.env.NODE_ENV === 'production' ? 'none' : 'strict', + } + } + }, + }, + }, + } + ``` + ## 6.1.0 ### Minor Changes diff --git a/packages/api-client/package.json b/packages/api-client/package.json index 63bc5c541..006986be2 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -1,6 +1,6 @@ { "name": "@vue-storefront/magento-api", - "version": "6.1.0", + "version": "6.2.0", "sideEffects": false, "homepage": "https://github.com/vuestorefront/magento2", "bugs": {