From bcbc92664457f5508237d3f0983384409b2a0789 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 17:38:15 +0000 Subject: [PATCH] chore: release --- .changeset/calm-rivers-spin.md | 5 --- .changeset/current-locale-from-context.md | 5 --- .changeset/fresh-radios-shake.md | 5 --- .changeset/gentle-otters-cheer.md | 5 --- .changeset/post-to-get-cacheable-reads.md | 12 ------- apps/docs/.vitepress/theme/index.ts | 3 +- packages/cms-base-layer/CHANGELOG.md | 7 ++++ packages/cms-base-layer/README.md | 33 ++----------------- packages/cms-base-layer/package.json | 2 +- packages/composables/CHANGELOG.md | 18 ++++++++++ packages/composables/README.md | 22 ++++++------- packages/composables/package.json | 2 +- packages/nuxt-module/CHANGELOG.md | 19 +++++++++++ packages/nuxt-module/README.md | 23 ++++++++----- packages/nuxt-module/package.json | 2 +- .../CHANGELOG.md | 7 ++++ .../package.json | 2 +- templates/vue-starter-template/CHANGELOG.md | 6 ++++ templates/vue-starter-template/package.json | 2 +- 19 files changed, 91 insertions(+), 89 deletions(-) delete mode 100644 .changeset/calm-rivers-spin.md delete mode 100644 .changeset/current-locale-from-context.md delete mode 100644 .changeset/fresh-radios-shake.md delete mode 100644 .changeset/gentle-otters-cheer.md delete mode 100644 .changeset/post-to-get-cacheable-reads.md diff --git a/.changeset/calm-rivers-spin.md b/.changeset/calm-rivers-spin.md deleted file mode 100644 index 79d5b178c..000000000 --- a/.changeset/calm-rivers-spin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/composables": patch ---- - -`useProductAssociations`: add optional `includeSeoUrls` option. When `true`, the cross-selling request sends `sw-include-seo-urls: true` so returned products include the `seoUrls` association. Defaults to `false` to avoid extra backend overhead. diff --git a/.changeset/current-locale-from-context.md b/.changeset/current-locale-from-context.md deleted file mode 100644 index 16b3e2364..000000000 --- a/.changeset/current-locale-from-context.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/composables": minor ---- - -`useSessionContext`: expose `currentLocaleCode` — the active language's locale code (e.g. `"en-GB"`), read directly from the context's `languageInfo`. The current locale can now be derived from the session context alone, without loading the full language list via `useInternationalization().getAvailableLanguages()` just to map the current `languageId` to a locale. diff --git a/.changeset/fresh-radios-shake.md b/.changeset/fresh-radios-shake.md deleted file mode 100644 index 08f037782..000000000 --- a/.changeset/fresh-radios-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"vue-starter-template": patch ---- - -Add a currency switcher to the starter template meta navigation. The switcher loads available Store API currencies, updates the Shopware session context, refreshes the cart, and reloads the storefront data so prices use the selected currency. diff --git a/.changeset/gentle-otters-cheer.md b/.changeset/gentle-otters-cheer.md deleted file mode 100644 index 086bd7d2f..000000000 --- a/.changeset/gentle-otters-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/nuxt-module": patch ---- - -Register the `#shopware` types in every TypeScript context (app, server/nitro, node, shared) instead of only the app one. This fixes `Cannot find module '#shopware'` in server-side code (e.g. `server/` routes and API builders) when a project uses the Nuxt 4 project-references `tsconfig.json` layout. Projects that ship their own `shopware.d.ts` are referenced in place so their relative imports keep resolving. diff --git a/.changeset/post-to-get-cacheable-reads.md b/.changeset/post-to-get-cacheable-reads.md deleted file mode 100644 index 9c55cf328..000000000 --- a/.changeset/post-to-get-cacheable-reads.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@shopware/composables": minor -"@shopware/nuxt-module": minor ---- - -Add an opt-in `cacheableReads` flag that routes anonymous Store API reads through their cacheable GET variants instead of POST. Criteria is compressed into the `_criteria` query param via `encodeForQuery` from `@shopware/api-client/helpers`, which lets CDNs / reverse proxies / the browser cache the responses. - -Disabled by default — fully backwards compatible. Enable it in `nuxt.config` (`shopware: { cacheableReads: true }`) or via `createShopwareContext(app, { cacheableReads: true })` for non-Nuxt setups. It is surfaced on the Shopware context and read by the affected composables; public composable signatures are unchanged. - -Affected composables: `useNavigation`, `useNavigationSearch`, `useCountries`, `useUser` (country + salutation lookups), `useSalutations`, `useInternationalization`, `useProductConfigurator`, `useProductSearch`, and `useCategorySearch.advancedSearch`. - -`useListing` (product-listing), single-category `useCategorySearch.search`, and `useLandingSearch` remain POST for now: the generated Store API schema does not type `_criteria` on those GET routes (a Shopware OpenAPI gap). The backend does honor `_criteria` on product-listing GET at runtime, so that one can be migrated later once the types are augmented. diff --git a/apps/docs/.vitepress/theme/index.ts b/apps/docs/.vitepress/theme/index.ts index e78e2c715..e792133c1 100644 --- a/apps/docs/.vitepress/theme/index.ts +++ b/apps/docs/.vitepress/theme/index.ts @@ -2,6 +2,5 @@ import { SWAGTheme } from "vitepress-shopware-docs"; import "./custom.css"; export default SWAGTheme({ - enhanceApp({ app }) { - }, + enhanceApp({ app }) {}, }); diff --git a/packages/cms-base-layer/CHANGELOG.md b/packages/cms-base-layer/CHANGELOG.md index 368de50a4..eb9d62410 100644 --- a/packages/cms-base-layer/CHANGELOG.md +++ b/packages/cms-base-layer/CHANGELOG.md @@ -1,5 +1,12 @@ # @shopware/cms-base-layer +## 3.0.1 + +### Patch Changes + +- Updated dependencies [[`8be060d`](https://github.com/shopware/frontends/commit/8be060de825ca799f98a8f045a5e7fea61f5d1a2), [`5678fb0`](https://github.com/shopware/frontends/commit/5678fb008cbd86eaddd061e004de89e6f45bb7ec), [`22611e5`](https://github.com/shopware/frontends/commit/22611e542b8f42a4f34dce5186f628f9a17f457b)]: + - @shopware/composables@1.12.0 + ## 3.0.0 ### Major Changes diff --git a/packages/cms-base-layer/README.md b/packages/cms-base-layer/README.md index 796bae058..ff96a844f 100644 --- a/packages/cms-base-layer/README.md +++ b/packages/cms-base-layer/README.md @@ -474,36 +474,9 @@ 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-layer/CHANGELOG.md) -### Latest changes: 3.0.0 - -### Major Changes - -- [#2406](https://github.com/shopware/frontends/pull/2406) [`df93461`](https://github.com/shopware/frontends/commit/df93461434cb79ec9d722cdbd42a37a9af07fb03) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Remove bundled UnoCSS configuration and design tokens from the CMS layer. Consumers who relied on the previous default UnoCSS setup should extend `@shopware/unocss-design-tokens-layer` alongside this package. See the package README and framework docs for migration steps. - -### Minor Changes - -- [#2420](https://github.com/shopware/frontends/pull/2420) [`9e37ab6`](https://github.com/shopware/frontends/commit/9e37ab6897f501ed3d261fa619aee349e46342c2) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Add FrontendAccountCustomerGroupRegistrationPage component for customer group view +### Latest changes: 3.0.1 ### Patch Changes -- [#2439](https://github.com/shopware/frontends/pull/2439) [`a992e39`](https://github.com/shopware/frontends/commit/a992e396ea6aa3b44783d183561fa8b0605b77f0) Thanks [@patzick](https://github.com/patzick)! - Use Nuxt route composables in CMS components to keep route query access available during SSR. - -- [#2389](https://github.com/shopware/frontends/pull/2389) [`05438c6`](https://github.com/shopware/frontends/commit/05438c636a6c99b48e87d8f2ff5b03bf313c4e67) Thanks [@mkucmus](https://github.com/mkucmus)! - Fix product card and CMS image sizing to prevent duplicate/oversized image requests. Move fixed dimensions and `densities="1x"` into the `productCard` preset, and use `useElementSize`-based `width`/`height` props for `CmsElementImage`. - -- [#2378](https://github.com/shopware/frontends/pull/2378) [`c36bc1f`](https://github.com/shopware/frontends/commit/c36bc1ff17e8e34c52fa91e6388ce210fffb7e8e) Thanks [@patzick](https://github.com/patzick)! - Add UnoCSS directive transformation for CMS block styles so layered Nuxt apps do not emit CSS minification warnings from raw `@apply` directives during production builds. - -- [#2369](https://github.com/shopware/frontends/pull/2369) [`3c16985`](https://github.com/shopware/frontends/commit/3c16985ddf3878bc207c514a5ab8e4a6409f809c) Thanks [@mkucmus](https://github.com/mkucmus)! - Fixed `xss` library loading issue in Vite dev server by adding it to `optimizeDeps.include` - -- [#2371](https://github.com/shopware/frontends/pull/2371) [`33e0c69`](https://github.com/shopware/frontends/commit/33e0c69afc3de854733ab61f866ba65cce1489f6) Thanks [@patzick](https://github.com/patzick)! - Disable automatic CMS LCP image preload by default. - - The preload helper now only injects image preload tags when - `appConfig.lcpImagePreload` is explicitly enabled, which avoids noisy preload - warnings on storefront pages that do not immediately use the detected image. - -- [#2326](https://github.com/shopware/frontends/pull/2326) [`e7efff8`](https://github.com/shopware/frontends/commit/e7efff8c615ae8d0858572933285216cc533dd0b) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Gate wishlist button behind login when useLoginModal is provided via provide/inject. For guests, show login modal on wishlist click and add product to wishlist after successful login. - -- [#2346](https://github.com/shopware/frontends/pull/2346) [`a47143a`](https://github.com/shopware/frontends/commit/a47143a670f49deecc35dce4bb8b6bd12d9a3b47) Thanks [@joberthel](https://github.com/joberthel)! - Improve `SwMedia3D` model framing by fitting loaded 3D models into the viewport automatically. This fixes cases where very small 3D files appeared tiny and hard to inspect. - -- Updated dependencies [[`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00), [`bea7f58`](https://github.com/shopware/frontends/commit/bea7f5882cb58c6d47c84a82db5c8ecaf9bcf8ef), [`b8c0091`](https://github.com/shopware/frontends/commit/b8c00913c3afb5e1e63de9565105f8f8e3bf299f)]: - - @shopware/helpers@1.7.1 - - @shopware/composables@1.11.1 +- Updated dependencies [[`8be060d`](https://github.com/shopware/frontends/commit/8be060de825ca799f98a8f045a5e7fea61f5d1a2), [`5678fb0`](https://github.com/shopware/frontends/commit/5678fb008cbd86eaddd061e004de89e6f45bb7ec), [`22611e5`](https://github.com/shopware/frontends/commit/22611e542b8f42a4f34dce5186f628f9a17f457b)]: + - @shopware/composables@1.12.0 diff --git a/packages/cms-base-layer/package.json b/packages/cms-base-layer/package.json index e1ab86fc5..99523a60d 100644 --- a/packages/cms-base-layer/package.json +++ b/packages/cms-base-layer/package.json @@ -1,6 +1,6 @@ { "name": "@shopware/cms-base-layer", - "version": "3.0.0", + "version": "3.0.1", "description": "Vue CMS Nuxt Layer for Shopware", "author": "Shopware", "repository": { diff --git a/packages/composables/CHANGELOG.md b/packages/composables/CHANGELOG.md index 93230bd85..73fd3c275 100644 --- a/packages/composables/CHANGELOG.md +++ b/packages/composables/CHANGELOG.md @@ -1,5 +1,23 @@ # @shopware/composables +## 1.12.0 + +### Minor Changes + +- [#2486](https://github.com/shopware/frontends/pull/2486) [`5678fb0`](https://github.com/shopware/frontends/commit/5678fb008cbd86eaddd061e004de89e6f45bb7ec) Thanks [@mkucmus](https://github.com/mkucmus)! - `useSessionContext`: expose `currentLocaleCode` — the active language's locale code (e.g. `"en-GB"`), read directly from the context's `languageInfo`. The current locale can now be derived from the session context alone, without loading the full language list via `useInternationalization().getAvailableLanguages()` just to map the current `languageId` to a locale. + +- [#2473](https://github.com/shopware/frontends/pull/2473) [`22611e5`](https://github.com/shopware/frontends/commit/22611e542b8f42a4f34dce5186f628f9a17f457b) Thanks [@mkucmus](https://github.com/mkucmus)! - Add an opt-in `cacheableReads` flag that routes anonymous Store API reads through their cacheable GET variants instead of POST. Criteria is compressed into the `_criteria` query param via `encodeForQuery` from `@shopware/api-client/helpers`, which lets CDNs / reverse proxies / the browser cache the responses. + + Disabled by default — fully backwards compatible. Enable it in `nuxt.config` (`shopware: { cacheableReads: true }`) or via `createShopwareContext(app, { cacheableReads: true })` for non-Nuxt setups. It is surfaced on the Shopware context and read by the affected composables; public composable signatures are unchanged. + + Affected composables: `useNavigation`, `useNavigationSearch`, `useCountries`, `useUser` (country + salutation lookups), `useSalutations`, `useInternationalization`, `useProductConfigurator`, `useProductSearch`, and `useCategorySearch.advancedSearch`. + + `useListing` (product-listing), single-category `useCategorySearch.search`, and `useLandingSearch` remain POST for now: the generated Store API schema does not type `_criteria` on those GET routes (a Shopware OpenAPI gap). The backend does honor `_criteria` on product-listing GET at runtime, so that one can be migrated later once the types are augmented. + +### Patch Changes + +- [#2462](https://github.com/shopware/frontends/pull/2462) [`8be060d`](https://github.com/shopware/frontends/commit/8be060de825ca799f98a8f045a5e7fea61f5d1a2) Thanks [@mkucmus](https://github.com/mkucmus)! - `useProductAssociations`: add optional `includeSeoUrls` option. When `true`, the cross-selling request sends `sw-include-seo-urls: true` so returned products include the `seoUrls` association. Defaults to `false` to avoid extra backend overhead. + ## 1.11.1 ### Patch Changes diff --git a/packages/composables/README.md b/packages/composables/README.md index 38910fbf0..2e1fac765 100644 --- a/packages/composables/README.md +++ b/packages/composables/README.md @@ -165,20 +165,20 @@ 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.11.1 +### Latest changes: 1.12.0 -### Patch Changes +### Minor Changes + +- [#2486](https://github.com/shopware/frontends/pull/2486) [`5678fb0`](https://github.com/shopware/frontends/commit/5678fb008cbd86eaddd061e004de89e6f45bb7ec) Thanks [@mkucmus](https://github.com/mkucmus)! - `useSessionContext`: expose `currentLocaleCode` — the active language's locale code (e.g. `"en-GB"`), read directly from the context's `languageInfo`. The current locale can now be derived from the session context alone, without loading the full language list via `useInternationalization().getAvailableLanguages()` just to map the current `languageId` to a locale. -- [#2372](https://github.com/shopware/frontends/pull/2372) [`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00) Thanks [@patzick](https://github.com/patzick)! - Improve technical URL resolution for SSR and CSR page rendering. +- [#2473](https://github.com/shopware/frontends/pull/2473) [`22611e5`](https://github.com/shopware/frontends/commit/22611e542b8f42a4f34dce5186f628f9a17f457b) Thanks [@mkucmus](https://github.com/mkucmus)! - Add an opt-in `cacheableReads` flag that routes anonymous Store API reads through their cacheable GET variants instead of POST. Criteria is compressed into the `_criteria` query param via `encodeForQuery` from `@shopware/api-client/helpers`, which lets CDNs / reverse proxies / the browser cache the responses. - This adds helpers to detect and normalize technical Shopware paths and updates - `useNavigationSearch` to resolve `/navigation/*`, `/detail/*`, and - `/landingPage/*` routes more reliably, including fallback behavior when no SEO - mapping row is returned. + Disabled by default — fully backwards compatible. Enable it in `nuxt.config` (`shopware: { cacheableReads: true }`) or via `createShopwareContext(app, { cacheableReads: true })` for non-Nuxt setups. It is surfaced on the Shopware context and read by the affected composables; public composable signatures are unchanged. -- [#2407](https://github.com/shopware/frontends/pull/2407) [`bea7f58`](https://github.com/shopware/frontends/commit/bea7f5882cb58c6d47c84a82db5c8ecaf9bcf8ef) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Correct `useNewsletter` `subscribeToNewsletter` return type: it now resolves to the Store API response type for `POST /newsletter/subscribe` instead of `void`. + Affected composables: `useNavigation`, `useNavigationSearch`, `useCountries`, `useUser` (country + salutation lookups), `useSalutations`, `useInternationalization`, `useProductConfigurator`, `useProductSearch`, and `useCategorySearch.advancedSearch`. -- [#2435](https://github.com/shopware/frontends/pull/2435) [`b8c0091`](https://github.com/shopware/frontends/commit/b8c00913c3afb5e1e63de9565105f8f8e3bf299f) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Update `useNewsletter` so `newsletterStatus` is set from the subscribe API response, keeping `isNewsletterSubscriber` in sync without an extra status request. + `useListing` (product-listing), single-category `useCategorySearch.search`, and `useLandingSearch` remain POST for now: the generated Store API schema does not type `_criteria` on those GET routes (a Shopware OpenAPI gap). The backend does honor `_criteria` on product-listing GET at runtime, so that one can be migrated later once the types are augmented. + +### Patch Changes -- Updated dependencies [[`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00)]: - - @shopware/helpers@1.7.1 +- [#2462](https://github.com/shopware/frontends/pull/2462) [`8be060d`](https://github.com/shopware/frontends/commit/8be060de825ca799f98a8f045a5e7fea61f5d1a2) Thanks [@mkucmus](https://github.com/mkucmus)! - `useProductAssociations`: add optional `includeSeoUrls` option. When `true`, the cross-selling request sends `sw-include-seo-urls: true` so returned products include the `seoUrls` association. Defaults to `false` to avoid extra backend overhead. diff --git a/packages/composables/package.json b/packages/composables/package.json index 8a81e6768..a8cde951e 100644 --- a/packages/composables/package.json +++ b/packages/composables/package.json @@ -1,6 +1,6 @@ { "name": "@shopware/composables", - "version": "1.11.1", + "version": "1.12.0", "description": "Shopware Frontends composables for Vue", "author": "Shopware", "repository": { diff --git a/packages/nuxt-module/CHANGELOG.md b/packages/nuxt-module/CHANGELOG.md index ef4ad4cfc..7ed3aefcd 100644 --- a/packages/nuxt-module/CHANGELOG.md +++ b/packages/nuxt-module/CHANGELOG.md @@ -1,5 +1,24 @@ # @shopware/nuxt-module +## 1.5.0 + +### Minor Changes + +- [#2473](https://github.com/shopware/frontends/pull/2473) [`22611e5`](https://github.com/shopware/frontends/commit/22611e542b8f42a4f34dce5186f628f9a17f457b) Thanks [@mkucmus](https://github.com/mkucmus)! - Add an opt-in `cacheableReads` flag that routes anonymous Store API reads through their cacheable GET variants instead of POST. Criteria is compressed into the `_criteria` query param via `encodeForQuery` from `@shopware/api-client/helpers`, which lets CDNs / reverse proxies / the browser cache the responses. + + Disabled by default — fully backwards compatible. Enable it in `nuxt.config` (`shopware: { cacheableReads: true }`) or via `createShopwareContext(app, { cacheableReads: true })` for non-Nuxt setups. It is surfaced on the Shopware context and read by the affected composables; public composable signatures are unchanged. + + Affected composables: `useNavigation`, `useNavigationSearch`, `useCountries`, `useUser` (country + salutation lookups), `useSalutations`, `useInternationalization`, `useProductConfigurator`, `useProductSearch`, and `useCategorySearch.advancedSearch`. + + `useListing` (product-listing), single-category `useCategorySearch.search`, and `useLandingSearch` remain POST for now: the generated Store API schema does not type `_criteria` on those GET routes (a Shopware OpenAPI gap). The backend does honor `_criteria` on product-listing GET at runtime, so that one can be migrated later once the types are augmented. + +### Patch Changes + +- [#2488](https://github.com/shopware/frontends/pull/2488) [`c56b89e`](https://github.com/shopware/frontends/commit/c56b89e16a9fbd9283e40a4e2c0f7cc6034226a1) Thanks [@mkucmus](https://github.com/mkucmus)! - Register the `#shopware` types in every TypeScript context (app, server/nitro, node, shared) instead of only the app one. This fixes `Cannot find module '#shopware'` in server-side code (e.g. `server/` routes and API builders) when a project uses the Nuxt 4 project-references `tsconfig.json` layout. Projects that ship their own `shopware.d.ts` are referenced in place so their relative imports keep resolving. + +- Updated dependencies [[`8be060d`](https://github.com/shopware/frontends/commit/8be060de825ca799f98a8f045a5e7fea61f5d1a2), [`5678fb0`](https://github.com/shopware/frontends/commit/5678fb008cbd86eaddd061e004de89e6f45bb7ec), [`22611e5`](https://github.com/shopware/frontends/commit/22611e542b8f42a4f34dce5186f628f9a17f457b)]: + - @shopware/composables@1.12.0 + ## 1.4.4 ### Patch Changes diff --git a/packages/nuxt-module/README.md b/packages/nuxt-module/README.md index ef3a7b899..2b26ace41 100644 --- a/packages/nuxt-module/README.md +++ b/packages/nuxt-module/README.md @@ -161,16 +161,21 @@ Import your custom types from local files and export them as shown above. This a Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/nuxt-module/CHANGELOG.md) -### Latest changes: 1.4.4 +### Latest changes: 1.5.0 -### Patch Changes +### Minor Changes + +- [#2473](https://github.com/shopware/frontends/pull/2473) [`22611e5`](https://github.com/shopware/frontends/commit/22611e542b8f42a4f34dce5186f628f9a17f457b) Thanks [@mkucmus](https://github.com/mkucmus)! - Add an opt-in `cacheableReads` flag that routes anonymous Store API reads through their cacheable GET variants instead of POST. Criteria is compressed into the `_criteria` query param via `encodeForQuery` from `@shopware/api-client/helpers`, which lets CDNs / reverse proxies / the browser cache the responses. + + Disabled by default — fully backwards compatible. Enable it in `nuxt.config` (`shopware: { cacheableReads: true }`) or via `createShopwareContext(app, { cacheableReads: true })` for non-Nuxt setups. It is surfaced on the Shopware context and read by the affected composables; public composable signatures are unchanged. -- [#2370](https://github.com/shopware/frontends/pull/2370) [`9661432`](https://github.com/shopware/frontends/commit/96614324dfed3d9d83fbf85710145dd529a23f46) Thanks [@patzick](https://github.com/patzick)! - Fix SSR and CSR Shopware endpoint handling in the Nuxt module. + Affected composables: `useNavigation`, `useNavigationSearch`, `useCountries`, `useUser` (country + salutation lookups), `useSalutations`, `useInternationalization`, `useProductConfigurator`, `useProductSearch`, and `useCategorySearch.advancedSearch`. + + `useListing` (product-listing), single-category `useCategorySearch.search`, and `useLandingSearch` remain POST for now: the generated Store API schema does not type `_criteria` on those GET routes (a Shopware OpenAPI gap). The backend does honor `_criteria` on product-listing GET at runtime, so that one can be migrated later once the types are augmented. + +### Patch Changes - The module now persists the resolved SSR endpoint into private runtime config, - avoids reading private runtime config on the client, and correctly honors both - `endpoint` and deprecated `shopwareEndpoint` values during server rendering. +- [#2488](https://github.com/shopware/frontends/pull/2488) [`c56b89e`](https://github.com/shopware/frontends/commit/c56b89e16a9fbd9283e40a4e2c0f7cc6034226a1) Thanks [@mkucmus](https://github.com/mkucmus)! - Register the `#shopware` types in every TypeScript context (app, server/nitro, node, shared) instead of only the app one. This fixes `Cannot find module '#shopware'` in server-side code (e.g. `server/` routes and API builders) when a project uses the Nuxt 4 project-references `tsconfig.json` layout. Projects that ship their own `shopware.d.ts` are referenced in place so their relative imports keep resolving. -- Updated dependencies [[`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00), [`bea7f58`](https://github.com/shopware/frontends/commit/bea7f5882cb58c6d47c84a82db5c8ecaf9bcf8ef), [`b8c0091`](https://github.com/shopware/frontends/commit/b8c00913c3afb5e1e63de9565105f8f8e3bf299f)]: - - @shopware/helpers@1.7.1 - - @shopware/composables@1.11.1 +- Updated dependencies [[`8be060d`](https://github.com/shopware/frontends/commit/8be060de825ca799f98a8f045a5e7fea61f5d1a2), [`5678fb0`](https://github.com/shopware/frontends/commit/5678fb008cbd86eaddd061e004de89e6f45bb7ec), [`22611e5`](https://github.com/shopware/frontends/commit/22611e542b8f42a4f34dce5186f628f9a17f457b)]: + - @shopware/composables@1.12.0 diff --git a/packages/nuxt-module/package.json b/packages/nuxt-module/package.json index c78cc2e09..f90038f7f 100644 --- a/packages/nuxt-module/package.json +++ b/packages/nuxt-module/package.json @@ -1,6 +1,6 @@ { "name": "@shopware/nuxt-module", - "version": "1.4.4", + "version": "1.5.0", "description": "Nuxt 3 module for Shopware Frontends", "author": "Shopware", "repository": { diff --git a/templates/vue-starter-template-extended/CHANGELOG.md b/templates/vue-starter-template-extended/CHANGELOG.md index 9e082908d..190bb06c2 100644 --- a/templates/vue-starter-template-extended/CHANGELOG.md +++ b/templates/vue-starter-template-extended/CHANGELOG.md @@ -1,5 +1,12 @@ # lumora-demo-store +## 0.0.4 + +### Patch Changes + +- Updated dependencies [[`bc8a57a`](https://github.com/shopware/frontends/commit/bc8a57ac7cada68234267e9b17e00b71569a0cb2)]: + - vue-starter-template@0.1.2 + ## 0.0.3 ### Patch Changes diff --git a/templates/vue-starter-template-extended/package.json b/templates/vue-starter-template-extended/package.json index 2f889a510..634dcd98f 100644 --- a/templates/vue-starter-template-extended/package.json +++ b/templates/vue-starter-template-extended/package.json @@ -1,6 +1,6 @@ { "name": "lumora-demo-store", - "version": "0.0.3", + "version": "0.0.4", "description": "Lumora Demo Store - Modern Home Scents", "private": true, "author": "Shopware", diff --git a/templates/vue-starter-template/CHANGELOG.md b/templates/vue-starter-template/CHANGELOG.md index dab31fa45..e97722896 100644 --- a/templates/vue-starter-template/CHANGELOG.md +++ b/templates/vue-starter-template/CHANGELOG.md @@ -1,5 +1,11 @@ # vue-starter-template +## 0.1.2 + +### Patch Changes + +- [#2470](https://github.com/shopware/frontends/pull/2470) [`bc8a57a`](https://github.com/shopware/frontends/commit/bc8a57ac7cada68234267e9b17e00b71569a0cb2) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Add a currency switcher to the starter template meta navigation. The switcher loads available Store API currencies, updates the Shopware session context, refreshes the cart, and reloads the storefront data so prices use the selected currency. + ## 0.1.1 ### Patch Changes diff --git a/templates/vue-starter-template/package.json b/templates/vue-starter-template/package.json index 918dc8083..e5f81b60f 100644 --- a/templates/vue-starter-template/package.json +++ b/templates/vue-starter-template/package.json @@ -1,6 +1,6 @@ { "name": "vue-starter-template", - "version": "0.1.1", + "version": "0.1.2", "description": "Shopware Vue Starter Template", "private": true, "author": "Shopware",