@@ -6,6 +6,36 @@ list](https://github.com/trinodb/trino-python-client/tags), the
6
6
[ README] ( https://github.com/trinodb/trino-python-client/blob/master/README.md )
7
7
and the [ PyPI page] ( https://pypi.org/project/trino/ ) .
8
8
9
+ ## Trino Python client 0.317.0
10
+
11
+ * Add support for creating tables containing ` JSON ` columns and reading and
12
+ writing to them with SQLAlchemy.
13
+ ([ #194 ] ( https://trinodb/trino-python-client/issues/194 ) )
14
+ * Add support for setting roles by passing a dictionary of catalog name and
15
+ role as the ` roles ` keyword argument to ` trino.dbapi.connect ` .
16
+ ([ #230 ] ( https://trinodb/trino-python-client/issues/230 ) )
17
+ * Add support for setting roles by adding the ` roles ` URL query parameter in
18
+ SQLAlchemy connections to a JSON object with keys as the catalog name and
19
+ values as the role name.
20
+ ([ #230 ] ( https://trinodb/trino-python-client/issues/230 ) )
21
+ * Fix query failures not being propagated to the client when using ` fetchone ` .
22
+ ([ #95 ] ( https://trinodb/trino-python-client/issues/95 ) )
23
+ * Fix queries returning a single row from sometimes appearing as failed on the
24
+ server. ([ #220 ] ( https://trinodb/trino-python-client/issues/220 ) )
25
+ * Fix query failures when using SQLAlchemy ` TableClause ` by not performing
26
+ catalog lookup. ([ #237 ] ( https://trinodb/trino-python-client/issues/237 ) )
27
+ * Fix errors when using prepared statements with Trino versions greater than or
28
+ equal to 398. ([ #242 ] ( https://trinodb/trino-python-client/issues/242 ) )
29
+
30
+ ### Breaking Changes
31
+
32
+ * Block the ` execute ` method of the cursor until at least one row is received.
33
+ Users no longer need to call ` fetchone ` or ` fetchall ` to ensure query starts
34
+ executing on the Trino server. Note that results still need to be consumed by
35
+ calling ` fetchone ` or ` fetchall ` to ensure that a query isn't considered idle
36
+ and terminated on the server.
37
+ ([ #232 ] ( https://trinodb/trino-python-client/issues/232 ) )
38
+
9
39
## Trino Python client 0.316.0
10
40
11
41
* Add support for SQLAlchemy queries to access multiple catalogs by specifying
0 commit comments