Skip to content

Releases: Shopify/theme-tools

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

26 Feb 17:56
b6f65cf
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [10493c9]
  • Updated dependencies [f130a78]
  • Updated dependencies [1a4482e]
  • Updated dependencies [754f7f6]
  • Updated dependencies [8be7789]
  • Updated dependencies [754f7f6]
    • @shopify/theme-check-node@3.10.0
    • @shopify/theme-language-server-common@2.9.1
    • @shopify/theme-check-docs-updater@3.10.0

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

26 Feb 17:56
b6f65cf
Compare
Choose a tag to compare

Patch Changes

  • 754f7f6: Do not allow liquid doc completion outside snippet files
  • 8be7789: Add hover support for the @description tag
  • Updated dependencies [10493c9]
  • Updated dependencies [10493c9]
  • Updated dependencies [79c9f77]
  • Updated dependencies [f130a78]
  • Updated dependencies [1a4482e]
  • Updated dependencies [5ad43a8]
  • Updated dependencies [79c9f77]
  • Updated dependencies [754f7f6]
  • Updated dependencies [dc8c9fd]
  • Updated dependencies [beccb69]
  • Updated dependencies [9563715]
    • @shopify/liquid-html-parser@2.6.0
    • @shopify/theme-check-common@3.10.0

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

26 Feb 17:56
b6f65cf
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [754f7f6]
  • Updated dependencies [8be7789]
    • @shopify/theme-language-server-common@2.9.1

@shopify/theme-check-node@3.10.0

26 Feb 17:56
b6f65cf
Compare
Choose a tag to compare

Minor Changes

  • 10493c9: New UnusedDocParam theme-check rule

    • Theme check will verify that parameters defined within a snippet's doc header are used within the body
  • f130a78: Introduce a new theme check which validates the types of parameters passed to snippets against the liquidDoc header.

    • Reports type mismatches
    • Suggests autofixes (replace with default or remove value)
    • Skips type checking for variable lookups
    • Skips type checking for unknown parameters
    • Skips type checking for unknown types
  • 1a4482e: New theme checks to validate liquid doc params

    • UniqueDocParamNames will check if param names are unique within the doc tag
    • ValidDocParamTypes will check if the param types defined in the doc tag are supported
  • 754f7f6: New theme check to ensure doc tag is only used in snippet files

Patch Changes

  • Updated dependencies [10493c9]
  • Updated dependencies [f130a78]
  • Updated dependencies [1a4482e]
  • Updated dependencies [5ad43a8]
  • Updated dependencies [79c9f77]
  • Updated dependencies [754f7f6]
  • Updated dependencies [dc8c9fd]
  • Updated dependencies [beccb69]
    • @shopify/theme-check-common@3.10.0
    • @shopify/theme-check-docs-updater@3.10.0

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

26 Feb 17:56
b6f65cf
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [10493c9]
  • Updated dependencies [f130a78]
  • Updated dependencies [1a4482e]
  • Updated dependencies [5ad43a8]
  • Updated dependencies [79c9f77]
  • Updated dependencies [754f7f6]
  • Updated dependencies [dc8c9fd]
  • Updated dependencies [beccb69]
    • @shopify/theme-check-common@3.10.0

@shopify/theme-check-common@3.10.0

26 Feb 17:56
b6f65cf
Compare
Choose a tag to compare

Minor Changes

  • 10493c9: New UnusedDocParam theme-check rule

    • Theme check will verify that parameters defined within a snippet's doc header are used within the body
  • f130a78: Introduce a new theme check which validates the types of parameters passed to snippets against the liquidDoc header.

    • Reports type mismatches
    • Suggests autofixes (replace with default or remove value)
    • Skips type checking for variable lookups
    • Skips type checking for unknown parameters
    • Skips type checking for unknown types
  • 1a4482e: New theme checks to validate liquid doc params

    • UniqueDocParamNames will check if param names are unique within the doc tag
    • ValidDocParamTypes will check if the param types defined in the doc tag are supported
  • 79c9f77: Update getSnippetDefinition definition property to return implicit description if provided.

    Implicit descriptions are provided as text before any annotations @ are provided. This overrides any @description annotations.

  • 754f7f6: New theme check to ensure doc tag is only used in snippet files

Patch Changes

  • 5ad43a8: Fixed issue with normalize method not working properly on windows due to not replacing backslashes with forward slashes
  • dc8c9fd: Add RemoteAsset allowedDomains check to validate CDN and approved domain usage for better performance and developer experience
  • beccb69: Fixed local blocks validation to not consider preset blocks as containing local blocks when a name is present
  • Updated dependencies [10493c9]
  • Updated dependencies [79c9f77]
  • Updated dependencies [9563715]
    • @shopify/liquid-html-parser@2.6.0

@shopify/theme-check-browser@3.10.0

26 Feb 17:56
b6f65cf
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [10493c9]
  • Updated dependencies [f130a78]
  • Updated dependencies [1a4482e]
  • Updated dependencies [5ad43a8]
  • Updated dependencies [79c9f77]
  • Updated dependencies [754f7f6]
  • Updated dependencies [dc8c9fd]
  • Updated dependencies [beccb69]
    • @shopify/theme-check-common@3.10.0

@shopify/prettier-plugin-liquid@1.8.3

26 Feb 17:56
b6f65cf
Compare
Choose a tag to compare

Patch Changes

  • 9563715: Add padding for liquid doc content
  • 357ea7f: Prevent prettier from appending @description annotation before implicit descriptions
  • Updated dependencies [10493c9]
  • Updated dependencies [79c9f77]
  • Updated dependencies [9563715]
    • @shopify/liquid-html-parser@2.6.0

@shopify/liquid-html-parser@2.6.0

26 Feb 17:56
b6f65cf
Compare
Choose a tag to compare

Minor Changes

  • 79c9f77: [LiquidDoc] Add parsing support for implicit descriptions.

Patch Changes

  • 10493c9: Added LoopNamedTags to identify tags that provides iteration
  • 9563715: [internal] Fix typo in liquid doc parser

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

20 Feb 20:22
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [f077a9e]
    • @shopify/theme-language-server-common@2.9.0
    • @shopify/theme-check-node@3.9.0
    • @shopify/theme-check-docs-updater@3.9.0