diff --git a/.changeset/bright-moons-rise.md b/.changeset/bright-moons-rise.md deleted file mode 100644 index d5ca92b7c..000000000 --- a/.changeset/bright-moons-rise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/cms-base-layer": major ---- - -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. diff --git a/.changeset/calm-bananas-wink.md b/.changeset/calm-bananas-wink.md deleted file mode 100644 index 6d3158844..000000000 --- a/.changeset/calm-bananas-wink.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@shopware/helpers": patch -"@shopware/composables": patch ---- - -Improve technical URL resolution for SSR and CSR page rendering. - -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. diff --git a/.changeset/fair-bats-travel.md b/.changeset/fair-bats-travel.md deleted file mode 100644 index 289f465d4..000000000 --- a/.changeset/fair-bats-travel.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"vue-demo-store": patch -"vue-starter-template": patch ---- - -Fix catch-all page resolution for technical Shopware routes and serve Nuxt dev's -`/dev-sw.js` request as a static asset in the Nuxt templates. diff --git a/.changeset/fine-laws-rush.md b/.changeset/fine-laws-rush.md deleted file mode 100644 index 71f95b9fb..000000000 --- a/.changeset/fine-laws-rush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/unocss-design-tokens-layer": major ---- - -Package release diff --git a/.changeset/frank-yaks-fry.md b/.changeset/frank-yaks-fry.md deleted file mode 100644 index 547a94e51..000000000 --- a/.changeset/frank-yaks-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/cms-base-layer": patch ---- - -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`. diff --git a/.changeset/funny-seas-share.md b/.changeset/funny-seas-share.md deleted file mode 100644 index a22ac1247..000000000 --- a/.changeset/funny-seas-share.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@shopware/nuxt-module": patch ---- - -Fix SSR and CSR Shopware endpoint handling in the Nuxt module. - -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. diff --git a/.changeset/great-turtles-invent.md b/.changeset/great-turtles-invent.md deleted file mode 100644 index 42842aee8..000000000 --- a/.changeset/great-turtles-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/cms-base-layer": patch ---- - -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. diff --git a/.changeset/kind-mails-send.md b/.changeset/kind-mails-send.md deleted file mode 100644 index 9dc2a56e6..000000000 --- a/.changeset/kind-mails-send.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/composables": patch ---- - -Correct `useNewsletter` `subscribeToNewsletter` return type: it now resolves to the Store API response type for `POST /newsletter/subscribe` instead of `void`. diff --git a/.changeset/lemon-olives-end.md b/.changeset/lemon-olives-end.md deleted file mode 100644 index 11d2a2b8b..000000000 --- a/.changeset/lemon-olives-end.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"vue-demo-store": minor ---- - -Gate wishlist button behind login when useLoginModal is provided. Show login modal for guests and add product to wishlist after successful login. diff --git a/.changeset/major-tips-share.md b/.changeset/major-tips-share.md deleted file mode 100644 index d97f5a0d0..000000000 --- a/.changeset/major-tips-share.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/cms-base-layer": patch ---- - -Fixed `xss` library loading issue in Vite dev server by adding it to `optimizeDeps.include` diff --git a/.changeset/neat-rivers-jump.md b/.changeset/neat-rivers-jump.md deleted file mode 100644 index c418418e1..000000000 --- a/.changeset/neat-rivers-jump.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@shopware/cms-base-layer": patch ---- - -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. diff --git a/.changeset/nine-jars-laugh.md b/.changeset/nine-jars-laugh.md deleted file mode 100644 index 2f5cffc6b..000000000 --- a/.changeset/nine-jars-laugh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/cms-base-layer": patch ---- - -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. diff --git a/.changeset/quiet-stars-glow.md b/.changeset/quiet-stars-glow.md deleted file mode 100644 index 55037cbca..000000000 --- a/.changeset/quiet-stars-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"vue-starter-template": patch ---- - -Extend `@shopware/unocss-design-tokens-layer` in `nuxt.config.ts`, add the workspace dependency, simplify `uno.config.ts` to build on the shared token layer, and document the layered UnoCSS setup in the README. diff --git a/.changeset/slimy-toys-vanish.md b/.changeset/slimy-toys-vanish.md deleted file mode 100644 index 5bcb62562..000000000 --- a/.changeset/slimy-toys-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/cms-base-layer": patch ---- - -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. diff --git a/.changeset/social-paths-fail.md b/.changeset/social-paths-fail.md deleted file mode 100644 index 0a785cfcb..000000000 --- a/.changeset/social-paths-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/cms-base-layer": minor ---- - -Add FrontendAccountCustomerGroupRegistrationPage component for customer group view diff --git a/.changeset/swift-foxes-dance.md b/.changeset/swift-foxes-dance.md deleted file mode 100644 index 78b5a425c..000000000 --- a/.changeset/swift-foxes-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopware/unocss-design-tokens-layer": minor ---- - -Publish the Nuxt layer that provides shared UnoCSS presets, Shopware design tokens, and the UnoCSS runtime plugin for dynamic CMS utility classes. diff --git a/.changeset/wide-spoons-grin.md b/.changeset/wide-spoons-grin.md deleted file mode 100644 index 7c38f271e..000000000 --- a/.changeset/wide-spoons-grin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"vue-demo-store": patch ---- - -Use bound src attributes for public images in vue-demo-store so asset URLs are handled consistently by the Vue template compiler. diff --git a/.changeset/wild-bears-run.md b/.changeset/wild-bears-run.md deleted file mode 100644 index c2884ae1e..000000000 --- a/.changeset/wild-bears-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"vue-demo-store": patch ---- - -Align `uno.config.ts` with the split CMS and design-token layers: add presets and CMS base layer color tokens so the demo store keeps parity with the shared UnoCSS setup. diff --git a/apps/docs/CHANGELOG.md b/apps/docs/CHANGELOG.md index f573cac57..bc58dd916 100644 --- a/apps/docs/CHANGELOG.md +++ b/apps/docs/CHANGELOG.md @@ -1,5 +1,13 @@ # docs +## 1.10.5 + +### Patch Changes + +- Updated dependencies [[`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00), [`bea7f58`](https://github.com/shopware/frontends/commit/bea7f5882cb58c6d47c84a82db5c8ecaf9bcf8ef)]: + - @shopware/helpers@1.7.1 + - @shopware/composables@1.11.1 + ## 1.10.4 ### Patch Changes diff --git a/apps/docs/package.json b/apps/docs/package.json index 62fb684b3..ad4f0baf1 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -1,7 +1,7 @@ { "name": "docs", "private": true, - "version": "1.10.4", + "version": "1.10.5", "description": "", "type": "module", "scripts": { diff --git a/packages/cms-base-layer/CHANGELOG.md b/packages/cms-base-layer/CHANGELOG.md index 635f9ed60..93cf87d99 100644 --- a/packages/cms-base-layer/CHANGELOG.md +++ b/packages/cms-base-layer/CHANGELOG.md @@ -1,5 +1,37 @@ # @shopware/cms-base-layer +## 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 + +### Patch Changes + +- [#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)]: + - @shopware/helpers@1.7.1 + - @shopware/composables@1.11.1 + ## 2.1.0 ### Minor Changes diff --git a/packages/cms-base-layer/README.md b/packages/cms-base-layer/README.md index afdbb5b05..c0c6aeb40 100644 --- a/packages/cms-base-layer/README.md +++ b/packages/cms-base-layer/README.md @@ -474,42 +474,34 @@ 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: 2.1.0 +### Latest changes: 3.0.0 -### Minor Changes - -- [#2275](https://github.com/shopware/frontends/pull/2275) [`432dd24`](https://github.com/shopware/frontends/commit/432dd246571dfa8c149293da97d5bb16f505e54c) Thanks [@mkucmus](https://github.com/mkucmus)! - - Add configurable UnoCSS runtime plugin for dynamic CMS class support - - Extend theme with overlay and fixed color tokens - -- [#2223](https://github.com/shopware/frontends/pull/2223) [`1db8704`](https://github.com/shopware/frontends/commit/1db870413dcea13c690504ffcaee13526bc8035f) Thanks [@mkucmus](https://github.com/mkucmus)! - Add horizontal filter layout for product listings. When the sidebar filter element is placed outside a sidebar section, filters now display as horizontal dropdowns. +### Major Changes - Includes new `SwFilterDropdown` and `SwProductListingFiltersHorizontal` components, with a `displayMode` prop added to all filter components to support both layouts. +- [#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. -- [#2287](https://github.com/shopware/frontends/pull/2287) [`c9bde38`](https://github.com/shopware/frontends/commit/c9bde38d497d5c6c2fbd97700a362eb44ce8881f) Thanks [@mkucmus](https://github.com/mkucmus)! - Add responsive image sizing (srcset/sizes) via provide/inject, LCP preload with fetchpriority, configurable imageSizes in app.config, ISR route rules, inline styles, and AppConfig type declarations +### Minor Changes -- [#2241](https://github.com/shopware/frontends/pull/2241) [`9ccbaa1`](https://github.com/shopware/frontends/commit/9ccbaa1fb6cc1f790d979c3dd3745c5402b6d8d1) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Replace `withDefaults` by props destructure +- [#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 -- [#2273](https://github.com/shopware/frontends/pull/2273) [`18455e7`](https://github.com/shopware/frontends/commit/18455e77221fcc77b119d0ba7eae89dfce0e2941) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Remove SwMedia3D.vue component from autoload +### Patch Changes -- [#2268](https://github.com/shopware/frontends/pull/2268) [`c3fff84`](https://github.com/shopware/frontends/commit/c3fff847e46a17c9c905bd893f1c1de287426c65) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Improve accessibility (A11y) of CMS base layer components. +- [#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`. -- [#2214](https://github.com/shopware/frontends/pull/2214) [`ccb9384`](https://github.com/shopware/frontends/commit/ccb93849be07f1b6a4e192de02579a528b5b6ac4) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Add full TypeScript typing to html-to-vue helper functions +- [#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. -### Patch Changes +- [#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` -- [#2226](https://github.com/shopware/frontends/pull/2226) [`d77eacc`](https://github.com/shopware/frontends/commit/d77eaccdec6c56a6f2d999048c751fb9f01177d4) Thanks [@mkucmus](https://github.com/mkucmus)! - Add config prop support to `SwProductGallery` and make `CmsElementImageGallery` respect `minHeight`, `navigationArrows`, and `navigationDots` config values. +- [#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. -- [#2275](https://github.com/shopware/frontends/pull/2275) [`432dd24`](https://github.com/shopware/frontends/commit/432dd246571dfa8c149293da97d5bb16f505e54c) Thanks [@mkucmus](https://github.com/mkucmus)! - - Fix CMS block layout: height propagation in CmsBlockImageText, conditional `h-full` in CmsElementImage, `backgroundSize` forwarding in CmsGenericBlock, `w-full` for full_width sizing mode, and exclude `sizingMode` from section inline styles - - Fix vertical alignment support in CmsElementText and CmsElementProductSlider using `align-content` CSS property - - Remove rounded corners from image placeholder SVG and simplify CmsBlockTextOnImage structure + 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. -- [#2210](https://github.com/shopware/frontends/pull/2210) [`c6b88b7`](https://github.com/shopware/frontends/commit/c6b88b7d2c50054188356aeb0f83053554d442f5) Thanks [@mkucmus](https://github.com/mkucmus)! - Anchor tags with "btn btn-primary" classes from the API were not being - transformed to Tailwind utility classes due to condition matching issues - in the html-to-vue renderer. +- [#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. -- [#2318](https://github.com/shopware/frontends/pull/2318) [`b40305f`](https://github.com/shopware/frontends/commit/b40305f9e2ec51f29c279650e411bb773438faed) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Components (CmsElementBuyBox, SwListingProductPrice, SwProductPrice) updated to use `hasListPrice` instead of deprecated `isListPrice`. +- [#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 [[`9604f22`](https://github.com/shopware/frontends/commit/9604f22678150d04c3c3156fd8ee2ce440c8c8bf), [`b40305f`](https://github.com/shopware/frontends/commit/b40305f9e2ec51f29c279650e411bb773438faed), [`432dd24`](https://github.com/shopware/frontends/commit/432dd246571dfa8c149293da97d5bb16f505e54c), [`b5f7e2a`](https://github.com/shopware/frontends/commit/b5f7e2a20c9dfdde1690e9006252d847f732bc0a), [`b5f7e2a`](https://github.com/shopware/frontends/commit/b5f7e2a20c9dfdde1690e9006252d847f732bc0a), [`9604f22`](https://github.com/shopware/frontends/commit/9604f22678150d04c3c3156fd8ee2ce440c8c8bf), [`a871c7b`](https://github.com/shopware/frontends/commit/a871c7b6256b75c2e40d93fc0354ba1971420062), [`c9bde38`](https://github.com/shopware/frontends/commit/c9bde38d497d5c6c2fbd97700a362eb44ce8881f)]: - - @shopware/api-client@1.5.0 - - @shopware/composables@1.11.0 - - @shopware/helpers@1.7.0 +- Updated dependencies [[`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00), [`bea7f58`](https://github.com/shopware/frontends/commit/bea7f5882cb58c6d47c84a82db5c8ecaf9bcf8ef)]: + - @shopware/helpers@1.7.1 + - @shopware/composables@1.11.1 diff --git a/packages/cms-base-layer/package.json b/packages/cms-base-layer/package.json index dc0472396..d747ec3e1 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": "2.1.0", + "version": "3.0.0", "description": "Vue CMS Nuxt Layer for Shopware", "author": "Shopware", "repository": { diff --git a/packages/composables/CHANGELOG.md b/packages/composables/CHANGELOG.md index a53b35e9b..92a0855d3 100644 --- a/packages/composables/CHANGELOG.md +++ b/packages/composables/CHANGELOG.md @@ -1,5 +1,21 @@ # @shopware/composables +## 1.11.1 + +### Patch Changes + +- [#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. + + 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. + +- [#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`. + +- Updated dependencies [[`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00)]: + - @shopware/helpers@1.7.1 + ## 1.11.0 ### Minor Changes diff --git a/packages/composables/README.md b/packages/composables/README.md index 6838f9d28..4102f13d2 100644 --- a/packages/composables/README.md +++ b/packages/composables/README.md @@ -165,18 +165,18 @@ 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.0 - -### Minor Changes - -- [#2318](https://github.com/shopware/frontends/pull/2318) [`b40305f`](https://github.com/shopware/frontends/commit/b40305f9e2ec51f29c279650e411bb773438faed) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - `useProductPrice` now returns `hasListPrice` (boolean indicating whether the product has a list price set). `isListPrice` is deprecated and aliased to `hasListPrice`; use `hasListPrice` in new code. +### Latest changes: 1.11.1 ### Patch Changes -- [#2275](https://github.com/shopware/frontends/pull/2275) [`432dd24`](https://github.com/shopware/frontends/commit/432dd246571dfa8c149293da97d5bb16f505e54c) Thanks [@mkucmus](https://github.com/mkucmus)! - Guard against undefined config in `useCmsElementConfig`. +- [#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. + + 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. -- [#2263](https://github.com/shopware/frontends/pull/2263) [`b5f7e2a`](https://github.com/shopware/frontends/commit/b5f7e2a20c9dfdde1690e9006252d847f732bc0a) Thanks [@mkucmus](https://github.com/mkucmus)! - Fixed `getDocumentFile` return type in `useOrderDetails` to correctly return `Blob | string` instead of `Document` schema. +- [#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`. -- Updated dependencies [[`9604f22`](https://github.com/shopware/frontends/commit/9604f22678150d04c3c3156fd8ee2ce440c8c8bf), [`b5f7e2a`](https://github.com/shopware/frontends/commit/b5f7e2a20c9dfdde1690e9006252d847f732bc0a), [`9604f22`](https://github.com/shopware/frontends/commit/9604f22678150d04c3c3156fd8ee2ce440c8c8bf), [`a871c7b`](https://github.com/shopware/frontends/commit/a871c7b6256b75c2e40d93fc0354ba1971420062), [`c9bde38`](https://github.com/shopware/frontends/commit/c9bde38d497d5c6c2fbd97700a362eb44ce8881f)]: - - @shopware/api-client@1.5.0 - - @shopware/helpers@1.7.0 +- Updated dependencies [[`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00)]: + - @shopware/helpers@1.7.1 diff --git a/packages/composables/package.json b/packages/composables/package.json index 0b8a23e13..cef6576c0 100644 --- a/packages/composables/package.json +++ b/packages/composables/package.json @@ -1,6 +1,6 @@ { "name": "@shopware/composables", - "version": "1.11.0", + "version": "1.11.1", "description": "Shopware Frontends composables for Vue", "author": "Shopware", "repository": { diff --git a/packages/helpers/CHANGELOG.md b/packages/helpers/CHANGELOG.md index f0871d2a4..7bb0b27fb 100644 --- a/packages/helpers/CHANGELOG.md +++ b/packages/helpers/CHANGELOG.md @@ -1,5 +1,16 @@ # @shopware/helpers +## 1.7.1 + +### Patch Changes + +- [#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. + + 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. + ## 1.7.0 ### Minor Changes diff --git a/packages/helpers/README.md b/packages/helpers/README.md index 881c28dea..7445cc764 100644 --- a/packages/helpers/README.md +++ b/packages/helpers/README.md @@ -125,12 +125,13 @@ Returns an empty string if `src` is falsy. Returns the original `src` if URL par Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/helpers/CHANGELOG.md) -### Latest changes: 1.7.0 - -### Minor Changes - -- [#2287](https://github.com/shopware/frontends/pull/2287) [`c9bde38`](https://github.com/shopware/frontends/commit/c9bde38d497d5c6c2fbd97700a362eb44ce8881f) Thanks [@mkucmus](https://github.com/mkucmus)! - Add generateCdnSrcSet and buildCdnImageUrl helpers for synthetic responsive image srcset generation via CDN query params +### Latest changes: 1.7.1 ### Patch Changes -- [#2320](https://github.com/shopware/frontends/pull/2320) [`a871c7b`](https://github.com/shopware/frontends/commit/a871c7b6256b75c2e40d93fc0354ba1971420062) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Improve getSmallestThumbnailUrl - add media.url fallback when thumbnails are missing or empty +- [#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. + + 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. diff --git a/packages/helpers/package.json b/packages/helpers/package.json index bfc590236..fe9f92921 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@shopware/helpers", - "version": "1.7.0", + "version": "1.7.1", "description": "Shopware helpers for accessing API data", "author": "Shopware", "type": "module", diff --git a/packages/nuxt-module/CHANGELOG.md b/packages/nuxt-module/CHANGELOG.md index 53ef3670f..3d088d53b 100644 --- a/packages/nuxt-module/CHANGELOG.md +++ b/packages/nuxt-module/CHANGELOG.md @@ -1,5 +1,19 @@ # @shopware/nuxt-module +## 1.4.4 + +### Patch Changes + +- [#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. + + 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. + +- Updated dependencies [[`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00), [`bea7f58`](https://github.com/shopware/frontends/commit/bea7f5882cb58c6d47c84a82db5c8ecaf9bcf8ef)]: + - @shopware/helpers@1.7.1 + - @shopware/composables@1.11.1 + ## 1.4.3 ### Patch Changes diff --git a/packages/nuxt-module/README.md b/packages/nuxt-module/README.md index b7ddc0479..89be9ec30 100644 --- a/packages/nuxt-module/README.md +++ b/packages/nuxt-module/README.md @@ -161,15 +161,16 @@ 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.3 +### Latest changes: 1.4.4 ### Patch Changes -- [#2232](https://github.com/shopware/frontends/pull/2232) [`f52c2da`](https://github.com/shopware/frontends/commit/f52c2da685c0c5085e6579aea37f86b6ce1d8281) Thanks [@patzick](https://github.com/patzick)! - bump h3 version after security audit +- [#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. -- [#2321](https://github.com/shopware/frontends/pull/2321) [`5a785cc`](https://github.com/shopware/frontends/commit/5a785ccff72c4fe95ec3f774eeb7053e8b1e55fa) Thanks [@mkucmus](https://github.com/mkucmus)! - Auto-inject `#shopware` types via `addTypeTemplate`, skip if project provides own `shopware.d.ts` + 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. -- Updated dependencies [[`9604f22`](https://github.com/shopware/frontends/commit/9604f22678150d04c3c3156fd8ee2ce440c8c8bf), [`b40305f`](https://github.com/shopware/frontends/commit/b40305f9e2ec51f29c279650e411bb773438faed), [`432dd24`](https://github.com/shopware/frontends/commit/432dd246571dfa8c149293da97d5bb16f505e54c), [`b5f7e2a`](https://github.com/shopware/frontends/commit/b5f7e2a20c9dfdde1690e9006252d847f732bc0a), [`b5f7e2a`](https://github.com/shopware/frontends/commit/b5f7e2a20c9dfdde1690e9006252d847f732bc0a), [`9604f22`](https://github.com/shopware/frontends/commit/9604f22678150d04c3c3156fd8ee2ce440c8c8bf), [`a871c7b`](https://github.com/shopware/frontends/commit/a871c7b6256b75c2e40d93fc0354ba1971420062), [`c9bde38`](https://github.com/shopware/frontends/commit/c9bde38d497d5c6c2fbd97700a362eb44ce8881f)]: - - @shopware/api-client@1.5.0 - - @shopware/composables@1.11.0 - - @shopware/helpers@1.7.0 +- Updated dependencies [[`22fc8a7`](https://github.com/shopware/frontends/commit/22fc8a7301f6a7d2612d907ab73555978b651c00), [`bea7f58`](https://github.com/shopware/frontends/commit/bea7f5882cb58c6d47c84a82db5c8ecaf9bcf8ef)]: + - @shopware/helpers@1.7.1 + - @shopware/composables@1.11.1 diff --git a/packages/nuxt-module/package.json b/packages/nuxt-module/package.json index 52e059975..57ed18a76 100644 --- a/packages/nuxt-module/package.json +++ b/packages/nuxt-module/package.json @@ -1,6 +1,6 @@ { "name": "@shopware/nuxt-module", - "version": "1.4.3", + "version": "1.4.4", "description": "Nuxt 3 module for Shopware Frontends", "author": "Shopware", "repository": { diff --git a/packages/unocss-design-tokens-layer/CHANGELOG.md b/packages/unocss-design-tokens-layer/CHANGELOG.md new file mode 100644 index 000000000..f43c252b0 --- /dev/null +++ b/packages/unocss-design-tokens-layer/CHANGELOG.md @@ -0,0 +1,11 @@ +# @shopware/unocss-design-tokens-layer + +## 1.0.0 + +### Major Changes + +- [#2433](https://github.com/shopware/frontends/pull/2433) [`5255cd5`](https://github.com/shopware/frontends/commit/5255cd5c09bed33ae18e05ac35a6f22810ca668d) Thanks [@patzick](https://github.com/patzick)! - Package release + +### Minor Changes + +- [#2406](https://github.com/shopware/frontends/pull/2406) [`df93461`](https://github.com/shopware/frontends/commit/df93461434cb79ec9d722cdbd42a37a9af07fb03) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Publish the Nuxt layer that provides shared UnoCSS presets, Shopware design tokens, and the UnoCSS runtime plugin for dynamic CMS utility classes. diff --git a/packages/unocss-design-tokens-layer/README.md b/packages/unocss-design-tokens-layer/README.md index a47b4609d..d23fe3e62 100644 --- a/packages/unocss-design-tokens-layer/README.md +++ b/packages/unocss-design-tokens-layer/README.md @@ -37,3 +37,18 @@ export default mergeConfigs([baseConfig, { }, }]); ``` + + +## Changelog + +Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/unocss-design-tokens-layer/CHANGELOG.md) + +### Latest changes: 1.0.0 + +### Major Changes + +- [#2433](https://github.com/shopware/frontends/pull/2433) [`5255cd5`](https://github.com/shopware/frontends/commit/5255cd5c09bed33ae18e05ac35a6f22810ca668d) Thanks [@patzick](https://github.com/patzick)! - Package release + +### Minor Changes + +- [#2406](https://github.com/shopware/frontends/pull/2406) [`df93461`](https://github.com/shopware/frontends/commit/df93461434cb79ec9d722cdbd42a37a9af07fb03) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Publish the Nuxt layer that provides shared UnoCSS presets, Shopware design tokens, and the UnoCSS runtime plugin for dynamic CMS utility classes. diff --git a/packages/unocss-design-tokens-layer/package.json b/packages/unocss-design-tokens-layer/package.json index 81cc271ad..8a4942858 100644 --- a/packages/unocss-design-tokens-layer/package.json +++ b/packages/unocss-design-tokens-layer/package.json @@ -1,6 +1,6 @@ { "name": "@shopware/unocss-design-tokens-layer", - "version": "0.0.1", + "version": "1.0.0", "description": "Reusable Nuxt Layer for Shopware design tokens and UnoCSS configuration", "author": "Shopware", "repository": { diff --git a/templates/vue-demo-store/CHANGELOG.md b/templates/vue-demo-store/CHANGELOG.md index 6da6c32ec..8341fc0ee 100644 --- a/templates/vue-demo-store/CHANGELOG.md +++ b/templates/vue-demo-store/CHANGELOG.md @@ -1,5 +1,20 @@ # vue-demo-store +## 1.14.0 + +### Minor Changes + +- [#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. Show login modal for guests and add product to wishlist after successful login. + +### Patch Changes + +- [#2371](https://github.com/shopware/frontends/pull/2371) [`33e0c69`](https://github.com/shopware/frontends/commit/33e0c69afc3de854733ab61f866ba65cce1489f6) Thanks [@patzick](https://github.com/patzick)! - Fix catch-all page resolution for technical Shopware routes and serve Nuxt dev's + `/dev-sw.js` request as a static asset in the Nuxt templates. + +- [#2401](https://github.com/shopware/frontends/pull/2401) [`f566e97`](https://github.com/shopware/frontends/commit/f566e972ca5551a24e56774f24628b55ff7a758c) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Use bound src attributes for public images in vue-demo-store so asset URLs are handled consistently by the Vue template compiler. + +- [#2406](https://github.com/shopware/frontends/pull/2406) [`df93461`](https://github.com/shopware/frontends/commit/df93461434cb79ec9d722cdbd42a37a9af07fb03) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Align `uno.config.ts` with the split CMS and design-token layers: add presets and CMS base layer color tokens so the demo store keeps parity with the shared UnoCSS setup. + ## 1.13.0 ### Minor Changes diff --git a/templates/vue-demo-store/package.json b/templates/vue-demo-store/package.json index ee90523d0..6dd7a690a 100644 --- a/templates/vue-demo-store/package.json +++ b/templates/vue-demo-store/package.json @@ -1,6 +1,6 @@ { "name": "vue-demo-store", - "version": "1.13.0", + "version": "1.14.0", "private": true, "type": "module", "scripts": { diff --git a/templates/vue-starter-template-extended/CHANGELOG.md b/templates/vue-starter-template-extended/CHANGELOG.md index 29e0c0e25..cc80acc1d 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.3 + +### Patch Changes + +- Updated dependencies [[`33e0c69`](https://github.com/shopware/frontends/commit/33e0c69afc3de854733ab61f866ba65cce1489f6), [`df93461`](https://github.com/shopware/frontends/commit/df93461434cb79ec9d722cdbd42a37a9af07fb03)]: + - vue-starter-template@0.1.1 + ## 0.0.2 ### Patch Changes diff --git a/templates/vue-starter-template-extended/package.json b/templates/vue-starter-template-extended/package.json index f76deda68..a2d7c0198 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.2", + "version": "0.0.3", "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 5e2c38187..8b9f887f3 100644 --- a/templates/vue-starter-template/CHANGELOG.md +++ b/templates/vue-starter-template/CHANGELOG.md @@ -1,5 +1,14 @@ # vue-starter-template +## 0.1.1 + +### Patch Changes + +- [#2371](https://github.com/shopware/frontends/pull/2371) [`33e0c69`](https://github.com/shopware/frontends/commit/33e0c69afc3de854733ab61f866ba65cce1489f6) Thanks [@patzick](https://github.com/patzick)! - Fix catch-all page resolution for technical Shopware routes and serve Nuxt dev's + `/dev-sw.js` request as a static asset in the Nuxt templates. + +- [#2406](https://github.com/shopware/frontends/pull/2406) [`df93461`](https://github.com/shopware/frontends/commit/df93461434cb79ec9d722cdbd42a37a9af07fb03) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Extend `@shopware/unocss-design-tokens-layer` in `nuxt.config.ts`, add the workspace dependency, simplify `uno.config.ts` to build on the shared token layer, and document the layered UnoCSS setup in the README. + ## 0.1.0 ### Minor Changes diff --git a/templates/vue-starter-template/package.json b/templates/vue-starter-template/package.json index bc1a9b3c0..82cdf1ea4 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.0", + "version": "0.1.1", "description": "Shopware Vue Starter Template", "private": true, "author": "Shopware",