Skip to content

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Nov 17, 2025

💥 BREAKING CHANGES

🚀 Features

🐛 Bug Fixes

⚡ Performance

📚 Documentation

Copilot AI review requested due to automatic review settings November 17, 2025 09:08
@Boshen Boshen self-assigned this Nov 17, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 17, 2025

Monitor Oxc

suite result
Isolated Declarations
(compressor)
(whitespace)
(mangler)
(dce)
(formatter_dcr)
(codegen)
(transformer)
(formatter)

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 17, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added A-parser Area - Parser A-semantic Area - Semantic A-minifier Area - Minifier A-ast Area - AST A-transformer Area - Transformer / Transpiler A-codegen Area - Code Generation A-cfg Area - Control Flow Graph A-isolated-declarations Isolated Declarations labels Nov 17, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR releases oxc version 0.98.0, bumping all package versions from 0.97.0 to 0.98.0. The release includes breaking changes to NAPI function naming, several parser improvements, minifier enhancements, and various bug fixes across the codebase.

Key Changes:

  • Breaking change: Standardized NAPI function naming with sync suffixes
  • Parser improvements for error messages (switch clauses, import statements, JSX, function bodies)
  • Minifier enhancements including binary expression rotation and DCE improvements
  • Bug fixes in semantic analysis, AST handling, and parser

Reviewed Changes

Copilot reviewed 45 out of 46 changed files in this pull request and generated no comments.

Show a summary per file
File Description
npm/runtime/package.json Version bump to 0.98.0
npm/oxc-types/package.json Version bump to 0.98.0
napi/transform/package.json Version bump to 0.98.0
napi/transform/index.js Updated version checks for all platform bindings to 0.98.0
napi/transform/Cargo.toml Version bump to 0.98.0
napi/transform/CHANGELOG.md Added 0.98.0 release notes with breaking changes
napi/parser/src-js/bindings.js Updated version checks for all platform bindings to 0.98.0
napi/parser/package.json Version bump to 0.98.0
napi/parser/Cargo.toml Version bump to 0.98.0
napi/parser/CHANGELOG.md Added 0.98.0 release notes with features and breaking changes
napi/minify/package.json Version bump to 0.98.0
napi/minify/index.js Updated version checks for all platform bindings to 0.98.0
napi/minify/Cargo.toml Version bump to 0.98.0
napi/minify/CHANGELOG.md Added 0.98.0 release notes with features and breaking changes
crates/*/Cargo.toml Version bump to 0.98.0 for all Rust crates
crates/*/CHANGELOG.md Added 0.98.0 release notes documenting changes per crate
Cargo.toml Updated workspace dependency versions to 0.98.0
Cargo.lock Updated dependency resolution with new version 0.98.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 17, 2025

CodSpeed Performance Report

Merging #15771 will not alter performance

Comparing release/crates-1763370495 (4567118) with main (c023ba6)

Summary

✅ 37 untouched

@Boshen Boshen assigned overlookmotel and unassigned Boshen Nov 17, 2025
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Nov 17, 2025
Copy link
Member

overlookmotel commented Nov 17, 2025

Merge activity

  • Nov 17, 12:23 PM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Nov 17, 12:23 PM UTC: overlookmotel added this pull request to the Graphite merge queue.
  • Nov 17, 12:25 PM UTC: The Graphite merge queue couldn't merge this PR because it was in draft mode.

### 💥 BREAKING CHANGES

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

### 🚀 Features

