Repository navigation
chore(deps): move to Oxc 0.158 and upgrade dependencies - #1003
Merged
Merged
Conversation
Oxc 0.158 requires Rust 1.97, so the MSRV rises from 1.94. Projects that embed rumdl next to a current Oxc otherwise link two copies of the parser and AST, since ^0.137 cannot unify with a newer Oxc. ParserReturn::panicked is now fatal_error. All other dependencies, including the development and fuzz ones, move to their latest releases (cargo upgrade --incompatible).
Goldziher
added a commit
to polylint/adrlint
that referenced
this pull request
Nov 16, 2026
polylint-rumdl is the polylint fork of rumdl on Oxc 0.158 with optional CLI allocators (rvben/rumdl#1003, #1004). Upstream rumdl 0.3.4 links jemalloc 0.6 and Oxc 0.137, which a host embedding adrlint next to a current Oxc and jemalloc 0.7 cannot resolve.
Goldziher
added a commit
to polylint/polylint
that referenced
this pull request
Nov 16, 2026
Upstream rumdl 0.3.4 builds on Oxc 0.137, so the web component linked a second oxc next to poly's 0.158, plus rumdl's unconditional jemalloc. polylint-rumdl 0.3.5 is polylint's fork on Oxc 0.158 with the CLI allocators optional (rvben/rumdl#1003, rvben/rumdl#1004), and adrlint 0.5.2 depends on it, so upstream rumdl leaves the graph entirely. The lib name stays rumdl_lib, so no source changes; the engine versions move so cached results are recomputed (#192). components/Cargo.lock duplicates (package names locked at more than one version): 67 -> 54. oxc: 12 duplicated crates (0.137 + 0.158) -> 0. `cargo tree -d -e normal --target all` lists no oxc_, rumdl or tikv-jemalloc entry, and tikv-jemallocator is no longer in the graph (was 0.6.1 through rumdl).
Owner
|
Thanks @Goldziher for this, and for the Oxc 0.159 follow-up in #1008. Unifying the Oxc version is a fair ask for anyone embedding rumdl, and the API change from Your PR also prompted a change to our MSRV policy: |
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the MDX JavaScript parser from Oxc 0.137 to 0.158 and upgrades every other dependency to its latest release, including the dev and fuzz dependencies (
cargo upgrade --incompatible).Why: rumdl requires
oxc_* ^0.137, which cannot unify with a newer Oxc. Any project that embeds rumdl next to a current Oxc (polylint pins 0.158 for its formatters) ends up linking two copies of the Oxc parser and AST.Changes:
rust-versionmoves from 1.94 to 1.97. CONTRIBUTING, the README anddocs/stability.mdare updated to match. The MSRV CI job reads the value fromCargo.toml.ParserReturn::panickedis nowfatal_error(src/lint_context/mdx.rs).markdown = "=1.0.0"stays pinned because it is the reference parser for the compatibility tests, and 1.0.0 is its latest release.Checked locally:
cargo fmt --checkandcargo clippy --all-targets --all-features -- -D warnings -D clippy::uninlined_format_argsare clean.cargo checkon the fuzz crate passes.cargo nextest run --profile quick: 17,129 of 17,131 passed. Two failed under machine load and pass when run alone:config_comment_ranges_unterminated_openers_linear_complexity(a timing bound) andfail_error_policy_keeps_serial_traversal_and_does_not_write_failed_document.