Skip to content

Releases: shopware/frontends

@shopware/nuxt-module@1.4.3

31 Mar 10:48
2ef5679

Choose a tag to compare

Patch Changes

@shopware/helpers@1.7.0

31 Mar 10:48
2ef5679

Choose a tag to compare

Minor Changes

  • #2287 c9bde38 Thanks @mkucmus! - Add generateCdnSrcSet and buildCdnImageUrl helpers for synthetic responsive image srcset generation via CDN query params

Patch Changes

  • #2320 a871c7b Thanks @mdanilowicz! - Improve getSmallestThumbnailUrl - add media.url fallback when thumbnails are missing or empty

@shopware/composables@1.11.0

31 Mar 10:48
2ef5679

Choose a tag to compare

Minor Changes

  • #2318 b40305f Thanks @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.

Patch Changes

@shopware/cms-base-layer@2.1.0

31 Mar 10:48
2ef5679

Choose a tag to compare

Minor Changes

  • #2275 432dd24 Thanks @mkucmus! - - Add configurable UnoCSS runtime plugin for dynamic CMS class support

    • Extend theme with overlay and fixed color tokens
  • #2223 1db8704 Thanks @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 SwFilterDropdown and SwProductListingFiltersHorizontal components, with a displayMode prop added to all filter components to support both layouts.

  • #2287 c9bde38 Thanks @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 9ccbaa1 Thanks @mdanilowicz! - Replace withDefaults by props destructure

  • #2273 18455e7 Thanks @mdanilowicz! - Remove SwMedia3D.vue component from autoload

  • #2268 c3fff84 Thanks @mdanilowicz! - Improve accessibility (A11y) of CMS base layer components.

  • #2214 ccb9384 Thanks @mdanilowicz! - Add full TypeScript typing to html-to-vue helper functions

Patch Changes

  • #2226 d77eacc Thanks @mkucmus! - Add config prop support to SwProductGallery and make CmsElementImageGallery respect minHeight, navigationArrows, and navigationDots config values.

  • #2275 432dd24 Thanks @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
  • #2210 c6b88b7 Thanks @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 b40305f Thanks @mdanilowicz! - Components (CmsElementBuyBox, SwListingProductPrice, SwProductPrice) updated to use hasListPrice instead of deprecated isListPrice.

  • 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

31 Mar 10:48
2ef5679

Choose a tag to compare

Minor Changes

  • #2262 7a20ea0 Thanks @mkucmus! - Added support for client_credentials grant type authentication when loading Admin API schema. Set SHOPWARE_ADMIN_CLIENT_SECRET and SHOPWARE_ADMIN_CLIENT_IDenvironment variables to use integration credentials instead of username/password.

Patch Changes

@shopware/api-client@1.5.0

31 Mar 10:48
2ef5679

Choose a tag to compare

Minor Changes

  • #2263 b5f7e2a Thanks @mkucmus! - Regenerated Store API schemas from the latest backend. Removed obsolete schema patches that were fixed upstream.

  • #2261 9604f22 Thanks @mkucmus! - update admin API types to be aligned with the backend.

Patch Changes

  • #2261 9604f22 Thanks @mkucmus! - Changed scopes to scope in OAuth token request types to align with RFC 6749 and League OAuth2 server implementation.

@shopware/nuxt-module@1.4.2

16 Dec 13:39
a6376b3

Choose a tag to compare

Patch Changes

@shopware/helpers@1.6.0

16 Dec 13:39
a6376b3

Choose a tag to compare

Minor Changes

  • #1985 2cbda25 Thanks @mkucmus! - Added methods to extract product info:

    • isProductOnSale
    • isProductTopSeller
    • getProductManufacturerName
  • #2176 c647baf Thanks @mkucmus! - - Add getProductListingFromCmsPage helper to extract product listing from CMS page structure

    • Enable early access to listing data during SSR before component tree renders

