Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

2021-12-29

Compare
Choose a tag to compare
@little-dude little-dude released this 29 Dec 21:47
· 110 commits to master since this release

Versioning

  • audit 0.4.0 -> 0.6.0 (botched 0.5.0 release)
  • ethtool 0.1.0 -> 0.2.0
  • genetlink 0.1.0 -> 0.2.0
  • netlink-packet-audit 0.2.2 -> 0.4.0 (botched 0.4.0 release)
  • netlink-packet-core 0.2.4 -> 0.4.1 (botched 0.3.0 release, 0.4.0 was published with downgraded dependencies to break cycles)
  • netlink-packet-generic 0.1.0 -> 0.2.0
  • netlink-packet-route 0.8.0 -> 0.10.0 (botched 0.9.0 release)
  • netlink-packet-sock-diag 0.1.0 -> 0.3.0 (botched 0.2.0 release)
  • netlink-packet-utils 0.4.1 -> 0.5
  • netlink-packet-wireguard NULL -> 0.1.0
  • netlink-proto 0.7.0 -> 0.9.1 (botched 0.8.0 release, 0.9.0 was published with downgraded dev-dependences to break cycles)
  • netlink-sys 0.7.0 -> 0.8.1 (0.8.0 was published with downgraded dev-dependencies to break cycles)
  • rtnetlink 0.8.1 -> 0.9.0

Breaking Changes

  • netlink-packet-route:
  • rtnetlink:
    • add LinkGetRequest::match_name to filter links by name more efficiently, and remove LinkGetRequest::set_name_filter (#208)
  • refactor netlink_packet_core::traits::NetlinkSerializable and netlink_packet_core::trait::NetlinkDeserializable such that they are not generic (#195, specifically 94c2632)
  • netlink-proto: Add new type parameter for Connection which represents the socket (#195, specifically 944307c)

New Features

  • new netlink-packet-wireguard crate for the wireguard netlink protocol (#191)
  • new rich_nlas feature for netlink-packet-route that enables parsing more message types (#199 #205)
  • rtnetlink:
    • add NeighbourAddRequest::add_bridge helper to create a bridge interface (#203)
    • allow the requests to be built with the NLM_F_REPLACE flag to optimize "create or update" operations (#202)
    • add helper to create macvlan links (#194)
  • netlink-packet-utils: add parse_ip function

Bug fixes

  • fix UB in unsafe code (#195 specifically 7e6cfd7)
  • fix netlink_sys::SmolSocket::recv error handling (#195 specifically 1cd3e0f)
  • various fixes in the netlink-proto encoder (#168)