From b438c385112e6f27983bd771c556c8c7596fef22 Mon Sep 17 00:00:00 2001 From: Levko Kravets Date: Wed, 17 Jul 2024 19:18:09 +0300 Subject: [PATCH] Prepare relese 3.3.0 (#415) * Prepare relese 3.3.0 Signed-off-by: Levko Kravets * Remove @arikfr from CODEOWNERS Signed-off-by: Levko Kravets --------- Signed-off-by: Levko Kravets --- .github/CODEOWNERS | 2 +- CHANGELOG.md | 14 ++++++++++++-- pyproject.toml | 2 +- src/databricks/sql/__init__.py | 2 +- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e2fae38c..961a7638 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,4 +2,4 @@ # the repo. Unless a later match takes precedence, these # users will be requested for review when someone opens a # pull request. -* @rcypher-databricks @arikfr @yunbodeng-db @andrefurlan-db @jackyhu-db @benc-db @kravets-levko +* @rcypher-databricks @yunbodeng-db @andrefurlan-db @jackyhu-db @benc-db @kravets-levko diff --git a/CHANGELOG.md b/CHANGELOG.md index 03e8b836..4fca2046 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,18 @@ # Release History -# x.x.x (TBD) +# 3.3.0 (2024-07-18) -- Don't retry requests that fail with code 401 +- Don't retry requests that fail with HTTP code 401 (databricks/databricks-sql-python#408 by @Hodnebo) +- Remove username/password (aka "basic") auth option (databricks/databricks-sql-python#409 by @jackyhu-db) +- Refactor CloudFetch handler to fix numerous issues with it (databricks/databricks-sql-python#405 by @kravets-levko) +- Add option to disable SSL verification for CloudFetch links (databricks/databricks-sql-python#414 by @kravets-levko) + +Databricks-managed passwords reached end of life on July 10, 2024. Therefore, Basic auth support was removed from +the library. See https://docs.databricks.com/en/security/auth-authz/password-deprecation.html + +The existing option `_tls_no_verify=True` of `sql.connect(...)` will now also disable SSL cert verification +(but not the SSL itself) for CloudFetch links. This option should be used as a workaround only, when other ways +to fix SSL certificate errors didn't work. # 3.2.0 (2024-06-06) diff --git a/pyproject.toml b/pyproject.toml index e1476c3f..5dc42617 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "databricks-sql-connector" -version = "3.2.0" +version = "3.3.0" description = "Databricks SQL Connector for Python" authors = ["Databricks "] license = "Apache-2.0" diff --git a/src/databricks/sql/__init__.py b/src/databricks/sql/__init__.py index 493766e9..767cbf05 100644 --- a/src/databricks/sql/__init__.py +++ b/src/databricks/sql/__init__.py @@ -68,7 +68,7 @@ def __repr__(self): DATE = DBAPITypeObject("date") ROWID = DBAPITypeObject() -__version__ = "3.2.0" +__version__ = "3.3.0" USER_AGENT_NAME = "PyDatabricksSqlConnector" # These two functions are pyhive legacy