Skip to content

Commit fd6d71d

Browse files
authored
Release 5.13.0 GA - update version, changelog, and README (#1578)
* Release 5.13.0 GA - update version, changelog, and README * Align release docs with sql-docs-pr #36704 - Remove PHP 8.2 support references, add missing OS entries (Red Hat 10, Alpine 3.20, SUSE 12, etc.), drop ODBC 13 from README, update Linux-mac-install.md PHP version notes
1 parent c4fc9c7 commit fd6d71d

4 files changed

Lines changed: 30 additions & 20 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,38 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55

6-
## 5.13.0-beta1 - 2026-01-30
6+
## 5.13.0 - 2026-02-27
77
Updated PECL release packages. Here is the list of updates:
88

99
### Added
10-
- Support for PHP 8.4
10+
- Support for PHP 8.4 and PHP 8.5
1111
- Support for Windows Server 2025
1212
- Support for Ubuntu 24.04
13-
- Support for Debian 12 and 13
14-
- Support for Red Hat 9
15-
- Support for Alpine 3.21, 3.22, and 3.23
16-
- Support for macOS 14, 15, and 26
13+
- Support for Debian 11, 12, and 13
14+
- Support for Red Hat 9 and 10
15+
- Support for Alpine 3.20, 3.21, 3.22, and 3.23
16+
- Support for macOS 15 and 26
1717

1818
### Removed
19-
- Support for PHP 8.1
19+
- Support for PHP 8.1 and 8.2
2020
- Support for Windows 10, Server 2012, and Server 2012 R2
2121
- Support for Ubuntu 20.04
2222
- Support for Debian 10
23-
- Support for macOS 11 and 12
23+
- Support for Red Hat 7
24+
- Support for SUSE Linux 12
25+
- Support for Alpine 3.16, 3.17, 3.18, and 3.19
26+
- Support for macOS 11, 12, and 13
27+
28+
### Changed
29+
- Refactored build scripts for safety, error handling, and command injection prevention ([PR #1551](https://github.com/microsoft/msphpsql/pull/1551), [PR #1552](https://github.com/microsoft/msphpsql/pull/1552))
30+
2431

2532
### Fixed
2633
- Fixed segfault when connecting to Fabric ([PR #1549](https://github.com/microsoft/msphpsql/pull/1549))
2734
- Enhanced error reporting in PDO driver when ODBC diagnostic retrieval fails ([PR #1549](https://github.com/microsoft/msphpsql/pull/1549))
35+
- Fixed critical memory safety bugs in encoding conversion - NULL pointer dereference and uninitialized pointer return ([PR #1555](https://github.com/microsoft/msphpsql/pull/1555))
36+
- Removed lingering error2 reference from failure block in CI pipeline ([PR #1568](https://github.com/microsoft/msphpsql/pull/1568))
37+
- Fixed PHP 8.5 compatibility issues in tests and CI pipeline ([PR #1569](https://github.com/microsoft/msphpsql/pull/1569))
2838

2939
### Limitations
3040
- No support for inout / output params when using sql_variant type

Linux-mac-install.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server
22
The following instructions assume a clean environment and show how to install PHP 8.4, the Microsoft ODBC driver, the Apache web server, and the Microsoft Drivers for PHP for SQL Server on Ubuntu, RedHat, Debian, Suse, Alpine, and macOS. These instructions advise installing the drivers using PECL, but you can also download the prebuilt binaries from the [Microsoft Drivers for PHP for SQL Server](https://github.com/Microsoft/msphpsql/releases) Github project page and install them following the instructions in [Loading the Microsoft Drivers for PHP for SQL Server](https://docs.microsoft.com/sql/connect/php/loading-the-php-sql-driver). For an explanation of extension loading and why we do not add the extensions to php.ini, see the section on [loading the drivers](https://docs.microsoft.com/sql/connect/php/loading-the-php-sql-driver#loading-the-driver-at-php-startup).
33

4-
The following instructions install PHP 8.4 by default using `pecl install`, if the PHP 8.4 packages are available. You may need to run `pecl channel-update pecl.php.net` first. Note that some supported Linux distros may default to older PHP versions -- please see the notes at the beginning of each section to install PHP 8.2 or 8.3 instead.
4+
The following instructions install PHP 8.4 by default using `pecl install`, if the PHP 8.4 packages are available. You may need to run `pecl channel-update pecl.php.net` first. Note that some supported Linux distros may default to older PHP versions -- please see the notes at the beginning of each section to install PHP 8.3 or 8.5 instead.
55

66
Also included are instructions for installing the PHP FastCGI Process Manager, PHP-FPM, on Ubuntu. This is needed if you are using the nginx web server instead of Apache.
77

@@ -20,7 +20,7 @@ While these instructions contain commands to install both SQLSRV and PDO_SQLSRV
2020
## Installing the drivers on Ubuntu
2121

2222
> [!NOTE]
23-
> To install PHP 8.2 or 8.3, replace 8.4 with 8.2 or 8.3 in the following commands.
23+
> To install PHP 8.3 or 8.5, replace 8.4 with 8.3 or 8.5 in the following commands.
2424
2525
### Step 1. Install PHP
2626
```bash
@@ -63,7 +63,7 @@ To test your installation, see [Testing your installation](#testing-your-install
6363
## Installing the drivers with PHP-FPM on Ubuntu
6464

6565
> [!NOTE]
66-
> To install PHP 8.2 or 8.3, replace 8.4 with 8.2 or 8.3 in the following commands.
66+
> To install PHP 8.3 or 8.5, replace 8.4 with 8.3 or 8.5 in the following commands.
6767
6868
### Step 1. Install PHP
6969
```bash
@@ -133,7 +133,7 @@ To test your installation, see [Testing your installation](#testing-your-install
133133

134134
To install PHP on Red Hat 8, run the following:
135135
> [!NOTE]
136-
> To install PHP 8.2 or 8.3, replace remi-8.4 with remi-8.2 or remi-8.3 respectively in the following commands.
136+
> To install PHP 8.3 or 8.5, replace remi-8.4 with remi-8.3 or remi-8.5 respectively in the following commands.
137137
```bash
138138
sudo su
139139
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
@@ -149,7 +149,7 @@ dnf install php-pdo php-pear php-devel
149149

150150
To install PHP on Red Hat 9, run the following:
151151
> [!NOTE]
152-
> To install PHP 8.2 or 8.3, replace remi-8.4 with remi-8.2 or remi-8.3 respectively in the following commands.
152+
> To install PHP 8.3 or 8.5, replace remi-8.4 with remi-8.3 or remi-8.5 respectively in the following commands.
153153
```bash
154154
sudo su
155155
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
@@ -196,7 +196,7 @@ To test your installation, see [Testing your installation](#testing-your-install
196196
## Installing the drivers on Debian
197197

198198
> [!NOTE]
199-
> To install PHP 8.2 or 8.3, replace 8.4 in the following commands with 8.2 or 8.3.
199+
> To install PHP 8.3 or 8.5, replace 8.4 in the following commands with 8.3 or 8.5.
200200
201201
### Step 1. Install PHP
202202
```bash
@@ -251,7 +251,7 @@ To test your installation, see [Testing your installation](#testing-your-install
251251
> In the following instructions, replace `<SuseVersion>` with your version of Suse - if you are using Suse Enterprise Linux 15, it will be SLE_15_SP3 or SLE_15_SP4 (or above). For Suse 12, use SLE_12_SP5 (or above). Not all versions of PHP are available for all versions of Suse Linux - please refer to `http://download.opensuse.org/repositories/devel:/languages:/php` to see which versions of Suse have the default version PHP available, or check `http://download.opensuse.org/repositories/devel:/languages:/php:/` to see which other versions of PHP are available for which versions of Suse.
252252
253253
> [!NOTE]
254-
> Packages for PHP 8.2 or above may not be available for all versions of Suse. Please check the repositories for the latest available PHP versions.
254+
> Packages for PHP 8.3 or above may not be available for all versions of Suse. Please check the repositories for the latest available PHP versions.
255255
256256
### Step 1. Install PHP
257257
```bash
@@ -344,7 +344,7 @@ If you do not already have it, install Homebrew as follows:
344344
> If using Apple Silicon (M1/M2/M3) hardware, please install Homebrew and PHP directly without using the emulator Rosetta 2.
345345
346346
> [!NOTE]
347-
> To install PHP 8.2 or 8.3, replace php@8.4 with php@8.2 or php@8.3 respectively in the following commands.
347+
> To install PHP 8.3 or 8.5, replace php@8.4 with php@8.3 or php@8.5 respectively in the following commands.
348348
349349
### Step 1. Install PHP
350350

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
The [Microsoft Drivers for PHP for Microsoft SQL Server][phpdoc] are PHP extensions that allow for the reading and writing of SQL Server data from within PHP scripts. The SQLSRV extension provides a procedural interface while the PDO_SQLSRV extension implements PHP Data Objects (PDO) for accessing data in all editions of SQL Server 2012 and later (including Azure SQL DB). These drivers rely on the [Microsoft ODBC Driver for SQL Server][odbcdoc] to handle the low-level communication with SQL Server.
66

7-
This release contains the SQLSRV and PDO_SQLSRV drivers for PHP 8.2+ with improvements on both drivers and some limitations. Upcoming [releases][releases] will contain additional functionalities, bug fixes, and more.
7+
This release contains the SQLSRV and PDO_SQLSRV drivers for PHP 8.3+ with improvements on both drivers and some limitations. Upcoming [releases][releases] will contain additional functionalities, bug fixes, and more.
88

99
## Take our survey
1010

@@ -37,8 +37,8 @@ Please follow the [Getting started](https://docs.microsoft.com/sql/connect/php/g
3737
For full details on the system requirements for the drivers, see the [system requirements](https://docs.microsoft.com/sql/connect/php/system-requirements-for-the-php-sql-driver) on Microsoft Docs.
3838

3939
On the client machine:
40-
- 8.2.x, 8.3.x, 8.4.x
41-
- [Microsoft ODBC Driver 18, 17 or 13][odbcdoc]
40+
- 8.3.x, 8.4.x, 8.5.x
41+
- [Microsoft ODBC Driver 18 or 17][odbcdoc]
4242
- If using a Web server such as Internet Information Services (IIS) or Apache, it must be configured to run PHP
4343

4444
On the server side, Microsoft SQL Server 2012 and above on Windows are supported, as are Microsoft SQL Server 2016 and above on Linux.

source/shared/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#define SQLVERSION_BUILD 0
3232

3333
// For previews, set this constant to 1, 2 and so on. Otherwise, set it to 0
34-
#define PREVIEW 1
34+
#define PREVIEW 0
3535
#define SEMVER_PRERELEASE
3636

3737
// Semantic versioning build metadata, build meta data is not counted in precedence order.

0 commit comments

Comments
 (0)