Dropped support for macOS Mojave, Ubuntu 16.04, Alpine 3.11 and 3.12.
Added support for Windows 11 and Windows Server 2022.
Added support for macOS Monterey, Debian 11, Ubuntu 21.04 and 21.10, Alpine 3.13, 3.14 and 3.15.
Added support for Apple M1 ARM64 hardware.
Requires ODBC Driver 17.8 or above.
Added support for Table-valued Parameters.
Allowed setting PDO::ATTR_EMULATE_PREPARES at the connection level.
Adjusted connection keyword and value validation for more flexibility.
1 This release requires ODBC Driver 17.4.2 or above. Otherwise, a warning about failing to set an attribute will occur. This warning may be suppressed when using an older ODBC driver. If using SQLSRV, check How to: Configure Error and Warning Handling Using the SQLSRV Driver. If using PDO_SQLSRV, warnings are by default suppressed but can be logged. Check Logging Activity for details.
Known issues
If string parameters are bound as short string and later reused to bind longer strings, a string truncation error will occur.
Added support for Microsoft ODBC Driver 17.7 on all platforms.
Added support for macOS Big Sur, Ubuntu 20.04, Ubuntu 20.10 and Alpine 3.12.
Some require ODBC Driver 17.5 or above.
Dropped support for macOS High Sierra, Debian 8, and Ubuntu 19.10.
Support for GB18030 locale.
Extended PDO errorinfo to include additional ODBC messages if available.
Support for Data Classification with rank info.
Requires SQL Server 2019 and ODBC Driver 17.4.2 or above.
Added Azure Active Directory Service Principal authentication support.
Requires ODBC Driver 17.7 or above.
Improved performance when handling decimal numbers as inputs or outputs and removed unnecessary conversions for numeric values.
Improved performance when fetching numbers using client buffers.
Set query timeout without using LOCK TIMEOUT, which saves an extra trip to the server.
1 This release requires ODBC Driver 17.4.2 or above. Otherwise, a warning about failing to set an attribute will occur. This warning may be suppressed when using an older ODBC driver. If using SQLSRV, check How to: Configure Error and Warning Handling Using the SQLSRV Driver. If using PDO_SQLSRV, warnings are by default suppressed but can be logged. Check Logging Activity for details.
Support for Microsoft ODBC Driver 17.2 on all platforms
Support for macOS High Sierra (requires ODBC Driver 17 and above)
Support for Azure Key Vault for Always Encrypted for basic CRUD functionalities such that Always Encrypted feature is available to all supported Windows, Linux or macOS platforms Using Always Encrypted with the PHP Drivers for SQL Server
Support Ubuntu 18.04 LTS (requires ODBC Driver 17.2)
Support for Connection Resiliency in Linux or macOS as well (requires ODBC Driver 17.2)
SQL Server 2022 introduces a range of new features and enhancements, providing powerful tools and capabilities that optimize performance and offer better control on SQL objects manipulation and creation.