Commit Graph
56 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c52f6d5e3e build(deps): bump @vscode/markdown-editor from 0.0.2-40 to 0.0.2-41 in /extensions/markdown-language-features (#328697)
build(deps): bump @vscode/markdown-editor

Bumps [@vscode/markdown-editor](https://github.com/microsoft/vscode-packages/tree/HEAD/vscode-team-tools/packages/markdown-editor) from 0.0.2-40 to 0.0.2-41.
- [Commits](https://github.com/microsoft/vscode-packages/commits/HEAD/vscode-team-tools/packages/markdown-editor)

---
updated-dependencies:
- dependency-name: "@vscode/markdown-editor"
  dependency-version: 0.0.2-41
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-04 01:03:47 +05:00
2f841fe001 markdown: fix: route undo and redo to the document history (#328245)
* markdown: fix: route undo and redo to the document history

The Agents window Markdown editor attaches an EditContext, so the browser
keeps no native undo history and the Cmd+Z / Cmd+Shift+Z chords never
reached VS Code. Wire them to the backing TextDocument's own history:

- editor.ts: pass a `historyStrategy` to `EditorController` that posts
  `{ type: 'history', command }` to the extension. `record` is omitted so
  the TextDocument stays the single source of truth (no second local stack
  that would drift from the Edit menu, dirty state and hot exit).
- markdownEditorProvider.ts: run the built-in `undo`/`redo` command; the
  active custom editor input scopes it to the resource's IUndoRedoService.
- editor.ts: apply host `update` via `replaceSourceText` instead of
  `sourceText.set`, so the caret is mapped through the change (e.g. after an
  undo shrinks the document) and stale pending-paragraph state is cleared.

Depends on the @vscode/markdown-editor API from microsoft/vscode-packages#189;
the pinned version must be bumped once that is published.

Fixes microsoft/vscode#327535

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b5b60dce-b175-4fe6-b2b5-d18a229c9929

* markdown: chore: bump @vscode/markdown-editor to 0.0.2-40

Pick up the published `@vscode/markdown-editor` release that ships the
`IHistoryStrategy` / `EditorControllerOptions.historyStrategy` and
`EditorModel.replaceSourceText` APIs (microsoft/vscode-packages#189) the
undo/redo integration depends on. Dependency set is unchanged from
0.0.2-26; lockfile integrity matches the published tarball.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b5b60dce-b175-4fe6-b2b5-d18a229c9929

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b5b60dce-b175-4fe6-b2b5-d18a229c9929
2026-07-31 10:03:48 +05:00
dependabot[bot]andHenning Dieterichs abf2ee04c6 build(deps): bump @vscode/markdown-editor
Bumps [@vscode/markdown-editor](https://github.com/microsoft/vscode-packages/tree/HEAD/vscode-team-tools/packages/markdown-editor) from 0.0.2-26 to 0.0.2-37.
- [Commits](https://github.com/microsoft/vscode-packages/commits/HEAD/vscode-team-tools/packages/markdown-editor)

---
updated-dependencies:
- dependency-name: "@vscode/markdown-editor"
  dependency-version: 0.0.2-37
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-30 17:06:28 +02:00
dependabot[bot]andHenning Dieterichs 578fe0edf4 build(deps): bump @vscode/markdown-editor
Bumps [@vscode/markdown-editor](https://github.com/microsoft/vscode-packages/tree/HEAD/vscode-team-tools/packages/markdown-editor) from 0.0.2-24 to 0.0.2-26.
- [Commits](https://github.com/microsoft/vscode-packages/commits/HEAD/vscode-team-tools/packages/markdown-editor)

---
updated-dependencies:
- dependency-name: "@vscode/markdown-editor"
  dependency-version: 0.0.2-26
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-28 14:15:30 +02:00
vs-code-engineering[bot]andHenning Dieterichs 6c0924308d [cherry-pick] markdown: Update editor package to 0.0.2-24 2026-07-27 15:09:49 +02:00
dependabot[bot]andHenning Dieterichs 8f722dacb9 Bump @vscode/markdown-editor in /extensions/markdown-language-features
Bumps [@vscode/markdown-editor](https://github.com/microsoft/vscode-packages/tree/HEAD/vscode-team-tools/packages/markdown-editor) from 0.0.2-16 to 0.0.2-21.
- [Commits](https://github.com/microsoft/vscode-packages/commits/HEAD/vscode-team-tools/packages/markdown-editor)

---
updated-dependencies:
- dependency-name: "@vscode/markdown-editor"
  dependency-version: 0.0.2-21
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-26 17:07:47 +02:00
24be8b3cb4 chore: npm audit fix (#326903)
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-07-22 09:23:06 -07:00
Henning DieterichsandGitHub e2c0ad9ffc markdown editor update 2026-07-11 15:14:54 +00:00
Henning DieterichsandHenning Dieterichs 47ec96853f updates markdown editor and enables comment feature 2026-07-07 10:54:18 +02:00
Raymond ZhaoandGitHub b7e0a87054 chore: run npm audit fix (#323165) 2026-06-29 13:31:39 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Raymond Zhao
2fd704bc68 build(deps): bump markdown-it from 12.3.2 to 14.2.0 in /extensions/markdown-language-features (#321532)
build(deps): bump markdown-it in /extensions/markdown-language-features

Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 12.3.2 to 14.2.0.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/12.3.2...14.2.0)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-version: 14.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-06-29 19:05:37 +00:00
Henning DieterichsandGitHub 5b839e0737 Updates markdown editor (#322577)
* updates markdown editor

* fixes class names
2026-06-23 10:40:07 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
93c7f885fc Bump dompurify from 3.4.8 to 3.4.10 in /extensions/markdown-language-features (#321534)
Bump dompurify in /extensions/markdown-language-features

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.8 to 3.4.10.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.8...3.4.10)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.10
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-16 23:17:53 +00:00
Henning DieterichsandHenning Dieterichs d56b538686 Updates markdown editor & implements code block syntax highlighting 2026-06-16 23:46:07 +02:00
Matt Bierner 32702666dc Pick up latest markdown language service 2026-06-10 14:08:55 -07:00
Henning DieterichsandHenning Dieterichs 58c0981e26 Registers @vscode/markdown-editor in markdown-language-features extension 2026-06-09 09:49:57 +02:00
Matt Bierner 2793643ace Bump dompurify versions to 3.4.8
Fixes #313084

Already did this for the copy in core
2026-06-04 14:41:05 -07:00
Matt Bierner 4eee2b2f6d Pass along correct lsp type
Fixes #298733
2026-06-04 09:31:54 -07:00
dileepyavanandGitHub ca425775e4 Revert "Optimize shared built-in extension dependencies (#318045)" (#319774)
This reverts commit 26e580781a.
2026-06-03 17:21:27 +00:00
Dmitriy VasyuraandGitHub 26e580781a Optimize shared built-in extension dependencies (#318045) 2026-06-03 08:49:40 +00:00
Raymond ZhaoandGitHub 49d14f8afc chore: npm audit fix (#318614)
* chore: npm audit fix

* Remove merge conflict

* chore: bump build
2026-05-28 21:53:33 +00:00
RoboandGitHub 8748be1f1a feat: update to Electron v42 (#316661)
* feat: update to Electron v42

* chore: drop support for arm 32-bit server

* chore: update types/node to v24.x

* chore: temporarily lock the target version for build/

* chore: update v8-source-location.patch

* chore: fix clippy

* chore: cleanup armhf server ci config

* fix: broken lock file

* fix: c++ version requirement for sysroot builds

* fix: msvc compilation of native modules

* fix: handle rejections for fire-and-forget loadurl

* fix: windows build

* ci: fix teardown of daemon process on windows

```
2026-05-15T20:55:09.7717127Z Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
```

* chore: update deb and rpm dependencies

* chore: update version info

* spec: improve reliablity of offscreencanvas tests

* spec: retry EPERM failures on teardown

* chore: update x86_64 rpm deps

* ci: exclude server binskim for armhf

* temp: bump distro

* test: ignore deprecation warnings treated as errors

* chore: update lockfile

* fix: externalize electron from auth extension bundles

 Error: Cannot find module 'c:\Users\cloudtest\AppData\Local\Temp\vscode-sanityQvCaze\vscode-server-win32-x64-web\extensions\github-authentication\dist\install.js'
     at Module._resolveFilename (node:internal/modules/cjs/loader:1476:15)
     at wrapResolveFilename (node:internal/modules/cjs/loader:1049:27)
     at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1073:10)
     at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1094:12)
     at Module._load (node:internal/modules/cjs/loader:1262:25)
     at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
     at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
     at node:internal/main/run_main_module:33:47 {
   code: 'MODULE_NOT_FOUND',
   requireStack: []
 }

 Node.js v24.15.0

* test: make wsl sanity tests reliable

* chore: bump electron@42.1.0

* temp: bump distro

* chore: bump electron@42.2.0

* chore: bump distro

* chore: update debian dependencies

* Revert "test: make wsl sanity tests reliable"

This reverts commit b3f2b63e83.

* test: do not fail for deprecation warnings

* chore: patch node24 server binary for wsl1

* chore: address review feedback

* chore: revert global navigation error handler in browserview

* chore: bump distro
2026-05-27 14:57:41 +02:00
Matt Bierner 06115d9e8f Add improved markdown front matter rendering
Fixes #316140

Let's try with `table` as the default initially but we can switch to `hide` is we prefer
2026-05-12 16:33:15 -07:00
Matt Bierner 72c6a7f584 Bump service version too 2026-05-01 15:19:03 -07:00
Matt BiernerandCopilot 27b49bc67f Pick up latest md language server
Co-authored-by: Copilot <copilot@github.com>
2026-05-01 15:08:06 -07:00
Matt Bierner a8ed6f83b7 Revert to previous vscode-markdown-languageserver
This new version causes issues in the production build only. Fix is in https://github.com/microsoft/vscode-markdown-languageserver/pull/18 but reverting for now
2026-04-29 09:48:37 -07:00
Matt BiernerandGitHub eed2fb43ec Merge pull request #313102 from microsoft/dev/mjbvz/alive-whale
Bump dom purify in extensions
2026-04-28 15:38:59 -07:00
Matt Bierner b1a7a65457 Bump dom purify in extensions
For #313084
2026-04-28 13:35:56 -07:00
Matt Bierner 525a7bd4ea Pick up latest md lang server 2026-04-28 13:06:55 -07:00
Raymond ZhaoandGitHub 8ba4c72aa2 chore: run npm audit fix (#311104) 2026-04-17 15:49:13 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fc734bd35b Bump brace-expansion from 1.1.12 to 1.1.13 in /extensions/markdown-language-features (#305820)
Bump brace-expansion in /extensions/markdown-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.12 to 1.1.13.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.12...v1.1.13)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.13
  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-30 17:27:59 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Raymond Zhao
1fc1079580 Bump picomatch from 2.3.1 to 2.3.2 in /extensions/markdown-language-features (#304920)
Bump picomatch in /extensions/markdown-language-features

Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-03-26 21:47:56 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dcea9a598c Bump dompurify from 3.2.7 to 3.3.2 in /extensions/markdown-language-features (#299899)
Bump dompurify in /extensions/markdown-language-features

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.2.7 to 3.3.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.7...3.3.2)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.3.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 10:48:14 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
df40d0e363 Bump minimatch from 3.1.2 to 3.1.3 in /extensions/markdown-language-features (#297527)
Bump minimatch in /extensions/markdown-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.3
  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 17:59:58 +00:00
Raymond ZhaoandGitHub e987c5242e chore: bump extension versions (#295040) 2026-02-13 04:15:03 +05:00
Matt Bierner 37cdd0eb43 Fixing errors 2026-02-12 12:43:36 -08:00
Matt Bierner c679b20148 Merge branch 'main' into dev/mjbvz/legitimate-squirrel 2025-11-17 16:32:38 -08:00
Raymond ZhaoandGitHub 351866ef1a chore: use dompurify 3.2.7 (#271538) 2025-10-15 09:58:39 -07:00
Matt Bierner 1cc342a089 Merge branch 'main' into dev/mjbvz/legitimate-squirrel 2025-10-14 23:01:21 -07:00
Matt Bierner 98ad0f55db Proper fix for missing node types in web build
Using `path` in web for these cases is ok (but not ideal) because webpack shims it out
2025-10-14 12:14:28 -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 a8101c12b5 Fix any cases in md extension
For #269213
2025-10-03 14:15:39 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b6416c5a5f Bump brace-expansion from 1.1.11 to 1.1.12 in /extensions/markdown-language-features (#261693)
Bump brace-expansion in /extensions/markdown-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-19 11:55:15 +02:00
Matt Bierner 4b9b99ba7a Pick up latest md language server
For #248467
2025-07-25 16:07:10 -07:00
Matt Bierner d4d2f93bf7 Pick up latest vscode-markdown-languageserver 2025-05-20 19:28:34 -07:00
Matt Bierner a09b4abef2 Also update lockfile 2025-03-24 15:29:37 -07:00
Matt Bierner 23812e0d8f Make sure scripts in md preview are properly evaluated
Fixes #243454

This restores the previous behavior. If the default security settings are used, scripts will still block blocked by the CSP. If you fully disable the security settings, then we'll try to run them
2025-03-17 11:45:49 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d37a30e600 Bump dompurify from 3.1.7 to 3.2.4 in /extensions/markdown-language-features (#240973)
Bump dompurify in /extensions/markdown-language-features

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.1.7 to 3.2.4.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.7...3.2.4)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 11:31:27 +01:00
João MorenoandGitHub f6ec9aa2e6 bump katex (#238271) 2025-01-20 10:39:21 +01:00
Logan RamosandGitHub e689b912ba Update telemetry package (#236378) 2024-12-17 20:12:49 +01:00