This is probably the last feature release for the 1.x line for NNG.
This fixes quite a few bugs, the main new features here are around TLS support.
- TLS 1.3 is supported for Mbed TLS
- WolfSSL is now supported without an extra module. (You need to honor the licensing terms of WolfSSL itself however.)
- TLS support for PSK (pre-shared keys)
- A new
nng_id_visit
API is available for iterating over all nodes in an ID hash map. - An experimental (undocumented) but exposed "public" API for UDP is available
There are significant fixes for race conditions around close, and use-after-free. Everyone is recommended to update.
More details:
What's Changed
- Move supplemental platform APIs to core. by @gdamore in #1821
- fixes #1808 nng_msg_insert: munmap_chunk(): invalid pointer by @gdamore in #1823
- macOS - fix deadlock on reqrep socket close by @alzix in #1824
- Gdamore/win clock fix by @gdamore in #1834
- fixes #1827 Windows a deadlock on nng_close() by @gdamore in #1828
- Fixes typo that will cause error when comipling zerotier transport. by @PWisPeterWang in #1829
- UDP: Introduce an experimental (undocumented for now) public API for … by @gdamore in #1838
- fix testcase crash on NUTTX When log_buf is null for the first time. by @Meissi-jian in #1844
- fixes #1846 Add support for TLS PSK by @gdamore in #1847
- Merge WolfSSL support into mainstream, and relicense it under MIT. by @gdamore in #1850
- idhash: add nng_id_visit API by @gdamore in #1863
- trial to fix winipc crash by @gdamore in #1848
- TLS: enable TLS 1.3 for Mbed TLS. by @gdamore in #1854
- fixes #1866 clock_gettime is not used on Android, even though available by @gdamore in #1870
New Contributors
- @alzix made their first contribution in #1824
- @PWisPeterWang made their first contribution in #1829
- @Meissi-jian made their first contribution in #1844
Full Changelog: v1.8.0...v1.9.0