Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 2, 2025

This PR contains the following updates:

Package Change Age Confidence
@rspack/cli (source) ^1.5.0 -> ^1.5.8 age confidence
@rspack/core (source) ^1.5.0 -> ^1.5.8 age confidence

Release Notes

web-infra-dev/rspack (@​rspack/cli)

v1.5.8

Compare Source

Highlights 💡
Enhanced Tree Shaking for Nested Exports in Destructuring

Rspack now supports more precise tree shaking for nested exports accessed through destructuring assignments.

// lib.js
export * as a from "./a";
export * as b from "./b";

// index.js
import * as lib from "./lib";
// Before: All exports under `lib.a` were retained, only `lib.b` was tree-shaken
// Now: Only the specific property `inner` from `lib.a` is kept; everything else is removed
const { a: { inner } } = lib;
What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v1.5.7...v1.5.8

v1.5.7

Compare Source

Highlights 💡
Improved Tree Shaking for Dynamic Import .then()

This release enhances tree shaking capabilities specifically for the .then() callbacks of dynamic imports. Rspack can now statically analyze and eliminate unused exports when destructuring is performed on the resolved module within promise chains:

// Tree shaking now works for destructuring in .then() callbacks
import('./utils').then(module => {
  const { usedFunction } = module; // Only usedFunction will be included
  usedFunction();
  // unusedFunction will be tree-shaken out
});
JSX Preserve Support

Rspack now supports parsing and preserving JSX syntax. This allows JSX syntax to be parsed without transformation, making it compatible with external JSX transformers.

// rspack.config.js
export default {
  module: {
    parser: {
      javascript: {
        jsx: true // Enable JSX parsing
      }
    },
    rules: [
      {
        test: /\.jsx?$/,
        use: {
          loader: 'swc-loader',
          options: {
            jsc: {
              parser: { jsx: true },
              transform: {
                // Preserve JSX syntax
                react: { runtime: 'preserve' }
              }
            }
          }
        }
      }
    ]
  }
};
What's Changed
New Features 🎉
Bug Fixes 🐞
Document Updates 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v1.5.6...v1.5.7

v1.5.6

Compare Source

What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v1.5.5...v1.5.6

v1.5.5

Compare Source

What's Changed

Bug Fixes 🐞
Document Updates 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v1.5.4...v1.5.5

v1.5.4

Compare Source

What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v1.5.3...v1.5.4

v1.5.3

Compare Source

Highlights 💡
Advanced tree-shaking

Rspack v1.5.3 ships advanced tree-shaking for dynamic imports via member expression analysis.

Ongoing improvements are in progress, and upcoming releases will continue to improve static analysis to cover more syntax patterns, such as dynamic import with a subsequent .then().

image
What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v1.5.2...v1.5.3

v1.5.2

Compare Source

What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
  • chore(deps): update rust crate tracing-subscriber to v0.3.20 [security] by @​renovate[bot] in #​11542

Full Changelog: web-infra-dev/rspack@v1.5.1...v1.5.2

v1.5.1

Compare Source

What's Changed
Performance Improvements ⚡
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v1.5.0...v1.5.1


Configuration

📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 2, 2025

Open in StackBlitz

npm i https://pkg.pr.new/unjs/unplugin@543

commit: 8f19e6b

@renovate renovate bot force-pushed the renovate/rspack branch 2 times, most recently from c5c438f to 5eed41f Compare September 10, 2025 04:09
@renovate renovate bot changed the title chore(deps): update rspack to ^1.5.2 chore(deps): update rspack to ^1.5.3 Sep 10, 2025
@renovate renovate bot changed the title chore(deps): update rspack to ^1.5.3 chore(deps): update rspack to ^1.5.4 Sep 16, 2025
@renovate renovate bot changed the title chore(deps): update rspack to ^1.5.4 chore(deps): update rspack to ^1.5.5 Sep 17, 2025
@renovate renovate bot changed the title chore(deps): update rspack to ^1.5.5 chore(deps): update rspack to ^1.5.6 Sep 22, 2025
@renovate renovate bot force-pushed the renovate/rspack branch 2 times, most recently from 7446435 to a2923ea Compare September 24, 2025 07:15
@renovate renovate bot changed the title chore(deps): update rspack to ^1.5.6 chore(deps): update rspack to ^1.5.7 Sep 24, 2025
@renovate renovate bot force-pushed the renovate/rspack branch 2 times, most recently from 5404dbe to 63b2615 Compare September 29, 2025 11:52
@renovate renovate bot changed the title chore(deps): update rspack to ^1.5.7 chore(deps): update rspack to ^1.5.8 Sep 29, 2025
@renovate renovate bot force-pushed the renovate/rspack branch from 63b2615 to ba0a7d1 Compare October 13, 2025 19:01
@renovate renovate bot force-pushed the renovate/rspack branch from ba0a7d1 to 8f19e6b Compare October 21, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant