Skip to content

Releases: web-infra-dev/rsbuild

v1.5.13

29 Sep 09:01
bc42a00

Choose a tag to compare

Highlights πŸ’‘

Browser logs

Rsbuild now forwards browser errors to your terminal β€” giving your coding agent more context πŸ€–.

image

This can be disabled via dev.browserLogs config:

export default {
  dev: {
    browserLogs: false,
  },
}

What's Changed

New Features πŸŽ‰

Performance πŸš€

Bug Fixes 🐞

Refactor πŸ”¨

  • refactor: extract server assets middleware by @chenjiahan in #6257
  • refactor(assets-middleware): simplify paths handling and server hooks by @chenjiahan in #6258
  • refactor(server): make filename helper independent of assets middleware context by @chenjiahan in #6259
  • refactor: simplify variable naming in HMR client by @chenjiahan in #6266
  • refactor(assets-middleware): simplify context management by @chenjiahan in #6269

Document πŸ“–

  • docs(plugin-react): add 'preserve' option to JSX runtime by @chenjiahan in #6244
  • docs: update type checking guide with tsc/vue-tsc by @chenjiahan in #6279
  • docs: add web workers browser compatibility tips by @9aoy in #6282

Other Changes

Full Changelog: v1.5.12...v1.5.13

v1.5.12

24 Sep 07:53
28d4580

Choose a tag to compare

What's Changed

New Features πŸŽ‰

Performance πŸš€

Bug Fixes 🐞

Document πŸ“–

Other Changes

New Contributors

Full Changelog: v1.5.11...v1.5.12

v1.5.11

22 Sep 14:43
c4a39f5

Choose a tag to compare

What's Changed

New Features πŸŽ‰

Bug Fixes 🐞

Document πŸ“–

Other Changes

Full Changelog: v1.5.10...v1.5.11

v1.5.10

19 Sep 08:23
f2c0564

Choose a tag to compare

What's Changed

New Features πŸŽ‰

Bug Fixes 🐞

  • fix(types): update ImportMetaEnv interface to use Record by @chenjiahan in #6182
  • fix: detect JavaScript runtime when enable --config-loader auto by @Timeless0911 in #6189
  • fix(inlineChunk): correct replaced source mapping URL by @chenjiahan in #6191
  • fix: correct initial chunks order in generated manifest by @chenjiahan in #6192

Document πŸ“–

  • docs: improve documentation clarity and naturalness by @Copilot in #6177
  • docs: add documentation for resolve.mainFields by @chenjiahan in #6183
  • docs: clarify hash settings in cssModules docs by @chenjiahan in #6197

Other Changes

Full Changelog: v1.5.9...v1.5.10

v1.5.9

18 Sep 02:51
92fadbb

Choose a tag to compare

What's Changed

New Features πŸŽ‰

  • feat: add support for resolve.mainFields configuration by @chenjiahan in #6178

Bug Fixes 🐞

Refactor πŸ”¨

Other Changes

Full Changelog: v1.5.8...v1.5.9

v1.5.8

17 Sep 08:17
ebf9395

Choose a tag to compare

What's Changed

New Features πŸŽ‰

Bug Fixes 🐞

  • fix(dev-middleware): remove unused cacheStore in memorize util by @chenjiahan in #6159
  • fix(types): correct ProxyConfig type definition by @chenjiahan in #6166

Refactor πŸ”¨

  • refactor(dev-middleware): simplify output filesystem setup by @chenjiahan in #6160
  • refactor(dev-middleware): simplify compiler handling by @chenjiahan in #6161
  • refactor(dev-middleware): remove unused instance methods by @chenjiahan in #6164

Document πŸ“–

  • docs: add resolve.conditionNames configuration by @chenjiahan in #6156
  • docs: improve documentation clarity and authenticity by @Copilot in #6157
  • docs(e2e): add debugging instructions by @chenjiahan in #6165

Other Changes

Full Changelog: v1.5.7...v1.5.8

v1.5.7

16 Sep 02:48
5262e20

Choose a tag to compare

What's Changed

New Features πŸŽ‰

Bug Fixes 🐞

  • fix(core): ensure inlined assets are deleted if devtool disabled by @chenjiahan in #6126
  • fix(server): prevent multiple close calls from causing error by @chenjiahan in #6132

