v1.7.0
What's Changed
- chore: Upgrade
mimalloc
by @Brooooooklyn in #9173 - chore(es): Bump
unicode-id-start
tov1.2.0
by @Boshen in #9177 - chore(es/typescript): Improve decorator handling of fast strip by @magic-akari in #9178
- fix(es/compat): Consider only the variables used in the closure by @CPunisher in #9151
- chore(ci): Configure
codspeed
by @kdy1 in #9189 - perf(bindings/wasm): Shrink the size of the wasm file by @magic-akari in #9191
- feat(allocator): Initialize package by @kdy1 in #9195
- chore(ci): Fix
codspeed
benchmark by @kdy1 in #9194 - fix(es/typescript): Handle unicode for fast ts strip by @magic-akari in #9202
- perf(es/typescript): Add a benchmark for fast TS strip by @kdy1 in #9205
- fix(es/modules): Fix lint issue by @kdy1 in #9206
- fix(es/minifier): Fix case matching by @CPunisher in #9208
- perf(es/visit): Introduce
standard_only_*
macros by @kdy1 in #9207 - feat(es/utils): Support for arrays using
cast_to_number
by @levi-nz in #9212 - perf(es/ast): Rollup merge of breaking changes by @kdy1 in #9180
- chore: Drop cyclic dependency by @kdy1 in #9217
- chore(ci): Fix CI by @kdy1 in #9219
- fix(es/compat): Add support for destructuring with BigInts by @magic-akari in #9215
- fix(es/minifier): Fix compress pow
NaN
by @Fnll in #9210 - test(es/base): Disable flaky benchmark by @kdy1 in #9221
- fix(es/minifier): Fix variable declaration in default branch by @CPunisher in #9220
- perf(bindings): Invert Wasm size shrink by @kdy1 in #9224
- fix(es/minifier): Check
this
in function params by @CPunisher in #9229 - refactor(es/helpers): Remove unnecessary exports by @devjiwonchoi in #9225
- fix(es/fixer): Wrap
in
expr in for-in head by @magic-akari in #9209 - chore(ci): Use dynamic matrix for
cargo-test
action by @kdy1 in #9233 - feat(allocator): Implement
SwcAlloc
by @kdy1 in #9232 - fix(allocator): Fix allocator & add benchmark by @kdy1 in #9234
- refactor(allocator): Use
&
instead of a thread-local by @kdy1 in #9235 - feat(es/typescript): Add
transform
mode back to fast TS strip by @kdy1 in #9237 - perf(allocator): Drop
scoped_tls
by @kdy1 in #9240 - feat(allocator): Add a cargo feature by @kdy1 in #9239
- fix(es/codegen): Fix codegen of large numeric literals by @imranbarbhuiya in #9226
- fix(es/minifier): Remove optimization for array pattern by @CPunisher in #9241
- feat(allocator): Implement
default
mode by @kdy1 in #9242 - fix(es/typescript): Fix
transform
mode by @kdy1 in #9243 - chore: Apply
cargo-autoinherit
by @kdy1 in #9244 - test: Enable scoped API by default by @kdy1 in #9247
- doc(contributing): Fix deno installation url by @ragingwind in #9249
- fix(allocator): Remove wrong assertions and add tests by @kdy1 in #9252
- refactor(allocator): Use RAII guard instead of
scope
by @kdy1 in #9254 - perf(es): Rollup merge of breaking changes by @kdy1 in #9257
- fix(es/minifier): Fix exponentiate operator by @magic-akari in #9251
- fix(es/minifier): Fix panic in bitwise logic and incorrect values by @levi-nz in #9258
- fix(es/minifier): Collect raw str values for new Tpl element by @stormslowly in #9261
- test(allocator): Merge test by @kdy1 in #9267
- refactor(es/codegen): Revert #9248 by @kdy1 in #9266
- refactor(visit): Pre-generate visitor code by @kdy1 in #9262
- fix(es/quote): Fix macro by @kdy1 in #9270
- fix(es/typescript): Workaround
wasm-bindgen
by @magic-akari in #9272
New Contributors
- @Boshen made their first contribution in #9177
- @Fnll made their first contribution in #9210
- @devjiwonchoi made their first contribution in #9225
- @imranbarbhuiya made their first contribution in #9226
- @ragingwind made their first contribution in #9249
Full Changelog: v1.6.13...v1.7.0