Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 13, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@rspress/plugin-llms (source) 2.0.0-beta.4 -> 2.0.0-beta.5 age adoption passing confidence
@rspress/plugin-rss (source) 2.0.0-beta.4 -> 2.0.0-beta.5 age adoption passing confidence
rspress (source) 2.0.0-beta.4 -> 2.0.0-beta.5 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

web-infra-dev/rspress (@​rspress/plugin-llms)

v2.0.0-beta.5

Compare Source

Highlights✨
Use shiki v3 by default, drop prism support

related PR: https://github.com/web-infra-dev/rspress/pull/1672, https://github.com/web-infra-dev/rspress/pull/2046, https://github.com/web-infra-dev/rspress/pull/2122

Migrate all code highlighting from prism to shiki in compile time. It is worth noting that some code block syntax will be changed, e.g transformerNotationHighlight

More info: https://github.com/web-infra-dev/rspress/discussions/1891#discussioncomment-12458121

before

import { defineConfig } from 'rspress/config';
import { pluginShiki, createTransformerLineNumber, createTransformerDiff } from '@​rspress/plugin-shiki';

export default defineConfig({
  plugins: [
    pluginShiki({
      transformers: [
        createTransformerLineNumber(),
        createTransformerDiff(),
        // createTransformerErrorLevel(),
        // createTransformerHighlight(),
        // createTransformerFocus(),
      ],
    }),
  ],
});

after

import { defineConfig } from 'rspress/config';
import {
  transformerNotationDiff,
} from '@​shikijs/transformers';

export default defineConfig({
  markdown: {
    showLineNumber: true,
    shiki: {
        transformers: [
          transformerNotationDiff(),
          // transformerNotationErrorLevel(),
          // transformerNotationFocus(),
          // transformerNotationHighlight(),
      ],
    }
  }
});
Support JSON schema for _meta.json

related PR: #​2079

Now you can get type hints in the IDE. For example, in VSCode you can set

// .vscode/settings.json
{
 //...
 "json.schemas": [
    {
      "fileMatch": ["**/_meta.json"],
      "url": "./node_modules/rspress/meta-json-schema.json"
      // or "url": "https://unpkg.com/rspress@2.0.0-beta.5/meta-json-schema.json"
    }
  ],
  // ...
}
What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rspress@v2.0.0-beta.4...v2.0.0-beta.5


Configuration

📅 Schedule: Branch creation - "before 8am on wednesday" in timezone Asia/Shanghai, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label May 13, 2025
@netlify
Copy link

netlify bot commented May 13, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 25f8220
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/68243797eba4bc00082fe4ea

@renovate renovate bot force-pushed the renovate/rspress branch from 317e86b to d4db4d8 Compare May 13, 2025 23:06
@codspeed-hq
Copy link

codspeed-hq bot commented May 13, 2025

CodSpeed Performance Report

Merging #10355 will not alter performance

Comparing renovate/rspress (25f8220) with main (3342715)

🎉 Hooray! codspeed-rust just leveled up to 2.7.2!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

✅ 11 untouched benchmarks

@chenjiahan
Copy link
Member

@SoonIter Can we help Rspack website to migrate to Shiki? ❤️

@chenjiahan
Copy link
Member

See #10387

@chenjiahan chenjiahan closed this May 16, 2025
@renovate
Copy link
Contributor Author

renovate bot commented May 16, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (2.0.0-beta.5). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/rspress branch May 16, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants