Skip to content

Releases: Shopify/theme-tools

@shopify/theme-language-server-node@2.21.1

17 Apr 19:52
ac5393c

Choose a tag to compare

Patch Changes

  • Updated dependencies [5f098a2]
  • Updated dependencies [54e1418]
    • @shopify/theme-check-node@3.25.1
    • @shopify/theme-language-server-common@2.21.1
    • @shopify/theme-check-docs-updater@3.25.1

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

17 Apr 19:53
ac5393c

Choose a tag to compare

Patch Changes

  • Updated dependencies
  • Updated dependencies [5f098a2]
    • @shopify/theme-graph@0.2.5
    • @shopify/theme-check-common@3.25.1

@shopify/theme-language-server-browser@2.21.1

17 Apr 19:53
ac5393c

Choose a tag to compare

Patch Changes

  • @shopify/theme-language-server-common@2.21.1

@shopify/theme-graph@0.2.5

17 Apr 19:53
ac5393c

Choose a tag to compare

Patch Changes

  • Patch bump because it depends on @shopify/theme-check-common
  • Updated dependencies [5f098a2]
    • @shopify/theme-check-common@3.25.1

@shopify/theme-check-node@3.25.1

17 Apr 19:53
ac5393c

Choose a tag to compare

Patch Changes

  • 5f098a2: Temporarily remove ValidScopedCSSClass from the recommended config. The check causes severe save lag in VS Code on larger themes (see #1179) because it re-parses every {% stylesheet %} tag in the theme on every save. It remains available as an opt-in check. Will be re-enabled once the performance issue is resolved.
  • 54e1418: Fix VSCode extension failing to resolve custom check packages from node_modules (e.g. extends: '@acme/theme-check-extension/recommended.yml'). The extension server is webpack-bundled, so require.resolve was being handled by webpack instead of Node.js, returning a module ID rather than a file path. Now uses createRequire from node:module to get real Node.js resolution.
  • Updated dependencies
  • Updated dependencies [5f098a2]
    • @shopify/theme-graph@0.2.5
    • @shopify/theme-check-common@3.25.1
    • @shopify/theme-check-docs-updater@3.25.1

@shopify/theme-check-docs-updater@3.25.1

17 Apr 19:52
ac5393c

Choose a tag to compare

Patch Changes

  • Updated dependencies [5f098a2]
    • @shopify/theme-check-common@3.25.1

@shopify/theme-check-common@3.25.1

17 Apr 19:53
ac5393c

Choose a tag to compare

Patch Changes

  • 5f098a2: Temporarily remove ValidScopedCSSClass from the recommended config. The check causes severe save lag in VS Code on larger themes (see #1179) because it re-parses every {% stylesheet %} tag in the theme on every save. It remains available as an opt-in check. Will be re-enabled once the performance issue is resolved.

@shopify/theme-check-browser@3.25.1

17 Apr 19:52
ac5393c

Choose a tag to compare

Patch Changes

  • Updated dependencies [5f098a2]
    • @shopify/theme-check-common@3.25.1

@shopify/theme-language-server-node@2.21.0

15 Apr 21:46
6fe8023

Choose a tag to compare

Patch Changes

  • Updated dependencies [b049a84]
  • Updated dependencies [f15566c]
  • Updated dependencies [020d34f]
  • Updated dependencies [6951379]
  • Updated dependencies [78a55fc]
    • @shopify/theme-language-server-common@2.21.0
    • @shopify/theme-check-node@3.25.0
    • @shopify/theme-check-docs-updater@3.25.0

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

15 Apr 21:46
6fe8023

Choose a tag to compare

Minor Changes

  • 78a55fc: Introduce new theme-check to detect invalid CSS class usage in HTML

    ValidScopedCSSClass detects invalid CSS classes in HTML if it deems them being out of scope.
    A CSS class is in-scope if it matches any of the following:

    • The CSS class is declared in assets/*.css file
    • The CSS class is declared in the file's stylesheet tag
    • The CSS class is declared in a direct ancestor's stylesheet tag
    • The CSS class is declared in a snippet file's stylesheet tag that is rendered by this file or its direct ancestor (recursive)

Patch Changes

  • b049a84: Read only liquid and JSON files from theme directories (assets, blocks, config, layout, locales, sections, snippets, templates) when preloading files
  • f15566c: add tabstops to translations variables
  • 020d34f: Add support for color_palette input type
  • 6951379: Allow theme app extensions to use block-level completion items in snippets
  • Updated dependencies [e10da7c]
  • Updated dependencies [020d34f]
  • Updated dependencies [78a55fc]
  • Updated dependencies [6951379]
  • Updated dependencies [78a55fc]
    • @shopify/theme-check-common@3.25.0
    • @shopify/theme-graph@0.2.4