From caa30abb29e19405eeab89036fee7f0afee53a1d Mon Sep 17 00:00:00 2001 From: Levko Kravets Date: Wed, 17 Jul 2024 14:30:12 +0300 Subject: [PATCH 1/2] Prepare relese 3.3.0 Signed-off-by: Levko Kravets --- CHANGELOG.md | 14 ++++++++++++-- pyproject.toml | 2 +- src/databricks/sql/__init__.py | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03e8b8362..4fca2046c 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 e1476c3fa..5dc426177 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 493766e91..767cbf053 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 From 7a540d1839ae165bedf2551734f3a93749f1a6cd Mon Sep 17 00:00:00 2001 From: Levko Kravets Date: Wed, 17 Jul 2024 14:32:26 +0300 Subject: [PATCH 2/2] Remove @arikfr from CODEOWNERS Signed-off-by: Levko Kravets --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e2fae38cc..961a7638d 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