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โ€‹

  • ๐Ÿ“‘ New dark mode available in faststore.dev - #1233

  • ๐Ÿ“‘ Updated Extending the schema in FastStore API documentation - #1224

  • ๐Ÿ“‘ New Troubleshooting problems in FastStore - #1219 Check out the new guide on identifying if the issue you are facing is from FasStore/WebOps or a mistake on your side.

  • ๐Ÿ“‘ New Sending CMS updates to VTEX IO WebOps - #1213 Check out the new user guide to learn how to set up WebOps to communicate with the VTEX Headless CMS and receive CMS updates via the VTEX Admin.

  • ๐Ÿ“‘ Updated Configuring your VTEX account - #1212
    The vtex.admin-cms@0.x and vtex.admin-cms-graphql-rc@0.x were updated to @1.x. Also, updated the build URL to /build-releases since Releases is now the default option to build and publish on the CMS.

  • ๐Ÿ“‘ New Enabling private CMS previews - #1211 Check out the new VTEX Headless CMS user guide on how to change public previews to private previews.

  • ๐Ÿ“‘ New Gatsby 4 now available Release Note - #1210 FastStore infrastructure now allows the use of site generators that support server-side rendering (SSR), such as Next.js and Gatsby 4.

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