trinodb / trino-python-client

Python client for Trino
Apache License 2.0
307 stars 150 forks source link

Release notes for 0.328.0 #417

Closed hashhar closed 4 months ago

hashhar commented 8 months ago
```markdown
* <release note text>
  ([#NNN](https://github.com/trinodb/trino-python-client/issues/NNN))
```
hashhar commented 8 months ago
* Fix `Cursor.fetchall` returning already returned rows if called after `fetchone` or `fetchmany`.
  ([#414](https://github.com/trinodb/trino-python-client/issues/414))

414, #415

hashhar commented 4 months ago
* Fix incompatibility when using trino-python-client with [Ray](https://github.com/ray-project/ray).
  ([#420](https://github.com/trinodb/trino-python-client/issues/420))

420

hashhar commented 4 months ago
* Fix error when closing a cursor without executing a query.
  ([#428](https://github.com/trinodb/trino-python-client/issues/428))

428 #433

hashhar commented 4 months ago
* Add support for `JSON` data type to SQLAlchemy dialect.
  ([#387](https://github.com/trinodb/trino-python-client/issues/387))

387, #423, #425

hashhar commented 4 months ago
* Fix `get_indexes` in SQLAlchemy to not fail when called for non-Hive tables.
  ([#426](https://github.com/trinodb/trino-python-client/issues/426))

426

hashhar commented 4 months ago
* Make it possible to configure log level for all modules via the root logger. The root logger is named `trino`.
  ([#434](https://github.com/trinodb/trino-python-client/issues/434))

434

hashhar commented 4 months ago
* Add support for `IGNORE NULLS` in window functions when using SQLAlchemy.
  ([#429](https://github.com/trinodb/trino-python-client/issues/429))

429

hashhar commented 4 months ago
* Add support for Python 3.12 and drop support for Python 3.7 and PyPy 3.8 which are end-of-life.
  ([#438](https://github.com/trinodb/trino-python-client/issues/438))

438

hashhar commented 4 months ago
* Fix reading and writing `MAP` types with boolean or integer keys.
  ([#441](https://github.com/trinodb/trino-python-client/issues/441))

441

hashhar commented 4 months ago
* Fix possible failures when retrieving query results if the server returns empty data.
  ([#443](https://github.com/trinodb/trino-python-client/issues/443))

443

hashhar commented 4 months ago
* Add support for `MAP` type to SQLAlchemy dialect.
  ([#397](https://github.com/trinodb/trino-python-client/issues/397))

397, #448

hashhar commented 4 months ago
* Allow using `keyring.backends.null.Keyring` to disable keyring when using OAuth2.
  ([#431](https://github.com/trinodb/trino-python-client/issues/431))
* If `user` is provided during connection then OAuth2 tokens will be cached on a per-user and host basis instead of per-host only.
  ([#430](https://github.com/trinodb/trino-python-client/issues/430))

431, #430, #435

hashhar commented 4 months ago

Fixed via https://github.com/trinodb/trino-python-client/pull/451