Skip to content

Releases: bgpkit/bgpkit-parser

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

[YANKED] v0.10.3

20 Mar 22:34
7896c23
Compare
Choose a tag to compare

v0.10.3 YANKED DUE TO UPSTREAM LIBRARY ISSUE, USE v0.10.4 OR ABOVE

Highlights

  • fixed an panic issue when sometimes merging AS path segments of 4-byte ASN path and 2-byte ASN path
    • see issue #156 for details
  • update oneio to v0.16.3
    • gzip decompression depends on flate2's rust-backend feature instead of zlib-ng that requires cmake to build