Releases: bgpkit/bgpkit-parser
Releases · bgpkit/bgpkit-parser
v0.11.0
Breaking changes
- removing string format prefix like
lg:
orecv6
for large and extended communities- users who work with community value strings will have a unified experience for all community values
- users can still use SDK to match and check different types of community values
Highlights
- storing AS path filter regex object for reuse
- this will improve filter performance
- allow filter messages by community values
- by converting community values to string and do string comparison
- add
local
flag to allow local-only processing- this removes dependencies like
reqwest
- this removes dependencies like
- support converting singleton AsSet to Vec
- when calling
to_u32_vec_opt
on AS path object, singleton AsSet will be treated as single ASN
- when calling
Bug fixes
- fixed a bug where RIS-live withdrawal messages were not properly parsed
Documentation
- add new RIS-Live async example
Maintenance
- update dependencies
- add
.env
to gitignore - remote unnecessary life-time annotations
v0.10.11
Highlights
- Improved RIS Live message types and handling
- clean up dependencies
models
feature is removed, and all dependencies are now required dependencies for the cratemodels
module no-longer requires dependencies introduced by parser, likebytes
for encoding
- decouple
oneio
fromparser
featureoneio
is no-longer a required dependency for the parser- users can now use
parser
feature withoutoneio
(with--no-default-features
specified)- to create a new parser, one needs to user
BgpkitParser::from_reader
function instead ofBgpkitParser::new
- to create a new parser, one needs to user
- downstream libraries that only utilize parser code (such as RIS Live parsing) no-longer have to depend on oneio
- improve RouteViews Kafka example by allowing wildcard topic subscription
Bug fixes
- fixed an issue where when merging
AS_PATH
andAS4_PATH
segments, the parser incorrectly usesAS_PATH
segment
content- this issue may manifest as
AS_TRANS
(AS23456
) appearing in the AS path while the correct 32-bit ASN has been
sent inAS4_PATH
- this issue may manifest as
v0.10.11-beta.1
Highlights
- Improved RIS Live message types and handling
- clean up dependencies
models
feature is removed, and all dependencies are now required dependencies for the cratemodels
module no-longer requires dependencies introduced by parser, likebytes
for encoding
- decouple
oneio
fromparser
featureoneio
is no-longer a required dependency for the parser- users can now use
parser
feature withoutoneio
(with--no-default-features
specified)- to create a new parser, one needs to user
BgpkitParser::from_reader
function instead ofBgpkitParser::new
- to create a new parser, one needs to user
- downstream libraries that only utilize parser code (such as RIS Live parsing) no-longer have to depend on oneio
v0.10.10
Highlights
- update
oneio
to v0.17.0- now users can set env var
ONEIO_ACCEPT_INVALID_CERTS=true
to disable certificate validation, useful in some
environment where users do not manage certificates
- now users can set env var
v0.10.9
BMP messages SDK improvements
- expose all pub structs and enums for BMP messages
- this allows users to access struct definitions and operate on them directly
- added
Copy
toBmpMsgType
,BmpPeerType
andBmpPerPeerHeader
,PerPeerFlags
,BmpPeerType
- implemented
Default
,PartialEq
,Eq
andHash
forBmpPerPeerHeader
- this allows users and compare and hash
BmpPerPeerHeader
structs - also implemented
.strip_timestamp()
to remove the timestamp from theBmpPerPeerHeader
struct for cases where
the timestamp is not needed
- this allows users and compare and hash
- rename
MessageBody
toBmpMessageBody
- derive
Clone
,PartialEq
toBmpMessage
andMessageBody
- added serialization/deserialization support for
BmpMessage
andBmpMessageBody
v0.10.8
Highlights
- improve support for more BMP data types and better error
handling (#163)- added explicit enum
PeerDownReason
,TerminationReason
,PeerUpTlvType
instead of saving them as integers - added support for AFI-SAFI gauge for
StatisticsReport
message- this fixes issue #162
- added
UnknownTlvType
andUnknownTlvValue
errors for parsing BMP TLV records - added
Clone
andPartialEq
derives to most of the BMP message structs
- added explicit enum
v0.10.7
v0.10.6
v0.10.5
Highlights
- by default handles only
gzip
andbzip2
files- to support
xz
andlz
files, use the optional featurexz
andlz
- to support
v0.10.4
Hot fix
- update
oneio
tov0.16.4
- add
http2
andcharset
feature flag toreqwest
- add