Skip to content

chore(deps): update dependency vitepress to v2.0.0-alpha.19 - #1574

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/vitepress-2.x
Aug 6, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/vitepress-2.x

Conversation

@renovate

@renovate renovate Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
vitepress (source) 2.0.0-alpha.18 → 2.0.0-alpha.19 age confidence

Release Notes

vuejs/vitepress (vitepress)

v2.0.0-alpha.19

Compare Source

Bug Fixes
  • build: apply rewrites when computing createContentLoader urls (9e2148d)
  • build: clear markdown cache with rewritten path on include change (5eac447), closes #​5035
  • build: compose markdown preConfig hook when extending configs (c39a85a), closes #​5205
  • build: don't apply docsearch css transform to pages matching its filter (fa0e48c)
  • build: don't rely on checkout directory name when externalizing types (e6ba9d8)
  • build: report links to pre-rewrite paths of rewritten pages as dead (3cf3f37)
  • build: resolve additional configs by source path (5e4a9e7)
  • build: resolve rewrites against externally injected pages too (769c10e)
  • build: respect cleanUrls in content loader render (027f046), closes #​4331 #​5299
  • build: track include importers by module id (c961655)
  • build: prevent duplicate IDs in MiniSearch (#​5303) (505278c)
  • build: remove stackTraceLimit Infinity for DEBUG (#​5318) (865d04b)
  • build: retry file reads when out of file descriptors (da71173)
  • cli: avoid onAfterConfigResolve (3fbaf9c)
  • client: make the route the single source of truth for the URL hash (dcb7a75)
  • markdown: preserve user-defined attributes (3f4530b), closes #​5123
  • markdown: remove extra whitespace from container markup (b6d9cb8)
  • markdown: skip circular includes (3372516)
  • markdown: remove deprecated cjkFriendly option (27762ea)
  • markdown: rename image option lazyLoading to lazyLoad (078786a)
  • search: index changed files with srcDir-relative paths in dev (6b64f35), closes #​3374
  • search: only index pages on dev updates (559fb24)
  • search: serve a fresh search index after dev updates (1534a67)
  • search: skip pages that fail to render instead of crashing dev server (3ffefa2)
  • theme: use ul and li for lists (#​5326) (3f99872)
  • theme: align docsearch breakpoints with the default theme (90c28d4), closes #​5213
  • theme: align local search breakpoint (#​5217) (a425113)
  • theme: correct anchor scroll margins across viewports (dabc5e9)
  • theme: ensure outline marker follows click (#​3879) (31287c0)
  • theme: external link icon not showing in navbar links (225c94a), closes #​5306
  • theme: pass target and rel to prev/next page links (#​5297) (6b5e770)
  • theme: preserve url params when switching languages (#​5312) (9ee401d)
  • theme: prevent TypeError when navigating to page without outline (#​5329) (9376c58)
  • theme: remove font-synthesis style (#​5309) (c34769c)
  • theme: safari not showing external link icon properly (7118402)
  • theme: rebuild the base styles on tailwind's preflight (f1ee913)
  • theme: route cjk punctuation to matching system fonts (91b06b6)
  • theme: remove deprecated disableDetailedView local search option (cec4998)
  • theme: remove deprecated lastUpdatedText option (18d1b47)
  • theme: remove deprecated outlineTitle option (95c0420)
  • types: declare Badge as a global component (ca8ba5b)
  • types: import EnhanceAppContext from package entry in theme.d.ts (8ff1f3e), closes #​5156
Features
Performance Improvements
  • build: reuse lastUpdated from markdown rendering in sitemap generation (fdd68e3)
  • md: bypass gray-matter's unbounded cache (4f8703d)
  • md: limit the compile cache's memory usage (2fb6bda)
  • use hook filters in vite plugins (fa24c6d)
Reverts
BREAKING CHANGES
  • markdown.anchor options are now typed by @mdit/plugin-anchor. Common options (level, slugify, permalink, getTokensText, tabIndex, etc.) are unchanged, but the deprecated markdown-it-anchor permalink options (permalinkSymbol, renderPermalink, ...) are no longer accepted. Permalink builders like headerLink are named exports of @mdit/plugin-anchor instead of properties of the plugin.

  • markdown.attrs options are now typed by @mdit/plugin-attrs: leftDelimiter, rightDelimiter, and allowedAttributes are renamed to left, right, and allowed. A rule option is available for toggling individual attribute rules (VitePress disables fence by default).

  • markdown.codeCopyButtonTitle is now markdown.codeCopyButton.tooltipText, and its default changed from "Copy Code" to "Copy code". The --vp-code-copy-copied-text-content CSS variable and its built-in per-language :lang() defaults are removed - set codeCopyButton.copiedText (per locale) instead.

  • useData().hash has been removed. Read the hash from useRoute() instead.

  • callers of vitepress' build() will now notice the version banner gets printed. To disable that, pass a noop function:

    build(root, {
      onAfterConfigResolve() {}
    })
  • custom themeConfig.i18nRouting functions now receive the current Route as their second argument instead of the hash

  • normalize-level defaults differ from the old reset - native select and number-input chrome is restored, headings inherit font size and weight, the hidden attribute is enforced with !important, and every element starts with zero margin/padding and border-style: solid. Sites layering custom CSS on the default theme may notice.

  • relative urls in included markdown files resolve against the included file rather than the including page. Partials written for one specific location may need their links updated, or markdown.include.rebaseRelativeUrls set to false to keep resolving them from the including page. Absolute and external urls are unaffected. Note that the marker comments shift the line numbers reported for dead links following an include, which already pointed into the include-expanded source rather than the original file.

  • init: scaffold() now returns a Promise<string> and must be awaited.

  • The defs property of markdown.emoji has been renamed to definitions.

  • The markdown.attrs.disable option has been removed. Set markdown.attrs to false instead.

  • The markdown.image.lazyLoading option has been renamed to markdown.image.lazyLoad.

  • The deprecated disableDetailedView option of local search has been removed. Use detailedView: false instead.

  • The deprecated markdown.cjkFriendly option has been removed. Use markdown.cjkFriendlyEmphasis instead.

  • The deprecated themeConfig.lastUpdatedText option has been removed. Use themeConfig.lastUpdated.text instead.

  • The deprecated themeConfig.outlineTitle option has been removed. Use themeConfig.outline.label instead.

  • The Inter4CJK font family has been renamed to 'Inter Core'. Custom --vp-font-family-base overrides referencing Inter4CJK must be updated.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​vitepress@​2.0.0-alpha.19981008695100

View full report

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ccusage-guide 2afbdba Commit Preview URL

Branch Preview URL
Aug 06 2026, 09:41 AM

@pkg-pr-new

pkg-pr-new Bot commented Aug 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

@ccusage/ccusage-darwin-arm64

npx https://pkg.pr.new/@ccusage/ccusage-darwin-arm64@1574

@ccusage/ccusage-darwin-x64

npx https://pkg.pr.new/@ccusage/ccusage-darwin-x64@1574

@ccusage/ccusage-linux-arm64

npx https://pkg.pr.new/@ccusage/ccusage-linux-arm64@1574

@ccusage/ccusage-linux-x64

npx https://pkg.pr.new/@ccusage/ccusage-linux-x64@1574

@ccusage/ccusage-win32-x64

npx https://pkg.pr.new/@ccusage/ccusage-win32-x64@1574

ccusage

npx https://pkg.pr.new/ccusage@1574

commit: 2afbdba

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

ccusage performance comparison

PR SHA: 2afbdba8e1a7
Base SHA: 872f183c672e

This compares the PR package against the configured base package on the same CI runner.

Package runtime diagnostics

Compares the PR package wrapper, the installed native optional dependency binary, and the workspace release binary on the same large fixture. This identifies whether slow package results come from JavaScript wrapper overhead, the published native binary build, or the Rust core itself.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
All rows run --offline --json, measured by hyperfine with 0 warmups and 1 runs. This isolates wrapper overhead from the installed native optional dependency and the workspace release binary built on the runner.

Command Runtime Input Median Throughput Samples
claude --offline --json Package wrapper 1.01 GiB 358.1ms 2.81 GiB/s 1
claude --offline --json Installed native binary 1.01 GiB 312.4ms 3.22 GiB/s 1
codex --offline --json Package wrapper 1.01 GiB 136.4ms 7.38 GiB/s 1
codex --offline --json Installed native binary 1.01 GiB 108.7ms 9.26 GiB/s 1

Committed fixture performance

Committed small fixtures for stable PR-to-PR feedback and explicit Claude/Codex command coverage.

Fixtures: Claude apps/ccusage/test/fixtures/claude (0.00 MiB, 2 files), Codex apps/ccusage/test/fixtures/codex (0.00 MiB, 1 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published ccusage package from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 2 warmups and 7 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude daily --offline --json 0.00 MiB 29.2ms 29.8ms 0.98x 55.00 MiB 55.00 MiB 1.00x 0.05 MiB/s 0.05 MiB/s
claude session --offline --json 0.00 MiB 28.1ms 25.8ms 1.09x 55.50 MiB 55.00 MiB 0.99x 0.06 MiB/s 0.06 MiB/s
codex daily --offline --json 0.00 MiB 24.9ms 25.8ms 0.96x 55.00 MiB 55.00 MiB 1.00x 0.03 MiB/s 0.03 MiB/s
codex session --offline --json 0.00 MiB 25.3ms 25.3ms 1.00x 55.00 MiB 55.25 MiB 1.00x 0.03 MiB/s 0.03 MiB/s

Large real-world-shaped fixture performance

Generated fixtures shaped from aggregate local log statistics: thousands of JSONL files, many small sessions, and a long tail of larger sessions. No real prompts, paths, or outputs are stored in the fixtures.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published ccusage package from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 0 warmups and 1 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude --offline --json 1.01 GiB 356.6ms 346.4ms 1.03x 946.58 MiB 964.58 MiB 1.02x 2.82 GiB/s 2.91 GiB/s
codex --offline --json 1.01 GiB 116.7ms 121.0ms 0.96x 416.90 MiB 416.90 MiB 1.00x 8.63 GiB/s 8.32 GiB/s

Artifact size

Artifact Base PR Delta Ratio
packed ccusage-*.tgz 18.78 KiB 18.78 KiB -0.00 KiB 1.00x
installed native package binary 4163.09 KiB 4163.09 KiB +0.00 KiB 1.00x

Lower medians and smaller artifacts are better. CI runner noise still applies; use same-run ratios as directional PR feedback, not release guarantees.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

ccusage performance comparison

PR SHA: 2afbdba8e1a7
Base SHA: 872f183c672e

This compares the Rust PR release binary against the configured base package on the same CI runner.

Package runtime diagnostics

Compares the PR package wrapper, the installed native optional dependency binary, and the workspace release binary on the same large fixture. This identifies whether slow package results come from JavaScript wrapper overhead, the published native binary build, or the Rust core itself.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
All rows run --offline --json, measured by hyperfine with 0 warmups and 1 runs. This isolates wrapper overhead from the installed native optional dependency and the workspace release binary built on the runner.

Command Runtime Input Median Throughput Samples
claude --offline --json Package wrapper 1.01 GiB 344.1ms 2.93 GiB/s 1
claude --offline --json Installed native binary 1.01 GiB 323.9ms 3.11 GiB/s 1
codex --offline --json Package wrapper 1.01 GiB 134.2ms 7.50 GiB/s 1
codex --offline --json Installed native binary 1.01 GiB 127.6ms 7.89 GiB/s 1

Committed fixture performance

Committed small fixtures for stable PR-to-PR feedback and explicit Claude/Codex command coverage.

Fixtures: Claude apps/ccusage/test/fixtures/claude (0.00 MiB, 2 files), Codex apps/ccusage/test/fixtures/codex (0.00 MiB, 1 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published native ccusage binary from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 2 warmups and 7 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude daily --offline --json 0.00 MiB 30.3ms 2.8ms 10.89x 55.25 MiB 12.45 MiB 0.23x 0.05 MiB/s 0.56 MiB/s
claude session --offline --json 0.00 MiB 28.7ms 5.2ms 5.53x 55.25 MiB 12.69 MiB 0.23x 0.05 MiB/s 0.30 MiB/s
codex daily --offline --json 0.00 MiB 22.6ms 2.3ms 9.78x 55.00 MiB 10.70 MiB 0.19x 0.04 MiB/s 0.37 MiB/s
codex session --offline --json 0.00 MiB 23.6ms 2.3ms 10.14x 55.00 MiB 10.69 MiB 0.19x 0.04 MiB/s 0.37 MiB/s

Large real-world-shaped fixture performance

Generated fixtures shaped from aggregate local log statistics: thousands of JSONL files, many small sessions, and a long tail of larger sessions. No real prompts, paths, or outputs are stored in the fixtures.

Fixtures: Claude /home/runner/_work/_temp/ccusage-large-fixture (1.01 GiB, 2597 files), Codex /home/runner/_work/_temp/ccusage-large-codex-fixture (1.01 GiB, 2597 files)
Base runs the published ccusage package from pkg.pr.new, installed before measurement; PR runs the published native ccusage binary from pkg.pr.new, installed before measurement. Both run --offline --json, measured by hyperfine with 0 warmups and 1 runs.
Peak RSS is measured separately with /usr/bin/time using 1 runs. Lower RSS ratios are better.

Command Input Base median PR median PR vs base Base peak RSS PR peak RSS PR/base RSS Base throughput PR throughput
claude --offline --json 1.01 GiB 370.6ms 319.8ms 1.16x 938.58 MiB 942.58 MiB 1.00x 2.72 GiB/s 3.15 GiB/s
codex --offline --json 1.01 GiB 117.2ms 96.2ms 1.22x 412.90 MiB 414.90 MiB 1.00x 8.59 GiB/s 10.47 GiB/s

Artifact size

Artifact Base PR Delta Ratio
packed ccusage-*.tgz 18.78 KiB 18.78 KiB -0.00 KiB 1.00x
installed native package binary 4163.09 KiB 4163.09 KiB +0.00 KiB 1.00x

Lower medians and smaller artifacts are better. CI runner noise still applies; use same-run ratios as directional PR feedback, not release guarantees.

@renovate
renovate Bot merged commit dc9018f into main Aug 6, 2026
56 checks passed
@renovate
renovate Bot deleted the renovate/vitepress-2.x branch August 6, 2026 17:05
@github-actions github-actions Bot mentioned this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants