Skip to content

v2.0.0-beta.30

Pre-release
Pre-release
Compare
Choose a tag to compare
@SoonIter SoonIter released this 02 Sep 09:10
· 80 commits to main since this release
b734715

Highlights ✨

πŸ†•οΈ @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

Frame 1912054720

⚑️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 πŸŽ‰

Bug Fixes 🐞

  • fix(core): allow user can deploy to both http://a.com/base/ and http://a.com/base by @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

New Contributors

Full Changelog: v2.0.0-beta.29...v2.0.0-beta.30