Skip to content

Releases: microsoft/mssql-jdbc

[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

[11.1.0] Preview Release

01 Apr 23:16
7050e88
Compare
Choose a tag to compare
Pre-release

Added

  • Added new connection string property prepareMethod to toggle use of sp_prepare 1719
  • Added new encrypt options for TDS 8.0 support 1757
  • Added Configurable IPv6 Support 1766
  • Added serverCertificate connection property for encrypt=strict 1773
  • Added option for NONE attestation protocol 1779

Changed

  • Added encrypt utility to obfuscate password strings in memory 1780
  • Simplified traceID creation in DataSource and PooledConnection 1747
  • Refactored SQLServerColumnEncryptionAzureKeyVaultProvider usage in SQLServerConnection 1774

Fixed issues

  • Removed extra call to executeCommand() within connectionCommand() 1754
  • Fixed warnings for Implicit narrowing conversion in compound assignment 1758
  • Added check for MSAL library when attempting ActiveDirectoryServicePrincipal authentication 1759
  • Fixed Managed Identity retry interval to exponential backoff properly 1770

[10.2.0] Stable Release

01 Feb 00:35
468a35a
Compare
Choose a tag to compare

Added

  • Support for datetimeoffset with sql_variant 1673
  • Canonical host name resolution when realm is provided in connection string 1730

Changed

  • Changed certificate validation behavior to validate when encryption is negotiated from either the client or the server side, not just the client side 1731
  • Enclave Provider to use non blocking /dev/urandom 1734
  • Updated Azure library dependency versions to address vulnerability issues 1733
  • Updated Bouncy Castle dependency version 1735

Fixed

  • Fixed issues detected by SonarQube 1739

[10.1.0] Preview Release

17 Dec 23:26
1d9eb97
Compare
Choose a tag to compare
Pre-release

Added

  • Fix for Idle Connection Resiliency with Azure AD Authentication 1706
  • Retry for intermittent Java NativeSeedGenerator 1705
  • Default Encrypt to true 1697
  • Fix for Azure AD Interactive authentication timeout 1696

Changed

  • Deprecated AADSecurePrincipalId/AADSecurePrincipalSecret 1693

Fixed issues

  • Fixed TDSParser stuck on TDS_COLMETADATA issue [#1662] (#1662)
  • Fixed conversion of LocalDateTime and LocalTime to String in Bulk Copy [#1640] (#1640)