What's Changed
New Features 🎉
- feat(deps): update dependency @rspack/core to v1.5.4 by @chenjiahan in #6153
- feat: expose environment compile hooks in Rsbuild instance by @chenjiahan in #6125
- feat: add support for
resolve.conditionNames
configuration by @chenjiahan in #6147 - feat: re-enable enum inlining optimization in production by @chenjiahan in #6154
- feat(types): export
BuildResult
type by @chenjiahan in #6124
Bug Fixes 🐞
- fix(core): ensure inlined assets are deleted if devtool disabled by @chenjiahan in #6126
- fix(server): prevent multiple close calls from causing error by @chenjiahan in #6132
Document 📖
- docs: add documentation for environment context parameter by @chenjiahan in #6116
- docs: update output.cleanDistPath with proper code title by @Copilot in #6109
- docs: reorganize deployment platforms documentation by @chenjiahan in #6122
- docs: fix typo in imports by @vegerot in #6128
- docs: improve documentation language authenticity and clarity by @Copilot in #6136
- docs: improve authenticity in documentation by @Copilot in #6145
- docs: clarify asset prefix behavior and add examples by @chenjiahan in #6151
Other Changes
- test(e2e): improve the directory structure of e2e cases by @chenjiahan in #6118
- test(e2e): add test case for utf-8 charset in dev mode by @chenjiahan in #6119
- test: update test descriptions to be more descriptive and consistent by @chenjiahan in #6121
- test(e2e): add new test case for handling emoji filenames by @chenjiahan in #6123
- test(e2e): read output files from memory by @chenjiahan in #6129
- chore(deps): update dependency memfs to ^4.39.0 by @renovate[bot] in #6130
- test(e2e): simplify test setup with fixture helpers by @chenjiahan in #6131
- test(e2e): simplify test setup by using built-in fixtures by @chenjiahan in #6133
- test(e2e): simplify test setup by using built-in fixtures by @chenjiahan in #6134
- test(e2e): simplify test setup by using built-in fixtures by @chenjiahan in #6135
- test: remove unused variables and imports in test files by @chenjiahan in #6137
- chore(deps): update module federation to v0.19.1 by @renovate[bot] in #6139
- chore(deps): update pnpm to v10.16.0 by @renovate[bot] in #6140
- chore(deps): update dependency react-router-dom to ^7.9.1 by @renovate[bot] in #6138
- test(e2e): enable type checking for test files by @chenjiahan in #6141
- test(e2e): simplify test setup by removing imports by @chenjiahan in #6142
- test: improve test helpers naming by @chenjiahan in #6143
- test: add editFile helper for test file modifications by @chenjiahan in #6146
- chore(deps): update all patch dependencies by @renovate[bot] in #6148
- test(config-loader): simplify test by removing node version check by @chenjiahan in #6152
- release: v1.5.7 by @chenjiahan in #6155
New Contributors
Full Changelog: v1.5.6...v1.5.7