This repository has been archived by the owner on Jul 27, 2024. It is now read-only.
Releases: Shopify/theme-check
Releases · Shopify/theme-check
v1.15.0
v1.14.0
v1.13.0
v1.12.1
ObjectCompletionProvider
should not provide completion items that don't live in theSourceIndex
(#690)- Suggest deprecated completion items at the end of the list (#688)
- Only suggest filters in SourceIndex (#689)
- Remove the
data/shopify_liquid/(tags|filters|objects).yml
files (#674) - Introduce support to range iterations and SFR tags (#685)
- Suggest objects for
paginate
(#686)
v1.12.0
v1.11.0
TL;DR
- New check, overdue fixes and dropped support for ruby 2.6.
Features
- 🆕 AssetPreload check (#605). Thanks @krzksz!
- Encourages the use of the new platform features for some sweet 103 Early Hints gains powered by the
preload_tag
andpreload: true
media filter argument.
- Encourages the use of the new platform features for some sweet 103 Early Hints gains powered by the
Fixes:
General
- Add support for new comment syntax
{% # this is an inline comment %}
(#533) - Fix UnusedAssign false positives from
{% render ... with|for var %}
(#608) - Update list of platform filters (#626)
Language Server
- Make
runChecks
command respectonlySingleFileChecks
LSP config (#624) - Handle file delete|rename (#611)
- Prevent server from hanging on error (#623)
Linter
- Help migrate named sizes (master|pico|etc.) in
img_url
withDeprecatedFilter
corrector (#619) - Fix MissingTemplate
ignore
config interactions (#613) - Fix MissingRequiredTemplateFiles JSON file corrector (#616)
- Fixes theme-check-disable when disable comment is followed by another (#617)
- Fix handling of
{% render block %}
in UnusedSnippet (#615) - Fix IndexError: string not matched in matching translation keys fixer (#602)
- Handle variable lookup as names in UnusedAssign (#612)
Breaking change (maybe)
- Bump min version of ruby to 2.7 (#609)
- Upstream change from Shopify/liquid as ruby 2.6 is now EOL.
New Contributors
- @krzksz made their first contribution in #605
- @cursedcoder made their first contribution in #607
Full Changelog: v1.10.3...v1.11.0
v1.10.3
What's Changed
- Support app drop in theme app extensions (#566)
- Fix requiring custom check when root is specified (#565)
- Fix TranslationKeyExists.on_end issue (#587)
- Fix bad link on check documentation (#575)
- Update TEMPLATE.md.erb to use shopify.dev URL
- Fixed broken URL (#574)
- Fix unknown configuration issue for UndefinedObject checker (#568)
Full Changelog: v1.10.2...v1.10.3
v1.10.2
What's Changed
- Prevent bad render tags from passing theme-check by @catlee in #559
- Handle nil paths in json_printer's sort_by by @charlespwd in #561
Full Changelog: v1.10.1...v1.10.2
v1.10.1
v1.10.0
Features
-
Performance Improvements (#556)
- Boasts ~125x faster
checkOnChange
checks.
- Boasts ~125x faster
-
New language server configuration:
"themeCheck.onlySingleFileChecks"
(#556)- When
true
, disables whole theme checks in the editor and makes it so only the open files are checked. - When
false
(default), behaves as before.
- When
Fixes
- Do not complain about variables passed to the default filter (#532)
extend:
should accept absolute and relative paths (#555)- Gracefully handle initialized without config. (#552)
- Add missing metafield filters (#550)
- Handle media.sources edge case in RemoteAsset (#549)
- Disable HTML checks inside Liquid comments (#548)
- Prevent bad render tags from passing theme-check (#551)
- Handle rogue carriage returns (#547)