Summary
This release brings:
- major improvements to NAT traversal, bringing all the libp2p tooling including hole punching and traffic relays. It also introduces a whole new portmapping library (nim-libplum) which supports newer standards like PCP;
- simpler/more reliable protobuf serialization with nim-protobuf-serialization;
- several bugfixes and stability improvements.
What's Changed
- fix(dht-proxy): read timeout to prevent slot exhaustion by @cnanakos in #1484
- fix: crash on upnp restart by @2-towns in #1486
- chore: add static libstorage to release artifacts by @2-towns in #1488
- refactor(protobuf): migrate to protobuf serde by @cnanakos in #1485
- chore: update libp2p to 2.1.4 by @2-towns in #1449
- feat: nat traversal relay by @2-towns in #1417
- fix: memory issues in libstorage by @2-towns in #1446
- chore: bump nixpkgs to 25.11 by @igor-sirotin in #1491
- fix: re-advertise provider records when addresses change by @cnanakos in #1493
- chore: bump leveldb by @gmega in #1499
- fix: crash when config is invalid by @2-towns in #1494
- fix: add guards to avoid crash when node is not created by @2-towns in #1497
- chore: raise instead of quitting on an invalid config value by @2-towns in #1495
- fix: mix setup with nat traversal by @2-towns in #1498
- fix: disable port mapping to avoid crash by @2-towns in #1500
New Contributors
- @igor-sirotin made their first contribution in #1491
Full Changelog: v0.4.1...v0.4.2