.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Podwrapper::Man 1.20.1 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "libnbd-release-notes-1.14 1" .TH libnbd-release-notes-1.14 1 2024-05-08 libnbd-1.20.1 LIBNBD .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME libnbd\-release\-notes\-1.14 \- release notes for libnbd 1.14 .SH DESCRIPTION .IX Header "DESCRIPTION" These are the release notes for libnbd stable release 1.14. This describes the major changes since 1.12. .PP libnbd 1.14.0 was released on \fB1 August 2022\fR. .SS Security .IX Subsection "Security" No security issues were found in this release. .PP If you find a security issue, please read \fISECURITY\fR in the source (online here: https://gitlab.com/nbdkit/libnbd/blob/master/SECURITY). To find out about previous security issues in libnbd, see \&\fBlibnbd\-security\fR\|(3). .SS "New APIs" .IX Subsection "New APIs" No new APIs were added in this release. .SS "Enhancements to existing APIs" .IX Subsection "Enhancements to existing APIs" Optimizations to \fBnbd_pread_structured\fR\|(3) (Eric Blake). .PP Many performance enhancements in the Python bindings: \f(CW\*(C`nbd.pread\*(C'\fR now avoids an extra memory allocation and copy. Buffers can now be passed to \f(CW\*(C`nbd.Buffer.from_bytearray\*(C'\fR. New methods \&\f(CW\*(C`nbd.Buffer.{to,from}_buffer\*(C'\fR allow control over copying and sharing \&\f(CW\*(C`nbd.Buffer\*(C'\fR. Any buffer-like object can be used in \&\f(CW\*(C`nbd.aio_{pread,pwrite}\*(C'\fR. \f(CW\*(C`len(nbd.Buffer(n))\*(C'\fR now works. Improve error messages when the wrong types are passed to several APIs. Fix usage of \f(CW\*(C`PyGILState\*(C'\fR. (Eric Blake) .PP Golang \f(CW\*(C`AioBuffer\*(C'\fR now calls panic on invalid usage (Nir Soffer). .PP In golang tests, use \f(CW\*(C`GOTRACEBACK=crash\*(C'\fR so we get full core dumps on failures. .PP kTLS should now work (transparently) when available in the kernel and GnuTLS. Use of kTLS will be indicated in debug output. (Daiki Ueno, František Krenželok) .SS Tools .IX Subsection "Tools" New \fBnbddump\fR\|(1) tool which can efficiently hexdump the contents of an NBD server. .PP \&\fBnbdcopy\fR\|(1) now obeys the NBD server minimum/preferred block size when copying, which should make it more efficient and avoids issues with some qemu-nbd configurations where the minimum block size must be obeyed for correct operation. .SS Tests .IX Subsection "Tests" New tests for \f(CW\*(C`nbd+vsock://\*(C'\fR URI support. .SS "Other improvements and bug fixes" .IX Subsection "Other improvements and bug fixes" Fixed rare TLS deadlock when reading from slow servers, and support for clean shutdown when connecting to qemu-nbd over TLS (thanks Michael Ablassmeier). .PP The library now uses the GnuTLS flag \f(CW\*(C`GNUTLS_NO_SIGNAL\*(C'\fR (if available) which ensures that TLS connections should not cause the main program to exit with \f(CW\*(C`SIGPIPE\*(C'\fR in certain cases of server failure. (Libnbd has long used \f(CW\*(C`MSG_NOSIGNAL\*(C'\fR on non-TLS connections which has a similar effect.) .PP Various enhancements to fuzzing were made, including support for AFL++ clang-LTO mode, ASAN, allowing seed test cases to be captured, and extended testing of APIs. .PP Tests were fixed so they should pass on RHEL 7 and FreeBSD. .SS Documentation .IX Subsection "Documentation" No changes in this release. .SS Build .IX Subsection "Build" \&\f(CW\*(C`ARRAY_SIZE\*(C'\fR macro added to simplify static array sizing (thanks Laszlo Ersek). .PP Various errors found by Coverity were fixed. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlibnbd\fR\|(3). .SH AUTHORS .IX Header "AUTHORS" .IP "Eric Blake" 4 .IX Item "Eric Blake" .PD 0 .IP "Nir Soffer" 4 .IX Item "Nir Soffer" .IP "Richard W.M. Jones" 4 .IX Item "Richard W.M. Jones" .PD .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright Red Hat .SH LICENSE .IX Header "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. .PP 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. .PP 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