FastStore Release Notes - October 2021
Features
-
π Send and receive custom events via the Analytics module #937
We've added the
UknownEvent
event type to the Analytics module. This is a minimal event sent via thesendAnalyticsEvent
function, which can be overwritten by other event types, such as pre-purchase interactions.- Check out the details on how to manage analytics events in the Analytics module documentation and the Google Analytics 4 (GA4) data model.
-
π Source store plugin #944
We've added the plugin
gatsby-source-store
to source products and collections into the Gatsby's GraphQL layer. This plugin replaces thegatsby-source-vtex
plugin and works with the store-api GraphQL schema.- Learn how to install and use the
gatsby-source-store
plugin here.
- Learn how to install and use the
-
π Modal Molecule #957
Use the Modal Molecule to create alert windows in your storefront.
-
π GraphQL Code Generator #960
We've added the GraphQL Code Generator CLI to automatically generate TypeScript typings for
store-api
. -
π Spinner atom #961
Now, you can use the Spinner atom as a loading button component.
-
π Cart component with state validation #963
We modified the Cart APIs to provide a cart with state validation. The browser now has its cart state, which is validated by the backend. The backend signalizes if the frontend should be modified or not. For example, if the browser's state is not valid, containing a product currently unavailable at your store, the backend will send the updated cart state to the frontend.
-
π Storybook theme #979
Besides adding a new logo and theme to the Store UI Storybook, we also synced the FastStore CHANGELOG.md with the Storybook Changelog.