Conversation
Monitor Oxc
|
There was a problem hiding this comment.
Pull request overview
This PR releases version 0.102.0 of the oxc project, updating all packages and crates across the monorepo from version 0.101.0. The release includes a breaking change for the NAPI parser interface (representing empty optional fields as null), new features for the parser, semantic analysis, minifier, and codegen, plus bug fixes and performance improvements.
Key Changes
- Breaking change: NAPI parser now represents empty optional fields as
nullinstead ofundefined - New features: TypeScript error checking (TS1174, TS2309), minifier treeshaking improvements, comment preservation in codegen
- Version updates: All 30+ crates and NPM packages bumped to 0.102.0
Reviewed changes
Copilot reviewed 47 out of 48 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| npm/runtime/package.json | Bump version to 0.102.0 |
| npm/oxc-types/package.json | Bump version to 0.102.0 |
| napi/transform/package.json | Bump version to 0.102.0 |
| napi/transform/index.js | Update version checks for all platform bindings to 0.102.0 |
| napi/transform/Cargo.toml | Bump version to 0.102.0 |
| napi/transform/CHANGELOG.md | Add release notes for 0.102.0 with breaking changes |
| napi/parser/src-js/bindings.js | Update version checks for all platform bindings to 0.102.0 |
| napi/parser/package.json | Bump version to 0.102.0 |
| napi/parser/Cargo.toml | Bump version to 0.102.0 |
| napi/parser/CHANGELOG.md | Add comprehensive release notes for 0.102.0 |
| napi/minify/package.json | Bump version to 0.102.0 |
| napi/minify/index.js | Update version checks for all platform bindings to 0.102.0 |
| napi/minify/Cargo.toml | Bump version to 0.102.0 |
| napi/minify/CHANGELOG.md | Add release notes for 0.102.0 with breaking changes |
| crates/oxc_traverse/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_transformer_plugins/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_transformer/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_syntax/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_syntax/CHANGELOG.md | Add release notes for bug fixes |
| crates/oxc_span/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_semantic/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_semantic/CHANGELOG.md | Add release notes for new features |
| crates/oxc_regular_expression/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_parser/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_parser/CHANGELOG.md | Add release notes for parser improvements |
| crates/oxc_napi/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_napi/CHANGELOG.md | Add release notes for breaking changes |
| crates/oxc_minifier/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_minifier/CHANGELOG.md | Add release notes for minifier features |
| crates/oxc_mangler/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_isolated_declarations/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_estree/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_ecmascript/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_ecmascript/CHANGELOG.md | Add release notes for ECMAScript features |
| crates/oxc_diagnostics/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_data_structures/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_compat/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_codegen/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_codegen/CHANGELOG.md | Add release notes for codegen features |
| crates/oxc_cfg/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_ast_visit/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_ast_macros/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_ast/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc_ast/CHANGELOG.md | Add release notes for AST features |
| crates/oxc_allocator/Cargo.toml | Bump version to 0.102.0 |
| crates/oxc/Cargo.toml | Bump version to 0.102.0 |
| Cargo.toml | Update all workspace dependency versions to 0.102.0 |
| Cargo.lock | Update lockfile with new versions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
CodSpeed Performance ReportMerging #16595 will not alter performanceComparing Summary
Footnotes
|
### 💥 BREAKING CHANGES - 083fea9 napi/parser: [**BREAKING**] Represent empty optional fields on JS side as `null` (#16411) (overlookmotel) ### 🚀 Features - 7a2afee parser: Add TS1174 error for classes extending multiple base classes (#15993) (sapphi-red) - da87812 semantic: Add TS2309 error for export assignment with other exports (#15992) (sapphi-red) - d6d2bcd minifier: Remove unused function calls that are marked by `manual_pure_functions` (#16534) (sapphi-red) - c90f053 minifier: Support `.` separated values for `compress.treeshake.manualPureFunctions` (#16529) (sapphi-red) - a607cc4 codegen: Preserve comments between CatchClause's param and body (#16167) (copilot-swe-agent) - 8c10694 semantic: Expose get_comment_at method (#16439) (camc314) - 3981e7a ast: Add get_comment_at to lookup a comment by span (#16438) (camc314) ### 🐛 Bug Fixes - 699406a napi/parser: Move `ExportEntry::module_request` field to first (#16412) (overlookmotel) - 12bd794 napi/parser: Move `ExportEntry::module_request` field to last (#16403) (overlookmotel) ### ⚡ Performance - 790beeb napi/parser: Do not remove extraneous options on JS side (#16447) (overlookmotel) Co-authored-by: Boshen <[email protected]>
### 💥 BREAKING CHANGES - 083fea9 napi/parser: [**BREAKING**] Represent empty optional fields on JS side as `null` (oxc-project#16411) (overlookmotel) ### 🚀 Features - 7a2afee parser: Add TS1174 error for classes extending multiple base classes (oxc-project#15993) (sapphi-red) - da87812 semantic: Add TS2309 error for export assignment with other exports (oxc-project#15992) (sapphi-red) - d6d2bcd minifier: Remove unused function calls that are marked by `manual_pure_functions` (oxc-project#16534) (sapphi-red) - c90f053 minifier: Support `.` separated values for `compress.treeshake.manualPureFunctions` (oxc-project#16529) (sapphi-red) - a607cc4 codegen: Preserve comments between CatchClause's param and body (oxc-project#16167) (copilot-swe-agent) - 8c10694 semantic: Expose get_comment_at method (oxc-project#16439) (camc314) - 3981e7a ast: Add get_comment_at to lookup a comment by span (oxc-project#16438) (camc314) ### 🐛 Bug Fixes - 699406a napi/parser: Move `ExportEntry::module_request` field to first (oxc-project#16412) (overlookmotel) - 12bd794 napi/parser: Move `ExportEntry::module_request` field to last (oxc-project#16403) (overlookmotel) ### ⚡ Performance - 790beeb napi/parser: Do not remove extraneous options on JS side (oxc-project#16447) (overlookmotel) Co-authored-by: Boshen <[email protected]>
💥 BREAKING CHANGES
null(feat(napi/parser)!: represent empty optional fields on JS side asnull#16411) (overlookmotel)🚀 Features
manual_pure_functions(feat(minifier): remove unused function calls that are marked bymanual_pure_functions#16534) (sapphi-red).separated values forcompress.treeshake.manualPureFunctions(feat(minfier): support.separated values forcompress.treeshake.manualPureFunctions#16529) (sapphi-red)🐛 Bug Fixes
ExportEntry::module_requestfield to first (fix(napi/parser): moveExportEntry::module_requestfield to first #16412) (overlookmotel)ExportEntry::module_requestfield to last (fix(napi/parser): reorder fields ofExportEntryon JS side #16403) (overlookmotel)⚡ Performance