@@ -6,6 +6,41 @@ 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://github.com/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://github.com/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://github.com/trinodb/trino-python-client/issues/230 ) )
21
+ * Add a function ` trino.sqlalchemy.URL ` to generate SQLAlchemy URLs which
22
+ properly handles escaping and encoding values where needed.
23
+ ([ #235 ] ( https://github.com/trinodb/trino-python-client/issues/235 ) )
24
+ * Fix query failures not being propagated to the client when using ` fetchone ` .
25
+ ([ #95 ] ( https://github.com/trinodb/trino-python-client/issues/95 ) )
26
+ * Fix queries returning a single row from sometimes appearing as failed on the
27
+ server. ([ #220 ] ( https://github.com/trinodb/trino-python-client/issues/220 ) )
28
+ * Fix query failures when using SQLAlchemy ` TableClause ` by not performing
29
+ catalog lookup.
30
+ ([ #237 ] ( https://github.com/trinodb/trino-python-client/issues/237 ) )
31
+ * Fix errors when using prepared statements with Trino versions greater than or
32
+ equal to 398.
33
+ ([ #242 ] ( https://github.com/trinodb/trino-python-client/issues/242 ) )
34
+
35
+ ### Breaking Changes
36
+
37
+ * Block the ` execute ` method of the cursor until at least one row is received.
38
+ Users no longer need to call ` fetchone ` or ` fetchall ` to ensure query starts
39
+ executing on the Trino server. Note that results still need to be consumed by
40
+ calling ` fetchone ` or ` fetchall ` to ensure that a query isn't considered idle
41
+ and terminated on the server.
42
+ ([ #232 ] ( https://github.com/trinodb/trino-python-client/issues/232 ) )
43
+
9
44
## Trino Python client 0.316.0
10
45
11
46
* Add support for SQLAlchemy queries to access multiple catalogs by specifying
0 commit comments