Skip to content

Commit fdf029d

Browse files
authored
Change log for 5.7.0 (#1028)
1 parent 2792ece commit fdf029d

File tree

2 files changed

+61
-15
lines changed

2 files changed

+61
-15
lines changed

CHANGELOG.md

+44
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,50 @@ 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.7.0-preview - 2019-09-05
7+
Updated PECL release packages. Here is the list of updates:
8+
9+
### Added
10+
- Support for PHP 7.4 RC 1
11+
- Support for Linux Ubuntu 19.04 and Debian 10
12+
- Feature Request [#929](https://github.com/microsoft/msphpsql/issues/929) - new [Language option](https://github.com/microsoft/msphpsql/wiki/Features#language) - Pull Request [#930](https://github.com/microsoft/msphpsql/pull/930)
13+
- [Data Classification Sensitivity Metadata Retrieval](https://github.com/microsoft/msphpsql/wiki/Features#data-classification-sensitivity-metadata), which requires [MS ODBC Driver 17.2+](https://docs.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server) and [SQL Server 2019 release candidate](https://docs.microsoft.com/sql/sql-server/sql-server-ver15-release-notes?view=sqlallproducts-allversions#-release-candidate-rc)
14+
15+
### Removed
16+
- Dropped support for Ubuntu 18.10
17+
18+
### Fixed
19+
- Issue [#570](https://github.com/microsoft/msphpsql/issues/570) - Fixed fetching varbinary data using client buffer with sqlsrv
20+
- Pull Request [#972](https://github.com/microsoft/msphpsql/pull/972) - Removed redundant calls to retrieve the number of columns or rows in the current query result set
21+
- Pull Request [#978](https://github.com/microsoft/msphpsql/pull/978) - PDO_SQLSRV implementation of PDO::getColumnMeta now references cached metadata rather than making an ODBC call every time
22+
- Pull Request [#979](https://github.com/microsoft/msphpsql/pull/979) - Added support for data classification Sensitivity metadata retrieval
23+
- Pull Request [#985](https://github.com/microsoft/msphpsql/pull/985) - Fixed memory issues with data classification data structures
24+
- Issue [#432](https://github.com/microsoft/msphpsql/issues/432) - Having any invalid UTF-8 name in the connection string will no longer invoke misleading error messages
25+
- Issue [#909](https://github.com/microsoft/msphpsql/issues/909) - Fixed potential exception with locale issues in macOS
26+
- Pull Request [#992](https://github.com/microsoft/msphpsql/pull/992) - Produced the correct error when requesting Data Classification metadata with ODBC drivers prior to 17
27+
- Pull Request [#1001](https://github.com/microsoft/msphpsql/pull/1001) - Fixed compilation issue with PHP 7.4 alpha
28+
- Pull Request [#1004](https://github.com/microsoft/msphpsql/pull/1004) - Fixed another compilation issue with PHP 7.4 alpha
29+
- Pull Request [#1008](https://github.com/microsoft/msphpsql/pull/1008) - Improved data caching when fetching datetime objects
30+
- Pull Request [#1011](https://github.com/microsoft/msphpsql/pull/1011) - Fixed a potential buffer overflow when parsing for escaped braces in the connection string
31+
- Pull Request [#1015](https://github.com/microsoft/msphpsql/pull/1015) - Fixed compilation issues and addressed various memory leaks detected by PHP 7.4 beta 1
32+
33+
### Limitations
34+
- No support for inout / output params when using sql_variant type
35+
- No support for inout / output params when formatting decimal values
36+
- In Linux and macOS, setlocale() only takes effect if it is invoked before the first connection. Attempting to set the locale after connecting will not work
37+
- Always Encrypted requires [MS ODBC Driver 17+](https://docs.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server)
38+
- Only Windows Certificate Store and Azure Key Vault are supported. Custom Keystores are not yet supported
39+
- Issue [#716](https://github.com/Microsoft/msphpsql/issues/716) - With Always Encrypted enabled, named parameters in subqueries are not supported
40+
- [Always Encrypted limitations](https://docs.microsoft.com/sql/connect/php/using-always-encrypted-php-drivers#limitations-of-the-php-drivers-when-using-always-encrypted)
41+
42+
### Known Issues
43+
- Data Classification metadata retrieval is not compatible with ODBC Driver 17.4.1
44+
- Connection pooling on Linux or macOS is not recommended with [unixODBC](http://www.unixodbc.org/) < 2.3.7
45+
- When pooling is enabled in Linux or macOS
46+
- unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostic information, such as error messages, warnings and informative messages
47+
- due to this unixODBC bug, fetch large data (such as xml, binary) as streams as a workaround. See the examples [here](https://github.com/Microsoft/msphpsql/wiki/Features#pooling)
48+
- With ColumnEncryption enabled, calling stored procedures with XML parameters does not work (Issue [#674](https://github.com/Microsoft/msphpsql/issues/674))
49+
650
## 5.6.1 - 2019-03-19
751
Updated PECL release packages. Here is the list of updates:
852

Linux-mac-install.md

+17-15
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ These instructions install PHP 7.3 by default. Note that some supported Linux di
55

66
## Contents of this page:
77

8-
- [Installing the drivers on Ubuntu 16.04, 18.04, and 18.10](#installing-the-drivers-on-ubuntu-1604-1804-and-1810)
8+
- [Installing the drivers on Ubuntu 16.04, 18.04, and 19.04](#installing-the-drivers-on-ubuntu-1604-1804-and-1904)
99
- [Installing the drivers on Red Hat 7](#installing-the-drivers-on-red-hat-7)
10-
- [Installing the drivers on Debian 8 and 9](#installing-the-drivers-on-debian-8-and-9)
10+
- [Installing the drivers on Debian 8, 9 and 10](#installing-the-drivers-on-debian-8-9-and-10)
1111
- [Installing the drivers on Suse 12 and 15](#installing-the-drivers-on-suse-12-and-15)
1212
- [Installing the drivers on macOS Sierra, High Sierra, and Mojave](#installing-the-drivers-on-macos-sierra-high-sierra-and-mojave)
1313

14-
## Installing the drivers on Ubuntu 16.04, 18.04, and 18.10
14+
## Installing the drivers on Ubuntu 16.04, 18.04, and 19.04
1515

1616
> [!NOTE]
1717
> To install PHP 7.1 or 7.2, replace 7.3 with 7.1 or 7.2 in the following commands.
@@ -31,19 +31,20 @@ Install the ODBC driver for Ubuntu by following the instructions on the [Linux a
3131
sudo pecl install sqlsrv
3232
sudo pecl install pdo_sqlsrv
3333
sudo su
34-
echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/30-pdo_sqlsrv.ini
35-
echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/20-sqlsrv.ini
34+
printf "; priority=20\nextension=sqlsrv.so\n" > /etc/php/7.3/mods-available/sqlsrv.ini
35+
printf "; priority=30\nextension=pdo_sqlsrv.so\n" > /etc/php/7.3/mods-available/pdo_sqlsrv.ini
3636
exit
37+
sudo phpenmod -v 7.3 sqlsrv pdo_sqlsrv
3738
```
39+
If there is only one PHP version in the system then the last step can be simplified to `phpenmod sqlsrv pdo_sqlsrv`.
40+
3841
### Step 4. Install Apache and configure driver loading
3942
```
4043
sudo su
4144
apt-get install libapache2-mod-php7.3 apache2
4245
a2dismod mpm_event
4346
a2enmod mpm_prefork
4447
a2enmod php7.3
45-
echo "extension=pdo_sqlsrv.so" >> /etc/php/7.3/apache2/conf.d/30-pdo_sqlsrv.ini
46-
echo "extension=sqlsrv.so" >> /etc/php/7.3/apache2/conf.d/20-sqlsrv.ini
4748
exit
4849
```
4950
### Step 5. Restart Apache and test the sample script
@@ -91,8 +92,8 @@ exit
9192
An issue in PECL may prevent correct installation of the latest version of the drivers even if you have upgraded GCC. To install, download the packages and compile manually (similar steps for pdo_sqlsrv):
9293
```
9394
pecl download sqlsrv
94-
tar xvzf sqlsrv-5.6.1.tgz
95-
cd sqlsrv-5.6.1/
95+
tar xvzf sqlsrv-5.7.0.tgz
96+
cd sqlsrv-5.7.0/
9697
phpize
9798
./configure --with-php-config=/usr/bin/php-config
9899
make
@@ -116,7 +117,7 @@ sudo apachectl restart
116117
```
117118
To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document.
118119

119-
## Installing the drivers on Debian 8 and 9
120+
## Installing the drivers on Debian 8, 9 and 10
120121

121122
> [!NOTE]
122123
> To install PHP 7.1 or 7.2, replace 7.3 in the following commands with 7.1 or 7.2.
@@ -145,19 +146,20 @@ locale-gen
145146
sudo pecl install sqlsrv
146147
sudo pecl install pdo_sqlsrv
147148
sudo su
148-
echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/30-pdo_sqlsrv.ini
149-
echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/20-sqlsrv.ini
149+
printf "; priority=20\nextension=sqlsrv.so\n" > /etc/php/7.3/mods-available/sqlsrv.ini
150+
printf "; priority=30\nextension=pdo_sqlsrv.so\n" > /etc/php/7.3/mods-available/pdo_sqlsrv.ini
150151
exit
152+
sudo phpenmod -v 7.3 sqlsrv pdo_sqlsrv
151153
```
154+
If there is only one PHP version in the system then the last step can be simplified to `phpenmod sqlsrv pdo_sqlsrv`.
155+
152156
### Step 4. Install Apache and configure driver loading
153157
```
154158
sudo su
155159
apt-get install libapache2-mod-php7.3 apache2
156160
a2dismod mpm_event
157161
a2enmod mpm_prefork
158162
a2enmod php7.3
159-
echo "extension=pdo_sqlsrv.so" >> /etc/php/7.3/apache2/conf.d/30-pdo_sqlsrv.ini
160-
echo "extension=sqlsrv.so" >> /etc/php/7.3/apache2/conf.d/20-sqlsrv.ini
161163
```
162164
### Step 5. Restart Apache and test the sample script
163165
```
@@ -168,7 +170,7 @@ To test your installation, see [Testing your installation](#testing-your-install
168170
## Installing the drivers on Suse 12 and 15
169171

170172
> [!NOTE]
171-
> In the following instructions, replace <SuseVersion> with your version of Suse - if you are using Suse Enterprise Linux 15, it will be SLE_15 or SLE_15_SP1, and similarly for other versions. 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 to `http://download.opensuse.org/repositories/devel:/languages:/php:/` to see which other versions of PHP are available for which versions of Suse.
173+
> In the following instructions, replace <SuseVersion> with your version of Suse - if you are using Suse Enterprise Linux 15, it will be SLE_15 or SLE_15_SP1. For Suse 12, use SLE_12_SP4 (or above if applicable). 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 to `http://download.opensuse.org/repositories/devel:/languages:/php:/` to see which other versions of PHP are available for which versions of Suse.
172174
173175
> [!NOTE]
174176
> Packages for PHP 7.3 are not available for Suse 12.

0 commit comments

Comments
 (0)