What's Changed
See: Announcing Rsbuild v0.5
Breaking Changes 🍭
- breaking change: remove deprecated
output.disableMinimize
config by @chenjiahan in #1827 - breaking change(svgr): remove deprecated
svgDefaultExport
by @chenjiahan in #1811 - breaking change(svgr): disable mixed import by default by @chenjiahan in #1815
New Features 🎉
- feat(plugin-lightningcss): integrated rsbuild with lightningcss by @SoonIter in #1741
- feat(plugin-svgr): add mixedImport option by @chenjiahan in #1805
- feat(plugin-svgr): add support for mdx by @chenjiahan in #1822
- feat: enable new tree shaking in production by @chenjiahan in #1839
- feat(plugin-check-syntax): support infer es2016 to es2018 by @chenjiahan in #1844
- feat: allow tools.htmlPlugin to be true by @chenjiahan in #1851
- feat: support setting html.tags by entry name by @chenjiahan in #1860
Bug Fixes 🐞
- fix(svgr): named type without mixed import not work by @chenjiahan in #1816
- fix(plugin-type-check): failed to exclude node_modules in monorepo by @chenjiahan in #1828
- fix(plugin-type-check): options type should be non nullable by @chenjiahan in #1830
- fix: improve greet log when using bun by @chenjiahan in #1832
- fix: handle more cases in ES version helper by @chenjiahan in #1840
- fix: set correct rspack target based on browserslist by @chenjiahan in #1841
- fix: allow
html.tags
function to modify append by @chenjiahan in #1868
Document 📖
- docs: add Lightning CSS to intro by @chenjiahan in #1808
- docs: make some demos more type friendly by @chenjiahan in #1819
- docs(plugin-svgr): add mixed import document by @chenjiahan in #1820
- docs: add check syntax link to source.include by @chenjiahan in #1823
- docs: fix yarn1.x create@latest wont work by @GRAMMAC1 in #1831
- docs: correct output.minify examples by @VenDream in #1833
- docs: add Rspack Profiling guide by @9aoy in #1838
- docs: improve SVGR types guide by @chenjiahan in #1849
- docs(plugin-umd): add HTML generation tip by @chenjiahan in #1852
- docs: use Rsdoctor for duplicated packages by @chenjiahan in #1853
- docs: modify MacOS to macOS by @bottlewook in #1863
- docs: modify Toml to TOML by @bottlewook in #1862
- docs: add react-jest example to CRA migration doc by @chenjiahan in #1869
Other Changes
- chore(deps): update all patch dependencies by @renovate in #1758
- chore: remove unused eslint comments by @chenjiahan in #1809
- chore(deps): update dependency sass to v1.72.0 by @renovate in #1824
- chore(deps): bump Modern.js v2.48.1 by @chenjiahan in #1825
- chore(deps): bump Rspress v1.15.0 by @chenjiahan in #1826
- chore: enable noForEach rule of Biome by @chenjiahan in #1834
- chore(deps): bump Rspress v1.15.1 by @chenjiahan in #1835
- chore: add browserslist to es version helper by @chenjiahan in #1837
- test(plugin-lightningcss): add plugin-lightningcss using webpack and fix plugin-stylus test by @SoonIter in #1843
- chore(deps): bump Modern.js v2.48.2 by @chenjiahan in #1842
- test(e2e): add case for ESLint flat config by @chenjiahan in #1845
- chore(plugin-type-check): improve the running log by @chenjiahan in #1846
- chore(deps): update dependency vitest to v1.4.0 by @renovate in #1847
- chore(deps): update dependency nx to v18.1.1 by @renovate in #1848
- chore(deps): update dependency simple-git-hooks to v2.11.0 by @renovate in #1850
- chore(deps): update dependency stylus-loader to v8 by @renovate in #1615
- chore(webpack): remove terser-webpack-plugin by @9aoy in #1854
- chore: remove undocumented tagsByEntries config by @chenjiahan in #1857
- refactor: merge HtmlTagsPlugin into the basic one by @chenjiahan in #1858
- chore(workflow): update packages via renovate by @chenjiahan in #1861
- refactor: simplify html.tags implementation by @chenjiahan in #1865
- chore(deps): update all patch dependencies by @renovate in #1821
- refactor(server): provide createDevServer method instead of getServerAPIs by @9aoy in #1818
New Contributors
- @GRAMMAC1 made their first contribution in #1831
- @VenDream made their first contribution in #1833
- @bottlewook made their first contribution in #1863
Full Changelog: v0.4.15...v0.5.0