Skip to content

Commit bbaa069

Browse files
Release v1.0.7-oss (#863)
### Added - Added support for DoD (.mil) domains - Enables fetching of metadata for SELECT queries using PreparedStatement prior to setting parameters or executing the query. - Added support for SSL client certificate authentication via keystore configuration parameters: SSLKeyStore, SSLKeyStorePwd, SSLKeyStoreType, and SSLKeyStoreProvider. ### Fixed - Updated JDBC URL regex to accept valid connection strings that were incorrectly rejected. - Updated decimal conversion logic to fix numeric values missing decimal precision. Co-authored-by: Samikshya Chand <[email protected]> Signed-off-by: Jayant Singh [email protected]
1 parent 9dae0ac commit bbaa069

File tree

9 files changed

+26
-16
lines changed

9 files changed

+26
-16
lines changed

.github/workflows/loggingTesting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
mkdir -p target/test-classes
8181
8282
javac \
83-
-cp "target/databricks-jdbc-1.0.6-oss.jar" \
83+
-cp "target/databricks-jdbc-1.0.7-oss.jar" \
8484
-d target/test-classes \
8585
src/test/java/com/databricks/client/jdbc/LoggingTest.java
8686
@@ -94,7 +94,7 @@ jobs:
9494
OS_TYPE=$(uname | tr '[:upper:]' '[:lower:]')
9595
if [[ "$OS_TYPE" == "linux" ]]; then SEP=":"; else SEP=";"; fi
9696
echo "Using classpath separator: '$SEP'"
97-
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.6-oss.jar"
97+
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.7-oss.jar"
9898
9999
java \
100100
--add-opens=java.base/java.nio=ALL-UNNAMED \

CHANGELOG.md

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

3+
## [v1.0.7-oss] - 2025-05-26
4+
5+
### Added
6+
- Added support for DoD (.mil) domains
7+
- Enables fetching of metadata for SELECT queries using PreparedStatement prior to setting parameters or executing the query.
8+
- Added support for SSL client certificate authentication via keystore configuration parameters: SSLKeyStore, SSLKeyStorePwd, SSLKeyStoreType, and SSLKeyStoreProvider.
9+
10+
### Fixed
11+
- Updated JDBC URL regex to accept valid connection strings that were incorrectly rejected.
12+
- Updated decimal conversion logic to fix numeric values missing decimal precision.
13+
14+
---
15+
316
## [v1.0.6-oss] - 2025-05-29
417

518
### Added

NEXT_CHANGELOG.md

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

55
### Added
6-
- Added support for DoD (.mil) domains
7-
- Enables fetching of metadata for SELECT queries using PreparedStatement prior to setting parameters or executing the query.
8-
- Added support for SSL client certificate authentication via keystore configuration parameters: SSLKeyStore, SSLKeyStorePwd, SSLKeyStoreType, and SSLKeyStoreProvider.
9-
6+
-
107

118
### Updated
129
-
1310

1411
### Fixed
15-
- Updated JDBC URL regex to accept valid connection strings that were incorrectly rejected.
16-
- Updated decimal conversion logic to fix numeric values missing decimal precision.
12+
-
13+
1714
---
1815
*Note: When making changes, please add your change under the appropriate section 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>1.0.6-oss</version>
23+
<version>1.0.7-oss</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>1.0.6-oss</version>
8+
<version>1.0.7-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.6-oss";
23+
private static final String DRIVER_VERSION = "1.0.7-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.6-oss", result);
804+
assertEquals("1.0.7-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
@@ -133,7 +133,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
133133
DatabricksConnectionContextFactory.create(CLUSTER_JDBC_URL, new Properties());
134134
UserAgentManager.setUserAgent(connectionContext);
135135
String userAgent = getUserAgentString();
136-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.6-oss"));
136+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.7-oss"));
137137
assertTrue(userAgent.contains(" Java/THttpClient"));
138138
assertTrue(userAgent.contains(" MyApp/version"));
139139
assertTrue(userAgent.contains(" databricks-jdbc-http "));
@@ -144,7 +144,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
144144
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL, new Properties());
145145
UserAgentManager.setUserAgent(connectionContext);
146146
userAgent = getUserAgentString();
147-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.6-oss"));
147+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.7-oss"));
148148
assertTrue(userAgent.contains(" Java/THttpClient"));
149149
assertTrue(userAgent.contains(" MyApp/version"));
150150
assertTrue(userAgent.contains(" databricks-jdbc-http "));
@@ -155,7 +155,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
155155
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL_WITH_SEA, new Properties());
156156
UserAgentManager.setUserAgent(connectionContext);
157157
userAgent = getUserAgentString();
158-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.6-oss"));
158+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.7-oss"));
159159
assertTrue(userAgent.contains(" Java/SQLExecHttpClient"));
160160
assertTrue(userAgent.contains(" databricks-jdbc-http "));
161161
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.6-oss</version>
8+
<version>1.0.7-oss</version>
99
<packaging>jar</packaging>
1010
<name>Databricks JDBC Driver</name>
1111
<description>Databricks JDBC Driver.</description>

0 commit comments

Comments
 (0)