Releases: nanomsg/nng
Release list
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
v1.10.1
What's Changed
This fixes a long standing hang on Windows. Thanks to @shikokuchuo for finding it and the suggested fix!
Full Changelog: v1.10...v1.10.1
2.0.0 Alpha 3 Release
This is the 3rd Alpha Release of NNG 2.0, and it represents a lot of change in the HTTP support.
The main thing is that the APIs for HTTP have totally changed, and they should be much easier to use now. There is no easy conversion guidance, although simple server side applications should convert without too much difficulty.
Header files have changed for some things to make them easier as well, and a number of additional allocations have been removed.
Substantial progress on the mdbook conversion is here too.
There's still a lot more to do, but hopefully this builds enthusiasm!
Version 1.10.0 Release
This release fixes some bugs, and adds some APIs that are available in the development 2.0 release,
in order to facilitate migration to 2.0 (which is not released yet.)
At present we have no concrete plans for future releases on the 1.x stable branch, but will release any critically urgent fixes as needed.
What's Changed
- Silence compiler warnings for Windows by @shikokuchuo in #1888
- Mark some interfaces deprecated, fix version number by @gdamore in #1921
- Integer sign extension bug in socket.c. by @gdamore in #1922
- Introduce new API for subscription by @gdamore in #1924
- Fixes for Windows IPC by @gdamore in #1958
- Fix for seg fault (issue #1959), backport fix into stable branch by @aleksejsolovev in #1980
- Adding nng_socket_close by @gdamore in #2065
- Adding new 2.0 transition APIs by @gdamore in #2070
Full Changelog: v1.9.0...v1.10