Releases: nanomsg/nng
Release list
Version 2.0.0 Beta 1 Pre-Release
What's Changed
- fix: panic when canceling resolver (fixes #2209) by @gdamore in #2224
- fix(udp): wrong if statement for chop off. by @wanghaEMQ in #2227
- feat(udp): expose UDP transport tuning as CMake cache variables by @flxo in #2231
- http server: add MIME types to static content map by @shikokuchuo in #2246
- fix: fix tcp_peer_addr signature mismatch with s_peer_addr by @myd7349 in #2232
- Avoid duplicate PR CI runs by @gdamore in #2250
- fix tcp stream local address test by @gdamore in #2249
- fix: resolve build issues with MSYS2 UCRT64 by @ynkan in #2241
- fix(udp): close fd only once in nni_plat_udp_close by @flxo in #2248
- docs: document possible errors for nng_pipe_get functions by @flxo in #2206
- Bound DTLS exchange test operations by @gdamore in #2251
- Restrict POSIX file creation permissions by @gdamore in #2252
- fix:
sendmsg/readvEINVAL for large iov on macOS and Windows by @shikokuchuo in #2243 - fix(tests): fix ipc_stream test include path by @gdamore in #2254
- [codex] Add TLS PSK stub for disabled TLS builds by @gdamore in #2255
- [codex] document listener start errors by @gdamore in #2256
- Convert HTTP client tests to nuts by @gdamore in #2257
- fix(posix): map ENOTCONN and EISCONN by @gdamore in #2258
- Convert TLS docs to mdbook by @gdamore in #2259
- docs: remove converted TLS asciidoc pages by @gdamore in #2260
- fixes #2262 nng_device socket ownership by @gdamore in #2264
- fixes #2261 Extra call to WSACleanup by @gdamore in #2265
- Convert sockaddr docs by @gdamore in #2266
- [codex] add nng_pipe_get_scheme by @gdamore in #2267
- Increase UDP socket buffers by @gdamore in #2268
- Convert WebSocket docs to mdBook by @gdamore in #2269
- Convert listener and dialer docs by @gdamore in #2270
- docs: finish HTTP server mdBook migration by @gdamore in #2271
- docs: migrate remaining TCP AsciiDoc content by @gdamore in #2272
- docs: move LOCADDR into endpoint reference by @gdamore in #2273
- Complete mdBook conversion for overview and nngcat docs by @gdamore in #2275
- Add optional runtime swappable custom allocator by @schloing in #2230
- feat: aio with skippable callback (fixes #2235) by @gdamore in #2277
- [codex] Document DTLS transport by @gdamore in #2278
- Fix WolfSSL TLS auth mode configuration by @gdamore in #2280
- docs: drop references to asciidoc by @gdamore in #2283
- fix(security): bound receive message sizes by default by @gdamore in #2281
- [codex] Check mbed TLS hostname setup failures by @gdamore in #2282
- fix(http): fix a potential overflow in the http chunk size. by @gdamore in #2284
- Fixes for openssl bugs by @gdamore in #2285
- fix(http): reject chunked transfer encoding by @gdamore in #2287
- fix(mbedtls): disable debug logging by default by @gdamore in #2286
- fix(udp+dtls): cap unauthenticated peer allocation by @gdamore in #2288
- Assorted minor security concerns by @gdamore in #2289
- udp: add UDP and DTLS connection tunables by @gdamore in #2290
- Improve WebSocket masking throughput by @gdamore in #2292
- AIO API consistency and documentation nits by @gdamore in #2291
- Initialize next_wake in UDP transport endpoint by @MuNianCi in #2295
- This is a batch of documentation fixes proposed by @neachdainn by @gdamore in #2297
- Correct Documentation Typos by @gdamore in #2300
- Various minor (nit) fixes, disable CodeQL, remove defunct file locking support by @gdamore in #2306
New Contributors
- @myd7349 made their first contribution in #2232
- @ynkan made their first contribution in #2241
- @schloing made their first contribution in #2230
- @MuNianCi made their first contribution in #2295
Full Changelog: v2.0.0-alpha.7...v2.0.0-beta.1
Version 1.12.2 Bug Fix (Nits)
The version 1.12.1 release was accidentally tagged earlier in the tree so it didn't include the update to the header to reference the version correctly and it lacked some minor nits. (The v1.12.1 release did include the important security fix it claimed to.)
Version 1.12.1 Bug Fix Release
This mainly introduces a security fix for folks using the HTTP server to serve file or directory content. That fix was backported from the main development branch.
Version 1.12 Bug Fix Release
What's Changed
- chore(doc): extend possible errors from nng_pipe_get with ENOENT by @flxo in #2198
- Stable fix task abort by @gdamore in #2225
- fix(stable) http server: add modern MIME types to static content map by @shikokuchuo in #2247
- fix(stable):
sendmsg/readvEINVAL for large iov on macOS and Windows by @shikokuchuo in #2244
Full Changelog: v1.11...v1.12.0
Version 2.0.0 alpha 7 Pre-Release
Noteworthy
- MbedTLS 4.0 is now supported.
- OpenSSL 3.5 or newer is now supported.
A number of other fixes were made including compilation bugs, etc. The full list follows.
What's Changed
- fixes #2173 New TLS cert API - replaces the properties for CN and ALT… by @gdamore in #2174
- Http header iter by @gdamore in #2176
- HTTP markdown doc fixes by @gdamore in #2177
- fixes #1868 Add nng_http_[remote,local]_address APIs. by @gdamore in #2187
- header file refactoring for IWYU (protocols) by @gdamore in #2188
- No aio reset by @gdamore in #2189
- fix includes for core by @gdamore in #2190
- Test certificate / key for RSA do not match. by @gdamore in #2191
- Add support for OpenSSL v3.5 and newer. by @gdamore in #2192
- Add openssl workflow by @gdamore in #2193
- Dtls fixes by @gdamore in #2194
- Dtls fixes by @gdamore in #2195
- Work in progress for DTLS fixing by @gdamore in #2196
- fix/dtls: Fix possible ordering of DTLS messages during handshakes. by @gdamore in #2197
- Various updates for building, including MbedTLS 4.0 support by @gdamore in #2220
- fix: compilation error and warnings when turn off HTTP support by @Maxwelltoo in #2214
- fix(build): Empty nni_stat_item struct when stats disabled (fixes #2217) by @gdamore in #2221
- docs: Update tcp transport to mdbook (fixes #2180) by @gdamore in #2222
- fix(windows): creash in nni_reap (fixes #2216) by @gdamore in #2223
New Contributors
- @Maxwelltoo made their first contribution in #2214
Full Changelog: v2.0.0-alpha.6...v2.0.0-alpha.7
V2.0.0 Alpha 6 PreRelease
DTLS Fixes
This release fixes the DTLS transport that was utterly broken in the initial delivery.
What's Changed
- Update msg.md by @ryosga in #2142
- fixes #2146 need statistics for PUB protocol by @gdamore in #2147
- Fix omnios clang-19 not found by @gdamore in #2154
- fixes #2150 build error if HTTP support is disabled. by @gdamore in #2153
- Gdamore/close notify by @gdamore in #2152
- fixes #2148 Old id_reg_map seems not be freed by @gdamore in #2155
- Bump socket common socket stats for PUB by @gdamore in #2160
- minor improvements and a test case for DTLS by @gdamore in #2161
- Gdamore/fix dtls by @gdamore in #2166
- remaps EAI_AGAIN to NNG_EADDRINVAL by @jonhoo in #2169
- fixes #2165 nng_http_handler_alloc_static crashes if content type is … by @gdamore in #2170
- adds nng_dialer_start_aio by @jonhoo in #2163
- fixes #2158 Implement support for NNG_OPT_TLS_PEER_CN for WolfSSL by @gdamore in #2171
- Various header file fixes... also fix compilation errors when HTTP is… by @gdamore in #2172
New Contributors
Full Changelog: v2.0.0-alpha.5...v2.0.0-alpha.6
V2.0.0 Alpha 5 PreRelease
Features
- DTLS support - you can now use DTLS to secure your UDP traffic
ChangeLog
- Windows: Fix regression where no connections after 5 seconds can occur by @gdamore in #2108
- Add EPOLLHUP flag in nni_epoll_thr by @wangchen61698 in #2101
- Req protocol: free msg early if no retries by @shikokuchuo in #2107
- Fixes for TLS by @gdamore in #2121
- FIX [HTTP] fix a blocking case when freeing http client by @JaylinYu in #2123
- Make pointers to data that is not modified const. by @sgh in #2117
- Fix for clang 19 compiler warnings (main branch) by @shikokuchuo in #2113
- TLS: break up the TLS layer a bit to refactor for DTLS. by @gdamore in #2124
- More conversions of errors to nng_err by @gdamore in #2125
- DTLS support by @gdamore in #2131
- Fix typos across docs, comments, and CMake by @mochalins in #2130
- fixes mbedtls 3.6.3 handshake with NULL server name by @elijahr in #2128
- UDP implementation cleanups by @gdamore in #2132
- demos: fix async client by @Zeranoe in #2134
- Dtls tls fixes by @gdamore in #2135
- TLS: fixes for test coverage and improved identification logging. by @gdamore in #2136
- posix tcp: use after free in listener (need to stop before free) by @gdamore in #2137
- TLS: Configuration does not need to keep a reference to the engine. by @gdamore in #2138
- TLS: eliminate more runtime ops vectors by @gdamore in #2139
- DTLS: hold tls configuration by @gdamore in #2141
New Contributors
- @wangchen61698 made their first contribution in #2101
- @sgh made their first contribution in #2117
- @mochalins made their first contribution in #2130
- @elijahr made their first contribution in #2128
- @Zeranoe made their first contribution in #2134
Full Changelog: v2.0.0-alpha.4...v2.0.0-alpha.5
Version 1.11 (Bug fixing release)
This includes a few bug fixes that impacted things for users.
It's unlikely that there will be any new features in the v1 (stable) branch going forward.
What's Changed
- Stable branch: fix for clang 19 compiler warnings by @shikokuchuo in #2104
- Fix TLS test. by @gdamore in #2122
Full Changelog: v1.10.1...v1.11
v1.10.2
Version 2.0.0 Alpha 4
This is an update for the version 2.0.0 work in progress.
Significant work has been in progress on the HTTP framework, and there are breaking API changes.
The docs have gotten more love.
And thanks to @shikokuchuo we have a fix for the long standing Windows IPC hang!
What's Changed
- http test: test HEAD method in server by @gdamore in #2078
- Http no tree exclusive by @gdamore in #2079
- Http no res req by @gdamore in #2080
- Status fix by @gdamore in #2081
- http: use common canonify at request parse time by @gdamore in #2082
- http: server error handling improvements and tests by @gdamore in #2083
- http: fix mishandling of very long headers or URIs, and mishandling o… by @gdamore in #2084
- Http nng err by @gdamore in #2085
- Pipe docs by @gdamore in #2086
- Docs updates by @gdamore in #2087
- http docs: documentation conversion for http handlers by @gdamore in #2088
- fixes #2092 nng_close may hang on Windows by @gdamore in #2095
Full Changelog: v2.0.0-alpha.3...v2.0.0-alpha.4