Skip to content

Releases: microsoft/mssql-jdbc

[12.3.0] Preview Release

04 May 22:54
467b7ea
Compare
Choose a tag to compare
Pre-release

Added

  • Added additional logging info to help debug authentication and encryption issues 2118
  • Added SQL query to toString() in SQLServerPreparedStatement to support Hibernate JPA slow query logging 2099
  • Added Java 20 support 2097
  • Added access token callback class connection string property 2073

Changed

  • Updated azure-identity version 2114
  • Updated msal4j version 2102
  • Allow failover partner to be tried in case of socket timeout 2100
  • Updated supportsLikeEscapeClause() to check for Azure data warehouse 2092
  • sp_cursor calls now have table names passed in instead of an empty string 2087
  • Updated federated authentication logic to use persistence token cache when fetching token 2079
  • Updated supportTransaction method to reflect whether server supports transactions 2075
  • Made jdk.net optional OSGi import 2069
  • Upgraded to latest OSGi JDBC specification 2017

Fixed issues

  • Fixed missing property value for disableStatementPooling meta info query 2120
  • Fixed typo in access token error message 2119
  • Fixed BigDecimal error when values between 0 and 1 are specified 2116
  • Fixed lockTimeout not taking effect when redirect mode is set in Azure DB 2110
  • Fixed shared timer race condition 2085
  • Fixed XA error handling to rethrow XAER_RMFAIL instead of XAER_RMERR 2078
  • Fixed issue by accounting for zero meta query results 2074
  • Fixed invalid batch inserts when columns provided in insert differs in order from table schema 1992

[12.2.0] Stable Release

31 Jan 23:39
4a27a0d
Compare
Choose a tag to compare

Added

  • Added new connection property datetimeParameterType to specify datatype to use for date/timestamp parameters 1590

Changed

Fixed issues

  • Fixed BigDecimal Precision/Scale issue 2051
  • Fixed NULL state and 0 error code for SQL exceptions 2018
  • Fixed incorrect updateCount 2013
  • Fixed Azure Active Directory user name cache matching to be case insensitive 1923
  • Fixed concurrency issues in encrypt/decrypt obfuscation methods for truststore password 1968
  • Fixed Idle Connection recovery so that unprocessedResponseCount isn't over decremented 1989
  • Fixed race condition connecting to the wrong SQLServer host in configurable IPv6 1968

[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