Skip to content

Commit c29a214

Browse files
authored
Cut version 1.0.4-oss (#798)
1 parent 6854d5b commit c29a214

File tree

8 files changed

+29
-10
lines changed

8 files changed

+29
-10
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.3-oss.jar" \
73+
-cp "target/databricks-jdbc-1.0.4-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.3-oss.jar"
87+
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.4-oss.jar"
8888
8989
java \
9090
--add-opens=java.base/java.nio=ALL-UNNAMED \

CHANGELOG.md

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

3+
## [v1.0.4-oss] - 2025-04-14
4+
5+
### Added
6+
- Support for connection parameter SocketTimeout.
7+
- Handle server returned Thrift version as part of open session response gracefully
8+
- Added OWASP security check in the repository.
9+
10+
### Updated
11+
- Updated SDK to the latest version (0.44.0).
12+
- Add descriptive messages in thrift error scenario
13+
14+
### Fixed
15+
- BigDecimal is now set correctly to NULL if null value is provided.
16+
- Fixed issue with JDBC URL not being parsed correctly when compute path is provided via properties.
17+
- Addressed CVE vulnerabilities (CVE-2024-47535, CVE-2025-25193, CVE-2023-33953)
18+
- Fix bug in preparedStatement decimal parameter in thrift flow.
19+
20+
---
21+
322
## [v1.0.3-oss] - 2025-04-08
423

524
### Added

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.3-oss</version>
15+
<version>1.0.4-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.3-oss</version>
8+
<version>1.0.4-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.3-oss";
23+
private static final String DRIVER_VERSION = "1.0.4-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.3-oss", result);
804+
assertEquals("1.0.4-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.3-oss"));
21+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.4-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.3-oss"));
32+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.4-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.3-oss"));
43+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.4-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.3-oss</version>
8+
<version>1.0.4-oss</version>
99
<packaging>jar</packaging>
1010
<name>Databricks JDBC Driver</name>
1111
<description>Databricks JDBC Driver.</description>

0 commit comments

Comments
 (0)