From 5763680dff1898691d8cf7af04f6ec4458b7305f Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Tue, 7 Mar 2017 10:51:38 -0800 Subject: [PATCH 1/4] added 4.1.7 to changedlog --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b78e599..143d0548 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,36 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) +## Windows/Linux/MAC 4.1.7 - 2017-03-07 +Updated PECL release packages. Here is the list of updates: +### Added +- The early technical preview (ETP) for SQLSRV and PDO_SQLSRV drivers for MAC with basic functionalities is now available. Both drivers has been built and tested on MAC OS versions El Capitan (OS X 10.11) and Sierra (macOS 10.12). + +### Fixed +#### SQLSRV and PDO_SQLSRV +- Fixed null returned when an empty string is set to an output parameter ([issue #308](https://github.com/Microsoft/msphpsql/issues/308)). +- Fixed memory leaks in buffered result sets. +- Fixed clang compile errors. + +#### SQLSRV only +- Fixed debug abort error when building the driver in debug mode with PHP 7.1. +- Fixed string truncation when binding varchar(max), nvarchar(max), varbinary(max), and xml types ([issue #231](https://github.com/Microsoft/msphpsql/issues/231)). +- Fixed fatal error when fetching empty nvarchar ([issue #69](https://github.com/Microsoft/msphpsql/issues/69)). +- Fixed fatal error when calling sqlsrv_fetch() with an out of bound offset for SQLSRV_SCROLL_ABSOLUTE ([issue #223](https://github.com/Microsoft/msphpsql/issues/223)). + +#### PDO_SQLSRV only +- Fixed wrong value returned when fetching varbinary value on Linux ([issue #270](https://github.com/Microsoft/msphpsql/issues/270)). +- Fixed binary data not returned when the column is bound by name ([issue #35](https://github.com/Microsoft/msphpsql/issues/35)). +- Fixed exception thrown on closeCursor() when the statement has not been executed ([issue #267](https://github.com/Microsoft/msphpsql/issues/267)). + +### Known Issues +- User defined data types and SQL_VARIANT ([issue #127](https://github.com/Microsoft/msphpsql/issues/127)). +- Binary column binding with emulate prepare ([issue #140](https://github.com/Microsoft/msphpsql/issues/140)). +- Segmentation fault may result when an unsupported attribute is used for connection. +#### MAC only +- If loading both sqlsrv and pdo_sqlsrv, the order matters (even when dynamically). For PDO scripts, load pdo_sqlsrv.so first. +- Connection pooling not working. + ## Windows/Linux 4.1.6 - 2017-02-03 Updated PECL release packages. Here is the list of updates: ### Added From bd9c739f887fdca29c807bae1b139ebbb078c1ad Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Tue, 7 Mar 2017 11:21:06 -0800 Subject: [PATCH 2/4] Update CHANGELOG.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 143d0548..b95cbec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ Updated PECL release packages. Here is the list of updates: - User defined data types and SQL_VARIANT ([issue #127](https://github.com/Microsoft/msphpsql/issues/127)). - Binary column binding with emulate prepare ([issue #140](https://github.com/Microsoft/msphpsql/issues/140)). - Segmentation fault may result when an unsupported attribute is used for connection. + #### MAC only - If loading both sqlsrv and pdo_sqlsrv, the order matters (even when dynamically). For PDO scripts, load pdo_sqlsrv.so first. - Connection pooling not working. @@ -91,7 +92,7 @@ Linux drivers compiled with PHP 7.0.13 are available for Ubuntu 15.04, Ubuntu 16 ### Changed - Code structure is updated to facilitate the development; shared codes between both drivers are moved to "shared" folder to avoid code duplication issues in development. To build the driver from source, use "packagize" script as follows: - - if you are using the phpize, clone or download the “source”, run the script within the “source” directory and then run phpize. + - if you are using the phpize, clone or download the “source”, run the script within the “source” directory and then run phpize. - if you are building the driver from source using PHP source, give the path to the PHP source to the script. ### Fixed From 27b97b2f510eb3fd90bcf0c5b930119a7e6549db Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Tue, 7 Mar 2017 11:23:25 -0800 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b95cbec1..e080ef8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) -## Windows/Linux/MAC 4.1.7 - 2017-03-07 +## Windows/Linux/MAC 4.1.7-preview - 2017-03-07 Updated PECL release packages. Here is the list of updates: ### Added -- The early technical preview (ETP) for SQLSRV and PDO_SQLSRV drivers for MAC with basic functionalities is now available. Both drivers has been built and tested on MAC OS versions El Capitan (OS X 10.11) and Sierra (macOS 10.12). +- The early technical preview (ETP) for SQLSRV and PDO_SQLSRV drivers for MAC with basic functionalities is now available. Both drivers has been built and tested on MAC OS version El Capitan (OS X 10.11). ### Fixed #### SQLSRV and PDO_SQLSRV From f6a35a39f6a3834e55a44c4569945437ce244812 Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Tue, 7 Mar 2017 11:24:40 -0800 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e080ef8e..0db09801 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,7 +31,7 @@ Updated PECL release packages. Here is the list of updates: - Segmentation fault may result when an unsupported attribute is used for connection. #### MAC only -- If loading both sqlsrv and pdo_sqlsrv, the order matters (even when dynamically). For PDO scripts, load pdo_sqlsrv.so first. +- If loading both sqlsrv and pdo_sqlsrv, the order matters (even when dynamically). For PDO_SQLSRV scripts, load pdo_sqlsrv.so first. For SQLSRV scripts, load sqlsrv.so first. - Connection pooling not working. ## Windows/Linux 4.1.6 - 2017-02-03