crates_v0.151.0

oxc-project/oxccrates_v0.151.0Sep 21, 2026by github-actions[bot]

Upgrading?

AI Summary

This release focuses on bug fixes in the minifier, transformer, and parser, specifically regarding await handling, enum reverse mappings, and recovery patterns. It also includes performance optimizations for the minifier and semantic analyzer.

Key Highlights

  • Minifier bug fix for missing negation on boolean literals.
  • Parser improvements: Preserve reparsed await tokens and reject invalid modifiers on import aliases.
  • Performance optimizations: Preallocate statement vectors and reuse identifier hashes.

New Features

  • Coverage: Support new TypeScript fixture layout.

Full Release Notes

### 🚀 Features

- 1fac655 coverage: Support new TypeScript fixture layout (#26226) (camc314)

### 🐛 Bug Fixes

- cd7228f minifier: Add missing negation for boolean literal (#26847) (Armano)
- 32305e2 transformer: Skip enum reverse mappings for syntactic string initializers (#26724) (Dunqing)
- 7811f0a parser: Preserve reparsed `await` tokens (#26619) (camc314)
- 9220158 transformer: Skip recovered using loop patterns (#26722) (camc314)
- 3130405 parser: Recover await using object binding patterns (#26721) (camc314)
- 827fdbd parser: Reject invalid modifiers on import aliases (#26622) (camc314)

### ⚡ Performance

- 3f1e3aa minifier: Preallocate stmts vec size to avoid excesive reallocs (#26856) (Armano)
- bd3f69e semantic: Reuse identifier hashes in enum member lookups (#26773) (camc314)
- 5f72954 minifier: Reduce allocations when processing if statements (#26666) (Armano)

Related Repositories