Releases: Shopify/theme-tools
@shopify/theme-check-common@3.9.0
@shopify/theme-check-browser@3.9.0
@shopify/prettier-plugin-liquid@1.8.2
Patch Changes
- 085aabb: Add prettier support for the
@description
tag
@shopify/theme-language-server-node@2.8.0
Patch Changes
- Updated dependencies [2e4613b]
- Updated dependencies [fe84a17]
- Updated dependencies [055cef7]
- Updated dependencies [d9dbc26]
- Updated dependencies [e3e1dfd]
- Updated dependencies [e9c1d98]
- Updated dependencies [2db3047]
- Updated dependencies [261c295]
- Updated dependencies [5eaf295]
- @shopify/theme-language-server-common@2.8.0
- @shopify/theme-check-node@3.8.0
- @shopify/theme-check-docs-updater@3.8.0
@shopify/theme-language-server-common@2.8.0
Minor Changes
-
2e4613b: Add hover support for @example in liquid doc tags
EX:{% doc %} @example {{ product }} {% enddoc %}
-
d9dbc26: - Support parsing incomplete content_for tags in completion context
- Support content_for param completion
-
e9c1d98: Move
getSnippetDefinition
to theme-check-common -
2db3047: Support
render
param completion based on liquid docs- If you defined liquid doc parameters on a snippet, they will appear as completion options
for parameters when rendered by arender
tag.
- If you defined liquid doc parameters on a snippet, they will appear as completion options
-
261c295: Support liquid doc inner tags completion + hover
@param
,@description
,@example
will support code completion
whenever being typed inside ofdoc
tag@param
,@description
,@example
can be hovered to show their
help doc
-
5eaf295: Add hover support for named parameters in {% render %} snippet tags. Parameters that have a corresponding liquidDoc @param will render information when hovered.
Patch Changes
- e3e1dfd: Update document manager on git operations
- Updated dependencies [fe84a17]
- Updated dependencies [055cef7]
- Updated dependencies [c4bbf3b]
- Updated dependencies [d9dbc26]
- Updated dependencies [e9c1d98]
- Updated dependencies [2db3047]
- Updated dependencies [261c295]
- Updated dependencies [d32afb7]
- @shopify/theme-check-common@3.8.0
- @shopify/liquid-html-parser@2.5.0
@shopify/theme-language-server-browser@2.8.0
@shopify/theme-check-node@3.8.0
Minor Changes
-
fe84a17: Add ValidRenderSnippetParams check which validates args passed to snippets with LiquidDoc definitions
- Checks that required parameters are provided
- Checks that unknown parameters are not provided
-
055cef7: Theme check verifies if setting key exists within block schemas and section schemas
- Check if the keys inside
presets.[].settings
anddefault.settings
exist assettings.[].id
in the same file - Check if the keys inside
presets.[](recursive .blocks.[]).settings
anddefault.blocks.[].settings
exist assettings.[].id
inside the referenced block's file
- Check if the keys inside
Patch Changes
@shopify/theme-check-docs-updater@3.8.0
@shopify/theme-check-common@3.8.0
Minor Changes
-
fe84a17: Add ValidRenderSnippetParams check which validates args passed to snippets with LiquidDoc definitions
- Checks that required parameters are provided
- Checks that unknown parameters are not provided
-
055cef7: Theme check verifies if setting key exists within block schemas and section schemas
- Check if the keys inside
presets.[].settings
anddefault.settings
exist assettings.[].id
in the same file - Check if the keys inside
presets.[](recursive .blocks.[]).settings
anddefault.blocks.[].settings
exist assettings.[].id
inside the referenced block's file
- Check if the keys inside
-
e9c1d98: Move
getSnippetDefinition
to theme-check-common