Skip to content

Releases: vacp2p/nim-libp2p

v1.9.0

13 Mar 15:37
v1.9.0
3c93bda
Compare
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

v1.8.0

22 Jan 12:49
c5aa373
Compare
Choose a tag to compare

Highlights

  • opt-in idontwant on publish #1230

What's Changed

New Contributors

Full Changelog: v1.7.0...v1.8.0

v1.7.1

09 Nov 03:52
11e3865
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7.0...v1.7.1

v1.7.0

03 Nov 20:05
v1.7.0
ed56704
Compare
Choose a tag to compare

Highlights

  • feat: configurable min and max TTL for rendezvous.

What's Changed

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

20 Sep 14:06
v1.6.0
09fe199
Compare
Choose a tag to compare

Highlights

  • experimental encryption-less QUIC Transport (only for test purposes, not production ready)

What's Changed

New Contributors

Full Changelog: v1.5.0...v1.6.0

v1.5.0

13 Aug 17:12
v1.5.0
18a2e79
Compare
Choose a tag to compare

Highlights

  • adding an onValidated observer #1128
  • we switched to Nim 2.0.x as our main Nim version. We still support Nim 1.6

What's Changed

Full Changelog: v1.4.0...v1.5.0

v1.4.0

03 Jul 14:00
v1.4.0
94d93cb
Compare
Choose a tag to compare

Highlights

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0

07 Jun 17:01
v1.3.0
d0af3fb
Compare
Choose a tag to compare

Highlights

  • Improve memory efficiency of seen cache #1073
  • add wildcard address resolver #1099
  • Send IDONTWANT before validating message #1103

What's Changed

Full Changelog: v1.2.0...v1.3.0

v1.2.0

02 May 10:10
v1.2.0
c4da9be
Compare
Choose a tag to compare
⚠️ WARNING
Nimble will not be able to resolve this version because libp2p.nimble has not been updated to 1.2.0. You can still use this version with Nimble if you either use the commit hash instead of the version tag, or update libp2p.nimble. We suggest using the latest release version instead.

What's Changed

highlights

Features

Changes

Read more

v1.1.0

05 Dec 13:49
41649f0
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.1.0