Skip to main content

October, 2021

ยท 2 min read

We've created a new plugin to source products and collections into the Gatsby's GraphQL layer! Also, you can now send and receive custom events via the Analytics module.

Featuresโ€‹

  • ๐Ÿš€ Send and receive custom events via the Analytics module #937

    We've added the UnknownEvent 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.

ON THIS PAGE