Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Commit

Permalink
v1.11.0 (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlespwd authored Aug 22, 2022
1 parent 8548c17 commit 1f95b49
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,45 @@

v1.11.0 / 2022-08-22
====================

## TL;DR

* New check, overdue fixes and dropped support for ruby 2.6.

## Features

* :new: [AssetPreload](https://github.com/Shopify/theme-check/blob/main/docs/checks/asset_preload.md) check ([#605](https://github.com/shopify/theme-check/issues/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](https://github.com/shopify/theme-check/issues/533))
* Fix UnusedAssign false positives from `{% render ... with|for var %}` ([#608](https://github.com/shopify/theme-check/issues/608))
* Update list of platform filters ([#626](https://github.com/shopify/theme-check/issues/626))

### Language Server

* Make `runChecks` command respect `onlySingleFileChecks` LSP config ([#624](https://github.com/shopify/theme-check/issues/624))
* Handle file delete|rename ([#611](https://github.com/shopify/theme-check/issues/611))
* Prevent server from hanging on error ([#623](https://github.com/shopify/theme-check/issues/623))

### Linter

* Help migrate named sizes (master|pico|etc.) in `img_url` with `DeprecatedFilter` corrector ([#619](https://github.com/shopify/theme-check/issues/619))
* Fix MissingTemplate `ignore` config interactions (#613)
* Fix MissingRequiredTemplateFiles JSON file corrector ([#616](https://github.com/shopify/theme-check/issues/616))
* Fixes theme-check-disable when disable comment is followed by another (#617)
* Fix handling of `{% render block %}` in UnusedSnippet ([#615](https://github.com/shopify/theme-check/issues/615))
* Fix IndexError: string not matched in matching translation keys fixer ([#602](https://github.com/shopify/theme-check/issues/602))
* Handle variable lookup as names in UnusedAssign ([#612](https://github.com/shopify/theme-check/issues/612))

## Breaking change (maybe)

* Bump min version of ruby to 2.7 ([#609](https://github.com/shopify/theme-check/issues/609))
* Upstream change from Shopify/liquid as ruby 2.6 is now EOL.

v1.10.3 / 2022-06-16
==================

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/asset_preload.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Prevent Manual Preloading of Assets (`AssetPreload`)

_Version THEME_CHECK_VERSION+_
_Version 1.11.0+_

Preloading can be a useful way of making sure that critical assets are downloaded by the browser as soon as possible for better rendering performance.

Expand Down
2 changes: 1 addition & 1 deletion lib/theme_check/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module ThemeCheck
VERSION = "1.10.3"
VERSION = "1.11.0"
end

0 comments on commit 1f95b49

Please sign in to comment.