Commit Graph
443 Commits
Author SHA1 Message Date
Matt Bierner de7206fad5 Merge branch 'main' into dev/mjbvz/wonderful-piranha 2026-04-19 20:14:50 -04:00
Martin Aeschlimann 0204b2d2a6 css/html: use built-in node test framework (#309625)
* css/html: use built-in node test framework

* fix tests and reporter
2026-04-14 11:36:31 +02:00
Martin Aeschlimann 91b02efb23 use ESM for HTML/CSS/JSON language servers (#309566)
* convert html server to esm

* update html language service

* update

* update

* update json

* update css

* update

* update

* update jsonc-parser
2026-04-13 13:51:31 -07:00
Yogeshwaran C b230b603ce json: fix language model cache evicting at capacity instead of overflow (#309176)
The `getLanguageModelCache` eviction check used `===` to compare the
current entry count against `maxEntries`, which triggered eviction as
soon as the cache reached its maximum size. At steady state the cache
therefore held only `maxEntries - 1` entries instead of the intended
`maxEntries`.

Changing the condition to `>` ensures eviction only occurs when the
count exceeds `maxEntries`, allowing the cache to retain the full
number of intended entries. The same fix was applied to the HTML and
CSS language servers which contain an identical copy of this file.
2026-04-13 08:32:53 +00:00
Matt Bierner 5e957b6922 Update build ts version 2026-04-08 20:49:29 -07:00
Martin Aeschlimann 449cb2b19b [json] Unnecessary log when request canceled (#307443) 2026-04-02 18:07:03 +00:00
dependabot[bot] 4f27118367 Bump brace-expansion from 5.0.3 to 5.0.5 in /extensions/json-language-features (#305335)
Bump brace-expansion in /extensions/json-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.3 to 5.0.5.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.3...v5.0.5)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 22:33:29 +00:00
Joel JohanssonandMartin Aeschlimann 055de422e4 Add configurable severity levels for JSON validation (#297911)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2026-03-18 15:26:28 +00:00
Matt Bierner 5ca0ea581f Use markdownDescription for a few more settings
Let's us use inline code elements on these
2026-03-13 11:35:58 -07:00
Matt Bierner af32b7b329 Revert "Add min-release-age in npmrc files"
This reverts commit a440ae0518.
2026-03-11 10:07:42 -07:00
Matt Bierner a440ae0518 Add min-release-age in npmrc files
For #299632

Not fully enabled unless you're using a recent npm. Next step will be to bump the min node/npm versions for the workspace too
2026-03-10 20:33:07 -07:00
Matt Bierner ffc4f9dcb3 Reapply 8e445caeff
Switching to a slightly older postcss version to avoid the official build issue
2026-03-03 10:57:52 -08:00
Matt Bierner 8e445caeff Revert "Remove remaining webpack references for building extensions"
This reverts commit 3d7cf10fd1.
2026-03-02 22:42:15 -08:00
Matt Bierner 3d7cf10fd1 Remove remaining webpack references for building extensions
All extensions now should be fully ported over to use esbuild instead of webpack
2026-03-02 15:07:39 -08:00
cathaysia 43755b4762 fix(json.schemaDownload.trustedDomains): avoid always update json.sch… (#298423)
fix(json.schemaDownload.trustedDomains): avoid always update json.schemaDownload.trustedDomains

Signed-off-by: loongtao.zhang <loongtao.zhang@outlook.com>
2026-03-02 10:19:12 +00:00
dependabot[bot] 0005b2dcc9 Bump minimatch from 10.2.2 to 10.2.4 in /extensions/json-language-features (#298307)
Bump minimatch in /extensions/json-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.2.2 to 10.2.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.2.2...v10.2.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 18:24:26 +00:00
Martin Aeschlimann 36d424971f [html/css/json] update services (#297113) 2026-02-23 22:17:23 +00:00
Martin Aeschlimann c173f3e216 improve trusted JSON schemas (#296928)
* improve trusted JSON schemas

* update
2026-02-23 10:12:04 +01:00
Matt Bierner cc10bc708e Enable incremental builds to speed up updates after first build 2026-02-19 14:14:37 -08:00
Matt Bierner d36696b482 Esbuild the html and json extensions
Switches from webpack to esbuild
2026-02-19 00:33:01 -08:00
Matt Bierner 2fedd2e043 Adopt esbuild for a few more extensions
- extension-editing
- terminal-suggest
- tunnel-forwarding
- php language features
2026-02-18 15:20:02 -08:00
Raymond Zhao e987c5242e chore: bump extension versions (#295040) 2026-02-13 04:15:03 +05:00
Raymond Zhao ad0d90ac3b Revert "Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/json-language-features"" (#292871)
Revert "Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensio…"

This reverts commit 02df3fbaa3.
2026-02-04 17:25:31 +00:00
Raymond Zhao 02df3fbaa3 Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/json-language-features" (#292713)
Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/json-…"

This reverts commit 24ece11e9f.
2026-02-03 17:12:32 -08:00
dependabot[bot] 24ece11e9f Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/json-language-features (#292651)
Bump @isaacs/brace-expansion in /extensions/json-language-features

Bumps @isaacs/brace-expansion from 5.0.0 to 5.0.1.

---
updated-dependencies:
- dependency-name: "@isaacs/brace-expansion"
  dependency-version: 5.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-03 20:21:46 +00:00
Matt Bierner ee01088b74 Update roots 2026-01-30 13:12:58 -08:00
Matt Bierner 0d9a2ef2b0 Add explicit rootDirs 2026-01-30 11:07:53 -08:00
Martin Aeschlimann 46308bc433 Remove unnecessary log statement in JSON client (#291645)
[json] remove unnecessary og statement
2026-01-29 16:51:13 +00:00
Martin Aeschlimann c3664a6498 package.json in trusted workspace showing untrusted schema warning (#288976) 2026-01-19 13:50:10 -08:00
Martin Aeschlimann 067cb03d18 [json] add trustedDomains settings (#287639)
* use trusted schemas

* [json] add trustedDomains settings
2026-01-13 15:31:19 -08:00
Martin Aeschlimann 5561fdf4f3 [css/html/json] update services (#280428) 2025-12-01 20:45:13 +00:00
Martin Aeschlimann 6f2f757282 [json] update service (#274898) 2025-11-03 22:54:39 +00:00
Benjamin Christopher Simmonds d875d4501f Use Inline Suggestions naming (#272447)
* Use Inline Suggestions naming

* revert sound change
2025-10-21 14:06:35 +00:00
Martin Aeschlimann cee904f80c remove some anys (#271651) 2025-10-16 11:48:38 +02:00
Matt Bierner 162806006a Update a few package-locks for mocha 2025-10-13 11:13:12 -07:00
Matt Bierner 98b069c041 Work towards getting isolated built-in extension compiles
For #271167

This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
2025-10-13 11:03:20 -07:00
Matt Bierner 360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Martin Aeschlimann 153c4c2aa9 [css/html/json] update services (#268964) 2025-09-29 22:00:05 +00:00
Martin Aeschlimann f52be6a9d7 Disable loading schemas from http/s in untrusted workspaces (#265176) 2025-09-04 15:56:18 +00:00
Matt Bierner ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner 30b93b1217 Bump extensions to target es2024
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -07:00
dependabot[bot] 22d3ddecaf Bump brace-expansion from 2.0.1 to 2.0.2 in /extensions/json-language-features (#255769)
Bump brace-expansion in /extensions/json-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 17:40:36 +00:00
Martin Aeschlimann 30cfae0d78 use www.schemastore 2025-07-10 18:16:09 +02:00
Mads Kristensen 434260839e Updated references to schemastore.org 2025-07-08 09:48:52 -07:00
Martin Aeschlimann b9558f6405 [css/html/json] update services (#253088) 2025-06-30 23:15:58 +02:00
Martin Aeschlimann a74b37c62f [css/json/html] update services (#250307) 2025-06-02 17:48:12 +00:00
RoboandBenjamin Pasero 12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs https://github.com/electron/electron/commit/71f3ff6bf289745c74d48cf54c254120a70804b4

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Martin Aeschlimann 63acf66b1c [css/html/json] update services (#247404) 2025-04-25 09:28:57 -07:00
Martin Aeschlimann 2d0ca04011 support 'CodeActionContext.only' (#247402) 2025-04-25 09:10:06 -07:00
Martin Aeschlimann 389c5dd015 Merge pull request #244934 from pedrofrazaopacheco/240654-json-wrong-encoding-of-json-schema-url
Fixes microsoft/vscode#240654: Avoid encoding reserved chars in JSON schema URL
2025-04-16 08:50:26 +02:00