github nats-io/nats.py v0.11.0
Release v0.11.0

latest releases: v2.9.0, v2.8.0, v2.7.2...
4 years ago

Added

  • Added ability to access the connection identifier / client id (#146)
print(nc.client_id)
  • Added option to specify tls_hostname (#157)
await nc.connect(servers=["tls://127.0.0.1:4443"], loop=loop, tls=ssl_ctx, tls_hostname="localhost")

Fixed

  • Fixed drain non-callback subscriptions correctly (#147)
  • Fixed cleaning up subscriptions in the event of a timeout (#156)
  • Fixed TLS upgrade method, uvloop TLS now supported (#164)
  • Fixed waiting for all messages to be processed while draining (#165)
  • Fixed pending byte/msg limits can't be disabled with -1 as it can in other clients ()
  • Fixed following connect_timeout in TLS connections (5d7e01c)
  • Fixed set outstanding pings to zero when a pong is received 84c6d9a
  • Fixed support for auto unsubscribe (bf881ae)

Improved

  • Raise ErrInvalidCallbackType error when client callback functions are not coroutines (#128)
  • Many yapf formatting fixes (#152)
  • Fixed deprecation warnings. Remove unnecessary coverage runs. (#149)

Changed

  • Testing againts NATS 2.1.8
  • Updated examples to async/await syntax
  • Client uses f strings (#152)

Deprecated

  • Deprecated support for Python 3.5. Next release will drop support for Python 3.6.

Don't miss a new nats.py release

NewReleases is sending notifications on new releases.