trinodb / trino-python-client

Python client for Trino
Apache License 2.0
328 stars 163 forks source link

Release notes for 0.322.0 #321

Closed hashhar closed 1 year ago

hashhar commented 1 year ago
```markdown
* <release note text>
  ([#NNN](https://github.com/trinodb/trino-python-client/issues/NNN))
```
hashhar commented 1 year ago
* Return `rowcount` property on the DB-API `Cursor` when available.
  ([#325](https://github.com/trinodb/trino-python-client/issues/325))

325

hashhar commented 1 year ago
* Fix query cancellation to follow the protocol. Before this change cancelling
  a query could lead to errors from the Trino server.
  ([#328](https://github.com/trinodb/trino-python-client/issues/328))

328

hashhar commented 1 year ago
* Provide a read-only property `query` on the DB-API `Cursor` which contains
  the query text submitted through the cursor when available.
  ([#323](https://github.com/trinodb/trino-python-client/issues/323))

323

hashhar commented 1 year ago
* Automatically determine `http_scheme`, `host` and `port` from `host` if it's a
  valid URL.
  ([#340](https://github.com/trinodb/trino-python-client/issues/340))

340