1libnbd-release-notes-1.14(1) LIBNBD libnbd-release-notes-1.14(1)
2
3
4
6 libnbd-release-notes-1.14 - release notes for libnbd 1.14
7
9 These are the release notes for libnbd stable release 1.14. This
10 describes the major changes since 1.12.
11
12 libnbd 1.14.0 was released on 1 August 2022.
13
14 Security
15 No security issues were found in this release.
16
17 If you find a security issue, please read SECURITY in the source
18 (online here: https://gitlab.com/nbdkit/libnbd/blob/master/SECURITY).
19 To find out about previous security issues in libnbd, see
20 libnbd-security(3).
21
22 New APIs
23 No new APIs were added in this release.
24
25 Enhancements to existing APIs
26 Optimizations to nbd_pread_structured(3) (Eric Blake).
27
28 Many performance enhancements in the Python bindings: "nbd.pread" now
29 avoids an extra memory allocation and copy. Buffers can now be passed
30 to "nbd.Buffer.from_bytearray". New methods
31 "nbd.Buffer.{to,from}_buffer" allow control over copying and sharing
32 "nbd.Buffer". Any buffer-like object can be used in
33 "nbd.aio_{pread,pwrite}". "len(nbd.Buffer(n))" now works. Improve
34 error messages when the wrong types are passed to several APIs. Fix
35 usage of "PyGILState". (Eric Blake)
36
37 Golang "AioBuffer" now calls panic on invalid usage (Nir Soffer).
38
39 In golang tests, use "GOTRACEBACK=crash" so we get full core dumps on
40 failures.
41
42 kTLS should now work (transparently) when available in the kernel and
43 GnuTLS. Use of kTLS will be indicated in debug output. (Daiki Ueno,
44 František Krenželok)
45
46 Tools
47 New nbddump(1) tool which can efficiently hexdump the contents of an
48 NBD server.
49
50 nbdcopy(1) now obeys the NBD server minimum/preferred block size when
51 copying, which should make it more efficient and avoids issues with
52 some qemu-nbd configurations where the minimum block size must be
53 obeyed for correct operation.
54
55 Tests
56 New tests for "nbd+vsock://" URI support.
57
58 Other improvements and bug fixes
59 Fixed rare TLS deadlock when reading from slow servers, and support for
60 clean shutdown when connecting to qemu-nbd over TLS (thanks Michael
61 Ablassmeier).
62
63 The library now uses the GnuTLS flag "GNUTLS_NO_SIGNAL" (if available)
64 which ensures that TLS connections should not cause the main program to
65 exit with "SIGPIPE" in certain cases of server failure. (Libnbd has
66 long used "MSG_NOSIGNAL" on non-TLS connections which has a similar
67 effect.)
68
69 Various enhancements to fuzzing were made, including support for AFL++
70 clang-LTO mode, ASAN, allowing seed test cases to be captured, and
71 extended testing of APIs.
72
73 Tests were fixed so they should pass on RHEL 7 and FreeBSD.
74
75 Documentation
76 No changes in this release.
77
78 Build
79 "ARRAY_SIZE" macro added to simplify static array sizing (thanks Laszlo
80 Ersek).
81
82 Various errors found by Coverity were fixed.
83
85 libnbd(3).
86
88 Eric Blake
89 Nir Soffer
90 Richard W.M. Jones
91
93 Copyright Red Hat
94
96 This library is free software; you can redistribute it and/or modify it
97 under the terms of the GNU Lesser General Public License as published
98 by the Free Software Foundation; either version 2 of the License, or
99 (at your option) any later version.
100
101 This library is distributed in the hope that it will be useful, but
102 WITHOUT ANY WARRANTY; without even the implied warranty of
103 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
104 Lesser General Public License for more details.
105
106 You should have received a copy of the GNU Lesser General Public
107 License along with this library; if not, write to the Free Software
108 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
109 02110-1301 USA
110
111
112
113libnbd-1.18.1 2023-10-31 libnbd-release-notes-1.14(1)