Skip to content

FastStore Release Notes - October 2021

Compare
Choose a tag to compare
@Mariana-Caetano Mariana-Caetano released this 08 Oct 14:00

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.