Skip to content

Commit 41ac126

Browse files
authored
Update tests and build tools for 5.12-beta1 release (#1492)
* Update tests and build tools * Update for 5.12-beta1 release
1 parent 22dad61 commit 41ac126

Some content is hidden

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

49 files changed

+98
-58
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +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.12.0-beta1 - 2023-12-08
7+
Updated PECL release packages. Here is the list of updates:
8+
9+
### Added
10+
- Support for PHP 8.3
11+
12+
### Removed
13+
- Support for PHP 8.0
14+
- Support for Ubuntu 18.04
15+
16+
### Fixed
17+
- Update connection string keywords set function (#1484)
18+
- Fix error throw for multiple result sets (#1485)
19+
20+
### Limitations
21+
- No support for inout / output params when using sql_variant type
22+
- No support for inout / output params when formatting decimal values
23+
- 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
24+
- Always Encrypted requires [MS ODBC Driver 17+](https://docs.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server)
25+
- Only Windows Certificate Store and Azure Key Vault are supported. Custom Keystores are not yet supported
26+
- Issue [#716](https://github.com/Microsoft/msphpsql/issues/716) - With Always Encrypted enabled, named parameters in subqueries are not supported
27+
- Issue [#1050](https://github.com/microsoft/msphpsql/issues/1050) - With Always Encrypted enabled, insertion requires the column list for any tables with identity columns
28+
- [Always Encrypted limitations](https://docs.microsoft.com/sql/connect/php/using-always-encrypted-php-drivers#limitations-of-the-php-drivers-when-using-always-encrypted)
29+
30+
### Known Issues
31+
- This release requires ODBC Driver 17.4.2 or above. Otherwise, a warning about failing to set an attribute may be suppressed when using an older ODBC driver.
32+
- Connection pooling on Linux or macOS is not recommended with [unixODBC](http://www.unixodbc.org/) < 2.3.7
33+
- When pooling is enabled in Linux or macOS
34+
- unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostic information, such as error messages, warnings and informative messages
35+
- 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)
36+
37+
638
## 5.11.1 - 2023-08-31
739
Updated PECL release packages. Here is the list of updates:
840

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Thank you for taking the time to participate in the [sentiment survey](https://g
1919

2020
[av-image]: https://ci.appveyor.com/api/projects/status/vo4rfei6lxlamrnc?svg=true
2121
[av-site]: https://ci.appveyor.com/project/msphpsql/msphpsql/branch/dev
22-
[az-site]: https://dev.azure.com/sqlclientdrivers-ci/msphpsql/_build/latest?definitionId=6&branchName=dev
23-
[az-image]: https://dev.azure.com/sqlclientdrivers-ci/msphpsql/_apis/build/status/Microsoft.msphpsql?branchName=dev
22+
[az-site]: https://sqlclientdrivers.visualstudio.com/public/_build/latest?definitionId=1230&branchName=refs%2Fpull%2F1492%2Fmerge
23+
[az-image]: https://sqlclientdrivers.visualstudio.com/public/_apis/build/status%2FPHP%2Fmicrosoft.msphpsql?branchName=refs%2Fpull%2F1492%2Fmerge
2424
[Coverage Codecov]: https://codecov.io/gh/microsoft/msphpsql/branch/dev/graph/badge.svg
2525
[codecov-site]: https://codecov.io/gh/microsoft/msphpsql
2626

@@ -37,7 +37,7 @@ 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.0.x, 8.1.x, 8.2.x
40+
- 8.1.x, 8.2.x, 8.3.x
4141
- [Microsoft ODBC Driver 18, 17 or 13][odbcdoc]
4242
- If using a Web server such as Internet Information Services (IIS) or Apache, it must be configured to run PHP
4343

buildscripts/buildtools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def build_drivers(self, make_clean = False, dest = None, log_file = None):
393393

394394
batch_file = self.create_local_batch_file(make_clean, cmd_line, log_file)
395395

396-
# Reference: https://github.com/OSTC/php-sdk-binary-tools
396+
# Reference: https://github.com/php/php-sdk-binary-tools
397397
# Clone the master branch of PHP sdk if the directory does not exist
398398
print('Downloading the latest php SDK...')
399399

@@ -406,7 +406,7 @@ def build_drivers(self, make_clean = False, dest = None, log_file = None):
406406

407407
phpSDK = os.path.join(sdk_dir, 'php-sdk')
408408
if not os.path.exists( phpSDK ):
409-
os.system('git clone https://github.com/OSTC/php-sdk-binary-tools.git --branch master --single-branch --depth 1 ' + phpSDK)
409+
os.system('git clone https://github.com/php/php-sdk-binary-tools.git --branch master --single-branch --depth 1 ' + phpSDK)
410410
os.chdir(phpSDK)
411411
os.system('git pull ')
412412
print('Done cloning the latest php SDK...')

source/pdo_sqlsrv/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dnl
44
dnl Contents: the code that will go into the configure script, indicating options,
55
dnl external libraries and includes, and what source files are to be compiled.
66
dnl
7-
dnl Microsoft Drivers 5.11 for PHP for SQL Server
7+
dnl Microsoft Drivers 5.12 for PHP for SQL Server
88
dnl Copyright(c) Microsoft Corporation
99
dnl All rights reserved.
1010
dnl MIT License

source/pdo_sqlsrv/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// Contents: JScript build configuration used by buildconf.bat
55
//
6-
// Microsoft Drivers 5.11 for PHP for SQL Server
6+
// Microsoft Drivers 5.12 for PHP for SQL Server
77
// Copyright(c) Microsoft Corporation
88
// All rights reserved.
99
// MIT License

source/pdo_sqlsrv/pdo_dbh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// Contents: Implements the PDO object for PDO_SQLSRV
55
//
6-
// Microsoft Drivers 5.11 for PHP for SQL Server
6+
// Microsoft Drivers 5.12 for PHP for SQL Server
77
// Copyright(c) Microsoft Corporation
88
// All rights reserved.
99
// MIT License

source/pdo_sqlsrv/pdo_init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// Contents: initialization routines for PDO_SQLSRV
55
//
6-
// Microsoft Drivers 5.11 for PHP for SQL Server
6+
// Microsoft Drivers 5.12 for PHP for SQL Server
77
// Copyright(c) Microsoft Corporation
88
// All rights reserved.
99
// MIT License

source/pdo_sqlsrv/pdo_parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//
66
// Copyright Microsoft Corporation
77
//
8-
// Microsoft Drivers 5.11 for PHP for SQL Server
8+
// Microsoft Drivers 5.12 for PHP for SQL Server
99
// Copyright(c) Microsoft Corporation
1010
// All rights reserved.
1111
// MIT License

source/pdo_sqlsrv/pdo_stmt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// Contents: Implements the PDOStatement object for the PDO_SQLSRV
55
//
6-
// Microsoft Drivers 5.11 for PHP for SQL Server
6+
// Microsoft Drivers 5.12 for PHP for SQL Server
77
// Copyright(c) Microsoft Corporation
88
// All rights reserved.
99
// MIT License

source/pdo_sqlsrv/pdo_util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// Contents: Utility functions used by both connection or statement functions
55
//
6-
// Microsoft Drivers 5.11 for PHP for SQL Server
6+
// Microsoft Drivers 5.12 for PHP for SQL Server
77
// Copyright(c) Microsoft Corporation
88
// All rights reserved.
99
// MIT License

0 commit comments

Comments
 (0)