diff --git a/.changeset/large-countries-yell.md b/.changeset/large-countries-yell.md deleted file mode 100644 index 8c86b753d..000000000 --- a/.changeset/large-countries-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/api-client": patch ---- - -- fix: override header value when invoke adminApiClient and storeAPiClient diff --git a/apps/docs/CHANGELOG.md b/apps/docs/CHANGELOG.md index 712c46606..031617f9b 100644 --- a/apps/docs/CHANGELOG.md +++ b/apps/docs/CHANGELOG.md @@ -1,5 +1,13 @@ # docs +## 1.7.7 + +### Patch Changes + +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 + - @shopware-pwa/composables-next@1.4.1 + ## 1.7.6 ### Patch Changes diff --git a/apps/docs/package.json b/apps/docs/package.json index 90dd23f0d..e0c78a9af 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -1,7 +1,7 @@ { "name": "docs", "private": true, - "version": "1.7.6", + "version": "1.7.7", "description": "", "type": "module", "scripts": { diff --git a/examples/api-client-tutorial/package.json b/examples/api-client-tutorial/package.json index a40ec2702..cf5df0447 100644 --- a/examples/api-client-tutorial/package.json +++ b/examples/api-client-tutorial/package.json @@ -19,7 +19,7 @@ "devDependencies": { "@astrojs/check": "0.9.4", "@astrojs/react": "3.6.2", - "@shopware/api-client": "1.1.0", + "@shopware/api-client": "1.1.1", "@tutorialkit/astro": "1.1.1", "@tutorialkit/theme": "1.0.0", "@tutorialkit/types": "1.1.1", diff --git a/packages/api-client/CHANGELOG.md b/packages/api-client/CHANGELOG.md index 261fa310b..997ae9551 100644 --- a/packages/api-client/CHANGELOG.md +++ b/packages/api-client/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopware/api-client +## 1.1.1 + +### Patch Changes + +- [#1425](https://github.com/shopware/frontends/pull/1425) [`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86) Thanks [@quando1910](https://github.com/quando1910)! - - fix: override header value when invoke adminApiClient and storeAPiClient + ## 1.1.0 ### Minor Changes diff --git a/packages/api-client/README.md b/packages/api-client/README.md index 89cd822c6..79ce16940 100644 --- a/packages/api-client/README.md +++ b/packages/api-client/README.md @@ -279,42 +279,8 @@ calling `apiClient.hook` will autocomplete the list of available hooks. Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/api-client/CHANGELOG.md) -### Latest changes: 1.1.0 - -### Minor Changes - -- [#1371](https://github.com/shopware/frontends/pull/1371) [`0643174`](https://github.com/shopware/frontends/commit/06431743162c088d46cf1e6305332bd51542eec4) Thanks [@patzick](https://github.com/patzick)! - New `onDefaultHeaderChanged` hook in store and admin client. This allows to track the default headers changes. Additionally manual change of the default header will also invoke this hook. +### Latest changes: 1.1.1 ### Patch Changes -- [#1365](https://github.com/shopware/frontends/pull/1365) [`6abe9ab`](https://github.com/shopware/frontends/commit/6abe9abb64b9d2fe94d565393b1c08ec68b58162) Thanks [@patzick](https://github.com/patzick)! - Updated default API schema definitions to 6.6.6.0 - -- [#1339](https://github.com/shopware/frontends/pull/1339) [`266bb32`](https://github.com/shopware/frontends/commit/266bb32e119d7e1b3df7e082fb0fe4b0a475af44) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Updated default schema to version `6.6.6.0` - -- [#1405](https://github.com/shopware/frontends/pull/1405) [`f9fb243`](https://github.com/shopware/frontends/commit/f9fb243d56d05a66ca4efd277c137e2ae8967f7b) Thanks [@patzick](https://github.com/patzick)! - updated default API schema definitions - -- [#1316](https://github.com/shopware/frontends/pull/1316) [`15bebee`](https://github.com/shopware/frontends/commit/15bebee0daefacc078ac99fea8725b95fdbc1cc7) Thanks [@mkucmus](https://github.com/mkucmus)! - Extend Criteria type in exported admin API schema - -- [#1323](https://github.com/shopware/frontends/pull/1323) [`ebb10eb`](https://github.com/shopware/frontends/commit/ebb10eba629b3ec2c5a4a50fa12ef0b134601d6f) Thanks [@mkucmus](https://github.com/mkucmus)! - Don't send Content-Type in case of [multipart/form-data](https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html). - - - Ignore `Content-Type` header in browser context when `multipart/form-data` is set. - - _boundary_ is set by a browser automatically. - - ```ts - // example - - const formData = new FormData(); - formData.append("file", file); - const addedMediaResponse = await apiClient.invoke( - "uploadImage post /images/upload", - { - headers: { - "Content-Type": "multipart/form-data", // <-- set this one - }, - accept: "application/json", - body: formData, - }, - ); - ``` - - When `invoke` method of api-client gets the `headers` parameter containing `multipart/form-data` Content-Type - the header will be ignored and the responsibility will be handed over to the browser - so the `Content-Type=multipart/form-data` header will eventually be sent, but including a dynamic _boundary_ params added by the browser on the fly. +- [#1425](https://github.com/shopware/frontends/pull/1425) [`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86) Thanks [@quando1910](https://github.com/quando1910)! - - fix: override header value when invoke adminApiClient and storeAPiClient diff --git a/packages/api-client/package.json b/packages/api-client/package.json index 442b036da..122ee62d8 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -1,6 +1,6 @@ { "name": "@shopware/api-client", - "version": "1.1.0", + "version": "1.1.1", "description": "Shopware client for API connection.", "author": "Shopware", "type": "module", diff --git a/packages/api-gen/CHANGELOG.md b/packages/api-gen/CHANGELOG.md index 23ebcde83..7d8967807 100644 --- a/packages/api-gen/CHANGELOG.md +++ b/packages/api-gen/CHANGELOG.md @@ -1,5 +1,12 @@ # @shopware/api-gen +## 1.1.2 + +### Patch Changes + +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 + ## 1.1.1 ### Patch Changes diff --git a/packages/api-gen/README.md b/packages/api-gen/README.md index c83a8b3fc..b990ea1ac 100644 --- a/packages/api-gen/README.md +++ b/packages/api-gen/README.md @@ -243,8 +243,9 @@ Prepare your config file named **api-gen.config.json**: Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/api-gen/CHANGELOG.md) -### Latest changes: 1.1.1 +### Latest changes: 1.1.2 ### Patch Changes -- [`b550cef`](https://github.com/shopware/frontends/commit/b550ceffac00f23a533d4f3913d2a801d3892c69) Thanks [@patzick](https://github.com/patzick)! - Fix process failing on errors to give more time for adoption. +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 diff --git a/packages/api-gen/package.json b/packages/api-gen/package.json index bacb41b7a..94fe1de59 100644 --- a/packages/api-gen/package.json +++ b/packages/api-gen/package.json @@ -1,6 +1,6 @@ { "name": "@shopware/api-gen", - "version": "1.1.1", + "version": "1.1.2", "description": "Shopware CLI for API client generation.", "author": "Shopware", "type": "module", diff --git a/packages/cms-base/CHANGELOG.md b/packages/cms-base/CHANGELOG.md index 6c1c707a4..043d74b03 100644 --- a/packages/cms-base/CHANGELOG.md +++ b/packages/cms-base/CHANGELOG.md @@ -1,5 +1,13 @@ # @shopware-pwa/cms-base +## 1.1.1 + +### Patch Changes + +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 + - @shopware-pwa/composables-next@1.4.1 + ## 1.1.0 ### Minor Changes diff --git a/packages/cms-base/README.md b/packages/cms-base/README.md index 9dafa5d3b..d4432b1d4 100644 --- a/packages/cms-base/README.md +++ b/packages/cms-base/README.md @@ -110,14 +110,10 @@ No additional packages needed to be installed. Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/cms-base/CHANGELOG.md) -### Latest changes: 1.1.0 - -### Minor Changes - -- [#1298](https://github.com/shopware/frontends/pull/1298) [`201a961`](https://github.com/shopware/frontends/commit/201a9611886f7e0d4381f77e9d2f1d1cb9f90802) Thanks [@patzick](https://github.com/patzick)! - Updated refs to templateRefs from Vue 3.5 for better type support +### Latest changes: 1.1.1 ### Patch Changes -- Updated dependencies [[`6abe9ab`](https://github.com/shopware/frontends/commit/6abe9abb64b9d2fe94d565393b1c08ec68b58162), [`fa517bc`](https://github.com/shopware/frontends/commit/fa517bc68e33b97f6cf34205587218314cb4f5f6), [`0643174`](https://github.com/shopware/frontends/commit/06431743162c088d46cf1e6305332bd51542eec4), [`266bb32`](https://github.com/shopware/frontends/commit/266bb32e119d7e1b3df7e082fb0fe4b0a475af44), [`f9fb243`](https://github.com/shopware/frontends/commit/f9fb243d56d05a66ca4efd277c137e2ae8967f7b), [`15bebee`](https://github.com/shopware/frontends/commit/15bebee0daefacc078ac99fea8725b95fdbc1cc7), [`75df238`](https://github.com/shopware/frontends/commit/75df238da11635418554329f1ca01f3a256fe0a0), [`266bb32`](https://github.com/shopware/frontends/commit/266bb32e119d7e1b3df7e082fb0fe4b0a475af44), [`ebb10eb`](https://github.com/shopware/frontends/commit/ebb10eba629b3ec2c5a4a50fa12ef0b134601d6f)]: - - @shopware/api-client@1.1.0 - - @shopware-pwa/composables-next@1.4.0 +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 + - @shopware-pwa/composables-next@1.4.1 diff --git a/packages/cms-base/package.json b/packages/cms-base/package.json index 84c94d6d9..bb64d8e09 100644 --- a/packages/cms-base/package.json +++ b/packages/cms-base/package.json @@ -1,6 +1,6 @@ { "name": "@shopware-pwa/cms-base", - "version": "1.1.0", + "version": "1.1.1", "description": "Vue CMS support for Shopware", "author": "Shopware", "repository": { diff --git a/packages/composables/CHANGELOG.md b/packages/composables/CHANGELOG.md index 6d4d7ec21..0624d4da0 100644 --- a/packages/composables/CHANGELOG.md +++ b/packages/composables/CHANGELOG.md @@ -1,5 +1,12 @@ # @shopware-pwa/composables-next +## 1.4.1 + +### Patch Changes + +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 + ## 1.4.0 ### Minor Changes diff --git a/packages/composables/README.md b/packages/composables/README.md index 3a0bd955f..a00a3f446 100644 --- a/packages/composables/README.md +++ b/packages/composables/README.md @@ -151,51 +151,9 @@ All composable functions are fully typed with TypeScript and they are registed g Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/composables/CHANGELOG.md) -### Latest changes: 1.4.0 - -### Minor Changes - -- [#1325](https://github.com/shopware/frontends/pull/1325) [`fa517bc`](https://github.com/shopware/frontends/commit/fa517bc68e33b97f6cf34205587218314cb4f5f6) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - - Add `shipping-method-blocked` error resolver to `useCartErrorParamsResolver` composable - -- [#1338](https://github.com/shopware/frontends/pull/1338) [`75df238`](https://github.com/shopware/frontends/commit/75df238da11635418554329f1ca01f3a256fe0a0) Thanks [@BrocksiNet](https://github.com/BrocksiNet)! - # Fix setCurrentFilters - - Body **before** when you use setCurrentFilters: - - ``` - { - "limit":10, - "search":"", - "p":"1", - "navigationId":"018db20234207be8948e3a4b46501435", - "manufacturer":"", - "price": {"min":0,"max":0}, - "rating": null, - "shipping-free":false, - "properties":"", - "code":"manufacturer", // 👈 Not like this - "value":"018d35f5b5757076adea38044bb96937" // 👈 Not like this - } - ``` - - Body **after** the code changes with fixed setCurrentFilters: - - ``` - { - "limit":10, - "search":"", - "p":"1", - "navigationId":"018db20234207be8948e3a4b46501435", - "manufacturer":"018d35f5b5757076adea38044bb96937", // 👈 where the filter value should go - "price": {"min":0,"max":0}, - "rating": null, - "shipping-free":false, - "properties":"", - } - ``` - -- [#1339](https://github.com/shopware/frontends/pull/1339) [`266bb32`](https://github.com/shopware/frontends/commit/266bb32e119d7e1b3df7e082fb0fe4b0a475af44) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - - Updated `AccountNewsletterRecipientResult` type to `AccountNewsletterRecipient` +### Latest changes: 1.4.1 ### Patch Changes -- Updated dependencies [[`6abe9ab`](https://github.com/shopware/frontends/commit/6abe9abb64b9d2fe94d565393b1c08ec68b58162), [`0643174`](https://github.com/shopware/frontends/commit/06431743162c088d46cf1e6305332bd51542eec4), [`266bb32`](https://github.com/shopware/frontends/commit/266bb32e119d7e1b3df7e082fb0fe4b0a475af44), [`f9fb243`](https://github.com/shopware/frontends/commit/f9fb243d56d05a66ca4efd277c137e2ae8967f7b), [`15bebee`](https://github.com/shopware/frontends/commit/15bebee0daefacc078ac99fea8725b95fdbc1cc7), [`ebb10eb`](https://github.com/shopware/frontends/commit/ebb10eba629b3ec2c5a4a50fa12ef0b134601d6f)]: - - @shopware/api-client@1.1.0 +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 diff --git a/packages/composables/package.json b/packages/composables/package.json index 8e114e66e..56ac8e209 100644 --- a/packages/composables/package.json +++ b/packages/composables/package.json @@ -1,6 +1,6 @@ { "name": "@shopware-pwa/composables-next", - "version": "1.4.0", + "version": "1.4.1", "description": "Shopware Frontends composables for Vue", "author": "Shopware", "repository": { diff --git a/packages/nuxt3-module/CHANGELOG.md b/packages/nuxt3-module/CHANGELOG.md index 949aaf561..99108dd62 100644 --- a/packages/nuxt3-module/CHANGELOG.md +++ b/packages/nuxt3-module/CHANGELOG.md @@ -1,5 +1,13 @@ # @shopware-pwa/nuxt3-module +## 1.0.7 + +### Patch Changes + +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 + - @shopware-pwa/composables-next@1.4.1 + ## 1.0.6 ### Patch Changes diff --git a/packages/nuxt3-module/README.md b/packages/nuxt3-module/README.md index 8ff28f598..9bfa5dbbd 100644 --- a/packages/nuxt3-module/README.md +++ b/packages/nuxt3-module/README.md @@ -99,10 +99,10 @@ Internally, the module uses [API Client](https://npmjs.com/package/@shopware/api Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/nuxt3-module/CHANGELOG.md) -### Latest changes: 1.0.6 +### Latest changes: 1.0.7 ### Patch Changes -- Updated dependencies [[`6abe9ab`](https://github.com/shopware/frontends/commit/6abe9abb64b9d2fe94d565393b1c08ec68b58162), [`fa517bc`](https://github.com/shopware/frontends/commit/fa517bc68e33b97f6cf34205587218314cb4f5f6), [`0643174`](https://github.com/shopware/frontends/commit/06431743162c088d46cf1e6305332bd51542eec4), [`266bb32`](https://github.com/shopware/frontends/commit/266bb32e119d7e1b3df7e082fb0fe4b0a475af44), [`f9fb243`](https://github.com/shopware/frontends/commit/f9fb243d56d05a66ca4efd277c137e2ae8967f7b), [`15bebee`](https://github.com/shopware/frontends/commit/15bebee0daefacc078ac99fea8725b95fdbc1cc7), [`75df238`](https://github.com/shopware/frontends/commit/75df238da11635418554329f1ca01f3a256fe0a0), [`266bb32`](https://github.com/shopware/frontends/commit/266bb32e119d7e1b3df7e082fb0fe4b0a475af44), [`ebb10eb`](https://github.com/shopware/frontends/commit/ebb10eba629b3ec2c5a4a50fa12ef0b134601d6f)]: - - @shopware/api-client@1.1.0 - - @shopware-pwa/composables-next@1.4.0 +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 + - @shopware-pwa/composables-next@1.4.1 diff --git a/packages/nuxt3-module/package.json b/packages/nuxt3-module/package.json index c7028df7c..529333e05 100644 --- a/packages/nuxt3-module/package.json +++ b/packages/nuxt3-module/package.json @@ -1,6 +1,6 @@ { "name": "@shopware-pwa/nuxt3-module", - "version": "1.0.6", + "version": "1.0.7", "description": "Nuxt 3 module for Shopware Frontends", "author": "Shopware", "repository": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 2ec491438..a667c3dcb 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,12 @@ # @shopware-pwa/types +## 1.0.4 + +### Patch Changes + +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 + ## 1.0.3 ### Patch Changes diff --git a/packages/types/README.md b/packages/types/README.md index ad17022c9..b5ae3727e 100644 --- a/packages/types/README.md +++ b/packages/types/README.md @@ -15,11 +15,9 @@ Documentation specific for this package: [types](https://frontends.shopware.com/ Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/types/CHANGELOG.md) -### Latest changes: 1.0.3 +### Latest changes: 1.0.4 ### Patch Changes -- [#1413](https://github.com/shopware/frontends/pull/1413) [`17a7bfa`](https://github.com/shopware/frontends/commit/17a7bfaf432725d3596aa42d7d72a000a6a94f99) Thanks [@patzick](https://github.com/patzick)! - Deprecating the package, switch to the new [API client](https://www.npmjs.com/package/@shopware/api-client) package. - -- Updated dependencies [[`6abe9ab`](https://github.com/shopware/frontends/commit/6abe9abb64b9d2fe94d565393b1c08ec68b58162), [`0643174`](https://github.com/shopware/frontends/commit/06431743162c088d46cf1e6305332bd51542eec4), [`266bb32`](https://github.com/shopware/frontends/commit/266bb32e119d7e1b3df7e082fb0fe4b0a475af44), [`f9fb243`](https://github.com/shopware/frontends/commit/f9fb243d56d05a66ca4efd277c137e2ae8967f7b), [`15bebee`](https://github.com/shopware/frontends/commit/15bebee0daefacc078ac99fea8725b95fdbc1cc7), [`ebb10eb`](https://github.com/shopware/frontends/commit/ebb10eba629b3ec2c5a4a50fa12ef0b134601d6f)]: - - @shopware/api-client@1.1.0 +- Updated dependencies [[`8df7651`](https://github.com/shopware/frontends/commit/8df76511c8afca78c79fe3f009ed32d207913f86)]: + - @shopware/api-client@1.1.1 diff --git a/packages/types/package.json b/packages/types/package.json index e0d9e17b2..7f44cb9db 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@shopware-pwa/types", - "version": "1.0.3", + "version": "1.0.4", "description": "[DEPRECATED] Showare Store API Types", "author": "Shopware", "repository": {