Document πŸ“–

  • docs: add documentation for environment context parameter by @chenjiahan in #6116
  • docs: update output.cleanDistPath with proper code title by @Copilot in #6109
  • docs: reorganize deployment platforms documentation by @chenjiahan in #6122
  • docs: fix typo in imports by @vegerot in #6128
  • docs: improve documentation language authenticity and clarity by @Copilot in #6136
  • docs: improve authenticity in documentation by @Copilot in #6145
  • docs: clarify asset prefix behavior and add examples by @chenjiahan in #6151

Other Changes

New Contributors

Full Changelog: v1.5.6...v1.5.7

v1.5.6

10 Sep 05:39
be2b049

Choose a tag to compare

What's Changed

Bug Fixes 🐞

Document πŸ“–

  • docs: add CN documentation for Zephyr Cloud deployment by @chenjiahan in #6113

Other Changes

Full Changelog: v1.5.5...v1.5.6

v1.5.5

10 Sep 03:32
9d122af

Choose a tag to compare

What's Changed

New Features πŸŽ‰

  • feat(app-icon): add support for purpose field in web app manifest by @chenjiahan in #6096

Performance πŸš€

Bug Fixes 🐞

  • fix(server): correct URL message spacing for multiple routes by @chenjiahan in #6068
  • fix(server): prints correct urls when configuring web and node environments by @chenjiahan in #6073

Refactor πŸ”¨

  • refactor: merge rsbuild-dev-middleware to the core pacakge by @chenjiahan in #6092
  • refactor(dev-middleware): clean up code by removing redundant type casts by @chenjiahan in #6099
  • refactor(dev-middleware): clean up unused options by @chenjiahan in #6103
  • refactor(dev-middleware): remove unnecessary type assertions by @chenjiahan in #6104

Document πŸ“–

  • docs: add native watcher example to build perf guide by @chenjiahan in #6070
  • docs: improve documentation authenticity by @Copilot in #6069
  • docs: add examples for server.strictPort config by @Copilot in #6075
  • docs: improve documentation authenticity and naturalness by @Copilot in #6074
  • docs: update JSDoc comments for Rsbuild configuration options by @chenjiahan in #6080
  • docs(config): clarify HTTP/2 behavior by @chenjiahan in #6083
  • docs: improve wording in docs by @chenjiahan in #6085
  • docs: update AGENTS.md and remove copilot-instructions.md by @chenjiahan in #6095
  • docs: add zephyr to docs page by @Nsttt in #6071

Other Changes

New Contributors

Full Changelog: v1.5.4...v1.5.5

v1.5.4

05 Sep 07:01
7d64897

Choose a tag to compare

What's Changed

New Features πŸŽ‰

  • feat: enable inline const optimization by default by @chenjiahan in #6043
  • feat(plugin): support for source map merging in transform hook by @chenjiahan in #6050

Bug Fixes 🐞

  • fix: improve error message for public directory copy failure by @chenjiahan in #6034
  • fix(hmr): reset reconnect count when connection is established by @chenjiahan in #6047
  • fix(client): prevent duplicate console logs during reconnection by @chenjiahan in #6048
  • fix(core): only enable inline const in production mode by @chenjiahan in #6062
  • fix(core): only enable inline enum in production mode by @chenjiahan in #6064
  • fix(webpack): update default value of progress bar configuration by @chenjiahan in #6035

Document πŸ“–

  • docs: improve English documentation phrasing and clarity by @Copilot in #6028
  • docs: add examples for CSS Modules exportLocalsConvention by @chenjiahan in #6033
  • docs: improve documentation authenticity by @Copilot in #6039
  • docs: Improve documentation authenticity and clarity by @Copilot in #6046
  • docs: add HMR workaround for vanilla-extract-css plugin by @JSerFeng in #6053
  • docs: improve documentation authenticity and natural flow by @Copilot in #6051
  • docs(plugins): add source map introduction for transform hook by @chenjiahan in #6052
  • docs: setup the AGENTS.md file by @chenjiahan in #6054
  • docs: improve documentation authenticity and readability by @Copilot in #6057
  • docs: fix various documentation errors by @Copilot in #6058
  • docs: fix configuration code blocks with missing titles by @Copilot in #6056

Other Changes

Full Changelog: v1.5.3...v1.5.4