chore(deps): update node-patch-updates to v2.0.15 #1879

Merged
ginger merged 1 commit from renovate/node-patch-updates into main 2026-06-29 13:01:10 +00:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
@rspress/core (source) 2.0.142.0.15 age confidence
@rspress/plugin-client-redirects (source) 2.0.142.0.15 age confidence
@rspress/plugin-sitemap (source) 2.0.142.0.15 age confidence

Release Notes

web-infra-dev/rspress (@​rspress/core)

v2.0.15

Compare Source

Highlights
🌙 themeConfig.darkMode supports default and forced values

You can now set the default or forced theme behavior directly via themeConfig.darkMode, instead of relying on window.RSPRESS_THEME. It accepts values like 'dark', 'light', 'auto', 'force-dark', and 'force-light'.

import { defineConfig } from '@​rspress/core';

export default defineConfig({
  themeConfig: {
    darkMode: 'force-dark',
  },
});

Rspress now validates internal heading hash links during builds. Enable markdown.link.checkAnchors to catch broken anchors in same-page, relative, and absolute Markdown/MDX links.

import { defineConfig } from '@​rspress/core';

export default defineConfig({
  markdown: {
    link: {
      checkAnchors: true,
    },
  },
});
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors

Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.14...v2.0.15


Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@rspress/core](https://github.com/web-infra-dev/rspress) ([source](https://github.com/web-infra-dev/rspress/tree/HEAD/packages/core)) | [`2.0.14` → `2.0.15`](https://renovatebot.com/diffs/npm/@rspress%2fcore/2.0.14/2.0.15) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@rspress%2fcore/2.0.15?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspress%2fcore/2.0.14/2.0.15?slim=true) | | [@rspress/plugin-client-redirects](https://github.com/web-infra-dev/rspress) ([source](https://github.com/web-infra-dev/rspress/tree/HEAD/packages/plugin-client-redirects)) | [`2.0.14` → `2.0.15`](https://renovatebot.com/diffs/npm/@rspress%2fplugin-client-redirects/2.0.14/2.0.15) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@rspress%2fplugin-client-redirects/2.0.15?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspress%2fplugin-client-redirects/2.0.14/2.0.15?slim=true) | | [@rspress/plugin-sitemap](https://github.com/web-infra-dev/rspress) ([source](https://github.com/web-infra-dev/rspress/tree/HEAD/packages/plugin-sitemap)) | [`2.0.14` → `2.0.15`](https://renovatebot.com/diffs/npm/@rspress%2fplugin-sitemap/2.0.14/2.0.15) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@rspress%2fplugin-sitemap/2.0.15?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspress%2fplugin-sitemap/2.0.14/2.0.15?slim=true) | --- ### Release Notes <details> <summary>web-infra-dev/rspress (@&#8203;rspress/core)</summary> ### [`v2.0.15`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.15) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.14...v2.0.15) ##### Highlights ##### 🌙 `themeConfig.darkMode` supports default and forced values You can now set the default or forced theme behavior directly via `themeConfig.darkMode`, instead of relying on `window.RSPRESS_THEME`. It accepts values like `'dark'`, `'light'`, `'auto'`, `'force-dark'`, and `'force-light'`. ```ts title="rspress.config.ts" import { defineConfig } from '@&#8203;rspress/core'; export default defineConfig({ themeConfig: { darkMode: 'force-dark', }, }); ``` ##### 🔗 Markdown anchor link validation Rspress now validates internal heading hash links during builds. Enable `markdown.link.checkAnchors` to catch broken anchors in same-page, relative, and absolute Markdown/MDX links. ```ts title="rspress.config.ts" import { defineConfig } from '@&#8203;rspress/core'; export default defineConfig({ markdown: { link: { checkAnchors: true, }, }, }); ``` ##### What's Changed ##### New Features 🎉 - feat(search): Allow excluding pages from default search via frontmatter by [@&#8203;elliotcourant](https://github.com/elliotcourant) in [#&#8203;3456](https://github.com/web-infra-dev/rspress/pull/3456) - feat(theme/darkMode): support `themeConfig.darkMode` set default values by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3473](https://github.com/web-infra-dev/rspress/pull/3473) - feat(mdx/link): support markdown anchor checks by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3443](https://github.com/web-infra-dev/rspress/pull/3443) ##### Performance 🚀 - perf(ssg): avoid eager asset source reads by [@&#8203;SyMind](https://github.com/SyMind) in [#&#8203;3459](https://github.com/web-infra-dev/rspress/pull/3459) ##### Bug Fixes 🐞 - fix(theme/Nav): render active language as non-link by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3450](https://github.com/web-infra-dev/rspress/pull/3450) - fix(core): allow overriding printFileSize config by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3451](https://github.com/web-infra-dev/rspress/pull/3451) - fix(auto-nav-sidebar): isolate global sidebar by version by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3454](https://github.com/web-infra-dev/rspress/pull/3454) - fix(mdx/title): strip inline markdown in h1 e.g: "# `__ReplaceElements`" by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3468](https://github.com/web-infra-dev/rspress/pull/3468) - fix(theme/inline-code-link): align link styles `--rp-c-link` and nav gap by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3474](https://github.com/web-infra-dev/rspress/pull/3474) ##### Refactor 🔨 - refactor(search): extract helper and add idle callback cleanup ♻️ by [@&#8203;sanjaiyan-dev](https://github.com/sanjaiyan-dev) in [#&#8203;3467](https://github.com/web-infra-dev/rspress/pull/3467) - refactor(theme): use `useLayoutEffect` in useNavTransparent for performance🛠️ by [@&#8203;sanjaiyan-dev](https://github.com/sanjaiyan-dev) in [#&#8203;3475](https://github.com/web-infra-dev/rspress/pull/3475) ##### Document 📖 - docs: fix broken documentation links by [@&#8203;chenjiahan](https://github.com/chenjiahan) in [#&#8203;3449](https://github.com/web-infra-dev/rspress/pull/3449) - docs: mention dark mode CSS variable selectors by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3453](https://github.com/web-infra-dev/rspress/pull/3453) ##### Other Changes - chore(deps): update dev-tools by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3448](https://github.com/web-infra-dev/rspress/pull/3448) - chore(deps): update skills-package-manager\@&#8203;0.11.0 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3455](https://github.com/web-infra-dev/rspress/pull/3455) - chore(deps): update rstack by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3458](https://github.com/web-infra-dev/rspress/pull/3458) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3457](https://github.com/web-infra-dev/rspress/pull/3457) - chore(deps): update shiki to ^4.2.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3464](https://github.com/web-infra-dev/rspress/pull/3464) - chore(deps): update dependency remark-cjk-friendly to ^2.1.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3461](https://github.com/web-infra-dev/rspress/pull/3461) - chore(deps): update dependency remark-cjk-friendly-gfm-strikethrough to ^2.1.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3462](https://github.com/web-infra-dev/rspress/pull/3462) - chore(deps): update rstack (major) by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3465](https://github.com/web-infra-dev/rspress/pull/3465) - chore(deps): update rstack by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3460](https://github.com/web-infra-dev/rspress/pull/3460) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3471](https://github.com/web-infra-dev/rspress/pull/3471) - chore(deps): update dependency remark-cjk-friendly to ^2.3.1 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3472](https://github.com/web-infra-dev/rspress/pull/3472) - Release v2.0.15 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3478](https://github.com/web-infra-dev/rspress/pull/3478) ##### New Contributors - [@&#8203;SyMind](https://github.com/SyMind) made their first contribution in [#&#8203;3459](https://github.com/web-infra-dev/rspress/pull/3459) **Full Changelog**: <https://github.com/web-infra-dev/rspress/compare/v2.0.14...v2.0.15> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIzNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJEZXBlbmRlbmNpZXMiLCJEZXBlbmRlbmNpZXMvUmVub3ZhdGUiXX0=-->
chore(deps): update node-patch-updates to v2.0.15
All checks were successful
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 3s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m11s
Checks / Prek / Check changed files (pull_request) Successful in 7s
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 9s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m10s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been skipped
ccfb225d7d
renovate force-pushed renovate/node-patch-updates from ccfb225d7d
All checks were successful
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 3s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m11s
Checks / Prek / Check changed files (pull_request) Successful in 7s
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 9s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m10s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been skipped
to 41c7766145
All checks were successful
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 7s
Checks / Prek / Check changed files (pull_request) Successful in 5s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m19s
Documentation / Build and Deploy Documentation (pull_request) Successful in 2m7s
2026-06-27 05:03:19 +00:00
Compare
ginger merged commit 9f8a716dc1 into main 2026-06-29 13:01:10 +00:00
ginger deleted branch renovate/node-patch-updates 2026-06-29 13:01:10 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity!1879
No description provided.