Skip to content

Commit 2f2814c

Browse files
authored
release v1.0.5 (#813)
* update version to 1.0.5 * empty NEXT_CHANGELOG.md
1 parent 8b1e4df commit 2f2814c

File tree

9 files changed

+29
-12
lines changed

9 files changed

+29
-12
lines changed

.github/workflows/loggingTesting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
mkdir -p target/test-classes
7171
7272
javac \
73-
-cp "target/databricks-jdbc-1.0.4-oss.jar" \
73+
-cp "target/databricks-jdbc-1.0.5-oss.jar" \
7474
-d target/test-classes \
7575
src/test/java/com/databricks/client/jdbc/LoggingTest.java
7676
@@ -84,7 +84,7 @@ jobs:
8484
OS_TYPE=$(uname | tr '[:upper:]' '[:lower:]')
8585
if [[ "$OS_TYPE" == "linux" ]]; then SEP=":"; else SEP=";"; fi
8686
echo "Using classpath separator: '$SEP'"
87-
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.4-oss.jar"
87+
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.5-oss.jar"
8888
8989
java \
9090
--add-opens=java.base/java.nio=ALL-UNNAMED \

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Version Changelog
22

3+
## [v1.0.5-oss] - 2025-04-28
4+
5+
### Added
6+
- Support for token cache in OAuth U2M Flow using the configuration parameters: `EnableTokenCache` and `TokenCachePassPhrase`.
7+
- Support for additional SSL functionality including use of System trust stores (`UseSystemTruststore`) and allowing self signed certificates (via `AllowSelfSignedCerts`)
8+
- Added support for `getImportedKeys` and `getCrossReferences` in SQL Exec API mode
9+
10+
### Updated
11+
- Modified E2E tests to validate driver behavior under multi-threaded access patterns.
12+
- Improved error handling through telemetry by throwing custom exceptions across the repository.
13+
14+
### Fixed
15+
- Fixed bug where batch prepared statements could lead to backward-incompatible error scenarios.
16+
- Corrected setting of decimal types in prepared statement executions.
17+
- Resolved NullPointerException (NPE) that occurred during ResultSet and Connection operations in multithreaded environment.
18+
19+
---
20+
321
## [v1.0.4-oss] - 2025-04-14
422

523
### Added

NEXT_CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
## [Unreleased]
44

55
### Added
6-
- Support for token cache in OAuth U2M Flow using the configuration parameters: `EnableTokenCache` and `TokenCachePassPhrase`.
7-
- Support for additional SSL functionality including use of System trust stores (`UseSystemTruststore`) and allowing self signed certificates (via `AllowSelfSignedCerts`)
6+
-
87

98
### Updated
109
-

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can install Databricks JDBC driver by adding the following to your `pom.xml`
1212
<dependency>
1313
<groupId>com.databricks</groupId>
1414
<artifactId>databricks-jdbc</artifactId>
15-
<version>1.0.4-oss</version>
15+
<version>1.0.5-oss</version>
1616
</dependency>
1717
```
1818
Databricks JDBC is compatible with Java 11 and higher. CI testing runs on Java versions 11, 17, and 21.

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>1.0.4-oss</version>
8+
<version>1.0.5-oss</version>
99
<packaging>jar</packaging>
1010
<name>Databricks JDBC Driver</name>
1111
<description>Databricks JDBC Driver.</description>

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 = "1.0.4-oss";
23+
private static final String DRIVER_VERSION = "1.0.5-oss";
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ public void testGetDriverName() throws SQLException {
801801
@Test
802802
public void testGetDriverVersion() throws SQLException {
803803
String result = metaData.getDriverVersion();
804-
assertEquals("1.0.4-oss", result);
804+
assertEquals("1.0.5-oss", result);
805805
}
806806

807807
@Test

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
1818
DatabricksConnectionContextFactory.create(CLUSTER_JDBC_URL, new Properties());
1919
UserAgentManager.setUserAgent(connectionContext);
2020
String userAgent = getUserAgentString();
21-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.4-oss"));
21+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.5-oss"));
2222
assertTrue(userAgent.contains(" Java/THttpClient"));
2323
assertTrue(userAgent.contains(" MyApp/version"));
2424
assertTrue(userAgent.contains(" databricks-jdbc-http "));
@@ -29,7 +29,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
2929
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL, new Properties());
3030
UserAgentManager.setUserAgent(connectionContext);
3131
userAgent = getUserAgentString();
32-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.4-oss"));
32+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.5-oss"));
3333
assertTrue(userAgent.contains(" Java/THttpClient"));
3434
assertTrue(userAgent.contains(" MyApp/version"));
3535
assertTrue(userAgent.contains(" databricks-jdbc-http "));
@@ -40,7 +40,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
4040
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL_WITH_SEA, new Properties());
4141
UserAgentManager.setUserAgent(connectionContext);
4242
userAgent = getUserAgentString();
43-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.4-oss"));
43+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.5-oss"));
4444
assertTrue(userAgent.contains(" Java/SQLExecHttpClient"));
4545
assertTrue(userAgent.contains(" databricks-jdbc-http "));
4646
assertFalse(userAgent.contains("databricks-sdk-java"));

uber-minimal-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>1.0.4-oss</version>
8+
<version>1.0.5-oss</version>
99
<packaging>jar</packaging>
1010
<name>Databricks JDBC Driver</name>
1111
<description>Databricks JDBC Driver.</description>

0 commit comments

Comments
 (0)