Skip to content

Releases: web-infra-dev/rsbuild

v1.5.6

10 Sep 05:39
be2b049
Compare
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
Compare
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
Compare
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

v1.5.3

01 Sep 14:55
cbb7535
Compare
Choose a tag to compare

What's Changed

New Features πŸŽ‰

Performance πŸš€

  • perf: optimize pick function by replacing reduce with for...of loop by @Copilot in #6022
  • perf: optimize isPlainObject with Object.prototype caching by @Copilot in #6021
  • perf: optimize Object.values() call in nonce plugin to avoid redundant array conversion by @Copilot in #6023

Bug Fixes 🐞

  • fix: eliminate redundant getPlugin() call in plugin dependency sorting by @Copilot in #6002

Refactor πŸ”¨

  • refactor(e2e): simplify test setup by using helper methods by @chenjiahan in #5998

Document πŸ“–

  • docs: fix grammar and terminology inconsistencies across documentation by @Copilot in #5997
  • docs: adjust the links of rspack-splitChunks by @lxKylin in #6004
  • docs: fix various documentation errors by @Copilot in #6005
  • docs: improve authenticity of English documentation by @Copilot in #6006
  • docs: fix terminology inconsistencies and grammar issues by @Copilot in #6016
  • docs: improve documentation authenticity and naturalness by @Copilot in #6015
  • docs: enhance performance.prefetch configuration examples by @Copilot in #6014
  • docs: add examples for output.externals configuration by @Copilot in #6007
  • docs(config): update externals documentation with axios example by @chenjiahan in #6027

Other Changes

  • docs: Improve English documentation authenticity by @Copilot in #5996
  • docs: add configuration examples for output.charset by @Copilot in #6003
  • fix: incorrect target matching in isWebTarget function by @Copilot in #6013
  • chore: resolve variable shadowing in transform environment scoping by @Copilot in #6012
  • chore: improve formatFileList helper by @Copilot in #6018
  • chore(deps): update all patch dependencies by @renovate[bot] in #6025
  • ci: add pull-requests write permission to ecosystem workflow by @chenjiahan in #6026
  • release: v1.5.3 by @chenjiahan in #6030

New Contributors

Full Changelog: v1.5.2...v1.5.3

v1.5.2

30 Aug 11:32
bb77eb6
Compare
Choose a tag to compare

What's Changed

New Features πŸŽ‰

  • feat(deps): update dependency @rspack/core to v1.5.1 by @chenjiahan in #5971
  • feat(plugin-react): improve transpilation scope of ReactRefreshPlugin by @chenjiahan in #5969
  • feat: support for destructuring import.meta.env by @chenjiahan in #5979

Bug Fixes 🐞

  • fix: rerun onBeforeDevCompile hook correctly with multiple environments by @9aoy in #5980
  • fix: failed to escape undefined template params by @chenjiahan in #5987

Refactor πŸ”¨

  • refactor(types): use LoaderDefinition to declare loader types by @chenjiahan in #5975

Document πŸ“–

  • docs: improve authenticity and natural expression by @Copilot in #5964
  • docs: improve documentation authenticity and readability by @Copilot in #5972
  • docs: improve authenticity in documentation files by @Copilot in #5984
  • docs: improve English authenticity in documentation by @Copilot in #5988
  • docs: add example for cssModules.auto configuration by @chenjiahan in #5989
  • docs: fix JavaScript syntax errors in static-assets.mdx by @Copilot in #5992

Other Changes

  • chore(deps): update sass related packages by @renovate[bot] in #5965
  • test(e2e): do not rely on building URL to verify lazy compilation by @JSerFeng in #5966
  • chore(plugin-react): update @rspack/plugin-react-refresh to ^1.5.0 by @chenjiahan in #5968
  • release: @rsbuild/plugin-react v1.4.0 by @chenjiahan in #5970
  • Revert "fix: temporarily disable inline enum optimization (#5960)" by @chenjiahan in #5974
  • test(e2e): add new cases to verify enum with property access by @chenjiahan in #5976
  • chore(deps): update dependency @types/node to ^22.18.0 by @renovate[bot] in #5978
  • chore(deps): update dependency @rsbuild/plugin-react to ^1.4.0 by @renovate[bot] in #5977
  • chore(deps): update dependency @shikijs/transformers to ^3.12.0 by @renovate[bot] in #5991
  • chore: remove duplicated dependencies via pnpm dedupe by @Copilot in #5990
  • docs: fix various documentation errors including grammar, consistency and terminology by @Copilot in #5993
  • docs: fix various documentation errors across website/docs directory by @Copilot in #5994
  • release: v1.5.2 by @chenjiahan in #5995

Full Changelog: v1.5.1...v1.5.2

v1.5.1

27 Aug 14:20
0248871
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

Document πŸ“–

Other Changes

Full Changelog: v1.5.0...v1.5.1

v1.5.0

26 Aug 10:59
faf72d6
Compare
Choose a tag to compare

πŸŽ‰ See Announcing Rspack 1.5 for more details.

What's Changed

Breaking changes πŸ’‘

New Features πŸŽ‰

Performance πŸš€

Bug Fixes 🐞

Refactor πŸ”¨

  • refactor: eliminate switch exhaustiveness checks by @chenjiahan in #5803
  • refactor: rename connection to socket for clarity by @chenjiahan in #5850
  • refactor: improve debug log messages for better clarity by @chenjiahan in #5902
  • refactor(css-plugins): inherit CSS options from the built-in rule by @chenjiahan in #5940
  • refactor(fileSize): simplify asset formatting and path handling by @chenjiahan in #5945

