|
1 | 1 | # Release History
|
2 | 2 |
|
3 |
| -# 3.0.2 (2024-01-25) |
4 |
| - |
5 |
| -- SQLAlchemy dialect now supports table and column comments (thanks @cbornet!) |
6 |
| -- Fix: SQLAlchemy dialect now correctly reflects TINYINT types (thanks @TimTheinAtTabs!) |
7 |
| -- Fix: `server_hostname` URIs that included `https://` would raise an exception |
8 |
| -- Other: pinned to `pandas<=2.1` and `urllib3>=1.26` to avoid runtime errors in dbt-databricks (#330) |
9 |
| - |
10 |
| -## 3.0.1 (2023-12-01) |
11 |
| - |
12 |
| -- Other: updated docstring comment about default parameterization approach (#287) |
13 |
| -- Other: added tests for reading complex types and revised docstrings and type hints (#293) |
14 |
| -- Fix: SQLAlchemy dialect raised DeprecationWarning due to `dbapi` classmethod (#294) |
15 |
| -- Fix: SQLAlchemy dialect could not reflect TIMESTAMP_NTZ columns (#296) |
16 |
| - |
17 |
| -## 3.0.0 (2023-11-17) |
18 |
| - |
19 |
| -- Remove support for Python 3.7 |
20 |
| -- Add support for native parameterized SQL queries. Requires DBR 14.2 and above. See docs/parameters.md for more info. |
21 |
| -- Completely rewritten SQLAlchemy dialect |
22 |
| - - Adds support for SQLAlchemy >= 2.0 and drops support for SQLAlchemy 1.x |
23 |
| - - Full e2e test coverage of all supported features |
24 |
| - - Detailed usage notes in `README.sqlalchemy.md` |
25 |
| - - Adds support for: |
26 |
| - - New types: `TIME`, `TIMESTAMP`, `TIMESTAMP_NTZ`, `TINYINT` |
27 |
| - - `Numeric` type scale and precision, like `Numeric(10,2)` |
28 |
| - - Reading and writing `PrimaryKeyConstraint` and `ForeignKeyConstraint` |
29 |
| - - Reading and writing composite keys |
30 |
| - - Reading and writing from views |
31 |
| - - Writing `Identity` to tables (i.e. autoincrementing primary keys) |
32 |
| - - `LIMIT` and `OFFSET` for paging through results |
33 |
| - - Caching metadata calls |
34 |
| -- Enable cloud fetch by default. To disable, set `use_cloud_fetch=False` when building `databricks.sql.client`. |
35 |
| -- Add integration tests for Databricks UC Volumes ingestion queries |
36 |
| -- Retries: |
37 |
| - - Add `_retry_max_redirects` config |
38 |
| - - Set `_enable_v3_retries=True` and warn if users override it |
39 |
| -- Security: bump minimum pyarrow version to 14.0.1 (CVE-2023-47248) |
| 3 | +## 2.9.4 (Unreleased) |
40 | 4 |
|
41 | 5 | ## 2.9.3 (2023-08-24)
|
42 | 6 |
|
43 | 7 | - Fix: Connections failed when urllib3~=1.0.0 is installed (#206)
|
44 | 8 |
|
45 | 9 | ## 2.9.2 (2023-08-17)
|
46 | 10 |
|
47 |
| -__Note: this release was yanked from Pypi on 13 September 2023 due to compatibility issues with environments where `urllib3<=2.0.0` were installed. The log changes are incorporated into version 2.9.3 and greater.__ |
48 |
| - |
49 | 11 | - Other: Add `examples/v3_retries_query_execute.py` (#199)
|
50 | 12 | - Other: suppress log message when `_enable_v3_retries` is not `True` (#199)
|
51 | 13 | - Other: make this connector backwards compatible with `urllib3>=1.0.0` (#197)
|
52 | 14 |
|
53 | 15 | ## 2.9.1 (2023-08-11)
|
54 | 16 |
|
55 |
| -__Note: this release was yanked from Pypi on 13 September 2023 due to compatibility issues with environments where `urllib3<=2.0.0` were installed.__ |
56 |
| - |
57 | 17 | - Other: Explicitly pin urllib3 to ^2.0.0 (#191)
|
58 | 18 |
|
59 | 19 | ## 2.9.0 (2023-08-10)
|
60 | 20 |
|
61 |
| -- Replace retry handling with DatabricksRetryPolicy. This is disabled by default. To enable, set `_enable_v3_retries=True` when creating `databricks.sql.client` (#182) |
| 21 | +- Replace retry handling with DatabricksRetryPolicy. This is disabled by default. To enable, set `enable_v3_retries=True` when creating `databricks.sql.client` (#182) |
62 | 22 | - Other: Fix typo in README quick start example (#186)
|
63 | 23 | - Other: Add autospec to Client mocks and tidy up `make_request` (#188)
|
64 | 24 |
|
|
0 commit comments