Skip to content

Releases: Shopify/theme-check

v1.15.0

14 Apr 12:32
357e904
Compare
Choose a tag to compare
  • Improve rule for lazy loading to prevent developers from overusing it (#723)
  • Introduce --update-docs flag to synchronously update Theme Check resources (objects, filters, and tags) (#707)

v1.14.0

11 Jan 15:09
Compare
Choose a tag to compare
  • Add shopify-dev link to code completion suggestion title (#700)
  • Fix examples in SchemaJsonFormat (#698)
  • Do not suggest escape filter for already escaped strings (#692)

v1.13.0

04 Jan 16:19
Compare
Choose a tag to compare
  • Add support for new sections liquid tag in theme check (#694)

v1.12.1

15 Dec 17:45
Compare
Choose a tag to compare
  • ObjectCompletionProvider should not provide completion items that don't live in the SourceIndex (#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

13 Dec 12:37
Compare
Choose a tag to compare
  • Introduce Intelligent Code Completion (#672)
  • Update TROUBLESHOOTING.md to include language server stopping guide (#664)
  • Create troubleshooting doc, update contributing and readme with links (#630)
  • robots Object in robots.txt file (#644). Thanks @we5!

v1.11.0

22 Aug 18:56
1f95b49
Compare
Choose a tag to compare

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 and preload: true media filter argument.

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 respect onlySingleFileChecks 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 with DeprecatedFilter 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

Full Changelog: v1.10.3...v1.11.0

v1.10.3

17 Jun 12:03
Compare
Choose a tag to compare

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

07 Mar 15:45
d44b8a8
Compare
Choose a tag to compare

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

24 Feb 20:01
21a2dc5
Compare
Choose a tag to compare
  • Revert "Prevent bad render tags from passing theme-check (#551)"

This was improperly reporting errors on {% render block %}

v1.10.0

24 Feb 16:35
748f780
Compare
Choose a tag to compare

Features

  • Performance Improvements (#556)

    • Boasts ~125x faster checkOnChange checks.
  • 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.

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)