### 💥 BREAKING CHANGES -365274epackages/codegen: [**BREAKING**] `printSync` return an object (#25720) (overlookmotel) ### 🚀 Features -6a7eb60packages/codegen: Alter capitalization of `sourceFilename` option (#25854) (overlookmotel) -300763fpackages/codegen: Add full source map support (#25585) (camc314) -a169e4anapi/minify: Expose property name mangling options (#24741) (Dunqing) -2f5cdb1minifier: Add property name mangling (#24740) (Dunqing) -4922141mangler: Deduplicate private accessor names (#25601) (camc314) -1c4f519napi: Add Relay transform plugin (#25503) (Boshen) -a4478e9codegen: Add `oxc-codegen` package (#25488) (overlookmotel) ### 🐛 Bug Fixes -0fbcf64codegen: Validate sourcemap options (#25860) (camc314) -345f981react_compiler: Skip node_modules by default (#25859) (Boshen) -ab81f3fminifier: Drop side-effect-free additions (#25639) (Dunqing) -241c559napi/minify: Accept RegExp for property filters (#25827) (Dunqing) -4cc7ea4codegen: Reject invalid indent options (#25807) (camc314) -53f9295isolated-declarations: Preserve undefined for defaulted any (#25292) (camc314) -8ab883acodegen: Preserve property key annotations (#25766) (Dunqing) -b13fd48minifier: Model uninitialized module vars as undefined (#25497) (Dunqing) -f6000acecmascript: Fold `**` with `Number::exponentiate`, not IEEE `pow` (#25644) (Kotaro Chikuba) -b846abcisolated-declarations: Handle ambient expando properties (#25655) (camc314) -dec0a86react-compiler: Standardize diagnostics (#25702) (Boshen) -fca2e0cparser: Reject initialized lexical declarations in for-in (#25700) (Boshen) -ae9be8fparser: Forbid type parameters on quoted constructors (#25696) (Boshen) -c5f188areact-compiler: Use Babel v1 validation defaults (#25676) (Boshen) -db44651napi: Disable reuseWorker in browser bindings (#25640) (leaysgur) -ce35d47react_compiler: Preserve JSX import source pragmas (#25592) (Boshen) -059784dsemantic: Respect shadowed `Infinity` and `NaN` in enum evaluation (#25604) (camc314) -bb5a232minifier: Keep variable declaration initilized with class when keepNames is enabled (#25584) (sapphi-red) -f49229dminifier: Keep side effects when rotating bitwise operands (#25596) (Kotaro Chikuba) -e82495becmascript: Derive `ToNumber` of `!x` from `ToBoolean` (#25595) (Kotaro Chikuba) -509931bsemantic: Classify global references per identifier (#25608) (camc314) -80484cemangler: Correct base54 safety comment (#25606) (camc314) -c1369a7codegen: Resolve private names in class heritage (#25588) (camc314) -c002f29codegen: Escape sources for empty import specifiers (#25586) (camc314) -0c68b7festree: Emit `decorators` on `FormalParameterRest` (#25582) (camc314) -cdf1846semantic: Allow legacy escapes in JSX attributes (#25576) (Boshen) -e75e102minifier: Preserve block statement in labeled iteration statements (#25162) (Armano) -771d79amangler: Exclude non-manglable symbols from slot assignment (#25539) (sapphi-red) -76b19f5minifier: Avoid duplicating large folded strings (#25532) (Dunqing) -59e8895codegen: Validate starting indent level (#25550) (camc314) -88b34f2clippy: Remove unneeded `unsafe` (#25551) (camc314) -23a7ad0parser: Stop delimited lists at end of file (#25542) (Boshen) -73acba9parser: Preserve fatal errors during await reparse (#25541) (Boshen) -c3e99d1minifier: Avoid invalid octal escapes in template folds (#25495) (Dunqing) -b4e6a9ecodegen: Output newline after `export default interface` (#25487) (overlookmotel) -5fcf683minifier: Correct issue with try finally termination (#25185) (Armano) -1645d93react_compiler: Preserve source spans (#25462) (Boshen) -8d7f9cfreact_compiler: Honor eslint suppressions (#25394) (Boshen) ### ⚡ Performance -568203eecmascript: Use binary search for known globals (#25817) (Boshen) -c84ede3estree_tokens: Share JS token update entry point (#25826) (Boshen) - 9a6e862 minifier: Move owned statements directly (#25835) (Dunqing) -61b2aefminifier: Move owned AST nodes directly (#25837) (Dunqing) -673b04bminifier: Replace expressions without take_in dummies (#25836) (Dunqing) -63ff8eflinter: Outline diagnostic construction (#25762) (Boshen) -621808ediagnostics: Measure graphemes lazily (#25723) (Boshen) -f62ed0ediagnostics: Optimize graphical number rendering (#25715) (Boshen) -7152834diagnostics: Reduce graphical formatting overhead (#25714) (Boshen) -10fc4b7diagnostics: Reduce graphical rendering allocations (#25711) (Boshen) -9c8ababdiagnostics: Batch graphical reports (#25710) (Boshen) -757f3d4mangler: Share allocated names across reused slots (#25605) (camc314) -5444cbfcodegen: Skip escaping harmless `<` tokens (#25564) (camc314) ### 📚 Documentation -58f7ab9packages/codegen: Reformat docs and comments (#25848) (overlookmotel) -627466etransform-react: Document all options (#25800) (Boshen) -ce03ac1packages/codegen: Fix JSDoc comments for `printSync` (#25722) (overlookmotel) -386a699packages/codegen: Correct JSDoc comment (#25716) (overlookmotel) -31e571dmangler: Update code example (#25599) (camc314) -fd62354codegen: Revamp package readme (#25560) (camc314) -ffa3153codegen: Clarify raw transfer Node requirement (#25565) (camc314) -c5d4063codegen: Clarify binary walk allocations (#25562) (camc314) -5703d7acodegen: Correct stale printer comments (#25561) (camc314) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
24 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog.
[0.145.0] - 2026-08-18
🐛 Bug Fixes
db44651napi: Disable reuseWorker in browser bindings (#25640) (leaysgur)
[0.136.0] - 2026-06-15
💥 BREAKING CHANGES
7a24911codegen: [BREAKING] Borrow sourcemaps from codegen (#23422) (Boshen)bb0ed44transformer: [BREAKING] Disable styled-components transpileTemplateLiterals by default (#23171) (Boshen)
🚀 Features
ec266bbtransformer: Run React Compiler as a feature-gated transform pass (#23201) (Boshen)
[0.135.0] - 2026-06-08
🚀 Features
b846ab2react_compiler: Integrate the Rust port of the React Compiler (#22942) (Boshen)
[0.133.0] - 2026-05-26
🚀 Features
ee659b6transformer/legacy-decorator: AddstrictNullChecksoption for nullable-union design:type (#22266) (Kyle Cannon)
[0.128.0] - 2026-04-27
📚 Documentation
e4cea25transform: Use thenode:namespace in the example (#19998) (루밀LuMir)
🛡️ Security
d8076c9deps: Update rolldown (#21639) (renovate)
[0.126.0] - 2026-04-15
🚀 Features
f5deb55napi/transform: ExposeoptimizeConstEnumsandoptimizeEnumsoptions (#21388) (Dunqing)
[0.125.0] - 2026-04-13
🚀 Features
e7e1aeatransformer/typescript: Addoptimize_enumsoption for regular enum inlining (#20539) (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
🐛 Bug Fixes
487601bnapi: Disable mimalloc on Windows to fix worker_threads crash (#18923) (Boshen)
[0.112.0] - 2026-02-02
📚 Documentation
3d01fa1transformer: Update links to use Oxc docs (#18722) (sapphi-red)
[0.111.0] - 2026-01-26
📚 Documentation
8ccd853npm: Update package homepage URLs and add keywords (#18509) (Boshen)
[0.109.0] - 2026-01-19
🚀 Features
6e8fa80napi/parser, napi/transform: AcceptsourceType: "commonjs"(#18197) (overlookmotel)66b8c02parser: Implement unambiguous module parsing for JS/TS files (#18124) (Boshen)
[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)
[0.97.0] - 2025-11-11
📚 Documentation
4b904b1transformer: Clarifyjsx.pureoption would affect JSX elements (#15376) (sapphi-red)
[0.94.0] - 2025-10-06
🚀 Features
588acd5transformer: Add ES2026 target for explicit resource management (#14330) (Boshen)
🐛 Bug Fixes
013e053napi/transform: Fix define plugin not applying DCE correctly (#14264) (Boshen)
[0.94.0] - 2025-10-06
🚀 Features
588acd5transformer: Add ES2026 target for explicit resource management (#14330) (Boshen)
🐛 Bug Fixes
013e053napi/transform: Fix define plugin not applying DCE correctly (#14264) (Boshen)
[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
🐛 Bug Fixes
21bbf95napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)
📚 Documentation
7a50ad9napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel)
💼 Other
fb347dacrates: V0.91.0 (#13961) (Boshen)
[0.91.0] - 2025-09-22
🐛 Bug Fixes
21bbf95napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)
📚 Documentation
7a50ad9napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel)
💼 Other
fb347dacrates: V0.91.0 (#13961) (Boshen)
[0.91.0] - 2025-09-21
🐛 Bug Fixes
21bbf95napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)
📚 Documentation
7a50ad9napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel)
[0.91.0] - 2025-09-21
🐛 Bug Fixes
21bbf95napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)
📚 Documentation
7a50ad9napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel)
[0.90.0] - 2025-09-18
🚀 Features
70c402bnapi/transform: Add async transform function (#13881) (Boshen)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
70c402bnapi/transform: Add async transform function (#13881) (Boshen)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)
[0.83.0] - 2025-08-29
💥 BREAKING CHANGES
34d0a01napi/minify,transform: [BREAKING] Change module type to ESM (#13349) (Boshen)
[0.82.3] - 2025-08-20
🐛 Bug Fixes
76a9865transformer/legacy-decorator: Metadata should be inserted after all params decorators (#13215) (Dunqing)f10ac33codegen: Remove end sourcemaps for},],)(#13180) (Boshen)
[0.82.3] - 2025-08-20
🐛 Bug Fixes
76a9865transformer/legacy-decorator: Metadata should be inserted after all params decorators (#13215) (Dunqing)f10ac33codegen: Remove end sourcemaps for},],)(#13180) (Boshen)
[0.80.0] - 2025-08-03
🧪 Testing
0ec214bnapi: Compile tests in debug mode (#12750) (overlookmotel)
[0.80.0] - 2025-08-03
🧪 Testing
0ec214bnapi: Compile tests in debug mode (#12750) (overlookmotel)
[0.78.0] - 2025-07-24
💥 BREAKING CHANGES
ccbcf3etransformer, minifier, syntax: [BREAKING] RemoveESTarget::ES5(#12448) (Dunqing)
🐛 Bug Fixes
986c48etransformer/decorator: Transformed decorators should be injected after class-properties has run (#12418) (Dunqing)
[0.78.0] - 2025-07-24
💥 BREAKING CHANGES
ccbcf3etransformer, minifier, syntax: [BREAKING] RemoveESTarget::ES5(#12448) (Dunqing)
🐛 Bug Fixes
986c48etransformer/decorator: Transformed decorators should be injected after class-properties has run (#12418) (Dunqing)
[0.77.3] - 2025-07-20
⚡ Performance
8bae417codegen: Remove the useless tokens generated by some expressions (#12394) (Boshen)
[0.77.3] - 2025-07-20
⚡ Performance
8bae417codegen: Remove the useless tokens generated by some expressions (#12394) (Boshen)
[0.77.0] - 2025-07-12
🚀 Features
75ee3a1napi/transform: Support enablingStyledComponentplugin (#12155) (Dunqing)19b97c0transformer: Support styled components plugin (#12066) (Dunqing)407429anapi/parser,napi/transform: Acceptlang=dts(#12154) (Boshen)
🐛 Bug Fixes
bfd47f8transformer/styled-components: Should use source path to generate file hash when the path is absoulte path (#12199) (Dunqing)
🚜 Refactor
baa3726tests/napi: Addbuild-testscript for tests (#12132) (camc314)
[0.77.0] - 2025-07-12
🚀 Features
75ee3a1napi/transform: Support enablingStyledComponentplugin (#12155) (Dunqing)19b97c0transformer: Support styled components plugin (#12066) (Dunqing)407429anapi/parser,napi/transform: Acceptlang=dts(#12154) (Boshen)
🐛 Bug Fixes
bfd47f8transformer/styled-components: Should use source path to generate file hash when the path is absoulte path (#12199) (Dunqing)
🚜 Refactor
baa3726tests/napi: Addbuild-testscript for tests (#12132) (camc314)
[0.76.0] - 2025-07-08
💥 BREAKING CHANGES
8b30a5bcodegen: [BREAKING] IntroduceCommentOptions(#12114) (Boshen)
[0.76.0] - 2025-07-08
💥 BREAKING CHANGES
8b30a5bcodegen: [BREAKING] IntroduceCommentOptions(#12114) (Boshen)
[0.73.1] - 2025-06-17
🚀 Features
81ef443napi: Addaarch64-linux-androidtarget (#11769) (LongYinan)
[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)
[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.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.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
635aa96napi: Computed final source type fromlangthensourceType(#11060) (Boshen)584d8b9napi: Enable mimallocno_opt_archfeature on linux aarch64 (#11053) (Boshen)
[0.70.0] - 2025-05-15
Features
647b6f3napi: Add arm musl (#10958) (Bernd Storath)
Bug Fixes
635aa96napi: Computed final source type fromlangthensourceType(#11060) (Boshen)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)6de0bc2transformer/typescript: Support transforming class fields into this assignment (#10854) (Dunqing)
[0.69.0] - 2025-05-09
Features
22ba60bnapi: Adds390x-unknown-linux-gnubuild (#10892) (Boshen)308fe73napi: Addx86_64-unknown-freebsdandriscv64gc-unknown-linux-gnubuilds (#10886) (Boshen)6de0bc2transformer/typescript: Support transforming class fields into this assignment (#10854) (Dunqing)
[0.68.0] - 2025-05-03
315143acodegen: [BREAKING] Remove uselessCodeGeneratortype alias (#10702) (Boshen)
Bug Fixes
4795059transformer_plugins: Provide reference data when identifiers are replaced (#10620) (Boshen)
Performance
88249f7napi/transform: Do not create tempString(#10752) (overlookmotel)
Refactor
[0.68.0] - 2025-05-03
315143acodegen: [BREAKING] Remove uselessCodeGeneratortype alias (#10702) (Boshen)
Bug Fixes
4795059transformer_plugins: Provide reference data when identifiers are replaced (#10620) (Boshen)
Performance
88249f7napi/transform: Do not create tempString(#10752) (overlookmotel)
Refactor
[0.67.0] - 2025-04-27
Features
b8414dbnapi/transform: Support enablingremoveClassFieldsWithoutInitializer(#10581) (Dunqing)42ca96atransformer, napi/transform: DeprecateallowDeclareFieldsoption (#10584) (Dunqing)6bff64etransformer/typescript: SupportremoveClassFieldsWithoutInitializeroption (#10576) (Dunqing)1962bc6transformer_plugins: Split outoxc_transformer_pluginscrate (#10617) (Boshen)
Documentation
73cd730transformer: Add documentation forCompilerAssumptions::set_public_class_fields(#10582) (Dunqing)
[0.67.0] - 2025-04-27
Features
b8414dbnapi/transform: Support enablingremoveClassFieldsWithoutInitializer(#10581) (Dunqing)42ca96atransformer, napi/transform: DeprecateallowDeclareFieldsoption (#10584) (Dunqing)6bff64etransformer/typescript: SupportremoveClassFieldsWithoutInitializeroption (#10576) (Dunqing)1962bc6transformer_plugins: Split outoxc_transformer_pluginscrate (#10617) (Boshen)
Documentation
73cd730transformer: Add documentation forCompilerAssumptions::set_public_class_fields(#10582) (Dunqing)
[0.65.0] - 2025-04-21
Documentation
78cdb1ctransform: Correct tsc's--isolatedDeclarationsflag (#10502) (ocavue)
[0.65.0] - 2025-04-21
Documentation
78cdb1ctransform: Correct tsc's--isolatedDeclarationsflag (#10502) (ocavue)
[0.64.0] - 2025-04-17
Features
dfef8b5transformer: Enableusingby default (#10333) (Boshen)
Bug Fixes
1ff75bctransformer/module_runner: Hoist export (#10347) (hi-ogawa)
[0.64.0] - 2025-04-17
Features
dfef8b5transformer: Enableusingby default (#10333) (Boshen)
Bug Fixes
1ff75bctransformer/module_runner: Hoist export (#10347) (hi-ogawa)
[0.63.0] - 2025-04-08
Features
78f1b3atransformer: Enableusingby default (#10286) (Boshen)
[0.63.0] - 2025-04-08
Features
78f1b3atransformer: Enableusingby default (#10286) (Boshen)
[0.61.0] - 2025-03-20
Features
6565fc4napi: Feature gate allocator (#9921) (Boshen)2cedfe4napi: Add codeframe to napi error (#9893) (Boshen)
Refactor
961b95dnapi: Move common code tooxc_napi(#9875) (Boshen)
Testing
e637e2enapi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa)
[0.61.0] - 2025-03-20
Features
6565fc4napi: Feature gate allocator (#9921) (Boshen)2cedfe4napi: Add codeframe to napi error (#9893) (Boshen)
Refactor
961b95dnapi: Move common code tooxc_napi(#9875) (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.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.58.1] - 2025-03-13
Features
a8331f7transformer: Turn off explicit resource management by default (#9749) (Boshen)
[0.58.1] - 2025-03-13
Features
a8331f7transformer: Turn off explicit resource management by default (#9749) (Boshen)
[0.58.0] - 2025-03-13
Features
3429898transformer/module_runner_transform: Remove duplicatedepsanddynamicDeps(#9709) (Dunqing)
[0.58.0] - 2025-03-13
Features
3429898transformer/module_runner_transform: Remove duplicatedepsanddynamicDeps(#9709) (Dunqing)
[0.57.0] - 2025-03-11
23738bfsemantic: [BREAKING] IntroduceScoping(#9611) (Boshen)
Refactor
c6edafenapi: Removenpm/oxc-*/npm packages (#9631) (Boshen)
[0.57.0] - 2025-03-11
23738bfsemantic: [BREAKING] IntroduceScoping(#9611) (Boshen)
Refactor
c6edafenapi: Removenpm/oxc-*/npm packages (#9631) (Boshen)
[0.56.4] - 2025-03-07
Bug Fixes
c08b7fcnapi: Commit wasi files (Boshen)
[0.55.0] - 2025-03-05
Features
45ace44transformer: Add/* @_PURE__ */annotation for pure calls (#9424) (Dunqing)ffd485ctransformer, napi/transform: ExposemoduleRunnerTransformfunction (#9532) (Dunqing)
[0.54.0] - 2025-03-04
Bug Fixes
b4f050ctransformer/legacy-decorator: Metadata incorrectly wrapped by decorateParam (#9490) (Dunqing)
Testing
d129055napi: Add tests for worker threads (#9408) (Boshen)
[0.52.0] - 2025-02-21
Features
8a5051enapi/transform: Support enablingemitDecoratorMetadata(#9190) (Dunqing)90ba283transformer/decorator: Support emitting decorator metadata (#9057) (Dunqing)
[0.51.0] - 2025-02-15
Features
fef82fftransformer/helper-loader: Replace@babel/runtimewith@oxc-project/runtime(#9059) (Dunqing)
[0.49.0] - 2025-02-10
Features
d6daa75napi/transform: Support for enabling legacy decorator (#8927) (Dunqing)f2d28f3transformer: Support for transforming legacy decorator (#8614) (Dunqing)
Styling
a4a8e7dall: Replace#[allow]with#[expect](#8930) (overlookmotel)
[0.46.0] - 2025-01-14
Features
4ad695dnapi/minify: Implement napi (#8478) (Boshen)
[0.45.0] - 2025-01-11
Bug Fixes
9a03bd2transformer/typescript: Remove type-onlyimport =whenonly_remove_type_importsis true (#8275) (Dunqing)
[0.42.0] - 2024-12-18
Features
c16a851napi/transform: Addjsx: 'preserve'option (#7965) (Boshen)
Refactor
3858221global: Sort imports (#7883) (overlookmotel)
Styling
7fb9d47rust:cargo +nightly fmt(#7877) (Boshen)
[0.40.1] - 2024-12-10
Bug Fixes
18d0ce3napi: RenameErrortoOxcErrorto avoid name collision (#7780) (Boshen)
[0.40.0] - 2024-12-10
Features
2803aecnapi/transform: Return helpers information (#7737) (Boshen)85eec3cnapi/transform,napi/parser: Return structured error object (#7724) (Boshen)c98457dnapi/transformer: Add runtime helper mode (#7727) (Boshen)
Bug Fixes
245d7d9oxc_transformer: Aliases2015toes6(#7673) (Kevin Deng 三咲智子)
Testing
c254a5bnapi/transform: Use theexpectAPI instead ofassert(#7739) (Boshen)
[0.39.0] - 2024-12-04
Features
5864352napi/transform: AddTransformerOptions::assumptions(#7601) (翠 / green)771c698oxc: Removeoxc_napicrate (#7634) (Boshen)bd977cfoxc: Addoxc_napicrate (#7612) (Boshen)
Bug Fixes
be2293anapi/transform: Respectoptions.sourcemapfor id (#7590) (Kevin Deng 三咲智子)
Refactor
b4f3812oxc_napi: Removesource_map- moved to its crate (#7614) (Boshen)
[0.38.0] - 2024-11-26
bb2c0c2transformer: [BREAKING] ReturnStringas error instead of OxcDiagnostic (#7424) (Boshen)
Features
59e7e46napi/transform: AddTransformOptions::targetAPI (#7426) (Boshen)
Refactor
[0.36.0] - 2024-11-09
846711ctransformer: [BREAKING] Change API to take a&TransformOptionsinstead ofTransformOptions(#7213) (Boshen)
Features
b4258eetransformer: Add defaultedModule::Preserveoption (#7225) (Boshen)
Refactor
fc86703napi/transform: Change test files to TypeScript (#7221) (Boshen)
Testing
be819ddnapi/transform: Add test for not default es transform (Boshen)
[0.35.0] - 2024-11-04
Bug Fixes
d15e408napi/transform: Fix 'typescript.declaration' option not working (#7012) (Boshen)dcdb9eanapi/transform: Fix test (Boshen)b188b4atransformer: Fix typescript globals being recognized as globals (#7100) (Boshen)
Refactor
335eb38ast_tools: Faster formatting Rust code (#6972) (overlookmotel)
[0.32.0] - 2024-10-19
-
91c87ddcodegen: [BREAKING] RemoveCodegen::enableSourceMapAPI (#6452) (Boshen) -
7645e5ccodegen: [BREAKING] Remove CommentOptions API (#6451) (Boshen) -
5200960oxc: [BREAKING] Remove passingTriviasaround (#6446) (Boshen)
Refactor
[0.31.0] - 2024-10-08
-
020bb80codegen: [BREAKING] Change toCodegenReturn::codeandCodegenReturn::map(#6310) (Boshen) -
4f6bc79transformer: [BREAKING] Removesource_typeparam fromTransformer::new(#6251) (overlookmotel) -
afc3ccbnapi/transform: [BREAKING] RenameTransformOptions::reacttojsx. (#6211) (Boshen)
Features
abd3a9fnapi/transform: Perform dce after define plugin (#6312) (Boshen)a0ccc26napi/transform: Addlangoption to change source type (#6309) (Boshen)f98e12cnapi/transform: Add inject plugin (#6250) (Boshen)291891enapi/transform: Adddefineoption (#6212) (Boshen)51a78d5napi/transform: Rename all mention of React to Jsx; remove mention ofBinding(#6198) (Boshen)2f888edoxc: Add napi transform options (#6268) (Boshen)8729755oxc,napi/transform: Napi/transform use oxc compiler pipeline (#6298) (Boshen)
Bug Fixes
294da86napi/transform: Fix index.d.ts (Boshen)
Refactor
5b5daecnapi: Use vitest (#6307) (Boshen)58a8615napi/transform: Remove context (#6306) (Boshen)099ff3anapi/transform: Remove "Binding" from types; fix type error (#6260) (Boshen)54c1c53napi/transform: Remove a call onTransformOptions::clone(#6210) (Boshen)
[0.30.5] - 2024-09-29
Features
15552acnapi/transform: Display semantic error (#6160) (Boshen)f50fdcdnapi/transform: Make react refresh option take a boolean (#6146) (Boshen)
Bug Fixes
f27d59fnapi/transform: Remove confusingjsxoption (#6159) (Boshen)
[0.30.4] - 2024-09-28
Bug Fixes
6f98aadsourcemap: Align sourcemap type with Rollup (#6133) (Boshen)
[0.30.0] - 2024-09-23
Features
84a5816isolated_declarations: AddstripInternal(#5878) (Boshen)dfbde2cisolated_declarations: Print jsdoc comments (#5858) (Boshen)3230ae5semantic: AddSemanticBuilder::with_excess_capacity(#5762) (overlookmotel)
Bug Fixes
127c881napi/transform: Fix jsdoc links (#5886) (Boshen)6c04fa1napi/transform: Make isolated_declaration options optional (#5880) (Boshen)
[0.29.0] - 2024-09-13
Bug Fixes
608b7d3napi/transformer: Refresh plugin doesn't work even after passing the refresh option (#5702) (Dunqing)
[0.28.0] - 2024-09-11
b060525semantic: [BREAKING] Removesource_typeargument fromSemanticBuilder::new(#5553) (Boshen)
Features
e698418napi/transform: Align outputSourceMapwith Rollup'sExistingRawSourceMap(#5657) (Boshen)aba9194napi/transform: Export react refresh options (#5533) (underfin)
Refactor
[0.27.0] - 2024-09-06
Bug Fixes
ea7a52fnapi/transform: Fix test (Boshen)
[0.26.0] - 2024-09-03
b1d0075napi/transform: [BREAKING] Align output APIsourceText->codewith babel (#5398) (Boshen)
Features
72740b3isolated_declaration: Support sourcemap option (#5170) (dalaoshu)01c0c3etransformer: Add remaining options to transformer options (#5169) (Boshen)0abfc50transformer/typescript: Supportrewrite_import_extensionsoption (#5399) (Dunqing)
[0.25.0] - 2024-08-23
ce4d469codegen: [BREAKING] Remove const genericMINIFY(#5001) (Boshen)
Features
4b49cf8transformer: Always pass in symbols and scopes (#5087) (Boshen)
[0.24.1] - 2024-08-10
Bug Fixes
4d0b40anapi/transform: Fix wrong isolated declarations emit (Boshen)
[0.24.0] - 2024-08-08
Bug Fixes
01d85denapi/transform: Update napi files (Boshen)
Refactor
9b51e04Overhaul napi transformer package (#4592) (DonIsaac)
[0.23.1] - 2024-08-06
Refactor
9b51e04Overhaul napi transformer package (#4592) (DonIsaac)
[0.20.0] - 2024-07-11
Features
725571anapi/transformer: Addjsxoption to force parsing with jsx (#4133) (Boshen)
[0.17.2] - 2024-07-08
Features
720983anapi/transform: Allow settingsourceTypetotransform(#4113) (Boshen)
[0.17.1] - 2024-07-06
Bug Fixes
150f4d9napi/transform: Display error with spanned messages (Boshen)
[0.16.2] - 2024-06-30
Refactor
5845057transformer: Pass in symbols and scopes (#3978) (Boshen)