Skip to content

Commit b6f65cf

Browse files
authoredFeb 26, 2025
Merge pull request #805 from Shopify/changeset-release/main
Theme Tools Release — 2025-02-26
2 parents ca32e61 + 4e45b3b commit b6f65cf

35 files changed

+222
-119
lines changed
 

‎.changeset/angry-moles-rush.md

-5
This file was deleted.

‎.changeset/dull-badgers-sing.md

-8
This file was deleted.

‎.changeset/empty-pillows-try.md

-5
This file was deleted.

‎.changeset/few-planets-explode.md

-12
This file was deleted.

‎.changeset/green-seahorses-glow.md

-9
This file was deleted.

‎.changeset/grumpy-crabs-stare.md

-5
This file was deleted.

‎.changeset/hungry-socks-report.md

-5
This file was deleted.

‎.changeset/loud-pears-check.md

-5
This file was deleted.

‎.changeset/perfect-dingos-sit.md

-6
This file was deleted.

‎.changeset/popular-geese-flow.md

-5
This file was deleted.

‎.changeset/proud-chefs-relate.md

-5
This file was deleted.

‎.changeset/quiet-queens-sparkle.md

-6
This file was deleted.

‎.changeset/spicy-pumas-sing.md

-5
This file was deleted.

‎.changeset/twenty-maps-drum.md

-5
This file was deleted.

‎.changeset/yellow-kids-bake.md

-5
This file was deleted.

‎packages/liquid-html-parser/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @shopify/liquid-html-parser
22

3+
## 2.6.0
4+
5+
### Minor Changes
6+
7+
- 79c9f773: [LiquidDoc] Add parsing support for implicit descriptions.
8+
9+
### Patch Changes
10+
11+
- 10493c9d: Added `LoopNamedTags` to identify tags that provides iteration
12+
- 9563715a: [internal] Fix typo in liquid doc parser
13+
314
## 2.5.0
415

516
### Minor Changes

‎packages/liquid-html-parser/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/liquid-html-parser",
3-
"version": "2.5.0",
3+
"version": "2.6.0",
44
"description": "Liquid HTML parser by Shopify",
55
"author": "CP Clermont <cp.clermont@shopify.com>",
66
"homepage": "https://github.com/Shopify/theme-tools/tree/main/packages/liquid-html-parser#readme",

‎packages/prettier-plugin-liquid/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @shopify/prettier-plugin-liquid
22

3+
## 1.8.3
4+
5+
### Patch Changes
6+
7+
- 9563715a: Add padding for liquid doc content
8+
- 357ea7fc: Prevent prettier from appending `@description` annotation before implicit descriptions
9+
- Updated dependencies [10493c9d]
10+
- Updated dependencies [79c9f773]
11+
- Updated dependencies [9563715a]
12+
- @shopify/liquid-html-parser@2.6.0
13+
314
## 1.8.2
415

516
### Patch Changes

‎packages/prettier-plugin-liquid/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/prettier-plugin-liquid",
3-
"version": "1.8.2",
3+
"version": "1.8.3",
44
"description": "Prettier Liquid/HTML plugin by Shopify",
55
"author": "CP Clermont <cp.clermont@shopify.com>",
66
"homepage": "https://github.com/Shopify/theme-tools/tree/main/packages/prettier-plugin-liquid#readme",
@@ -59,7 +59,7 @@
5959
"tsconfig-paths": "^3.14.1"
6060
},
6161
"dependencies": {
62-
"@shopify/liquid-html-parser": "^2.5.0",
62+
"@shopify/liquid-html-parser": "^2.6.0",
6363
"html-styles": "^1.0.0"
6464
}
6565
}

‎packages/theme-check-browser/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @shopify/theme-check-browser
22

3+
## 3.10.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [10493c9d]
8+
- Updated dependencies [f130a78f]
9+
- Updated dependencies [1a4482eb]
10+
- Updated dependencies [5ad43a8c]
11+
- Updated dependencies [79c9f773]
12+
- Updated dependencies [754f7f66]
13+
- Updated dependencies [dc8c9fda]
14+
- Updated dependencies [beccb69e]
15+
- @shopify/theme-check-common@3.10.0
16+
317
## 3.9.0
418

519
### Patch Changes

‎packages/theme-check-browser/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/theme-check-browser",
3-
"version": "3.9.0",
3+
"version": "3.10.0",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"license": "MIT",
@@ -26,6 +26,6 @@
2626
"type-check": "tsc --noEmit"
2727
},
2828
"dependencies": {
29-
"@shopify/theme-check-common": "3.9.0"
29+
"@shopify/theme-check-common": "3.10.0"
3030
}
3131
}

‎packages/theme-check-common/CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# @shopify/theme-check-common
22

3+
## 3.10.0
4+
5+
### Minor Changes
6+
7+
- 10493c9d: New `UnusedDocParam` theme-check rule
8+
9+
- Theme check will verify that parameters defined within a snippet's `doc` header are used within the body
10+
11+
- f130a78f: Introduce a new theme check which validates the types of parameters passed to snippets against the liquidDoc header.
12+
13+
- Reports type mismatches
14+
- Suggests autofixes (replace with default or remove value)
15+
- Skips type checking for variable lookups
16+
- Skips type checking for unknown parameters
17+
- Skips type checking for unknown types
18+
19+
- 1a4482eb: New theme checks to validate liquid doc params
20+
21+
- `UniqueDocParamNames` will check if param names are unique within the `doc` tag
22+
- `ValidDocParamTypes` will check if the param types defined in the `doc` tag are supported
23+
24+
- 79c9f773: Update getSnippetDefinition `definition` property to return implicit description if provided.
25+
26+
Implicit descriptions are provided as text before any annotations `@` are provided. This overrides any `@description` annotations.
27+
28+
- 754f7f66: New theme check to ensure `doc` tag is only used in snippet files
29+
30+
### Patch Changes
31+
32+
- 5ad43a8c: Fixed issue with normalize method not working properly on windows due to not replacing backslashes with forward slashes
33+
- dc8c9fda: Add RemoteAsset allowedDomains check to validate CDN and approved domain usage for better performance and developer experience
34+
- beccb69e: Fixed local blocks validation to not consider preset blocks as containing local blocks when a name is present
35+
- Updated dependencies [10493c9d]
36+
- Updated dependencies [79c9f773]
37+
- Updated dependencies [9563715a]
38+
- @shopify/liquid-html-parser@2.6.0
39+
340
## 3.9.0
441

542
### Minor Changes

‎packages/theme-check-common/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/theme-check-common",
3-
"version": "3.9.0",
3+
"version": "3.10.0",
44
"license": "MIT",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -26,7 +26,7 @@
2626
"type-check": "tsc --noEmit"
2727
},
2828
"dependencies": {
29-
"@shopify/liquid-html-parser": "2.5.0",
29+
"@shopify/liquid-html-parser": "2.6.0",
3030
"cross-fetch": "^4.0.0",
3131
"jsonc-parser": "^3.2.0",
3232
"line-column": "^1.0.2",

‎packages/theme-check-docs-updater/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @shopify/theme-check-docs-updater
22

3+
## 3.10.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [10493c9d]
8+
- Updated dependencies [f130a78f]
9+
- Updated dependencies [1a4482eb]
10+
- Updated dependencies [5ad43a8c]
11+
- Updated dependencies [79c9f773]
12+
- Updated dependencies [754f7f66]
13+
- Updated dependencies [dc8c9fda]
14+
- Updated dependencies [beccb69e]
15+
- @shopify/theme-check-common@3.10.0
16+
317
## 3.9.0
418

519
### Patch Changes

‎packages/theme-check-docs-updater/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/theme-check-docs-updater",
3-
"version": "3.9.0",
3+
"version": "3.10.0",
44
"description": "Scripts to initialize theme-check data with assets from the theme-liquid-docs repo.",
55
"main": "dist/index.js",
66
"author": "Albert Chu <albert.chu@shopify.com>",
@@ -30,7 +30,7 @@
3030
"type-check": "tsc --noEmit"
3131
},
3232
"dependencies": {
33-
"@shopify/theme-check-common": "^3.9.0",
33+
"@shopify/theme-check-common": "^3.10.0",
3434
"env-paths": "^2.2.1",
3535
"node-fetch": "^2.6.11"
3636
},

