What's Changed
New Features 🎉
- feat(source-map): add
extractoption by @zalishchuk in #7340 - feat: export
createLoggerto create isolated logger instances by @chenjiahan in #7353 - feat: add support for custom logger by @chenjiahan in #7357
- feat: use instance-level logger by @chenjiahan in #7360
- feat(core): add rsbuild.logger by @chenjiahan in #7365
- feat(create-rsbuild): update typescript to v6 by @chenjiahan in #7374
Bug Fixes 🐞
- fix: remove redundant main fields from package.json files by @chenjiahan in #7338
- fix: use dynamic padding for URL labels instead of fixed width by @Huxpro in #7342
- fix: should filter license from prefetch candidates by @chenjiahan in #7348
- fix(core): use instance logger for restart output by @chenjiahan in #7362
- fix(core): isolate logger per rsbuild instance by @chenjiahan in #7369
- fix(core): inherit default logger options for isolated instances by @chenjiahan in #7370
- fix(core): respect custom console in debug override by @chenjiahan in #7373
Refactor 🔨
- refactor(types): handle output fs type correctly by @chenjiahan in #7349
- refactor: remove webpack fallback in file size plugin by @chenjiahan in #7350
- refactor: remove ts comments and fix type issues by @chenjiahan in #7351
- refactor(core): rename global logger to defaultLogger by @chenjiahan in #7364
- refactor(core): infer init logger from rsbuild instance by @chenjiahan in #7366
Document 📖
- docs: add extract option to zh doc by @chenjiahan in #7345
- docs(source-map): improve extraction option by @chenjiahan in #7346
- docs: add tip for resolving module typeless warning by @chenjiahan in #7356
- docs: add customLogger config docs by @chenjiahan in #7367
- docs: add logging guide by @chenjiahan in #7371
- docs: clarify logger migration in v2 upgrade guide by @chenjiahan in #7372
Other Changes
- chore(deps): update dependency core-js to ^3.49.0 by @renovate[bot] in #7337
- chore: bump rslint to 0.3.1 & migrate rslint.json to rslint.config.ts by @fansenze in #7341
- chore(deps): move @typescript/native-preview to root by @chenjiahan in #7344
- chore(deps): update dependency path-serializer to v0.6.0 by @renovate[bot] in #7339
- chore: enable no-require-imports rule by @chenjiahan in #7347
- chore: remove unused rspress-plugin-sitemap dependency by @chenjiahan in #7352
- chore(deps): update dependency svelte to ^5.54.0 by @renovate[bot] in #7355
- chore(deps): update actions-cool/issues-helper action to v3.8.0 by @renovate[bot] in #7354
- chore(deps): update dependency memfs to ^4.57.1 by @renovate[bot] in #7358
- chore(deps): update all patch dependencies by @renovate[bot] in #7361
- chore(deps): update dependency ws to ^8.20.0 by @renovate[bot] in #7359
- chore: add pull request creator skill by @chenjiahan in #7363
- chore: update @rslint/core to 0.3.2 by @chenjiahan in #7375
- chore(skills): update pr-creator instructions by @chenjiahan in #7377
- chore(lint): resolve no-unused-vars violations by @chenjiahan in #7378
- test(e2e): add custom logger serve coverage by @chenjiahan in #7379
- chore(deps): upgrade rspack to 2.0.0-beta.8 by @chenjiahan in #7380
- chore(skills): add release-core skill by @chenjiahan in #7381
- release: v2.0.0-beta.10 by @chenjiahan in #7382
New Contributors
Full Changelog: v2.0.0-beta.9...v2.0.0-beta.10