Skip to content
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
64 changes: 0 additions & 64 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,70 +2,6 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
## [13.3.0] Preview Release

### Added

- **Performance logger and callback handling mechanism** [#2706](https://github.com/microsoft/mssql-jdbc/pull/2706)
**What was added**: Introduced performance logging framework to track critical driver operations such as connection time, prelogin, login, and token acquisition.
**Who benefits**: Developers and operators monitoring JDBC driver performance.
**Impact**: Enables visibility into driver-level latencies via com.microsoft.sqlserver.jdbc.PerformanceMetrics.Connection logger and extensible callback infrastructure for future metrics.

- **Test enhancements** [#2712](https://github.com/microsoft/mssql-jdbc/pull/2712)
**What changed**: Improved unit test coverage for SQLServerConnectionTest, SQLServerDatabaseMetaData and few more classes.
**Who benefits**: Contributors and maintainers.
**Impact**: Improves code coverage with junit tests.

### Changed

- **Java 25 (LTS) support and removal of non-LTS versions 22–24** [#2821](https://github.com/microsoft/mssql-jdbc/pull/2821)
**What changed**: Added official support for Java 25 (LTS) and removed non-LTS Java versions (22–24) from Maven and Gradle build configurations.
**Who benefits**: Developers aligning builds with long-term supported Java versions.
**Impact**: Ensures continued compatibility and stability with LTS Java releases; simplifies build maintenance.

### Fixed

- **Bulk insert parsing of isolated quotes in tab-delimited data** [#2795](https://github.com/microsoft/mssql-jdbc/pull/2795)
**What was fixed**: Resolved IndexOutOfBoundsException caused by incorrect quote state handling during tab-delimited bulk copy operations.
**Who benefits**: Users performing bulk inserts from tab-delimited data containing isolated quotes.
**Impact**: Ensures isolated quotes are treated as literal characters; improves parsing reliability and consistency.

- **PreparedStatement INSERT update Count with triggers and multi-Value inserts** [#2817](https://github.com/microsoft/mssql-jdbc/pull/2817)
**What was fixed**: Corrected inaccurate update counts returned by PreparedStatement for multi-value INSERT statements with triggers.
**Who benefits**: Developers relying on accurate update counts in batch or trigger-based inserts.
**Impact**: Ensures consistent and accurate update count behavior across all INSERT execution scenarios.

- **Fix for fatal error handling in DONE tokens** [#2741](https://github.com/microsoft/mssql-jdbc/pull/2741)
**What was fixed**: Corrected TDS message handling to properly detect and propagate fatal severity (25+) errors.
**Who benefits**: Applications needing reliable error propagation during critical SQL Server failures.
**Impact**: Prevents silent failures and ensures robust TDS stream recovery during fatal error conditions.

- **Fix for getParameterMetaData() crash with table-valued parameters** [#2746](https://github.com/microsoft/mssql-jdbc/pull/2746)
**What was fixed**: Prevented SQLServerException when calling getParameterMetaData() on statements using Table-Valued Parameters (TVPs).
**Who benefits**: Developers using structured or table-valued parameters.
**Impact**: Restores correct metadata extraction for TVP parameters, ensuring full JDBC metadata compatibility.

- **supportsIntegrityEnhancementFacility() returns accurate value** [#2828](https://github.com/microsoft/mssql-jdbc/pull/2828)
**What was fixed**: Corrected DatabaseMetaData.supportsIntegrityEnhancementFacility() to return true for SQL Server.
**Who benefits**: Applications querying database metadata for integrity constraint support.
**Impact**: Accurately reports SQL Server’s full support for primary, foreign key, and check constraints.

- **Fix bulk copy for batch insert to support InputStream data** (#2826)(https://github.com/microsoft/mssql-jdbc/pull/2826)
**What was fixed**: Enabled setBinaryStream() to work correctly with Bulk Copy for Batch Insert into VARBINARY(MAX) columns.
**Who benefits**: Developers inserting large binary data via streams.
**Impact**: Prevents “invalid hex format” errors; ensures InputStream-based binary inserts work seamlessly.

- **Addressed failure on Azure Synapse serverless SQL pool caused by the unsupported sp_statistics procedure** [#2839](https://github.com/microsoft/mssql-jdbc/pull/2839)
**What changed**: Added a try–catch fallback in getIndexInfoAzureDW() to query sys.indexes, sys.index_columns, sys.columns, and sys.tables when sp_statistics is unavailable.
**Who benefits**: Applications retrieving index metadata from Azure Synapse serverless SQL pool or other environments lacking sp_statistics.
**Impact**: Ensures reliable metadata retrieval through a sys.indexes fallback, consistent NON_UNIQUE mapping, and aligned behavior with Azure SQL Database.

- **Test cleanup** [#2734](https://github.com/microsoft/mssql-jdbc/pull/2734)
**What changed**: Updated tests to clean up temporary objects post-execution.
**Who benefits**: Contributors and maintainers.
**Impact**: Reduces test flakiness and improves maintainability of the test suite.


## [13.2.0] Stable Release

### Changed
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ We're now on the Maven Central Repository. Add the following to your POM file to
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
```
The driver can be downloaded from [Microsoft](https://aka.ms/downloadmssqljdbc). For driver version 12.1.0 and greater, please use the jre11 version when using Java 11 or greater, and the jre8 version when using Java 8.
Expand All @@ -94,7 +94,7 @@ To get the latest version of the driver, add the following to your POM file:
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
```

Expand Down Expand Up @@ -129,7 +129,7 @@ Projects that require either of the two features need to explicitly declare the
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
<scope>compile</scope>
</dependency>

Expand All @@ -147,7 +147,7 @@ Projects that require either of the two features need to explicitly declare the
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
<scope>compile</scope>
</dependency>

Expand All @@ -174,7 +174,7 @@ When setting 'useFmtOnly' property to 'true' for establishing a connection or cr
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ plugins {
id 'java'
}

version = '13.3.0'
def releaseExt = '-preview'
version = '13.2.0'
def releaseExt = ''
def jreVersion = ""
def testOutputDir = file("build/classes/java/test")
def archivesBaseName = 'mssql-jdbc'
Expand Down
2 changes: 1 addition & 1 deletion mssql-jdbc_auth_LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT JDBC DRIVER 13.3.0 FOR SQL SERVER
MICROSOFT JDBC DRIVER 13.2.0 FOR SQL SERVER

These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They apply to the software named above and any Microsoft services or software updates (except to the extent such services or updates are accompanied by new or additional terms, in which case those different terms apply prospectively and do not alter your or Microsoft’s rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0</version>
<version>13.2.0</version>
<packaging>jar</packaging>
<name>Microsoft JDBC Driver for SQL Server</name>
<description>
Expand Down Expand Up @@ -53,7 +53,7 @@
Default testing enabled with SQL Server 2019 (SQLv15) -->
<excludedGroups>xSQLv12,xSQLv15,NTLM,MSI,reqExternalSetup,clientCertAuth,fedAuth,kerberos,vectorTest,JSONTest</excludedGroups>
<!-- Use -preview for preview release, leave empty for official release. -->
<releaseExt>-preview</releaseExt>
<releaseExt></releaseExt>
<!-- Driver Dependencies -->
<org.osgi.core.version>6.0.0</org.osgi.core.version>
<azure-security-keyvault-keys.version>4.9.2</azure-security-keyvault-keys.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

final class SQLJdbcVersion {
static final int MAJOR = 13;
static final int MINOR = 3;
static final int MINOR = 2;
static final int PATCH = 0;
static final int BUILD = 0;
/*
* Used to load mssql-jdbc_auth DLL.
* 1. Set to "-preview" for preview release.
* 2. Set to "" (empty String) for official release.
*/
static final String RELEASE_EXT = "-preview";
static final String RELEASE_EXT = "";

private SQLJdbcVersion() {
throw new UnsupportedOperationException(SQLServerException.getErrString("R_notSupported"));
Expand Down
2 changes: 1 addition & 1 deletion src/samples/adaptive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/alwaysencrypted/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/azureactivedirectoryauthentication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/connections/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/constrained/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/dataclassification/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/datatypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/resultsets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/sparse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.3.0.jre11</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
Loading