- 77efb76 parser: Improve error message for invalid switch clauses (#15728) (sapphi-red)
- 5691727 parser: Improve `import source` `from` error message (#15727) (sapphi-red)
- b7404bc parser: Improve error message for missing function body (#15726) (sapphi-red)
- 71c2fb0 parser: Improve error message when JSX is found while not enabled (#15725) (sapphi-red)
- 56e7e44 minifier: Disable removal of unnecessary `use strict` directives for DCE (#15691) (sapphi-red)
- 8a61cfd allocator, ast: Introduce `UnstableAddress` trait (#15700) (overlookmotel)
- f5ce55a napi: Export all options using wildcard exports (Boshen)
- 68703b9 minifier: Rotate binary expressions to remove parentheses (#15473) (sapphi-red)

### 🐛 Bug Fixes

- c023ba6 semantic: Do not duplicate statements in temp `Vec` when binding `TSModuleDeclaration`s (#15724) (overlookmotel)
- d60ca81 parser: Reject `import something 'source'` (#15746) (sapphi-red)
- e0728fa ast: Exclude comment end position from `is_inside_comment` check (#15753) (camc314)
- 9f54a36 semantic: Error on `\00` in strict mode (#15743) (sapphi-red)
- 440a977 ast: Include rest properties when using `get_binding_identifiers` (#15710) (camc314)

### ⚡ Performance

- 1f09d3c parser: Faster checking for invalid modifiers (#15717) (overlookmotel)
- d8d4e31 ast: Use loop instead of recursion in `TSModuleDeclarationBody::as_module_block_mut` (#15713) (overlookmotel)

### 📚 Documentation

- e033d50 ast: Clarify behavior of `TSModuleDeclaration::has_use_strict_directive` (#15730) (overlookmotel)
- 9eda70f allocator: Improve docs for `Address` methods (#15697) (overlookmotel)
@graphite-app graphite-app bot force-pushed the release/crates-1763370495 branch from 4567118 to 51a303d Compare November 17, 2025 12:24
@overlookmotel overlookmotel marked this pull request as draft November 17, 2025 12:24
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Nov 17, 2025
@overlookmotel overlookmotel marked this pull request as ready for review November 17, 2025 12:37
@overlookmotel overlookmotel merged commit c588bc5 into main Nov 17, 2025
22 checks passed
@overlookmotel overlookmotel deleted the release/crates-1763370495 branch November 17, 2025 12:38
taearls pushed a commit to taearls/oxc that referenced this pull request Dec 11, 2025
### 💥 BREAKING CHANGES

- ea51b0b napi: [**BREAKING**] Standardize function naming with sync
suffixes (oxc-project#15661) (Boshen)

### 🚀 Features

- 77efb76 parser: Improve error message for invalid switch clauses
(oxc-project#15728) (sapphi-red)
- 5691727 parser: Improve `import source` `from` error message (oxc-project#15727)
(sapphi-red)
- b7404bc parser: Improve error message for missing function body
(oxc-project#15726) (sapphi-red)
- 71c2fb0 parser: Improve error message when JSX is found while not
enabled (oxc-project#15725) (sapphi-red)
- 56e7e44 minifier: Disable removal of unnecessary `use strict`
directives for DCE (oxc-project#15691) (sapphi-red)
- 8a61cfd allocator, ast: Introduce `UnstableAddress` trait (oxc-project#15700)
(overlookmotel)
- f5ce55a napi: Export all options using wildcard exports (Boshen)
- 68703b9 minifier: Rotate binary expressions to remove parentheses
(oxc-project#15473) (sapphi-red)

### 🐛 Bug Fixes

- c023ba6 semantic: Do not duplicate statements in temp `Vec` when
binding `TSModuleDeclaration`s (oxc-project#15724) (overlookmotel)
- d60ca81 parser: Reject `import something 'source'` (oxc-project#15746)
(sapphi-red)
- e0728fa ast: Exclude comment end position from `is_inside_comment`
check (oxc-project#15753) (camc314)
- 9f54a36 semantic: Error on `\00` in strict mode (oxc-project#15743) (sapphi-red)
- 440a977 ast: Include rest properties when using
`get_binding_identifiers` (oxc-project#15710) (camc314)

### ⚡ Performance

- 1f09d3c parser: Faster checking for invalid modifiers (oxc-project#15717)
(overlookmotel)
- d8d4e31 ast: Use loop instead of recursion in
`TSModuleDeclarationBody::as_module_block_mut` (oxc-project#15713) (overlookmotel)

### 📚 Documentation

- e033d50 ast: Clarify behavior of
`TSModuleDeclaration::has_use_strict_directive` (oxc-project#15730) (overlookmotel)
- 9eda70f allocator: Improve docs for `Address` methods (oxc-project#15697)
(overlookmotel)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast Area - AST A-cfg Area - Control Flow Graph A-codegen Area - Code Generation A-isolated-declarations Isolated Declarations A-minifier Area - Minifier A-parser Area - Parser A-semantic Area - Semantic A-transformer Area - Transformer / Transpiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants