Repository navigation
chore: update rd dependencies to 0.5.0-alpha.1 - #83
Merged
Merged
Conversation
This was referenced Sep 26, 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.
Summary
rd-astandrd-sourcefrom 0.4.0 to 0.5.0-alpha.1RdNodeRef/RdNodesRefthrough the production conversion pipeline instead of constructing empty legacy pathsRdDocument::walk()pass, including option, raw, link-display, and S4-link coverageCompatibility assessment
The compile failures from the version bump matched the breaking changes documented in the upstream changelog and rd-ast-0.5-migration.md: path type replacement, node-inspector receivers moving to
RdNodeRef, located document fields with explicit lossy accessors, and private view fields.This is therefore an intentional downstream migration rather than a newly identified bug in either repository. The existing best-effort metadata behavior is preserved by choosing the new
*_lossyaccessors explicitly. Custom traversal remains only where rd2qmd needs sibling-aware semantics that the structural walk does not provide: paragraph boundaries and the three-node roxygen pattern.Although this migration touches the conversion pipeline end to end, it preserves existing output behavior and avoids unrelated changes.
The upstream changelog describes alpha.1 as the beginning of the 0.5.0 breaking API series and notes that source-map support is planned for a later prerelease. If the documented migration contract remains unchanged, moving to stable 0.5.0 should require only a dependency/lockfile update and verification; any additional prerelease API changes will need separate adaptation.
Tests
cargo check --workspace --all-targets --all-featurescargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo test --all-targets --all-features --workspace(336 passed, 0 failed, 1 ignored)git diff --check