-
-
Notifications
You must be signed in to change notification settings - Fork 762
release(crates): oxc v0.100.0 #16331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weāll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
Monitor Oxc
|
There was a problem hiding this 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 version 0.100.0 of the oxc project, bumping all packages and crates from version 0.99.0. The release includes breaking changes to the TSImportType AST node, dropping support for the armv7-unknown-linux-musleabihf platform, along with various features, bug fixes, performance improvements, and documentation updates.
- Version bumped from 0.99.0 to 0.100.0 across all packages and crates
- Updated version checks in native binding loaders for all supported platforms
- Added changelog entries documenting breaking changes, features, and fixes
Reviewed changes
Copilot reviewed 48 out of 49 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| npm/runtime/package.json | Bumped package version to 0.100.0 |
| npm/oxc-types/package.json | Bumped package version to 0.100.0 |
| npm/oxc-types/CHANGELOG.md | Added 0.100.0 release notes with bug fix entry |
| napi/transform/package.json | Bumped package version to 0.100.0 |
| napi/transform/index.js | Updated version checks from 0.99.0 to 0.100.0 for all platform bindings |
| napi/transform/Cargo.toml | Bumped crate version to 0.100.0 |
| napi/transform/CHANGELOG.md | Added 0.100.0 release notes with breaking changes |
| napi/parser/src-js/bindings.js | Updated version checks from 0.99.0 to 0.100.0 for all platform bindings |
| napi/parser/package.json | Bumped package version to 0.100.0 |
| napi/parser/Cargo.toml | Bumped crate version to 0.100.0 |
| napi/parser/CHANGELOG.md | Added 0.100.0 release notes with breaking changes, features, bug fixes, and performance improvements |
| napi/minify/package.json | Bumped package version to 0.100.0 |
| napi/minify/index.js | Updated version checks from 0.99.0 to 0.100.0 for all platform bindings |
| napi/minify/Cargo.toml | Bumped crate version to 0.100.0 |
| napi/minify/CHANGELOG.md | Added 0.100.0 release notes with breaking changes |
| crates/oxc_traverse/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_traverse/CHANGELOG.md | Added 0.100.0 release notes with breaking changes and bug fixes |
| crates/oxc_transformer_plugins/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_transformer/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_syntax/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_span/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_span/CHANGELOG.md | Added 0.100.0 release notes with performance improvements |
| crates/oxc_semantic/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_semantic/CHANGELOG.md | Added 0.100.0 release notes with breaking changes |
| crates/oxc_regular_expression/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_parser/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_parser/CHANGELOG.md | Added 0.100.0 release notes with breaking changes, features, bug fixes, performance improvements, and documentation |
| crates/oxc_napi/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_minifier/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_minifier/CHANGELOG.md | Added 0.100.0 release notes with bug fixes |
| crates/oxc_mangler/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_isolated_declarations/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_estree/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_ecmascript/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_diagnostics/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_data_structures/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_compat/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_codegen/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_codegen/CHANGELOG.md | Added 0.100.0 release notes with breaking changes |
| crates/oxc_cfg/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_ast_visit/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_ast_visit/CHANGELOG.md | Added 0.100.0 release notes with breaking changes |
| crates/oxc_ast_macros/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_ast/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc_ast/CHANGELOG.md | Added 0.100.0 release notes with breaking changes, features, and bug fixes |
| crates/oxc_allocator/Cargo.toml | Bumped crate version to 0.100.0 |
| crates/oxc/Cargo.toml | Bumped crate version to 0.100.0 |
| Cargo.toml | Updated all workspace dependency versions from 0.99.0 to 0.100.0 |
| Cargo.lock | Updated all package versions from 0.99.0 to 0.100.0 in the lock file |
š” Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
CodSpeed Performance ReportMerging #16331 will not alter performanceComparing Summary
Footnotes
|
### š„ BREAKING CHANGES - 74cf572 ast: [**BREAKING**] Make `source` field of `TSImportType` a `StringLiteral` (oxc-project#16114) (copilot-swe-agent) - 43156ae ast: [**BREAKING**] Rename `TSImportType` `argument` field to `source` (oxc-project#16110) (overlookmotel) - 934d873 napi: [**BREAKING**] Drop `armv7-unknown-linux-musleabihf` support (oxc-project#16105) (Boshen) ### š Features - 669afe0 ast: Add `Expression::is_jsx` method (oxc-project#16154) (Dunqing) - 17a8caa parser: Add diagnostic for JSX identifiers with hyphens (oxc-project#16133) (camchenry) - 0549ae5 parser: Add diagnostic for expected ident after optional chain (oxc-project#16132) (camchenry) - db839ae parser: Improve diagnostic for unexpected optional declarations (oxc-project#16131) (camchenry) - bab4bc8 napi/parser: Add type annotations to parse-raw-worker test (oxc-project#15998) (camc314) ### š Bug Fixes - 35ed36c traverse: Fix panic when truncating non-ASCII variable names (oxc-project#16265) (peter) - 9149a26 linter/plugins, napi/parser: Deep freeze visitor keys (oxc-project#16293) (overlookmotel) - 6b54dab minifier: Incorrect non-null object condition simplification with `&&` and `||` (oxc-project#16161) (sapphi-red) - 9cc20a1 minifier: Avoid merging side effectful expressions to next assignment statement if the side effect may change the left hand side reference (oxc-project#16165) (sapphi-red) - 91eb3f2 ast/estree: Convert `TSImportType` `argument` field to `Literal` (oxc-project#16109) (overlookmotel) - 1199cee parser: Reject invalid modifiers on parameter properties with binding patterns (oxc-project#16083) (camc314) - f376325 traverse: Remove `console.log` from build script (oxc-project#16049) (overlookmotel) ### ā” Performance - 82d784f lexer: Reduce bounds checks in `Lexer::get_string` (oxc-project#16317) (overlookmotel) - cc2f352 span: Add `#[inline]` to `Atom` methods (oxc-project#16311) (overlookmotel) - ffca070 span: Add `#[repr(transparent)]` to `Atom` (oxc-project#16310) (overlookmotel) - 02bdf90 linter/plugins, napi/parser: Reuse arrays in visitor keys (oxc-project#16294) (overlookmotel) ### š Documentation - 891e0b4 parser: Add note about falling back to parse TSType in TSImportType (oxc-project#16119) (camc314) Co-authored-by: Boshen <[email protected]>
š„ BREAKING CHANGES
sourcefield ofTSImportTypeaStringLiteral(feat(ast)!: Makesourcefield ofTSImportTypeaStringLiteralĀ #16114) (copilot-swe-agent)TSImportTypeargumentfield tosource(feat(ast)!: renameTSImportTypeargumentfield tosourceĀ #16110) (overlookmotel)armv7-unknown-linux-musleabihfsupport (feat(napi)!: droparmv7-unknown-linux-musleabihfsupportĀ #16105) (Boshen)š Features
Expression::is_jsxmethod (feat(ast): addExpression::is_jsxmethodĀ #16154) (Dunqing)š Bug Fixes
&&and||(fix(minifier): incorrect non-null object condition simplification with&&and||Ā #16161) (sapphi-red)TSImportTypeargumentfield toLiteral(fix(ast/estree): convertTSImportTypeargumentfield toLiteralĀ #16109) (overlookmotel)console.logfrom build script (fix(traverse): removeconsole.logfrom build scriptĀ #16049) (overlookmotel)ā” Performance
Lexer::get_string(perf(lexer): reduce bounds checks inLexer::get_stringĀ #16317) (overlookmotel)#[inline]toAtommethods (perf(span): add#[inline]toAtommethodsĀ #16311) (overlookmotel)#[repr(transparent)]toAtom(perf(span): add#[repr(transparent)]toAtomĀ #16310) (overlookmotel)š Documentation