Releases: lupko/etcd3-client
Releases · lupko/etcd3-client
Release 0.98.0
- No functional changes
- Move to protobuf 5.27.1
- Gencode used in buf.build locked on 5.27.1
- Runtime code >= 5.27.1
- Move to grpcio >= 1.59
- First grpcio version to support Python 3.12
- Gencode used in buf.build locked on 1.59
- Runtime code >= 1.59
Release 0.97.0
- Enhance WatchResponse with method to count events by type
- Done without materialization of event classes
- Useful especially for clients which analyze possibly large incoming event batches and
look for those that only describe DELETEs.
Release 0.96.0
- Enhance WatchResponse to allow lazy event materialization
- Old implementation read and created instances of
Event
for all events in the response - With large watch responses, this can contribute to memory usage spikes
- The response now allows iterating events via generator, accessing events by index and determining
number of events without the eager materialization
- Old implementation read and created instances of
- Refactored Event and KVMetadata classes to not eagerly access fields from etcd response
0.95.1
0.95.0
- Allow
limit
argument on get_* calls- The value specified in
limit
is passed to etcd server; limiting happens server side
- The value specified in
- Add support for paged gets of range of keys and keys starting with a prefix
- This can be useful for clients that do stream processing on large number of key-value pairs
- Without paging, the response from etcd can be quite large and lead to memory spikes in the client
- With paging, results are obtained in smaller pages, so these memory spikes are not so significant.
- The paged results are still presented as a single, continuous stream of key-value pairs
0.94.0
0.93.0
- Allow
timeout_override
on all calls- The timeout specified when client is created is used by default for all calls
- On per-call basis, it is possible to override this and use different value
- You may find this useful if you normally keep the timeouts low and aggressive but then have
a few outlier calls that are expected to take longer.