Skip to content

chore(deps): update oxc to ^0.138.0#378

Merged
Brooooooklyn merged 3 commits into
mainfrom
renovate/oxc
Jul 3, 2026
Merged

chore(deps): update oxc to ^0.138.0#378
Brooooooklyn merged 3 commits into
mainfrom
renovate/oxc

Conversation

@renovate

@renovate renovate Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
oxc-parser (source) ^0.137.0^0.138.0 age adoption passing confidence devDependencies minor
oxc-transform (source) ^0.137.0^0.138.0 age adoption passing confidence devDependencies minor
oxc_allocator 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_ast 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_ast_visit 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_codegen 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_diagnostics 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_napi 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_parser 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_semantic 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_span 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_str 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_syntax 0.1370.138 age adoption passing confidence workspace.dependencies minor
oxc_transformer 0.1370.138 age adoption passing confidence workspace.dependencies minor

Release Notes

oxc-project/oxc (oxc-parser)

v0.138.0

🛡️ Security

Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot enabled auto-merge (squash) June 29, 2026 21:59
@renovate renovate Bot force-pushed the renovate/oxc branch from c787211 to 9417738 Compare July 1, 2026 23:04
@renovate renovate Bot force-pushed the renovate/oxc branch from 9417738 to e8d7deb Compare July 2, 2026 02:55
@Brooooooklyn

Copy link
Copy Markdown
Member

@copilot fix the compile error after the oxc upgrade

auto-merge was automatically disabled July 3, 2026 16:00

Head branch was pushed to by a user without write access

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

@copilot fix the compile error after the oxc upgrade

Fixed in commits on this branch. The oxc_allocator 0.138.0 API changed: fn new_in<A: GetAllocator>(allocator: A) became fn new_in<A: GetAllocator>(allocator: &A), with only &Allocator (not Allocator) implementing GetAllocator. Three patterns were fixed:

  1. Production code (allocator: &Allocator param): new_in(allocator)new_in(&allocator)
  2. Owned allocators (napi, inline tests): new_in(&allocator)new_in(&&allocator) where allocator: Allocator
  3. Inline test modules in src files (skipped by cargo build but compiled by cargo test): same &&allocator fix

All 36 test suites pass with cargo test.

Copilot AI requested a review from Brooooooklyn July 3, 2026 16:03
@Brooooooklyn

Copy link
Copy Markdown
Member

@copilot run cargo fmt

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

@copilot run cargo fmt

Done in the latest commit.

@Brooooooklyn Brooooooklyn merged commit 60870bc into main Jul 3, 2026
9 checks passed
@Brooooooklyn Brooooooklyn deleted the renovate/oxc branch July 3, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants