libnbd-release-notes-1.4 - release notes for libnbd 1.4


These are the release notes for libnbd stable release 1.4. This describes the major changes since 1.2.

libnbd 1.4.0 was released on XXX DATE TBD XXX 2020.


New APIs

New features

FreeBSD and OpenBSD are now fully supported platforms.

Trace messages have been improved: long strings are truncated, strings with non-printable characters are escaped, and lists of strings are printed.


Verbatim text in man pages that wrapped over several lines is now typeset correctly.

Links within the documentation have been enhanced, and are now checked for correctness.



Test sockets are created in /tmp (instead of the local directory). This stops the test suite from failing if the local directory path is longer than the Unix domain socket maximum path length.

Other improvements and bug fixes

The generator was split from a large single script into several small files. To builds from git the OCaml bytecode compiler (ocamlc(1)) is now required instead of the interpreter (ocaml(1)).

Long login names are supported in nbd_get_tls_username(3).

The handle name in nbdsh(1) is now set to nbdsh (instead of a randomly generated name).

Compatibility with OCaml 4.10.0.

Python AIO buffer adds a new is_zero method allowing Python clients to do sparsification when copying.




Eric Blake

Richard W.M. Jones


Copyright (C) 2019-2020 Red Hat Inc.


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