Skip to content

chore(deps): update dependency @rspack/cli to v2 - #109

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate-major-rspack-monorepo
Open

chore(deps): update dependency @rspack/cli to v2#109
renovate[bot] wants to merge 1 commit into
masterfrom
renovate-major-rspack-monorepo

Conversation

@renovate

@renovate renovate Bot commented Oct 29, 2024

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@rspack/cli (source) 0.3.62.1.10 age confidence

Release Notes

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

v2.1.10

Compare Source

[!NOTE]
Removed noisy import.meta warnings

Rspack 2.1.9 introduced warnings for unknown import.meta properties. Because they proved overly noisy in real-world builds, Rspack 2.1.10 removes them to reduce unnecessary diagnostics for custom or runtime-specific extensions. See #​15166 for detail.

What's Changed

New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.9...v2.1.10

v2.1.9

Compare Source

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.8...v2.1.9

v2.1.8

Compare Source

Highlights

Persistent cache storage options now align with webpack

Rspack now supports cache.name and cache.storage.location, aligning with webpack's persistent cache semantics. cache.storage.directory is now the base directory, while the final cache location defaults to <directory>/<cache.name>. Default cache paths remain unchanged.

If you previously used storage.directory as the exact cache path, migrate it to storage.location. Existing cache data is not migrated automatically.

cache: {
  type: 'persistent',
  storage: {
    type: 'filesystem',
-   directory: '/custom/cache',
+   location: '/custom/cache',
  },
}

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
  • refactor(binding): replace compilation pointers with compilation ids by @​SyMind in #​14988
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.7...v2.1.8

v2.1.7

Compare Source

Notice: The import.meta.env experimental feature introduced in Rspack 2.1.6 has been removed in Rspack 2.1.7.

What's Changed

Performance 🚀
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rspack@v2.1.6...v2.1.7

v2.1.6

Compare Source

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.5...v2.1.6

v2.1.5

Compare Source

What's Changed

Bug Fixes 🐞
Refactor 🔨
Other Changes

Full Changelog: web-infra-dev/rspack@v2.1.4...v2.1.5

v2.1.4

Compare Source

Highlights

Fine-grained import.meta parser options

module.parser.javascript.importMeta now accepts an object so each known import.meta property can be configured independently, on top of the existing true / false / 'preserve-unknown' values. Properties set to false are preserved for runtime evaluation, omitted properties keep their default behavior, and unknown properties are preserved. Both webpack-compatible keys (dirname, filename, main, url, webpack, webpackContext) and Rspack-specific keys (rspackHash, rspackPublicPath, glob, ...) are supported.

export default {
  module: {
    parser: {
      javascript: {
        importMeta: {
          // keep `import.meta.url` for runtime evaluation
          url: false,
          // keep the compile-time replacement of `import.meta.webpack`
          webpack: true,
        },
      },
    },
  },
};
Static worker URL output

module.parser.javascript.worker now accepts an object form with alias and url, alongside the existing boolean and string[] forms. With url: 'new-url-relative' and output.module enabled, Rspack emits a static new URL() expression for new Worker(new URL(..., import.meta.url)) instead of runtime code, honoring output.publicPath and output.workerPublicPath.

export default {
  output: {
    module: true,
    chunkFilename: '[name].bundle.js',
  },
  module: {
    parser: {
      javascript: {
        worker: {
          url: 'new-url-relative',
        },
      },
    },
  },
};
new Worker(new URL('./worker.js', import.meta.url));

// would become 👇
new Worker(new URL('./worker.bundle.js', import.meta.url));

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.3...v2.1.4

v2.1.3

Compare Source

What's Changed
New Features 🎉
  • feat: add name/value accessors to ESMExportSpecifierDependency (#​14641 by @​yashwanth195)
  • feat(core): expose the real Chunk instance to filename func

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/Madrid)

  • Branch creation
    • "before 7am"
  • Automerge
    • At any time (no schedule defined)

🚦 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 this update 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 enabled auto-merge (rebase) October 29, 2024 04:54
@relativeci

relativeci Bot commented Oct 29, 2024

Copy link
Copy Markdown

#302 Bundle Size — 839B (-99.94%).

ee33ffe(current) vs 2b8b117 master#300(baseline)

Note

Bundle removed 3 duplicate packages – View changed duplicate packages

Bundle metrics  Change 10 changes Improvement 5 improvements
                 Current
#302
     Baseline
#300
Improvement  Initial JS 839B(-99.86%) 591.31KiB
Improvement  Initial CSS 0B(-100%) 539.71KiB
Change  Cache Invalidation 100% 0%
Change  Chunks 1(-87.5%) 8
Change  Assets 1(-90%) 10
Change  Modules 3(-99.82%) 1708
Improvement  Duplicate Modules 0(-100%) 4
Change  Duplicate Code 0%(-100%) 0.04%
Improvement  Packages 0(-100%) 119
Improvement  Duplicate Packages 0(-100%) 3
Bundle size by type  Change 4 changes Improvement 4 improvements
                 Current
#302
     Baseline
#300
Improvement  JS 839B (-99.89%) 763.58KiB
Improvement  CSS 0B (-100%) 539.86KiB
Improvement  IMG 0B (-100%) 2.7KiB
Improvement  HTML 0B (-100%) 294B

Bundle analysis reportBranch renovate-major-rspack-monorepoProject dashboard


Generated by RelativeCIDocumentationReport issue

@CLAassistant

CLAassistant commented Sep 23, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@renovate renovate Bot changed the title chore(deps): update dependency @rspack/cli to v1 chore(deps): update dependency @rspack/cli to v2 Apr 22, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @rspack/cli to v2 chore(deps): update rspack monorepo to v2 Jun 2, 2026
@renovate renovate Bot changed the title chore(deps): update rspack monorepo to v2 chore(deps): update rspack monorepo (major) Jun 22, 2026
@renovate renovate Bot changed the title chore(deps): update rspack monorepo (major) chore(deps): update dependency @rspack/cli to v2 Jun 25, 2026
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