You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🌙 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'.
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.
This release adds @rstest/playwright, providing Playwright-style browser automation fixtures such as browser, context, page, request, and serve, plus Playwright-style async assertions integrated with Rstest expect.
Rsbuild plugins can now use the exposed Rstest API to modify the current Rstest project config through modifyRstestConfig, making it easier for Rsbuild ecosystem plugins to customize test behavior in a scoped and validated way.
Rstest now supports metadata for tests, suites, file results, and custom reporters. You can initialize metadata through TestOptions.meta, inherit suite metadata in descendant suites/tests, update it at runtime via context.task.meta or hook ctx.meta, and consume it from reporter hooks.
import{afterAll,describe,test}from'@​rstest/core';// File-level metadata is exposed on TestFileResult.meta.afterAll((ctx)=>{ctx.meta.fileHook='afterAll';});describe('checkout',{meta: {owner: 'platform',area: 'payment'}},()=>{test('submits order',{meta: {caseId: 'checkout-001'}},(ctx)=>{// Test-level metadata inherits suite metadata and can be updated at runtime.ctx.task.meta.mutantId=process.env.STRYKER_ACTIVE_MUTANT;});});
Custom reporters can read the resolved metadata from case, suite, and file results:
importtype{Reporter}from'@​rstest/core';constmetadataReporter: Reporter={onTestCaseStart(test){console.log('case start metadata',test.meta);},onTestCaseResult(result){console.log('case result metadata',result.meta);},onTestSuiteResult(result){console.log('suite metadata',result.meta);},onTestFileResult(result){console.log('file metadata',result.meta);},};
What's Changed
New Features 🎉
feat(core): add task metadata support by @9aoy in #1507
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.1.0→1.0.0^1.5.2→^2.0.0^1.0.4→^2.0.02.0.12→2.0.172.0.12→2.0.172.0.12→2.0.172.0.12→2.0.17^0.10.0→^0.11.0^0.10.0→^0.11.0v6.0.2→v7.0.0v6→v7^14.0.3→^15.0.0^5.0.2→^6.0.024.15.0→24.18.0^6.0.3→^7.0.0^6.0.3→^7.0.0^0.2.6→^0.3.04.15.0→4.17.1Release Notes
web-infra-dev/rsbuild (@rsbuild/plugin-sass)
v2.0.1Compare Source
New features
Document
v2.0.0Compare Source
Breaking changes
Other changes
v1.5.3Compare Source
Bug fixes
Other changes
rstackjs/rsbuild-plugin-yaml (@rsbuild/plugin-yaml)
v2.0.0Compare Source
This package is now a pure ESM package.
What's Changed
df4cb1cby @renovate[bot] in #62New Contributors
Full Changelog: rstackjs/rsbuild-plugin-yaml@v1.0.5...v2.0.0
v1.0.5Compare Source
What's Changed
339a818by @renovate[bot] in #3348b55a0by @renovate[bot] in #43Full Changelog: rstackjs/rsbuild-plugin-yaml@v1.0.4...v1.0.5
web-infra-dev/rspress (@rspress/core)
v2.0.17Compare Source
What's Changed
New Features 🎉
route.useTransitionsto opt-out startTransition navigation by @sanjaiyan-dev in #3479route.prefetchLinkby @SoonIter in #3506Bug Fixes 🐞
startTransitionin async behaviour 🔧 by @sanjaiyan-dev in #3503Other Changes
New Contributors
Full Changelog: web-infra-dev/rspress@v2.0.16...v2.0.17
v2.0.16Compare Source
What's Changed
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
awaitnavigate and opt-in to routeruseTransition🧭 by @sanjaiyan-dev in #3476Document 📖
rspress-plugin-vizcommunity plugin by @elecmonkey in #3480Other Changes
New Contributors
Full Changelog: web-infra-dev/rspress@v2.0.15...v2.0.16
v2.0.15Compare Source
Highlights
🌙
themeConfig.darkModesupports default and forced valuesYou can now set the default or forced theme behavior directly via
themeConfig.darkMode, instead of relying onwindow.RSPRESS_THEME. It accepts values like'dark','light','auto','force-dark', and'force-light'.🔗 Markdown anchor link validation
Rspress now validates internal heading hash links during builds. Enable
markdown.link.checkAnchorsto catch broken anchors in same-page, relative, and absolute Markdown/MDX links.What's Changed
New Features 🎉
themeConfig.darkModeset default values by @SoonIter in #3473Performance 🚀
Bug Fixes 🐞
__ReplaceElements" by @SoonIter in #3468--rp-c-linkand nav gap by @SoonIter in #3474Refactor 🔨
useLayoutEffectin useNavTransparent for performance🛠️ by @sanjaiyan-dev in #3475Document 📖
Other Changes
New Contributors
Full Changelog: web-infra-dev/rspress@v2.0.14...v2.0.15
v2.0.14Compare Source
What's Changed
New Features 🎉
?rawquery imports by @SoonIter in #3434Performance 🚀
Bug Fixes 🐞
react-domreactpeerDependencies and optimize Search component preconnect ⚡ by @sanjaiyan-dev in #3413MDXto oneOfmdxandmdx-rawby @SoonIter in #3436Document 📖
Other Changes
3cbb846by @renovate[bot] in #3428New Contributors
Full Changelog: web-infra-dev/rspress@v2.0.13...v2.0.14
v2.0.13Compare Source
What's Changed
🐛 Bug Fixes
🛠 Refactors
📦 Chores & Dependencies
a3cd90cby @renovate[bot] in #3414Full Changelog: web-infra-dev/rspress@v2.0.12...v2.0.13
web-infra-dev/rstest (@rstest/core)
v0.11.1Compare Source
Highlights
New Playwright integration package
This release adds
@rstest/playwright, providing Playwright-style browser automation fixtures such asbrowser,context,page,request, andserve, plus Playwright-style async assertions integrated with Rstestexpect.Rsbuild plugins can modify Rstest config
Rsbuild plugins can now use the exposed Rstest API to modify the current Rstest project config through
modifyRstestConfig, making it easier for Rsbuild ecosystem plugins to customize test behavior in a scoped and validated way.Task metadata support
Rstest now supports metadata for tests, suites, file results, and custom reporters. You can initialize metadata through
TestOptions.meta, inherit suite metadata in descendant suites/tests, update it at runtime viacontext.task.metaor hookctx.meta, and consume it from reporter hooks.Custom reporters can read the resolved metadata from case, suite, and file results:
What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes
Full Changelog: web-infra-dev/rstest@v0.11.0...v0.11.1
v0.11.0Compare Source
What's Changed
Breaking Changes 🍭
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes
df4cb1cby @renovate[bot] in #1444Configuration
📅 Schedule: (UTC)
* 0-3 1 * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.