Skip to content

Release Notes - June 2022

Latest
Compare
Choose a tag to compare
@carolinamenezes carolinamenezes released this 01 Jul 18:17
· 135 commits to main since this release
7d16cb6

PLPs now support price range filtering, and nonexistent PDPs can now handle 404 errors. Also, more components have been updated to conform to the new Base Store Theming architecture.

🎉 New feature

  • New Dropdown component (#111)

    The Dropdown component has been extracted from Breadcrumb and received new local tokens as part of adhering to the new Base Store Theming architecture.

    Dropdown component

  • Price range filtering now available for PLPs (#112)

    Thanks to the new PriceRange component, Product Listing Pages (PLPs) can now support price range filtering.

  • 301 redirects added to PDPs (#87)

    So that VTEX stores migrating to FastStore can work seamlessly, a 301 redirect between vtexSlug and fastStoreSlug was created, where:

    • vtexSlug: /{slug}/p
    • fastStoreSlug: /{slug}-{skuId}/p

Theming

As part of adhering to the new Base Store Theming architecture, the following components now have new local tokens related to global ones:

  • New local tokens to Tiles (#120)
  • New local tokens to ProductGrid (#127)
  • New local tokens to Accordion (#126)
  • New local tokens to ImageGallery (#125)
  • New local tokens to RegionalizationBar (#124)
  • New local tokens to Modal and RegionalizationModal (#123)
  • New local tokens to Dropdown (#111)
  • New local tokens to EmptyState (#113)

🐛 Bug fix

  • ImageGallerySelector scroll fixed (##121)

    Undesired behaviors of the ImageGallerySelector scroll on Safari were fixed.

    Before Now
    Scroll with error Fixed scroll

Enhancement

  • Page code error handling enhanced (#108)

    Instead of always responding with a 500 status code, nonexistent Product Details Pages (PDPs) can now handle 404 errors.

  • External and client-side navigation now supported by the Link component ( #103)

    The Link component now handles both external and client-side navigation. This change intends to unify the Link component usage.

  • SVG logo replaced as static asset (#116)

    The SVG logo was removed from the JavaScript code and imported as a static asset. This change aims to reduce the amount of JavaScript downloaded on the client-side since directly declaring SVGs in JS code can harm the Total Blocking Time (TBT) and final bundle sizes.

📄 Documentation

  • New Regionalization section on the Storybook (#124)

    The Base Store Storybook now has the Regionalization section that lists all regionalization-related components and how to use them.

  • General improvements on Storybook implemented (#115)

    The Sandbox tab is now available for all component pages, allowing to test the component in different viewports and use other add-ons. Also, some console errors on the Storybook were fixed.

🧹 Chore

  • Upgraded dependencies (#114)
  • Storybook's version bump from 6.4.20 to 6.5.9 (#109)