Skip to content

Commit 3ded1fd

Browse files
authored
Updates for 13.3.0 release (#2840)
* Updates for 13.3.0 release * Remobed unnecessary new lines * Corrected PR links * Corrected a PR number * Corrections to PR links * Version update
1 parent ab791e8 commit 3ded1fd

File tree

15 files changed

+85
-21
lines changed

15 files changed

+85
-21
lines changed

CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,70 @@
22
All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
## [13.3.0] Preview Release
6+
7+
### Added
8+
9+
- **Performance logger and callback handling mechanism** [#2706](https://github.com/microsoft/mssql-jdbc/pull/2706)
10+
**What was added**: Introduced performance logging framework to track critical driver operations such as connection time, prelogin, login, and token acquisition.
11+
**Who benefits**: Developers and operators monitoring JDBC driver performance.
12+
**Impact**: Enables visibility into driver-level latencies via com.microsoft.sqlserver.jdbc.PerformanceMetrics.Connection logger and extensible callback infrastructure for future metrics.
13+
14+
- **Test enhancements** [#2712](https://github.com/microsoft/mssql-jdbc/pull/2712)
15+
**What changed**: Improved unit test coverage for SQLServerConnectionTest, SQLServerDatabaseMetaData and few more classes.
16+
**Who benefits**: Contributors and maintainers.
17+
**Impact**: Improves code coverage with junit tests.
18+
19+
### Changed
20+
21+
- **Java 25 (LTS) support and removal of non-LTS versions 22–24** [#2821](https://github.com/microsoft/mssql-jdbc/pull/2821)
22+
**What changed**: Added official support for Java 25 (LTS) and removed non-LTS Java versions (22–24) from Maven and Gradle build configurations.
23+
**Who benefits**: Developers aligning builds with long-term supported Java versions.
24+
**Impact**: Ensures continued compatibility and stability with LTS Java releases; simplifies build maintenance.
25+
26+
### Fixed
27+
28+
- **Bulk insert parsing of isolated quotes in tab-delimited data** [#2795](https://github.com/microsoft/mssql-jdbc/pull/2795)
29+
**What was fixed**: Resolved IndexOutOfBoundsException caused by incorrect quote state handling during tab-delimited bulk copy operations.
30+
**Who benefits**: Users performing bulk inserts from tab-delimited data containing isolated quotes.
31+
**Impact**: Ensures isolated quotes are treated as literal characters; improves parsing reliability and consistency.
32+
33+
- **PreparedStatement INSERT update Count with triggers and multi-Value inserts** [#2817](https://github.com/microsoft/mssql-jdbc/pull/2817)
34+
**What was fixed**: Corrected inaccurate update counts returned by PreparedStatement for multi-value INSERT statements with triggers.
35+
**Who benefits**: Developers relying on accurate update counts in batch or trigger-based inserts.
36+
**Impact**: Ensures consistent and accurate update count behavior across all INSERT execution scenarios.
37+
38+
- **Fix for fatal error handling in DONE tokens** [#2741](https://github.com/microsoft/mssql-jdbc/pull/2741)
39+
**What was fixed**: Corrected TDS message handling to properly detect and propagate fatal severity (25+) errors.
40+
**Who benefits**: Applications needing reliable error propagation during critical SQL Server failures.
41+
**Impact**: Prevents silent failures and ensures robust TDS stream recovery during fatal error conditions.
42+
43+
- **Fix for getParameterMetaData() crash with table-valued parameters** [#2746](https://github.com/microsoft/mssql-jdbc/pull/2746)
44+
**What was fixed**: Prevented SQLServerException when calling getParameterMetaData() on statements using Table-Valued Parameters (TVPs).
45+
**Who benefits**: Developers using structured or table-valued parameters.
46+
**Impact**: Restores correct metadata extraction for TVP parameters, ensuring full JDBC metadata compatibility.
47+
48+
- **supportsIntegrityEnhancementFacility() returns accurate value** [#2828](https://github.com/microsoft/mssql-jdbc/pull/2828)
49+
**What was fixed**: Corrected DatabaseMetaData.supportsIntegrityEnhancementFacility() to return true for SQL Server.
50+
**Who benefits**: Applications querying database metadata for integrity constraint support.
51+
**Impact**: Accurately reports SQL Server’s full support for primary, foreign key, and check constraints.
52+
53+
- **Fix bulk copy for batch insert to support InputStream data** (#2826)(https://github.com/microsoft/mssql-jdbc/pull/2826)
54+
**What was fixed**: Enabled setBinaryStream() to work correctly with Bulk Copy for Batch Insert into VARBINARY(MAX) columns.
55+
**Who benefits**: Developers inserting large binary data via streams.
56+
**Impact**: Prevents “invalid hex format” errors; ensures InputStream-based binary inserts work seamlessly.
57+
58+
- **Addressed failure on Azure Synapse serverless SQL pool caused by the unsupported sp_statistics procedure** [#2839](https://github.com/microsoft/mssql-jdbc/pull/2839)
59+
**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.
60+
**Who benefits**: Applications retrieving index metadata from Azure Synapse serverless SQL pool or other environments lacking sp_statistics.
61+
**Impact**: Ensures reliable metadata retrieval through a sys.indexes fallback, consistent NON_UNIQUE mapping, and aligned behavior with Azure SQL Database.
62+
63+
- **Test cleanup** [#2734](https://github.com/microsoft/mssql-jdbc/pull/2734)
64+
**What changed**: Updated tests to clean up temporary objects post-execution.
65+
**Who benefits**: Contributors and maintainers.
66+
**Impact**: Reduces test flakiness and improves maintainability of the test suite.
67+
68+
569
## [13.2.0] Stable Release
670

771
### Changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ We're now on the Maven Central Repository. Add the following to your POM file to
8383
<dependency>
8484
<groupId>com.microsoft.sqlserver</groupId>
8585
<artifactId>mssql-jdbc</artifactId>
86-
<version>13.2.0.jre11</version>
86+
<version>13.3.0.jre11</version>
8787
</dependency>
8888
```
8989
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.
@@ -94,7 +94,7 @@ To get the latest version of the driver, add the following to your POM file:
9494
<dependency>
9595
<groupId>com.microsoft.sqlserver</groupId>
9696
<artifactId>mssql-jdbc</artifactId>
97-
<version>13.2.0.jre11</version>
97+
<version>13.3.0.jre11</version>
9898
</dependency>
9999
```
100100

@@ -129,7 +129,7 @@ Projects that require either of the two features need to explicitly declare the
129129
<dependency>
130130
<groupId>com.microsoft.sqlserver</groupId>
131131
<artifactId>mssql-jdbc</artifactId>
132-
<version>13.2.0.jre11</version>
132+
<version>13.3.0.jre11</version>
133133
<scope>compile</scope>
134134
</dependency>
135135

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

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

180180
<dependency>

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ plugins {
1313
id 'java'
1414
}
1515

16-
version = '13.2.0'
17-
def releaseExt = ''
16+
version = '13.3.0'
17+
def releaseExt = '-preview'
1818
def jreVersion = ""
1919
def testOutputDir = file("build/classes/java/test")
2020
def archivesBaseName = 'mssql-jdbc'

mssql-jdbc_auth_LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MICROSOFT SOFTWARE LICENSE TERMS
2-
MICROSOFT JDBC DRIVER 13.2.0 FOR SQL SERVER
2+
MICROSOFT JDBC DRIVER 13.3.0 FOR SQL SERVER
33

44
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.
55

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.microsoft.sqlserver</groupId>
77
<artifactId>mssql-jdbc</artifactId>
8-
<version>13.2.0</version>
8+
<version>13.3.0</version>
99
<packaging>jar</packaging>
1010
<name>Microsoft JDBC Driver for SQL Server</name>
1111
<description>
@@ -53,7 +53,7 @@
5353
Default testing enabled with SQL Server 2019 (SQLv15) -->
5454
<excludedGroups>xSQLv12,xSQLv15,NTLM,MSI,reqExternalSetup,clientCertAuth,fedAuth,kerberos,vectorTest,JSONTest</excludedGroups>
5555
<!-- Use -preview for preview release, leave empty for official release. -->
56-
<releaseExt></releaseExt>
56+
<releaseExt>-preview</releaseExt>
5757
<!-- Driver Dependencies -->
5858
<org.osgi.core.version>6.0.0</org.osgi.core.version>
5959
<azure-security-keyvault-keys.version>4.9.2</azure-security-keyvault-keys.version>

src/main/java/com/microsoft/sqlserver/jdbc/SQLJdbcVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88
final class SQLJdbcVersion {
99
static final int MAJOR = 13;
10-
static final int MINOR = 2;
10+
static final int MINOR = 3;
1111
static final int PATCH = 0;
1212
static final int BUILD = 0;
1313
/*
1414
* Used to load mssql-jdbc_auth DLL.
1515
* 1. Set to "-preview" for preview release.
1616
* 2. Set to "" (empty String) for official release.
1717
*/
18-
static final String RELEASE_EXT = "";
18+
static final String RELEASE_EXT = "-preview";
1919

2020
private SQLJdbcVersion() {
2121
throw new UnsupportedOperationException(SQLServerException.getErrString("R_notSupported"));

src/samples/adaptive/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.microsoft.sqlserver</groupId>
1717
<artifactId>mssql-jdbc</artifactId>
18-
<version>13.2.0.jre11</version>
18+
<version>13.3.0.jre11</version>
1919
</dependency>
2020
</dependencies>
2121
<profiles>

src/samples/alwaysencrypted/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.microsoft.sqlserver</groupId>
1717
<artifactId>mssql-jdbc</artifactId>
18-
<version>13.2.0.jre11</version>
18+
<version>13.3.0.jre11</version>
1919
</dependency>
2020
</dependencies>
2121
<profiles>

src/samples/azureactivedirectoryauthentication/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<dependency>
1515
<groupId>com.microsoft.sqlserver</groupId>
1616
<artifactId>mssql-jdbc</artifactId>
17-
<version>13.2.0.jre11</version>
17+
<version>13.3.0.jre11</version>
1818
</dependency>
1919
</dependencies>
2020
<profiles>

src/samples/connections/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<dependency>
1515
<groupId>com.microsoft.sqlserver</groupId>
1616
<artifactId>mssql-jdbc</artifactId>
17-
<version>13.2.0.jre11</version>
17+
<version>13.3.0.jre11</version>
1818
</dependency>
1919
</dependencies>
2020
<profiles>

0 commit comments

Comments
 (0)