Skip to content

Commit aedc108

Browse files
committed
Release notes for 0.325.0
1 parent a51afe7 commit aedc108

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ list](https://github.com/trinodb/trino-python-client/tags), the
66
[README](https://github.com/trinodb/trino-python-client/blob/master/README.md)
77
and the [PyPI page](https://pypi.org/project/trino/).
88

9+
## Release 0.325.0
10+
11+
* Queries with parameters now uses `EXECUTE IMMEDIATE` instead of `PREPARE`,
12+
`EXECUTE` and `DEALLOCATE` if the server supports `EXECUTE IMMEDIATE`. If
13+
`EXECUTE IMMEDIATE` is not support the client falls back to using `PREPARE`,
14+
`EXECUTE` and `DEALLOCATE`. If you want to always use `PREPARE`, `EXECUTE`
15+
and `DEALLOCATE` set the kwarg `legacy_prepared_statements` to `True`.
16+
([#375](https://github.com/trinodb/trino-python-client/issues/375))
17+
918
## Release 0.324.0
1019

1120
* Reduce the number of times `SELECT version()` query is sent to Trino when

0 commit comments

Comments
 (0)