Szerkesztés

Megosztás a következőn keresztül:


Release Notes for the Microsoft ODBC Driver for SQL Server on Linux and macOS

Download ODBC driver

This article lists and describes what's new in the versioned releases of the Microsoft ODBC driver for SQL Server on Linux and macOS.

18.4.1, July 2024

New item Details
New distributions supported. Ubuntu 24.04, Alpine 3.19
Accept EULA by file presence. Added the ability to accept the EULA for DEB and RPM packages by the presence of a file.
Microsoft Entra ID Renamed all occurrences of "Azure Active Directory" to "Microsoft Entra ID". See New name for Azure Active Directory for more information.
Bug fixes. Bug fixes.

18.3.3, April 2024

New item Details
Bug fixes. Bug fixes.

17.10.6, April 2024

New item Details
Bug fixes. Bug fixes.

18.3.2, October 2023

New item Details
New distribution supported. Debian 12
Bug fixes. Bug fixes.

17.10.5, October 2023

New item Details
New distribution supported. Debian 12
Improved Performance More efficient packet buffer memory allocation
New Managed Identity (MSI) Authentication Support Support for MSI authentication for Azure Arc and Azure Cloud Shell and updated to a newer Azure App Service API version
Bug fixes. Bug fixes.

18.3.1, July 2023

New item Details
Improved Performance More efficient packet buffer memory allocation
New Managed Identity (MSI) Authentication Support Support for MSI authentication for Azure Arc and Azure Cloud Shell and updated to a newer Azure App Service API version
New distributions supported. Ubuntu 23.04, Alpine 3.17, Alpine 3.18. ARM64 is now supported on Alpine
Bug fixes. Bug fixes.

18.2.2, June 2023

New item Details
Bug fixes. Bug fixes.

17.10.4, June 2022

New item Details
Bug fixes. Bug fixes.

18.2, January 2023

New item Details
New distributions supported. Ubuntu 22.10, macOS 13, Alpine 3.16
Server name details added to connection errors Added original and redirected server names to connect errors
Bug fixes. Bug fixes.

17.10.2, November 2022

New item Details
Bug fixes. Bug fixes.

18.1.2, November 2022

New item Details
Bug fixes. Bug fixes.

18.1, August 2022

New item Details
New distributions supported. Ubuntu 22.04, Red Hat 9. ARM64 Linux platforms: Debian 11, Red Hat 8 and 9, Ubuntu 20.04, 22.04
IpAddressPreference option See DSN and Connection String Attributes and Keywords.
RetryExec option See DSN and Connection String Attributes and Keywords.
VBS-NONE enclave attestation protocol New enclave attestation option to not attest the enclave. See Using Always Encrypted
Wildcard matching of HostnameInCertificate Now able to use wildcard for specifying hostname, if different from default value found in Addr/Address/Server.
ServerCertificate option See DSN and Connection String Attributes and Keywords.
TrustedConnection_UseAAD option Now only Kerberos integrated authentication is enabled when specifying Trusted_Connection=yes. Use the TrustedConnection_UseAAD option to enable the previous behavior of using either Kerberos or Azure Active Directory integrated. See Using Azure Active Directory for more information.
Bug fixes. Bug fixes.

17.10, June 2022

New item Details
New distributions supported. Ubuntu 22.04, Red Hat 9
TrustedConnection_UseAAD option Now only Kerberos integrated authentication is enabled when specifying Trusted_Connection=yes. Use the TrustedConnection_UseAAD option to enable the previous behavior of using either Kerberos or Azure Active Directory integrated.
Bug fixes. Bug fixes.

18.0, February 2022

New item Details
New distributions supported. Debian 11, Ubuntu 21.10, macOS 12
Added compatibility with OpenSSL 3.0 See Connection String Keywords and Data Source Names.
Ability to send long types as max types See DSN and Connection String Attributes and Keywords.
Support for TDS 8.0 See Features of the Microsoft ODBC Driver for SQL Server on Windows.
Compatibility extensions for SQLGetData See Features of the Microsoft ODBC Driver for SQL Server on Windows.
Bug fixes. Bug fixes.

17.9, February 2022

New item Details
New distributions supported. Debian 11, Ubuntu 21.10, macOS 12
Added compatibility with OpenSSL 3.0 See Connection String Keywords and Data Source Names.
Bug fixes. Bug fixes.

