github vtex/faststore v1.2.0
FastStore Release Notes - October 2021

latest releases: v3.0.149, v3.0.148, v3.0.147...
3 years ago

Full Changelog

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 the sendAnalyticsEvent function, which can be overwritten by other event types, such as pre-purchase interactions.

  • 🚀 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 the gatsby-source-vtex plugin and works with the store-api GraphQL schema.

    • Learn how to install and use the gatsby-source-store plugin here.
  • 🚀 Modal Molecule #957

    Use the Modal Molecule to create alert windows in your storefront.

    gif-modal

  • 🚀 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.

    spinner-atom

  • 🚀 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.

Bug Fixes

  • 🐛 Developing a store in an account without the CMS Pages module #969 - You can now develop on a store that does not have the CMS Pages module yet.

  • 🐛 Synchronously reading regionId initial value #974 - The regionIDis no longer lazy loaded, avoiding it to return a null value.

Don't miss a new faststore release

NewReleases is sending notifications on new releases.