Developer changelog
Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.
Removing the @global block type in favour of the @app block type in theme sections
Themes
Effective August 17, 2021
Action required
In order for theme sections to accept app blocks, the section must define a block of type @app
in its schema.
A number of development shops have been created using a pre-release version of Shopify's Dawn theme. The pre-release defines blocks of type @global
in some of the sections (sections/apps.liquid
, sections/main-product.liquid
) to indicate that those sections support app blocks.
Moving forward, @global
is removed and being replaced by @app
. For more information about the @app
block type, refer to add support for app blocks to sections. In order to make sure your theme sections work correctly, follow one of the recommendations:
- Download the latest version of Dawn and upload it to your store.
- Update the affected theme sections to use the
@app
instead of the@global
block type.