Highlights
TypeScript 7.1 support
Rslib now supports TypeScript 7.1 Beta for declaration generation.
You can also use Content Mappers by configuring contentMappers in tsconfig.json.
Install TypeScript 7.1 Beta to try it:
npm install -D typescript@7.1.0-betaWhat's Changed
New Features 🎉
- feat(wasm): support source phase imports for
?inlinewasm modules by @elecmonkey in #1959 - feat(create-rslib): display version in startup banner by @chenjiahan in #1962
- feat(create-rslib): use TypeScript 7 in supported templates and examples by @Timeless0911 in #1966
- feat(deps): update @rsbuild/core to ~2.3.0-beta.0 by @Timeless0911 in #1967
- feat(dts): support TypeScript 7.1 API and content mappers by @Timeless0911 in #1955
Bug Fixes 🐞
- fix(examples): support Preact 11 in peer dependencies by @Timeless0911 in #1954
- fix(create-rslib): add Rspress preview command to AGENTS.md by @Timeless0911 in #1964
- fix(core): respect compression settings in bundleless size totals by @Timeless0911 in #1968
Refactor 🔨
- refactor(create-rslib): move rstest setup files into tests by @Timeless0911 in #1963
Document 📖
- docs: correct configuration page descriptions by @chenjiahan in #1952
- docs: update Rsdoctor guide for v2 by @Timeless0911 in #1961
- docs: update Wasm source phase imports guidance by @Timeless0911 in #1965
Other Changes
- chore(deps): upgrade local rslib to 1.0.3 by @Timeless0911 in #1948
- chore(deps): update dependency preact to v11 by @renovate[bot] in #1951
- chore(deps): update all non-major dependencies by @renovate[bot] in #1950
- chore(deps): update dependency happy-dom to v21 by @renovate[bot] in #1956
- chore(skills): update rstack docs writer by @Timeless0911 in #1957
- chore(deps): upgrade Rspress to 2.1.0-beta.1 by @SoonIter in #1958
- chore(deps): update all non-major dependencies by @renovate[bot] in #1960
Full Changelog: v1.0.3...v1.0.4