Files
oxc-guard[bot] 4a4a1fb2e7 release(crates): oxc v0.145.0 (#25865)
### 💥 BREAKING CHANGES

- 365274e packages/codegen: [**BREAKING**] `printSync` return an object
(#25720) (overlookmotel)

### 🚀 Features

- 6a7eb60 packages/codegen: Alter capitalization of `sourceFilename`
option (#25854) (overlookmotel)
- 300763f packages/codegen: Add full source map support (#25585)
(camc314)
- a169e4a napi/minify: Expose property name mangling options (#24741)
(Dunqing)
- 2f5cdb1 minifier: Add property name mangling (#24740) (Dunqing)
- 4922141 mangler: Deduplicate private accessor names (#25601) (camc314)
- 1c4f519 napi: Add Relay transform plugin (#25503) (Boshen)
- a4478e9 codegen: Add `oxc-codegen` package (#25488) (overlookmotel)

### 🐛 Bug Fixes

- 0fbcf64 codegen: Validate sourcemap options (#25860) (camc314)
- 345f981 react_compiler: Skip node_modules by default (#25859) (Boshen)
- ab81f3f minifier: Drop side-effect-free additions (#25639) (Dunqing)
- 241c559 napi/minify: Accept RegExp for property filters (#25827)
(Dunqing)
- 4cc7ea4 codegen: Reject invalid indent options (#25807) (camc314)
- 53f9295 isolated-declarations: Preserve undefined for defaulted any
(#25292) (camc314)
- 8ab883a codegen: Preserve property key annotations (#25766) (Dunqing)
- b13fd48 minifier: Model uninitialized module vars as undefined
(#25497) (Dunqing)
- f6000ac ecmascript: Fold `**` with `Number::exponentiate`, not IEEE
`pow` (#25644) (Kotaro Chikuba)
- b846abc isolated-declarations: Handle ambient expando properties
(#25655) (camc314)
- dec0a86 react-compiler: Standardize diagnostics (#25702) (Boshen)
- fca2e0c parser: Reject initialized lexical declarations in for-in
(#25700) (Boshen)
- ae9be8f parser: Forbid type parameters on quoted constructors (#25696)
(Boshen)
- c5f188a react-compiler: Use Babel v1 validation defaults (#25676)
(Boshen)
- db44651 napi: Disable reuseWorker in browser bindings (#25640)
(leaysgur)
- ce35d47 react_compiler: Preserve JSX import source pragmas (#25592)
(Boshen)
- 059784d semantic: Respect shadowed `Infinity` and `NaN` in enum
evaluation (#25604) (camc314)
- bb5a232 minifier: Keep variable declaration initilized with class when
keepNames is enabled (#25584) (sapphi-red)
- f49229d minifier: Keep side effects when rotating bitwise operands
(#25596) (Kotaro Chikuba)
- e82495b ecmascript: Derive `ToNumber` of `!x` from `ToBoolean`
(#25595) (Kotaro Chikuba)
- 509931b semantic: Classify global references per identifier (#25608)
(camc314)
- 80484ce mangler: Correct base54 safety comment (#25606) (camc314)
- c1369a7 codegen: Resolve private names in class heritage (#25588)
(camc314)
- c002f29 codegen: Escape sources for empty import specifiers (#25586)
(camc314)
- 0c68b7f estree: Emit `decorators` on `FormalParameterRest` (#25582)
(camc314)
- cdf1846 semantic: Allow legacy escapes in JSX attributes (#25576)
(Boshen)
- e75e102 minifier: Preserve block statement in labeled iteration
statements (#25162) (Armano)
- 771d79a mangler: Exclude non-manglable symbols from slot assignment
(#25539) (sapphi-red)
- 76b19f5 minifier: Avoid duplicating large folded strings (#25532)
(Dunqing)
- 59e8895 codegen: Validate starting indent level (#25550) (camc314)
- 88b34f2 clippy: Remove unneeded `unsafe` (#25551) (camc314)
- 23a7ad0 parser: Stop delimited lists at end of file (#25542) (Boshen)
- 73acba9 parser: Preserve fatal errors during await reparse (#25541)
(Boshen)
- c3e99d1 minifier: Avoid invalid octal escapes in template folds
(#25495) (Dunqing)
- b4e6a9e codegen: Output newline after `export default interface`
(#25487) (overlookmotel)
- 5fcf683 minifier: Correct issue with try finally termination (#25185)
(Armano)
- 1645d93 react_compiler: Preserve source spans (#25462) (Boshen)
- 8d7f9cf react_compiler: Honor eslint suppressions (#25394) (Boshen)

### ⚡ Performance

- 568203e ecmascript: Use binary search for known globals (#25817)
(Boshen)
- c84ede3 estree_tokens: Share JS token update entry point (#25826)
(Boshen)
- 9a6e862 minifier: Move owned statements directly (#25835) (Dunqing)
- 61b2aef minifier: Move owned AST nodes directly (#25837) (Dunqing)
- 673b04b minifier: Replace expressions without take_in dummies (#25836)
(Dunqing)
- 63ff8ef linter: Outline diagnostic construction (#25762) (Boshen)
- 621808e diagnostics: Measure graphemes lazily (#25723) (Boshen)
- f62ed0e diagnostics: Optimize graphical number rendering (#25715)
(Boshen)
- 7152834 diagnostics: Reduce graphical formatting overhead (#25714)
(Boshen)
- 10fc4b7 diagnostics: Reduce graphical rendering allocations (#25711)
(Boshen)
- 9c8abab diagnostics: Batch graphical reports (#25710) (Boshen)
- 757f3d4 mangler: Share allocated names across reused slots (#25605)
(camc314)
- 5444cbf codegen: Skip escaping harmless `<` tokens (#25564) (camc314)

### 📚 Documentation

- 58f7ab9 packages/codegen: Reformat docs and comments (#25848)
(overlookmotel)
- 627466e transform-react: Document all options (#25800) (Boshen)
- ce03ac1 packages/codegen: Fix JSDoc comments for `printSync` (#25722)
(overlookmotel)
- 386a699 packages/codegen: Correct JSDoc comment (#25716)
(overlookmotel)
- 31e571d mangler: Update code example (#25599) (camc314)
- fd62354 codegen: Revamp package readme (#25560) (camc314)
- ffa3153 codegen: Clarify raw transfer Node requirement (#25565)
(camc314)
- c5d4063 codegen: Clarify binary walk allocations (#25562) (camc314)
- 5703d7a codegen: Correct stale printer comments (#25561) (camc314)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
2026-08-18 22:26:40 +08:00

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

  • db44651 napi: Disable reuseWorker in browser bindings (#25640) (leaysgur)

[0.136.0] - 2026-06-15

💥 BREAKING CHANGES

  • 7a24911 codegen: [BREAKING] Borrow sourcemaps from codegen (#23422) (Boshen)
  • bb0ed44 transformer: [BREAKING] Disable styled-components transpileTemplateLiterals by default (#23171) (Boshen)

🚀 Features

  • ec266bb transformer: Run React Compiler as a feature-gated transform pass (#23201) (Boshen)

[0.135.0] - 2026-06-08

🚀 Features

  • b846ab2 react_compiler: Integrate the Rust port of the React Compiler (#22942) (Boshen)

[0.133.0] - 2026-05-26

🚀 Features

  • ee659b6 transformer/legacy-decorator: Add strictNullChecks option for nullable-union design:type (#22266) (Kyle Cannon)

[0.128.0] - 2026-04-27

📚 Documentation

  • e4cea25 transform: Use the node: namespace in the example (#19998) (루밀LuMir)

🛡️ Security

  • d8076c9 deps: Update rolldown (#21639) (renovate)

[0.126.0] - 2026-04-15

🚀 Features

  • f5deb55 napi/transform: Expose optimizeConstEnums and optimizeEnums options (#21388) (Dunqing)

[0.125.0] - 2026-04-13

🚀 Features

  • e7e1aea transformer/typescript: Add optimize_enums option for regular enum inlining (#20539) (Dunqing)

[0.117.0] - 2026-03-09

🐛 Bug Fixes

  • ee0491e apps,napi: Explicitly specify libs in tsconfigs (#20071) (camc314)

⚡ Performance

  • 2baa5fb napi: Unify build-test profile to coverage for cache sharing (#20090) (Boshen)

[0.113.0] - 2026-02-10

🐛 Bug Fixes

  • 487601b napi: Disable mimalloc on Windows to fix worker_threads crash (#18923) (Boshen)

[0.112.0] - 2026-02-02

📚 Documentation

  • 3d01fa1 transformer: Update links to use Oxc docs (#18722) (sapphi-red)

[0.111.0] - 2026-01-26

📚 Documentation

  • 8ccd853 npm: Update package homepage URLs and add keywords (#18509) (Boshen)

[0.109.0] - 2026-01-19

🚀 Features

  • 6e8fa80 napi/parser, napi/transform: Accept sourceType: "commonjs" (#18197) (overlookmotel)
  • 66b8c02 parser: Implement unambiguous module parsing for JS/TS files (#18124) (Boshen)

[0.102.0] - 2025-12-08

💥 BREAKING CHANGES

  • 083fea9 napi/parser: [BREAKING] Represent empty optional fields on JS side as null (#16411) (overlookmotel)

[0.100.0] - 2025-12-01

💥 BREAKING CHANGES

  • 934d873 napi: [BREAKING] Drop armv7-unknown-linux-musleabihf support (#16105) (Boshen)

[0.98.0] - 2025-11-17

💥 BREAKING CHANGES

  • ea51b0b napi: [BREAKING] Standardize function naming with sync suffixes (#15661) (Boshen)

[0.97.0] - 2025-11-11

📚 Documentation

  • 4b904b1 transformer: Clarify jsx.pure option would affect JSX elements (#15376) (sapphi-red)

[0.94.0] - 2025-10-06

🚀 Features

  • 588acd5 transformer: Add ES2026 target for explicit resource management (#14330) (Boshen)

🐛 Bug Fixes

  • 013e053 napi/transform: Fix define plugin not applying DCE correctly (#14264) (Boshen)

[0.94.0] - 2025-10-06

🚀 Features

  • 588acd5 transformer: Add ES2026 target for explicit resource management (#14330) (Boshen)

🐛 Bug Fixes

  • 013e053 napi/transform: Fix define plugin not applying DCE correctly (#14264) (Boshen)

[0.92.0] - 2025-09-24

🐛 Bug Fixes

  • 2f9e16d napi/minifier, napi/transformer: Rename CommonJS file to .cjs (#14047) (overlookmotel)

🚜 Refactor

  • cc0019f napi: Move scripts into scripts directory (#14048) (overlookmotel)

[0.92.0] - 2025-09-24

🐛 Bug Fixes

  • 2f9e16d napi/minifier, napi/transformer: Rename CommonJS file to .cjs (#14047) (overlookmotel)

🚜 Refactor

  • cc0019f napi: Move scripts into scripts directory (#14048) (overlookmotel)

[0.91.0] - 2025-09-22

🐛 Bug Fixes

  • 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)

📚 Documentation

  • 7a50ad9 napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel)

💼 Other

  • fb347da crates: V0.91.0 (#13961) (Boshen)

[0.91.0] - 2025-09-22

🐛 Bug Fixes

  • 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)

📚 Documentation

  • 7a50ad9 napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel)

💼 Other

  • fb347da crates: V0.91.0 (#13961) (Boshen)

[0.91.0] - 2025-09-21

🐛 Bug Fixes

  • 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)

📚 Documentation

  • 7a50ad9 napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel)

[0.91.0] - 2025-09-21

🐛 Bug Fixes

  • 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel)

📚 Documentation

  • 7a50ad9 napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel)

[0.90.0] - 2025-09-18

🚀 Features

  • 70c402b napi/transform: Add async transform function (#13881) (Boshen)
  • b52389a node: Bump engines field to require Node.js 20.19.0+ for ESM support (#13879) (Copilot)

🐛 Bug Fixes

  • 9796ec1 napi: Fix binding files (Boshen)

[0.90.0] - 2025-09-18

🚀 Features

  • 70c402b napi/transform: Add async transform function (#13881) (Boshen)
  • b52389a node: Bump engines field to require Node.js 20.19.0+ for ESM support (#13879) (Copilot)

🐛 Bug Fixes

  • 9796ec1 napi: Fix binding files (Boshen)

[0.83.0] - 2025-08-29

💥 BREAKING CHANGES

  • 34d0a01 napi/minify,transform: [BREAKING] Change module type to ESM (#13349) (Boshen)

[0.83.0] - 2025-08-29

💥 BREAKING CHANGES

  • 34d0a01 napi/minify,transform: [BREAKING] Change module type to ESM (#13349) (Boshen)

[0.82.3] - 2025-08-20

🐛 Bug Fixes

  • 76a9865 transformer/legacy-decorator: Metadata should be inserted after all params decorators (#13215) (Dunqing)
  • f10ac33 codegen: Remove end sourcemaps for }, ], ) (#13180) (Boshen)

[0.82.3] - 2025-08-20

🐛 Bug Fixes

  • 76a9865 transformer/legacy-decorator: Metadata should be inserted after all params decorators (#13215) (Dunqing)
  • f10ac33 codegen: Remove end sourcemaps for }, ], ) (#13180) (Boshen)

[0.80.0] - 2025-08-03

🧪 Testing

  • 0ec214b napi: Compile tests in debug mode (#12750) (overlookmotel)

[0.80.0] - 2025-08-03

🧪 Testing

  • 0ec214b napi: Compile tests in debug mode (#12750) (overlookmotel)

[0.78.0] - 2025-07-24

💥 BREAKING CHANGES

  • ccbcf3e transformer, minifier, syntax: [BREAKING] Remove ESTarget::ES5 (#12448) (Dunqing)

🐛 Bug Fixes

  • 986c48e transformer/decorator: Transformed decorators should be injected after class-properties has run (#12418) (Dunqing)

[0.78.0] - 2025-07-24

💥 BREAKING CHANGES

  • ccbcf3e transformer, minifier, syntax: [BREAKING] Remove ESTarget::ES5 (#12448) (Dunqing)

🐛 Bug Fixes

  • 986c48e transformer/decorator: Transformed decorators should be injected after class-properties has run (#12418) (Dunqing)

[0.77.3] - 2025-07-20

⚡ Performance

  • 8bae417 codegen: Remove the useless tokens generated by some expressions (#12394) (Boshen)

[0.77.3] - 2025-07-20

⚡ Performance

  • 8bae417 codegen: Remove the useless tokens generated by some expressions (#12394) (Boshen)

[0.77.0] - 2025-07-12

🚀 Features

  • 75ee3a1 napi/transform: Support enabling StyledComponent plugin (#12155) (Dunqing)
  • 19b97c0 transformer: Support styled components plugin (#12066) (Dunqing)
  • 407429a napi/parser,napi/transform: Accept lang=dts (#12154) (Boshen)

🐛 Bug Fixes

  • bfd47f8 transformer/styled-components: Should use source path to generate file hash when the path is absoulte path (#12199) (Dunqing)

🚜 Refactor

  • baa3726 tests/napi: Add build-test script for tests (#12132) (camc314)

[0.77.0] - 2025-07-12

🚀 Features

  • 75ee3a1 napi/transform: Support enabling StyledComponent plugin (#12155) (Dunqing)
  • 19b97c0 transformer: Support styled components plugin (#12066) (Dunqing)
  • 407429a napi/parser,napi/transform: Accept lang=dts (#12154) (Boshen)

🐛 Bug Fixes

  • bfd47f8 transformer/styled-components: Should use source path to generate file hash when the path is absoulte path (#12199) (Dunqing)

🚜 Refactor

  • baa3726 tests/napi: Add build-test script for tests (#12132) (camc314)

[0.76.0] - 2025-07-08

💥 BREAKING CHANGES

  • 8b30a5b codegen: [BREAKING] Introduce CommentOptions (#12114) (Boshen)

[0.76.0] - 2025-07-08

💥 BREAKING CHANGES

  • 8b30a5b codegen: [BREAKING] Introduce CommentOptions (#12114) (Boshen)

[0.73.1] - 2025-06-17

🚀 Features

  • 81ef443 napi: Add aarch64-linux-android target (#11769) (LongYinan)

[0.73.1] - 2025-06-17

🚀 Features

  • 81ef443 napi: Add aarch64-linux-android target (#11769) (LongYinan)

[0.73.0] - 2025-06-13

📚 Documentation

  • b5a6a6e napi: Add stackblitz examples (Boshen)

[0.73.0] - 2025-06-13

📚 Documentation

  • b5a6a6e napi: 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

  • 1401839 napi: Add webcontainer fallback to transform and minify packages (#11471) (Boshen)

Bug Fixes

  • ab0dd29 napi: Napi build cache problem (#11479) (LongYinan)

[0.72.3] - 2025-06-06

Features

  • 1401839 napi: Add webcontainer fallback to transform and minify packages (#11471) (Boshen)

Bug Fixes

  • ab0dd29 napi: Napi build cache problem (#11479) (LongYinan)

[0.71.0] - 2025-05-20

Features

  • d67c9e5 napi: Bump napi to beta (#11159) (Boshen)

Bug Fixes

  • 963167d napi: Fix cfg feature on global_allocator (Boshen)

[0.71.0] - 2025-05-20

Features

  • d67c9e5 napi: Bump napi to beta (#11159) (Boshen)

Bug Fixes

  • 963167d napi: Fix cfg feature on global_allocator (Boshen)

[0.70.0] - 2025-05-15

Features

  • 647b6f3 napi: Add arm musl (#10958) (Bernd Storath)

Bug Fixes

  • 635aa96 napi: Computed final source type from lang then sourceType (#11060) (Boshen)
  • 584d8b9 napi: Enable mimalloc no_opt_arch feature on linux aarch64 (#11053) (Boshen)

[0.70.0] - 2025-05-15

Features

  • 647b6f3 napi: Add arm musl (#10958) (Bernd Storath)

Bug Fixes

  • 635aa96 napi: Computed final source type from lang then sourceType (#11060) (Boshen)
  • 584d8b9 napi: Enable mimalloc no_opt_arch feature on linux aarch64 (#11053) (Boshen)

[0.69.0] - 2025-05-09

Features

  • 22ba60b napi: Add s390x-unknown-linux-gnu build (#10892) (Boshen)
  • 308fe73 napi: Add x86_64-unknown-freebsd and riscv64gc-unknown-linux-gnu builds (#10886) (Boshen)
  • 6de0bc2 transformer/typescript: Support transforming class fields into this assignment (#10854) (Dunqing)

[0.69.0] - 2025-05-09

Features

  • 22ba60b napi: Add s390x-unknown-linux-gnu build (#10892) (Boshen)
  • 308fe73 napi: Add x86_64-unknown-freebsd and riscv64gc-unknown-linux-gnu builds (#10886) (Boshen)
  • 6de0bc2 transformer/typescript: Support transforming class fields into this assignment (#10854) (Dunqing)

[0.68.0] - 2025-05-03

  • 315143a codegen: [BREAKING] Remove useless CodeGenerator type alias (#10702) (Boshen)

Bug Fixes

  • 4795059 transformer_plugins: Provide reference data when identifiers are replaced (#10620) (Boshen)

Performance

  • 88249f7 napi/transform: Do not create temp String (#10752) (overlookmotel)

Refactor

[0.68.0] - 2025-05-03

  • 315143a codegen: [BREAKING] Remove useless CodeGenerator type alias (#10702) (Boshen)

Bug Fixes

  • 4795059 transformer_plugins: Provide reference data when identifiers are replaced (#10620) (Boshen)

Performance

  • 88249f7 napi/transform: Do not create temp String (#10752) (overlookmotel)

Refactor

[0.67.0] - 2025-04-27

Features

  • b8414db napi/transform: Support enabling removeClassFieldsWithoutInitializer (#10581) (Dunqing)
  • 42ca96a transformer, napi/transform: Deprecate allowDeclareFields option (#10584) (Dunqing)
  • 6bff64e transformer/typescript: Support removeClassFieldsWithoutInitializer option (#10576) (Dunqing)
  • 1962bc6 transformer_plugins: Split out oxc_transformer_plugins crate (#10617) (Boshen)

Documentation

  • 73cd730 transformer: Add documentation for CompilerAssumptions::set_public_class_fields (#10582) (Dunqing)

[0.67.0] - 2025-04-27

Features

  • b8414db napi/transform: Support enabling removeClassFieldsWithoutInitializer (#10581) (Dunqing)
  • 42ca96a transformer, napi/transform: Deprecate allowDeclareFields option (#10584) (Dunqing)
  • 6bff64e transformer/typescript: Support removeClassFieldsWithoutInitializer option (#10576) (Dunqing)
  • 1962bc6 transformer_plugins: Split out oxc_transformer_plugins crate (#10617) (Boshen)

Documentation

  • 73cd730 transformer: Add documentation for CompilerAssumptions::set_public_class_fields (#10582) (Dunqing)

[0.65.0] - 2025-04-21

Documentation

  • 78cdb1c transform: Correct tsc's --isolatedDeclarations flag (#10502) (ocavue)

[0.65.0] - 2025-04-21

Documentation

  • 78cdb1c transform: Correct tsc's --isolatedDeclarations flag (#10502) (ocavue)

[0.64.0] - 2025-04-17

Features

  • dfef8b5 transformer: Enable using by default (#10333) (Boshen)

Bug Fixes

  • 1ff75bc transformer/module_runner: Hoist export (#10347) (hi-ogawa)

[0.64.0] - 2025-04-17

Features

  • dfef8b5 transformer: Enable using by default (#10333) (Boshen)

Bug Fixes

  • 1ff75bc transformer/module_runner: Hoist export (#10347) (hi-ogawa)

[0.63.0] - 2025-04-08

Features

  • 78f1b3a transformer: Enable using by default (#10286) (Boshen)

[0.63.0] - 2025-04-08

Features

  • 78f1b3a transformer: Enable using by default (#10286) (Boshen)

[0.61.0] - 2025-03-20

Features

  • 6565fc4 napi: Feature gate allocator (#9921) (Boshen)
  • 2cedfe4 napi: Add codeframe to napi error (#9893) (Boshen)

Refactor

  • 961b95d napi: Move common code to oxc_napi (#9875) (Boshen)

Testing

  • e637e2e napi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa)

[0.61.0] - 2025-03-20

Features

  • 6565fc4 napi: Feature gate allocator (#9921) (Boshen)
  • 2cedfe4 napi: Add codeframe to napi error (#9893) (Boshen)

Refactor

  • 961b95d napi: Move common code to oxc_napi (#9875) (Boshen)

Testing

  • e637e2e napi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa)

[0.60.0] - 2025-03-18

Features

  • aa3dff8 napi: Add mimalloc to parser and transformr (#9859) (Boshen)

Refactor

  • 7106e5d napi: Disable unused browser fs (#9848) (hi-ogawa)

[0.60.0] - 2025-03-18

Features

  • aa3dff8 napi: Add mimalloc to parser and transformr (#9859) (Boshen)

Refactor

  • 7106e5d napi: Disable unused browser fs (#9848) (hi-ogawa)

[0.58.1] - 2025-03-13

Features

  • a8331f7 transformer: Turn off explicit resource management by default (#9749) (Boshen)

[0.58.1] - 2025-03-13

Features

  • a8331f7 transformer: Turn off explicit resource management by default (#9749) (Boshen)

[0.58.0] - 2025-03-13

Features

  • 3429898 transformer/module_runner_transform: Remove duplicate deps and dynamicDeps (#9709) (Dunqing)

[0.58.0] - 2025-03-13

Features

  • 3429898 transformer/module_runner_transform: Remove duplicate deps and dynamicDeps (#9709) (Dunqing)

[0.57.0] - 2025-03-11

  • 23738bf semantic: [BREAKING] Introduce Scoping (#9611) (Boshen)

Refactor

  • c6edafe napi: Remove npm/oxc-*/ npm packages (#9631) (Boshen)

[0.57.0] - 2025-03-11

  • 23738bf semantic: [BREAKING] Introduce Scoping (#9611) (Boshen)

Refactor

  • c6edafe napi: Remove npm/oxc-*/ npm packages (#9631) (Boshen)

[0.56.4] - 2025-03-07

Bug Fixes

  • c08b7fc napi: Commit wasi files (Boshen)

[0.55.0] - 2025-03-05

Features

  • 45ace44 transformer: Add /* @_PURE__ */ annotation for pure calls (#9424) (Dunqing)
  • ffd485c transformer, napi/transform: Expose moduleRunnerTransform function (#9532) (Dunqing)

[0.54.0] - 2025-03-04

Bug Fixes

  • b4f050c transformer/legacy-decorator: Metadata incorrectly wrapped by decorateParam (#9490) (Dunqing)

Testing

  • d129055 napi: Add tests for worker threads (#9408) (Boshen)

[0.52.0] - 2025-02-21

Features

  • 8a5051e napi/transform: Support enabling emitDecoratorMetadata (#9190) (Dunqing)
  • 90ba283 transformer/decorator: Support emitting decorator metadata (#9057) (Dunqing)

[0.51.0] - 2025-02-15

Features

  • fef82ff transformer/helper-loader: Replace @babel/runtime with @oxc-project/runtime (#9059) (Dunqing)

[0.49.0] - 2025-02-10

Features

  • d6daa75 napi/transform: Support for enabling legacy decorator (#8927) (Dunqing)
  • f2d28f3 transformer: Support for transforming legacy decorator (#8614) (Dunqing)

Styling

  • a4a8e7d all: Replace #[allow] with #[expect] (#8930) (overlookmotel)

[0.46.0] - 2025-01-14

Features

  • 4ad695d napi/minify: Implement napi (#8478) (Boshen)

[0.45.0] - 2025-01-11

Bug Fixes

  • 9a03bd2 transformer/typescript: Remove type-only import = when only_remove_type_imports is true (#8275) (Dunqing)

[0.42.0] - 2024-12-18

Features

  • c16a851 napi/transform: Add jsx: 'preserve' option (#7965) (Boshen)

Refactor

  • 3858221 global: Sort imports (#7883) (overlookmotel)

Styling

  • 7fb9d47 rust: cargo +nightly fmt (#7877) (Boshen)

[0.40.1] - 2024-12-10

Bug Fixes

  • 18d0ce3 napi: Rename Error to OxcError to avoid name collision (#7780) (Boshen)

[0.40.0] - 2024-12-10

Features

  • 2803aec napi/transform: Return helpers information (#7737) (Boshen)
  • 85eec3c napi/transform,napi/parser: Return structured error object (#7724) (Boshen)
  • c98457d napi/transformer: Add runtime helper mode (#7727) (Boshen)

Bug Fixes

  • 245d7d9 oxc_transformer: Alias es2015 to es6 (#7673) (Kevin Deng 三咲智子)

Testing

  • c254a5b napi/transform: Use the expect API instead of assert (#7739) (Boshen)

[0.39.0] - 2024-12-04

Features

  • 5864352 napi/transform: Add TransformerOptions::assumptions (#7601) (翠 / green)
  • 771c698 oxc: Remove oxc_napi crate (#7634) (Boshen)
  • bd977cf oxc: Add oxc_napi crate (#7612) (Boshen)

Bug Fixes

  • be2293a napi/transform: Respect options.sourcemap for id (#7590) (Kevin Deng 三咲智子)

Refactor

  • b4f3812 oxc_napi: Remove source_map - moved to its crate (#7614) (Boshen)

[0.38.0] - 2024-11-26

  • bb2c0c2 transformer: [BREAKING] Return String as error instead of OxcDiagnostic (#7424) (Boshen)

Features

  • 59e7e46 napi/transform: Add TransformOptions::target API (#7426) (Boshen)

Refactor

[0.36.0] - 2024-11-09

  • 846711c transformer: [BREAKING] Change API to take a &TransformOptions instead of TransformOptions (#7213) (Boshen)

Features

  • b4258ee transformer: Add defaulted Module::Preserve option (#7225) (Boshen)

Refactor

  • fc86703 napi/transform: Change test files to TypeScript (#7221) (Boshen)

Testing

  • be819dd napi/transform: Add test for not default es transform (Boshen)

[0.35.0] - 2024-11-04

Bug Fixes

  • d15e408 napi/transform: Fix 'typescript.declaration' option not working (#7012) (Boshen)
  • dcdb9ea napi/transform: Fix test (Boshen)
  • b188b4a transformer: Fix typescript globals being recognized as globals (#7100) (Boshen)

Refactor

  • 335eb38 ast_tools: Faster formatting Rust code (#6972) (overlookmotel)

[0.32.0] - 2024-10-19

  • 91c87dd codegen: [BREAKING] Remove Codegen::enableSourceMap API (#6452) (Boshen)

  • 7645e5c codegen: [BREAKING] Remove CommentOptions API (#6451) (Boshen)

  • 5200960 oxc: [BREAKING] Remove passing Trivias around (#6446) (Boshen)

Refactor

[0.31.0] - 2024-10-08

  • 020bb80 codegen: [BREAKING] Change to CodegenReturn::code and CodegenReturn::map (#6310) (Boshen)

  • 4f6bc79 transformer: [BREAKING] Remove source_type param from Transformer::new (#6251) (overlookmotel)

  • afc3ccb napi/transform: [BREAKING] Rename TransformOptions::react to jsx. (#6211) (Boshen)

Features

  • abd3a9f napi/transform: Perform dce after define plugin (#6312) (Boshen)
  • a0ccc26 napi/transform: Add lang option to change source type (#6309) (Boshen)
  • f98e12c napi/transform: Add inject plugin (#6250) (Boshen)
  • 291891e napi/transform: Add define option (#6212) (Boshen)
  • 51a78d5 napi/transform: Rename all mention of React to Jsx; remove mention of Binding (#6198) (Boshen)
  • 2f888ed oxc: Add napi transform options (#6268) (Boshen)
  • 8729755 oxc,napi/transform: Napi/transform use oxc compiler pipeline (#6298) (Boshen)

Bug Fixes

  • 294da86 napi/transform: Fix index.d.ts (Boshen)

Refactor

  • 5b5daec napi: Use vitest (#6307) (Boshen)
  • 58a8615 napi/transform: Remove context (#6306) (Boshen)
  • 099ff3a napi/transform: Remove "Binding" from types; fix type error (#6260) (Boshen)
  • 54c1c53 napi/transform: Remove a call on TransformOptions::clone (#6210) (Boshen)

[0.30.5] - 2024-09-29

Features

  • 15552ac napi/transform: Display semantic error (#6160) (Boshen)
  • f50fdcd napi/transform: Make react refresh option take a boolean (#6146) (Boshen)

Bug Fixes

  • f27d59f napi/transform: Remove confusing jsx option (#6159) (Boshen)

[0.30.4] - 2024-09-28

Bug Fixes

  • 6f98aad sourcemap: Align sourcemap type with Rollup (#6133) (Boshen)

[0.30.0] - 2024-09-23

Features

  • 84a5816 isolated_declarations: Add stripInternal (#5878) (Boshen)
  • dfbde2c isolated_declarations: Print jsdoc comments (#5858) (Boshen)
  • 3230ae5 semantic: Add SemanticBuilder::with_excess_capacity (#5762) (overlookmotel)

Bug Fixes

  • 127c881 napi/transform: Fix jsdoc links (#5886) (Boshen)
  • 6c04fa1 napi/transform: Make isolated_declaration options optional (#5880) (Boshen)

[0.29.0] - 2024-09-13

Bug Fixes

  • 608b7d3 napi/transformer: Refresh plugin doesn't work even after passing the refresh option (#5702) (Dunqing)

[0.28.0] - 2024-09-11

  • b060525 semantic: [BREAKING] Remove source_type argument from SemanticBuilder::new (#5553) (Boshen)

Features

  • e698418 napi/transform: Align output SourceMap with Rollup's ExistingRawSourceMap (#5657) (Boshen)
  • aba9194 napi/transform: Export react refresh options (#5533) (underfin)

Refactor

[0.27.0] - 2024-09-06

Bug Fixes

  • ea7a52f napi/transform: Fix test (Boshen)

[0.26.0] - 2024-09-03

  • b1d0075 napi/transform: [BREAKING] Align output API sourceText -> code with babel (#5398) (Boshen)

Features

  • 72740b3 isolated_declaration: Support sourcemap option (#5170) (dalaoshu)
  • 01c0c3e transformer: Add remaining options to transformer options (#5169) (Boshen)
  • 0abfc50 transformer/typescript: Support rewrite_import_extensions option (#5399) (Dunqing)

[0.25.0] - 2024-08-23

  • ce4d469 codegen: [BREAKING] Remove const generic MINIFY (#5001) (Boshen)

Features

  • 4b49cf8 transformer: Always pass in symbols and scopes (#5087) (Boshen)

[0.24.1] - 2024-08-10

Bug Fixes

  • 4d0b40a napi/transform: Fix wrong isolated declarations emit (Boshen)

[0.24.0] - 2024-08-08

Bug Fixes

  • 01d85de napi/transform: Update napi files (Boshen)

Refactor

  • 9b51e04 Overhaul napi transformer package (#4592) (DonIsaac)

[0.23.1] - 2024-08-06

Refactor

  • 9b51e04 Overhaul napi transformer package (#4592) (DonIsaac)

[0.20.0] - 2024-07-11

Features

  • 725571a napi/transformer: Add jsx option to force parsing with jsx (#4133) (Boshen)

[0.17.2] - 2024-07-08

Features

  • 720983a napi/transform: Allow setting sourceType to transform (#4113) (Boshen)

[0.17.1] - 2024-07-06

Bug Fixes

  • 150f4d9 napi/transform: Display error with spanned messages (Boshen)

[0.16.2] - 2024-06-30

Refactor

  • 5845057 transformer: Pass in symbols and scopes (#3978) (Boshen)