diff --git a/CHANGES.md b/CHANGES.md index b6dcf9e1..bedfaeda 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,15 +6,35 @@ list](https://github.com/trinodb/trino-python-client/tags), the [README](https://github.com/trinodb/trino-python-client/blob/master/README.md) and the [PyPI page](https://pypi.org/project/trino/). +## Release 0.330.0 + +* Add support for `try_cast` to SQLAlchemy dialect. + ([#473](https://github.com/trinodb/trino-python-client/issues/473)) +* Add retries on HTTP 429 error from Trino or a gateway/proxy using the + `Retry-After` HTTP header in the response. + ([#457](https://github.com/trinodb/trino-python-client/issues/457)) +* Fix token caching for long tokens on Windows. + ([#477](https://github.com/trinodb/trino-python-client/issues/477)) +* Fix parsing of multi-valued `WWW-Authenticate` HTTP headers. + ([#484](https://github.com/trinodb/trino-python-client/issues/484)) +* Fix SQLAlchemy `get_indexes` implementation to return partition column names + for Hive connector instead of returning column names of the + `$partitions` table. + ([#476](https://github.com/trinodb/trino-python-client/issues/476)) +* Fix parsing of `cert` and `key` from SQLAlchemy connection URI. + ([#478](https://github.com/trinodb/trino-python-client/issues/478)) + ## Release 0.329.0 * Add support for `SET SESSION AUTHORIZATION`. ([#349](https://github.com/trinodb/trino-python-client/issues/349)) -* Add support for GSSAPI based Kerberos authentication. Use `auth=GSSAPIAuthentication(...)` to use it. +* Add support for GSSAPI based Kerberos authentication. Use + `auth=GSSAPIAuthentication(...)` to use it. ([#454](https://github.com/trinodb/trino-python-client/issues/454)) * Add support to SQLAlchemy dialect for `ROW` and `ARRAY` DDL generation. ([#458](https://github.com/trinodb/trino-python-client/issues/458)) -* Fix possible OAuth2 authentication failures when identity providers return multiple challenges. +* Fix possible OAuth2 authentication failures when identity providers return + multiple challenges. ([#444](https://github.com/trinodb/trino-python-client/issues/444)) ## Release 0.328.0 @@ -104,7 +124,8 @@ and the [PyPI page](https://pypi.org/project/trino/). ([#359](https://github.com/trinodb/trino-python-client/issues/359)) * Support using timezone aware `datetime.time` params in prepared statements. ([#360](https://github.com/trinodb/trino-python-client/issues/360)) -* Allow accessing `ROW` type fields using their names in addition to their indices. +* Allow accessing `ROW` type fields using their names in addition to their + indices. ([#338](https://github.com/trinodb/trino-python-client/issues/338)) * Interpret `roles` without catalog name as system roles for convenience. ([#341](https://github.com/trinodb/trino-python-client/issues/341)) @@ -116,8 +137,8 @@ and the [PyPI page](https://pypi.org/project/trino/). * 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)) -* Automatically determine `http_scheme`, `host` and `port` from `host` if it's a - valid URL. +* 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)) * Fix query cancellation to follow the protocol. Before this change cancelling a query could lead to errors from the Trino server. @@ -136,7 +157,8 @@ and the [PyPI page](https://pypi.org/project/trino/). ([#315](https://github.com/trinodb/trino-python-client/issues/315)) * Add support for chaining methods on `Cursor.execute`. ([#279](https://github.com/trinodb/trino-python-client/issues/279)) -* Fix bug where passing `roles` to `Connection` did not enable the provided roles. +* Fix bug where passing `roles` to `Connection` did not enable the provided + roles. ([#311](https://github.com/trinodb/trino-python-client/issues/311)) ### Breaking Changes @@ -164,9 +186,11 @@ and the [PyPI page](https://pypi.org/project/trino/). * Fix handling of expired access tokens when using OAuth 2 authentication. ([#284](https://github.com/trinodb/trino-python-client/issues/284)) -* Support `None` values in array, map and row types when `experimental_python_types` is enabled. +* Support `None` values in array, map and row types when + `experimental_python_types` is enabled. ([#269](https://github.com/trinodb/trino-python-client/issues/269)) -* Expose query id of most recently executed query on a cursor as `Cursor.query_id`. +* Expose query id of most recently executed query on a cursor as + `Cursor.query_id`. ([#295](https://github.com/trinodb/trino-python-client/issues/295)) ## Release 0.319.0