v2.0.0-beta.30
Pre-releaseHighlights β¨
ποΈ @rspress/plugin-twoslash
related PR: #2527
Thanks to Shiki's excellent Twoslash integration, we're excited to introduce @rspress/plugin-twoslash in this milestone 2.0.0-beta.30 release! Now you can easily add rich type annotations to your code blocks using "```ts twoslash"
Special thanks to Rspress contributor @Karibash for making this possible. Check out the @rspress/plugin-twoslash documentation to get started!
ref: https://v2.rspress.rs/plugin/official-plugins/twoslash
β‘οΈEnable Rspack native watcher by default and bump [email protected]
related PR: #2472
Previously, Rspack relied on the watchpack file system watcher to track file changes. However, we identified performance bottlenecks with watchpack. For example, each file change triggers the creation of a new instance, consuming significant CPU and memory in large projects (see #7490).
Now Rspress has been upgraded to Rspack 1.5.2 and enable native watcher by default, it will have better HMR perf and lazy compilation perf.
ref: https://rspack.rs/blog/announcing-1-5#faster-file-system-watcher
What's Changed
New Features π
- feat: Add a twoslash plugin by @Karibash in #2527
- feat: enable rspack native watcher by default by @GiveMe-A-Name in #2472
Bug Fixes π
- fix(core): allow user can deploy to both
http://a.com/base/andhttp://a.com/baseby @SoonIter in #2536 - fix(native-watcher): Infinite watch removed i18n.json by @SoonIter in #2540
- fix(plugin-twoslash): Prevent the contents of the popup from being copied when copying code by @Karibash in #2538
Other Changes
- chore(deps): update all patch dependencies by @renovate[bot] in #2530
- chore(deps): update rsbuild by @renovate[bot] in #2531
- chore(deps): update actions/checkout action to v5 by @renovate[bot] in #2535
- chore(deps): update shiki monorepo to ^3.12.0 by @renovate[bot] in #2534
- chore(plugin-llms): add animation to LlmsViewOptions by @SoonIter in #2532
- chore(deps): upgrade @rsbuild/core to 1.5.3 by @SoonIter in #2539
- chore(plugin-twoslash): add hover style back by @SoonIter in #2541
- Release v2.0.0-beta.30 by @SoonIter in #2537
New Contributors
- @GiveMe-A-Name made their first contribution in #2472
Full Changelog: v2.0.0-beta.29...v2.0.0-beta.30