Skip to content

V0.9.0 Major refactor, RFC9234

Choose a tag to compare

@digizeph digizeph released this 31 Mar 04:49
· 777 commits to main since this release
28a5e47

Overview

This release primarily focused on improving code quality and performance, with several essential refactorings made to the codebase, including:

  • changing the repository to a monorepo (#77)
  • replacing the ipnetwork library with ipnet (#78)
  • removing custom DataBytes struct from the codebase (#80 and #86)
  • applying and enforcing cargo fmt (#89)

In addition to these improvements, several new features were added, including:

  • the addition of only-to-customer attributes to elem (#93)
  • support for the new RFC9234 for route leak prevention BGP path attribute (#65)

Furthermore, new documentation was added for BGP extended and large communities (#98), and new benchmarks were written to improve cross-platform support (#90). Finally, extensive unit tests were added to enhance the reliability of the library (#97).

Details

New Features

Refactors

  • Change repository to monorepo by @digizeph in #77
  • Replace ipnetwork lib with ipnet by @digizeph in #78
  • Fix #82 and lazily create header bytes by @jmeggitt in #83
  • Make BgpkitParser Generic For Any Reader by @jmeggitt in #81
  • Remote custom DataBytes struct, allow generic over Read for parser constructor by @digizeph in #80 and #86
  • Apply cargo fmt changes by @digizeph in #89
  • Rewrite existing benchmarks to improve cross-platform support and cover additional tools by @jmeggitt in #90
  • Check MD5 checksum after downloading new test data by @jmeggitt in #91

Tests

  • BGP path attributes parsing unit tests by @digizeph in #97

Documentation

  • Add example to search for AS set messages by @digizeph in #94
  • Document display formats for BGP extended and large communities by @digizeph in #98

New Contributor

@jmeggitt made significant code refactor and performance contributions to this release, including:

  • Fix #82 and lazily create header bytes in #83
  • Make BgpkitParser Generic For Any Reader in #81
  • Rewrite existing benchmarks to improve cross-platform support and cover additional tools in #90
  • Check MD5 checksum after downloading new test data in #91

Thank you @jmeggitt for your contribution!

Full Changelog: v0.8.1...v0.9.0