web-infra-dev/rspack
 Watch   
 Star   
 Fork   
13 days ago
rspack

v1.2.2

What's Changed

Bug Fixes 🐞

Other Changes

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.2.1...v1.2.2

14 days ago
rspack

v1.2.1

What's Changed

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.2.0...v1.2.1

15 days ago
rspack

v1.2.0

See Announcing Rspack 1.2 for more details.

What's Changed

Performance Improvements ⚡

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

New Contributors

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.1.8...v1.2.0

29 days ago
rspack

v1.2.0-beta.0

What's Changed

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

New Contributors

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.2.0-alpha.0...v1.2.0-beta.0

2024-12-30 15:45:54
rspack

v1.2.0-alpha.0

Highlights 💡

No longer watching node_modules

Rspack v1.2 no longer watching the node_modules directory by default. This can greatly reduce the number of files to watch and improve performance.

According to our benchmark repo, this change will:

  • Reduce memory usage by 120MB.
  • Increase dev startup speed by 40%.
  • Increase HMR speed by 20~30%.

This change will not affect symlinked resources in monorepo, as symlinked resources are resolved to their real path by default.

Related PR: perf: ignore watching files in node_modules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/8645

Upgrade to SWC 9.0

The Rust crate swc_core has been upgraded to 9.0.0. Users of the SWC Wasm plugin need to ensure version consistency with the swc_core being used, otherwise, it may lead to unforeseen issues.

For more details, see SWC Plugin Version Unmatched.

Related PR: feat(core)!: bump swc_core to 9.0.0 by @andersk in https://github.com/web-infra-dev/rspack/pull/8639

Reduce memory usage

We have optimized the data structure used to store strings during the rspack-sources calculation process. Throughout the calculation, all string data point to the string heap memory of the root node, effectively avoiding the generation of new string allocations during the calculation.

Related PR: perf: reduce memory consumption of CachedSource by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/8666

Parallelize side effects optimization

The implementation of side effects optimization has been refactored. The new implementation is simpler and more friendly for parallelism. It can make full use of parallelism to improve performance. In actual projects, there is usually about a 2x-3x performance improvement in this stage.

Related PR: perf: parallelize side effects optimization by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/8781

Disable WarnCaseSensitiveModulesPlugin by default

The WarnCaseSensitiveModulesPlugin will check the paths of modules and issue warnings for modules that conflict when their paths are all in lowercase. Before we enable it by default, but since this is only a "linter" plugin and it has additional performance overhead especially in development mode. So now we disable it by default, and recommend users use plugins: [new rspack.WarnCaseSensitiveModulesPlugin()] to add it themselves by their own needs.

Related PR: feat: export WarnCaseSensitiveModulesPlugin and disable it by default by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/8697

What's Changed

Performance Improvements ⚡

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

New Contributors

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.1.8...v1.2.0-alpha.0

2024-12-19 14:33:02
rspack

v1.1.8

Security Vulnerability Report

Overview

This is a re-release version of 1.1.6

On 12/19/2024, 02:01 (UTC), we discovered that our npm packages @rspack/core and @rspack/cli were maliciously attacked. The attacker released v1.1.7 using a compromised npm token, which contained malicious code. We took immediate action upon discovering the issue.

Impact

  • Affected versions: @rspack/core and @rspack/cli v1.1.7
  • Duration: 12/19/2024, 02:01 (UTC), lasting approximately 1 hour
  • Malicious code impact: After npm install, the postinstall script in package.json runs malicious code in dist/util/support.js. We are currently analyzing the full impact of malicious code.

Actions Taken

Upon discovery, we immediately deprecated the affected v1.1.7, redirected the npm latest tag to v1.1.6, and reset all related tokens. Subsequently, we released a secure new version v1.1.8.

Recommended Actions

If you installed v1.1.7 during the affected period, please:

  1. Update to the latest safe version immediately: @rspack/core and @rspack/cli to >= 1.1.8
  2. Check your system for any unusual activity

Apology and Commitment

We deeply apologize for the risks caused by this incident. To prevent similar incidents from happening again, we will implement stricter token management protocols and enhance our security review processes. If you have any questions or discover any suspicious activity, please create an issue or send an email to: web-infra-security@bytedance.com We will continue to follow and respond to community feedback.

2024-12-10 14:11:50
rspack

v1.1.6

What's Changed

Highlights 💡

Reduced memory usage

Rspack's memory usage in large projects has been significantly reduced since v1.1.6:

Related PRs:

Performance Improvements ⚡

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

New Contributors

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.1.5...v1.1.6

2024-12-03 16:48:05
rspack

v1.1.5

What's Changed

Performance Improvements ⚡

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.1.4...v1.1.5

2024-11-26 16:05:54
rspack

v1.1.4

What's Changed

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

New Contributors

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.1.3...v1.1.4

2024-11-21 16:28:29
rspack

v1.1.3

What's Changed

Performance Improvements ⚡

Exciting New Features 🎉

Bug Fixes 🐞

Other Changes

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.1.2...v1.1.3