Skip to content

Commit 0e8b1ad

Browse files
authored
Bump version to 3.1.1 (#1172)
## Description Bump version to 3.1.1
1 parent 6f15fd1 commit 0e8b1ad

File tree

12 files changed

+41
-18
lines changed

12 files changed

+41
-18
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If available, share redacted client side logs
2626
- OS: [e.g. Windows]
2727
- Java version [e.g. Java 21]
2828
- Java vendor [e.g. OpenJDK]
29-
- Driver Version [e.g. 3.0.7]
29+
- Driver Version [e.g. 3.1.1]
3030
- BI Tool (if used) [e.g. DBeaver]
3131
- BI Tool version (if applicable) [e.g. 24.3.5]
3232

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
# Version Changelog
2+
## [v3.1.1] - 2026-01-07
3+
4+
### Added
5+
- Added token caching for all authentication providers to reduce token endpoint calls.
6+
- We will be rolling out the use of Databricks SQL Execution API by default for queries submitted on DBSQL. To continue using Databricks Thrift Server backend for execution, set `UseThriftClient` to `1`.
7+
8+
### Updated
9+
- Changed default value of `IgnoreTransactions` from `0` to `1` to disable multi-statement transactions by default. Preview participants can opt-in by setting `IgnoreTransactions=0`. Also updated `supportsTransactions()` to respect this flag.
10+
11+
### Fixed
12+
- [PECOBLR-1131] Fix incorrect refetching of expired CloudFetch links when using Thrift protocol.
13+
- Fixed logging to respect params when the driver is shaded.
14+
- Fixed `isWildcard` to return true only when the value is `*`
15+
216
## [v3.0.7] - 2025-12-18
317

418
### Updated

NEXT_CHANGELOG.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
## [Unreleased]
44

55
### Added
6-
- Added token caching for all authentication providers to reduce token endpoint calls.
76

87
### Updated
9-
- Changed default value of `IgnoreTransactions` from `0` to `1` to disable multi-statement transactions by default. Preview participants can opt-in by setting `IgnoreTransactions=0`. Also updated `supportsTransactions()` to respect this flag.
108

119
### Fixed
1210

13-
- [PECOBLR-1131] Fix incorrect refetching of expired CloudFetch links when using Thrift protocol.
14-
- Fixed logging to respect params when the driver is shaded.
15-
- Fixed `isWildcard` to return true only when the value is `*`
16-
1711
---
1812
*Note: When making changes, please add your change under the appropriate section
1913
with a brief description.*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Add the following dependency to your `pom.xml`:
2020
<dependency>
2121
<groupId>com.databricks</groupId>
2222
<artifactId>databricks-jdbc</artifactId>
23-
<version>3.0.7</version>
23+
<version>3.1.1</version>
2424
</dependency>
2525
```
2626

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.databricks</groupId>
66
<artifactId>databricks-jdbc</artifactId>
77
<!-- This value may be modified by a release script to reflect the current version of the driver. -->
8-
<version>3.0.7</version>
8+
<version>3.1.1</version>
99
<packaging>jar</packaging>
1010
<name>Databricks JDBC Driver</name>
1111
<description>Databricks JDBC Driver.</description>

release-notes.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ The release notes summarize enhancements, new features, known issues, workflow c
66

77
Version History ==============================================================
88

9+
3.1.1 ========================================================================
10+
Released 2026-01-07
11+
12+
Enhancements & New Features
13+
14+
* Added token caching for all authentication providers to reduce token endpoint calls.
15+
* We will be rolling out the use of Databricks SQL Execution API by default for queries submitted on DBSQL. To continue using Databricks Thrift Server backend for execution, set `UseThriftClient` to `1`.
16+
* Changed default value of `IgnoreTransactions` from `0` to `1` to disable multi-statement transactions by default. Preview participants can opt-in by setting `IgnoreTransactions=0`. Also updated `supportsTransactions()` to respect this flag.
17+
18+
Resolved Issues
19+
20+
* [PECOBLR-1131] Fix incorrect refetching of expired CloudFetch links when using Thrift protocol.
21+
* Fixed logging to respect params when the driver is shaded.
22+
* Fixed `isWildcard` to return true only when the value is `*`
23+
924
3.0.7 ========================================================================
1025
Released 2025-12-18
1126

src/main/java/com/databricks/jdbc/common/util/DriverUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
public class DriverUtil {
2121

2222
private static final JdbcLogger LOGGER = JdbcLoggerFactory.getLogger(DriverUtil.class);
23-
private static final String DRIVER_VERSION = "3.0.7";
23+
private static final String DRIVER_VERSION = "3.1.1";
2424
private static final String DRIVER_NAME = "oss-jdbc";
2525
private static final String JDBC_VERSION = "4.3";
2626

src/test/java/com/databricks/jdbc/api/impl/DatabricksDatabaseMetaDataTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ public void testGetDriverName() throws SQLException {
826826
@Test
827827
public void testGetDriverVersion() throws SQLException {
828828
String result = metaData.getDriverVersion();
829-
assertEquals("3.0.7", result);
829+
assertEquals("3.1.1", result);
830830
}
831831

832832
@Test
@@ -838,7 +838,7 @@ public void testGetDriverMajorVersion() {
838838
@Test
839839
public void testGetDriverMinorVersion() {
840840
int result = metaData.getDriverMinorVersion();
841-
assertEquals(0, result);
841+
assertEquals(1, result);
842842
}
843843

844844
@Test

src/test/java/com/databricks/jdbc/common/safe/DatabricksDriverFeatureFlagsContextTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class DatabricksDriverFeatureFlagsContextTest {
3737
@Mock private ObjectMapper objectMapperMock;
3838
private static final String FEATURE_FLAG_NAME = "featureFlagName";
3939
private static final String FEATURE_FLAGS_ENDPOINT =
40-
"https://test-host/api/2.0/connector-service/feature-flags/OSS_JDBC/3.0.7";
40+
"https://test-host/api/2.0/connector-service/feature-flags/OSS_JDBC/3.1.1";
4141

4242
private DatabricksDriverFeatureFlagsContext context;
4343

src/test/java/com/databricks/jdbc/common/util/DriverUtilTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ public class DriverUtilTest {
1414
public void testGetDriverVersion() {
1515
String version = DriverUtil.getDriverVersion();
1616
assertNotNull(version);
17-
assertEquals("3.0.7", version);
17+
assertEquals("3.1.1", version);
1818
}
1919

2020
@Test
2121
public void testGetDriverVersionWithoutOSSSuffix() {
2222
String version = DriverUtil.getDriverVersionWithoutOSSSuffix();
2323
assertNotNull(version);
24-
assertEquals("3.0.7", version);
24+
assertEquals("3.1.1", version);
2525
}
2626

2727
@Test
@@ -40,7 +40,7 @@ public void testGetDriverMajorVersion() {
4040
@Test
4141
public void testGetDriverMinorVersion() {
4242
int minorVersion = DriverUtil.getDriverMinorVersion();
43-
assertEquals(0, minorVersion);
43+
assertEquals(1, minorVersion);
4444
}
4545

4646
@Test

0 commit comments

Comments
 (0)