What's Changed
New Features 🎉
- feat: expose
httpServer
in RsbuildDevServer by @chenjiahan in #4570 - feat: allow
onBeforeStartDevServer
hook to return post callback by @chenjiahan in #4573 - feat: add npm link to plugin hints by @chenjiahan in #4583
Bug Fixes 🐞
- fix: prevent some hook return values from affecting other hooks by @chenjiahan in #4569
- fix: type infer for plugin hooks by @chenjiahan in #4571
- fix: should handle proxy error correctly by @9aoy in #4577
- fix(core): respect
server.port
when replacing<port>
by @colinaaa in #4578
Document 📖
- docs: extract dev server API to separate page by @chenjiahan in #4566
- docs: improve server middlewares documentation by @chenjiahan in #4567
- docs: add example for accessing dev server in plugin hooks by @chenjiahan in #4568
- docs: update CRA migration guide by @chenjiahan in #4572
- docs: register middlewares in onBeforeStartDevServer by @chenjiahan in #4576
- docs: update README files for plugin packages by @chenjiahan in #4590
Other Changes
- chore(deps): update sass to ^1.85.0 by @renovate in #4565
- chore(deps): update dependency @rsbuild/plugin-check-syntax to ^1.3.0 by @renovate in #4564
- chore(deps): update all patch dependencies by @renovate in #4574
- chore(deps): update dependency preact to ^10.26.0 by @renovate in #4575
- test(e2e): avoid opening Rsdoctor pages by @chenjiahan in #4558
- test(e2e): migrate all cases to ESM by @chenjiahan in #4579
- test(e2e): enable Rsdoctor cases on Windows by @chenjiahan in #4582
- test: correct react version for MF cases by @chenjiahan in #4585
Full Changelog: v1.2.8...v1.2.9