Repository navigation
Release 0.1.1
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
zeroizefeature enabled, standalone enum deserialization wipes string allocations transferred by Serde, including on rejection. Deserializers retain responsibility for their own buffers.
Added
borrowed_views_only_inomits standard owned wrappers and theirHasMessageViewbindings for selected messages and their containers. Eager and lazy borrowed views remain available.buffa::sensitive::GuardedOwnedViewholds 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_errorclears the entire destination if a merge fails. Generated guarded messages wipe fields through their existingMessage::clearimplementation.