github web-infra-dev/rspress v2.0.0-beta.32

latest releases: v2.0.2, v2.0.1, v2.0.0...
pre-release5 months ago

Highlights ✨

⚡️ Support _meta.json and _nav.json HMR

related PR: #2549

After a period of refactoring around virtual modules, Rspress now supports HMR for both *meta.json and *nav.json files.

This means you no longer need to restart the dev server when modifying _meta.json files, which will significantly improve your debugging speed for nav and sidebar configurations.

img_v3_02pq_a42d8229-315d-49b0-a72a-b739a586cb6g

What's Changed

New Features 🎉

  • feat(auto-nav-sidebar): support _meta.json and _nav.json hmr by @SoonIter in #2549
  • feat(twoslash): improve underline styling and adjust popup docs font-size by @chenjiahan in #2554
  • feat: export star from react-router-dom by @zoolsher in #2577
  • feat(plugin-twoslash): Make the popup that is always displayed not flip its display position by @Karibash in #2580

Bug Fixes 🐞

  • fix(plugin-api-docgen): too much apiDocMap clone in pageData cause performance issue in runtime by @SoonIter in #2524
  • fix(plugin-playground): normalizeUrl skip protocol(#2563) (#2565) by @SoonIter in #2584
  • fix: suggestions object key with constructor by @zoolsher in #2586

Document 📖

Other Changes

  • chore(deps): update actions/setup-node action to v5 by @renovate[bot] in #2557
  • chore(deps): update all patch dependencies by @renovate[bot] in #2556
  • chore(deps): update dependency @types/jest to v30 by @renovate[bot] in #2559
  • chore(deps): update dependency cspell to v9 by @renovate[bot] in #2561
  • chore(deps): remove unused @types/jest by @SoonIter in #2562
  • chore(infra): upgrade pnpm configuration to remove hoist by @SoonIter in #2564
  • chore(deps): update dependency cross-env to v10 by @renovate[bot] in #2560
  • test(e2e): fix ci case sensitivity by @SoonIter in #2566
  • chore(persistent-cache): add rspress version to cacheDigest to make it more safe by @SoonIter in #2582
  • chore(infra): use strictPeerDependencies: false by @SoonIter in #2587
  • Release v2.0.0-beta.32 by @SoonIter in #2588

New Contributors

Full Changelog: v2.0.0-beta.31...v2.0.0-beta.32

Don't miss a new rspress release

NewReleases is sending notifications on new releases.