Skip to content

Conversation

@cathay4t
Copy link
Member

@cathay4t cathay4t commented Jan 1, 2026

=== Breaking changes

  • Please check breaking changes in netlink-packet-route 0.28.0 and 0.27.0.
  • Use netlink-packet-route 0.28.0. (0486ff7)
  • Change LinkBond to align with rust-netlink-route 0.27.0. (563f95d)

=== New features

  • link: Support specifying arbitrary LinkMessage for RTM_DELLINK. (d4d5a4b)
  • link: Support changing VLAN filter of bridge itself. (1f8b7da)
  • link: Support changing bridge VLAN filtering. (e520140)
  • link: Add LinkBridgePort for modifying bridge port properties. (86dd67d)
  • link: Expand LinkBridge to support all bridge options. (c85d988)
  • link: Add support for netkit devices. (2f18ca4)
  • link: Add LinkHandle::change() to changing existing interface. (2d1a6cc)

=== Bug fixes

  • link bridge: Fix typo of document. (a994f72)

@gemini-code-assist
Copy link

Summary of Changes

Hello @cathay4t, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request marks the release of version 0.20.0 for the rtnetlink crate, focusing on significant enhancements to network link management. It incorporates updates to underlying netlink-packet-route dependencies, introduces expanded capabilities for configuring network bridges and VLANs, and adds new functionalities for interacting with network interfaces and netkit devices. The release also includes a minor documentation fix, aiming to improve the overall robustness and feature set of the library.

Highlights

  • Breaking Changes: Updated netlink-packet-route to versions 0.28.0 and 0.27.0, which may introduce breaking changes. The LinkBond structure has been modified to align with rust-netlink-route 0.27.0.
  • New Features - Link Management: Added support for specifying arbitrary LinkMessage for RTM_DELLINK. Enhanced bridge functionality to support changing VLAN filters for the bridge itself and its filtering options. Introduced LinkBridgePort for modifying bridge port properties and expanded LinkBridge to support all bridge options.
  • New Features - Device Support & Interface Changes: Added support for netkit devices and introduced LinkHandle::change() for modifying existing network interfaces.
  • Bug Fixes: Corrected a typo in the documentation related to link bridges.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request prepares for the new 0.20.0 release. It updates the version in Cargo.toml and adds a comprehensive entry to the CHANGELOG detailing breaking changes, new features, and bug fixes. The changes are appropriate for a release, but I found a minor typo in the changelog for which I've suggested a fix.

=== Breaking changes
 - Please check breaking changes in netlink-packet-route 0.28.0 and 0.27.0.
 - Use netlink-packet-route 0.28.0. (0486ff7)
 - Change `LinkBond` to align with rust-netlink-route 0.27.0. (563f95d)

=== New features
 - link: Support specifying arbitrary LinkMessage for `RTM_DELLINK`. (d4d5a4b)
 - link: Support changing VLAN filter of bridge itself. (1f8b7da)
 - link: Support changing bridge VLAN filtering. (e520140)
 - link: Add `LinkBridgePort` for modifying bridge port properties. (86dd67d)
 - link: Expand LinkBridge to support all bridge options. (c85d988)
 - link: Add support for `netkit` devices. (2f18ca4)
 - link: Add `LinkHandle::change()` to changing existing interface.. (2d1a6cc)

=== Bug fixes
 - link bridge: Fix typo of document. (a994f72)

Signed-off-by: Gris Ge <fge@redhat.com>
@cathay4t cathay4t merged commit c1d57e3 into rust-netlink:main Jan 1, 2026
5 checks passed
@cathay4t cathay4t deleted the new_release branch January 1, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant