pq: Changelog

Version Message
2.2.3 * Fix incompatible pointer types (32-bit) (see hg issue #52)
2.2.2 * Fix JSON coversion (see gh issue #47)
2.2.1 * Fixed PHP-8.2 compatibility (see gh issue #46)
2.2.0 * Fixed PHP-8.1 compatibility (see gh issues #40 and #41)
* Fixed asynchronous actions not cleared prior some synchronous actions
* Added connection constants of PostgreSQL-10+ to pq\Connection:
CHECK_WRITABLE, CONSUME, and GSS_STARTUP
* Added BYTEA unescaping support (see gh issue #38)
2.1.8 * Fix PHP-8.0 compatibility
2.1.7 * Fix PHP-7.4 compatibility
2.1.6 * Fix PgSQL-12 compatibility
* Fix PHP-7.4 compatibility
* Fix empty arrays parsing (Dmitry Simushev)
2.1.5 * Fix PHP-7.3 compatibility
2.1.4 * Fix gh-issue #30: pq\Types is restricted to non-composite types
2.1.3 * Fix gh-issue #27: crash in pq\Connection::escapeBytea()
+ Update static pq\Types with PostgreSQL-10 types
2.1.2 * Fix gh-issue #32: JSON compatibility with PHP-7.1
* Fix pq\DateTime::createFromFormat() prototype with PHP-7.2
+ Update static pq\Types with PostgreSQL-9.6 types
2.1.1 * Fix build with PostgreSQL < 9.3
* Fix required PHP version in package.xml
2.1.0 * Added public readonly array pq\Result::$diag property, listing PQresultErrorField details (gh-issue #14)
* Restore listeners and prepared statements after a connection reset (gh-issue #15)
* Added pq\Connection::$nonblocking and pq\Connection::flush() to support non-blocking writes (gh-issue #16)
2.0.1 * Fix github issue #9 (execAsync - gets another result)
2.0.0 * PHP 7 compatible release
2.0.0RC1 * PHP 7 compatible release
1.1.1 * Fix build with PostgreSQL < 9.3
1.1.0 * Added public readonly array pq\Result::$diag property, listing PQresultErrorField details (gh-issue #14)
* Restore listeners and prepared statements after a connection reset (gh-issue #15)
* Added pq\Connection::$nonblocking and pq\Connection::flush() to support non-blocking writes (gh-issue #16)
1.0.1 * Fix github issue #9 (execAsync - gets another result)
1.0.0 * Stable release for PHP 5.4 - 5.6
1.0.0RC1 * Stable release for PHP 5.4 - 5.6
0.6.0 * Fixed crash with result iterator when the iterator exists longer than the result
* Fixed array parser compatibility with arrays of boxes
+ Added pq\Statement::deallocate{,Async}() and pq\Statement::prepare{,Async}() methods
+ Added pq\Statement::$query and pq\Statement::$types readonly properties
+ Added pq\Cursor::{open,close}Async() methods
+ Added pq\Cursor::$query and pq\Cursor::$flags readonly properties

Changes from RC1:
* Fixed RTLD_LAZY compatibility with pecl/raphf
* Simplified config.m4
0.6.0RC2 * Fixed crash with result iterator when the iterator exists longer than the result
* Fixed array parser compatibility with arrays of boxes
+ Added pq\Statement::deallocate{,Async}() and pq\Statement::prepare{,Async}() methods
+ Added pq\Statement::$query and pq\Statement::$types readonly properties
+ Added pq\Cursor::{open,close}Async() methods
+ Added pq\Cursor::$query and pq\Cursor::$flags readonly properties

Changes from RC1:
* Fixed RTLD_LAZY compatibility with pecl/raphf
* Simplified config.m4
0.6.0RC1 * Fixed crash with result iterator when the iterator exists longer than the result
* Fixed array parser compatibility with arrays of boxes
* Added pq\Statement::deallocate{,Async}() and pq\Statement::prepare{,Async}() methods
* Added pq\Statement::$query and pq\Statement::$types readonly properties
* Added pq\Cursor::{open,close}Async() methods
* Added pq\Cursor::$query and pq\Cursor::$flags readonly properties
0.5.5 - Re-add the default configureoption for the PEAR/PECL installer
- Let JSON be decoded to arrays unless the fetch type is FETCH_OBJECT
* Fix remaining build issues
0.5.4 * Fix build on MacOSX
0.5.3 + Add PostgreSQL-9.4beta3 type OIDs
* Fix JSON dep (Remi)
* Fix build on MacOSX
0.5.2 * Support PostgreSQL 9.0 and up
* Make JSON support optional
0.5.1 + Fixed build with PostgreSQL <= 9.2
0.5.0 + Published documentation at http://devel-m6w6.rhcloud.com/mdref/pq
+ Added pq\Connection::$params
+ Added pq\Connection::declare(), pq\Connection::declareAsync() and pq\Cursor
+ Added pq\Connection::unlisten() and pq\Connection::off()
+ Added pq\Connection::$defaultFetchType, pq\Connection::$defaultTransactionIsolation,
pq\Connection::$defaultTransactionReadonly and pq\Connection::$defaultTransactionDeferrable
+ Added pq\Connection::$defaultAutoConvert and pq\Result::$autoConvert
+ Added pq\Result::CONV_BOOL, pq\Result::CONV_INT, pq\Result::CONV_FLOAT, pq\Result::CONV_SCALAR,
pq\Result::CONV_ARRAY, pq\Result::CONV_DATETIME, pq\Result::CONV_JSON and pq\Result::CONV_ALL
+ Always declare pq\Types OID constants
+ Added pq\Result::fetchAllCols()
- Reverse arguments of pq\Result::fetchCol()
- Attempt to access properties of objects that have not been initialized by its constructor will throw E_RECOVERABLE_ERROR
- Renamed pq\ConverterInterface to pq\Converter
- Added second argument "$type" to pq\Converter::convertFromString() and pq\Converter::convertToString()
* Fixed wakeup of persistent connections to ping the server with an empty query and eventually reset the connection
* Fixed possible invalid free and leak
* Fixed a possible crash
0.4.0 * Added pq\ConverterInterface and pq\Connection::setConverter()
* Added pq\Result::desc() and fixed pq\Statement::descAsync()
* Added serializer for input array params
0.3.0 * Added parser for result arrays ('{{1,2},{3,4}}')
0.2.0 * Fixed pq\Result::fetchCol()
* Fixed type handling of boolean/double input parameters.
* Added extented type handling of result parameters if PostgreSQL server headers are present.
* Implemented get_properties() object handler.
0.1.0 * Initial release