ibm_db2: Changelog

Version Message
2.2.0 - Support for PHP 8.3
- Support for boolean data type (IBM i 7.5, Db2/LUW 9.6)
- Passwords and connection strings are marked as sensitive parameters
- Build system improvements for finding driver library
- CI and test suite improvements
2.1.7 Corrects a packaging mistake in 2.1.6.
2.1.6 * 2022-08-24: 2.1.6
- Allows fetching the current naming mode with db2_get_option on IBM i.
- Uses the password (obfuscated in memory) as part of the persistent resource hash key. This means the password must be the same to reuse a persistent connection.
- Fixes build issues with 64-bit Windows.
- Fixes crashes with level 4 i5_check_pconnect.
- Cleans up CI for modern IBM i and PHP 8.1.
2.1.5 * 2021-09-30: 2.1.5
- Use the new persistent resource API introduced in 7.3 (PHP 7.3 is new minreq)
- Fix truncation issues in db2_result
- Fix typo with character trim
- Fix issues with trim returning empty string if it should only return one char
- Fix leaks with various functions (result, get_option, escape_string, etc.)
- Fix build issue with ulong on some platforms
2.1.3 * 2021-03-10: 2.1.3
- Report failures in SQLGetDiagRec. This should warn on many silent errors.
- Workaround issue with using SQLGetSubString with a large buffer on a DBCLOB
with locator by trimming from first instead of last null byte.
- Workaround bug in SQL/CLI caused by unknown PTF, which causes a buffer
overflow with SQLGetData on char-like values. The PTF causing the regression
is unidentified, but workaround PTFs seem to exist, including SI75759. The
workaround will likely be kept until most no longer have the defective PTF.
2.1.2 * 2020-12-22: 2.1.2
- Fix memory leaks
- Remove PHP 5 compatibility stubs and ifdefs
- Fix compile warnings
- Use PHP 8 arginfo generator, with generated fallbacks for PHP 7
2.1.1 * 2020-12-02: 2.1.1
- Fix build regression on LUW with db2_execute_many
2.1.0 * 2020-11-30: 2.1.0
- Compatibility with PHP 8
- Fix compatibility with 64-bit PASE/modern IBM i (sqlcli-dev package, pointer/integer width mismatch, XMLSERVICE location, etc)
- Backport character trim from Zend Server
- Major improvements to test suite (fix broken tests, less hardcoding)
- Handle CCSID 65535 on IBM i
- Fix warnings (returning void from non-void, etc)
2.0.8 Fixed Crash in windows with PHP 7
2.0.7 Added PHP 7.3 Support.
2.0.6 Fixed crash while in windows.
2.0.5 Fixed config.m4 file which messed up in last release.
2.0.4 Added support for PHP 7.2
2.0.3 Added support for PHP 7.2
2.0.2 Fixed memory leak stored procedure i/o param both IBM i and LUW.
Customer request abandon 'executing' persistent connection for IBM i
2.0.1 Fixed : signal 11 in db2_pconnect
Fixed : Security flaw with using user and password for hashing in db2_pconnect.
Fxied : Local scope bound values in a class are not used
Fixed : Compilation issue of PHP-5.6 in windows.
2.0.0 Fixed : signal 11 in db2_pconnect
Fixed : Security flaw with using user and password for hashing in db2_pconnect.
Fxied : Local scope bound values in a class are not used
1.9.9 Enhanced: Added PHP 7 support and fixed linking error.
1.9.8 Enhanced: Added PHP 7 support.
1.9.7 Enhanced: Code refactoring to enhance maintainability of code
Removed: IBM i V5R4 is no longer supported
Removed: unsupported test cases of V5 removed
1.9.6 Fixed: Fetching of mixed character data when the application code page different from database code page
Fixed: db2-bind-param with INOUT LOB parameters
Enhanced: Enable iSeries system naming mode from LUW to iSeries
Enhanced: Clear global error state at end of request
1.9.5 Fixed: Segfault due to INTERNED strings in PHP-5.4.x
Enhanced: execute_many API to accept NULL mixed with other values.
1.9.4 Fixed: DB2 PHP driver does not work as expected with values in BIGINT column
Added: test case test_bigint.phpt for BIGINT datatype
Fixed: Persistent connections takes up to 1 hour to reconnect on db2 TSA HA failover
FIxed: Fixed: Allow trial license to connect ZOS/i5
Added a environment variable IBM_DB_HOME to make the installation process easy and config script will automatically detect the architecure for which PHP is built and accordingly use the libraries under lib32/lib64.
1.9.3 Fixed: Garbage value for VARCHAR type OUT variable of stored-procedure
Fixed: Compilation error with php-5.4.x
i5/OS: Remove compile errors during IBM i compiles due to chaining support
i5/OS: Allow use of V6+ (SQL_ATTR_INFO_ACCTSTR, SQL_ATTR_INFO_APPLNAME, SQL_ATTR_INFO_PROGRAMID, SQL_ATTR_INFO_USERID, SQL_ATTR_INFO_WRKSTNNAME connection attributes)
1.9.2 Added execute_many() API to execute batch.
Fixed: Connection hanging issue.
Fixed: Defect #20281 (Improve error reporting)
1.9.1 Fix for db2_statistics (Failing with pconnect).
1.9.0 Fix for BIGINT fix for i5.
Fix for autocommit issue (CLI setting is now handled).
Fix for db2_pconnect connection reset issue.
Fix for connection rollback in db2_pconnect at the end of request.
1.8.4 Adding support for query time out.
Fixing problem with DATE/TIME datatype.
i5/OS Add new attribute DB2_I5_JOB_SORT_ON/OFF (php.ini ibm_db2.i5_job_sort).
i5/OS Fix BIGINT string type to help with larger values.
i5/OS Fix "early" terminate fetch loops due to CLOB/BLOB zero length.
i5/OS Fix db2_pclose() to allow reset persistent connections.
1.8.3 Fixed 14347: ibm_db2 1.6.6 fails to compile (still a problem w/ 1.8.2).
Fixed 16257: db2_execute() Segfault on an empty string as a bind parameter.
Fixed: GRAPHIC, VARGRAPHIC Data type error.
1.1.2 Fix win32 build problem.