chore(deps): update rspack dependencies - #79
Conversation
b3515f8 to
e109045
Compare
📝 WalkthroughWalkthroughThis pull request updates rspack ecosystem dependencies across the project from versions 0.100.5 and 2.0.5 to 0.100.8 and 2.0.8. The Cargo.toml file pins eight Rust crates in 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
4abe0d3 to
732a9ea
Compare
732a9ea to
aa853db
Compare
|
bcacb66 to
dc49886
Compare
e21ca15 to
865b851
Compare
1bdd6c4 to
76dffc8
Compare
e44b13d to
4b1ba03
Compare
4b1ba03 to
47e2f7c
Compare
This PR contains the following updates:
2.0.5→2.1.8=0.100.5→=0.101.8=0.100.5→=0.101.8=0.100.5→=0.101.8=0.100.5→=0.101.8=0.100.5→=0.101.8=0.100.5→=0.101.8=0.100.5→=0.101.8=0.100.5→=0.101.8Release Notes
web-infra-dev/rspack (@rspack/core)
v2.1.8Compare Source
Highlights
Persistent cache storage options now align with webpack
Rspack now supports
cache.nameandcache.storage.location, aligning with webpack's persistent cache semantics.cache.storage.directoryis now the base directory, while the final cache location defaults to<directory>/<cache.name>. Default cache paths remain unchanged.If you previously used
storage.directoryas the exact cache path, migrate it tostorage.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 🔨
Document 📖
Other Changes
New Contributors
Full Changelog: web-infra-dev/rspack@v2.1.7...v2.1.8
v2.1.7Compare Source
What's Changed
Performance 🚀
Bug Fixes 🐞
Other Changes
Full Changelog: web-infra-dev/rspack@v2.1.6...v2.1.7
v2.1.6Compare Source
What's Changed
New Features 🎉
Performance 🚀
in #14834
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors
Full Changelog: web-infra-dev/rspack@v2.1.5...v2.1.6
v2.1.5Compare Source
What's Changed
Bug Fixes 🐞
Refactor 🔨
Other Changes
Full Changelog: web-infra-dev/rspack@v2.1.4...v2.1.5
v2.1.4Compare Source
Highlights
Fine-grained
import.metaparser optionsmodule.parser.javascript.importMetanow accepts an object so each knownimport.metaproperty can be configured independently, on top of the existingtrue/false/'preserve-unknown'values. Properties set tofalseare 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.Static worker URL output
module.parser.javascript.workernow accepts an object form withaliasandurl, alongside the existingbooleanandstring[]forms. Withurl: 'new-url-relative'andoutput.moduleenabled, Rspack emits a staticnew URL()expression fornew Worker(new URL(..., import.meta.url))instead of runtime code, honoringoutput.publicPathandoutput.workerPublicPath.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.3Compare Source
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Other Changes
d6bd70b(#14646 by @stormslowly)Full Changelog: web-infra-dev/rspack@v2.1.2...v2.1.3
v2.1.2Compare Source
What's Changed
Highlights 💡
Support
import.metastyle module variablesRspack now exposes more module variables through
import.meta, which aligns better with the ESM specification than CommonJS-style injected globals. When authoring ESM modules,import.metais now the recommended way to access these runtime values.The newly supported
import.metaproperties are:import.meta.rspackPublicPath__webpack_public_path__import.meta.rspackBaseUri__webpack_base_uri__import.meta.rspackShareScopes__webpack_share_scopes__import.meta.rspackInitSharing__webpack_init_sharing__import.meta.rspackNonce__webpack_nonce__import.meta.rspackUniqueId__rspack_unique_id__import.meta.rspackVersion__rspack_version__import.meta.rspackHash__webpack_hash__New Features 🎉
import.metastyle module variables (#14539 by @LingyuCoder)Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes
Full Changelog: web-infra-dev/rspack@v2.1.1...v2.1.2
v2.1.1Compare Source
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Configuration
📅 Schedule: (in timezone Asia/Shanghai)
* 0-3 1,15 * *)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.