Skip to content

Releases: bgpkit/bgpkit-parser

v0.11.0

26 Feb 19:35
a13f550
Compare
Choose a tag to compare

Breaking changes

  • removing string format prefix like lg: or ecv6 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
  • support converting singleton AsSet to Vec
    • when calling to_u32_vec_opt on AS path object, singleton AsSet will be treated as single ASN

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

27 Oct 15:25
5fc869d
Compare
Choose a tag to compare

Highlights

  • Improved RIS Live message types and handling
  • clean up dependencies
    • models feature is removed, and all dependencies are now required dependencies for the crate
    • models module no-longer requires dependencies introduced by parser, like bytes for encoding
  • decouple oneio from parser feature
    • oneio is no-longer a required dependency for the parser
    • users can now use parser feature without oneio (with --no-default-features specified)
      • to create a new parser, one needs to user BgpkitParser::from_reader function instead of BgpkitParser::new
    • 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 and AS4_PATH segments, the parser incorrectly uses AS_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 in AS4_PATH

v0.10.11-beta.1

16 Oct 21:26
cfaa312
Compare
Choose a tag to compare
v0.10.11-beta.1 Pre-release
Pre-release

Highlights

  • Improved RIS Live message types and handling
  • clean up dependencies
    • models feature is removed, and all dependencies are now required dependencies for the crate
    • models module no-longer requires dependencies introduced by parser, like bytes for encoding
  • decouple oneio from parser feature
    • oneio is no-longer a required dependency for the parser
    • users can now use parser feature without oneio (with --no-default-features specified)
      • to create a new parser, one needs to user BgpkitParser::from_reader function instead of BgpkitParser::new
    • downstream libraries that only utilize parser code (such as RIS Live parsing) no-longer have to depend on oneio

v0.10.10

06 Aug 03:11
136bdff
Compare
Choose a tag to compare

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

v0.10.9

12 Apr 14:09
78e9aca
Compare
Choose a tag to compare

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 to BmpMsgType, BmpPeerType and BmpPerPeerHeader, PerPeerFlags, BmpPeerType
  • implemented Default, PartialEq, Eq and Hash for BmpPerPeerHeader
    • this allows users and compare and hash BmpPerPeerHeader structs
    • also implemented .strip_timestamp() to remove the timestamp from the BmpPerPeerHeader struct for cases where
      the timestamp is not needed
  • rename MessageBody to BmpMessageBody
  • derive Clone, PartialEq to BmpMessage and MessageBody
  • added serialization/deserialization support for BmpMessage and BmpMessageBody

v0.10.8

05 Apr 22:15
c76b5e4
Compare
Choose a tag to compare

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 and UnknownTlvValue errors for parsing BMP TLV records
    • added Clone and PartialEq derives to most of the BMP message structs

v0.10.7

04 Apr 16:03
af03064
Compare
Choose a tag to compare

Highlights

  • improve end-of-RIB marker detection (#161)

v0.10.6

30 Mar 18:36
ce02577
Compare
Choose a tag to compare

Bug fix

  • fixed an code panic issue where malformed RIB dump entry with non-existing peer ID causes a panic
    • also removed a number of unwraps in the code to handle errors more gracefully
    • see issue #158 for details. thanks @mbUSC for the bug report

v0.10.5

27 Mar 22:51
56c4d09
Compare
Choose a tag to compare

Highlights

  • by default handles only gzip and bzip2 files
    • to support xz and lz files, use the optional feature xz and lz

v0.10.4

20 Mar 22:56
2d5e722
Compare
Choose a tag to compare

Hot fix

  • update oneio to v0.16.4
    • add http2 and charset feature flag to reqwest