v1.4.0-beta.1
What's Changed
Breaking Changes π
- chore: bump swc to 27.0.4 by @GiveMe-A-Name in #10660
- refactor: lazyCompilationMiddleware no longer accepts config parameter, instead it uses the config from the compiler instance by @JSerFeng in #9828
Performance Improvements β‘
- perf: introduce
ModuleGraphCache
and cache the result ofget_mode
anddetermine_export_assignments
by @CPunisher in #10584 - perf: when removed files we donot need rebuild the original module by @SyMind in #10648
- perf: reduce memory allocation in
esm_export_imported_specifier_dependency
by @CPunisher in #10657 - perf: create zod schema on demand by @chenjiahan in #10669
New Features π
- feat: add swc transformSync and minifySync api by @GiveMe-A-Name in #10640
- feat: inline const for leaf modules by @ahabhgk in #10451
Bug Fixes π
- fix: change bailout_reason to array in rsdoctor native plugin by @easy1090 in #10653
- fix(schema): add
jsc.output.charset
of swc-loader by @chenjiahan in #10668
Refactor π¨
- refactor: make merge modified files and removed files by @jerrykingxyz in #10662
Other Changes
- chore: release v1.4.0-beta.0 by @h-a-n-a in #10647
- chore(wasm): cleanup useless
start/shutdownAsyncRuntime
and exports by @CPunisher in #10659 - chore(workflow): update changelog generator to include refactor label by @chenjiahan in #10656
- chore: update team members by @chenjiahan in #10667
- chore(deps): update dependency core-js to v3.43.0 by @renovate in #10665
- chore(deps): update dependency tsx to ^4.20.3 by @renovate in #10666
- chore: bump swc to 27.0.4 by @GiveMe-A-Name in #10660
- chore(deps): update dependency path-serializer to v0.5.0 by @renovate in #10671
- chore(deps): update dependency terser to v5.42.0 by @renovate in #10672
- chore(deps): update dependency zod-validation-error to v3.5.0 by @renovate in #10673
- chore(deps): update dependency @playwright/test to v1.53.0 by @renovate in #10196
- chore(wasm): publish wasi binding 2 by @CPunisher in #10645
- chore(ci): use windows self hosted by @stormslowly in #10579
- refactor!: lazy compilation middleware supports multiCompiler and use config from compiler instance by @JSerFeng in #9828
Full Changelog: v1.4.0-beta.0...v1.4.0-beta.1