From 5c557bbf1c08e0b2a8041b27951f232204dfc5e3 Mon Sep 17 00:00:00 2001 From: Shivam Raj Date: Wed, 12 Mar 2025 10:50:26 +0530 Subject: [PATCH 1/7] prepare release for v4.0.1 --- CHANGELOG.md | 5 +++++ pyproject.toml | 2 +- src/databricks/sql/__init__.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6753b60f..ca551522 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Release History +# 4.0.1 (2025-03-12) +- Rename `_user_agent_entry` to `user_agent_entry` to expose it as a public parameter. Documentation updated to reflect this. (databricks/databricks-sql-python#530 by @shivam2680) +- Fix: Compatibility with urllib3 v1.26 (#526 by @shivam2680) +- Support for Python 3.13 and updated dependencies (#510 by @dhirschfeld and @dbaxa) + # 4.0.0 (2025-01-19) - Split the connector into two separate packages: `databricks-sql-connector` and `databricks-sqlalchemy`. The `databricks-sql-connector` package contains the core functionality of the connector, while the `databricks-sqlalchemy` package contains the SQLAlchemy dialect for the connector. diff --git a/pyproject.toml b/pyproject.toml index ea5bd938..2a5e3f3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "databricks-sql-connector" -version = "4.0.0" +version = "4.0.1" 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 fd61ee6c..f3055628 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__ = "4.0.0" +__version__ = "4.0.1" USER_AGENT_NAME = "PyDatabricksSqlConnector" # These two functions are pyhive legacy From 986f7be9536c247e6e6161580e088b55aee020fe Mon Sep 17 00:00:00 2001 From: Shivam Raj Date: Wed, 12 Mar 2025 10:52:49 +0530 Subject: [PATCH 2/7] add pr link --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca551522..8c61e30c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ # 4.0.1 (2025-03-12) - Rename `_user_agent_entry` to `user_agent_entry` to expose it as a public parameter. Documentation updated to reflect this. (databricks/databricks-sql-python#530 by @shivam2680) -- Fix: Compatibility with urllib3 v1.26 (#526 by @shivam2680) -- Support for Python 3.13 and updated dependencies (#510 by @dhirschfeld and @dbaxa) +- Fix: Compatibility with urllib3 v1.26 (databricks/databricks-sql-python#526 by @shivam2680) +- Support for Python 3.13 and updated dependencies (databricks/databricks-sql-python#510 by @dhirschfeld and @dbaxa) # 4.0.0 (2025-01-19) From 698288c378d3e483a2efa5a5a74342b504e1445a Mon Sep 17 00:00:00 2001 From: Shivam Raj Date: Wed, 12 Mar 2025 11:08:28 +0530 Subject: [PATCH 3/7] nit changes --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c61e30c..a3279e0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Release History # 4.0.1 (2025-03-12) -- Rename `_user_agent_entry` to `user_agent_entry` to expose it as a public parameter. Documentation updated to reflect this. (databricks/databricks-sql-python#530 by @shivam2680) -- Fix: Compatibility with urllib3 v1.26 (databricks/databricks-sql-python#526 by @shivam2680) +- Rename `_user_agent_entry` in connect call to `user_agent_entry` to expose it as a public parameter. (databricks/databricks-sql-python#530 by @shivam2680) +- Fi: compatibility with urllib3 versions less than 2.x. (databricks/databricks-sql-python#526 by @shivam2680) - Support for Python 3.13 and updated dependencies (databricks/databricks-sql-python#510 by @dhirschfeld and @dbaxa) # 4.0.0 (2025-01-19) From 45699469edf6e8568112de046be3e22c49086bd0 Mon Sep 17 00:00:00 2001 From: Shivam Raj Date: Wed, 19 Mar 2025 01:08:39 +0530 Subject: [PATCH 4/7] updated changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3279e0d..9c1411e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Release History # 4.0.1 (2025-03-12) +- Support for multiple timestamp formats parsing using `python-dateutil` (databricks/databricks-sql-python#533 by @jprakash-db) - Rename `_user_agent_entry` in connect call to `user_agent_entry` to expose it as a public parameter. (databricks/databricks-sql-python#530 by @shivam2680) - Fi: compatibility with urllib3 versions less than 2.x. (databricks/databricks-sql-python#526 by @shivam2680) - Support for Python 3.13 and updated dependencies (databricks/databricks-sql-python#510 by @dhirschfeld and @dbaxa) From ad89813257abaea4da67e0f3c858a32efd209811 Mon Sep 17 00:00:00 2001 From: Shivam Raj Date: Wed, 19 Mar 2025 01:09:18 +0530 Subject: [PATCH 5/7] updated changelog again --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c1411e7..33c08289 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Release History # 4.0.1 (2025-03-12) -- Support for multiple timestamp formats parsing using `python-dateutil` (databricks/databricks-sql-python#533 by @jprakash-db) +- Support for multiple timestamp formats parsing (databricks/databricks-sql-python#533 by @jprakash-db) - Rename `_user_agent_entry` in connect call to `user_agent_entry` to expose it as a public parameter. (databricks/databricks-sql-python#530 by @shivam2680) - Fi: compatibility with urllib3 versions less than 2.x. (databricks/databricks-sql-python#526 by @shivam2680) - Support for Python 3.13 and updated dependencies (databricks/databricks-sql-python#510 by @dhirschfeld and @dbaxa) From 1788a3581535db1648dd9d14d1c0e0b7dbdd1eb5 Mon Sep 17 00:00:00 2001 From: Shivam Raj Date: Wed, 19 Mar 2025 01:11:42 +0530 Subject: [PATCH 6/7] nit --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33c08289..38a6a749 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ # 4.0.1 (2025-03-12) - Support for multiple timestamp formats parsing (databricks/databricks-sql-python#533 by @jprakash-db) - Rename `_user_agent_entry` in connect call to `user_agent_entry` to expose it as a public parameter. (databricks/databricks-sql-python#530 by @shivam2680) -- Fi: compatibility with urllib3 versions less than 2.x. (databricks/databricks-sql-python#526 by @shivam2680) +- Fix: compatibility with urllib3 versions less than 2.x. (databricks/databricks-sql-python#526 by @shivam2680) - Support for Python 3.13 and updated dependencies (databricks/databricks-sql-python#510 by @dhirschfeld and @dbaxa) # 4.0.0 (2025-01-19) From 6bd34c69524cf856004c738faee567eb98ecd8fe Mon Sep 17 00:00:00 2001 From: Shivam Raj Date: Wed, 19 Mar 2025 10:05:07 +0530 Subject: [PATCH 7/7] nit --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38a6a749..6c975b9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Release History -# 4.0.1 (2025-03-12) +# 4.0.1 (2025-03-19) + - Support for multiple timestamp formats parsing (databricks/databricks-sql-python#533 by @jprakash-db) - Rename `_user_agent_entry` in connect call to `user_agent_entry` to expose it as a public parameter. (databricks/databricks-sql-python#530 by @shivam2680) - Fix: compatibility with urllib3 versions less than 2.x. (databricks/databricks-sql-python#526 by @shivam2680)