Repository navigation
chore: prepare release 0.5.0 - #67
Merged
Merged
Conversation
Promote all workspace crates and internal dependency requirements from 0.5.0-rc.2 to 0.5.0 without updating external dependencies. Consolidate the release changelog, document breaking API migrations and additive metadata readers, and refresh dependency examples. Continue the provisional writer error-classification policy through 0.5.x without changing writer behavior.
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
0.5.0-rc.2to0.5.0.rd-writerprovisional classification rule through 0.5.x without changing writer behavior in this release.Changelog
[0.5.0] - 2026-10-01
This release makes canonical AST locations and located semantic views
part of the public
rd-astAPI. Consumers migrating from 0.4.x should followthe
rd-ast0.5.0 migration guide, especiallyfor the
RdPathtoRdAstPathtransition and renamed_lossyaccessors. Thecanonical Rd tree, its ordering, whitespace, and option-presence semantics
remain unchanged.
Added
original-byte spans for nodes and present options. The map is exposed as an
opaque
RdSourceMap; source-map lookup is covered by consumer-orientedcontracts, including writer error paths and located semantic views (feat(rd-source): track parser source extents #52,
feat(rd-source): expose exact source maps #53, test(rd-source): validate source map consumer contract #54).
Meta/nsInfo.rdsandMeta/package.rdsartifacts, with explicit separation between boundedfile-read and typed-view validation errors (feat(rd-rds): add installed metadata readers #51).
package::InstalledCodeDbprovides explicitR/<pkg>.rdx/.rdbaccess,an index-order stored-binding inventory, structured unknown and duplicate
handling for ambiguity-aware inspection, direct and compound
persistence-reference handling, raw and zlib records, and best-effort
database provenance (feat(rd-rds): add installed code database inspection #40).
lazyloadfeature provides bounded.rdxindex and.rdbrecord reading, preserving stored variables and persistence references in
index order. It includes the standalone
gzipfeature required by normalinstalled-package
.rdxindexes (feat(rd-rds): add bounded lazy-load database access #35).LazyLoadIndexalso supportsbounded
.rdxinspection without a companion.rdb(feat(rd-rds): expose index-only lazy-load reads #58).inspection::inspectandinspect_with_options, with no optional codecfeature requirement. It preserves formal order and default presence,
validates reference alignment, stops at the body tag, and enforces
explicit byte and formal-count limits without validating unvisited raw
payloads.
InstalledCodeDbreuses the inspector and preserves existingpackage-level inspection type paths (feat(rd-rds): inspect serialized closure prefixes #39, feat(rd-rds): expose record prefix inspection #65).
package::NamespaceMetadataview reads staticMeta/nsInfo.rdsdeclarations with field-local diagnostics, import aliases and exclusions,
source/namespace export pairs, separate S3 registration and evidence
information, and explicit S4 export declarations. An R CMD INSTALL fixture
covers named exports, import exclusions and aliases, and S3 declarations
(feat(rd-rds): add namespace metadata view #37).
HelpTopicIndexreadsMeta/Rd.rdswithout a compiled help database andpreserves ordered alias groups, source file names, optional titles, and
missing, NA, or invalid field states. Metadata alias lookup uses the first
matching row (feat(rd-helpdb): expose typed help-topic metadata #59).
HelpSearchIndexreads the fourMeta/hsearch.rdsmatrices withoutopening the compiled help database, preserving stored row order,
duplicates, empty strings, and R
NAvalues with limited historicalschema compatibility (feat(rd-helpdb): add standalone typed help-search metadata #66).
Changed
Parsed::into_parts()remains the document/diagnosticsprojection; use
into_parts_with_source_map()for owned provenance.Parsedequality intentionally excludes the source map (feat(rd-source): expose exact source maps #53).RdAstPathis nowseparate from producer-side
LowerPath; position-aware cursors and siblingranges are available, and node-level semantic inspection goes through
RdNodeRef(feat!: preserve AST locations through rd-ast views #48).*_lossy. Singletonlossy section accessors now return located
RdFieldvalues; obtain thelegacy slice projection with
body()(feat!: make lossy rd-ast APIs explicit #49).UnsupportedVariableReferenceerror toUnsupportedRecordReference, covering both variable reads and persistencereference reads (feat(rd-rds): add installed code database inspection #40).
provisional classification rule continues through the 0.5.x series for
failures between
WriteError::VerificationandWriteError::Unserializable: a future patch release may reclassifyVerificationasUnserializablewhen the input has no faithful Rd sourcerepresentation, but not the reverse. Existing errors and the successful-
write guarantee are unchanged in 0.5.0.
rd-rds/lazyloadfeature is now always enabled;because it includes gzip for normal
.rdxfiles,--no-default-featuresstill retains gzip while disabling the optional xz, bzip2, and zstd
standalone
.rdscodecs. Compiled help database.rdxparsing and.rdbrecord access use
rd-rds's boundedlazyloadreader while retaining thePackageHelpDbAPI and lower-level compatibility adapters (feat(rd-helpdb): use bounded lazy-load container #36).