Skip to content

Releases: microsoft/mssql-jdbc

[10.2.3] HotFix & Stable Release

13 Jan 00:08
f653891
Compare
Choose a tag to compare

Fixed issues

  • Fixed incorrect update counts when timeout occurs in batch queries 2024
  • Fixed incorrect token expiration date when using Azure Functions 2025
  • Fixed null SQL state and zero error code when database exception is thrown 2027

[11.2.3] HotFix & Stable Release

13 Jan 00:08
e4e783a
Compare
Choose a tag to compare

Fixed issues

  • Fixed null SQL state and zero error code when database exception is thrown 2022
  • Fixed incorrect update counts when timeout occurs in batch queries 2021
  • Fixed incorrect token expiration date when using Azure Functions 2020
  • Fixed connecting to the wrong SQLServer host 2019

[11.2.2] HotFix & Stable Release

16 Dec 00:03
7bb5e14
Compare
Choose a tag to compare

Fixed issues

  • Fixed Idle Connection Resiliency bug 2004
  • Fixed callable statement index out of bounds error 2002
  • Fixed check for DONE token when fetching result sets 2001
  • Fixed intermittent error: "Internal error during decryption: Tag mismatch!" 2000

[10.2.2] HotFix & Stable Release

14 Dec 18:52
edc6c64
Compare
Choose a tag to compare

Fixed issues

  • Clear prepared statement cache on idle connection resiliency reconnections 1982
  • Fix for setting KeepAlive extended options 1986
  • Fixed issue where the driver may assert when canceling a statement 1987
  • Fixed callable statement index out of bounds error 1988
  • Fixed issue not checking for DONE token errors so exceptions are ignored 1990
  • Fixed query cancellation bug 1996

[12.1.0] Preview Release

03 Nov 23:57
1572bf6
Compare
Choose a tag to compare
Pre-release

Added

  • Added support for access token callback 1940
  • Added support for DefaultAzureCredential 1936
  • Added support for Java 19 1929

Changed

  • Make driver Loom friendly 1931
  • Managed Identity authentication uses Azure Identity library instead 1936
  • Updated MSAL and jackson-databind versions 1947
  • Updated Azure Identity version 1941
  • Made MSAL an optional dependency 1893
  • Added FINE logging for token expiry 1875
  • Upgraded junit jupiter 1895

Fixed issues

  • Ensure that batchParamValues is cleared in all cases when executing a batch 1869
  • Fixed query cancellation bug 1897
  • Fixed callable statement index out of bounds error 1898
  • Fixed sonatype warnings 1950
  • Fixed check for DONE token when fetching result sets 1943
  • Fixed race condition in secure string utility 1948
  • Fixed attestation NONE protocol bug to work with all servers and enclave types 1942
  • Fixed signed byte comparison 1920

[11.2.1] HotFix & Stable Release

08 Sep 23:09
a6d125c
Compare
Choose a tag to compare

Fixed issues

  • Made com.microsoft.azure:msal4j an optional dependency again 1893
  • Fixed query cancellation bug that intermittently occurs in batch queries 1897

[11.2.0] Stable Release

09 Aug 00:29
eb88b70
Compare
Choose a tag to compare

Added

  • Added support for caching parameter metadata for Always Encrypted with secure enclaves 1866
  • Added explicit dependency for com.microsoft.azure.msal4j (was a transitive dependency in previous releases) 1863

Changed

  • Changed default loginTimeout value to 30s 1885
  • Updated dependency versions of com.azure.azure-security-keyvault-keys and com.azure.azure-identity 1863
  • Send TDS version 8 in Login7 when in strict mode (encrypt=strict) 1870
  • Validate that the serverName field of the connection string does not have an equal sign 1853

Fixed issues

  • Fixed intermittent null prepared statement handle error caused by sp_prepare when used with batch queries. 1886
  • Fixed race condition with addressList which may result in IndexOutOfBoundsException when establishing multiple connections 1855
  • Updated secure string usage to prepend Initialization Vector into the encrypted bytes so each IV is unique and preserved with its encrypted bytes for later decryption 1858
  • Added check for DONE_ERROR status token which may occur from a killed session on the server 1857
  • Fixed issue where the driver may assert when canceling a statement 1872

[11.1.2] Preview Release

22 Jun 22:03
efaf4ec
Compare
Choose a tag to compare

Added

  • Added support for caching managed identity tokens 1825
  • Added support for caching Always Encrypted parameter metadata 1845

Changed

  • Switched from strings to char arrays for secure string use 1813
  • Added check for negotiated ALPN 1818

Fixed issues

  • Fixed double connection issue when enabling TDS 8.0 and SSL by reusing original socket connection 1817
  • Fixed unknown token error 0xA3 when selectMethod cursor is used with data classification 1821
  • Fixed out of bounds error for when a data classification information type is not provided 1847

[10.2.1] HotFix & Stable Release

12 May 21:19
11179a5
Compare
Choose a tag to compare

Fixed issues

  • Refactored Idle Connection Resiliency timeout to use existing SharedTimer 1794
  • Fixed Managed Identity retry interval to exponential backoff properly 1770
  • Removed extra call to executeCommand() within connectionCommand() 1754

[11.1.1] Preview Release

21 Apr 20:17
e11d7f1
Compare
Choose a tag to compare
Pre-release

Added

  • Added support for Java 18 1802
  • Added support for bulk insert of null GUID values 1778
  • Added ALPN for TDS 8.0 connections 1795

Changed

  • Updated dependency versions of azure-keyvault and azure-identity 1798
  • Refactored Idle Connection Resiliency timeout to use existing SharedTimer 1794

Fixed issues

  • Fixed regression with Always Encrypted with secure enclaves 1805