Conversation
Monitor Oxc
|
There was a problem hiding this comment.
Pull request overview
Bumps the Oxc Rust crates, NAPI packages, and npm helper packages to v0.113.0, and updates per-package changelogs/version checks to match the release contents described in the PR metadata (breaking changes, features, fixes, perf).
Changes:
- Update crate/package versions across Rust workspace, NAPI packages, and npm packages from
0.112.0→0.113.0. - Refresh NAPI runtime version-mismatch checks to expect
0.113.0. - Add/extend
CHANGELOG.mdentries for0.113.0across relevant crates/packages (and add a new changelog foroxc_str).
Reviewed changes
Copilot reviewed 57 out of 58 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| npm/runtime/package.json | Bump npm runtime helpers package version to 0.113.0. |
| npm/oxc-types/package.json | Bump npm types package version to 0.113.0. |
| napi/transform/package.json | Bump NAPI transformer package version to 0.113.0. |
| napi/transform/index.js | Update native binding version check to expect 0.113.0. |
| napi/transform/Cargo.toml | Bump Rust crate version for transformer NAPI to 0.113.0. |
| napi/transform/CHANGELOG.md | Add 0.113.0 changelog entry for transformer NAPI. |
| napi/parser/src-js/bindings.js | Update native binding version check to expect 0.113.0. |
| napi/parser/package.json | Bump NAPI parser package version to 0.113.0. |
| napi/parser/Cargo.toml | Bump Rust crate version for parser NAPI to 0.113.0. |
| napi/parser/CHANGELOG.md | Add 0.113.0 changelog entry for parser NAPI. |
| napi/minify/package.json | Bump NAPI minifier package version to 0.113.0. |
| napi/minify/index.js | Update native binding version check to expect 0.113.0. |
| napi/minify/Cargo.toml | Bump Rust crate version for minifier NAPI to 0.113.0. |
| napi/minify/CHANGELOG.md | Add 0.113.0 changelog entry for minifier NAPI. |
| crates/oxc_traverse/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_traverse/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_transformer_plugins/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_transformer_plugins/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_transformer/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_transformer/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_syntax/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_syntax/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_str/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_str/CHANGELOG.md | Add new changelog file with 0.113.0 entry. |
| crates/oxc_span/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_span/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_semantic/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_semantic/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_regular_expression/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_regular_expression/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_parser/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_parser/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_napi/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_minifier/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_minifier/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_mangler/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_mangler/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_isolated_declarations/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_isolated_declarations/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_estree/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_ecmascript/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_ecmascript/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_diagnostics/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_data_structures/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_compat/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_codegen/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_codegen/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_cfg/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_ast_visit/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_ast_visit/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_ast_macros/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_ast/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_ast/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc_allocator/Cargo.toml | Bump crate version to 0.113.0. |
| crates/oxc_allocator/CHANGELOG.md | Add 0.113.0 changelog entry. |
| crates/oxc/Cargo.toml | Bump top-level crate version to 0.113.0. |
| Cargo.toml | Update workspace dependency versions to 0.113.0. |
| Cargo.lock | Update locked crate versions to 0.113.0. |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
Merge activity
|
### 💥 BREAKING CHANGES - 2bf7293 mangler: [**BREAKING**] Enable `top_level` by default for modules and commonjs (oxc-project#18278) (sapphi-red) - 48b0542 span: [**BREAKING**] SourceType::ts should set module to unambigious (oxc-project#18873) (Boshen) ### 🚀 Features - 500d071 minifier: Local traverse ctx and generated minifier traverse (oxc-project#19106) (Boshen) - 142a1be parser: Detect binary files with TS1490 error (oxc-project#19047) (Boshen) - e316857 allocator/bitset: Add `Ones` iterator to `BitSet` (oxc-project#19027) (sapphi-red) - 742ad3f minifier: Default `invalid_import_side_effects` to `false` (oxc-project#18916) (sapphi-red) - 0eff6be parser: Error JSX-like type assertions and generics in `.mts`/`.cts` (oxc-project#18910) (Boshen) - 18320c6 span: Store file extension in `SourceType` (oxc-project#18893) (Boshen) ### 🐛 Bug Fixes - a7514e4 isolated-declarations: Preserve const context in literal type inference (oxc-project#19178) (camc314) - 312e756 isolated-declarations: Preserve readonly literal initializers (oxc-project#19177) (camc314) - d0ca8d0 isolated-declarations: Skip parenthesis when inferring type (oxc-project#19176) (camc314) - 110c300 oxc_ecmascript: `+[false]` and `+[true]` should evaluate to `NaN` (oxc-project#19174) (copilot-swe-agent) - f32ea19 semantic: Report redeclaration error for import bindings conflicting with value declarations (oxc-project#19068) (Boshen) - 3aeba7a semantic: Report redeclaration error for `function a() {} var a` in module mode (oxc-project#19041) (Boshen) - 35e32c6 coverage: Match Babel's options.json inheritance for test fixtures (oxc-project#19002) (Boshen) - 463d60d semantic: Skip TS2391 for standalone computed-name class methods (oxc-project#19025) (Boshen) - 56c086b parser: Add modifier ordering validation (TS1029) (oxc-project#19024) (Boshen) - 6067a49 linter/jsdoc: False positive in `check-tag-names` for `@` in email addresses and npm scopes (oxc-project#19021) (Boshen) - b13bb70 semantic/jsdoc: Inline tags like `{@link}` break jsdoc parsing (oxc-project#19019) (Boshen) - e3609e3 regular_expression: Preserve UnicodeEscape CharacterKind in string literals (oxc-project#18998) (Boshen) - 57917ee parser: Parse decorators on rest parameters (oxc-project#18938) (Boshen) - 487601b napi: Disable mimalloc on Windows to fix worker_threads crash (oxc-project#18923) (Boshen) - 1f6b193 parser: Validate TypeScript import type options (oxc-project#18889) (Boshen) - 1663184 parser: Allow conditional types in function type parameters (oxc-project#18886) (Boshen) - 5758046 parser: Error on property access after instantiation expression (oxc-project#18887) (Boshen) - 5eb4a94 parser: Handle `<<` as two `<` tokens in type argument contexts (oxc-project#18885) (Boshen) ### ⚡ Performance - ed8c054 oxc_str: Add precomputed hash to Ident for fast HashMap lookups (oxc-project#19143) (Boshen) - d4a0867 transformer_plugins: Switch ReplaceGlobalDefines from Traverse to VisitMut (oxc-project#19146) (Boshen) - 9eb16b3 syntax: Pack ASCII identifier tables into single bitflag table (oxc-project#19088) (Boshen) - e7595d1 mangler: Use BitSet for exported symbols set (oxc-project#19023) (sapphi-red) - 2537924 semantic: Optimize scope resolution with fast paths and inlining (oxc-project#19029) (Boshen) - 69a8d85 mangler: Use BitSet for keep_names symbols set (oxc-project#19028) (sapphi-red) - f78c525 parser: Try hybrid parsing for jsx children and closing element/fragments (oxc-project#18789) (camchenry) Co-authored-by: camc314 <18101008+camc314@users.noreply.github.com>
💥 BREAKING CHANGES
top_levelby default for modules and commonjs (feat(mangler)!: enabletop_levelby default for modules and commonjs #18278) (sapphi-red)🚀 Features
Onesiterator toBitSet(feat(allocator/bitset): addOnesiterator toBitSet#19027) (sapphi-red)invalid_import_side_effectstofalse(feat(minifier): defaultinvalid_import_side_effectstofalse#18916) (sapphi-red).mts/.cts(feat(parser): error JSX-like type assertions and generics in.mts/.cts#18910) (Boshen)SourceType(feat(span): store file extension inSourceType#18893) (Boshen)🐛 Bug Fixes
+[false]and+[true]should evaluate toNaN(fix(oxc_ecmascript):+[false]and+[true]should evaluate toNaN#19174) (copilot-swe-agent)function a() {} var ain module mode (fix(semantic): report redeclaration error forfunction a() {} var ain module mode #19041) (Boshen)check-tag-namesfor@in email addresses and npm scopes (fix(linter/jsdoc): false positive incheck-tag-namesfor@in email addresses and npm scopes #19021) (Boshen){@link}break jsdoc parsing (fix(semantic/jsdoc): inline tags like{@link}break jsdoc parsing #19019) (Boshen)<<as two<tokens in type argument contexts (fix(parser): handle<<as two<tokens in type argument contexts #18885) (Boshen)⚡ Performance