From 95b6e14831b480827bceb07e45dca50831342673 Mon Sep 17 00:00:00 2001 From: Jessica Date: Tue, 16 Aug 2022 16:50:54 -0400 Subject: [PATCH 1/3] Create changes file --- CHANGES.md | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 CHANGES.md diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 00000000..5f18e288 --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,67 @@ +# History of changes and releases + +Release dates, binaries, and other information for the Trino Python client are +available in the [tags +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/). + +## Trino Python client 0.315.0 + +* Add support for the `USE catalog.schema` statement. +* Add support for the `SET ROLE` statement. +* Make DBAPI errors PEP 249 compatible. + +## Trino Python client 0.314.0 + +* Support for `time(p)` and `timestamp(p)` in SQLAlchemy. +* Fix failure when building `INSERT` statement from `WITH` clause in SQLAlchemy. + +## Trino Python client 0.313.0 + +* Support `executemany` method in DBAPI +* Support keyring to securely cache the OAuth2 token +* Support client tags +* Improve type mapping + +## Trino Python client 0.311.0 + +* Introduce `experimental_python_types` flag for decimal, date, time, timestamp + with time zone and timestamp types. +* Add JWT token support via connection string in sqlalchemy. +* Get table comment from system catalog in sqlalchemy. + +## Trino Python client 0.310.0 + +* Support SQLAlchemy in old server versions. +* Fix handling transaction requests in auto-commit mode. +* Add CertificateAuthentication class for cert based authentication. +* Add support for `extra_credential`. +* Fix `LIMIT` clause in SQLAlchemy. + +## Trino Python client 0.309.0 + +* Add support for SQLAlchemy (requires Trino version >= 352). +* Fix multiple challenges handling in OAuth2. + +## Trino Python client 0.308.0 + +* Add support full OAuth2 flow for authentication. +* Fix encode/decode error for session properties. +* Expose info_uri from query status in Cursor. +* Retry on 504 gateway timeout responses. +* Use HTTPS when port is 443. + +## Trino Python client 0.306.0 + +* Add support for JWT Authentication. +* Remove support for Python 2.7. +* Remove support for Python 3.5. + +## Older releases + +Details for older releases are available in the [tags +list](https://github.com/trinodb/trino-python-client/tags), the code itself, +and the +[README](https://github.com/trinodb/trino-python-client/blob/master/README.md) +documentation. From 2d82d95c403ba642ac2cd5ec27e49b55d4225437 Mon Sep 17 00:00:00 2001 From: Ashhar Hasan Date: Wed, 21 Sep 2022 13:42:06 +0530 Subject: [PATCH 2/3] Remove incomplete list of changes from older releases --- CHANGES.md | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 5f18e288..d21d087a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,58 +6,6 @@ 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/). -## Trino Python client 0.315.0 - -* Add support for the `USE catalog.schema` statement. -* Add support for the `SET ROLE` statement. -* Make DBAPI errors PEP 249 compatible. - -## Trino Python client 0.314.0 - -* Support for `time(p)` and `timestamp(p)` in SQLAlchemy. -* Fix failure when building `INSERT` statement from `WITH` clause in SQLAlchemy. - -## Trino Python client 0.313.0 - -* Support `executemany` method in DBAPI -* Support keyring to securely cache the OAuth2 token -* Support client tags -* Improve type mapping - -## Trino Python client 0.311.0 - -* Introduce `experimental_python_types` flag for decimal, date, time, timestamp - with time zone and timestamp types. -* Add JWT token support via connection string in sqlalchemy. -* Get table comment from system catalog in sqlalchemy. - -## Trino Python client 0.310.0 - -* Support SQLAlchemy in old server versions. -* Fix handling transaction requests in auto-commit mode. -* Add CertificateAuthentication class for cert based authentication. -* Add support for `extra_credential`. -* Fix `LIMIT` clause in SQLAlchemy. - -## Trino Python client 0.309.0 - -* Add support for SQLAlchemy (requires Trino version >= 352). -* Fix multiple challenges handling in OAuth2. - -## Trino Python client 0.308.0 - -* Add support full OAuth2 flow for authentication. -* Fix encode/decode error for session properties. -* Expose info_uri from query status in Cursor. -* Retry on 504 gateway timeout responses. -* Use HTTPS when port is 443. - -## Trino Python client 0.306.0 - -* Add support for JWT Authentication. -* Remove support for Python 2.7. -* Remove support for Python 3.5. - ## Older releases Details for older releases are available in the [tags From e2c32c214d3f1c47333add05e8d3f3c78f67dbf8 Mon Sep 17 00:00:00 2001 From: Ashhar Hasan Date: Wed, 21 Sep 2022 13:40:40 +0530 Subject: [PATCH 3/3] Add changes for 0.316.0 --- CHANGES.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index d21d087a..eed58a31 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,19 @@ 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/). +## Trino Python client 0.316.0 + +* Add support for SQLAlchemy queries to access multiple catalogs by specifying + a `trino_catalog` argument to SQLAlchemy `Table` objects. + ([#186](https://github.com/trinodb/trino-python-client/issues/186)) +* Improve performance when a cursor with `experimental_python_types` is used. + ([#206](https://github.com/trinodb/trino-python-client/issues/206)) +* Fix incorrect results for `get_table_comment` in SQLAlchemy when two tables + with the same name and schema exist in different catalogs. + ([#217](https://github.com/trinodb/trino-python-client/issues/217)) +* Remove spurious logging of HTTP responses when a query is cancelled. + ([#216](https://github.com/trinodb/trino-python-client/issues/216)) + ## Older releases Details for older releases are available in the [tags