Skip to content

Latest commit

 

History

History
1780 lines (617 loc) · 85 KB

CHANGELOG-CORE.md

File metadata and controls

1780 lines (617 loc) · 85 KB

Changelog

[[email protected]] - 2025-02-24

Bug Fixes

  • (error-reporters) Store diagnostics in TransformOutput (#10027) (52caf23)

  • (es/loader) Fix the absolute path check when resolving modules (#10080) (a3894ae)

  • (es/types) Add transform.verbatimModuleSyntax (#10079) (a883cdc)

  • (swc_common) Fix build with swc_allocator/nightly (#10067) (6a90b1f)

Documentation

Features

  • (es/ast) Add explicit namespace field to distinguish namespace and module declarations (#10023) (76c2cba)

  • (es/ast) Add import attributes to TsImportType (#9796) (7d297be)

  • (es/minifier) Make seq inliner inline into var without init (#10077) (c4a839b)

  • (swc_allocator) Provide allocators (#10061) (d4362f7)

Miscellaneous Tasks

  • (swc_allocator) Add #[inline] to allocator methods (#10066) (853eb53)

Performance

Refactor

[[email protected]] - 2025-02-20

Bug Fixes

  • (es/minifier) Fix the order of match arms to inline correctly (#10053) (f0f842d)

Features

  • (es/minifier) Inline across side-effect-free member exprs, (#10056) (19d01d7)

  • (es/visit) Introduce core-only visitors (#10049) (bc666be)

Miscellaneous Tasks

  • (deps) Update dependency swc-plugin-coverage-instrument to ^0.0.26 (#10051) (d3fbd21)

  • (swc_allocator) Remove nightly from default feature (#10058) (e78b9d1)

Refactor

  • (es/minifier) Remove CompileUnit to simplify (#10055) (c75578b)

[[email protected]] - 2025-02-19

Bug Fixes

  • (hstr) Prevent memory leak for global stores (#10047) (4718bc0)

Miscellaneous Tasks

  • (es/minifier) Make minify-all example ignore parsing errors (#10045) (6c7ec46)

Testing

  • (ts/fast-strip) Add tests for declare module error cases (#10040) (37672e0)

Build

  • (es) Select optimization level for each crates (#10046) (c28d494)

[[email protected]] - 2025-02-17

Bug Fixes

  • (deps) Update cargo (patch) (#10021) (ffb7734)

  • (typescript) Improve type inferring for undefined and null (#10038) (5059ece)

  • (typescript) Remove the usages of private members (#10037) (8410b59)

Performance

Testing

[[email protected]] - 2025-02-13

Bug Fixes

  • (es/minifier) Check assign target before merge assign cond (#10020) (6dab49a)

  • (es/parser) Preserve comment positions with leading semicolon (#10019) (c9937b6)

  • (swc_common) Fix panic with non-narrow chars with width != 2 (#10011) (f9f4cac)

  • (ts/fast-strip) Handle unsupported module keyword (#10022) (308f5d0)

Performance

  • (es/codegen) Reduce allocation using compact_str (#10008) (7d7319f)

[[email protected]] - 2025-02-08

Performance

[[email protected]] - 2025-02-06

Bug Fixes

  • (es/minifier) Dont't optimize swtich case before DCE (#9994) (afe21b5)

  • (es/minifier) Revert #10006 (#10007) (7e21323)

  • (es/parser, es/codegen) Handle trailing empty slots in array patterns (#9992) (1a87e76)

Features

  • (es/ast) Add ShrinkToFit implementation (#10009) (6849b6a)

  • (es/helpers) Update package exports for module-sync and webpack compatibility (#9995) (6f4e7ad)

Performance

  • (es/minifier) Do not clone from take_ident_of_pat_if_unused (#10005) (dc3b46e)

  • (es/minifier) Allocate in once from mark_property_mutation (#10004) (4a90e51)

  • (es/minifier) Limit infection analysis by the entry size (#10006) (1a3a4b9)

[[email protected]] - 2025-02-05

Bug Fixes

[[email protected]] - 2025-02-05

Bug Fixes

  • (es/react) Avoid adding __self in constructors of derived class in the jsx_self (#9987) (83f24af)

Features

Performance

  • (es/codegen) Remove needless allocations (#9978) (9c89d57)

[[email protected]] - 2025-02-03

Bug Fixes

  • (es/transforms) Pass unresolved_mark to simplifier instead of top_level_mark (#9989) (963b088)

[[email protected]] - 2025-02-03

Bug Fixes

Features

  • (ts/fast-strip) Support type-only/uninstantiated namespaces (#9983) (a72c6fa)

Performance

[[email protected]] - 2025-02-01

Bug Fixes

Features

  • Add (experimental) nodejs interop crates (#9974) (37e0ea5)

  • Add (experimental) js-interop npm package (#9975) (eebb0ea)

[[email protected]] - 2025-01-29

Bug Fixes

  • (es/parser) Remove wrong check about const without init (#9970) (1b57261)

Performance

  • (es/minifier) Make analyzer not call collect_infects_from recursively (#9924) (37616c3)

  • (es/minifier) Skip complex inline operations if possible (#9972) (772cc30)

  • (es/minifier) Merge binding analyzer into infection analyzer (#9973) (ca8a71f)

[[email protected]] - 2025-01-27

Bug Fixes

  • (es) Restore JSON config & Adjust feature renaming (#9967) (72e5455)

[[email protected]] - 2025-01-27

Bug Fixes

  • (es/minifier) Avoid paren when compressing ternary (#9920) (9d6fe37)

  • (es/parser) Parse yield<T> (v: T)=>v (#9915) (04333aa)

  • (ts/fast-strip) More robust generic arrow handling (#9913) (f7faa7c)

  • (typescript) Allow references to the global Symbol in computed property names under isolatedDeclarations (#9869) (e4c1e03)

Features

Miscellaneous Tasks

Performance

  • (es/react) Use proper string types for react configuration (#9949) (1bf837e)

  • (es/utils) Prevent too many recursion (#9931) (d24f785)

  • (es/utils) Restrict recursion of get_type (#9933) (1781b85)

  • (preset-env) Store Versions in Arc (#9950) (03dffb5)

Refactor

[[email protected]] - 2025-01-22

Features

Miscellaneous Tasks

  • (es/minifier) Add a script for samply profiler (#9923) (8f8dcaa)

Performance

  • (es/minifier) Cache var_or_default calls (#9909) (4a3be8d)

  • (es/minifier) Invert cache to be really a cache (#9910) (8bfb0e5)

Refactor

  • (es/minifier) Make minify-all example sequential (#9912) (5b5c87e)

[[email protected]] - 2025-01-21

Features

  • (es/minifier) Compress foo ? num : 0 into num * !!foo (#9908) (ce22557)

[[email protected]] - 2025-01-20

Bug Fixes

Features

[[email protected]] - 2025-01-20

Documentation

  • (es/parallel) Improve document of Parallel (#9896) (9962c9c)

Features

  • (es/minifier) Print total size from minify-all example (#9897) (134000f)

Miscellaneous Tasks

  • (es/minifier) Print slow files from minify-all example (#9899) (2d87b89)

Performance

  • (es/minifier) Make character frequency analysis parallel (#9895) (ca2fd1e)

  • (es/minifier) Parallelize handling of class members (#9900) (ed74839)

  • (es/minifier) Adjust threshold for parallel char frequency calculation (#9901) (47ea8de)

  • (es/minifier) Do heavy operation only if required (#9902) (2687231)

[[email protected]] - 2025-01-19

Performance

  • (es/minifier) Box VarUsageInfo of ProgramData (#9894) (fafd754)

[[email protected]] - 2025-01-17

Bug Fixes

  • (typescript) Collect usages in extend clauses of classes and interfaces (#9893) (ef29ef6)

Performance

  • (es/codegen) Remove needless allocations (#9890) (f230ff2)

[[email protected]] - 2025-01-16

Bug Fixes

[[email protected]] - 2025-01-16

Bug Fixes

  • (es/ts_strip) Handle ASI hazard in return statement (#9882) (121b5fe)

Refactor

  • (es/minifier) Add a way to profile minifier for real-world inputs (#9881) (9657294)

  • (es/minifier) Use chili for minify-all example (#9885) (197f0bc)

  • (es/minifier) Make minify-all profilable (#9888) (fbad136)

[[email protected]] - 2025-01-15

Bug Fixes

  • (es/decorators) Fix init order of 2022-03 impl (#9760) (751a310)

Performance

  • (bench) Run benchmark on a custom runner (#9877) (2d6f9a5)

Refactor

[[email protected]] - 2025-01-13

Bug Fixes

  • (ci/publish) Do not tag stable if onlyNightly is on (#9863) (c0c6056)

Features

  • (typescript) Check computed property names of ts signatures (#9867) (caed78a)

Performance

  • (es/minifier) Make the first run of DCE more efficient (#9868) (7329824)

  • (es/minifier) Adjust parallel threshold (#9872) (d5d856c)

  • (es/renamer) Use IndexSet for rename queue (#9866) (f404720)

  • (es/utils) Optimize maybe_par_idx_raw (#9870) (46e3d77)

  • Enable concurrent in codspeed bench (#9862) (6c2bb13)

[[email protected]] - 2025-01-10

Documentation

  • Update the link to the team (0fcdc31)

Features

  • (ts/fast-strip) Distinguish invalid vs unsupported (#9846) (5709bc2)

Testing

  • (parallel) Add test to debug segfault on windows x64 (#9857) (ae53a35)

Build

[[email protected]] - 2025-01-09

Bug Fixes

[[email protected]] - 2025-01-07

Miscellaneous Tasks

Performance

  • (es/minifier) Speed up merge_sequences_in_exprs by caching computation (#9843) (6e5632f)

[[email protected]] - 2025-01-07

Documentation

Performance

Build

[[email protected]] - 2025-01-06

Features

[[email protected]] - 2025-01-06

Miscellaneous Tasks

Performance

  • (es/lints) Configure a benchmark for ES lints (#9833) (734ec21)

  • (es/lints) Make ES lints faster (#9837) (d56a473)

  • (es/minifier) Improve parallelism and cache friendliness (#9813) (f8dff56)

  • (es/minifier) Introduce FastJsWord and FastId in swc_atoms (#9826) (ef0ec38)

  • (es/minifier) Update hstr to v0.2.14 (#9828) (bc4ec00)

Refactor

  • (es/lints) Cleanup & prepare using chili (#9838) (d47844b)

[[email protected]] - 2024-12-31

Bug Fixes

  • (deps) Update cargo (patch) (#9733) (fb2f6e4)

  • (es/minifier) Fix minification of framer-motion by checking cons.termniates() (#9818) (512c91f)

  • (typescript) Fix wrong check for super class (#9822) (2307a4d)

  • Remove Caused by: 'failed to parse' from TS blank space (#9820) (aaeb0ab)

[[email protected]] - 2024-12-27

Bug Fixes

  • (es/codegen) Emit semicolon after using declarations (#9816) (556d924)

Documentation

[[email protected]] - 2024-12-18

Bug Fixes

  • (es) Don't panic when wasm bytecheck faild (#9803) (c81be2e)

[[email protected]] - 2024-12-16

Bug Fixes

  • (es/parser) Do not parse empty stmt after using decl (#9798) (c2696db)

[[email protected]] - 2024-12-09

Features

  • (es/transforms) Add module.outFileExtension (#9784) (e04c7b3)

[[email protected]] - 2024-12-09

Bug Fixes

  • (es/compat) Fix marker for inlined helpers (#9776) (f54ec2c)

  • (es/minifier) Do not inline into the exact LHS (#9777) (985977b)

  • (es/resolver) Fix wrong syntax context of vars with the same names as catch params (#9786) (5a44c6b)

Miscellaneous Tasks

  • (deps) Update dependency magic-string to v0.30.14 (#9764) (6e46a8b)

[[email protected]] - 2024-12-02

Features

  • (es/minifier) Support preserve_annotations of terser (#9775) (6e1c9fd)

[[email protected]] - 2024-12-02

Bug Fixes

  • (es/codegen) Use raw value for emitting JSX text (#9762) (b83c44f)

Features

  • (typescript) Align isolatedDeclaration implementation with tsc (#9715) (0adad25)

  • Apply Wasm-breaking changes (#9771) (ed65eee)

Miscellaneous Tasks

  • (deps) Update dependency magic-string to v0.30.13 (#9747) (fa80a1e)

Refactor

  • (estree/compat) Do not use nightly features (#9772) (0f12bbd)

[[email protected]] - 2024-11-25

Bug Fixes

  • (@swc/types) Tsc build file ignored by npm (#9754) (14a5c1e)

  • (es) Source map super(...args) calls in injected constructors (#9745) (35b0ca0)

  • (es/minifier) Drop console in optional chainings (#9759) (39271ad)

Documentation

Features

[[email protected]] - 2024-11-18

Bug Fixes

  • (es/plugin) Migrate swc plugin new to use .cargo/config.toml (#9740) (4ffb21e)

[[email protected]] - 2024-11-16

Miscellaneous Tasks

Refactor

  • (es/compat) Use special span instead of passing static_blocks_mark (#9725) (6ad0735)

[[email protected]] - 2024-11-12

Bug Fixes

  • (es/resolver) Ignore VarDecl with declare: true (#9734) (aa0f784)

Features

Miscellaneous Tasks

Performance

  • (es/plugin) Make analyze_source_file lazy, again (#9732) (c1d12d6)

Refactor

[[email protected]] - 2024-11-11

Features

  • (es/codegen) Implement proper inline_script support (#9729) (e732a36)

[[email protected]] - 2024-11-06

Bug Fixes

[[email protected]] - 2024-11-06

Bug Fixes

Miscellaneous Tasks

  • (deps) Update rust crate is-macro to v0.3.7 (#9713) (d48e6e8)

[[email protected]] - 2024-11-06

Bug Fixes

Features

  • (typescript) Port deno isolatedDeclarations updates (#9712) (6194044)

[[email protected]] - 2024-11-04

Bug Fixes

  • (es/typescript) Handle ASI hazards in fast type strip (#9707) (c135f71)

[[email protected]] - 2024-11-02

Performance

  • (es/renamer) Modify parallel renaming threshold (#9706) (91a9106)

[[email protected]] - 2024-11-02

Bug Fixes

  • (es/typescript) Handle multiline type parameters in async arrow functions (#9704) (c5ed19c)

[[email protected]] - 2024-11-01

Features

  • (es) Add es2023 and es2024 to EsVersion (#9700) (5a6f0e6)

  • (es/plugin) Introduce manual-tokio-runtmie to swc crate (#9701) (97298c4)

Performance

[[email protected]] - 2024-10-31

Bug Fixes

  • (es/parser) Parse await using() call (#9693) (bcf05de)

  • (es/resolver) Skip resolving lowercase JSXIdentifiers (#9686) (6ed1715)

  • (es/types) Add jsc.experimental.keepImportAssertions to types (#9691) (4b4dcfa)

Performance

[[email protected]] - 2024-10-30

Bug Fixes

  • (es/generator) Fix code generation for break in nested while (#9684) (65872af)

Miscellaneous Tasks

Performance

[[email protected]] - 2024-10-29

Performance

  • (visit) Introduce Pass API and adjust visitor APIs for it (#9680) (581aafb)

[[email protected]] - 2024-10-29

Features

  • (es/minifier) Optimize switch with side effect and termination tests (#9677) (7344a63)

  • (es/parser) Ability to get script's potential module errors (#9682) (2bbd1e8)

[[email protected]] - 2024-10-26

Bug Fixes

  • (typescript) Check whether the method is abstract when checking is_overload (#9678) (78500af)

Miscellaneous Tasks

  • (deps) Update dependency swc-plugin-coverage-instrument to ^0.0.25 (#9676) (b8d255b)

[[email protected]] - 2024-10-24

Bug Fixes

  • (bindings) Update napi to handle string with \0 (#9665) (8f45eaf)

  • (bindings/node) Add VisitTsPropertySignature (#9670) (715c42c)

  • (es/codegen) Improve EndsWithAlphaNum (#9675) (ba2a942)

  • (es/compat) Add missing visit children for destructuring (#9658) (32116a0)

  • (es/renamer) Check preserved in normal renaming mode (#9666) (87b4e10)

  • (wasm-typescript) Fix option types of functions (#9662) (4cbe33c)

Documentation

Features

  • (es/minifier) Implement optional catch binding (#9657) (f70b842)

[[email protected]] - 2024-10-17

Bug Fixes

  • (es/proposal) Use tsc version of explicit resource management (#9585) (f735108)

[[email protected]] - 2024-10-17

Bug Fixes

  • (es/parser) Correct > and < when exit type context (#9653) (abffc07)

Miscellaneous Tasks

  • (es/typescript) Improve enum comments and sourcemap (#9652) (31fe3b6)

[[email protected]] - 2024-10-15

Bug Fixes

  • (es) Run esnext transforms on esnext target (#9644) (8a19201)

  • (es/minifier) Check type of assignment target before merging assignments (#9617) (4436621)

Features

  • (es) Introduce runPluginFirst for Wasm plugins (#9645) (3d3e434)

  • (es/minifier) Support unary negate in cast_to_number (#9642) (88a2186)

Miscellaneous Tasks

  • (deps) Update dependency magic-string to v0.30.12 (#9634) (085bc19)

[[email protected]] - 2024-10-12

Bug Fixes

  • (es/codegen) Emit space after div if rhs has leading comment (#9631) (f2be26e)

  • (es/lints) Correct the false positive error of TS2309 (#9635) (f74c1f3)

  • (es/minifier) Only merge last if return (#9633) (6f52949)

[[email protected]] - 2024-10-10

Bug Fixes

  • (es/codegen) Fix source map so it works with Sentry (#9627) (9c90a73)

Features

  • (bindings/html) Accept Buffer|string instead of Buffer (#9625) (62edb36)

Build

[[email protected]] - 2024-10-08

Bug Fixes

Features

  • (es/preset-env) Update preset-env data (#9573) (9a11d34)

  • (es/testing) Parse test code as a Program instead of a Module (#9623) (bfea322)

[[email protected]] - 2024-10-08

Bug Fixes

  • (es/minifier) Compress consecutive return statements properly (#9620) (8263da1)

  • (es/testing) Revert #9264 (#9621) (85f5e5b)

  • (html/minifier) Fix HTML minifier TS types (#9615) (7b98bb5)

Features

  • (es/testing) Parse test code as a Program instead of a Module (#9264) (166b858)

Miscellaneous Tasks

Performance

Refactor

  • (es/typescript) Simplifying enum and namespace transforms (#9558) (2480bb0)

[[email protected]] - 2024-10-02

Bug Fixes

  • (es/module) Allow TypeScript nodes for Rewriter (#9606) (4ee45ac)

Performance

  • (es/codegen) Reduce usage of tracing::instrument (#9604) (2f06fc5)

  • (es/transforms) Copy benchmarks from oxc (#9602) (24c3a0c)

  • (es/typescript) Reduce unnecessary visits (#9605) (866af6c)

[[email protected]] - 2024-10-01

Bug Fixes

Features

  • (es) Add options to disable all esnext transforms and lints (#9597) (f2b0766)

[[email protected]] - 2024-10-01

Bug Fixes

  • (allocator) Fix allocator & add benchmark (#9234) (037dad5)

  • (allocator) Remove wrong assertions and add tests (#9252) (d8e8b04)

  • (ast) Add archive(check_bytes) to all relevant AST types (#9574) (185d6f5)

  • (bindings/types) Add missing mangle options (#9298) (567f40d)

  • (bindings/wasm) Fix typing (#9469) (8c007c4)

  • (ci) FIx pattern for actions/download-artifact (ac7bd31)

  • (cli) Exclude non-files from get_files_list (#9560) (85cc2bd)

  • (common) Fix StringInput.end_pos (#9362) (5368e18)

  • (common) Do not generate invalid source map (#9050) (9d65c77)

  • (common) Require newer version of allocator (#9386) (4e854c7)

  • (common) Remove unused import (#9387) (f530476)

  • (common) Do not use adjust_mappings from sourcemap crate (#9437) (563c162)

  • (common) Use SourceMap::adjust_mappings in correct order (#9447) (05961eb)

  • (deps) Update cargo (patch) (#9317) (ea66e84)

  • (es) Improve sourcemap url error messages. (#9422) (230d1d9)

  • (es) Mark TypeScript nodes as reachable from Evaluator (#9440) (308e5ec)

  • (es) Preserve more comments (#9449) (673655c)

  • (es/ast) Make span of binding ident include type ann (#9293) (2b32481)

  • (es/ast) Accept any case of EsVersion during deserialization (#9329) (56da6be)

  • (es/codegen) Fix codegen of large numeric literals (#9226) (fba79e6)

  • (es/codegen) Emit question token for class methods (#9342) (636585b)

  • (es/codegen) Print the missing abstract in class expression (#9372) (c2e3021)

  • (es/codegen) Handle minify number (#9541) (8b1e442)

  • (es/codegen) Ensure decorators are emitted first in TS paramters (#9545) (47ef38d)

  • (es/codegen) Fix wrong sourcemap when there are new lines in tpl (#9578) (cf74382)

  • (es/codegen) Emit .d.ts when using --out-file (#9582) (3d9d641)

  • (es/compat) Add support for destructuring with BigInts (#9215) (2cc7028)

  • (es/compat) Init this in sub class constructor for async (#9446) (bfaf31b)

  • (es/compat) Handle label block in constructor (#9528) (c43dbad)

  • (es/compat) Skip getter and setter as FlowHelper function do (#9580) (14cfd70)

  • (es/decorator) Add support for private access expressions in legacy decorators (#9535) (62ed065)

  • (es/decorators) Fix TypeScript syntax assertion (#9336) (acb3952)

  • (es/decorators) Use correct class name reference (#9375) (badd6a9)

  • (es/decorators) Fix metadata for accessors (#9444) (99738ef)

  • (es/fixer) Wrap in expr in for-in head (#9209) (5cd837f)

  • (es/isolated-dts) Preserve comments (#9572) (6d15d9c)

  • (es/minifier) Fix compress pow NaN (#9210) (2b361e6)

  • (es/minifier) Fix variable declaration in default branch (#9220) (a7c82bd)

  • (es/minifier) Check this in function params (#9229) (da4866d)

  • (es/minifier) Remove optimization for array pattern (#9241) (521161e)

  • (es/minifier) Fix exponentiate operator (#9251) (06bb533)

  • (es/minifier) Fix panic in bitwise logic and incorrect values (#9258) (baeb9e2)

  • (es/minifier) Collect raw str values for new Tpl element (#9261) (6ddbfa0)

  • (es/minifier) Support minifying JSX (#9271) (9a6367b)

  • (es/minifier) Fix detection of this (#9339) (77da7cf)

  • (es/minifier) Fix analysis of for-in/of (#9340) (1454ab5)

  • (es/minifier) Preserve flags while dropping elements of SeqExpr (#8907) (24e8798)

  • (es/minifier) Preserve function length (#9389) (679682c)

  • (es/minifier) Force rename synthesized identifiers (#9473) (c72b5f8)

  • (es/minifier) Mark LHS of for-in/of as update (#9474) (ac432c4)

  • (es/minifier) Track if a var is used with in (#9508) (7d6269e)

  • (es/minifier) Iterate object properties in reverse direction while inlining property access (#9507) (f584ef7)

  • (es/minifier) Fix name mangler (#9524) (5fd68f9)

  • (es/minifier) typeof class should be function (#9522) (c7fdd6b)

  • (es/minifier) Prevent removing side effects from accessing getter (#9530) (8513816)

  • (es/minifier) Avoid decl name when mangle with eval (#9546) (e2242c4)

  • (es/minifier) Check variable type while optimizing += (#9575) (04016e9)

  • (es/module) Drop the level of a few tracing events (#9380) (95af253)

  • (es/module) Rewrite import specifier in type declaration (#9577) (fc0ba2a)

  • (es/module) Fix jsc.paths using absolute paths with dots in a filename for an alias (#9595) (74e3d04)

  • (es/parser) Fix span for unterminated block comments (#9361) (dc1b87e)

  • (es/parser) Make UnterminatedBlockComment stick to the EOF (#9366) (4f0fc6e)

  • (es/parser) Fix span of EOF errors (#9378) (f702657)

  • (es/parser) Fix failure of TS instantiation followed by satisfies (#9583) (77900d8)

  • (es/quote) Fix macro (#9270) (93d9e44)

  • (es/typescript) Fix transform mode (#9243) (0e79a5b)

  • (es/typescript) Workaround wasm-bindgen (#9272) (6b1d2ff)

  • (es/typescript) Fix typings (#9301) (27ca712)

  • (es/typescript) Preserve type assertions (#9328) (4d60f52)

  • (es/typescript) Fix ASI in expression for fast strip (#9358) (3ee82e2)

  • (es/typescript) Handle single type statement in if/for/while (#9364) (2217730)

  • (es/typescript) Handle backtick in ASI issue (#9367) (6f1716c)

  • (es/typescript) Analyze import chain (#9369) (4f9116f)

  • (es/typescript) Strip declare export in strip-only mode (#9374) (c53cce4)

  • (es/typescript) Enable Injector to process JSX (#9395) (e24e2ff)

  • (es/typescript) Strip declaration of exported function overloads (#9397) (5c8aa52)

  • (es/typescript) Strip class modifiers (#9399) (124e5ff)

  • (es/typescript) Strip optional mark and definite mark (#9411) (8c161a0)

  • (es/typescript) Strip exported default overload function declaration (#9412) (b395f48)

  • (es/typescript) Strip this param in getter/setter (#9414) (442fb7b)

  • (es/typescript) Update ts-strip type definition (#9415) (165c8fa)

  • (es/typescript) Correctly handle deep import chains (#9487) (50d70d3)

  • (es/typescript) Correctly handle ESM context (#9490) (fc0483c)

  • (es/typescript) Preserve more comments (#9509) (3e253ec)

  • (es/typescript) Handle enum in single statement (#9532) (84b0043)

  • (es/typescrupt) Fix ASI issue in fast ts strip (#9332) (57146cf)

  • (es/utils) Use $crate for quote_ident!() (#9309) (bdaaf47)

  • (html) Fix html binding (eefae1c)

  • (plugin) Don't panic when ast byte not match (#9562) (c36871a)

  • (swc_core) Remove unused preset_env (#9333) (75bc7bf)

  • (visit) Fix regression (#9404) (041a7b7)

  • (visit) Fix regression of AST paths (#9420) (9751518)

Documentation

  • (bindings/wasm) Document supported TypeScript version (#9334) (66f31c0)

  • (contributing) Fix deno installation url (#9249) (ff5bbda)

  • (contributing) Add warning for test --all (#9338) (234bb97)

  • (es/minifier) Add contributing section (e22f3ba)

Features

  • (allocator) Implement SwcAlloc (#9232) (e343eb6)

  • (allocator) Add a cargo feature (#9239) (398dc21)

  • (allocator) Implement default mode (#9242) (b6333db)

  • (allocator) Feature gate nightly via macros (#9274) (a31fb58)

  • (allocator) Add maybe types (#9278) (a417ff4)

  • (bindings/html) Allow using lightningcss as minfiier (#9462) (74d6478)

  • (es/common) Introduce pure Span and BytePos to handle #__PURE__ (#9539) (f63a481)

  • (es/decorators) Groundwork for stage 3 decorator (#9450) (238ba8b)

  • (es/minifier) Drop more patterns with PURE marker (#9478) (ede1a52)

  • (es/minifier) Support mangle cache (#9489) (af922d8)

  • (es/parser) Disallow let let (#9484) (1121bc0)

  • (es/typescript) Add transform mode back to fast TS strip (#9237) (8231e3c)

  • (es/typescript) Add esm build for fast ts strip (#9286) (d10cb9f)

  • (es/typescript) Add native_class_properties to skip reordering of class properties inits (#9421) (d2929d1)

  • (estree/compat) Remove dependency on rayon (#9393) (34d1b27)

  • (html/minifier) Support using custom css minifier (#9425) (970cc81)

  • (plugin/runner) Improve error message (#9502) (da52930)

  • (visit) Make kind() accessible without swc_visit (#9382) (021e41d)

  • (visit) Add experimental traverse APIs (#9464) (3ee8980)

Miscellaneous Tasks

Performance

Refactor

Testing

Build