Releases: Shopify/theme-tools
@shopify/theme-language-server-node@2.9.1
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
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
@shopify/theme-check-node@3.10.0
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
- Theme check will verify that parameters defined within a snippet's
-
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 thedoc
tagValidDocParamTypes
will check if the param types defined in thedoc
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
@shopify/theme-check-common@3.10.0
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
- Theme check will verify that parameters defined within a snippet's
-
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 thedoc
tagValidDocParamTypes
will check if the param types defined in thedoc
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
@shopify/prettier-plugin-liquid@1.8.3
@shopify/liquid-html-parser@2.6.0
@shopify/theme-language-server-node@2.9.0
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