You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+44-7
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,30 @@
1
1
# Release History
2
2
3
-
# 3.0.3 (TBD)
3
+
# (Unreleased)
4
+
5
+
- Fix: our logger would raise an uncaught exception under certain oauth error conditions
6
+
7
+
# 3.1.2 (2024-04-18)
8
+
9
+
- Remove broken cookie code (#379)
10
+
- Small typing fixes (#382, #384 thanks @wyattscarpenter)
11
+
12
+
# 3.1.1 (2024-03-19)
13
+
14
+
- Don't retry requests that fail with code 403 (#373)
15
+
- Assume a default retry-after for 429/503 (#371)
16
+
- Fix boolean literals (#357)
17
+
18
+
# 3.1.0 (2024-02-16)
19
+
20
+
- Revert retry-after behavior to be exponential backoff (#349)
21
+
- Support Databricks OAuth on Azure (#351)
22
+
- Support Databricks OAuth on GCP (#338)
23
+
24
+
# 3.0.3 (2024-02-02)
4
25
5
26
- Revised docstrings and examples for OAuth (#339)
27
+
- Redact the URL query parameters from the urllib3.connectionpool logs (#341)
6
28
7
29
# 3.0.2 (2024-01-25)
8
30
@@ -48,15 +70,15 @@
48
70
49
71
## 2.9.2 (2023-08-17)
50
72
51
-
__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.__
73
+
**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.**
- Other: suppress log message when `_enable_v3_retries` is not `True` (#199)
55
77
- Other: make this connector backwards compatible with `urllib3>=1.0.0` (#197)
56
78
57
79
## 2.9.1 (2023-08-11)
58
80
59
-
__Note: this release was yanked from Pypi on 13 September 2023 due to compatibility issues with environments where `urllib3<=2.0.0` were installed.__
81
+
**Note: this release was yanked from Pypi on 13 September 2023 due to compatibility issues with environments where `urllib3<=2.0.0` were installed.**
60
82
61
83
- Other: Explicitly pin urllib3 to ^2.0.0 (#191)
62
84
@@ -109,6 +131,7 @@ __Note: this release was yanked from Pypi on 13 September 2023 due to compatibil
109
131
- Other: Relax sqlalchemy required version as it was unecessarily strict.
110
132
111
133
## 2.5.0 (2023-04-14)
134
+
112
135
- Add support for External Auth providers
113
136
- Fix: Python HTTP proxies were broken
114
137
- Other: All Thrift requests that timeout during connection will be automatically retried
@@ -130,8 +153,8 @@ __Note: this release was yanked from Pypi on 13 September 2023 due to compatibil
130
153
131
154
## 2.2.2 (2023-01-03)
132
155
133
-
- Support custom oauth client id and redirect port
134
-
- Fix: Add none check on _oauth_persistence in DatabricksOAuthProvider
156
+
- Support custom oauth client id and redirect port
157
+
- Fix: Add none check on \_oauth_persistence in DatabricksOAuthProvider
135
158
136
159
## 2.2.1 (2022-11-29)
137
160
@@ -163,57 +186,71 @@ Huge thanks to @dbaxa for contributing this change!
163
186
164
187
- Add retry logic for `GetOperationStatus` requests that fail with an `OSError`
165
188
- Reorganised code to use Poetry for dependency management.
189
+
166
190
## 2.0.2 (2022-05-04)
191
+
167
192
- Better exception handling in automatic connection close
168
193
169
194
## 2.0.1 (2022-04-21)
195
+
170
196
- Fixed Pandas dependency in setup.cfg to be >= 1.2.0
171
197
172
198
## 2.0.0 (2022-04-19)
199
+
173
200
- Initial stable release of V2
174
-
- Added better support for complex types, so that in Databricks runtime 10.3+, Arrays, Maps and Structs will get
201
+
- Added better support for complex types, so that in Databricks runtime 10.3+, Arrays, Maps and Structs will get
175
202
deserialized as lists, lists of tuples and dicts, respectively.
176
203
- Changed the name of the metadata arg to http_headers
177
204
178
205
## 2.0.b2 (2022-04-04)
206
+
179
207
- Change import of collections.Iterable to collections.abc.Iterable to make the library compatible with Python 3.10
180
208
- Fixed bug with .tables method so that .tables works as expected with Unity-Catalog enabled endpoints
181
209
182
210
## 2.0.0b1 (2022-03-04)
211
+
183
212
- Fix packaging issue (dependencies were not being installed properly)
184
213
- Fetching timestamp results will now return aware instead of naive timestamps
185
214
- The client will now default to using simplified error messages
186
215
187
216
## 2.0.0b (2022-02-08)
217
+
188
218
- Initial beta release of V2. V2 is an internal re-write of large parts of the connector to use Databricks edge features. All public APIs from V1 remain.
189
-
- Added Unity Catalog support (pass catalog and / or schema key word args to the .connect method to select initial schema and catalog)
219
+
- Added Unity Catalog support (pass catalog and / or schema key word args to the .connect method to select initial schema and catalog)
190
220
191
221
---
192
222
193
223
**Note**: The code for versions prior to `v2.0.0b` is not contained in this repository. The below entries are included for reference only.
194
224
195
225
---
226
+
196
227
## 1.0.0 (2022-01-20)
228
+
197
229
- Add operations for retrieving metadata
198
230
- Add the ability to access columns by name on result rows
199
231
- Add the ability to provide configuration settings on connect
200
232
201
233
## 0.9.4 (2022-01-10)
234
+
202
235
- Improved logging and error messages.
203
236
204
237
## 0.9.3 (2021-12-08)
238
+
205
239
- Add retries for 429 and 503 HTTP responses.
206
240
207
241
## 0.9.2 (2021-12-02)
242
+
208
243
- (Bug fix) Increased Thrift requirement from 0.10.0 to 0.13.0 as 0.10.0 was in fact incompatible
209
244
- (Bug fix) Fixed error message after query execution failed -SQLSTATE and Error message were misplaced
210
245
211
246
## 0.9.1 (2021-09-01)
247
+
212
248
- Public Preview release, Experimental tag removed
213
249
- minor updates in internal build/packaging
214
250
- no functional changes
215
251
216
252
## 0.9.0 (2021-08-04)
253
+
217
254
- initial (Experimental) release of pyhive-forked connector
218
255
- Python DBAPI 2.0 (PEP-0249), thrift based
219
256
- see docs for more info: https://docs.databricks.com/dev-tools/python-sql-connector.html
0 commit comments