Releases: shopware/frontends
@shopware/nuxt-module@1.4.3
Patch Changes
-
#2232
f52c2daThanks @patzick! - bump h3 version after security audit -
#2321
5a785ccThanks @mkucmus! - Auto-inject#shopwaretypes viaaddTypeTemplate, skip if project provides ownshopware.d.ts -
Updated dependencies [
9604f22,b40305f,432dd24,b5f7e2a,b5f7e2a,9604f22,a871c7b,c9bde38]:- @shopware/api-client@1.5.0
- @shopware/composables@1.11.0
- @shopware/helpers@1.7.0
@shopware/helpers@1.7.0
Minor Changes
- #2287
c9bde38Thanks @mkucmus! - Add generateCdnSrcSet and buildCdnImageUrl helpers for synthetic responsive image srcset generation via CDN query params
Patch Changes
- #2320
a871c7bThanks @mdanilowicz! - Improve getSmallestThumbnailUrl - add media.url fallback when thumbnails are missing or empty
@shopware/composables@1.11.0
Minor Changes
- #2318
b40305fThanks @mdanilowicz! -useProductPricenow returnshasListPrice(boolean indicating whether the product has a list price set).isListPriceis deprecated and aliased tohasListPrice; usehasListPricein new code.
Patch Changes
-
#2275
432dd24Thanks @mkucmus! - Guard against undefined config inuseCmsElementConfig. -
#2263
b5f7e2aThanks @mkucmus! - FixedgetDocumentFilereturn type inuseOrderDetailsto correctly returnBlob | stringinstead ofDocumentschema. -
Updated dependencies [
9604f22,b5f7e2a,9604f22,a871c7b,c9bde38]:- @shopware/api-client@1.5.0
- @shopware/helpers@1.7.0
@shopware/cms-base-layer@2.1.0
Minor Changes
-
#2275
432dd24Thanks @mkucmus! - - Add configurable UnoCSS runtime plugin for dynamic CMS class support- Extend theme with overlay and fixed color tokens
-
#2223
1db8704Thanks @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.Includes new
SwFilterDropdownandSwProductListingFiltersHorizontalcomponents, with adisplayModeprop added to all filter components to support both layouts. -
#2287
c9bde38Thanks @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 -
#2241
9ccbaa1Thanks @mdanilowicz! - ReplacewithDefaultsby props destructure -
#2273
18455e7Thanks @mdanilowicz! - Remove SwMedia3D.vue component from autoload -
#2268
c3fff84Thanks @mdanilowicz! - Improve accessibility (A11y) of CMS base layer components. -
#2214
ccb9384Thanks @mdanilowicz! - Add full TypeScript typing to html-to-vue helper functions
Patch Changes
-
#2226
d77eaccThanks @mkucmus! - Add config prop support toSwProductGalleryand makeCmsElementImageGalleryrespectminHeight,navigationArrows, andnavigationDotsconfig values. -
#2275
432dd24Thanks @mkucmus! - - Fix CMS block layout: height propagation in CmsBlockImageText, conditionalh-fullin CmsElementImage,backgroundSizeforwarding in CmsGenericBlock,w-fullfor full_width sizing mode, and excludesizingModefrom section inline styles- Fix vertical alignment support in CmsElementText and CmsElementProductSlider using
align-contentCSS property - Remove rounded corners from image placeholder SVG and simplify CmsBlockTextOnImage structure
- Fix vertical alignment support in CmsElementText and CmsElementProductSlider using
-
#2210
c6b88b7Thanks @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. -
#2318
b40305fThanks @mdanilowicz! - Components (CmsElementBuyBox, SwListingProductPrice, SwProductPrice) updated to usehasListPriceinstead of deprecatedisListPrice. -
Updated dependencies [
9604f22,b40305f,432dd24,b5f7e2a,b5f7e2a,9604f22,a871c7b,c9bde38]:- @shopware/api-client@1.5.0
- @shopware/composables@1.11.0
- @shopware/helpers@1.7.0
@shopware/api-gen@1.5.0
@shopware/api-client@1.5.0
@shopware/nuxt-module@1.4.2
@shopware/helpers@1.6.0
Minor Changes
-
#1985
2cbda25Thanks @mkucmus! - Added methods to extract product info:isProductOnSaleisProductTopSellergetProductManufacturerName
-
#2176
c647bafThanks @mkucmus! - - AddgetProductListingFromCmsPagehelper to extract product listing from CMS page structure- Enable early access to listing data during SSR before component tree renders
Patch Changes
-
#2030
22ff62eThanks @mkucmus! - ExtendedListingFiltertype to support property options and manufacturer entities:- Added optional
optionsproperty for property group options - Added optional
entitiesproperty for manufacturer entities - Improved type safety by explicitly typing empty array return in
getListingFilters()
- Added optional
-
#2153
56cd178Thanks @mkucmus! - FixgetSrcSetForMediato properly encode special characters (spaces, commas, parentheses) in media URLs -
#2162
e1fae3eThanks @mkucmus! - Export encodeUrlPath helper function to properly handle special characters (spaces, commas) in image URLs
@shopware/composables@1.10.0
Minor Changes
-
#2098
a44d871Thanks @mdanilowicz! - Enhanced theuseSyncWishlistcomposable by exposing thelimit,products, andisLoadingproperties, allowing better control and monitoring of the wishlist state. Similarly, updateduseWishlistto also exposelimit,products, andisLoadingproperties for both local and synced wishlists, providing a consistent API and improved state handling for wishlist management. -
#1997
e43d9b7Thanks @mdanilowicz! - Added constsSUBSRIBE_KEYandUNSUBSCRIBE_KEYfor newsletter status in useNewsletter composable -
#1974
7fe2ef9Thanks @mkucmus! - Use proper associations format withinuseDefaultOrderAssociations(no redundant nesting).Returned value is in type of
Schemas["Criteria"]['associations']now:const { loadOrders } = useCustomerOrders(); loadOrders({ // ... other parameters associations: useDefaultOrderAssociations(), });
-
#2176
c647bafThanks @mkucmus! - - AddinitialListingparameter touseListingcomposable for SSR data hydration- Update
createCategoryListingContextto accept initial listing data - Maintain backward compatibility with existing implementations
- Update
-
#1959
c77daa6Thanks @patzick! - Updated default types to Shopware 6.7
Patch Changes
-
87771c3Thanks @mkucmus! - add nested media entity association explicitly -
#1985
2cbda25Thanks @mkucmus! - ChangeisInWishlistproperty type toComputedRefwithinuseProductWishlistcomposable. -
Updated dependencies [
22ff62e,2cbda25,70dcf95,56cd178,e1fae3e,c647baf,c77daa6]:- @shopware/helpers@1.6.0
- @shopware/api-client@1.4.0
@shopware/cms-base-layer@2.0.0
Major Changes
-
#1944
c41a839Thanks @mkucmus! - Updates the@shopware/cms-base-layerpackage with the following changes:- Adds support for the new
SwQuantitySelectcomponent - Updates the
SwProductAddToCartcomponent to use the newSwQuantitySelectcomponent - Fixes the
Statuscomponent to use the new state classes - Updates the
uno.config.tsfile to include default styling that can be used and extended in the end-project:
Nuxt UnoCSS Configuration Example
// nuxt.config.ts in your end-project { unocss: { nuxtLayers: true; // enable Nuxt layers support in order to merge UnoCSS configurations } }
UnoCSS Configuration Example
// uno.config.ts in your end-project import { mergeConfigs } from "@unocss/core"; import baseConfig from "./.nuxt/uno.config.mjs"; export default mergeConfigs(baseConfig, { // will be merged with the base config - all optional theme: { colors: { "brand-primary": "#ff3e00", "brand-secondary": "#ff6a00", }, }, safelist: ["states-success"], preflights: [ { getCSS: () => ` body { font-family: 'Inter', sans-serif; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } `, }, ], });
- Adds support for the new
Minor Changes
-
#2030
22ff62eThanks @mkucmus! - Introduce new UI components, refine listing filters (structure and UX), add global collapse animations, and improve type safety.Features
- New UI components:
- SwFilterChips – shows active filters as removable chips
- SwSortDropdown – sorting dropdown
- SwProductListingPagination – listing pagination
- Checkbox – reusable checkbox
- ChevronIcon – configurable chevron (up/down/left/right)
- RadioButton – reusable radio button
- SwitchButton – toggle switch
Refactors
- SwFilterProperties:
- Replace computed factory with
isChecked()andselectValue()helpers for better performance and readability.
- Replace computed factory with
- Filter collapse animation:
- Unified expand/collapse animations for SwFilterProperties, SwFilterRating, SwFilterShippingFree, and SwFilterPrice using UnoCSS preflights.
TypeScript fixes
- SwProductListingFilters:
- Provide fallbacks (
?? [],?? '') when passinggetSortingOrdersandgetCurrentSortingOrder.
- Provide fallbacks (
- SwFilterChips:
- Relax prop types to accept union types compatible with both full Shopware schemas and simplified helper types.
Code quality improvements
- SwFilterPrice:
- Remove unnecessary optional chaining on
props.selectedFiltersto prevent masking undefined errors
- Remove unnecessary optional chaining on
- Checkbox component:
- Replace
outline-blue-500withoutline-brand-primaryfor brand consistency - Make
labelprop optional to support checkbox-only pattern
- Replace
- SwFilterShippingFree:
- Add i18n support using
useCmsTranslationsinstead of hardcoded "free delivery" text
- Add i18n support using
- SwFilterProperties:
- Remove unnecessary empty label prop from Checkbox usage
Note: Transition classes are globally available via UnoCSS preflights.
- New UI components:
-
#2139
20d1066Thanks @mkucmus! - Added a newSwProductReviewsFormcomponent that allows logged-in customers to submit product reviews. -
#1959
c77daa6Thanks @patzick! - Updated default types to Shopware 6.7 -
#2176
c647bafThanks @mkucmus! - - Extract product listing data early from CMS page responses to enable SSR rendering- Remove ClientOnly wrappers from
SwProductListingFiltersandSwFilterChipscomponents - Resolve hydration mismatches on category pages with filters
- Remove ClientOnly wrappers from
Patch Changes
-
#2174
e9f3d97Thanks @mkucmus! - Added a new image placeholder. -
#2162
e1fae3eThanks @mkucmus! - Replace hardcoded colors with theme tokens, add image placeholder composable, improve URL encoding for special characters in image paths, enhance CMS block layouts, and use useTemplateRef for better type safety -
#2128
efe125eThanks @mkucmus! - Enhanced SwProductReviews component with reviewer names, shop feedback, and star ratings using direct SVG imports. -
#2008
3a1bca9Thanks @mkucmus! - Added missing labels forSwQuantitySelectcomponent. -
#1951
3f2379bThanks @mkucmus! - Use proper paths for components configuration -
#2154
168989eThanks @mkucmus! - Implicitly set public components as global to expose them for templates that extend from the base one. -
Updated dependencies [
87771c3,22ff62e,a44d871,e43d9b7,2cbda25,2cbda25,7fe2ef9,70dcf95,56cd178,c647baf,e1fae3e,c647baf,c77daa6]:- @shopware/composables@1.10.0
- @shopware/helpers@1.6.0
- @shopware/api-client@1.4.0