Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release notes for 0.330.0 #487

Merged
merged 2 commits into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 32 additions & 8 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
`<table>$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
Expand Down Expand Up @@ -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))
Expand All @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down