Skip to content

chore(deps): update rspack dependencies#65

Merged
h-a-n-a merged 1 commit intomainfrom
renovate/rspack-deps
Oct 14, 2025
Merged

chore(deps): update rspack dependencies#65
h-a-n-a merged 1 commit intomainfrom
renovate/rspack-deps

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Sep 28, 2025

This PR contains the following updates:

Package Change Age Confidence Type Update
@rspack/core (source) 1.5.5 -> 1.5.8 age confidence dependencies patch
rspack_binding_build (source) =0.5.5 -> =0.5.8 age confidence workspace.dependencies patch
rspack_binding_builder (source) =0.5.5 -> =0.5.8 age confidence workspace.dependencies patch
rspack_binding_builder_macros (source) =0.5.5 -> =0.5.8 age confidence workspace.dependencies patch
rspack_cacheable =0.5.5 -> =0.5.8 age confidence workspace.dependencies patch
rspack_collections (source) =0.5.5 -> =0.5.8 age confidence workspace.dependencies patch
rspack_core =0.5.5 -> =0.5.8 age confidence workspace.dependencies patch
rspack_error =0.5.5 -> =0.5.8 age confidence workspace.dependencies patch
rspack_hook =0.5.5 -> =0.5.8 age confidence workspace.dependencies patch

Release Notes

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

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


Configuration

📅 Schedule: Branch creation - "before 6am on monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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-deps branch from c4420fb to d8338c8 Compare September 29, 2025 11:09
@renovate renovate bot force-pushed the renovate/rspack-deps branch from d8338c8 to 2ab7413 Compare October 11, 2025 06:43
@renovate renovate bot force-pushed the renovate/rspack-deps branch from 2ab7413 to 69da223 Compare October 11, 2025 08:03
@h-a-n-a h-a-n-a merged commit 6f592e6 into main Oct 14, 2025
21 checks passed
@h-a-n-a h-a-n-a deleted the renovate/rspack-deps branch October 14, 2025 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant