You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttrRaw fields changed: attr_type: AttrType replaced with code: u8. Use .attr_type() to get the AttrType back. bytes changed from Vec<u8> to Bytes.
AttrType::CLUSTER_ID removed: Code 13 is the deprecated RCID_PATH / CLUSTER_ID per IANA registry and is now retained as AttributeValue::Deprecated.
AttributeValue gains new variants: Raw(AttrRaw), BfdDiscriminator(...), BgpPrefixSid(...), Bier(...), Sfp(...). Downstream exhaustive matches must handle these.
AigpTlv.value changed: From Vec<u8> to Bytes.
No more silent attribute loss: Known-but-unsupported attributes that were previously dropped are now retained as AttributeValue::Raw(AttrRaw). If your code expected these to be absent, it may now see them.
New features
RIS Live raw message parsing: Added parse_ris_live_message_raw() and parse_ris_live_message_json() so users can opt into RIS Live socketOptions.includeRaw and parse original BGP wire messages instead of only RIS Live's reduced JSON attribute projection. Raw parsing now validates the full RIS Live ris_message envelope and expects standard id/host fields.
RIS Live subscription helpers: Re-exported RisSubscribe, RisSubscribeType, and RisLiveClientMessage from the crate root, making it easier to request includeRaw in examples and downstream code.
RIS Live examples: Updated the synchronous WebSocket example to demonstrate includeRaw + raw BGP parsing; kept the async example on JSON-field parsing with comments showing how to opt into raw parsing.
Raw attribute retention: Known BGP path attributes without semantic parsing are no longer silently dropped. They are retained as AttributeValue::Raw(AttrRaw) with their original wire code and bytes, enabling faithful re-encoding.
Deprecated code point handling: Removed AttrType::CLUSTER_ID = 13 (deprecated per IANA); code 13 is now retained as Deprecated(AttrRaw). Added is_deprecated_attr_type() helper.
AttrType::BIER added: Code 41 (RFC 9793) added to the enum.
Typed parser failure fallback: If a typed attribute parser fails, the original bytes are retained as AttributeValue::Raw instead of being dropped. A validation warning is still recorded.
Serialization: Added serde feature to bytes dependency so AttrRaw (with Bytes) can be serialized.