github web-infra-dev/rspress v2.0.0-alpha.8

latest release: v1.43.10
pre-release2 days ago

What's Changed

Breaking Changes 🚨

Make SSG strict by default, remove ssg.strict and add ssg.fallback

related PR: #2015

#1105 (comment)

Rspress will not fallback to csr, if ssg failed, the process exit and the user need to investigate why it failed

if you want to go back to the old behavior, please set below

// rspress.config.ts
export default {
  ssg: {
    fallback: 'csr',
  },
};

Remove @rspress/modern-js-plugin

related PR: #2020

we maintain this plugin in the 1.x branch.

New Features 🎉

  • feat(config)!: force successful SSG generation, remove ssg.strict and add ssg.fallback by @SoonIter in #2015

Bug Fixes 🐞

  • fix(cli): polish theme namedExport breaking change hint by @SoonIter in #2012
  • fix(plugin-playground): disable monaco editor ts check for supporting tsx by @LonelySnowman in #2028

Other Changes

  • chore(theme/a11y): a11y for lighthouse score by @markH5 in #1975
  • chore(deps): update rsbuild by @renovate in #2016
  • chore(deps): update all patch dependencies by @renovate in #2021
  • chore(deps): update dependency @babel/types to ^7.27.0 by @renovate in #2022
  • chore(deps): update dependency @rslib/core to v0.6.0 by @renovate in #2023
  • chore(deps): update dependency @rstack-dev/doc-ui to v1.7.3 by @renovate in #2024
  • chore(deps): update dependency algoliasearch to ^5.23.0 by @renovate in #2025
  • chore(deps): update dependency create-rstack to v1.3.1 by @renovate in #2026
  • chore!: remove @rspress/modern-js-plugin by @SoonIter in #2020
  • refactor: change setup into useSetup hook for reactive scrollPaddingTop by @JounQin in #2027
  • Release v2.0.0-alpha.8 by @SoonIter in #2029

New Contributors

Full Changelog: v2.0.0-alpha.7...v2.0.0-alpha.8

Don't miss a new rspress release

NewReleases is sending notifications on new releases.