8000 Bump neli from 0.6.5 to 0.7.0 in /src by dependabot[bot] · Pull Request #3607 · shadow/shadow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bump neli from 0.6.5 to 0.7.0 in /src #3607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor
@dependabot dependabot bot commented on behalf of github Jun 24, 2025

Bumps neli from 0.6.5 to 0.7.0.

Release notes

Sourced from neli's releases.

neli-v0.7.0

See milestone: https://github.com/jbaublitz/neli/milestone/11?closed=1

neli-v0.7.0-rc3

No release notes provided.

Changelog

Sourced from neli's changelog.

0.7.0

Breaking changes

  • FromBytes and FromBytesWithInput have had the lifetime parameter removed. This removes the ability to borrow data from the buffer written to by the recv() syscall. This is intentional as it provides more ergonomic support for NlRouter to send messages across threads. A new trait, FromBytesWithInputBorrowed, has been added to support the use case of borrowing payloads from attributes as &str or &[u8].
  • The async feature API has been completely redesigned to more closely resemble it's corresponding synchronous API.
  • All new() methods and public fields on data structures used to construct packets have been replaced by the builder pattern.
  • The IO error variant is now the full IO error wrapped in an Arc.

New Cargo features

  • sync has been added as a Cargo feature. If a user is only interested in asynchronous functionality, sync can be disabled to disable the higher level synchronous API and reduce the number of required dependencies.

Features

  • Extended ACK support. Sockets now support parsing and enabling entended ACKs for more information in error cases.
  • New router infrastructure allowing ACK handling, seq management, and PID validation for requests sent in parallel.
  • Builder pattern defined for all data structures used to construct netlink packets.

Bug fixes

  • Fixed a mismatch between libc::socklen_t and usize in the list memberships call. This was causing failures on s390x in the tests.

Dependency version updates

  • syn
  • libc

Migration guide

  • If you were previously using new() methods defined on structs representing packet data, all packet data structures have been migrated over to a builder pattern.
  • Flags in packets have been migrated from a custom data structure to bitflags. For example &[Nlm::Request, Nlm::Ack] is now NlmF::REQUEST | NlmF::ACK.
  • Because of previous errors around multicast groups, there is a new data structure to handle group management that allows either converting from group numbers or a bitmask. If you previously passed in 0 for groups, you will now use Groups::empty().
  • If you were previously using convenience methods like NlSocketHandle::iter() or NlSocketHandle::resolve_genl_family, this functionality has been migrated to the new NlRouter functionality. NlSocketHandle has been repurposed for a slightly lower level API providing iteration over all messages in a single recv() buffer. NlRouter provides a safer, parallelization-capable version of the functionality previously provided by NlSocketHandle. See the documentation in the neli::router module for a more detailed explanation of the problem this was meant to solve.
  • If you were previously using Attr::get_payload_as_with_len() with a &[u8] or &str type, you should change this to Attr::get_payload_as_with_len_borrowed().

... (truncated)

Commits
  • d4ce758 Merge pull request #284 from jbaublitz/release-v0.7.0-v0.2.0
  • 37d1c27 Release of neli-v0.7.0 and neli-proc-macros-v0.2.0
  • 324c359 Merge pull request #283 from jbaublitz/neli-275
  • 2e15a8f Rework handling of DONE packets to prepare for connector protocol
  • e2a617d Merge pull request #282 from jbaublitz/neli-268
  • 5b305da Fix bug in group handling with getsockopt syscall
  • bd75462 Merge pull request #279 from chrspeich/buffer-perf
  • 6b2fd3b Directly implement FromBytesWithInput and ToBytes for Buffer
  • 4cf3014 Merge pull request #278 from jbaublitz/neli-273
  • 24d6185 Fix rta deserialization test for big endian
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [neli](https://github.com/jbaublitz/neli) from 0.6.5 to 0.7.0.
- [Release notes](https://github.com/jbaublitz/neli/releases)
- [Changelog](https://github.com/jbaublitz/neli/blob/main/CHANGELOG.md)
- [Commits](jbaublitz/neli@neli-v0.6.5...neli-v0.7.0)

---
updated-dependencies:
- dependency-name: neli
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added this to the Code health and maintenance milestone Jun 24, 2025
@dependabot dependabot bot added the Component: Build Build/install tools and dependencies label Jun 24, 2025
@github-actions github-actions bot added Component: Testing Unit and integration tests and frameworks Component: Main Composing the core Shadow executable labels Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Build Build/install tools and dependencies Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants
0