Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 10, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
@rspack/cli (source) 1.5.2 -> 1.5.8 age confidence
@rspack/core (source) 1.5.2 -> 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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

@renovate renovate bot force-pushed the renovate/rspack-monorepo branch from 32c4e82 to eeec99f Compare September 15, 2025 19:41
@renovate renovate bot changed the title chore(deps): update rspack monorepo to v1.5.3 chore(deps): update rspack monorepo to v1.5.4 Sep 15, 2025
@renovate renovate bot force-pushed the renovate/rspack-monorepo branch from eeec99f to 0e90072 Compare September 17, 2025 09:44
@renovate renovate bot changed the title chore(deps): update rspack monorepo to v1.5.4 chore(deps): update rspack monorepo to v1.5.5 Sep 17, 2025
@renovate renovate bot force-pushed the renovate/rspack-monorepo branch from 0e90072 to afa341b Compare September 22, 2025 13:29
@renovate renovate bot changed the title chore(deps): update rspack monorepo to v1.5.5 chore(deps): update rspack monorepo to v1.5.6 Sep 22, 2025
@renovate renovate bot force-pushed the renovate/rspack-monorepo branch from afa341b to c7a89b7 Compare September 24, 2025 10:31
@renovate renovate bot changed the title chore(deps): update rspack monorepo to v1.5.6 chore(deps): update rspack monorepo to v1.5.7 Sep 24, 2025
@renovate renovate bot force-pushed the renovate/rspack-monorepo branch from c7a89b7 to e292368 Compare September 29, 2025 10:58
@renovate renovate bot changed the title chore(deps): update rspack monorepo to v1.5.7 chore(deps): update rspack monorepo to v1.5.8 Sep 29, 2025
@renovate renovate bot force-pushed the renovate/rspack-monorepo branch from e292368 to 33d683e Compare September 29, 2025 16:09
@renovate renovate bot force-pushed the renovate/rspack-monorepo branch from 33d683e to 384f13a Compare September 29, 2025 16:11
@Robot-Inventor Robot-Inventor merged commit 92b269e into main Sep 29, 2025
6 checks passed
@Robot-Inventor Robot-Inventor deleted the renovate/rspack-monorepo branch September 29, 2025 16:12
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.

2 participants