17.8.1.2, October 2021

New item Details
Package update Updated RPM packages for Red Hat 7, Red Hat 8, SUSE 12, and SUSE 15 to use SHA256 RPM signing.

17.8, July 2021

New item Details
New distributions supported. Ubuntu 21.04, Alpine 3.13
Support for Apple M1 ARM64 hardware See Install the ODBC driver (macOS).
Replication option added to the connection string See DSN and Connection String Attributes and Keywords.
KeepAlive and KeepAliveInterval options added to the connection string See DSN and Connection String Attributes and Keywords.
Bug fixes. Bug fixes.

17.7.2, March 2021

New item Details
Bug fixes. Bug fixes.

17.7, January 2021

New item Details
New distributions supported. Ubuntu 20.10, macOS Big Sur (11.0), Oracle Linux 7
Service Principal Authentication See DSN and Connection String Attributes and Keywords.
Ability to insert into encrypted money and smallmoney columns See Using Always Encrypted.
Bug fixes. Bug fixes.

17.6, July 2020

New item Details
New distributions supported. Ubuntu 20.04
Support for Federated Authentication See Using Azure Active Directory.
Metadata caching for prepared statements See Using Always Encrypted.
SQL_COPT_SS_AUTOBEGINTXN connection attribute to control whether automatic BEGIN TRANSACTION happens after ROLLBACK or COMMIT See DSN and Connection String Attributes and Keywords.
Bug fixes. Bug fixes.

17.5.2.2, April 2020 (Alpine Linux only)

Feature added Details
Bug fixed. See Bug fixes.

17.5.2, March 2020

Feature added Details
Support authentication with Managed Identity for Azure Key Vault See Using Always Encrypted with the ODBC Driver.
Support for more Azure Key Vault endpoints See Using Always Encrypted with the ODBC Driver.
Bug fixes. See Bug fixes.

17.5, January 2020

Feature added Details
SQL_COPT_SS_SPID connection attribute to retrieve SPID without round trip to server See DSN and Connection String Attributes and Keywords.
Support for indicating EULA acceptance via debconf on Debian and Ubuntu See Installing the Driver.
New distributions supported. •     Alpine Linux (3.10, 3.11).
•     Oracle Linux 8.
•     Ubuntu 19.10.
•     macOS 10.15.
Bug fixes. See Bug fixes.

17.4.2, October 2019

Feature added Details
Support for more Azure Key Vault endpoints See Using Always Encrypted with the ODBC Driver.
Support for setting data classification version See Data Classification.
Bug fixes. See Bug fixes.

Known Issue:

When using Always Encrypted with secure enclaves and Azure Key Vault, odd key path lengths may result in CMK signature verification errors. If you encounter this issue, try changing the length of the key path by one character by renaming the AKV key.

17.4, August 2019

Feature added Details
Always Encrypted with secure enclaves. See Using Always Encrypted with the ODBC Driver.
Dynamic loading of OpenSSL See Programming Guidelines.
Configurable TCP Keep Alive settings. See Connecting to SQL Server.
Bug fixes. See Bug fixes.

17.3, February 2019

New item Details
New distributions supported. •     SUSE 15.
•     Ubuntu 18.10.
•     macOS 10.14.
Azure Active Directory Managed Identity (system and user-assigned) authentication mode. See Using Azure Active Directory with the ODBC Driver.
Ability to stream input parameters against Always Encrypted columns. For more information, see Limitations of the ODBC driver when using Always Encrypted.
XA distributed transactions. See Using XA Transactions.

XA is an initialism for eXtended Architecture, which is a standard for the execution of a global transaction that accesses more than one server-side data storage system.

17.2, July 2018

New item Details
New distributions supported. •     Ubuntu 18.04
Data Classification for Azure SQL Database and SQL Server. See Data Classification.
Support UTF-8 server encoding.  
SQLBrowseConnect  
Dynamic dependency on libcurl. Starting with this version, the libcurl package isn't an explicit dependency.
The libcurl package for OpenSSL or NSS is required when using Azure Key Vault or Azure Active Directory authentication.
If you encounter an error regarding libcurl, ensure it's installed.
Idle Connection Resiliency with ConnectRetryCount and ConnectRetryInterval keywords in connection string. •     Use SQL_COPT_SS_CONNECT_RETRY_COUNT(read only) to retrieve the number of connection retry attempts.

