Skip to content

Releases: nanomsg/nng

V2.0.0 Alpha 5 PreRelease

14 Jul 03:48
72dc573
Compare
Choose a tag to compare
Pre-release

Features

  • DTLS support - you can now use DTLS to secure your UDP traffic

ChangeLog

New Contributors

Full Changelog: v2.0.0-alpha.4...v2.0.0-alpha.5

Version 1.11 (Bug fixing release)

02 Jun 14:37
84aa701
Compare
Choose a tag to compare

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

Full Changelog: v1.10.1...v1.11

v1.10.2

02 Jun 14:36
098a64f
Compare
Choose a tag to compare

The only thing this does is fix the library version number as part of #2109

Version 2.0.0 Alpha 4

26 Jan 16:56
dba356d
Compare
Choose a tag to compare
Version 2.0.0 Alpha 4 Pre-release
Pre-release

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

Full Changelog: v2.0.0-alpha.3...v2.0.0-alpha.4

v1.10.1

26 Jan 16:52
d98d3ec
Compare
Choose a tag to compare

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

10 Jan 07:50
73f50e2
Compare
Choose a tag to compare
2.0.0 Alpha 3 Release Pre-release
Pre-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

05 Jan 05:24
82b8912
Compare
Choose a tag to compare

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

Full Changelog: v1.9.0...v1.10

2.0.0 Alpha 2 Release

01 Jan 02:12
f0a6556
Compare
Choose a tag to compare
2.0.0 Alpha 2 Release Pre-release
Pre-release

Happy New Year! It's still 2024 as I write this, in my location, but not in others. And not for long!

This release has fixes for various things over alpha 2.0.0 alpha 1. Some notable improvements:

  • Introduction of support for socket activation -- see NNG_OPT_LISTEN_FD available for TCP, TLS, and on POSIX/Linux, IPC transports and streams layers.
  • Horizontal scalability of pollers -- epoll, kqueue, port events, and poll all now engage multiple threads, giving the opportunity to engage with multiple CPU cores. This should have a marked improvement on larger systems.
  • More allocations removed, more dereferences removed.
  • Hot code paths no have eliminated at least one pair of lock entry/exits vs alpha 1. (Which was already improved.)
  • More of documentation is converted.
  • Test suites are more reliable (pesky EADDRINUSE bugs are hopefully squashed now)

The nng_close function is renamed to nng_sock_close, as a heads up... so pay attention to the migration guide! (There is a macro, NNG1_MIGRATION that can be set to provide a macro to aid in transition.

v2.0.0-alpha.1

22 Dec 18:08
9ac2c5a
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

Summary

This is the first "alpha" release of 2.0.0. Note that this is very much a work in progress, and stability is not guaranteed.
There will be more breaking changes coming. But to help with early adoption and testing, this is posted.

Reminder: If you want stability or need to use in production, please consider the "stable" branch instead.

The main changes here involve these major areas:

  1. New UDP transport
  2. Performance enhancements - fewer allocations, fewer locks -- this is an ongoing effort
  3. Documentation changing to mdbook
  4. Removal of some legacy support and refactoring some others to be less error prone

This version is NOT compatible with NNG 1.x at an API level -- there are breaking changes so please see the migration guide https://github.com/nanomsg/nng/blob/main/docs/ref/migrate/nng1.md.

Known Issues

  1. The docs are a work in progress ... its only about halfway through the mdbook conversion so far
  2. The optional ZeroTier transport is utterly broken (it likely won't even compile) - plan is to remove it, possibly rewriting it entirely later
  3. During tests, it is possible for an occasional object to get leaked (TCP test sometimes leaks a connection object) -- there are races during finalization... note that this is not a "recurring" leak, so its pretty benign.
  4. If you call nng_fini to quickly after setting things up, websocket/http may crash with use after free. The workaround right now is to wait a few dozen msec before calling nng_fini (or don't call it at all for a regular application!). This will be fixed by better use of reference counting in the near future.

What's Changed

Read more

Version 1.9.0 Feature Release

06 Oct 20:44
29aff2b
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v1.8.0...v1.9.0