mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
69b2dfc181
### 🚀 Features -260425fsemantic/examples: Include unresolved references (#24214) (camc314) -2d9b0b3minifier: Fold boolean-literal ternary branches in value contexts (#24110) (Dunqing) -61fbf10ast: Implement `ReplaceWith` on all AST types (#24013) (overlookmotel) -7db7a29allocator: Add `ReplaceWith` trait (#24012) (overlookmotel) -4eb074emangler: Add `reserved` option for names that must not be mangled (#24041) (Dunqing) -2e62012data_structures: Add `StringExt` trait (#24006) (overlookmotel) -60e7160minifier: Drop side-effect-free IIFEs whose result is unused (#23967) (Dunqing) -26dd9e2ast: Add method to widen inherited enum ref to parent ref (#23961) (overlookmotel) ### 🐛 Bug Fixes -e8b50eetransformer: Clean up semantics for stripped TypeScript syntax (#24180) (camc314) -d966d0breact_compiler: Remove clippy allows (#24168) (Boshen) -854ef8dreact_compiler: Compile generic functions instead of over-bailing on type-param hoisting (#24158) (Boshen) -093586creact_compiler: Align memoization cache-slot allocation with Babel (#24157) (Boshen) -09c8f59react_compiler: Normalize snapshot fixture paths (#24142) (camc314) -f13df97react_compiler: Drop stray empty statement from catch bindings (#24133) (Boshen) -cb2a505react_compiler: Codegen destructuring reassignment targets (#24131) (Boshen) -b82c394react_compiler: Propagate codegen invariants instead of emitting empty bodies (#24128) (Boshen) -5771982react_compiler: Render unchanged programs as source in fixture snapshots (#24129) (Boshen) -4b16e1atransformer/async-to-generator: Preserve direct eval scope flags (#24136) (camc314) -4e9194freact_compiler: Lower `delete obj.prop` to Property/ComputedDelete (#24123) (Boshen) -0b25582ast: Type binding node `typeAnnotation` as `TSTypeAnnotation | null` (#23113) (Boshen) -018c0e5transformer: Hoist lowered async declarations (#22770) (camc314) -652fbafmangler: Keep names of destructured exported bindings (#24036) (Dunqing) -e274415minifier: Don't drop global calls that throw despite pure arguments (#23917) (Dunqing) -59abb30minifier: Only merge string literals in `try_fold_add` when the inner operator is `+` (#23622) (Jerry Zhao) ### ⚡ Performance -c5ca77btransformer: Avoid cloning refresh options (#24191) (camc314) -bf1a151react_compiler: Compile out debug printers (#24184) (Boshen) -abb44a0transformer: Build fixed object-rest arguments (#24190) (camc314) -a4db731isolated_declarations: Use `ReplaceWith` instead of `TakeIn` (#24016) (overlookmotel) -ff10855transformer: Use `ReplaceWith` instead of `TakeIn` (#24015) (overlookmotel) -bd49affecmascript: Avoid heap-allocating Math.min/max/imul operands (#23941) (Lawrence Lin) -e4b708breact_compiler: Skip compiled files before prefilters (#24171) (Boshen) -c59f2ferust: Return impl ExactSizeIterator from slice-backed accessors (#24144) (Boshen) -5d6d04acodegen: SWAR-skip boring byte runs in sourcemap line/column scan (#24023) (Boshen) -a55e0betraverse: Reduce string operations in `get_var_name_from_node` (#24007) (overlookmotel) -e6d48e1transformer/nullish_coalescing: Move cold path into separate function (#23989) (overlookmotel) -c4e35b5transformer/object_rest_spread: Pre-allocate capacity in `Vec` (#23988) (overlookmotel) -527b8e5transformer/decorators: Narrow type earlier (#23987) (overlookmotel) ### 📚 Documentation -30d17f5allocator: Clarify docs for `TakeIn::take_in_box` (#24093) (overlookmotel) -675e6a8ast: Correct doc comment for `PrivateFieldExpression` (#24008) (overlookmotel) -e4c30e6minifier: Explain what `dce` mode means (#23994) (Dunqing) -37cbf88ast_macros: Document fields of `StructDetails` (#23959) (overlookmotel) -4de3e54ast: Correct doc comment (#23948) (overlookmotel) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
11 KiB
11 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog.
[0.139.0] - 2026-07-06
🚀 Features
4eb074emangler: Addreservedoption for names that must not be mangled (#24041) (Dunqing)
[0.135.0] - 2026-06-08
📚 Documentation
275d318napi/minifier: Pointtargetto oxc docs (#23102) (camc314)
[0.133.0] - 2026-05-26
🚀 Features
e857b0cnapi/minify: Expose legalComments option and result (#20370) (Boshen)
[0.128.0] - 2026-04-27
🛡️ Security
d8076c9deps: Update rolldown (#21639) (renovate)
[0.125.0] - 2026-04-13
🚀 Features
f134e24minifier: Supportproperty_write_side_effectsoption to drop unused property assignments (#20773) (Dunqing)
[0.119.0] - 2026-03-14
🚀 Features
e7163b6ecmascript: Add known-globals to side-effect-free property reads (#20212) (Dunqing)
[0.117.0] - 2026-03-09
🐛 Bug Fixes
ee0491eapps,napi: Explicitly specify libs in tsconfigs (#20071) (camc314)
⚡ Performance
2baa5fbnapi: Unify build-test profile to coverage for cache sharing (#20090) (Boshen)
[0.113.0] - 2026-02-10
💥 BREAKING CHANGES
2bf7293mangler: [BREAKING] Enabletop_levelby default for modules and commonjs (#18278) (sapphi-red)
🐛 Bug Fixes
487601bnapi: Disable mimalloc on Windows to fix worker_threads crash (#18923) (Boshen)
[0.111.0] - 2026-01-26
💥 BREAKING CHANGES
af0ca46span: [BREAKING] UseModuleKind::CommonJSforSourceType::cjs()(#18276) (sapphi-red)
📚 Documentation
8ccd853npm: Update package homepage URLs and add keywords (#18509) (Boshen)
[0.106.0] - 2025-12-29
🚀 Features
e031056codegen: Addsourcemapfeature flag (#17305) (Boshen)8e4409aminifier: Addinvalid_import_side_effectsoption (#17300) (sapphi-red)
[0.102.0] - 2025-12-08
💥 BREAKING CHANGES
083fea9napi/parser: [BREAKING] Represent empty optional fields on JS side asnull(#16411) (overlookmotel)
[0.100.0] - 2025-12-01
💥 BREAKING CHANGES
934d873napi: [BREAKING] Droparmv7-unknown-linux-musleabihfsupport (#16105) (Boshen)
[0.98.0] - 2025-11-17
💥 BREAKING CHANGES
ea51b0bnapi: [BREAKING] Standardize function naming with sync suffixes (#15661) (Boshen)
🚀 Features
f5ce55anapi: Export all options using wildcard exports (Boshen)
[0.97.0] - 2025-11-11
🚀 Features
1c31cb1napi/minify: Exposetreeshakeoptions (#15109) (copilot-swe-agent)
📚 Documentation
3dc24b5linter,minifier: Always refer as "ES Modules" instead of "ES6 Modules" (#15409) (sapphi-red)
[0.96.0] - 2025-10-30
🚀 Features
9e36186napi/minify: Exposedrop_labelsoption (#14635) (sapphi-red)d09c7eeminifier: Adddrop_labelsfeature (#14634) (sapphi-red)
[0.95.0] - 2025-10-15
🚀 Features
c19c9ecnapi/minify: Expose join_vars, sequences, and max_iterations options (#14545) (IWANABETHATGUY)
🐛 Bug Fixes
32a41cfnapi/minify: S/passes/max_iterations to avoid confusion (#14608) (Boshen)14686a4napi/minify: Handle boolean values forcompress.unusedoption (#14513) (Kentaro Suzuki)
[0.92.0] - 2025-09-24
🐛 Bug Fixes
2f9e16dnapi/minifier, napi/transformer: Rename CommonJS file to.cjs(#14047) (overlookmotel)
🚜 Refactor
cc0019fnapi: Move scripts intoscriptsdirectory (#14048) (overlookmotel)
[0.92.0] - 2025-09-24
🐛 Bug Fixes
2f9e16dnapi/minifier, napi/transformer: Rename CommonJS file to.cjs(#14047) (overlookmotel)
🚜 Refactor
cc0019fnapi: Move scripts intoscriptsdirectory (#14048) (overlookmotel)
[0.91.0] - 2025-09-22
💥 BREAKING CHANGES
6fcb0d0minifier: [BREAKING] Receive supported engines instead of ecmascript versions (#13933) (sapphi-red)
🐛 Bug Fixes
21bbf95napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)
💼 Other
fb347dacrates: V0.91.0 (#13961) (Boshen)
[0.91.0] - 2025-09-22
💥 BREAKING CHANGES
6fcb0d0minifier: [BREAKING] Receive supported engines instead of ecmascript versions (#13933) (sapphi-red)
🐛 Bug Fixes
21bbf95napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)
💼 Other
fb347dacrates: V0.91.0 (#13961) (Boshen)
[0.91.0] - 2025-09-21
💥 BREAKING CHANGES
6fcb0d0minifier: [BREAKING] Receive supported engines instead of ecmascript versions (#13933) (sapphi-red)
🐛 Bug Fixes
21bbf95napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)
[0.91.0] - 2025-09-21
💥 BREAKING CHANGES
6fcb0d0minifier: [BREAKING] Receive supported engines instead of ecmascript versions (#13933) (sapphi-red)
🐛 Bug Fixes
21bbf95napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)
[0.90.0] - 2025-09-18
🚀 Features
b52389anode: Bumpenginesfield to require Node.js 20.19.0+ for ESM support (#13879) (Copilot)
🐛 Bug Fixes
9796ec1napi: Fix binding files (Boshen)
[0.90.0] - 2025-09-18
🚀 Features
b52389anode: Bumpenginesfield to require Node.js 20.19.0+ for ESM support (#13879) (Copilot)
🐛 Bug Fixes
9796ec1napi: Fix binding files (Boshen)
[0.83.0] - 2025-08-29
💥 BREAKING CHANGES
34d0a01napi/minify,transform: [BREAKING] Change module type to ESM (#13349) (Boshen)
🚀 Features
593f54cminifier: Add--max-iterationsfor debugging (#13291) (sapphi-red)a0e0a91oxc_minify_napi: ExposeCodeGenOptions(#13288) (sapphi-red)
[0.83.0] - 2025-08-29
💥 BREAKING CHANGES
34d0a01napi/minify,transform: [BREAKING] Change module type to ESM (#13349) (Boshen)
🚀 Features
593f54cminifier: Add--max-iterationsfor debugging (#13291) (sapphi-red)a0e0a91oxc_minify_napi: ExposeCodeGenOptions(#13288) (sapphi-red)
[0.82.3] - 2025-08-20
🐛 Bug Fixes
f10ac33codegen: Remove end sourcemaps for},],)(#13180) (Boshen)
[0.82.3] - 2025-08-20
🐛 Bug Fixes
f10ac33codegen: Remove end sourcemaps for},],)(#13180) (Boshen)
[0.82.2] - 2025-08-17
🚜 Refactor
5223562codegen: Adjust some source mappings (#13084) (Boshen)
[0.82.2] - 2025-08-17
🚜 Refactor
5223562codegen: Adjust some source mappings (#13084) (Boshen)
[0.82.1] - 2025-08-13
🚀 Features
993db89minifier:.minifyand.dcemethods; run dce in loop (#13026) (Boshen)
[0.82.1] - 2025-08-13
🚀 Features
993db89minifier:.minifyand.dcemethods; run dce in loop (#13026) (Boshen)
[0.80.0] - 2025-08-03
🚀 Features
2093f65napi/minify: MakeMinifyOptionspub (#12753) (Boshen)
🧪 Testing
0ec214bnapi: Compile tests in debug mode (#12750) (overlookmotel)
[0.80.0] - 2025-08-03
🚀 Features
2093f65napi/minify: MakeMinifyOptionspub (#12753) (Boshen)
🧪 Testing
0ec214bnapi: Compile tests in debug mode (#12750) (overlookmotel)
[0.79.1] - 2025-07-31
🚀 Features
a286dd4minifier: Remove unnecessary 'use strict' directive (#12642) (Boshen)75cf797napi/minify: Publish crate (#12611) (Boshen)
[0.79.1] - 2025-07-31
🚀 Features
a286dd4minifier: Remove unnecessary 'use strict' directive (#12642) (Boshen)75cf797napi/minify: Publish crate (#12611) (Boshen)
[0.78.0] - 2025-07-24
🚜 Refactor
1cf08c0minifier: Make DCE remove more code to align with rollup (#12427) (Boshen)
[0.77.3] - 2025-07-20
⚡ Performance
8bae417codegen: Remove the useless tokens generated by some expressions (#12394) (Boshen)
[0.77.1] - 2025-07-16
🚀 Features
1b80633minifier: Remove unused function declaration (#12318) (Boshen)3f33e8cminifier: Remove unused assignment expression (#12314) (Boshen)fb8289cminifier: Remove unused variable declaration (#11796) (Boshen)
🐛 Bug Fixes
cd98426semantic: Handle var hoisting in catch block with same catch parameter name (#12313) (Dunqing)
[0.77.0] - 2025-07-12
🚜 Refactor
baa3726tests/napi: Addbuild-testscript for tests (#12132) (camc314)
[0.76.0] - 2025-07-08
🚀 Features
395aa5enapi/minify: Return parse errors (#12112) (Boshen)
[0.74.0] - 2025-06-23
💥 BREAKING CHANGES
7a05e71minifier: [BREAKING] AddTreeshakeoptions (#11786) (Boshen)
[0.73.1] - 2025-06-17
🚀 Features
81ef443napi: Addaarch64-linux-androidtarget (#11769) (LongYinan)
[0.73.0] - 2025-06-13
📚 Documentation
b5a6a6enapi: Add stackblitz examples (Boshen)
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog, and this project does not adhere to Semantic Versioning until v1.0.0.
[0.72.3] - 2025-06-06
Features
1401839napi: Add webcontainer fallback to transform and minify packages (#11471) (Boshen)
Bug Fixes
ab0dd29napi: Napi build cache problem (#11479) (LongYinan)
[0.71.0] - 2025-05-20
Features
d67c9e5napi: Bump napi to beta (#11159) (Boshen)
Bug Fixes
963167dnapi: Fix cfg feature on global_allocator (Boshen)
[0.70.0] - 2025-05-15
Features
647b6f3napi: Add arm musl (#10958) (Bernd Storath)
Bug Fixes
584d8b9napi: Enable mimallocno_opt_archfeature on linux aarch64 (#11053) (Boshen)
[0.69.0] - 2025-05-09
Features
22ba60bnapi: Adds390x-unknown-linux-gnubuild (#10892) (Boshen)308fe73napi: Addx86_64-unknown-freebsdandriscv64gc-unknown-linux-gnubuilds (#10886) (Boshen)
[0.68.1] - 2025-05-04
Bug Fixes
bd953fcnapi/minify: Need to remove all comments (#10785) (Boshen)
[0.68.0] - 2025-05-03
Features
b01cb45codegen: A way to keep legal comments after minification (#10689) (Boshen)
[0.61.2] - 2025-03-23
Features
ea3de06mangler: Supportkeep_namesoption (#9898) (sapphi-red)
[0.61.0] - 2025-03-20
Features
dcd356eminifier: Supportkeep_namesoption (#9867) (sapphi-red)6565fc4napi: Feature gate allocator (#9921) (Boshen)
Testing
e637e2enapi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa)
[0.60.0] - 2025-03-18
Features
aa3dff8napi: Add mimalloc to parser and transformr (#9859) (Boshen)
Refactor
7106e5dnapi: Disable unused browser fs (#9848) (hi-ogawa)
[0.59.0] - 2025-03-18
Performance
84fa538minify: Use mimalloc-safe to replace mimalloc (#9810) (LongYinan)
[0.58.0] - 2025-03-13
Documentation
a6c9b09napi/minifier: Improve documentation (#9736) (Boshen)
[0.57.0] - 2025-03-11
ef6e0ccsemantic: [BREAKING] CombineSymbolTableandScopeTreeintoScoping(#9615) (Boshen)
Refactor
c6edafenapi: Removenpm/oxc-*/npm packages (#9631) (Boshen)