v0.3.8
版本发布时间: 2023-10-24 14:41:34
web-infra-dev/rspack最新发布版本:v0.3.13(2023-11-15 21:30:09)
Highlights
Top-level await
Support top-level await
and enabled by default, or you can disable this by experiments.topLevelAwait = false
.
Top-level await
can only be used in ECMAScript Module (type: "javascript/esm"
), with this feature you can use await
at top-level, await
resources, await
import, etc.
const db = await import('./db.js');
const connection = await db.connect();
What's Changed
Exciting New Features 🎉
- feat: built in progress plugin support profile option by @faga295 in https://github.com/web-infra-dev/rspack/pull/3803
- feat: inner graph part one by @underfin in https://github.com/web-infra-dev/rspack/pull/4176
- feat: support TLA by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4345
- feat: update dependency by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4361
Bug Fixes 🐞
- fix: variable undefined with multiple same import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4356
- fix: update lockfile by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4359
- fix: splitChunks.enforce, pass more webpack-tests by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4353
- fix(splitChunks): not matched cacheGroup should not affect cacheGroupIndex by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4373
- fix: HarmonyExportImportedDependency
get_exports
by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4388 - fix: 🐛 use get_ids instead of
self.ids
by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4400
Other Changes
- chore: align webpack tests by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4337
- chore: enable more webpack-test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4351
- chore: update vue-loader@15.11.0 stable version by @jeromehan in https://github.com/web-infra-dev/rspack/pull/4355
- chore: use self hosted ci by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4360
- chore: expose discord explictly in readme by @hardfist in https://github.com/web-infra-dev/rspack/pull/4368
- chore: support run ci with forked repo PR by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4369
- chore: bump swc by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4372
- chore: add auto issue comment by @hardfist in https://github.com/web-infra-dev/rspack/pull/4371
- chore: remove unused vars & prefer const & remove default generic value by @SnowingFox in https://github.com/web-infra-dev/rspack/pull/4079
- chore: set lang to en for react-ts template by @hardfist in https://github.com/web-infra-dev/rspack/pull/4378
- chore: fix rustup install components failed by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4387
- chore: enable oxc_resolver in webpack tests by @Boshen in https://github.com/web-infra-dev/rspack/pull/4374
New Contributors
- @jeromehan made their first contribution in https://github.com/web-infra-dev/rspack/pull/4355
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.7...v0.3.8