Skip to content

@shopify/theme-language-server-common@2.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Jan 20:20
· 20 commits to main since this release
5aa33ba

Minor Changes

  • dc9c6da: In {% schema %} tags, add block type completion in presets

  • c60e61b: In {% schema %} tags, add hover and code completion of presets settings ids

  • 4a429e1: Fetch metafield definitions on start-up using CLI

  • c74850c: Add "On section rename" handling

    When sections/*.liquid files are renamed, we will update all references to these files in their previous locations. This includes:

    • templates/*.json files that referenced the old file name
    • sections/*.json files that referenced the old file name
    • Static section calls formatted as {% section 'old-name' %}
  • b31e0f8: Add "On theme block rename" handling

    Whenever a theme block gets renamed, the following will now happen:

    1. References in files with a {% schema %} will be updated automatically
    2. References in template files will be updated automatically
    3. References in section groups will be updated automatically
    4. References in {% content_for "block", type: "oldName" %} will be updated automatically

Patch Changes

  • 68e1b44: [internal] Check workspace folder client capabilities before fetching metafields
  • 68e1b44: [Bug fix] Support auto-completion on every preset setting
  • Updated dependencies [c74850c]
  • Updated dependencies [c60e61b]
  • Updated dependencies [b31e0f8]
  • Updated dependencies [34c2268]
    • @shopify/theme-check-common@3.6.0