Skip to content

Release Notes - May 2022

Compare
Choose a tag to compare
@danzanzini danzanzini released this 10 Jun 14:55
· 230 commits to main since this release
fff3f16

🎉 New feature

  • New Toggle component #15
    The Toggle component works as a checkbox, but in the form of a switch control.

  • Updated Link theming #17
    The Link component now has new tokens based on the Base Store Theming Structure.

🐛 Bug fix

  • Fixed search suggestions locale issue #71
    All requests to the FastStore Search API now receive locale info so the search can return product suggestions according to the user locale.

  • Fixed custom attributes for img and link tags #60
    Custom attributes are now only passed to img and link HTML tags to avoid inconsistencies in other components.

  • Fixed the fetchPriority prop warning #54
    Fixed warning related to the fetchPriority being written in camel case.

  • Fixed Storybook error while importing CSS styles #53

  • Fixed EmptyState visual bug #11
    The vertical gap for the empty cart state is now fixed.

Before After
Screen Shot 2022-05-02 at 15 08 03 Screen Shot 2022-05-02 at 15 07 31

Enhancement

  • Improved page loading time with Incremental Static Build #39
    Base Store now uses the new Incremental Static Build (ISB) WebOps solution.

  • Replaced OutOfStock component #72
    Base Store now uses the OutofStock component from the FastStore UI library.

  • Improved page LCP #49
    Improved Largest Contentful Paint (LCP) score after implementing the fetchpriority attribute.

  • Added analytics events to CartItem #35
    The CartItem component now tracks user actions via the add_to_cart and remove_from_cart Google Analytics events.

  • Updated Select theming #16
    The Select component now has new tokens based on the Base Store Theming Structure.

  • Updated Incentives theming #56
    The Incentives component now has new tokens based on the Base Store Theming Structure.

  • Improved Theming documentation on Storybook #67
    New docs published on the Base Store Storybook. Also, a new documentation format based on MDX was implemented.

🧹 Chore

  • CartItem tests for analytics events #66
    The CartItem component now has tests to check if events are fired to Google Analytics when users change the quantity of a product on the minicart.

  • UpdatedQuantitySelector styling #76
    The QuantitySelector component now uses CSS modules.

  • camelCase standard for CSS Modules classes #42
    Since the gatsby.store only imports classes as camel case, the nextjs.store now has a configuration to import classes as camel case too.

  • Improved home performance #45

  • Updated global tokens nomenclature #51