Skip to content

chore(deps): update oxc to ^0.129.0#261

Merged
Brooooooklyn merged 3 commits intomainfrom
renovate/oxc
May 6, 2026
Merged

chore(deps): update oxc to ^0.129.0#261
Brooooooklyn merged 3 commits intomainfrom
renovate/oxc

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 5, 2026

This PR contains the following updates:

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

Release Notes

oxc-project/oxc (oxc-parser)

v0.129.0

🐛 Bug Fixes
  • 429deac napi/parser: Export visitorKeys from wasm entrypoint (#​21996) (NullVoxPopuli)

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) May 5, 2026 12:41
@renovate renovate Bot enabled auto-merge (squash) May 5, 2026 15:24
@renovate renovate Bot force-pushed the renovate/oxc branch from de4d5e6 to fa03268 Compare May 5, 2026 15:24
@Brooooooklyn Brooooooklyn disabled auto-merge May 5, 2026 15:32
@Brooooooklyn
Copy link
Copy Markdown
Member

@claude[agent] fix the tests failed after oxc upgrade, there must be config changes. Don't pass the test by updating the snapshot, research which config need to be changed to produce the same output

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 5, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@Brooooooklyn
Copy link
Copy Markdown
Member

@claude[agent] cargo test still fail

…mode

In oxc 0.129.0, the TypeScript transform now generates field declarations
for constructor parameter properties (e.g., `constructor(private foo: Bar)`
generates `foo;` field declaration). This breaks JIT mode because we need
decorated fields preserved but parameter property fields removed.

Solution:
1. Before oxc transform: collect parameter property names from constructor
   parameters that have accessibility modifiers, readonly, or override
2. After oxc transform: remove ONLY the field declarations that match
   parameter property names AND have no decorators AND have no initializers

This approach correctly distinguishes between:
- Parameter property fields (remove): `foo;` from `constructor(private foo)`
- Decorated fields (keep): `@Input() myField;`
- Initialized fields (keep): `myField = value;`

The key insight is that JIT classes can be class expressions assigned to
variables (e.g., `let Component = class Component {...}`), not just class
declarations, so we must handle both Statement::ClassDeclaration and
Statement::VariableDeclaration with ClassExpression.

All 319 integration tests now pass.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
@Brooooooklyn
Copy link
Copy Markdown
Member

@claude[agent] run cargo fmt, everything should work fine after this

Agent-Logs-Url: https://github.com/voidzero-dev/oxc-angular-compiler/sessions/8b548384-6766-4e5b-b356-b185029cf373

Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
@Claude
Copy link
Copy Markdown
Contributor

Claude AI commented May 6, 2026

@claude[agent] run cargo fmt, everything should work fine after this

Done in fef9c00. All 319 tests pass.

@Brooooooklyn Brooooooklyn merged commit 7c8590e into main May 6, 2026
9 checks passed
@Brooooooklyn Brooooooklyn deleted the renovate/oxc branch May 6, 2026 05:23
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