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

one month ago

Breaking Change

⚠️ KV keys validation now happens by default, in order to opt-out from keys validation need to switch to use the validate_keys option:

  • Added validate_keys option to KV methods for controlling key validation #706

    # Key validation enforced by default
    await kv.put("valid-key", b"value")
    
    # Opt out of validation for backwards compatibility  
    await kv.put("invalid.key.", b"value", validate_keys=False)

Fixed

  • Remove risk of getting coroutine 'Queue.get' was never awaited warning #687
  • Avoid RuntimeWarning: coroutine 'Queue.get' was never awaited in test #691
  • Consume the pending messages rather than asserting pending message count #690
  • Fix typo when using subject_transforms #690

Improved

  • Regenerate test certificates to work with Python v3.13 #699
  • Remove Travis CI configuration #688

Don't miss a new nats.py release

NewReleases is sending notifications on new releases.