What's Changed
Breaking Changes 🍭
- breaking change: loadConfig method return value changed by @chenjiahan in #1490
- breaking change(react): remove default config for antd/arco by @chenjiahan in #1492
- breaking change: remove builtin postcss-flexbugs-fixes by @chenjiahan in #1507
- breaking change: rename disableFilenameHash to filenameHash by @chenjiahan in #1511
New Features 🎉
- feat(plugin-rem): bump postcss-pxtorem v6.1.0 by @chenjiahan in #1483
- types: fix cacheGroups type mismatch by @chenjiahan in #1493
- feat: print tips if resolve Node.js builtin module failed by @chenjiahan in #1500
- feat(core): add onCloseDevServer hook by @10Derozan in #1504
- feat: add new moduleFederation config by @chenjiahan in #1513
- feat: patch split chunks for module federation by @chenjiahan in #1515
Performance 🚀
- perf(plugin-react): reduce deepmerge overhead by @chenjiahan in #1481
- perf: reduce require.resolve for core-js by @chenjiahan in #1482
- perf: remove duplicate autoprefixer plugin by @chenjiahan in #1506
- perf(shared): bump webpack-bundle-analyzer to remove lodash dependency by @chenjiahan in #1509
Bug Fixes 🐞
- fix: should not depend on uni builder plugin names by @chenjiahan in #1475
- fix: resolve error when fullySpecified rule after js rule by @9aoy in #1487
- fix: remove unused CHAIN_ID by @chenjiahan in #1496
- fix(vue3-ts): rollback vue3-ts template env.d.ts config which will curse error on windows by @southorange0929 in #1495
- fix: less default resolve directory by @chenjiahan in #1517
Document 📖
- docs: improve include monorepo pkgs example by @chenjiahan in #1477
- docs: fix config options order by @chenjiahan in #1478
- docs: add Node.js profiling guide by @chenjiahan in #1503
- docs: add tips for filename hashing by @chenjiahan in #1512
- docs: add document for moduleFederation.options by @chenjiahan in #1516
- docs: complete the title of config by @chenjiahan in #1524
- docs: add announcing Rsbuild v0.4 by @chenjiahan in #1520
Other Changes
- chore(deps): update pnpm to v8.15.1 by @renovate in #1469
- chore(workflow): avoid generating empty changelog by @chenjiahan in #1479
- chore(babel-preset): remove shared dependency by @chenjiahan in #1480
- chore: move plugin manager module to core by @chenjiahan in #1484
- chore(deps): update github/issue-labeler action to v3.4 by @renovate in #1485
- test(workflow): using new M1 macOS runner by @chenjiahan in #1486
- chore: set fullySpecified when defining rule by @chenjiahan in #1488
- chore: move babel plugin name constant by @chenjiahan in #1489
- chore: always show warnings in formatStats by @chenjiahan in #1499
- chore(deps): update dependency mini-css-extract-plugin to v2.8.0 by @renovate in #1501
- chore(deps): update playwright monorepo to v1.41.2 by @renovate in #1502
- chore: flatten directory of provider by @chenjiahan in #1518
- chore(deps): update types by @renovate in #1523
- Release v0.4.0 by @chenjiahan in #1527
Full Changelog: v0.3.11...v0.4.0