Skip to main content

FastStore - April, 2022

ยท 4 min read

The FastStore API no longer includes unused Gatsby plugins and now handles channel as a facet for search and product queries. Also, check out the new Troubleshooting guides and the Starter submission form.

FastStore UIโ€‹

  • ๐Ÿ› otherProps parameter - #1218 Other props can now be passed on the Banner component.
  • ๐Ÿ› 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.
BeforeAfter
CI beforeCI 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