Document πŸ“–

  • docs: update JavaScript runtime installation instructions by @chenjiahan in #5787
  • docs: add less parallel to build performance guide by @chenjiahan in #5809
  • docs: add version info to onBeforeDevCompile hook by @chenjiahan in #5811
  • docs: improve code splitting documentation clarity by @chenjiahan in #5816
  • docs: mention Rspack's default split chunks strategy by @chenjiahan in #5821
  • docs(lazy-compilation): update default value and version history by @chenjiahan in #5837
  • docs: Add missing backtick to filename.mdx by @schu34 in #5848
  • docs(config): add links to chunk splitting strategies by @chenjiahan in #5845
  • docs: update awesome-rspack references to awesome-rstack by @chenjiahan in #5872
  • docs: add version info for modifyHTML hook by @chenjiahan in #5886
  • docs: fix grammar, spelling, and consistency errors in documentation by @Copilot in #5888
  • docs: fix errors, contractions, terminology, and grammar improvements by @Copilot in #5889
  • docs: fix documentation errors, grammar, typos, and file references by @Copilot in #5892
  • docs: fix grammatical errors and terminology inconsistencies by @Copilot in #5893
  • docs: fix various documentation errors including grammar and punctuation issues by @Copilot in #5894
  • docs: fix terminology inconsistencies and grammar issues by @Copilot in #5895
  • docs: update exclude documentation to clarify priority by @chenjiahan in #5900
  • docs: fix various documentation errors by @Copilot in #5903
  • docs: add code examples for html tags config options by @chenjiahan in #5904
  • docs(plugin-svgr): add note about default exportType with mixedImport by @chenjiahan in #5907
  • docs: add exclude option to printFileSize type by @chenjiahan in #5908
  • docs: update types documentation to reference source file by @chenjiahan in #5912
  • docs(config): add security warning about source maps in production by @chenjiahan in #5914
  • docs: update Rspress to beta.28 and remove unused openGraph fields by @chenjiahan in #5919
  • docs: add documentation for output.module config by @chenjiahan in #5923
  • docs: update Rstack description and bump doc-ui version by @chenjiahan in #5924
  • docs: fix various documentation errors by @Copilot in #5925
  • docs: fix grammar and consistency errors in documentation by @Copilot in #5930
  • docs: fix grammar issues and contractions by @Copilot in #5934
  • docs: fix grammar, punctuation, and clarity issues by @Copilot in #5936
  • docs: improve SSR error logging by @chenjiahan in #5947
  • docs: rename onDevCompileDone hook to onAfterDevCompile by @chenjiahan in #5883

Other Changes

Read more

v1.4.16

24 Aug 09:22
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix(deps): update launch-editor-middleware dependency to v2.11.1 by @chenjiahan in a26db53

Full Changelog: v1.4.15...v1.4.16

v1.5.0-rc.0

21 Aug 13:08
90a6fca
Compare
Choose a tag to compare

What's Changed

New Features πŸŽ‰

Bug Fixes 🐞

  • fix: add OnDevCompileDoneFn type for backward compatibility by @chenjiahan in #5913

Refactor πŸ”¨

  • refactor: improve debug log messages for better clarity by @chenjiahan in #5902

Document πŸ“–

  • docs: add version info for modifyHTML hook by @chenjiahan in #5886
  • docs: fix grammar, spelling, and consistency errors in documentation by @Copilot in #5888
  • docs: fix errors, contractions, terminology, and grammar improvements by @Copilot in #5889
  • docs: fix documentation errors, grammar, typos, and file references by @Copilot in #5892
  • docs: fix grammatical errors and terminology inconsistencies by @Copilot in #5893
  • docs: fix various documentation errors including grammar and punctuation issues by @Copilot in #5894
  • docs: fix terminology inconsistencies and grammar issues by @Copilot in #5895
  • docs: update exclude documentation to clarify priority by @chenjiahan in #5900
  • docs: fix various documentation errors by @Copilot in #5903
  • docs: add code examples for html tags config options by @chenjiahan in #5904
  • docs(plugin-svgr): add note about default exportType with mixedImport by @chenjiahan in #5907
  • docs: add exclude option to printFileSize type by @chenjiahan in #5908
  • docs: update types documentation to reference source file by @chenjiahan in #5912
  • docs(config): add security warning about source maps in production by @chenjiahan in #5914

Other Changes

  • chore: remove unnecessary exports and helpers by @chenjiahan in #5887
  • chore: add copilot-instructions.md for GitHub Copilot coding agent by @Copilot in #5891
  • docs: fix various documentation errors by @Copilot in #5896
  • chore(deps): update playwright monorepo to v1.55.0 by @renovate[bot] in #5897
  • chore: change log suffix color from gray to dim by @chenjiahan in #5901
  • docs: fix grammatical errors and spelling inconsistencies by @Copilot in #5911
  • release: 1.5.0-rc.0 by @chenjiahan in #5918

New Contributors

  • @Copilot made their first contribution in #5888

Full Changelog: v1.5.0-beta.4...v1.5.0-rc.0

v1.5.0-beta.4

19 Aug 13:43
8a9e46f
Compare
Choose a tag to compare

What's Changed

New Features πŸŽ‰

Bug Fixes 🐞

  • fix: ensure inspectConfig properly initializes action before execution by @chenjiahan in #5859

Document πŸ“–

  • docs: update awesome-rspack references to awesome-rstack by @chenjiahan in #5872

Other Changes

Full Changelog: v1.5.0-beta.3...v1.5.0-beta.4