Skip to content

Release v1.0.7-oss #863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/loggingTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
mkdir -p target/test-classes

javac \
-cp "target/databricks-jdbc-1.0.6-oss.jar" \
-cp "target/databricks-jdbc-1.0.7-oss.jar" \
-d target/test-classes \
src/test/java/com/databricks/client/jdbc/LoggingTest.java

Expand All @@ -94,7 +94,7 @@ jobs:
OS_TYPE=$(uname | tr '[:upper:]' '[:lower:]')
if [[ "$OS_TYPE" == "linux" ]]; then SEP=":"; else SEP=";"; fi
echo "Using classpath separator: '$SEP'"
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.6-oss.jar"
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.7-oss.jar"

java \
--add-opens=java.base/java.nio=ALL-UNNAMED \
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Version Changelog

## [v1.0.7-oss] - 2025-05-26

### 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.

---

## [v1.0.6-oss] - 2025-05-29

### Added
Expand Down
9 changes: 3 additions & 6 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@
## [Unreleased]

### 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.

-

### Updated
-

### 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.
-

---
*Note: When making changes, please add your change under the appropriate section with a brief description.*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Add the following dependency to your `pom.xml`:
<dependency>
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc</artifactId>
<version>1.0.6-oss</version>
<version>1.0.7-oss</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc</artifactId>
<!-- This value may be modified by a release script to reflect the current version of the driver. -->
<version>1.0.6-oss</version>
<version>1.0.7-oss</version>
<packaging>jar</packaging>
<name>Databricks JDBC Driver</name>
<description>Databricks JDBC Driver.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
public class DriverUtil {

private static final JdbcLogger LOGGER = JdbcLoggerFactory.getLogger(DriverUtil.class);
private static final String DRIVER_VERSION = "1.0.6-oss";
private static final String DRIVER_VERSION = "1.0.7-oss";
private static final String DRIVER_NAME = "oss-jdbc";
private static final String JDBC_VERSION = "4.3";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ public void testGetDriverName() throws SQLException {
@Test
public void testGetDriverVersion() throws SQLException {
String result = metaData.getDriverVersion();
assertEquals("1.0.6-oss", result);
assertEquals("1.0.7-oss", result);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
DatabricksConnectionContextFactory.create(CLUSTER_JDBC_URL, new Properties());
UserAgentManager.setUserAgent(connectionContext);
String userAgent = getUserAgentString();
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.6-oss"));
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.7-oss"));
assertTrue(userAgent.contains(" Java/THttpClient"));
assertTrue(userAgent.contains(" MyApp/version"));
assertTrue(userAgent.contains(" databricks-jdbc-http "));
Expand All @@ -144,7 +144,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL, new Properties());
UserAgentManager.setUserAgent(connectionContext);
userAgent = getUserAgentString();
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.6-oss"));
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.7-oss"));
assertTrue(userAgent.contains(" Java/THttpClient"));
assertTrue(userAgent.contains(" MyApp/version"));
assertTrue(userAgent.contains(" databricks-jdbc-http "));
Expand All @@ -155,7 +155,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL_WITH_SEA, new Properties());
UserAgentManager.setUserAgent(connectionContext);
userAgent = getUserAgentString();
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.6-oss"));
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.7-oss"));
assertTrue(userAgent.contains(" Java/SQLExecHttpClient"));
assertTrue(userAgent.contains(" databricks-jdbc-http "));
assertFalse(userAgent.contains("databricks-sdk-java"));
Expand Down
2 changes: 1 addition & 1 deletion uber-minimal-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc</artifactId>
<!-- This value may be modified by a release script to reflect the current version of the driver. -->
<version>1.0.6-oss</version>
<version>1.0.7-oss</version>
<packaging>jar</packaging>
<name>Databricks JDBC Driver</name>
<description>Databricks JDBC Driver.</description>
Expand Down
Loading