Files
oxc-project__oxc/crates/oxc_react_compiler/CHANGELOG.md
oxc-guard 45a17c25d1 release(crates): oxc v0.143.0 (#25250)
### 💥 BREAKING CHANGES

- 4120da0 semantic: [**BREAKING**] Return borrowed JSDoc so the parse cache works (#25186) (Connor Shea)
- f0a41c8 allocator: [**BREAKING**] Remove `ArenaBox::dangling` method (#25236) (overlookmotel)
- 067da8c ast: [**BREAKING**] Store single parameter in `TSIndexSignature::parameter` (#25154) (camc314)
- a0c7788 ast: [**BREAKING**] Change `TSIndexSignatureName::name` to `Ident` (#25150) (camc314)
- 1bdedd1 ast: [**BREAKING**] Introduce `ExportDeclaration`, `ExportFromDeclaration` (#25095) (camc314)
- c917f20 ast: [**BREAKING**] Introduce `ArrowFunctionBody` enum (#24987) (camc314)
- 7e1199c ast: [**BREAKING**] Remove conversion to `Box` from AST builder methods (#25038) (overlookmotel)

### 🚀 Features

- 3c8312e allocator: Make `Box` `Send` + `Sync` when the type it contains is (#25242) (overlookmotel)
- cb5bc08 ast: Derive `GetSpan` for `Comment` (#25147) (leaysgur)
- 8541e18 ast_tools: Generate minifier scope collector (#25088) (camc314)
- 5acdae2 ecmascript: Skip transparent TS expressions (#25072) (camc314)
- 85d0f4d napi: Add React Compiler transform binding (#24934) (Boshen)
- 70d6ece minifier: Fold safe integer exponentiation (#25009) (Dunqing)
- 73fc747 minifier: Enable termination statement optimization for do while (#24921) (Armano)
- 5eadfdb minifier: Fold safe integer division and remainder (#24981) (Dunqing)

### 🐛 Bug Fixes

- 6c9ee14 minifier: Preserve if-chain idempotency and correct side effects when alternate should not be moved (#25041) (Armano)
- 8a47ff3 ecmascript: Do not treat lone-surrogate strings as constants (#25084) (Dunqing)
- 468b970 isolated-declarations: Strip re-export attributes (#25090) (camc314)
- a70035d parser: Report export imports in namespaces (#25086) (camc314)
- 5d8ccf5 react_compiler: Preserve nonfatal diagnostics (#25066) (Boshen)
- d349e4a react_compiler: Match eslint suppression gating (#25068) (Boshen)
- 0dc16ba react_compiler: Track catch block declarations (#25067) (Boshen)
- e6734a5 minifier: Fold typeof comparisons with known object strings (#25017) (Dunqing)
- 3a9d5a5 minifier: Keep `typeof foo == ['object']` as-is (#24941) (sapphi-red)
- 10ec276 ast: Custom AST builder methods take `IntoIn<ArenaBox>` where child method does (#25033) (overlookmotel)
- fbe8d31 minifier: Respect targets when folding RegExp source (#24790) (Dunqing)

### ⚡ Performance

- fb402b0 minifier: Stop re-deriving printed numeric spellings (#25103) (Dunqing)
- 7251e52 react_compiler: Avoid large types on stack (#25037) (overlookmotel)
- e07718f isolated_declarations: Avoid large types on stack (#25036) (overlookmotel)
- 9fb1e3e transformer: Avoid large types on stack (#25035) (overlookmotel)
- 8b80f8b parser: Avoid large types on stack (#25034) (overlookmotel)

### 📚 Documentation

- 2ea0aa9 ast: Correct grammar in AST builder methods doc comments (#25173) (overlookmotel)
2026-08-03 11:07:37 +00:00

4.0 KiB

Changelog

All notable changes to this package will be documented in this file.

The format is based on Keep a Changelog.

[0.143.0] - 2026-08-03

💥 BREAKING CHANGES

  • 1bdedd1 ast: [BREAKING] Introduce ExportDeclaration, ExportFromDeclaration (#25095) (camc314)
  • c917f20 ast: [BREAKING] Introduce ArrowFunctionBody enum (#24987) (camc314)
  • 7e1199c ast: [BREAKING] Remove conversion to Box from AST builder methods (#25038) (overlookmotel)

🐛 Bug Fixes

  • 5d8ccf5 react_compiler: Preserve nonfatal diagnostics (#25066) (Boshen)
  • d349e4a react_compiler: Match eslint suppression gating (#25068) (Boshen)
  • 0dc16ba react_compiler: Track catch block declarations (#25067) (Boshen)

⚡ Performance

  • 7251e52 react_compiler: Avoid large types on stack (#25037) (overlookmotel)

[0.142.0] - 2026-07-27

🐛 Bug Fixes

  • 9d7745a react-compiler: Preserve warning bailouts (#24935) (Boshen)

⚡ Performance

  • 98f2ecb react_compiler: Compare value set pointers before probing in state merge (#24805) (Marius Schulz)

[0.141.0] - 2026-07-20

💥 BREAKING CHANGES

  • 54cc121 ast: [BREAKING] Split MetaProperty into ImportMeta and NewTarget (#24557) (camc314)

⚡ Performance

  • ba35a0d react_compiler: Use IndexVec for dense id-keyed maps (#24549) (Boshen)
  • b685062 react_compiler: Keep small hot-path collections inline (#24514) (Marius Schulz)
  • 7808a6e react_compiler: Make aliasing effects cheap to intern and clone (#24506) (Marius Schulz)
  • 3a36f2a react_compiler: Store AbstractValue reasons as a u16 bitmask (#24480) (Boshen)
  • 1c96753 react_compiler: Use FxHashMap for the lookup-only aliasing node map (#24490) (Boshen)

[0.140.0] - 2026-07-13

🚀 Features

  • a3a39f9 react_compiler: Implement enableEmitHookGuards codegen (#24329) (Boshen)

⚡ Performance

  • dce0f29 react_compiler: Replace all compiled functions in a single AST walk (#24403) (Boshen)

[0.139.0] - 2026-07-06

🐛 Bug Fixes

  • d966d0b react_compiler: Remove clippy allows (#24168) (Boshen)
  • 854ef8d react_compiler: Compile generic functions instead of over-bailing on type-param hoisting (#24158) (Boshen)
  • 093586c react_compiler: Align memoization cache-slot allocation with Babel (#24157) (Boshen)
  • 09c8f59 react_compiler: Normalize snapshot fixture paths (#24142) (camc314)
  • f13df97 react_compiler: Drop stray empty statement from catch bindings (#24133) (Boshen)
  • cb2a505 react_compiler: Codegen destructuring reassignment targets (#24131) (Boshen)
  • b82c394 react_compiler: Propagate codegen invariants instead of emitting empty bodies (#24128) (Boshen)
  • 5771982 react_compiler: Render unchanged programs as source in fixture snapshots (#24129) (Boshen)
  • 4e9194f react_compiler: Lower delete obj.prop to Property/ComputedDelete (#24123) (Boshen)

⚡ Performance

  • bf1a151 react_compiler: Compile out debug printers (#24184) (Boshen)
  • e4b708b react_compiler: Skip compiled files before prefilters (#24171) (Boshen)

[0.138.0] - 2026-06-29

🚀 Features

  • f2091b3 ast: Unify old and new AstBuilders (#23875) (overlookmotel)

⚡ Performance

  • 3ea9304 react_compiler: Use faster API to arena allocate strings (#23849) (overlookmotel)

📚 Documentation

  • 3d61dea all: Correct capitalization in comments (#23887) (overlookmotel)

[0.137.0] - 2026-06-18

🐛 Bug Fixes

  • 20375f9 react_compiler: Keep imports referenced only by a computed key (#23586) (Boshen)

⚡ Performance

  • 488b382 react_compiler: Borrow binding names in prefilter instead of allocating (#23471) (Yunfei He)

[0.136.0] - 2026-06-15

🚀 Features

  • 1490a0a linter/react: Implement react-compiler rule (#23202) (Boshen)
  • ec266bb transformer: Run React Compiler as a feature-gated transform pass (#23201) (Boshen)

🐛 Bug Fixes

  • de38a3f react_compiler: Keep imports referenced only by a local re-export (#23176) (Boshen)

[0.135.0] - 2026-06-08

🚀 Features

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