Skip to content

chore(deps): upgrade web markdown renderer dependencies - #1155

Merged
wbxl2000 merged 2 commits into
mainfrom
deps/upgrade-web-markdown-renderers
Jun 27, 2026
Merged

chore(deps): upgrade web markdown renderer dependencies#1155
wbxl2000 merged 2 commits into
mainfrom
deps/upgrade-web-markdown-renderers

Conversation

@wbxl2000

Copy link
Copy Markdown
Collaborator

Related Issue

N/A — routine dependency upgrade.

Problem

The web markdown renderer dependencies in apps/kimi-web were several versions behind the latest releases. Upgrading picks up bug fixes and performance improvements for math rendering, streaming markdown, and syntax highlighting.

What changed

  • katex: ^0.16.22^0.17.0
  • markstream-vue: 1.0.3^1.0.4
  • shiki: ^4.2.0^4.3.0

Verified with pnpm install, pnpm --filter @moonshot-ai/kimi-web test, typecheck, and build.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

- katex: ^0.16.22 -> ^0.17.0

- markstream-vue: 1.0.3 -> ^1.0.4

- shiki: ^4.2.0 -> ^4.3.0
@changeset-bot

changeset-bot Bot commented Jun 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2d6017c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

❌ Nix build failed

Hash mismatch in pnpmDeps:

Hash
specified sha256-O9xDt/5bCakst2mKTyki3oyUph1g+CuH/BIqA/4fgYE=
got sha256-w/mEQrb5gNn4S5jZ95vO9uy4u/JB3wFbUfIZDcWqTXU=

Please update flake.nix with the got hash.

@pkg-pr-new

pkg-pr-new Bot commented Jun 27, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@2d6017c
npx https://pkg.pr.new/@moonshot-ai/kimi-code@2d6017c

commit: 2d6017c

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ba7f812a35

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +19 to +21
"katex": "^0.17.0",
"markstream-vue": "^1.0.4",
"shiki": "^4.3.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update the fixed pnpmDeps hash

Changing these web dependencies updates the dependency graph used by pnpm-lock.yaml, which is included in the Nix derivation source and fed to pkgs.fetchPnpmDeps with a fixed hash in flake.nix:134-153. The CI workflow explicitly runs nix build .#kimi-code in .github/workflows/nix-build.yml:90-108, so with the old pnpmDeps hash left unchanged this dependency upgrade will fail there with a hash mismatch; update the hash in flake.nix to match the new lockfile.

Useful? React with 👍 / 👎.

Required after upgrading katex, markstream-vue, and shiki.
@wbxl2000

Copy link
Copy Markdown
Collaborator Author

@codex

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 2d6017cc18

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@wbxl2000
wbxl2000 merged commit 54baf5d into main Jun 27, 2026
9 checks passed
@wbxl2000
wbxl2000 deleted the deps/upgrade-web-markdown-renderers branch June 27, 2026 10:18
@github-actions github-actions Bot mentioned this pull request Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant