@valbuild/language-server 0.147.0 → 0.148.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @valbuild/language-server
2
2
 
3
+ ## 0.148.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @valbuild/server@0.148.1
9
+
10
+ ## 0.148.0
11
+
12
+ ### Patch Changes
13
+
14
+ - [#818](https://github.com/valbuild/val/pull/818) [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1) Thanks [@freekh](https://github.com/freekh)! - Remote files served from a project's own site (addresses like
15
+ `https://www.acme.no/_val/file/…`) are now checked for whether that address
16
+ still serves the project. When a custom domain has been removed or moved to
17
+ another project, the image or file is reported, and **Fix** on the Studio's
18
+ Validate page — or `val validate --fix` — points it at the project's permanent
19
+ `<id>.valstart.dev` address. Nothing is uploaded or downloaded: only the address
20
+ changes.
21
+
22
+ Remote file addresses with a `/_val` prefix after the host are now recognised.
23
+
24
+ - Updated dependencies [[`df5544c`](https://github.com/valbuild/val/commit/df5544c6e92a4c3a52765630c9de191e854ee723), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1)]:
25
+ - @valbuild/server@0.148.0
26
+ - @valbuild/shared@0.148.0
27
+ - @valbuild/core@0.148.0
28
+
3
29
  ## 0.147.0
4
30
 
5
31
  ### Patch Changes
@@ -183,7 +183,7 @@ var packageJson = {
183
183
  "lsp",
184
184
  "language-server"
185
185
  ],
186
- version: "0.147.0",
186
+ version: "0.148.1",
187
187
  bin: {
188
188
  "val-language-server": "./bin.js"
189
189
  },
@@ -2784,7 +2784,12 @@ const LOCAL_FIXES = ["image:add-metadata", "image:check-metadata", "file:add-met
2784
2784
  "videos:add-metadata",
2785
2785
  // A view pointing at the wrong module: the schema names the right one, so the
2786
2786
  // fix is a value the patch already knows. Nothing read, nothing fetched.
2787
- "view:check-module"];
2787
+ "view:check-module"
2788
+ // Not here, deliberately: `remote:rewrite-host`. The edit is local, but
2789
+ // FINDING it asks the ref's host over the network, inside `image:check-remote`'s
2790
+ // adjudication (`mediaChecks.ts`), whose findings carry no fixes -- so the
2791
+ // diagnostic says what `val validate --fix` will do, and offers no lightbulb.
2792
+ ];
2788
2793
 
2789
2794
  /**
2790
2795
  * Fixes that are local, but are NOT a patch against the document they are
@@ -183,7 +183,7 @@ var packageJson = {
183
183
  "lsp",
184
184
  "language-server"
185
185
  ],
186
- version: "0.147.0",
186
+ version: "0.148.1",
187
187
  bin: {
188
188
  "val-language-server": "./bin.js"
189
189
  },
@@ -2784,7 +2784,12 @@ const LOCAL_FIXES = ["image:add-metadata", "image:check-metadata", "file:add-met
2784
2784
  "videos:add-metadata",
2785
2785
  // A view pointing at the wrong module: the schema names the right one, so the
2786
2786
  // fix is a value the patch already knows. Nothing read, nothing fetched.
2787
- "view:check-module"];
2787
+ "view:check-module"
2788
+ // Not here, deliberately: `remote:rewrite-host`. The edit is local, but
2789
+ // FINDING it asks the ref's host over the network, inside `image:check-remote`'s
2790
+ // adjudication (`mediaChecks.ts`), whose findings carry no fixes -- so the
2791
+ // diagnostic says what `val validate --fix` will do, and offers no lightbulb.
2792
+ ];
2788
2793
 
2789
2794
  /**
2790
2795
  * Fixes that are local, but are NOT a patch against the document they are
@@ -172,7 +172,7 @@ var packageJson = {
172
172
  "lsp",
173
173
  "language-server"
174
174
  ],
175
- version: "0.147.0",
175
+ version: "0.148.1",
176
176
  bin: {
177
177
  "val-language-server": "./bin.js"
178
178
  },
@@ -2773,7 +2773,12 @@ const LOCAL_FIXES = ["image:add-metadata", "image:check-metadata", "file:add-met
2773
2773
  "videos:add-metadata",
2774
2774
  // A view pointing at the wrong module: the schema names the right one, so the
2775
2775
  // fix is a value the patch already knows. Nothing read, nothing fetched.
2776
- "view:check-module"];
2776
+ "view:check-module"
2777
+ // Not here, deliberately: `remote:rewrite-host`. The edit is local, but
2778
+ // FINDING it asks the ref's host over the network, inside `image:check-remote`'s
2779
+ // adjudication (`mediaChecks.ts`), whose findings carry no fixes -- so the
2780
+ // diagnostic says what `val validate --fix` will do, and offers no lightbulb.
2781
+ ];
2777
2782
 
2778
2783
  /**
2779
2784
  * Fixes that are local, but are NOT a patch against the document they are
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "lsp",
12
12
  "language-server"
13
13
  ],
14
- "version": "0.147.0",
14
+ "version": "0.148.1",
15
15
  "bin": {
16
16
  "val-language-server": "./bin.js"
17
17
  },
@@ -29,9 +29,9 @@
29
29
  "typescript": "^6.0.3",
30
30
  "vscode-languageserver": "^10.1.0",
31
31
  "vscode-languageserver-textdocument": "^1.0.14",
32
- "@valbuild/core": "0.147.0",
33
- "@valbuild/shared": "0.147.0",
34
- "@valbuild/server": "0.147.0"
32
+ "@valbuild/core": "0.148.0",
33
+ "@valbuild/shared": "0.148.0",
34
+ "@valbuild/server": "0.148.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/jest": "^30.0.0",