Skip to content

chore: prepare release 0.5.0 - #67

Merged
eitsupi merged 1 commit into
mainfrom
release/0.5.0
Oct 1, 2026
Merged

eitsupi merged 1 commit into
mainfrom
release/0.5.0

Conversation

@eitsupi

@eitsupi eitsupi commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Bump the workspace crates and internal dependency references from 0.5.0-rc.2 to 0.5.0.
  • Finalize the dated 0.5.0 changelog and update the published dependency examples.
  • Carry the existing rd-writer provisional 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-ast API. Consumers migrating from 0.4.x should follow
the rd-ast 0.5.0 migration guide, especially
for the RdPath to RdAstPath transition and renamed _lossy accessors. The
canonical Rd tree, its ordering, whitespace, and option-presence semantics
remain unchanged.

Added

Changed

  • rd-source Parsed::into_parts() remains the document/diagnostics
    projection; use into_parts_with_source_map() for owned provenance.
    Parsed equality intentionally excludes the source map (feat(rd-source): expose exact source maps #53).
  • rd-ast Split the breaking location model: canonical RdAstPath is now
    separate from producer-side LowerPath; position-aware cursors and sibling
    ranges are available, and node-level semantic inspection goes through
    RdNodeRef (feat!: preserve AST locations through rd-ast views #48).
  • rd-ast Rename intentional best-effort APIs with *_lossy. Singleton
    lossy section accessors now return located RdField values; obtain the
    legacy slice projection with body() (feat!: make lossy rd-ast APIs explicit #49).
  • rd-rds Rename the lazy-load UnsupportedVariableReference error to
    UnsupportedRecordReference, covering both variable reads and persistence
    reference reads (feat(rd-rds): add installed code database inspection #40).
  • rd-writer No writer behavior changes in this release. The existing
    provisional classification rule continues through the 0.5.x series for
    failures between WriteError::Verification and
    WriteError::Unserializable: a future patch release may reclassify
    Verification as Unserializable when the input has no faithful Rd source
    representation, but not the reverse. Existing errors and the successful-
    write guarantee are unchanged in 0.5.0.
  • rd-helpdb The internal rd-rds/lazyload feature is now always enabled;
    because it includes gzip for normal .rdx files, --no-default-features
    still retains gzip while disabling the optional xz, bzip2, and zstd
    standalone .rds codecs. Compiled help database .rdx parsing and .rdb
    record access use rd-rds's bounded lazyload reader while retaining the
    PackageHelpDb API and lower-level compatibility adapters (feat(rd-helpdb): use bounded lazy-load container #36).

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.
@eitsupi
eitsupi merged commit ba58eb3 into main Oct 1, 2026
31 checks passed
@eitsupi
eitsupi deleted the release/0.5.0 branch October 1, 2026 14:12
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.

1 participant