Unclaimed project
Are you a maintainer of rspack? Claim this project to take control of your public changelog and roadmap.
Claim this projectChangelog
rspack
The fast Rust-based JavaScript bundler with webpack-compatible API π¦οΈ
Back to changelogImproved
v2.0.0-alpha.0
Note π‘
This is an early preview release intended for testing only. It introduces a number of breaking changes that are not yet final.
See https://github.com/web-infra-dev/rspack/discussions/9270 for all breaking changes.
What's Changed
Breaking Changes π
- feat!: remove
experiments.SubResourceIntegrityPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12642
- feat!: remove
experiments.rspackFuture and move bundlerInfo to output by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12654
- feat!: remove
experiments.parallelLoader by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12658
- feat!: remove
profile and stats.profile by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12662
- feat!: enable
verbatimModuleSyntax of builtin:swc-loader by default by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12668
- feat!: remove
rspack.experiments.lazyCompilationMiddleware by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12736
feat!: remove deprecated WarnCaseSensitiveModulesPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12737feat!: remove deprecated draft option from LightningCSS minimizer by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12740feat!: remove deprecated cssHeadDataCompression option by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12741feat!: remove deprecated output library fields by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12745feat!: make @rspack/dev-server an optional peer dependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12750feat!: use rspackChunk as default value of chunkLoadingGlobal by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12779feat!: disable requireAsExpression by default by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12786feat!: use "rspack" as default trustedTypes policy name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12799feat!: remove sri option of HtmlRspackPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12651feat!: remove output.charset by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12660feat!: disable .swcrc reading in JavaScript compiler by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12667feat!: remove deprecated getHooks method from plugins by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12738feat!: Rspack off modules and assets in normal stats by @SyMind in https://github.com/web-infra-dev/rspack/pull/12701feat!: default loader/plugin target by rspack target by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12752feat!: use rspackHotUpdate as default hotUpdateGlobal by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12774feat!: enable css by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12744feat!: default targets for loader/plugin derived by rspack target, part 2 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12780feat!: do not expose EsmLibraryPlugin to user directly, use modern-module instead by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12792refactor!: drop support for Node 18 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12739refactor!: drop CommonJS build and transition to pure ESM package by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12733refactor!: use EsmLibraryPlugin for modern-module library type by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12712refactor!: move incremental option from experiments to top-level config by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12793Bug Fixes π
- fix: failed to resolve 'browserslist-load-config' module by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12767
- fix: correct watchpack require path by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12771
- fix(browser): fix
@rspack/browser failure after pure esm transformation by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12781
- fix(mf): async startup e2e test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12808
Document Updates π
- docs: remove deprecated parallelCodeSplitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12751
- docs: add missing documentation for JavascriptParserOptions by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12748
- docs: update bundlerInfo version and formatting by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12772
- docs: fix typo in CSS docs by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12784
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.7.3...v2.0.0-alpha.0