Skip to content

Commit

Permalink
Add changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
charlespwd committed Jan 8, 2025
1 parent 51fe22e commit c99d769
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/green-mice-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/theme-check-common': minor
---

[internal] Add `offset` information on Schema objects
12 changes: 12 additions & 0 deletions .changeset/wild-beers-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@shopify/theme-language-server-common': minor
'theme-check-vscode': minor
---

Add "On theme block rename" handling

Whenever a theme block gets renamed, the following will now happen:
1. References in files with a `{% schema %}` will be updated automatically
2. References in template files will be updated automatically
3. References in section groups will be updated automatically
4. References in `{% content_for "block", type: "oldName" %}` will be updated automatically
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const annotationId = 'renameBlock';
* S is the number of sections, T is the number of templates and SG is the
* number of section groups. It's not worth it.
*
* This shit is complicated enough as it is 😅.
* This stuff is complicated enough as it is 😅.
*/
export class BlockRenameHandler implements BaseRenameHandler {
constructor(
Expand Down

0 comments on commit c99d769

Please sign in to comment.