Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: web-infra-dev/rspack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.8
Choose a base ref
...
head repository: web-infra-dev/rspack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.3.0
Choose a head ref

Commits on Mar 11, 2025

  1. chore: release v1.2.8 (#9621)

    SyMind authored Mar 11, 2025
    2
    Copy the full SHA
    6aaa809 View commit details
  2. Copy the full SHA
    71f193b View commit details
  3. 2
    Copy the full SHA
    19ca33c View commit details

Commits on Mar 12, 2025

  1. chore(deps): update npm dependencies (#9632)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 12, 2025
    2
    Copy the full SHA
    f68457a View commit details
  2. chore(deps): update pnpm to v9.15.9 (#9633)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 12, 2025
    2
    Copy the full SHA
    233f83b View commit details
  3. chore(deps): update github-actions (#9631)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 12, 2025
    2
    Copy the full SHA
    bfe1e92 View commit details
  4. feat(compiler-builder)!: support BuilderError (#9627)

    * feat(compiler-builder): support `BuilderError`
    
    * fix: bench
    
    * fix: redundant must_use
    h-a-n-a authored Mar 12, 2025
    2
    Copy the full SHA
    aabc042 View commit details
  5. 2
    Copy the full SHA
    f1a3d38 View commit details
  6. test: modify concurrent to 5 to increase the config test concurrency (#…

    …9628)
    
    test: modify concurrent to 5 to increase the test concurrency
    LingyuCoder authored Mar 12, 2025
    2
    Copy the full SHA
    2484a56 View commit details
  7. Copy the full SHA
    0d33829 View commit details
  8. test(modern-module): add snapshot test (#9640)

    test(modern-module): ensure no runtime
    fi3ework authored Mar 12, 2025
    2
    Copy the full SHA
    a79e3c0 View commit details
  9. 2
    Copy the full SHA
    170a35a View commit details
  10. fix: revoke dependency clean dependency at module and block (#9638)

    * fix: force revoke dependency remove module & block dependencies
    
    * perf: optimize modern_module_library_plugin finish make hook
    
    * fix: ci
    jerrykingxyz authored Mar 12, 2025
    2
    Copy the full SHA
    bf98eda View commit details
  11. test(webpack): Sync new webpack cases tests (#9639)

    chore: Sync new webpack cases tests
    KuSh authored Mar 12, 2025
    2
    Copy the full SHA
    c27e06b View commit details
  12. 2
    Copy the full SHA
    fcc8225 View commit details

Commits on Mar 13, 2025

  1. chore(deps): update dependency lint-staged to ^15.5.0 (#9651)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 13, 2025
    2
    Copy the full SHA
    4abd2d3 View commit details
  2. docs: add new customer (#9649)

    docs(customer): add new customer
    kwonoj authored Mar 13, 2025
    Copy the full SHA
    73ddc24 View commit details
  3. test(webpack): Sync new webpack fixtures and hotCases tests (#9642)

    chore: Sync new webpack fixtures and hotCases tests
    KuSh authored Mar 13, 2025
    2
    Copy the full SHA
    06524a2 View commit details
  4. fix(core): use future_scope to run parallel future (#9637)

    * feat: introduce rspack_futures::scope
    
    * fix(core): Use rspack_futures::scope for fix
    
    ---------
    
    Co-authored-by: quininer <quininer@live.com>
    hardfist and quininer authored Mar 13, 2025
    2
    Copy the full SHA
    1c7554b View commit details
  5. 2
    Copy the full SHA
    6dadaa5 View commit details
  6. Copy the full SHA
    39405e5 View commit details
  7. chore: upgrade @rspack/dev-server and webpack-dev-server (#9660)

    * chore: upgrade @rspack/dev-server and webpack-dev-server
    
    * chore: upgrade dependencies to match webpack-dev-server
    LingyuCoder authored Mar 13, 2025
    2
    Copy the full SHA
    a2e1e21 View commit details
  8. chore: clean unused test dev dependencies (#9662)

    chore: clean unused dev dependencies
    LingyuCoder authored Mar 13, 2025
    2
    Copy the full SHA
    09ac9ef View commit details

Commits on Mar 14, 2025

  1. feat: implement module.generator.json.JSONParse (#9666)

    For large `.json` modules, webpack will generate `JSON.parse` by default for
    better performance. But there are some circumstances that `JSON.parse` is not a
    good choice (e.g.: when doing AOT compilation).
    
    Thus, a new generator option `module.generator.json.JSONParse` is added to
    disable generating `JSON.parse` for `.json` module.
    
    The default value is kept as `true` and can be opt-out by custom rules.
    
    This is a port of webpack/webpack#19320.
    colinaaa authored Mar 14, 2025
    2
    Copy the full SHA
    396ce92 View commit details
  2. chore: test mac on main branch (#9673)

    * chore: test mac on main branch
    
    * chore: run mac test on main branch
    hardfist authored Mar 14, 2025
    2
    Copy the full SHA
    6487eb8 View commit details
  3. 2
    Copy the full SHA
    a1929a2 View commit details
  4. 2
    Copy the full SHA
    20b990a View commit details
  5. chore(deps): update dependency css-loader to v7 (#9653)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 14, 2025
    2
    Copy the full SHA
    5994947 View commit details
  6. feat(deps)!: update SWC version to 16.5.0 (#9671)

    chore: update SWC version to 16.5.0
    GiveMe-A-Name authored Mar 14, 2025
    2
    Copy the full SHA
    1ce296b View commit details
  7. 2
    Copy the full SHA
    b309d50 View commit details
  8. test(webpack): Sync new webpack watchCases tests (#9644)

    * chore: Sync new webpack fixtures watchCases tests
    
    * review: Apply suggestions
    
    Co-authored-by: harpsealjs <lingyucoder@gmail.com>
    
    * review: Add a comment to indicate why the tests are filtered out
    
    * review: Remove an uneeded test filter
    
    * review: Try to describe the reason of test filtering
    
    ---------
    
    Co-authored-by: harpsealjs <lingyucoder@gmail.com>
    KuSh and LingyuCoder authored Mar 14, 2025
    2
    Copy the full SHA
    fc97bea View commit details
  9. test(webpack): Sync new webpack statsCases tests (#9643)

    * chore: Sync new webpack fixtures statsCases tests
    
    * fix: Add test filtering reason
    KuSh authored Mar 14, 2025
    2
    Copy the full SHA
    1e647a4 View commit details
  10. test(webpack): Sync new webpack configCases/css tests (#9655)

    * chore: Sync new webpack configCases/css tests
    
    * review: fix typo
    
    Co-authored-by: harpsealjs <lingyucoder@gmail.com>
    
    * review: Try to describe the reason for test filtering
    
    ---------
    
    Co-authored-by: harpsealjs <lingyucoder@gmail.com>
    KuSh and LingyuCoder authored Mar 14, 2025
    2
    Copy the full SHA
    4a09e47 View commit details
  11. docs(zh): fix typo in contribute/index.mdx (#9680)

    * docs(zh): fix typo
    
    * Update index.mdx
    
    ---------
    
    Co-authored-by: neverland <jait.chen@foxmail.com>
    coding-ice and chenjiahan authored Mar 14, 2025
    Copy the full SHA
    8173af3 View commit details
  12. feat: add extends property in config options (#9617)

    * feat: add extends property in config options
    
    * fix lint error
    
    * feat: update docs
    
    * update extends docs
    hulin32 authored Mar 14, 2025
    2
    Copy the full SHA
    4081775 View commit details
  13. refactor: remove async-scope (#9677)

    * refactor: remove async-scope
    
    * chore: fix shear
    
    * chore: fix test
    
    * chore: fix test
    
    * chore: fix test
    
    * chore: use async fs
    
    * chore: fix check
    
    * chore: fix test
    hardfist authored Mar 14, 2025
    2
    Copy the full SHA
    14b1611 View commit details
  14. 2
    Copy the full SHA
    0f86840 View commit details
  15. test: ecosystem CI add plugin test (#9670)

    * test: ecosystem CI add plugin test
    stormslowly authored Mar 14, 2025
    2
    Copy the full SHA
    d0e2190 View commit details

Commits on Mar 15, 2025

  1. 2
    Copy the full SHA
    0b74cf2 View commit details
  2. chore(deps): update webpack-bundle-analyzer and webpack-merge (#9615)

    chore(deps): update webpack
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 15, 2025
    2
    Copy the full SHA
    1d48ae2 View commit details
  3. chore(deps): update dependency @swc/core to v1.11.9 (#9520)

    * chore(deps): update dependency @swc/core to v1.11.9
    
    * fix: correct argument for swc.minifySync in prepare-container-runtime.js
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: GiveMe-A-Name <a455300764b@hotmail.com>
    Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
    3 people authored Mar 15, 2025
    2
    Copy the full SHA
    0fb54b4 View commit details
  4. docs: apply new theme colors to the documentation site (#9689)

    * docs: using new theme colors
    
    * docs: update rp-c-brand-tint
    chenjiahan authored Mar 15, 2025
    Copy the full SHA
    817c5ef View commit details

Commits on Mar 16, 2025

  1. 2
    Copy the full SHA
    6dbba54 View commit details

Commits on Mar 17, 2025

  1. 2
    Copy the full SHA
    a9c9b35 View commit details
  2. feat: js api support instranceof AsyncDependenciesBlock (#9661)

    feat: AsyncDependenciesBlock
    SyMind authored Mar 17, 2025
    2
    Copy the full SHA
    e85f055 View commit details
  3. refactor: modify module.code_generation to async fn (#9626)

    * refactor: modify module.code_generation to async fn
    
    * refactor: modify module.code_generation to async fn
    
    * refactor: modify module.code_generation to async fn
    
    * refactor: modify module.code_generation to async fn
    
    * chore: use future_scope
    
    * refactor: modify module.code_generation to async fn
    
    ---------
    
    Co-authored-by: hardfist <yangjianzju@gmail.com>
    LingyuCoder and hardfist authored Mar 17, 2025
    2
    Copy the full SHA
    ebfb801 View commit details
  4. 2
    Copy the full SHA
    bb4763d View commit details
  5. chore(deps): update dependency @module-federation/runtime-tools to v0…

    ….11.0 (#9593)
    
    * chore(deps): update dependency @module-federation/runtime-tools to v0.11.0
    
    * fix test
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: ahabhgk <ahabhgk@gmail.com>
    renovate[bot] and ahabhgk authored Mar 17, 2025
    2
    Copy the full SHA
    3c58b67 View commit details
  6. 2
    Copy the full SHA
    92441ee View commit details
  7. 2
    Copy the full SHA
    c0a7e1b View commit details
Showing 2,279 changed files with 36,231 additions and 16,841 deletions.
2 changes: 1 addition & 1 deletion .github/actions/cache/restore/action.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ runs:
- name: Restore cache to github
id: github-cache
if: ${{ runner.environment == 'github-hosted' }}
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4
with:
key: ${{ inputs.key }}
path: ${{ inputs.path }}
2 changes: 1 addition & 1 deletion .github/actions/cache/save/action.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ runs:
steps:
- name: Save cache to github
if: ${{ runner.environment == 'github-hosted' }}
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4
with:
key: ${{ inputs.key }}
path: ${{ inputs.path }}
2 changes: 1 addition & 1 deletion .github/actions/pnpm/install-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ description: Run pnpm install

inputs:
frozen-lockfile:
default: false
default: true
required: false
type: boolean
save-if:
4 changes: 2 additions & 2 deletions .github/actions/pnpm/setup/action.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ runs:
using: composite
steps:
- name: Install Node.js
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
with:
node-version: ${{ inputs.node-version }}

@@ -33,7 +33,7 @@ runs:
# Uses `packageManagement` field from package.json
- name: Install pnpm
if: ${{ inputs.node-version == '16' }}
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
with:
dest: ${{ runner.tool_cache }}/pnpm
# Use `@pnpm/exe` for Node 16
2 changes: 1 addition & 1 deletion .github/actions/rustup/cache/action.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ runs:
steps:
- name: Cache to github
if: ${{ runner.environment == 'github-hosted' }}
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2
with:
shared-key: ${{ inputs.key }}
save-if: ${{ github.ref_name == 'main' }}
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -82,12 +82,12 @@ jobs:
full-install: false

test-mac:
name: Test Mac
name: Test Mac ARM64
needs: [get-runner-labels, check-changed]
if: github.ref_name == 'main' || contains(github.event.pull_request.title, '!macos')
uses: ./.github/workflows/reusable-build.yml
with:
target: x86_64-apple-darwin
target: aarch64-apple-darwin
profile: "ci"
runner: ${{ needs.get-runner-labels.outputs.MACOS_RUNNER_LABELS }}
skipable: ${{ needs.check-changed.outputs.changed != 'true' }}
@@ -118,7 +118,7 @@ jobs:
- 'Cargo.lock'
- name: Install cargo-deny
if: steps.filter.outputs.src == 'true'
uses: taiki-e/install-action@f87f9990b09867202953bff9aa0c80e23ee16bb7 # v2
uses: taiki-e/install-action@5651179950649c44da31d346537e20c0534f0f25 # v2
with:
tool: cargo-deny@0.16
- name: Check licenses
@@ -130,7 +130,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: crate-ci/typos@72f3776b6edc3a10a567b8e43fd0524b2a3f1419 # v1.30.1
- uses: crate-ci/typos@d08e4083f112e684fb88f6babd9ae60a1f1cd84f # v1.30.3
with:
files: .

@@ -283,7 +283,7 @@ jobs:
- uses: ./.github/actions/rustup
with:
shared-key: check
- uses: cargo-bins/cargo-binstall@acd08f184561622f67f0e4406a62a10f656777a9 # v1.12.0
- uses: cargo-bins/cargo-binstall@b9bf4400702f721d469eec4d280125f650c85638 # v1.12.2
- run: cargo binstall --no-confirm cargo-shear --force
- run: cargo shear

@@ -307,13 +307,8 @@ jobs:
run: |
echo '[profile.test]' >> Cargo.toml
echo 'debug = false' >> Cargo.toml
- name: Run test
# reason for excluding https://github.com/napi-rs/napi-rs/issues/2200
run: cargo test --workspace --exclude rspack_node --exclude rspack -- --nocapture

- name: Run rspack test
run: cargo test --package rspack --all-features -- --nocapture
run: cargo test -- --nocapture

rust_test_miri:
name: Rust test miri
@@ -352,7 +347,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
with:
node-version: 20
- shell: bash
2 changes: 2 additions & 0 deletions .github/workflows/ecosystem-ci.yml
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@ on:
- rslib
- examples
- devserver
- plugin
suiteRef:
description: "suite ref to use"
required: true
@@ -113,6 +114,7 @@ jobs:
"examples",
"devserver",
"nuxt",
"plugin",
]
if (suiteName !== "-") {
suites = suites.filter(suite => suite === suiteName)
4 changes: 2 additions & 2 deletions .github/workflows/issue-pr-trigger.yml
Original file line number Diff line number Diff line change
@@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
with:
node-version: "20"
node-version: "20.19.0"
- name: Check if triggered by project member
id: check_member
if: github.event.sender.type == 'User' && github.actor != 'renovate'
4 changes: 2 additions & 2 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
@@ -406,7 +406,7 @@ jobs:
shared-key: build-bench-${{ inputs.target }}-${{ inputs.profile }}

- name: Install cargo-codspeed binary
uses: taiki-e/install-action@f87f9990b09867202953bff9aa0c80e23ee16bb7 # v2
uses: taiki-e/install-action@5651179950649c44da31d346537e20c0534f0f25 # v2
with:
tool: cargo-codspeed@2.7.2

@@ -443,7 +443,7 @@ jobs:
run: pnpm run build:js

- name: Run benchmark
uses: CodSpeedHQ/action@63ae6025a0ffee97d7736a37c9192dbd6ed4e75f # v3
uses: CodSpeedHQ/action@0010eb0ca6e89b80c88e8edaaa07cfe5f3e6664d # v3
timeout-minutes: 30
with:
run: pnpm run bench:ci
Loading