Skip to content

Release 0.1.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 02:14
· 54 commits to main since this release

0.1.1 - 2026-11-14

Security

  • Enum JSON value errors omit the input name or number. This covers generated enum values, enum field values and elements, registered enum extensions, and reflective enum values. The accepted values and lenient parsing behavior are unchanged. Regenerate existing bindings with the matching generator to update standalone enum deserialization.

  • Generated eager, lazy, and owned views and view oneofs honor skip_debug by formatting only a redaction marker with the type name. Preserved unknown fields still round-trip. Regenerate existing bindings to replace their old Debug implementations.

  • ProtoJSON decoding errors from map-key parsing, numeric conversion and range checks, base64 decoding, malformed Timestamp and Duration strings, and Any payload decoding omit rejected values. Accepted inputs are unchanged. Unknown-field diagnostics outside Any (including Serde-derived errors), parser and deserializer errors at other boundaries, and serialization errors are outside this change.

  • With the runtime zeroize feature enabled, standalone enum deserialization wipes string allocations transferred by Serde, including on rejection. Deserializers retain responsibility for their own buffers.

Added

  • borrowed_views_only_in omits standard owned wrappers and their HasMessageView bindings for selected messages and their containers. Eager and lazy borrowed views remain available.
  • buffa::sensitive::GuardedOwnedView holds eager views in private wiping wire storage. It encodes directly into that storage from owned messages and exposes only borrowed bytes and views.
  • DecodeOptions::clear_on_merge_error clears the entire destination if a merge fails. Generated guarded messages wipe fields through their existing Message::clear implementation.