Releases: microsoft/mssql-jdbc
Releases · microsoft/mssql-jdbc
[12.3.0] Preview 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
Added
- Added new connection property datetimeParameterType to specify datatype to use for date/timestamp parameters 1590
Changed
- Renamed driver DefaultAzureCredential authentication to ActiveDirectoryDefault 2055
- Update to dynamically check for ExtendedSocketOption class 2043
- Upgraded dependency versions 2040 1966
- Misc code cleanup and test fixes 2059 2053 2049 2048 2044 2041 2031 2029 2016 2014 1991 1977 1974 1970 1969 1962
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
[11.2.3] HotFix & Stable Release
[11.2.2] HotFix & Stable Release
[10.2.2] HotFix & Stable Release
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
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
[11.2.0] Stable Release
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