•     Use SQL_COPT_SS_CONNECT_RETRY_INTERVAL (read only) to retrieve the length of the connection retry interval.

See Connection Resiliency.
Bug fixes. Bug fixes.

17.1, March 2018

New item Details
Support for SQL_COPT_SS_CEKCACHETTL and SQL_COPT_SS_TRUSTEDCMKPATHS connection attributes. •     SQL_COPT_SS_CEKCACHETTL allows controlling the time that the local cache of Column Encryption Keys exists, and flushing it.

•     SQL_COPT_SS_TRUSTEDCMKPATHS allows the application to restrict Always Encrypted operations to use only the specified list of Column Master Keys.

See Using Always Encrypted with the ODBC Driver for SQL Server).
Support for loading the .rll from default location. See 'Resource File Loading' section in the Installation document.
Bug fixes. Bug fixes.

17

New distributions supported: macOS High Sierra and Ubuntu 17.10

Performance Improvements: Greater than 10 times performance improvement when driver converts to/from UTF-8/16.

Features Added:

Always Encrypted support for BCP API

New connection string attribute UseFMTOnly causes driver to use legacy metadata in special cases requiring temp tables.

Support for Azure SQL Managed Instance.

Note

There are a number of differences when using Managed Instance:

  • FILESTREAM is not supported
  • Local filesystem access is not supported, but required for things like tracefiles
  • Create UDT from local path is not supported
  • Windows Integrated Authentication is not supported
  • DTC is not supported
  • 'sa' account is not present (default account is called 'cloudSA')
  • TDS token ERROR (0xAA) returns incorrect server name
  • Special characters in database name are not supported
  • ALTER DATABASE [dbname1] MODIFY NAME = [dbname2] is not supported
  • The error messages are always shown in English, regardless of language settings (same as Azure)

13.1, for SQL Server on Linux and macOS, May 2017

ODBC Driver 13.1 for SQL Server adds support for Always Encrypted and Azure Active Directory when used with Microsoft SQL Server 2016.

New distributions supported: OS X 10.11 and macOS 10.12 are supported in the first release of the ODBC Driver on macOS. Ubuntu 16.10 is now also supported, along with Red Hat 6, 7, and SUSE 12. Each platform has a platform-relevant package (RPM or DEB) to ease installation and configuration. For more information, see the ODBC driver installation instructions for Linux and macOS.

unixODBC Driver Manager 2.3.1 Support Changes: The ODBC driver no longer depends on custom packaging for the unixODBC driver manager (except on Red Hat 6), and instead relies on the distribution package manager to resolve the UnixODBC dependency from the distribution's repositories.

BCP API Support: The Linux and macOS ODBC driver now supports the use of the BCP API functions (bcp_init, etc.)

13.0, for SQL Server on Linux

With Microsoft ODBC Driver 13.0 for SQL Server, SQL Server 2014 and SQL Server 2016 are now also supported.

New distributions supported:

Ubuntu is now supported, along with Red Hat and SUSE. Each platform has a platform-relevant package (RPM or DEB) to ease installation and configuration. See Installing the Driver for installation instructions.

unixODBC Driver Manager 2.3.1 Support: In addition to a newer driver manager, there's also a package for installing this dependency that eases installation and configuration.

Transparent Network IP Resolution: Transparent Network IP Resolution is a revision of the existing Multi-Subnet Failover feature that affects the connection sequence of the driver in the case where the first resolved IP of the hostname doesn't respond and there are multiple IPs associated with the hostname.

TLS 1.2 Support: The Microsoft ODBC Driver 13.0 for SQL Server on Linux now supports TLS 1.2 when secure communications with SQL Server are used.

11, for SQL Server on Linux

The ODBC driver on SUSE Linux (Preview) supports 64-bit SUSE Linux Enterprise 11 Service Pack 2. For more information, see System Requirements.

The ODBC driver on Linux supports Always On availability groups. For more information, see ODBC Driver on Linux Support for High Availability, Disaster Recovery.

The ODBC driver on Linux supports connections to Azure SQL Database.

The -l option (login timeout) has been added to bcp. For more information, see Connecting with bcp.