Skip to content

New release 0.21.0#157

Closed
cathay4t wants to merge 1 commit intorust-netlink:mainfrom
cathay4t:new_release
Closed

New release 0.21.0#157
cathay4t wants to merge 1 commit intorust-netlink:mainfrom
cathay4t:new_release

Conversation

@cathay4t
Copy link
Copy Markdown
Member

=== Breaking changes

  • Use netlink-packet-route 0.30. (7bfbbf5)
  • Deprecated NeighbourAddRequest::link_layer_address(), please use
    NeighbourAddRequest::link_local_address(). (7bfbbf5)

=== New features

  • N/A

=== Bug fixes

  • addr: only assign broadcast when subnet over /31. (7c16a2d)

=== Breaking changes
 - Use netlink-packet-route 0.30. (7bfbbf5)
 - Deprecated `NeighbourAddRequest::link_layer_address()`, please use
   `NeighbourAddRequest::link_local_address()`. (7bfbbf5)

=== New features
 - N/A

=== Bug fixes
 - addr: only assign broadcast when subnet over /31. (7c16a2d)

Signed-off-by: Gris Ge <cnfourt@gmail.com>
@cathay4t
Copy link
Copy Markdown
Member Author

Let me review more pending patches.

@cathay4t cathay4t closed this Apr 18, 2026
Copy link
Copy Markdown

@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 updates the version of the rtnetlink crate to 0.21.0 and updates the CHANGELOG to include breaking changes and bug fixes. A review comment identifies that the deprecation notice for NeighbourAddRequest methods in the CHANGELOG is reversed and should be corrected to accurately reflect the implementation.

Comment thread CHANGELOG
Comment on lines +5 to +6
- Deprecated `NeighbourAddRequest::link_layer_address()`, please use
`NeighbourAddRequest::link_local_address()`. (7bfbbf5)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The changelog entry for the deprecation is reversed. According to the implementation in src/neighbour/add.rs, link_local_address is the method being deprecated in favor of link_layer_address (which corresponds to the NDA_LLADDR attribute).

 - Deprecated `NeighbourAddRequest::link_local_address()`, please use
   `NeighbourAddRequest::link_layer_address()`. (7bfbbf5)

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