Patch Changes

  • #2030 22ff62e Thanks @mkucmus! - Extended ListingFilter type to support property options and manufacturer entities:

    • Added optional options property for property group options
    • Added optional entities property for manufacturer entities
    • Improved type safety by explicitly typing empty array return in getListingFilters()
  • #2153 56cd178 Thanks @mkucmus! - Fix getSrcSetForMedia to properly encode special characters (spaces, commas, parentheses) in media URLs

  • #2162 e1fae3e Thanks @mkucmus! - Export encodeUrlPath helper function to properly handle special characters (spaces, commas) in image URLs

@shopware/composables@1.10.0

16 Dec 13:39
a6376b3

Choose a tag to compare

Minor Changes

  • #2098 a44d871 Thanks @mdanilowicz! - Enhanced the useSyncWishlist composable by exposing the limit, products, and isLoading properties, allowing better control and monitoring of the wishlist state. Similarly, updated useWishlist to also expose limit, products, and isLoading properties for both local and synced wishlists, providing a consistent API and improved state handling for wishlist management.

  • #1997 e43d9b7 Thanks @mdanilowicz! - Added consts SUBSRIBE_KEY and UNSUBSCRIBE_KEY for newsletter status in useNewsletter composable

  • #1974 7fe2ef9 Thanks @mkucmus! - Use proper associations format within useDefaultOrderAssociations (no redundant nesting).

    Returned value is in type of Schemas["Criteria"]['associations'] now:

    const { loadOrders } = useCustomerOrders();
    
    loadOrders({
      // ... other parameters
      associations: useDefaultOrderAssociations(),
    });
  • #2176 c647baf Thanks @mkucmus! - - Add initialListing parameter to useListing composable for SSR data hydration

    • Update createCategoryListingContext to accept initial listing data
    • Maintain backward compatibility with existing implementations
  • #1959 c77daa6 Thanks @patzick! - Updated default types to Shopware 6.7

Patch Changes

@shopware/cms-base-layer@2.0.0

16 Dec 13:39
a6376b3

Choose a tag to compare

Major Changes

  • #1944 c41a839 Thanks @mkucmus! - Updates the @shopware/cms-base-layer package with the following changes:

    • Adds support for the new SwQuantitySelect component
    • Updates the SwProductAddToCart component to use the new SwQuantitySelect component
    • Fixes the Status component to use the new state classes
    • Updates the uno.config.ts file 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;
            }
            `,
        },
      ],
    });

Minor Changes

  • #2030 22ff62e Thanks @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() and selectValue() helpers for better performance and readability.
    • Filter collapse animation:
      • Unified expand/collapse animations for SwFilterProperties, SwFilterRating, SwFilterShippingFree, and SwFilterPrice using UnoCSS preflights.

    TypeScript fixes

    • SwProductListingFilters:
      • Provide fallbacks (?? [], ?? '') when passing getSortingOrders and getCurrentSortingOrder.
    • 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.selectedFilters to prevent masking undefined errors
    • Checkbox component:
      • Replace outline-blue-500 with outline-brand-primary for brand consistency
      • Make label prop optional to support checkbox-only pattern
    • SwFilterShippingFree:
      • Add i18n support using useCmsTranslations instead of hardcoded "free delivery" text
    • SwFilterProperties:
      • Remove unnecessary empty label prop from Checkbox usage

    Note: Transition classes are globally available via UnoCSS preflights.

  • #2139 20d1066 Thanks @mkucmus! - Added a new SwProductReviewsForm component that allows logged-in customers to submit product reviews.

  • #1959 c77daa6 Thanks @patzick! - Updated default types to Shopware 6.7

  • #2176 c647baf Thanks @mkucmus! - - Extract product listing data early from CMS page responses to enable SSR rendering

    • Remove ClientOnly wrappers from SwProductListingFilters and SwFilterChips components
    • Resolve hydration mismatches on category pages with filters

Patch Changes