Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v0.4.0
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
v0.3.11
What's Changed
New Features 🎉
- feat: add new decorators.version config by @chenjiahan in #1462
- feat: support declare plugin hooks order by @chenjiahan in #1472
- feat: support decorator syntax when use babel plugin by @9aoy in #1471
Bug Fixes 🐞
- fix: bump Rslog v1.2.1 to format Rspack error stack by @chenjiahan in #1464
- fix: attach SWC rule to the pre stage by @chenjiahan in #1474
Document 📖
- docs: add document for decorators config by @chenjiahan in #1463
- docs: add security.nonce config by @9aoy in #1473
Other Changes
- chore(deps): update dependency browserslist to v4.22.3 by @renovate in #1465
- chore(deps): update dependency dotenv to v16.4.1 by @renovate in #1466
- chore(deps): update dependency css-loader to v6.10.0 by @renovate in #1467
- chore(deps): update dependency solid-refresh to ^0.7.0 by @renovate in #1468
Full Changelog: v0.3.10...v0.3.11
v0.3.10
What's Changed
New Features 🎉
- feat: allow assetPrefix to be 'auto' by @chenjiahan in #1447
- feat: allow chunkSplit.strategy to be optional by @chenjiahan in #1452
- feat(deps): bump Rspack v0.5.3 by @chenjiahan in #1459
Bug Fixes 🐞
- fix: treat publicPath auto as empty string by @chenjiahan in #1445
- fix: downgrade Rspack v0.5.0 to fix module federation by @chenjiahan in #1449
- fix: format assetPrefix for define and template by @chenjiahan in #1451
Document 📖
- docs: add guide for examples and e2e by @chenjiahan in #1456
- docs(typo): some untranslated content by @SoonIter in #1458
Other Changes
- chore(example): add basic module federation example by @chenjiahan in #1444
- chore(examples): fix react dom warnings by @chenjiahan in #1446
- test(e2e): add case for assetPrefix auto by @chenjiahan in #1450
- test(e2e): add case for module federation by @chenjiahan in #1454
- test(e2e): align close server API by @chenjiahan in #1455
- test(e2e): simplify playwright config by @chenjiahan in #1457
New Contributors
Full Changelog: v0.3.9...v0.3.10
v0.3.9
What's Changed
New Features 🎉
- feat: do not clean dist path if it is outside root by @chenjiahan in #1433
- feat: support automatically enable Rsdoctor by @chenjiahan in #1441
Performance 🚀
- perf: set default WATCHPACK_WATCHER_LIMIT to 20 by @chenjiahan in #1442
Document 📖
- docs: fix missing nav icon CSS by @chenjiahan in #1431
- docs: improve config function params by @chenjiahan in #1432
- docs: improve plugin hooks document by @chenjiahan in #1437
- docs: add guide for plugin hooks execution order by @chenjiahan in #1438
Other Changes
- chore(deps): bump Rspress version by @chenjiahan in #1435
- chore(deps): bump Rspress to v1.11.1 by @chenjiahan in #1436
- test(e2e): add test cases for inspect-config when dev/build by @9aoy in #1439
Full Changelog: v0.3.8...v0.3.9
v0.3.8
What's Changed
New Features 🎉
- feat(deps): bump rspack 0.5.2 by @9aoy in #1413
- feature(server): print more server logs in debug mode by @9aoy in #1408
- feat: add new isDev param by @chenjiahan in #1418
- feat(plugin-node-polyfill): add new globals option by @chenjiahan in #1419
- feat: support mode parameter in defineConfig by @Jungzl in #1427
Performance 🚀
- perf: lazy load html-webpack-plugin by @chenjiahan in #1412
- perf: reduce color calls of debug by @chenjiahan in #1417
Document 📖
- docs: add releases page by @chenjiahan in #1414
- docs: add all release notes by @chenjiahan in #1415
- docs: add Rsdoctor to ecosystem by @chenjiahan in #1421
- docs: add tailwindcss performance tip by @chenjiahan in #1423
- docs: missing zh period by @9aoy in #1424
- docs: improve configuration structure by @chenjiahan in #1426
- docs: integrate rsfamily-nav-icon by @chenjiahan in #1428
- docs: bump rsfamily-nav-icon v1.0.1 by @chenjiahan in #1429
Other Changes
- chore(deps): bump prettier v3.2, vitest v1.2 by @chenjiahan in #1422
Full Changelog: v0.3.7...v0.3.8
v0.3.7
What's Changed
New Features 🎉
- feat: support more image and media formats by @chenjiahan in #1409
- feat(node-polyfill): upgrade polyfill packages to latest version by @chenjiahan in #1406
- types: mergeRsbuildConfig no longer needs generics by @chenjiahan in #1394
Performance 🚀
- perf: improve mergeRsbuildConfig performance by @chenjiahan in #1407
Bug Fixes 🐞
- fix: merge dev.startUrl with overrides strategy by @chenjiahan in #1393
- fix: prevent using 'local' as the env mode by @chenjiahan in #1395
- fix(plugin-source-build): skip references for JS project by @chenjiahan in #1404
Other Changes
- chore(workflow): enable biome useNodejsImportProtocol rule by @chenjiahan in #1396
- chore(node-polyfill): inline node-libs-browser by @chenjiahan in #1399
- chore(deps): update babel by @renovate in #1403
- chore(deps): update dependency @biomejs/biome to v1.5.3 by @renovate in #1398
- chore(shared): remove setConfig helper by @chenjiahan in #1405
- chore: align asset constants type in preload plugin by @chenjiahan in #1410
- chore(deps): update pnpm to v8.14.2 by @renovate in #1392
Full Changelog: v0.3.6...v0.3.7
v0.3.6
What's Changed
New Features 🎉
- feat(server): support launch editor by @chenjiahan in #1381
- feat: add JSDoc for all plugins options by @chenjiahan in #1379
- feat: validate config exports to improve error message by @chenjiahan in #1390
Performance 🚀
- perf: reuse some precompiled dependencies by @chenjiahan in #1382
Bug Fixes 🐞
- fix: improve regex for package name matching by @keqingrong in #1380
- types: allow less.additionalData to be async function by @chenjiahan in #1377
Document 📖
- docs(plugin-stylus): fix sourceMap default value by @chenjiahan in #1378
- docs: add env vars replacement scope by @chenjiahan in #1387
Other Changes
- chore(deps): update dependency vite-tsconfig-paths to v4.3.1 by @renovate in #1355
- chore(deps): update dependency css-loader to v6.9.1 by @renovate in #1365
- chore(deps): update playwright monorepo to v1.41.1 by @renovate in #1362
- chore(deps): update github/issue-labeler action to v3.3 by @renovate in #1361
- chore(deps): update dependency dotenv to v16.3.2 by @renovate in #1374
- chore(deps): update babel by @renovate in #1383
- chore: add example for node target by @chenjiahan in #1385
- chore(workflow): renovate ignore webpack-bundler-analyzer by @chenjiahan in #1386
- test: simplify directory structure and remove path alias by @chenjiahan in #1388
New Contributors
- @keqingrong made their first contribution in #1380
Full Changelog: v0.3.5...v0.3.6
v0.3.5
What's Changed
New Features 🎉
- feat(CLI): support --env-mode option by @chenjiahan in #1371
- feat: improve publicDir copy error log by @9aoy in #1366
- feat: support specify env mode via loadEnv by @chenjiahan in #1370
- feat: support debug groups by @chenjiahan in #1372
Performance 🚀
- perf(create-rsbuild): bundle dependencies for speed up by @chenjiahan in #1367
Other Changes
- chore(deps): update dependency htmlparser2 to v9.1.0 by @renovate in #1345
- chore(deps): update dependency postcss-modules-scope to v3.1.1 by @renovate in #1346
- chore(deps): bump Modern.js version to 2.46.1 by @chenjiahan in #1368
- chore(deps): bump Rspress version to 1.10.1 by @chenjiahan in #1369
- chore(deps): update dependency autoprefixer to v10.4.17 by @renovate in #1336
- chore(deps): update dependency terser to v5.27.0 by @renovate in #1354
- chore(deps): update dependency terser-webpack-plugin to v5.3.10 by @renovate in #1338
Full Changelog: v0.3.4...v0.3.5
v0.3.4
What's Changed
New Features 🎉
- feat: add source.tsconfigPath config by @chenjiahan in #1293
- feat: support load browserslist config with env section by @chenjiahan in #1303
- feat: improve time info in debug logs by @chenjiahan in #1333
- feat: add routes param to server.printUrls by @chenjiahan in #1347
Bug Fixes 🐞
- fix(server): print server url should between listen and beforeCompile by @9aoy in #1289
- fix: double slash in formatted routes by @chenjiahan in #1322
- fix: infinitely reload when disabling HMR by @chenjiahan in #1350
- fix: incorrect peer dependency range by @chenjiahan in #1359
Document 📖
- docs: add document for source.tsconfigPath config by @chenjiahan in #1294
- docs: add react plugin introduce in the builder migration guide by @9aoy in #1295
- docs: add guide for Vue SFC type checking by @chenjiahan in #1296
- docs(builder-migration): add default value differences by @9aoy in #1297
- docs: prettier exceptions faq by @9aoy in #1299
- docs: add guide for browserslist env section by @chenjiahan in #1304
- docs(plugin-type-check): fix broken en page by @xc2 in #1310
- docs: fix translator removed tabs by @chenjiahan in #1312
- docs: amend e2e command description by @fi3ework in #1305
- docs: add routes param to server hooks document by @chenjiahan in #1353
Other Changes
- chore(workflow): fix trigger modern update failed when releasing by @9aoy in #1292
- test(e2e): add gotoPage helper to simplify code by @chenjiahan in #1298
- test(e2e): fix helper typing issue by @chenjiahan in #1300
- chore: use helper to get and set NODE_ENV by @chenjiahan in #1302
- test: use test suite dirname as cwd by @fi3ework in #1307
- build: remove require shims by @fi3ework in #1306
- chore: Configure Renovate by @renovate in #1313
- chore(workflow): allow pnpmfile in renovate config by @chenjiahan in #1317
- chore: use packageExtensions to replace pnpmfile by @chenjiahan in #1318
- chore(deps): update dependency @swc/core to v1.3.103 by @renovate in #1319
- chore(deps): update babel by @renovate in #1314
- chore(deps): update dependency browserslist to v4.22.2 by @renovate in #1320
- chore(deps): update dependency @biomejs/biome to v1.5.2 by @renovate in #1315
- test(ut): clean up swc skipped cases by @chenjiahan in #1321
- chore(deps): update dependency fork-ts-checker-webpack-plugin to v9.0.2 by @renovate in #1326
- chore(workflow): configure manually updated packages by @chenjiahan in #1327
- chore(deps): update dependency http-compression to v1.0.17 by @renovate in #1328
- chore(deps): update dependency mini-css-extract-plugin to v2.7.7 by @renovate in #1329
- chore: replace some require calls by @chenjiahan in #1330
- chore(deps): update dependency postcss-loader to v7.3.4 by @renovate in #1331
- chore(deps): update dependency sass to v1.69.7 by @renovate in #1332
- chore(deps): update dependency style-loader to v3.3.4 by @renovate in #1334
- chore(deps): update dependency stylus-loader to v7.1.3 by @renovate in #1335
- chore(deps): update pnpm to v8.14.1 by @renovate in #1339
- chore(deps): bump Modern.js to v2.46.0 by @chenjiahan in #1342
- chore(deps): bump Rspress version by @chenjiahan in #1348
- chore: fix type issues in server test, update renovate config by @chenjiahan in #1349
- chore(deps): update dependency sass to v1.70.0 by @renovate in #1351
- chore(deps): update dependency stylus to v0.62.0 by @renovate in #1352
- chore(deps): update types by @renovate in #1341
- chore: update prebundle dependencies by @chenjiahan in #1357
- chore(deps): update dependency postcss-modules-local-by-default to v4.0.4 by @renovate in #1337
- chore(deps): update dependency @changesets/read to ^0.6.0 by @renovate in #1343
- chore(deps): update dependency css-loader to v6.9.0 by @renovate in #1344
- refactor: optimize readability and robustness of pluginDagSort by @chenjiahan in #1360
New Contributors
Full Changelog: v0.3.3...v0.3.4
v0.3.3
What's Changed
Performance 🚀
- perf(source-build): improve glob performance by @chenjiahan in #1274
- perf(source-build): remove p-map dependency by @chenjiahan in #1275
- perf(source-build): reuse shared dependencies by @chenjiahan in #1278
Bug Fixes 🐞
- fix: should ignore node addons when targeting service worker by @chenjiahan in #1282
Document 📖
- docs: optimize markdown title level by @chenjiahan in #1283
- docs: add path types example for publicDir config by @chenjiahan in #1285
- docs: move fast refresh guide to react document by @chenjiahan in #1290
Other Changes
- chore: remove cli exports from core by @chenjiahan in #1272
- chore(deps): bump commander from v10 to v11 by @chenjiahan in #1273
- chore(workflow): fix release workflow action by @9aoy in #1276
- chore: use nolyfill to speed up installation by @chenjiahan in #1280
- chore(workflow): auto close inactive need reproduce issue by @chenjiahan in #1287
- chore(deps): bump postcss from 8.4.31 to ^8.4.33 by @chenjiahan in #1288
- test(e2e): use polka instead of express by @chenjiahan in #1279
Full Changelog: v0.3.2...v0.3.3