Skip to content

witforge 0.5.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 07:12
· 233 commits to main since this release
c5007a0

0.5.0 publishes the diff review improvements and the post-0.4.4 output and documentation
alignment. It adds an additive public diff API and new diff output; it does not change wire
numbers, protobuf output, JSON Schema output, or the generated Rust type and trait surface.
Generated convert.rs no longer ends with an extra blank line, so consumers that commit it
should regenerate when upgrading.

Added

  • diff reports a guaranteed new-to-old conversion failure as an informational note when a
    shared record type's older version requires a member the newer version removed and that
    member's type has no default. Human, --json, --format json, and SARIF output carry the
    notes; they do not change compatibility counts or exit codes.

Fixed

  • Corrected the Component Model guide: wit-bindgen type remapping works for compatible records
    and variants, but not witforge enums, flags, or aggregates containing them with wit-bindgen
    0.63.0.
  • Published the semantic decode rules non-Rust protobuf implementations must enforce, and
    documented the distinct plain-Rust Serde, WIT-shaped JSON Schema, and proto3-JSON projections.
  • diff now refuses a stale lockfile on a direct version-directory endpoint instead of
    comparing stale entries and potentially reporting a compatible result.
  • Removed the extra blank line at the end of generated convert.rs, and added a whole-tree CI
    whitespace check so committed output cannot preserve the same defect.
  • Kept wide documentation tables inside the mobile viewport with local horizontal scrolling.
  • Added direct guide and API-documentation links to the repository surface, and clarified that
    witforge lock --first creates the first version's wire.lock.
  • Replaced generated-glue test rlib scanning with isolated Cargo compile/run harnesses, so clean
    hosted macOS jobs no longer depend on another test having compiled prost first.