Skip to content

Commit 8bb6497

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into dev
2 parents 2a18877 + 3376c82 commit 8bb6497

133 files changed

Lines changed: 6294 additions & 420 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ env:
1515
- PHPSQLDIR=/REPO/msphpsql-dev
1616
- TEST_PHP_SQL_SERVER=sql
1717
- SQLSRV_DBNAME=msphpsql_sqlsrv
18-
- PDOSQLSRV_DBNAME=msphpsql_pdosqlsrv
18+
- PDOSQLSRV_DBNAME=msphpsql_pdosqlsrv
19+
- TEST_PHP_SQL_UID=sa
20+
- TEST_PHP_SQL_PWD=Password123
1921

2022
before_install:
2123
- docker pull microsoft/mssql-server-linux
@@ -33,6 +35,12 @@ script:
3335
- docker logs client
3436
- travis_retry docker exec client python ./test/functional/setup/setup_dbs.py -dbname $SQLSRV_DBNAME
3537
- travis_retry docker exec client python ./test/functional/setup/setup_dbs.py -dbname $PDOSQLSRV_DBNAME
38+
- docker exec client cp ./source/shared/msodbcsql.h ./test/functional/setup/
39+
- travis_retry docker exec client python ./test/functional/setup/build_ksp.py
40+
- docker exec client cp ./test/functional/setup/myKSP.so ./test/functional/sqlsrv/
41+
- docker exec client cp ./test/functional/setup/myKSP.so ./test/functional/pdo_sqlsrv/
42+
- travis_retry docker exec client python ./test/functional/setup/run_ksp.py -server $TEST_PHP_SQL_SERVER -dbname $SQLSRV_DBNAME -uid $TEST_PHP_SQL_UID -pwd $TEST_PHP_SQL_PWD
43+
- travis_retry docker exec client python ./test/functional/setup/run_ksp.py -server $TEST_PHP_SQL_SERVER -dbname $PDOSQLSRV_DBNAME -uid $TEST_PHP_SQL_UID -pwd $TEST_PHP_SQL_PWD
3644
- travis_retry docker exec client php ./source/pdo_sqlsrv/run-tests.php ./test/functional/pdo_sqlsrv/*.phpt
3745
- travis_retry docker exec client php ./source/sqlsrv/run-tests.php ./test/functional/sqlsrv/*.phpt
3846
- docker exec client bash -c 'for f in ./test/functional/sqlsrv/*.diff; do ls $f 2>/dev/null; cat $f 2>/dev/null; done || true'

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,35 @@ 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+
## Windows/Linux 5.1.0-preview - 2017-09-15
7+
Updated PECL release packages. Here is the list of updates:
8+
9+
### Added
10+
- Added support for Always Encrypted with basic CRUD functionalities (see [here](https://github.com/Microsoft/msphpsql/wiki/Features#aebindparam))
11+
- Support for Windows Certificate Store (use connection keyword ColumnEncryption)
12+
- Support for custom key store provider (use connection keywords ColumnEncryption, CEKeystoreProvider, CEKeystoreName, CEKeystoreEncryptKey)
13+
- Support for inserting into an encrypted column
14+
- Support for fetching from an encrypted column
15+
- Added support for MSODBC 17 preview
16+
- Added Driver option to set the ODBC driver, Added"Driver" option, valid values are ODBC Driver 13 for SQL Server,ODBC Driver 11 for SQL Server, and ODBC Driver 17 for SQL Server
17+
- If the user intends to use the new Always Encrypted features, we recommend you to specify explicitly the 'Driver' option to 'ODBC Driver 17 for SQL Server' in the connection string
18+
19+
### Limitations
20+
- Always Encrypted functionalities are only supported using [MSODBC 17 preview](https://github.com/Microsoft/msphpsql/tree/dev/ODBC%2017%20binaries%20preview)
21+
- ODBC binaries for macOS available upon request
22+
- MSODBC 17 preview msodbcsql.msi only works for Windows10
23+
- [Always Encrypted limitations](https://github.com/Microsoft/msphpsql/wiki/Features#aelimitation)
24+
- when using sqlsrv_query with Always Encrypted feature, SQL type has to be specified for each input (see [here](https://github.com/Microsoft/msphpsql/wiki/Features#aebindparam))
25+
- No support for inout / output params when using sql_variant type
26+
27+
### Known Issues
28+
- Connection pooling on Linux doesn't work properly if the user uses the MSODBC17 preview
29+
- PDO::quote returns truncated string with garbage characters appended if the string contains a ASCII NUL ('/0') character
30+
- Binding decimal type when using Always Encrypted in the SQLSRV x64 driver returns an error during insertion when the input does not have any decimal places
31+
- When pooling is enabled in Linux or MAC
32+
- unixODBC <= 2.3.4 (Linux and MAC) might not return proper diagnostics information, such as error messages, warnings and informative messages
33+
- 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/Connection-Pooling-on-Linux-and-Mac)
34+
635
## Windows/Linux/MAC 5.0.0-preview - 2017-07-31
736
Updated PECL release packages. Here is the list of updates:
837

3.41 MB
Binary file not shown.
Binary file not shown.

ODBC 17 binaries preview/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The ODBC driver 17 preview binaries in this directory are required in order to use Always Encrypted (AE) functionality. Please note that these drivers should be considered to be preview versions -- they should not be used in production and are not supported by Microsoft. They will be replaced upon the official release of ODBC driver 17.
Binary file not shown.
Binary file not shown.
3.63 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)