What's Changed
Highlights ✨
Comparing with 0.1.0, we have fixed many bugs and added numerous features for common scenarios, including but not limited to:
- Enhanced support for resolving external modules, improving the redirect of paths for bundleless mode. See lib.redirect. (#535)
- Introduced support for loading .env files. See Environment Variables. (#518)
- Optimized code compression to retain only essential comments, resulting in smaller output sizes. (#522)
- Added support for watching
rslib.config
to trigger rebuilds. (#489) - Improved documentation and completed the translation of the Chinese documentation. See https://lib.rsbuild.dev/zh/index.
Breaking changes 🚨
rslib mf dev
has been changed torslib mf-dev
command in #590, checkout the documentation ofmf-dev
for more details.
New Features 🎉
- feat(css): support css asset in bundleless mode and esm/cjs by @SoonIter in #582
- feat!: support
--lib
param ofmf-dev
command by @Timeless0911 in #590
Bug Fixes 🐞
- fix: pass server config to Rsbuild by @Timeless0911 in #584
Document 📖
- docs: modify release steps by @Timeless0911 in #598
Other Changes
- chore(deps): update all patch dependencies by @renovate in #577
- chore(deps): update dependency @rsbuild/plugin-react to ^1.1.0 by @renovate in #578
- chore(CI): remove issue_comment trigger by @chenjiahan in #585
- test(example): remove
index
, mainFiles can be not specified by @SoonIter in #587 - chore(deps): update all patch dependencies by @renovate in #588
- chore(deps): update dependency nx to ^20.3.0 by @renovate in #589
- chore(CI): use new release workflow by @chenjiahan in #592
- chore(CI): specify minimal permissions for issue-labeler by @chenjiahan in #593
- test: add alias replace externals tests in bundleless mode by @Timeless0911 in #581
- chore(CI): correct permissions for issue labeler by @chenjiahan in #596
- test: stabilize mf-dev tests by @Timeless0911 in #597
- chore(CI): fix missing permission for provenance by @chenjiahan in #599
- Release v0.2.0 by @Timeless0911 in #600
Full Changelog: v0.1.5...v0.2.0