pypi nats-py 2.10.0
Release v2.10.0

latest release: 2.9.1
9 days ago

Added

  • Added KeysWithFilters method for key filtering in KV bucket (by @somratdutta in #602)
    # Retrieve keys with filters
    filtered_keys = await kv.keys(filters=['hello', 'greet'])
    print(f'Filtered Keys: {filtered_keys}')
config = nats.js.api.StreamConfig(
          name=stream_name,
          discard=nats.js.api.DiscardPolicy.NEW,
          discard_new_per_subject=True,
          max_msgs_per_subject=100
      )

await js.add_stream(config)

Fixed

  • Fixed typing of JetStreamContext.publish by @rijenkii in #605
  • Fixed supporting REQUEST_TIMEOUT status code for a batch fetch with no_wait=True (by @diorcety in #618)
  • Fixed deliver_subject in implicit subscription creation (by @m3nowak in #615)
  • Fixed issue where flusher task stops running (by @debbyglance in #636)
  • Fixed service start times to be utc (by @apollo13 in #640)
  • Fixed discovered server callback not being awaited (by @caspervonb in #660)

Improved

Don't miss a new nats-py release

NewReleases is sending notifications on new releases.