Skip to content

FastStore Release Notes - April 2022

Compare
Choose a tag to compare
@Mariana-Caetano Mariana-Caetano released this 09 May 11:53
· 1474 commits to main since this release

FastStore UI

Banner

  • πŸ› otherProps parameter - #1218
    Other props can now be passed on the Banner component.

DropdownMenu

  • πŸ› Fix DropdownMenu position - #1199
    The DropdownMenu component no longer has issues with scrolling. Now the component has the properties scrollLeft and scrollTop to calculate the position, and adds event.preventDefault() in KeyDown press event, avoiding page scroll when pressed.

FastStore SDK

Analytics

  • πŸ› Fixed URL to events - #1228
    The Analytics SDK types is now compliant with Google Analytics 4 (GA4), which means custom properties can't be added to events directly on the SDK.

lighthouse-config

Performance budget

  • 🧹 Increased the performance budget back to 95 - 1201

FastStore API

VTEX Platform

Breaking change

  • πŸ’₯ Removed Gatsby plugins - 1215
    All unused Gatsby plugins were removed to be more open to other frameworks. The removal of unused Gatsby plugins also improved the speed with which the FastStore monorepo was published and developed.
Before After
CI before CI after
  • πŸ’₯ Handle channel as facet for search and product queries - 1197
    The channel function is now a string object that contains salesChannel and regionId. Before, channel were a integer that represented a sales channel now it has the following format in store.config.js:
// Default channel
  channel: '{"salesChannel":"1"}',

Enhancement

  • ✨ New Search event API - #1241
    The search.query event has been added to the VTEX Intelligent Search Analytics API. This event is used to generate indices like Top Searches and Suggestions.

  • ✨ New Intelligent Search API - #1216
    The simulation of search queries has been removed in favor of the new Intelligent Search API, which already performs the simulation.

Bug fix

  • πŸ› @faststore/api and VTEX catalog slug mismatches - #1214
    The links between @faststore/api and VTEX Catalog are now fixed.

Chore

  • 🧹 Stable tests for the faststore/api - 1200
    The tests from @faststore/api are no longer reliant on dynamic data, which means they won't fail if something changes in the account from which the data is collected.

Documentation

Internal

  • πŸ“‘ Updated faststore.dev homepage - #1250

  • πŸ“‘ Updated FAQ page in faststore.dev - #1249

  • πŸ“‘ Updated announcementBar in faststore.dev - #1237

  • πŸ“‘ Updated faststore.dev description for SEO - #1230

  • πŸ“‘ Added faststore.dev thumbnail - #1229

  • πŸ“‘ Updated docusaurus.config.js with GA4 trackingID - #1226

  • πŸ“‘ Implemented Google Analytics 4 (GA4) in faststore.dev - #1222

  • πŸ“‘ Updated Gatsby overview - #1205