‎packages/theme-check-node/CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# @shopify/theme-check-node
22

3+
## 3.10.0
4+
5+
### Minor Changes
6+
7+
- 10493c9d: New `UnusedDocParam` theme-check rule
8+
9+
- Theme check will verify that parameters defined within a snippet's `doc` header are used within the body
10+
11+
- f130a78f: Introduce a new theme check which validates the types of parameters passed to snippets against the liquidDoc header.
12+
13+
- Reports type mismatches
14+
- Suggests autofixes (replace with default or remove value)
15+
- Skips type checking for variable lookups
16+
- Skips type checking for unknown parameters
17+
- Skips type checking for unknown types
18+
19+
- 1a4482eb: New theme checks to validate liquid doc params
20+
21+
- `UniqueDocParamNames` will check if param names are unique within the `doc` tag
22+
- `ValidDocParamTypes` will check if the param types defined in the `doc` tag are supported
23+
24+
- 754f7f66: New theme check to ensure `doc` tag is only used in snippet files
25+
26+
### Patch Changes
27+
28+
- Updated dependencies [10493c9d]
29+
- Updated dependencies [f130a78f]
30+
- Updated dependencies [1a4482eb]
31+
- Updated dependencies [5ad43a8c]
32+
- Updated dependencies [79c9f773]
33+
- Updated dependencies [754f7f66]
34+
- Updated dependencies [dc8c9fda]
35+
- Updated dependencies [beccb69e]
36+
- @shopify/theme-check-common@3.10.0
37+
- @shopify/theme-check-docs-updater@3.10.0
38+
339
## 3.9.0
440

541
### Patch Changes

‎packages/theme-check-node/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/theme-check-node",
3-
"version": "3.9.0",
3+
"version": "3.10.0",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"author": "CP Clermont <cp.clermont@shopify.com>",
@@ -33,8 +33,8 @@
3333
"type-check": "tsc --noEmit"
3434
},
3535
"dependencies": {
36-
"@shopify/theme-check-common": "3.9.0",
37-
"@shopify/theme-check-docs-updater": "3.9.0",
36+
"@shopify/theme-check-common": "3.10.0",
37+
"@shopify/theme-check-docs-updater": "3.10.0",
3838
"glob": "^8.0.3",
3939
"vscode-uri": "^3.0.7",
4040
"yaml": "^2.3.0"

‎packages/theme-language-server-browser/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @shopify/theme-language-server-browser
22

3+
## 2.9.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [754f7f66]
8+
- Updated dependencies [8be77897]
9+
- @shopify/theme-language-server-common@2.9.1
10+
311
## 2.9.0
412

513
### Patch Changes

‎packages/theme-language-server-browser/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/theme-language-server-browser",
3-
"version": "2.9.0",
3+
"version": "2.9.1",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"author": "CP Clermont <cp.clermont@shopify.com>",
@@ -27,7 +27,7 @@
2727
"type-check": "tsc --noEmit"
2828
},
2929
"dependencies": {
30-
"@shopify/theme-language-server-common": "2.9.0",
30+
"@shopify/theme-language-server-common": "2.9.1",
3131
"vscode-languageserver": "^8.0.2"
3232
}
3333
}

0 commit comments

Comments
 (0)
Failed to load comments.