You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,41 @@ All notable changes to this project will be documented in this file.
3
3
4
4
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
6
-
## Windows/Linux/macOS 5.2.0 - 2017-02-14
6
+
## 5.2.1-preview - 2018-06-01
7
+
Updated PECL release packages. Here is the list of updates:
8
+
9
+
### Added
10
+
- Added support for Azure Key Vault for Always Encrypted for basic CRUD functionalities such that Always Encrypted feature is also available to Linux or macOS users
11
+
- Added support for macOS High Sierra (requires [MS ODBC Driver 17+](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017))
12
+
13
+
### Fixed
14
+
- Issue [#577](https://github.com/Microsoft/msphpsql/issues/577) - Idle Connection Resiliency doesn't work with Column Encryption enabled connection
15
+
- Issue [#678](https://github.com/Microsoft/msphpsql/issues/678) - Idle Connection Resiliency doesn't work with Connection Pooling bug
16
+
- Issue [#699](https://github.com/Microsoft/msphpsql/issues/699) - Binding output parameter failed when the query in the stored procedure returned no data. The test case has been added to the test lab.
17
+
- Issue [#705](https://github.com/Microsoft/msphpsql/issues/705) - AE - Retrieving a negative decimal value (edge case) as output parameter causes truncation
18
+
- Issue [#706](https://github.com/Microsoft/msphpsql/issues/706) - AE - Cannot insert double with precision and scale (38, 38)
19
+
- Issue [#707](https://github.com/Microsoft/msphpsql/issues/707) - AE - Fetching decimals / numerics as output parameters bound to PDO::PARAM_BOOL or PDO::PARAM_INT returns floats, not integers
20
+
- Issue [#735](https://github.com/Microsoft/msphpsql/issues/735) - Extended the buffer size for PDO lastInsertId such that data types other than integers can be supported
21
+
- Pull Request [#759](https://github.com/Microsoft/msphpsql/pull/759) - Removed the limitation of binding a binary as inout param as PDO::PARAM_STR with SQLSRV_ENCODING_BINARY
22
+
- Pull Request [#775](https://github.com/Microsoft/msphpsql/pull/775) - Fixed the problem for output params with SQL types specified as SQLSRV_SQLTYPE_DECIMAL or SQLSRV_SQLTYPE_NUMERIC
23
+
24
+
### Limitations
25
+
- No support for inout / output params when using sql_variant type
26
+
- In Linux and macOS, setlocale() only takes effect if it is invoked before the first connection. Attempting to set the locale after connection will not work
27
+
- Always Encrypted feature, which requires [MS ODBC Driver 17+](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017)
28
+
- only Windows Certificate Store and Azure Key Vault are supported
29
+
- Issue [#716](https://github.com/Microsoft/msphpsql/issues/716) - With Always Encrypted feature enabled, Named Parameters in Sub Queries are not supported
- Connection pooling on Linux or macOS not recommended with [unixODBC](http://www.unixodbc.org/) < 2.3.6
34
+
- When pooling is enabled in Linux or macOS
35
+
- unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostics information, such as error messages, warnings and informative messages
36
+
- 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)
37
+
- With ColumnEncryption enabled, calling stored procedures with XML parameters does not work (Issue [#674](https://github.com/Microsoft/msphpsql/issues/674))
38
+
39
+
40
+
## Windows/Linux/macOS 5.2.0 - 2018-03-23
7
41
Updated PECL release packages. Here is the list of updates:
### Step 5. Restart Apache and test the sample script
49
49
```
@@ -53,8 +53,8 @@ To test your installation, see [Testing your installation](#testing-your-install
53
53
54
54
## Installing the drivers on Red Hat 7
55
55
56
-
> [!NOTE]
57
-
> To install PHP 7.0 or 7.1, replace remi-php72 with remi-php70 or remi-php71 respectively in the following commands.
56
+
> [!NOTE]
57
+
> To install PHP 7.0 or 7.1, replace remi-php72 with remi-php70 or remi-php71 respectively in the following commands.
58
58
59
59
### Step 1. Install PHP
60
60
@@ -79,12 +79,12 @@ scl enable devtoolset-7 bash
79
79
```
80
80
### Step 3. Install the PHP drivers for Microsoft SQL Server
81
81
```
82
+
sudo pecl install sqlsrv
83
+
sudo pecl install pdo_sqlsrv
82
84
sudo su
83
85
echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/30-pdo_sqlsrv.ini
84
86
echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/20-sqlsrv.ini
85
87
exit
86
-
sudo pecl install sqlsrv
87
-
sudo pecl install pdo_sqlsrv
88
88
```
89
89
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:
90
90
```
@@ -116,8 +116,8 @@ To test your installation, see [Testing your installation](#testing-your-install
116
116
117
117
## Installing the drivers on Debian 8 and 9
118
118
119
-
> [!NOTE]
120
-
> To install PHP 7.0 or 7.1, replace 7.2 in the following commands with 7.0 or 7.1.
119
+
> [!NOTE]
120
+
> To install PHP 7.0 or 7.1, replace 7.2 in the following commands with 7.0 or 7.1.
Install the ODBC driver for Debian by following the instructions on the [Linux and macOS installation page](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server).
@@ -140,12 +140,12 @@ locale-gen
140
140
141
141
### Step 3. Install the PHP drivers for Microsoft SQL Server
142
142
```
143
+
sudo pecl install sqlsrv
144
+
sudo pecl install pdo_sqlsrv
143
145
sudo su
144
146
echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/30-pdo_sqlsrv.ini
145
147
echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/20-sqlsrv.ini
146
148
exit
147
-
sudo pecl install sqlsrv
148
-
sudo pecl install pdo_sqlsrv
149
149
```
150
150
### Step 4. Install Apache and configure driver loading
PHP should now be in your path -- run `php -v` to verify that you are running the correct version of PHP. If PHP is not in your path or it is not the correct version, run the following:
Install the ODBC driver for macOS by following the instructions on the [Linux and macOS installation page](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server).
0 commit comments