Skip to content

Releases: ydb-platform/ydb-python-sdk

3.30.0

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 08 Jul 10:08
  • Query session attach stream handles NodeShutdown and SessionShutdown session hints: on NodeShutdown the session's node connection is pessimized and the session is retired, on SessionShutdown the session is retired without touching the node
  • Honor the max_bytes parameter in topic reader receive_batch/receive_batch_with_tx (previously accepted but silently ignored); add max_bytes to the async reader as well
  • Support the timezone-carrying types TzDate, TzDatetime and TzTimestamp in query results and parameters (reading them previously raised AttributeError)
  • Drop support for Python 3.8 and 3.9; the minimum supported version is now Python 3.10
  • Accept native datetime.datetime values for Datetime and Datetime64 query parameters (previously only integer seconds since the epoch were accepted)

Full Changelog: 3.29.7...3.30.0

3.29.7

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 03 Jul 07:03
  • Make missing row/struct attribute access raise an error that is both AttributeError and KeyError, to stay backward compatible with callers written against the pre-3.29.5 KeyError

Full Changelog: 3.29.6...3.29.7

3.29.6

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 30 Jun 18:44
  • Restore attribute assignment on query result set rows (broken by the result set memory optimization)

Full Changelog: 3.29.5...3.29.6

3.29.5

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 30 Jun 11:25
  • Fix gRPC thread leak on failed topic writer reconnect
  • Reduce memory usage of query service result sets
  • Update protobufs
  • Fix incompatibility with protobuf 6.30–6.31.0: regenerate v6 stubs with the lowest 6.x gencode floor (6.30.0) instead of 6.31.1

Full Changelog: 3.29.4...3.29.5

3.29.4

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 10 Jun 18:51
  • Fix leaked topic reader stream when close interrupts stream creation during reconnect
  • Include reconnector and read session ids in topic reader logs

Full Changelog: 3.29.3...3.29.4

3.29.3

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 08 Jun 17:43
  • Fix topic reader hang and zombie stream when closing during reconnect

Full Changelog: 3.29.2...3.29.3

3.29.2

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 08 Jun 09:16
  • Fix transactional topic reader committing stale offsets after reconnect

Full Changelog: 3.29.1...3.29.2

3.29.1

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 04 Jun 15:44
  • Fix driver.wait hang

Full Changelog: 3.29.0...3.29.1

3.29.0

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 08 May 12:12
  • Added OpenTelemetry tracing support via ydb.opentelemetry.enable_tracing()

Full Changelog: 3.28.4...3.29.0

3.28.4

Choose a tag to compare

@ydb-platform-bot ydb-platform-bot released this 29 Apr 08:24
  • Fix iam module lazy loading

Full Changelog: 3.28.3...3.28.4