FastStore Release Notes - April 2022
FastStore UI
Banner
- π
otherProps
parameter - #1218
Other props can now be passed on the Banner component.
DropdownMenu
- π Fix
DropdownMenu
position - #1199
TheDropdownMenu
component no longer has issues with scrolling. Now the component has the propertiesscrollLeft
andscrollTop
to calculate the position, and addsevent.preventDefault()
inKeyDown
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 |
---|---|
- π₯ Handle
channel
as facet for search and product queries - 1197
Thechannel
function is now a string object that containssalesChannel
andregionId
. Before,channel
were a integer that represented a sales channel now it has the following format instore.config.js
:
// Default channel
channel: '{"salesChannel":"1"}',
Enhancement
-
β¨ New Search event API - #1241
Thesearch.query
event has been added to the VTEX Intelligent Search Analytics API. This event is used to generate indices likeTop Searches
andSuggestions
. -
β¨ 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
-
π Troubleshooting for Creating storefronts with Gatsby - #1261
Check out the new tutorial for common errors that you might face while working with FastStore. -
π New Other Resources - #1251
-
π New: send your feedback about faststore.dev - #1247
-
π New Starter: Next.JS - #1240
-
π New: Starter submission - #1239
Submit your starter and get featured on the FastStore Community Starters Library. -
π New Release Notes - Lighthouse reports - #1235
-
π 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[email protected]
and[email protected]
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
infaststore.dev
- #1237 -
π Updated faststore.dev description for SEO - #1230
-
π Added faststore.dev thumbnail - #1229
-
π Updated
docusaurus.config.js
with GA4trackingID
- #1226 -
π Implemented Google Analytics 4 (GA4) in
faststore.dev
- #1222 -
π Updated Gatsby overview - #1205