What's Changed
New Features 🎉
- feat(deps): update dependency @rspack/core to v1.5.1 by @chenjiahan in #5971
- feat(plugin-react): improve transpilation scope of ReactRefreshPlugin by @chenjiahan in #5969
- feat: support for destructuring
import.meta.env
by @chenjiahan in #5979
Bug Fixes 🐞
- fix: rerun onBeforeDevCompile hook correctly with multiple environments by @9aoy in #5980
- fix: failed to escape undefined template params by @chenjiahan in #5987
Refactor 🔨
- refactor(types): use
LoaderDefinition
to declare loader types by @chenjiahan in #5975
Document 📖
- docs: improve authenticity and natural expression by @Copilot in #5964
- docs: improve documentation authenticity and readability by @Copilot in #5972
- docs: improve authenticity in documentation files by @Copilot in #5984
- docs: improve English authenticity in documentation by @Copilot in #5988
- docs: add example for
cssModules.auto
configuration by @chenjiahan in #5989 - docs: fix JavaScript syntax errors in static-assets.mdx by @Copilot in #5992
Other Changes
- chore(deps): update sass related packages by @renovate[bot] in #5965
- test(e2e): do not rely on building URL to verify lazy compilation by @JSerFeng in #5966
- chore(plugin-react): update @rspack/plugin-react-refresh to ^1.5.0 by @chenjiahan in #5968
- release: @rsbuild/plugin-react v1.4.0 by @chenjiahan in #5970
- Revert "fix: temporarily disable inline enum optimization (#5960)" by @chenjiahan in #5974
- test(e2e): add new cases to verify enum with property access by @chenjiahan in #5976
- chore(deps): update dependency @types/node to ^22.18.0 by @renovate[bot] in #5978
- chore(deps): update dependency @rsbuild/plugin-react to ^1.4.0 by @renovate[bot] in #5977
- chore(deps): update dependency @shikijs/transformers to ^3.12.0 by @renovate[bot] in #5991
- chore: remove duplicated dependencies via pnpm dedupe by @Copilot in #5990
- docs: fix various documentation errors including grammar, consistency and terminology by @Copilot in #5993
- docs: fix various documentation errors across website/docs directory by @Copilot in #5994
- release: v1.5.2 by @chenjiahan in #5995
Full Changelog: v1.5.1...v1.5.2