libnbd-release-notes-1.16(1)

πŸ’… libnbd-release-notes-1.16 β€” the tea β˜•

okay bestie, so this is the libnbd manual page libnbd-release-notes-1.16(1) and it's literally the glow-up diary for libnbd version 1.16. buckle up πŸŽ€


✨ NAME ✨

libnbd-release-notes-1.16 β€” the release notes for libnbd 1.16, periodt πŸ’–

🌸 DESCRIPTION 🌸

These are the release notes for the libnbd stable release 1.16, and they spill all the major changes since 1.14. main character energy only πŸ’…

libnbd 1.16.0 was released on 18 April 2023. mark your calendars πŸ—“οΈβœ¨

πŸ”’ Security

Genuinely iconic behavior: no security issues were found in this release. clean sheet, we love to see it 😌🫢

But if you do find a security issue, please read SECURITY in the source β€” it's online here: https://gitlab.com/nbdkit/libnbd/blob/master/SECURITY. And if you wanna know about previous security issues in libnbd, go see libnbd-security(3). iykyk πŸ”

πŸ¦‹ New APIs

So many new babies, let's go πŸŽ‰

πŸ’– Enhancements to existing APIs

the glow-ups we didn't know we needed:

  • nbd_connect_command(3) called with a NULL argv parameter previously crashed, but now returns an error (Eric Blake). no more crashing bestie, we healed 😭
  • nbd_opt_list_meta_context(3) can now be called without having negotiated structured replies (Eric Blake). freedom ✨
  • nbd_set_strict_mode(3) has a new LIBNBD_STRICT_PAYLOAD flag which can be used to control whether send oversize messages, in order to test servers (Eric Blake).
  • C API pointer parameters that cannot be NULL are now annotated with attribute((nonnull)) (if the compiler supports it) so that you will get a compile time warning if they are used improperly (thanks Eric Blake). compiler said "not on my watch" 🚨
  • C APIs which allocate are now marked with attribute((malloc)) and similar attributions to improve static analysis of programs using libnbd (Eric Blake). πŸ”
  • C APIs expressing flag values now use unsigned types, removing some undefined corner-cases with bitwise math on signed ints. this change is API and ABI backwards compatible. (Eric Blake). no cap, that's a win πŸ†

🧰 Tools

  • New nbdublk(1) program which is used to create a Linux /dev/ublkb<N> block device from an NBD server (thanks Ming Lei). new tool just dropped πŸ’…
  • nbdinfo(1) now has colorized output (use --no-color to disable). aesthetic activated 🌈
  • nbdinfo has new --is tls and --can structured-reply options to let you test for these features on the server (Eric Blake).
  • nbdcopy(1) now writes progress messages to stderr (previously they were written to /dev/tty). this makes it consistent with other tools like dd. (Eric Blake). consistency is so hot πŸ”₯
  • nbdsh(1) options -c and -u can now be interleaved, making it easier to toggle optional URI features (Eric Blake).

🌍 Language bindings

international slay 🌐

  • Documentation for the OCaml bindings now includes parameter names.
  • The OCaml bindings now return OCaml error values in exceptions instead of raw C errno numbers.
  • OCaml bindings now support nbd_aio_connect(3) which uses the sockaddr type directly.
  • The Python bindings now have an explicit h.close() method. letting the handle go out of scope still works for closing the handle, but now you have the choice to explicitly close the handle before it goes out of scope. if you try to use the handle after closing it, a new nbd.ClosedHandle exception will be thrown. πŸ™ˆ
  • The Python bindings now provide a contextlib decorated function, so you can write the more natural with nbd.nbd() as h: ... 🐍✨

πŸ§ͺ Tests

Wider CI coverage (Eric Blake). testing era, we stan 🧚

πŸ› οΈ Other improvements and bug fixes

  • The state machine can now cope with and recover from some bad structured reply messages and unknown cookies sent by the server (Eric Blake). resilience queen πŸ‘‘
  • The library is now annotated with -z nodelete, preventing it from being "really" unloaded when you call dlclose(3). this is the only way to prevent a crash in multi-threaded code. see commit 368e3d0d5a887 for details. πŸ‘€
  • Improve debugging when the handle enters the %DEAD state. πŸ’€
  • The library is now much more POSIX-compliant and resilient when running subcommands, no longer relying on quirks of the glibc implementation of execvp and other non-async-signal-safe functions (Laszlo Ersek).
  • Source files reformatted to use ≀ 80 columns (Laszlo Ersek). formatting self-care πŸŽ€

πŸ—οΈ Build

  • Fix build on Alpine Linux + musl which declares AF_VSOCK but does not define the associated structures (Eric Blake).
  • Python distutils, deprecated in Python β‰₯ 3.10, has been replaced by sysconfig (thanks Miro Hrončok).

πŸ‘€ SEE ALSO

libnbd(3) β€” that's the one, bestie 🫢

🌟 AUTHORS

the legends responsible:

  • Daniel P. BerrangΓ©
  • Eric Blake
  • Laszlo Ersek
  • Ming Lei
  • Richard W.M. Jones

Copyright Red Hat

πŸ“œ LICENSE

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


and that's the whole page, bestie πŸŽ€ this was libnbd-release-notes-1.16(1) from the LIBNBD manual, shipped as version libnbd-1.25.8, dated 2026-10-13. mwah, go read libnbd(3) next πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from