Skip to content

Releases: vacp2p/nim-libp2p

v1.14.3

28 Oct 15:37
e82080f

Choose a tag to compare

What's Changed

Full Changelog: v1.14.2...v1.14.3

v1.14.2

21 Oct 17:38
0309685

Choose a tag to compare

What's Changed

Full Changelog: v1.14.1...v1.14.2

v1.14.1

20 Oct 22:42
369fb55

Choose a tag to compare

What's Changed

Full Changelog: v1.14.0...v1.14.1

v1.14.0

16 Oct 15:21
aa8ce46

Choose a tag to compare

Highlights

  • Mix protocol available to interact with protocols anonymously by sending requests thru a network of mix nodes
  • Application level extensions of multiformats
  • Replaces OpenSSL + PicoTLS for BoringSSL as the TLS backend for Quic
  • Configurable options for AutoTLS

What's Changed

New Contributors

Full Changelog: v1.13.0...v1.14.0

v1.13.0

17 Sep 12:46
v1.13.0
59e7069

Choose a tag to compare

Highlights

  • Autonat v2. Enable its client feature with withAutonatV2 to determine your node's advertised addresses reachability, and the server side with withAutonatV2Server to provide this service to other peers.
  • New publishing options added for gossipsub: skipIDontWant and skipPreamble so these control messages are optionally not sent on publish

What's Changed

Full Changelog: v1.12.0...v1.13.0

v1.12.0

05 Aug 14:23
b517b69

Choose a tag to compare

Highlights

  • Gossipsub 1.4 (use -d:libp2p_gossipsub_1_4 compile flag)
  • AutoTLS can be used to automatically obtain a Let's Encrypt certificate for WSS transport
  • Improvements in memory/cpu usage

What's Changed

Read more

v1.11.0

23 Jun 13:24
2c0d4b8

Choose a tag to compare

Highlights

  • Added withWsTransport option to the builder to easily add websocket transport support
  • Fix: save IDONTWANT and IHAVE messages in the first element of history. Previously they were being saved as last element of the history so they were kept only for one heartbeat.
  • Update the library dependencies versions

What's Changed

New Contributors

Full Changelog: v1.10.1...v1.10.2

v1.10.1

21 May 11:46
cd60b25

Choose a tag to compare

Highlights

  • Quic transport is optional (due to including runtime dependencies). To enable it use the -d:libp2p_quic_support compile time symbol

What's Changed

Full Changelog: v1.10.0...v1.10.1

v1.10.0

19 May 14:07
v1.10.0
b0f77d2

Choose a tag to compare

Highlights

  • QUIC transport: lower latency, encrypted, stream-multiplexed connections over UDP — now in a usable state
  • New in-memory transport: a lightweight, drop-in alternative when full networking isn't needed

What's Changed

New Contributors

Full Changelog: v1.9.0...v1.10.0

v1.9.0

13 Mar 15:37
v1.9.0
3c93bda

Choose a tag to compare

Highlights

  • Async exception tracking - Procedures marked {.async.} are annotated with the list of exceptions they might raise
  • Self-signed TLS certificates can be generated. These will be used with Quic and WebTransport

Breaking change

  • Python3 and pip are introduced as a dependency due to mbedtls requiring them to generate some of its source code. In a subsequent release, we will attempt to remove this dependency on Python.
  • The LPProtoHandler type has changed and now specifies raised exceptions in the async pragma, namely async: (raises: [CancelledError]). Consequently, all protocol handlers must also specify async: (raises: [CancelledError]).

Example, code constructs like:

proc handler(conn: Connection, proto: string) {.async.} = 
  try:
    ...
  except CancelledError:
    trace "Unexpected cancellation in handler"

should be changed to:

proc handler(conn: Connection, proto: string) {.async: (raises: [CancelledError]).} =
  try:
    ...
  except CancelledError as exc:
    trace "Unexpected cancellation in handler"
    raise exc

Note:

  • async pragma adds raises: [CancelledError]
  • CancelledError is propagate up the chain

What's Changed

New Contributors

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