chore(deps): update node-patch-updates to v2.0.19 #2080

Open
renovate wants to merge 1 commit from renovate/node-patch-updates into main
Collaborator

This PR contains the following updates:

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

Release Notes

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

v2.0.19

Compare Source

Highlights
🤖 Guide AI agents from generated Markdown

When SSG-MD is enabled, every generated Markdown page now starts with an agent-readable directive pointing to llms.txt, llms-full.txt, and the Markdown version of the current page:

> For AI agents: the complete documentation index is available at https://example.com/llms.txt, the full documentation bundle is available at https://example.com/llms-full.txt, and this page is available as Markdown at https://example.com/guide/index.md.
image

This extends the existing HTML hint to Markdown output. Its URLs automatically respect siteOrigin, base, locale, and version prefixes, helping agents discover the right machine-readable content from either format.

Documentation: SSG-MD · injectLlmsHint

Related PR: #​3544

🎨 Add icons to generated sidebars and navigation

Use icon to display an image, inline SVG, emoji, external URL, or data URL before sidebar and navbar labels. Auto-generated sidebars support icons on groups, items, and section headers through _meta.json or page frontmatter, while navigation icons can be configured through _nav.json or themeConfig.nav.

For a local image, place it in public and reference it with an absolute path:

[
  {
    "type": "file",
    "name": "introduction",
    "label": "Introduction",
    "icon": "/icon.png",
    "tag": "new"
  }
]

Icons render before the label, while an existing tag remains on the right.

image

Documentation: Sidebar icons and tags · nav · sidebar

Related PR: #​3554

Speed up lastUpdated on large sites

Rspress now resolves Git history for all documentation pages in one batched pass instead of spawning one git log process per page. Existing lastUpdated configuration remains unchanged:

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

export default defineConfig({
  themeConfig: {
    lastUpdated: true,
  },
});

In the PR benchmark, Rspress resolved metadata for its 208-page documentation site with two Git processes in about 300 ms. This avoids the process storms that could make large sites spend minutes resolving page metadata.

Documentation: lastUpdated

Related PR: #​3545

What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.18...v2.0.19


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.18` → `2.0.19`](https://renovatebot.com/diffs/npm/@rspress%2fcore/2.0.18/2.0.19) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@rspress%2fcore/2.0.19?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspress%2fcore/2.0.18/2.0.19?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.18` → `2.0.19`](https://renovatebot.com/diffs/npm/@rspress%2fplugin-client-redirects/2.0.18/2.0.19) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@rspress%2fplugin-client-redirects/2.0.19?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspress%2fplugin-client-redirects/2.0.18/2.0.19?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.18` → `2.0.19`](https://renovatebot.com/diffs/npm/@rspress%2fplugin-sitemap/2.0.18/2.0.19) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@rspress%2fplugin-sitemap/2.0.19?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspress%2fplugin-sitemap/2.0.18/2.0.19?slim=true) | --- ### Release Notes <details> <summary>web-infra-dev/rspress (@&#8203;rspress/core)</summary> ### [`v2.0.19`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.19) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.18...v2.0.19) ##### Highlights ##### 🤖 Guide AI agents from generated Markdown When SSG-MD is enabled, every generated Markdown page now starts with an agent-readable directive pointing to `llms.txt`, `llms-full.txt`, and the Markdown version of the current page: ```md > For AI agents: the complete documentation index is available at https://example.com/llms.txt, the full documentation bundle is available at https://example.com/llms-full.txt, and this page is available as Markdown at https://example.com/guide/index.md. ``` <img width="869" height="542" alt="image" src="https://github.com/user-attachments/assets/5a50b9d5-9e39-4cf4-b7db-39147f05ea10" /> This extends the existing HTML hint to Markdown output. Its URLs automatically respect `siteOrigin`, `base`, locale, and version prefixes, helping agents discover the right machine-readable content from either format. **Documentation:** [SSG-MD](https://rspress.rs/guide/basic/ssg-md) · [`injectLlmsHint`](https://rspress.rs/api/config/config-theme#injectllmshint) **Related PR:** [#&#8203;3544](https://github.com/web-infra-dev/rspress/pull/3544) ##### 🎨 Add icons to generated sidebars and navigation Use `icon` to display an image, inline SVG, emoji, external URL, or data URL before sidebar and navbar labels. Auto-generated sidebars support icons on groups, items, and section headers through `_meta.json` or page frontmatter, while navigation icons can be configured through `_nav.json` or `themeConfig.nav`. For a local image, place it in `public` and reference it with an absolute path: ```json title="docs/guide/_meta.json" [ { "type": "file", "name": "introduction", "label": "Introduction", "icon": "/icon.png", "tag": "new" } ] ``` Icons render before the label, while an existing `tag` remains on the right. <img width="1073" height="723" alt="image" src="https://github.com/user-attachments/assets/f9831881-36b6-4758-856d-f45b05667eb7" /> **Documentation:** [Sidebar icons and tags](https://rspress.rs/guide/basic/auto-nav-sidebar#sidebar-icons-and-tags) · [`nav`](https://rspress.rs/api/config/config-theme#nav) · [`sidebar`](https://rspress.rs/api/config/config-theme#sidebar) **Related PR:** [#&#8203;3554](https://github.com/web-infra-dev/rspress/pull/3554) ##### ⚡ Speed up `lastUpdated` on large sites Rspress now resolves Git history for all documentation pages in one batched pass instead of spawning one `git log` process per page. Existing `lastUpdated` configuration remains unchanged: ```ts import { defineConfig } from '@&#8203;rspress/core'; export default defineConfig({ themeConfig: { lastUpdated: true, }, }); ``` In the PR benchmark, Rspress resolved metadata for its 208-page documentation site with two Git processes in about 300 ms. This avoids the process storms that could make large sites spend minutes resolving page metadata. **Documentation:** [`lastUpdated`](https://rspress.rs/api/config/config-theme#lastupdated) **Related PR:** [#&#8203;3545](https://github.com/web-infra-dev/rspress/pull/3545) ##### What's Changed ##### New Features 🎉 - feat(theme/Llms): support llms directive hints in Markdown by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3544](https://github.com/web-infra-dev/rspress/pull/3544) - feat(auto-nav-sidebar): support icon field in sidebar and navbar by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3554](https://github.com/web-infra-dev/rspress/pull/3554) ##### Performance 🚀 - perf(core): resolve lastUpdated with a single git process by [@&#8203;fi3ework](https://github.com/fi3ework) in [#&#8203;3545](https://github.com/web-infra-dev/rspress/pull/3545) ##### Bug Fixes 🐞 - fix(plugin-playground): support HMR updates by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3532](https://github.com/web-infra-dev/rspress/pull/3532) - fix(route/i18n): redirect locale before hydration and migrate to `route.localeRedirect` by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3534](https://github.com/web-infra-dev/rspress/pull/3534) - fix(core): declare public type dependencies by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3540](https://github.com/web-infra-dev/rspress/pull/3540) - fix(core): preserve async config inference by [@&#8203;chenjiahan](https://github.com/chenjiahan) in [#&#8203;3541](https://github.com/web-infra-dev/rspress/pull/3541) - fix(theme/outline): hide dividers without content by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3556](https://github.com/web-infra-dev/rspress/pull/3556) - fix(plugin-playground): scope Monaco preloads to playground pages by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3559](https://github.com/web-infra-dev/rspress/pull/3559) - fix(ssg-md): preserve MDX exports by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3562](https://github.com/web-infra-dev/rspress/pull/3562) - fix(theme/llmsUI): warn when copying Markdown in dev by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3563](https://github.com/web-infra-dev/rspress/pull/3563) ##### Refactor 🔨 - refactor(core/rsbuild): reuse Rsbuild restart lifecycle by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3537](https://github.com/web-infra-dev/rspress/pull/3537) - refactor(core): remove redundant AST filtering by [@&#8203;chenjiahan](https://github.com/chenjiahan) in [#&#8203;3558](https://github.com/web-infra-dev/rspress/pull/3558) ##### Document 📖 - docs: add keywords metadata example by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3536](https://github.com/web-infra-dev/rspress/pull/3536) - docs: refresh Rstack slogan by [@&#8203;chenjiahan](https://github.com/chenjiahan) in [#&#8203;3547](https://github.com/web-infra-dev/rspress/pull/3547) - docs: Add rspress-plugin-third-parties for enhanced script loading 🎉 by [@&#8203;sanjaiyan-dev](https://github.com/sanjaiyan-dev) in [#&#8203;3546](https://github.com/web-infra-dev/rspress/pull/3546) - docs: update homepage tagline by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3564](https://github.com/web-infra-dev/rspress/pull/3564) - docs: clean up locale redirect configuration by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3561](https://github.com/web-infra-dev/rspress/pull/3561) ##### Other Changes - chore(deps): update rstack by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3531](https://github.com/web-infra-dev/rspress/pull/3531) - chore(ci/rsdoctor): add auto-nav-sidebar baseline to Rsdoctor bundle diff analysis by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3332](https://github.com/web-infra-dev/rspress/pull/3332) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3530](https://github.com/web-infra-dev/rspress/pull/3530) - chore(deps): update Rsbuild to v2.1.7 by [@&#8203;chenjiahan](https://github.com/chenjiahan) in [#&#8203;3535](https://github.com/web-infra-dev/rspress/pull/3535) - chore(ci/test): remove TEST environment branches by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3538](https://github.com/web-infra-dev/rspress/pull/3538) - chore(deps): upgrade Rslib to 1.0.0-beta.1 by [@&#8203;Timeless0911](https://github.com/Timeless0911) in [#&#8203;3542](https://github.com/web-infra-dev/rspress/pull/3542) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3548](https://github.com/web-infra-dev/rspress/pull/3548) - chore(deps): update rstack by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3549](https://github.com/web-infra-dev/rspress/pull/3549) - chore(deps): update dependency [@&#8203;floating-ui/dom](https://github.com/floating-ui/dom) to ^1.8.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3550](https://github.com/web-infra-dev/rspress/pull/3550) - chore(core): remove redundant dependencies by [@&#8203;chenjiahan](https://github.com/chenjiahan) in [#&#8203;3557](https://github.com/web-infra-dev/rspress/pull/3557) - chore(deps): update dependency memfs to ^4.64.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3552](https://github.com/web-infra-dev/rspress/pull/3552) - Release v2.0.19 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3566](https://github.com/web-infra-dev/rspress/pull/3566) **Full Changelog**: <https://github.com/web-infra-dev/rspress/compare/v2.0.18...v2.0.19> </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:eyJjcmVhdGVkSW5WZXIiOiI0My4yODEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI4MS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJEZXBlbmRlbmNpZXMiLCJEZXBlbmRlbmNpZXMvUmVub3ZhdGUiXX0=-->
chore(deps): update node-patch-updates to v2.0.19
All checks were successful
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 3s
Checks / Prek / Check changed files (pull_request) Successful in 6s
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 7s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been skipped
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m17s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m19s
7ffafce3d7
All checks were successful
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 3s
Checks / Prek / Check changed files (pull_request) Successful in 6s
Required
Details
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 7s
Required
Details
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been skipped
Required
Details
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m17s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m19s
Required
Details
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/node-patch-updates:renovate/node-patch-updates
git switch renovate/node-patch-updates
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!2080
No description provided.