Skip to content

2.63.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 16:07
f3eb587

Compatible environment configuration

⚠️ Breaking changes

Product compare moved to the Product Comparison module

Compare is no longer part of the theme: the /compare page, shared/compare, the compare menu items and the product_compare_enabled / product_compare_limit theme settings are removed.

Before upgrading the theme:

  1. Install VirtoCommerce.ProductComparison 3.1000.0 or later.
  2. Set the store settings ProductComparison.Enabled and ProductComparison.MaxItems: the old theme settings are not carried over.

Compare lists saved in browsers before the upgrade are dropped. CSS: product-price-block__add-to-compare → product-price-block__action.

PR: #2635

Page frame and header markup

  • .main-layout__content is gone: select #main-content, or use --vc-frame-header-offset-bottom, --vc-frame-footer-offset-top and --vc-frame-main-min-height. The footer sits inside .vc-frame__footer, so .main-layout > footer no longer matches.
  • header/vc-header.vue → header/app-header.vue (AppHeader). The desktop and mobile headers are BEM blocks (.app-header, .mobile-header): _custom.scss rules on their utility classes (.sticky.top-0, .h-14) no longer match.
  • The mobile header is position: sticky (was fixed); its placeholder div is removed.

PR: #2656

Organization switcher moved to its own header control

  • The list left the account dropdown and opens from [data-test-id="organizations-button"]: E2E selectors that look for it under account-menu must open the new menu first.
  • top-header-organizations.vue → organization-list.vue; .top-header-organizations → .organization-list (__list → __scroll, __radio removed).
  • A fork with its own menu.json must add the organizations item to header.desktop.main, or desktop users get no organization switcher. A custom header that renders desktopMainMenuItems must hide that item for single-organization users (isMultiOrganization).
  • New locale keys shared.layout.header.top_header.search_organizations and shared.layout.header.organization_switcher.trigger_label: forks with their own locales add them.

PR: #2667

Stricter ui-kit boundaries in fork builds

  • yarn build fails on a deep import of a ui-kit file (@/ui-kit/components/atoms/button/vc-button.vue, import type included): import from the ui-kit indexes.
  • A ui-kit component edited in a fork must not import the theme (@/core, @/shared, generated GraphQL types, useThemeContext, useNotifications): use the Vc*Type globals and useUiKitOptions().
  • Imports of packages missing from package.json (e.g. @intlify/core-base) fail the build, even type-only.
  • A fork that edited app-runner.ts must keep setLogger(Logger) at boot and app.use(uiKit, { image: { thumbnails }, notifications }): without them thumbnails, the copy toast and kit logging silently stop working.

PR: #2666

Page templates and Page Builder sections

  • IPageTemplate / IPageContent → IThemePageDocument / IThemeItem (@/core/theme-snapshot). Every block in a fork's config/product-default.json and config/product_b2c.json needs a type; product_b2c.json also needs "variationsLayout": "b2c".
  • plugins/builder-preview/block-mapping.ts is removed, getBuilderOrigin moved to @/core/theme-snapshot, isPreviewMode → isDesignerPreview().
  • #vc-theme-variables is filled through the CSSOM: code that copies the <head> styles as HTML (a print window) takes the palette from getThemeVariablesCss().
  • Only registered section types render: a section a fork registered only with app.component must be added to templateBlocks (product blocks: ProductBlocks).

PR: #2630, #2626

UI kit and constants

  • VcTable: clickable rows carry vc-table__row--clickable instead of cursor-pointer. PR: #2618
  • VcLineItem: a selected item gets a 4px primary-500 leading edge instead of the secondary-50 background; --vc-line-item-selected-edge-color changes it. cart-item-actions loses its selected prop. PR: #2686
  • MODULE_ID_OTP and OTP_ENABLED_KEY are removed from core/constants/modules.ts. PR: #2683

What's Changed

  • feat(VCST-6290): give soft headings the design type scale by @vas11yev1work in #2655
  • feat(VCST-6233): add VcTabSwitchGroup with a soft segmented look by @vas11yev1work in #2654
  • fix(VCST-6570): harden Page Builder content rendering and preview by @ivan-kalachikov in #2626
  • chore(deps): bump the actions group across 1 directory with 12 updates by @dependabot[bot] in #2665
  • fix(VCST-6688): name the organization when requesting the MFA change code by @DmitryGrishinVirtoworks in #2648
  • feat(VCST-6258): Sales Statistics on the account dashboard by @aavolko in #2625
  • refactor(VCST-6493): let a kit parent's class win over the VcButton root by @goldenmaya in #2639
  • feat(VCST-6876): decouple ui-kit from the theme by @vas11yev1work in #2666
  • feat(VCST-6291): give VcTable its soft look by @vkrashenko in #2618
  • feat(VCST-6292): give VcPagination its soft look by @vkrashenko in #2617
  • feat(VCST-6744): add the VcFrame page frame and set its spacing for the soft design by @goldenmaya in #2656
  • fix(VCST-6901): style the in-cart chip in the VcLineItems story by @vas11yev1work in #2675
  • feat(VCST-5918): move product compare into the product comparison module by @yuskithedeveloper in #2635
  • chore(deps): bump google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml from 2.7.0 to 2.7.1 in the actions group by @dependabot[bot] in #2681
  • chore(VCST-5918): install the Product Comparison module in the backend packages by @yuskithedeveloper in #2684
  • chore: switch the Atlassian MCP server to the v2 endpoint by @ivan-kalachikov in #2687
  • feat(VCST-6572): storefront Site Builder for Release #1 by @ivan-kalachikov in #2630
  • feat: report GraphQL request timeouts to Application Insights by @vkrashenko in #1729
  • VCST-6129: Pin VirtoCommerce/.github to v3.1000.11, vc-build via setup-vcbuild@stable by @AndrewEhlo in #2682
  • feat(VCST-6886): mirror client-app/ui-kit into the vc-frontend-ui-kit repository by @vas11yev1work in #2693
  • fix(VCST-6950): exchange the Site Builder preview auth code on the storefront host by @ivan-kalachikov in #2689
  • fix(VCST-6949): keep static-content text readable on the dark gray background in dark mode by @ivan-kalachikov in #2688
  • feat(VCST-6963): custom section types for Site Builder by @ivan-kalachikov in #2690
  • feat(VCST-6958): selected line item — leading edge instead of a tinted background by @godothor in #2686
  • test(builder-preview): import the plugin statically in the add-block test by @ivan-kalachikov in #2699
  • feat(VCST-6169): show OTP when the store enables it by @artem-dudarev in #2683
  • feat(VCST-6237): give the organization switcher its own header control by @goldenmaya in #2667
  • fix(VCST-6117): return focus from the share dialog and open delete confirmations on Cancel by @vkrashenko in #2677
  • fix(VCST-6679): drop the white box behind the branch search input by @vkrashenko in #2680
  • feat: expose the app version in a version meta tag by @Andrew-Orlov in #2702
  • chore: update graphql types and backend packages by @vas11yev1work in #2705

New Contributors

Full Changelog: 2.62.0...2.63.0